	.file	"218618.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%3d"
	.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, 448
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -416[rbp]
	mov	eax, 0
	mov	ecx, 50
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -436[rbp], 0
	mov	DWORD PTR -424[rbp], 0
	lea	rax, -444[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -440[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -440[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -440[rbp]
	cdqe
	mov	DWORD PTR -416[rbp+rax*4], edx
	add	DWORD PTR -440[rbp], 1
.L2:
	mov	eax, DWORD PTR -444[rbp]
	cmp	DWORD PTR -440[rbp], eax
	jl	.L3
	sub	DWORD PTR -440[rbp], 1
	mov	eax, DWORD PTR -440[rbp]
	cdqe
	mov	eax, DWORD PTR -416[rbp+rax*4]
	mov	DWORD PTR -428[rbp], eax
	add	DWORD PTR -428[rbp], 1
	mov	DWORD PTR -432[rbp], 1
	jmp	.L4
.L17:
	mov	eax, DWORD PTR -444[rbp]
	sub	eax, DWORD PTR -432[rbp]
	mov	DWORD PTR -420[rbp], eax
	mov	eax, DWORD PTR -444[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cmp	DWORD PTR -436[rbp], eax
	jge	.L5
	add	DWORD PTR -436[rbp], 1
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -440[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -436[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	mov	eax, DWORD PTR -428[rbp]
	mov	DWORD PTR -416[rbp+rdx*4], eax
	add	DWORD PTR -436[rbp], 1
	add	DWORD PTR -428[rbp], 1
	add	DWORD PTR -424[rbp], 1
.L6:
	mov	eax, DWORD PTR -424[rbp]
	cmp	eax, DWORD PTR -420[rbp]
	jl	.L7
	sub	DWORD PTR -436[rbp], 1
	mov	DWORD PTR -424[rbp], 0
	jmp	.L8
.L5:
	sub	DWORD PTR -436[rbp], 1
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -440[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -436[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	mov	eax, DWORD PTR -428[rbp]
	mov	DWORD PTR -416[rbp+rdx*4], eax
	sub	DWORD PTR -436[rbp], 1
	add	DWORD PTR -428[rbp], 1
	add	DWORD PTR -424[rbp], 1
.L9:
	mov	eax, DWORD PTR -424[rbp]
	cmp	eax, DWORD PTR -420[rbp]
	jl	.L10
	add	DWORD PTR -436[rbp], 1
	mov	DWORD PTR -424[rbp], 0
.L8:
	mov	eax, DWORD PTR -444[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	cmp	DWORD PTR -440[rbp], eax
	jge	.L11
	add	DWORD PTR -440[rbp], 1
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -440[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -436[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	mov	eax, DWORD PTR -428[rbp]
	mov	DWORD PTR -416[rbp+rdx*4], eax
	add	DWORD PTR -440[rbp], 1
	add	DWORD PTR -428[rbp], 1
	add	DWORD PTR -424[rbp], 1
.L12:
	mov	eax, DWORD PTR -424[rbp]
	cmp	eax, DWORD PTR -420[rbp]
	jl	.L13
	sub	DWORD PTR -440[rbp], 1
	mov	DWORD PTR -424[rbp], 0
	jmp	.L14
.L11:
	sub	DWORD PTR -440[rbp], 1
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -440[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -436[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	lea	rdx, [rax+rcx]
	mov	eax, DWORD PTR -428[rbp]
	mov	DWORD PTR -416[rbp+rdx*4], eax
	sub	DWORD PTR -440[rbp], 1
	add	DWORD PTR -428[rbp], 1
	add	DWORD PTR -424[rbp], 1
.L15:
	mov	eax, DWORD PTR -424[rbp]
	cmp	eax, DWORD PTR -420[rbp]
	jl	.L16
	add	DWORD PTR -440[rbp], 1
	mov	DWORD PTR -424[rbp], 0
.L14:
	add	DWORD PTR -432[rbp], 1
.L4:
	mov	eax, DWORD PTR -444[rbp]
	cmp	DWORD PTR -432[rbp], eax
	jl	.L17
	mov	DWORD PTR -436[rbp], 0
	jmp	.L18
.L21:
	mov	DWORD PTR -440[rbp], 0
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -440[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -436[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	eax, DWORD PTR -416[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -440[rbp], 1
.L19:
	mov	eax, DWORD PTR -444[rbp]
	cmp	DWORD PTR -440[rbp], eax
	jl	.L20
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -436[rbp], 1
.L18:
	mov	eax, DWORD PTR -444[rbp]
	cmp	DWORD PTR -436[rbp], eax
	jl	.L21
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	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	"218618.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%3d\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 432
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #432
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #408
	mov	r2, #400
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-428]
	mov	r3, #0
	str	r3, [fp, #-416]
	sub	r3, fp, #436
	mov	r1, r3
	ldr	r0, .L24+4
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-432]
	b	.L2
.L3:
	ldr	r3, [fp, #-432]
	add	r2, r3, #1
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-404]
	ldr	r3, [fp, #-432]
	add	r3, r3, #1
	str	r3, [fp, #-432]
.L2:
	ldr	r3, [fp, #-436]
	ldr	r2, [fp, #-432]
	cmp	r2, r3
	blt	.L3
	ldr	r3, [fp, #-432]
	sub	r3, r3, #1
	str	r3, [fp, #-432]
	ldr	r3, [fp, #-432]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	str	r3, [fp, #-420]
	ldr	r3, [fp, #-420]
	add	r3, r3, #1
	str	r3, [fp, #-420]
	mov	r3, #1
	str	r3, [fp, #-424]
	b	.L4
.L17:
	ldr	r2, [fp, #-436]
	ldr	r3, [fp, #-424]
	sub	r3, r2, r3
	str	r3, [fp, #-412]
	ldr	r3, [fp, #-436]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-428]
	cmp	r3, r2
	bge	.L5
	ldr	r3, [fp, #-428]
	add	r3, r3, #1
	str	r3, [fp, #-428]
	b	.L6
.L7:
	ldr	r2, [fp, #-428]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-432]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-420]
	str	r2, [r3, #-404]
	ldr	r3, [fp, #-428]
	add	r3, r3, #1
	str	r3, [fp, #-428]
	ldr	r3, [fp, #-420]
	add	r3, r3, #1
	str	r3, [fp, #-420]
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
.L6:
	ldr	r2, [fp, #-416]
	ldr	r3, [fp, #-412]
	cmp	r2, r3
	blt	.L7
	ldr	r3, [fp, #-428]
	sub	r3, r3, #1
	str	r3, [fp, #-428]
	mov	r3, #0
	str	r3, [fp, #-416]
	b	.L8
.L5:
	ldr	r3, [fp, #-428]
	sub	r3, r3, #1
	str	r3, [fp, #-428]
	b	.L9
.L10:
	ldr	r2, [fp, #-428]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-432]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-420]
	str	r2, [r3, #-404]
	ldr	r3, [fp, #-428]
	sub	r3, r3, #1
	str	r3, [fp, #-428]
	ldr	r3, [fp, #-420]
	add	r3, r3, #1
	str	r3, [fp, #-420]
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
.L9:
	ldr	r2, [fp, #-416]
	ldr	r3, [fp, #-412]
	cmp	r2, r3
	blt	.L10
	ldr	r3, [fp, #-428]
	add	r3, r3, #1
	str	r3, [fp, #-428]
	mov	r3, #0
	str	r3, [fp, #-416]
.L8:
	ldr	r3, [fp, #-436]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-432]
	cmp	r3, r2
	bge	.L11
	ldr	r3, [fp, #-432]
	add	r3, r3, #1
	str	r3, [fp, #-432]
	b	.L12
.L13:
	ldr	r2, [fp, #-428]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-432]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-420]
	str	r2, [r3, #-404]
	ldr	r3, [fp, #-432]
	add	r3, r3, #1
	str	r3, [fp, #-432]
	ldr	r3, [fp, #-420]
	add	r3, r3, #1
	str	r3, [fp, #-420]
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
.L12:
	ldr	r2, [fp, #-416]
	ldr	r3, [fp, #-412]
	cmp	r2, r3
	blt	.L13
	ldr	r3, [fp, #-432]
	sub	r3, r3, #1
	str	r3, [fp, #-432]
	mov	r3, #0
	str	r3, [fp, #-416]
	b	.L14
.L11:
	ldr	r3, [fp, #-432]
	sub	r3, r3, #1
	str	r3, [fp, #-432]
	b	.L15
.L16:
	ldr	r2, [fp, #-428]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-432]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-420]
	str	r2, [r3, #-404]
	ldr	r3, [fp, #-432]
	sub	r3, r3, #1
	str	r3, [fp, #-432]
	ldr	r3, [fp, #-420]
	add	r3, r3, #1
	str	r3, [fp, #-420]
	ldr	r3, [fp, #-416]
	add	r3, r3, #1
	str	r3, [fp, #-416]
.L15:
	ldr	r2, [fp, #-416]
	ldr	r3, [fp, #-412]
	cmp	r2, r3
	blt	.L16
	ldr	r3, [fp, #-432]
	add	r3, r3, #1
	str	r3, [fp, #-432]
	mov	r3, #0
	str	r3, [fp, #-416]
.L14:
	ldr	r3, [fp, #-424]
	add	r3, r3, #1
	str	r3, [fp, #-424]
.L4:
	ldr	r3, [fp, #-436]
	ldr	r2, [fp, #-424]
	cmp	r2, r3
	blt	.L17
	mov	r3, #0
	str	r3, [fp, #-428]
	b	.L18
.L21:
	mov	r3, #0
	str	r3, [fp, #-432]
	b	.L19
.L20:
	ldr	r2, [fp, #-428]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-432]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	mov	r1, r3
	ldr	r0, .L24+8
	bl	printf
	ldr	r3, [fp, #-432]
	add	r3, r3, #1
	str	r3, [fp, #-432]
.L19:
	ldr	r3, [fp, #-436]
	ldr	r2, [fp, #-432]
	cmp	r2, r3
	blt	.L20
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-428]
	add	r3, r3, #1
	str	r3, [fp, #-428]
.L18:
	ldr	r3, [fp, #-436]
	ldr	r2, [fp, #-428]
	cmp	r2, r3
	blt	.L21
	mov	r3, #0
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
