	.file	"47635.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d"
.LC2:
	.string	"%d %d %d %d"
.LC3:
	.string	"(%d, %d)"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -57344[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 3632
	mov	DWORD PTR -60964[rbp], edi
	mov	QWORD PTR -60976[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -60864[rbp]
	mov	edx, 10404
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -50448[rbp]
	mov	edx, 10404
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -60896[rbp], 0
	mov	DWORD PTR -60892[rbp], 1
	mov	DWORD PTR -60888[rbp], 1
	mov	DWORD PTR -60884[rbp], 0
	mov	DWORD PTR -60880[rbp], 0
	mov	DWORD PTR -60876[rbp], -1
	mov	DWORD PTR -60872[rbp], -1
	mov	DWORD PTR -60868[rbp], 0
	mov	DWORD PTR -60940[rbp], 0
	mov	DWORD PTR -60936[rbp], 0
	lea	rdx, -60952[rbp]
	lea	rax, -60956[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -60916[rbp], 1
	jmp	.L2
.L5:
	mov	DWORD PTR -60912[rbp], 1
	jmp	.L3
.L4:
	lea	rcx, -60864[rbp]
	mov	eax, DWORD PTR -60912[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -60916[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	mov	rdx, rax
	sal	rdx, 4
	add	rax, rdx
	add	rax, rsi
	sal	rax, 2
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -60912[rbp], 1
.L3:
	mov	eax, DWORD PTR -60952[rbp]
	cmp	DWORD PTR -60912[rbp], eax
	jle	.L4
	add	DWORD PTR -60916[rbp], 1
.L2:
	mov	eax, DWORD PTR -60956[rbp]
	cmp	DWORD PTR -60916[rbp], eax
	jle	.L5
	lea	rsi, -60936[rbp]
	lea	rcx, -60940[rbp]
	lea	rdx, -60944[rbp]
	lea	rax, -60948[rbp]
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -60928[rbp], 1
	mov	eax, DWORD PTR -60928[rbp]
	mov	DWORD PTR -60932[rbp], eax
	mov	eax, DWORD PTR -60948[rbp]
	mov	edx, DWORD PTR -60928[rbp]
	movsx	rdx, edx
	sal	rdx, 4
	add	rdx, rbp
	sub	rdx, 40032
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -60944[rbp]
	mov	edx, DWORD PTR -60928[rbp]
	movsx	rdx, edx
	sal	rdx, 4
	add	rdx, rbp
	sub	rdx, 40028
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -60928[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 40024
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -60928[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 40020
	mov	DWORD PTR [rax], 0
	add	DWORD PTR -60928[rbp], 1
	mov	eax, DWORD PTR -60948[rbp]
	mov	edx, DWORD PTR -60944[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	mov	rdx, rax
	sal	rdx, 4
	add	rax, rdx
	add	rax, rcx
	mov	DWORD PTR -50448[rbp+rax*4], 1
	mov	DWORD PTR -60920[rbp], 0
	jmp	.L6
.L16:
	mov	DWORD PTR -60924[rbp], 0
	jmp	.L7
.L13:
	mov	eax, DWORD PTR -60932[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 40032
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -60924[rbp]
	cdqe
	mov	eax, DWORD PTR -60896[rbp+rax*8]
	add	eax, edx
	mov	DWORD PTR -60904[rbp], eax
	mov	eax, DWORD PTR -60932[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 40028
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -60924[rbp]
	cdqe
	mov	eax, DWORD PTR -60892[rbp+rax*8]
	add	eax, edx
	mov	DWORD PTR -60900[rbp], eax
	cmp	DWORD PTR -60904[rbp], 0
	js	.L21
	mov	eax, DWORD PTR -60956[rbp]
	cmp	DWORD PTR -60904[rbp], eax
	jg	.L21
	cmp	DWORD PTR -60900[rbp], 0
	js	.L21
	mov	eax, DWORD PTR -60952[rbp]
	cmp	DWORD PTR -60900[rbp], eax
	jg	.L21
	mov	eax, DWORD PTR -60900[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -60904[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	mov	rdx, rax
	sal	rdx, 4
	add	rax, rdx
	add	rax, rcx
	mov	eax, DWORD PTR -60864[rbp+rax*4]
	test	eax, eax
	jne	.L11
	mov	eax, DWORD PTR -60900[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -60904[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	mov	rdx, rax
	sal	rdx, 4
	add	rax, rdx
	add	rax, rcx
	mov	eax, DWORD PTR -50448[rbp+rax*4]
	test	eax, eax
	jne	.L11
	mov	eax, DWORD PTR -60900[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -60904[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	mov	rdx, rax
	sal	rdx, 4
	add	rax, rdx
	add	rax, rcx
	mov	DWORD PTR -50448[rbp+rax*4], 1
	mov	eax, DWORD PTR -60928[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	lea	rdx, -40032[rax]
	mov	eax, DWORD PTR -60904[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -60928[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	lea	rdx, -40028[rax]
	mov	eax, DWORD PTR -60900[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -60928[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	lea	rdx, -40024[rax]
	mov	eax, DWORD PTR -60932[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -60932[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 40020
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -60928[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 40020
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -60928[rbp], 1
.L11:
	mov	eax, DWORD PTR -60940[rbp]
	cmp	DWORD PTR -60904[rbp], eax
	jne	.L10
	mov	eax, DWORD PTR -60936[rbp]
	cmp	DWORD PTR -60900[rbp], eax
	jne	.L10
	mov	DWORD PTR -60920[rbp], 1
	jmp	.L12
.L21:
	nop
.L10:
	add	DWORD PTR -60924[rbp], 1
.L7:
	cmp	DWORD PTR -60924[rbp], 3
	jle	.L13
.L12:
	cmp	DWORD PTR -60920[rbp], 1
	je	.L22
	add	DWORD PTR -60932[rbp], 1
.L6:
	mov	eax, DWORD PTR -60932[rbp]
	cmp	eax, DWORD PTR -60928[rbp]
	jl	.L16
	jmp	.L15
.L22:
	nop
.L15:
	mov	eax, DWORD PTR -60928[rbp]
	sub	eax, 1
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 40020
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR -60928[rbp]
	sub	eax, 1
	mov	DWORD PTR -60908[rbp], eax
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -60908[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 40028
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -60908[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 40032
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -60908[rbp]
	cdqe
	sal	rax, 4
	add	rax, rbp
	sub	rax, 40024
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -60908[rbp], eax
.L17:
	cmp	DWORD PTR -60908[rbp], 0
	jg	.L18
	mov	edi, 10
	call	putchar@PLT
	call	getchar@PLT
	call	getchar@PLT
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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	"47635.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d %d\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"%d %d %d %d\000"
	.align	2
.LC4:
	.ascii	"(%d, %d)\000"
	.align	2
.LC0:
	.word	0
	.word	1
	.word	1
	.word	0
	.word	0
	.word	-1
	.word	-1
	.word	0
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 60928
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #60928
	sub	sp, sp, #8
	sub	r3, fp, #57344
	sub	r3, r3, #4
	str	r0, [r3, #-3580]
	sub	r3, fp, #57344
	sub	r3, r3, #4
	str	r1, [r3, #-3584]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #57344
	sub	r3, r3, #4
	sub	r3, r3, #3472
	sub	r3, r3, #12
	ldr	r2, .L23+4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #49152
	sub	r3, r3, #4
	sub	r3, r3, #1264
	sub	r3, r3, #8
	ldr	r2, .L23+4
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r2, .L23+8
	sub	ip, r3, #3504
	sub	ip, ip, #12
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3560]
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3556]
	sub	r2, fp, #60672
	sub	r2, r2, #4
	sub	r2, r2, #244
	sub	r3, fp, #60672
	sub	r3, r3, #4
	sub	r3, r3, #248
	mov	r1, r3
	ldr	r0, .L23+12
	bl	__isoc99_scanf
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3536]
	b	.L2
.L5:
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3532]
	b	.L3
.L4:
	sub	r2, fp, #60672
	sub	r2, r2, #4
	sub	r2, r2, #156
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r1, [r3, #-3536]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r1, r3, #4
	add	r3, r3, r1
	sub	r1, fp, #57344
	sub	r1, r1, #4
	ldr	r1, [r1, #-3532]
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L23+16
	bl	__isoc99_scanf
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3532]
	add	r3, r3, #1
	str	r3, [r2, #-3532]
.L3:
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3572]
	sub	r2, fp, #57344
	sub	r2, r2, #4
	ldr	r2, [r2, #-3532]
	cmp	r2, r3
	ble	.L4
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3536]
	add	r3, r3, #1
	str	r3, [r2, #-3536]
.L2:
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3576]
	sub	r2, fp, #57344
	sub	r2, r2, #4
	ldr	r2, [r2, #-3536]
	cmp	r2, r3
	ble	.L5
	sub	r0, fp, #60672
	sub	r0, r0, #4
	sub	r0, r0, #232
	sub	r2, fp, #60672
	sub	r2, r2, #4
	sub	r2, r2, #236
	sub	r1, fp, #60672
	sub	r1, r1, #4
	sub	r1, r1, #240
	sub	r3, fp, #60672
	sub	r3, r3, #4
	sub	r3, r3, #228
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L23+20
	bl	__isoc99_scanf
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3548]
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3548]
	str	r3, [r2, #-3552]
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r2, [r3, #-3568]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3548]
	lsl	r3, r3, #4
	add	r3, r1, r3
	str	r2, [r3, #-3156]
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r2, [r3, #-3564]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3548]
	lsl	r3, r3, #4
	add	r3, r1, r3
	str	r2, [r3, #-3152]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3548]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-3148]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3548]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-3144]
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3548]
	add	r3, r3, #1
	str	r3, [r2, #-3548]
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r2, [r3, #-3568]
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r1, [r3, #-3564]
	sub	r3, fp, #49152
	sub	r3, r3, #4
	mov	r0, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r0, r3
	mov	r2, #1
	str	r2, [r3, #-1272]
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3540]
	b	.L6
.L16:
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3544]
	b	.L7
.L13:
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3552]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-3156]
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3544]
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #-3516]
	sub	r1, fp, #57344
	sub	r1, r1, #4
	add	r3, r2, r3
	str	r3, [r1, #-3524]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3552]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-3152]
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3544]
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #-3512]
	sub	r1, fp, #57344
	sub	r1, r1, #4
	add	r3, r2, r3
	str	r3, [r1, #-3520]
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3524]
	cmp	r3, #0
	blt	.L21
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3576]
	sub	r2, fp, #57344
	sub	r2, r2, #4
	ldr	r2, [r2, #-3524]
	cmp	r2, r3
	bgt	.L21
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3520]
	cmp	r3, #0
	blt	.L21
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3572]
	sub	r2, fp, #57344
	sub	r2, r2, #4
	ldr	r2, [r2, #-3520]
	cmp	r2, r3
	bgt	.L21
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r2, [r3, #-3524]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	sub	r2, fp, #57344
	sub	r2, r2, #4
	ldr	r2, [r2, #-3520]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-3484]
	cmp	r3, #0
	bne	.L11
	sub	r3, fp, #49152
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r2, [r3, #-3524]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	sub	r2, fp, #57344
	sub	r2, r2, #4
	ldr	r2, [r2, #-3520]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #-1272]
	cmp	r3, #0
	bne	.L11
	sub	r3, fp, #49152
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r2, [r3, #-3524]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r3, r3, r2
	sub	r2, fp, #57344
	sub	r2, r2, #4
	ldr	r2, [r2, #-3520]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #1
	str	r2, [r3, #-1272]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3548]
	lsl	r3, r3, #4
	add	r3, r2, r3
	sub	r2, fp, #57344
	sub	r2, r2, #4
	ldr	r2, [r2, #-3524]
	str	r2, [r3, #-3156]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3548]
	lsl	r3, r3, #4
	add	r3, r2, r3
	sub	r2, fp, #57344
	sub	r2, r2, #4
	ldr	r2, [r2, #-3520]
	str	r2, [r3, #-3152]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3548]
	lsl	r3, r3, #4
	add	r3, r2, r3
	sub	r2, fp, #57344
	sub	r2, r2, #4
	ldr	r2, [r2, #-3552]
	str	r2, [r3, #-3148]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3552]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-3144]
	add	r2, r3, #1
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3548]
	lsl	r3, r3, #4
	add	r3, r1, r3
	str	r2, [r3, #-3144]
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3548]
	add	r3, r3, #1
	str	r3, [r2, #-3548]
.L11:
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3560]
	sub	r2, fp, #57344
	sub	r2, r2, #4
	ldr	r2, [r2, #-3524]
	cmp	r2, r3
	bne	.L10
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3556]
	sub	r2, fp, #57344
	sub	r2, r2, #4
	ldr	r2, [r2, #-3520]
	cmp	r2, r3
	bne	.L10
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-3540]
	b	.L12
.L21:
	nop
.L10:
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3544]
	add	r3, r3, #1
	str	r3, [r2, #-3544]
.L7:
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3544]
	cmp	r3, #3
	ble	.L13
.L12:
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3540]
	cmp	r3, #1
	beq	.L22
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3552]
	add	r3, r3, #1
	str	r3, [r2, #-3552]
.L6:
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r2, [r2, #-3552]
	ldr	r3, [r3, #-3548]
	cmp	r2, r3
	blt	.L16
	b	.L15
.L22:
	nop
.L15:
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3548]
	sub	r3, r3, #1
	sub	r2, fp, #36864
	sub	r2, r2, #4
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-3144]
	mov	r1, r3
	ldr	r0, .L23+16
	bl	printf
	mov	r0, #10
	bl	putchar
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3548]
	sub	r3, r3, #1
	str	r3, [r2, #-3528]
	b	.L17
.L18:
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3528]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-3156]
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3528]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-3152]
	mov	r2, r3
	ldr	r0, .L23+24
	bl	printf
	sub	r3, fp, #57344
	sub	r3, r3, #4
	mov	r2, r3
	sub	r3, fp, #36864
	sub	r3, r3, #4
	mov	r1, r3
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3528]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-3148]
	str	r3, [r2, #-3528]
.L17:
	sub	r3, fp, #57344
	sub	r3, r3, #4
	ldr	r3, [r3, #-3528]
	cmp	r3, #0
	bgt	.L18
	mov	r0, #10
	bl	putchar
	bl	getchar
	bl	getchar
	mov	r3, #0
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC5
	.word	10404
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
