	.file	"550160.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%1d"
.LC1:
	.string	"%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
	sub	rsp, 848
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -816[rbp], 1
	mov	DWORD PTR -812[rbp], 1
	mov	DWORD PTR -808[rbp], 1
	mov	DWORD PTR -804[rbp], 1
	mov	DWORD PTR -800[rbp], 0
	mov	DWORD PTR -796[rbp], 1
	mov	DWORD PTR -792[rbp], 1
	mov	DWORD PTR -788[rbp], 0
	mov	DWORD PTR -784[rbp], 0
	mov	DWORD PTR -780[rbp], 0
	mov	DWORD PTR -776[rbp], 1
	mov	DWORD PTR -772[rbp], 1
	lea	rdx, -768[rbp]
	mov	eax, 0
	mov	ecx, 94
	mov	rdi, rdx
	rep stosq
	mov	rdx, rdi
	mov	DWORD PTR [rdx], eax
	add	rdx, 4
	mov	DWORD PTR -836[rbp], 0
	mov	DWORD PTR -832[rbp], 0
	jmp	.L2
.L3:
	lea	rdx, -768[rbp]
	mov	eax, DWORD PTR -832[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -832[rbp], 1
.L2:
	cmp	DWORD PTR -832[rbp], 19
	jle	.L3
	mov	edi, 10
	call	putchar@PLT
	jmp	.L4
.L13:
	mov	DWORD PTR -828[rbp], 1
	jmp	.L5
.L10:
	mov	DWORD PTR -824[rbp], 0
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -824[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 816
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -828[rbp]
	sub	eax, 1
	movsx	rsi, eax
	mov	eax, DWORD PTR -836[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	mov	eax, DWORD PTR -768[rbp+rax*4]
	cmp	ecx, eax
	jne	.L7
	mov	eax, DWORD PTR -824[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 812
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -836[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	mov	eax, DWORD PTR -768[rbp+rax*4]
	cmp	ecx, eax
	jne	.L7
	mov	eax, DWORD PTR -824[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 2
	add	rax, rbp
	sub	rax, 808
	mov	ecx, DWORD PTR [rax]
	mov	eax, DWORD PTR -828[rbp]
	add	eax, 1
	movsx	rsi, eax
	mov	eax, DWORD PTR -836[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	mov	eax, DWORD PTR -768[rbp+rax*4]
	cmp	ecx, eax
	jne	.L7
	mov	eax, DWORD PTR -836[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	mov	DWORD PTR -768[rbp+rax*4], 1
	jmp	.L8
.L7:
	add	DWORD PTR -824[rbp], 1
.L6:
	cmp	DWORD PTR -824[rbp], 3
	jle	.L9
.L8:
	add	DWORD PTR -828[rbp], 1
.L5:
	cmp	DWORD PTR -828[rbp], 18
	jle	.L10
	mov	DWORD PTR -820[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -820[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -836[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	mov	eax, DWORD PTR -768[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -820[rbp], 1
.L11:
	cmp	DWORD PTR -820[rbp], 19
	jle	.L12
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -836[rbp], 1
.L4:
	cmp	DWORD PTR -836[rbp], 8
	jle	.L13
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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	"550160.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%1d\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC0:
	.word	1
	.word	1
	.word	1
	.word	1
	.word	0
	.word	1
	.word	1
	.word	0
	.word	0
	.word	0
	.word	1
	.word	1
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 832
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #832
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L16+4
	sub	ip, fp, #812
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	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, #764
	mov	r2, #756
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-832]
	mov	r3, #0
	str	r3, [fp, #-828]
	b	.L2
.L3:
	sub	r2, fp, #764
	ldr	r3, [fp, #-828]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L16+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-828]
	add	r3, r3, #1
	str	r3, [fp, #-828]
.L2:
	ldr	r3, [fp, #-828]
	cmp	r3, #19
	ble	.L3
	mov	r0, #10
	bl	putchar
	b	.L4
.L13:
	mov	r3, #1
	str	r3, [fp, #-824]
	b	.L5
.L10:
	mov	r3, #0
	str	r3, [fp, #-820]
	b	.L6
.L9:
	ldr	r2, [fp, #-820]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #808
	ldr	r1, [r3]
	ldr	r3, [fp, #-824]
	sub	r0, r3, #1
	ldr	r2, [fp, #-832]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r3, r2, r0
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-760]
	cmp	r1, r3
	bne	.L7
	ldr	r2, [fp, #-820]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #804
	ldr	r1, [r3]
	ldr	r2, [fp, #-832]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-824]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-760]
	cmp	r1, r3
	bne	.L7
	ldr	r2, [fp, #-820]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #800
	ldr	r1, [r3]
	ldr	r3, [fp, #-824]
	add	r0, r3, #1
	ldr	r2, [fp, #-832]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	add	r3, r2, r0
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-760]
	cmp	r1, r3
	bne	.L7
	ldr	r3, [fp, #-832]
	add	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-824]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #1
	str	r2, [r3, #-760]
	b	.L8
.L7:
	ldr	r3, [fp, #-820]
	add	r3, r3, #1
	str	r3, [fp, #-820]
.L6:
	ldr	r3, [fp, #-820]
	cmp	r3, #3
	ble	.L9
.L8:
	ldr	r3, [fp, #-824]
	add	r3, r3, #1
	str	r3, [fp, #-824]
.L5:
	ldr	r3, [fp, #-824]
	cmp	r3, #18
	ble	.L10
	mov	r3, #0
	str	r3, [fp, #-816]
	b	.L11
.L12:
	ldr	r2, [fp, #-832]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r2, r3, #3
	sub	r2, r2, r3
	ldr	r3, [fp, #-816]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-760]
	mov	r1, r3
	ldr	r0, .L16+12
	bl	printf
	ldr	r3, [fp, #-816]
	add	r3, r3, #1
	str	r3, [fp, #-816]
.L11:
	ldr	r3, [fp, #-816]
	cmp	r3, #19
	ble	.L12
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-832]
	add	r3, r3, #1
	str	r3, [fp, #-832]
.L4:
	ldr	r3, [fp, #-832]
	cmp	r3, #8
	ble	.L13
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
