	.file	"599594.c"
	.intel_syntax noprefix
	.text
	.globl	y_size
	.data
	.align 4
	.type	y_size, @object
	.size	y_size, 4
y_size:
	.long	1
	.globl	x_size
	.bss
	.align 4
	.type	x_size, @object
	.size	x_size, 4
x_size:
	.zero	4
	.globl	max
	.align 8
	.type	max, @object
	.size	max, 12
max:
	.zero	12
	.section	.rodata
.LC0:
	.string	"d09_input"
.LC1:
	.string	"d09_short_input"
.LC2:
	.string	"r"
.LC3:
	.string	"cant read file"
.LC4:
	.string	"%1d"
.LC5:
	.string	"result = %i\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 168
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	DWORD PTR -148[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -148[rbp], 1
	setg	al
	movzx	eax, al
	mov	DWORD PTR -100[rbp], eax
	cmp	DWORD PTR -100[rbp], 0
	je	.L2
	lea	rax, .LC0[rip]
	jmp	.L3
.L2:
	lea	rax, .LC1[rip]
.L3:
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -88[rbp], rax
	cmp	QWORD PTR -88[rbp], 0
	jne	.L4
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L5
.L4:
	mov	DWORD PTR -120[rbp], 0
.L10:
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	BYTE PTR -133[rbp], al
	cmp	BYTE PTR -133[rbp], 10
	jne	.L6
	mov	eax, DWORD PTR y_size[rip]
	add	eax, 1
	mov	DWORD PTR y_size[rip], eax
	mov	DWORD PTR -120[rbp], 1
	jmp	.L7
.L6:
	cmp	BYTE PTR -133[rbp], -1
	je	.L31
	cmp	DWORD PTR -120[rbp], 0
	jne	.L10
	mov	eax, DWORD PTR x_size[rip]
	add	eax, 1
	mov	DWORD PTR x_size[rip], eax
.L7:
	jmp	.L10
.L31:
	nop
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	rewind@PLT
	mov	ecx, DWORD PTR x_size[rip]
	mov	esi, DWORD PTR y_size[rip]
	mov	rax, rsp
	mov	QWORD PTR -160[rbp], rax
	movsx	rax, ecx
	sub	rax, 1
	mov	QWORD PTR -80[rbp], rax
	movsx	rax, ecx
	mov	QWORD PTR -208[rbp], rax
	mov	QWORD PTR -200[rbp], 0
	movsx	rax, ecx
	lea	rbx, 0[0+rax*4]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -72[rbp], rax
	movsx	rax, ecx
	mov	QWORD PTR -192[rbp], rax
	mov	QWORD PTR -184[rbp], 0
	movsx	rax, esi
	mov	QWORD PTR -176[rbp], rax
	mov	QWORD PTR -168[rbp], 0
	mov	r9, QWORD PTR -192[rbp]
	mov	r10, QWORD PTR -184[rbp]
	mov	rdx, r10
	imul	rdx, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR -168[rbp]
	imul	rax, r9
	lea	rdi, [rdx+rax]
	mov	rax, r9
	mul	QWORD PTR -176[rbp]
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rax, ecx
	mov	r14, rax
	mov	r15d, 0
	movsx	rax, esi
	mov	r12, rax
	mov	r13d, 0
	mov	rdx, r15
	imul	rdx, r12
	mov	rax, r13
	imul	rax, r14
	lea	rdi, [rdx+rax]
	mov	rax, r14
	mul	r12
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rdx, ecx
	movsx	rax, esi
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L11:
	cmp	rsp, rdx
	je	.L12
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L11
.L12:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L13
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L13:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -124[rbp], 0
.L18:
	mov	DWORD PTR -128[rbp], 0
	jmp	.L14
.L15:
	mov	rdx, rbx
	shr	rdx, 2
	mov	eax, DWORD PTR -128[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -124[rbp]
	cdqe
	imul	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -64[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -88[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -128[rbp], 1
.L14:
	mov	eax, DWORD PTR x_size[rip]
	cmp	DWORD PTR -128[rbp], eax
	jl	.L15
	add	DWORD PTR -124[rbp], 1
	mov	rax, QWORD PTR -88[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	cmp	eax, -1
	je	.L32
	jmp	.L18
.L32:
	nop
	mov	DWORD PTR -96[rbp], -1
	mov	DWORD PTR -132[rbp], 1
	mov	DWORD PTR -116[rbp], 0
	mov	DWORD PTR -112[rbp], 0
	jmp	.L19
.L27:
	mov	DWORD PTR -132[rbp], 0
	mov	DWORD PTR -116[rbp], 0
	mov	DWORD PTR -112[rbp], 0
	mov	DWORD PTR -108[rbp], 0
	jmp	.L20
.L26:
	mov	DWORD PTR -104[rbp], 0
	jmp	.L21
.L24:
	mov	rcx, rbx
	shr	rcx, 2
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -104[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -108[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -92[rbp], -1
	je	.L22
	cmp	DWORD PTR -92[rbp], 9
	je	.L22
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR -112[rbp], eax
	mov	eax, DWORD PTR -108[rbp]
	mov	DWORD PTR -116[rbp], eax
	mov	DWORD PTR -132[rbp], 1
.L22:
	add	DWORD PTR -104[rbp], 1
.L21:
	mov	eax, DWORD PTR x_size[rip]
	cmp	DWORD PTR -104[rbp], eax
	jge	.L23
	cmp	DWORD PTR -132[rbp], 0
	je	.L24
.L23:
	add	DWORD PTR -108[rbp], 1
.L20:
	mov	eax, DWORD PTR y_size[rip]
	cmp	DWORD PTR -108[rbp], eax
	jge	.L25
	cmp	DWORD PTR -132[rbp], 0
	je	.L26
.L25:
	cmp	DWORD PTR -132[rbp], 0
	je	.L19
	mov	esi, DWORD PTR y_size[rip]
	mov	eax, DWORD PTR x_size[rip]
	mov	edi, DWORD PTR -112[rbp]
	mov	ecx, DWORD PTR -116[rbp]
	mov	rdx, QWORD PTR -64[rbp]
	mov	r8d, edi
	mov	edi, eax
	call	traverse
	mov	DWORD PTR -96[rbp], eax
	mov	eax, DWORD PTR -96[rbp]
	mov	edi, eax
	call	put_if_max
.L19:
	cmp	DWORD PTR -132[rbp], 0
	jne	.L27
	mov	edx, DWORD PTR max[rip]
	mov	eax, DWORD PTR max[rip+4]
	imul	edx, eax
	mov	eax, DWORD PTR max[rip+8]
	imul	eax, edx
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rsp, QWORD PTR -160[rbp]
.L5:
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	traverse
	.type	traverse, @function
traverse:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	QWORD PTR -32[rbp], rdx
	mov	DWORD PTR -36[rbp], ecx
	mov	DWORD PTR -40[rbp], r8d
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -8[rbp], rdx
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	cmp	DWORD PTR -36[rbp], 0
	js	.L34
	mov	edx, DWORD PTR y_size[rip]
	cmp	DWORD PTR -36[rbp], edx
	jl	.L35
.L34:
	mov	eax, 0
	jmp	.L36
.L35:
	cmp	DWORD PTR -40[rbp], 0
	js	.L37
	mov	edx, DWORD PTR x_size[rip]
	cmp	DWORD PTR -40[rbp], edx
	jl	.L38
.L37:
	mov	eax, 0
	jmp	.L36
.L38:
	mov	edx, DWORD PTR -36[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -32[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rcx+rdx*4]
	cmp	edx, 9
	jne	.L39
	mov	eax, 0
	jmp	.L36
.L39:
	mov	edx, DWORD PTR -36[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	imul	rdx, rcx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -32[rbp]
	add	rcx, rdx
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rcx+rdx*4]
	cmp	edx, -1
	jne	.L40
	mov	eax, 0
	jmp	.L36
.L40:
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	cdqe
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], -1
	mov	DWORD PTR -12[rbp], 0
	mov	eax, DWORD PTR -36[rbp]
	lea	ecx, 1[rax]
	mov	edi, DWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	esi, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	r8d, edi
	mov	edi, eax
	call	traverse
	add	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	lea	ecx, -1[rax]
	mov	edi, DWORD PTR -40[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	esi, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	r8d, edi
	mov	edi, eax
	call	traverse
	add	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	lea	edi, 1[rax]
	mov	ecx, DWORD PTR -36[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	esi, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	r8d, edi
	mov	edi, eax
	call	traverse
	add	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -40[rbp]
	lea	edi, -1[rax]
	mov	ecx, DWORD PTR -36[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	esi, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	r8d, edi
	mov	edi, eax
	call	traverse
	add	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
.L36:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	traverse, .-traverse
	.globl	put_if_max
	.type	put_if_max, @function
put_if_max:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -12[rbp], -1
	mov	DWORD PTR -8[rbp], 0
	jmp	.L42
.L44:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, max[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -20[rbp], eax
	jle	.L43
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -12[rbp], eax
.L43:
	add	DWORD PTR -8[rbp], 1
.L42:
	cmp	DWORD PTR -8[rbp], 2
	jle	.L44
	cmp	DWORD PTR -12[rbp], 0
	js	.L48
	mov	DWORD PTR -4[rbp], 0
	jmp	.L46
.L47:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, max[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, max[rip]
	mov	DWORD PTR [rcx+rdx], eax
	add	DWORD PTR -4[rbp], 1
.L46:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jl	.L47
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, max[rip]
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR [rcx+rdx], eax
.L48:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	put_if_max, .-put_if_max
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"599594.c"
	.text
	.global	y_size
	.data
	.align	2
	.type	y_size, %object
	.size	y_size, 4
y_size:
	.word	1
	.global	x_size
	.bss
	.align	2
	.type	x_size, %object
	.size	x_size, 4
x_size:
	.space	4
	.global	max
	.align	2
	.type	max, %object
	.size	max, 12
max:
	.space	12
	.section	.rodata
	.align	2
.LC0:
	.ascii	"d09_input\000"
	.align	2
.LC1:
	.ascii	"d09_short_input\000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"cant read file\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L11+4
	b	.L3
.L2:
	ldr	r3, .L11+8
.L3:
	ldr	r1, .L11+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L4
	ldr	r0, .L11+16
	bl	puts
	mov	r3, #1
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	b	.L10
.L4:
	mov	r3, #0
	str	r3, [fp, #-20]
.L8:
	ldr	r0, [fp, #-16]
	bl	fgetc
	mov	r3, r0
	strb	r3, [fp, #-21]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L6
	ldr	r3, .L11+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L11+20
	str	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L7
.L6:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L8
	ldr	r3, .L11+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L11+24
	str	r3, [r2]
.L7:
	b	.L8
.L10:
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	y_size
	.word	x_size
	.size	main, .-main
	.align	2
	.global	traverse
	.syntax unified
	.arm
	.fpu softvfp
	.type	traverse, %function
traverse:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	ip, [fp, #-16]
	sub	r3, ip, #1
	str	r3, [fp, #-12]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	blt	.L14
	ldr	r3, .L21
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L15
.L14:
	mov	r3, #0
	b	.L16
.L15:
	ldr	r3, [fp, #4]
	cmp	r3, #0
	blt	.L17
	ldr	r3, .L21+4
	ldr	r3, [r3]
	ldr	r2, [fp, #4]
	cmp	r2, r3
	blt	.L18
.L17:
	mov	r3, #0
	b	.L16
.L18:
	mov	r2, ip
	ldr	r3, [fp, #-28]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #4]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #9
	bne	.L19
	mov	r3, #0
	b	.L16
.L19:
	mov	r2, ip
	ldr	r3, [fp, #-28]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #4]
	ldr	r3, [r3, r2, lsl #2]
	cmn	r3, #1
	bne	.L20
	mov	r3, #0
	b	.L16
.L20:
	mov	r2, ip
	ldr	r3, [fp, #-28]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #4]
	mvn	r1, #0
	str	r1, [r3, r2, lsl #2]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-28]
	add	r2, r3, #1
	ldr	r3, [fp, #4]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	traverse
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-28]
	sub	r2, r3, #1
	ldr	r3, [fp, #4]
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	traverse
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	traverse
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #4]
	sub	r3, r3, #1
	str	r3, [sp]
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	traverse
	mov	r2, r0
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	y_size
	.word	x_size
	.size	traverse, .-traverse
	.align	2
	.global	put_if_max
	.syntax unified
	.arm
	.fpu softvfp
	.type	put_if_max, %function
put_if_max:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-24]
	mvn	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L24
.L26:
	ldr	r2, .L31
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	ble	.L25
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-16]
.L25:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L24:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	ble	.L26
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L30
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L28
.L29:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, .L31
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L31
	ldr	r3, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L28:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	blt	.L29
	ldr	r1, .L31
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-24]
	str	r2, [r1, r3, lsl #2]
.L30:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L32:
	.align	2
.L31:
	.word	max
	.size	put_if_max, .-put_if_max
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
