	.file	"440947.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"debate.in"
.LC2:
	.string	"w"
.LC3:
	.string	"debate.out"
.LC4:
	.string	"%d"
.LC5:
	.string	"%d%d"
.LC6:
	.string	"%d\n"
	.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
	sub	rsp, 1712
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1708[rbp], 0
	mov	rax, QWORD PTR stdin[rip]
	mov	rdx, rax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	freopen@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdx, rax
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	freopen@PLT
	lea	rax, -1712[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -1704[rbp], 0
	jmp	.L2
.L3:
	lea	rdx, -1680[rbp]
	mov	eax, DWORD PTR -1704[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	lea	rdx, 4[rax]
	lea	rcx, -1680[rbp]
	mov	eax, DWORD PTR -1704[rbp]
	cdqe
	sal	rax, 3
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -1704[rbp], 1
.L2:
	mov	eax, DWORD PTR -1712[rbp]
	cmp	DWORD PTR -1704[rbp], eax
	jl	.L3
	mov	DWORD PTR -1700[rbp], 0
	jmp	.L4
.L16:
	mov	DWORD PTR -1696[rbp], 0
	mov	DWORD PTR -1692[rbp], 0
	mov	DWORD PTR -1688[rbp], 0
	mov	DWORD PTR -1684[rbp], 0
	mov	DWORD PTR -1704[rbp], 0
	jmp	.L5
.L12:
	mov	eax, DWORD PTR -1704[rbp]
	mov	edx, DWORD PTR -1700[rbp]
	mov	ecx, eax
	shr	edx, cl
	mov	eax, edx
	and	eax, 1
	test	eax, eax
	je	.L6
	mov	eax, DWORD PTR -1704[rbp]
	cdqe
	mov	eax, DWORD PTR -1676[rbp+rax*8]
	add	DWORD PTR -1696[rbp], eax
	mov	eax, DWORD PTR -1704[rbp]
	cdqe
	mov	eax, DWORD PTR -1680[rbp+rax*8]
	cmp	eax, 11
	je	.L7
	cmp	eax, 11
	jg	.L8
	cmp	eax, 10
	je	.L9
	cmp	eax, 10
	jg	.L8
	test	eax, eax
	je	.L19
	cmp	eax, 1
	jne	.L8
	add	DWORD PTR -1688[rbp], 1
	jmp	.L8
.L9:
	add	DWORD PTR -1692[rbp], 1
	jmp	.L8
.L7:
	add	DWORD PTR -1692[rbp], 1
	add	DWORD PTR -1688[rbp], 1
	jmp	.L8
.L19:
	nop
.L8:
	add	DWORD PTR -1684[rbp], 1
.L6:
	add	DWORD PTR -1704[rbp], 1
.L5:
	mov	eax, DWORD PTR -1712[rbp]
	cmp	DWORD PTR -1704[rbp], eax
	jl	.L12
	mov	eax, DWORD PTR -1688[rbp]
	add	eax, eax
	cmp	DWORD PTR -1684[rbp], eax
	jg	.L13
	mov	eax, DWORD PTR -1692[rbp]
	add	eax, eax
	cmp	DWORD PTR -1684[rbp], eax
	jle	.L14
.L13:
	mov	DWORD PTR -1696[rbp], -1061109567
.L14:
	mov	eax, DWORD PTR -1696[rbp]
	cmp	eax, DWORD PTR -1708[rbp]
	jle	.L15
	mov	eax, DWORD PTR -1696[rbp]
	mov	DWORD PTR -1708[rbp], eax
.L15:
	add	DWORD PTR -1700[rbp], 1
.L4:
	mov	eax, DWORD PTR -1712[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	cmp	DWORD PTR -1700[rbp], eax
	jb	.L16
	mov	eax, DWORD PTR -1708[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	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	"440947.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"debate.in\000"
	.align	2
.LC2:
	.ascii	"w\000"
	.align	2
.LC3:
	.ascii	"debate.out\000"
	.align	2
.LC4:
	.ascii	"%d\000"
	.align	2
.LC5:
	.ascii	"%d%d\000"
	.align	2
.LC6:
	.ascii	"%d\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1712
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1712
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1708]
	ldr	r3, .L20+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L20+8
	ldr	r0, .L20+12
	bl	freopen
	ldr	r3, .L20+16
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L20+20
	ldr	r0, .L20+24
	bl	freopen
	sub	r3, fp, #1696
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L20+28
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-1704]
	b	.L2
.L3:
	sub	r3, fp, #1664
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1704]
	lsl	r2, r2, #3
	add	r1, r3, r2
	sub	r3, fp, #1664
	sub	r3, r3, #4
	sub	r3, r3, #12
	ldr	r2, [fp, #-1704]
	lsl	r2, r2, #3
	add	r3, r3, r2
	add	r3, r3, #4
	mov	r2, r3
	ldr	r0, .L20+32
	bl	__isoc99_scanf
	ldr	r3, [fp, #-1704]
	add	r3, r3, #1
	str	r3, [fp, #-1704]
.L2:
	ldr	r3, [fp, #-1712]
	ldr	r2, [fp, #-1704]
	cmp	r2, r3
	blt	.L3
	mov	r3, #0
	str	r3, [fp, #-1700]
	b	.L4
.L17:
	mov	r3, #0
	str	r3, [fp, #-1696]
	mov	r3, #0
	str	r3, [fp, #-1692]
	mov	r3, #0
	str	r3, [fp, #-1688]
	mov	r3, #0
	str	r3, [fp, #-1684]
	mov	r3, #0
	str	r3, [fp, #-1704]
	b	.L5
.L13:
	ldr	r2, [fp, #-1700]
	ldr	r3, [fp, #-1704]
	lsr	r3, r2, r3
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-1704]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1672]
	ldr	r2, [fp, #-1696]
	add	r3, r2, r3
	str	r3, [fp, #-1696]
	ldr	r3, [fp, #-1704]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1676]
	cmp	r3, #11
	ldrls	pc, [pc, r3, asl #2]
	b	.L7
.L9:
	.word	.L7
	.word	.L11
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L7
	.word	.L10
	.word	.L8
.L11:
	ldr	r3, [fp, #-1688]
	add	r3, r3, #1
	str	r3, [fp, #-1688]
	b	.L7
.L10:
	ldr	r3, [fp, #-1692]
	add	r3, r3, #1
	str	r3, [fp, #-1692]
	b	.L7
.L8:
	ldr	r3, [fp, #-1692]
	add	r3, r3, #1
	str	r3, [fp, #-1692]
	ldr	r3, [fp, #-1688]
	add	r3, r3, #1
	str	r3, [fp, #-1688]
	nop
.L7:
	ldr	r3, [fp, #-1684]
	add	r3, r3, #1
	str	r3, [fp, #-1684]
.L6:
	ldr	r3, [fp, #-1704]
	add	r3, r3, #1
	str	r3, [fp, #-1704]
.L5:
	ldr	r3, [fp, #-1712]
	ldr	r2, [fp, #-1704]
	cmp	r2, r3
	blt	.L13
	ldr	r3, [fp, #-1688]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-1684]
	cmp	r2, r3
	bgt	.L14
	ldr	r3, [fp, #-1692]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-1684]
	cmp	r2, r3
	ble	.L15
.L14:
	ldr	r3, .L20+36
	str	r3, [fp, #-1696]
.L15:
	ldr	r2, [fp, #-1696]
	ldr	r3, [fp, #-1708]
	cmp	r2, r3
	ble	.L16
	ldr	r3, [fp, #-1696]
	str	r3, [fp, #-1708]
.L16:
	ldr	r3, [fp, #-1700]
	add	r3, r3, #1
	str	r3, [fp, #-1700]
.L4:
	ldr	r3, [fp, #-1712]
	mov	r2, #1
	lsl	r3, r2, r3
	ldr	r2, [fp, #-1700]
	cmp	r2, r3
	bcc	.L17
	ldr	r1, [fp, #-1708]
	ldr	r0, .L20+40
	bl	printf
	mov	r3, #0
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC7
	.word	stdin
	.word	.LC0
	.word	.LC1
	.word	stdout
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	-1061109567
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
