	.file	"309785.c"
	.intel_syntax noprefix
	.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
	sub	rsp, 176
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -164[rbp], 0
	mov	DWORD PTR -160[rbp], 0
	lea	rax, -128[rbp]
	mov	edx, 108
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -156[rbp], 0
	jmp	.L2
.L7:
	mov	DWORD PTR -152[rbp], 0
	jmp	.L3
.L6:
	mov	DWORD PTR -148[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -152[rbp]
	lea	edx, 0[0+rax*4]
	mov	eax, DWORD PTR -156[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -148[rbp]
	sal	eax, 4
	lea	esi, [rdx+rax]
	mov	eax, DWORD PTR -148[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	mov	edx, DWORD PTR -152[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 3
	add	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rdx
	add	rax, rdi
	mov	DWORD PTR -128[rbp+rax*4], esi
	add	DWORD PTR -148[rbp], 1
.L4:
	cmp	DWORD PTR -148[rbp], 1
	jle	.L5
	add	DWORD PTR -152[rbp], 1
.L3:
	cmp	DWORD PTR -152[rbp], 1
	jle	.L6
	add	DWORD PTR -156[rbp], 1
.L2:
	cmp	DWORD PTR -156[rbp], 1
	jle	.L7
	mov	DWORD PTR -168[rbp], 0
	jmp	.L8
.L14:
	mov	DWORD PTR -144[rbp], 0
	jmp	.L9
.L13:
	mov	DWORD PTR -140[rbp], 0
	jmp	.L10
.L12:
	mov	eax, DWORD PTR -140[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	mov	edx, DWORD PTR -144[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 3
	add	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rdx
	add	rax, rsi
	mov	eax, DWORD PTR -128[rbp+rax*4]
	mov	edx, DWORD PTR -144[rbp]
	lea	ecx, 0[0+rdx*4]
	mov	edx, DWORD PTR -168[rbp]
	add	ecx, edx
	mov	edx, DWORD PTR -140[rbp]
	sal	edx, 4
	add	edx, ecx
	cmp	eax, edx
	je	.L11
	add	DWORD PTR -164[rbp], 1
.L11:
	add	DWORD PTR -140[rbp], 1
.L10:
	cmp	DWORD PTR -140[rbp], 1
	jle	.L12
	add	DWORD PTR -144[rbp], 1
.L9:
	cmp	DWORD PTR -144[rbp], 1
	jle	.L13
	add	DWORD PTR -168[rbp], 1
.L8:
	cmp	DWORD PTR -168[rbp], 1
	jle	.L14
	mov	DWORD PTR -168[rbp], 0
	jmp	.L15
.L21:
	mov	DWORD PTR -136[rbp], 0
	jmp	.L16
.L20:
	mov	DWORD PTR -132[rbp], 0
	jmp	.L17
.L19:
	mov	eax, DWORD PTR -132[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	mov	edx, DWORD PTR -136[rbp]
	movsx	rcx, edx
	mov	rdx, rax
	sal	rdx, 3
	add	rdx, rax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rdx
	add	rax, rsi
	mov	eax, DWORD PTR -128[rbp+rax*4]
	mov	edx, DWORD PTR -136[rbp]
	lea	ecx, 0[0+rdx*4]
	mov	edx, DWORD PTR -168[rbp]
	add	ecx, edx
	mov	edx, DWORD PTR -132[rbp]
	sal	edx, 4
	add	edx, ecx
	cmp	eax, edx
	je	.L18
	add	DWORD PTR -160[rbp], 1
.L18:
	add	DWORD PTR -132[rbp], 1
.L17:
	cmp	DWORD PTR -132[rbp], 1
	jle	.L19
	add	DWORD PTR -136[rbp], 1
.L16:
	cmp	DWORD PTR -136[rbp], 1
	jle	.L20
	add	DWORD PTR -168[rbp], 1
.L15:
	cmp	DWORD PTR -168[rbp], 1
	jle	.L21
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -160[rbp]
	je	.L22
	call	abort@PLT
.L22:
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"309785.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-152]
	mov	r3, #0
	str	r3, [fp, #-148]
	sub	r3, fp, #116
	mov	r2, #108
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-144]
	b	.L2
.L7:
	mov	r3, #0
	str	r3, [fp, #-140]
	b	.L3
.L6:
	mov	r3, #0
	str	r3, [fp, #-136]
	b	.L4
.L5:
	ldr	r3, [fp, #-140]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-144]
	add	r2, r2, r3
	ldr	r3, [fp, #-136]
	lsl	r3, r3, #4
	add	r0, r2, r3
	ldr	r3, [fp, #-140]
	ldr	r1, [fp, #-144]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	add	r2, r2, r3
	ldr	r3, [fp, #-136]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r0, [r3, #-112]
	ldr	r3, [fp, #-136]
	add	r3, r3, #1
	str	r3, [fp, #-136]
.L4:
	ldr	r3, [fp, #-136]
	cmp	r3, #1
	ble	.L5
	ldr	r3, [fp, #-140]
	add	r3, r3, #1
	str	r3, [fp, #-140]
.L3:
	ldr	r3, [fp, #-140]
	cmp	r3, #1
	ble	.L6
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
.L2:
	ldr	r3, [fp, #-144]
	cmp	r3, #1
	ble	.L7
	mov	r3, #0
	str	r3, [fp, #-156]
	b	.L8
.L14:
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L9
.L13:
	mov	r3, #0
	str	r3, [fp, #-128]
	b	.L10
.L12:
	ldr	r3, [fp, #-132]
	ldr	r1, [fp, #-156]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	add	r2, r2, r3
	ldr	r3, [fp, #-128]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-112]
	ldr	r3, [fp, #-132]
	lsl	r1, r3, #2
	ldr	r3, [fp, #-156]
	add	r1, r1, r3
	ldr	r3, [fp, #-128]
	lsl	r3, r3, #4
	add	r3, r1, r3
	cmp	r2, r3
	beq	.L11
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L11:
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L10:
	ldr	r3, [fp, #-128]
	cmp	r3, #1
	ble	.L12
	ldr	r3, [fp, #-132]
	add	r3, r3, #1
	str	r3, [fp, #-132]
.L9:
	ldr	r3, [fp, #-132]
	cmp	r3, #1
	ble	.L13
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	str	r3, [fp, #-156]
.L8:
	ldr	r3, [fp, #-156]
	cmp	r3, #1
	ble	.L14
	mov	r3, #0
	str	r3, [fp, #-156]
	b	.L15
.L21:
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L16
.L20:
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L17
.L19:
	ldr	r3, [fp, #-124]
	ldr	r1, [fp, #-156]
	mov	r2, r3
	lsl	r2, r2, #1
	add	r2, r2, r3
	mov	r3, r1
	lsl	r3, r3, #3
	add	r3, r3, r1
	add	r2, r2, r3
	ldr	r3, [fp, #-120]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-112]
	ldr	r3, [fp, #-124]
	lsl	r1, r3, #2
	ldr	r3, [fp, #-156]
	add	r1, r1, r3
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #4
	add	r3, r1, r3
	cmp	r2, r3
	beq	.L18
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L18:
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L17:
	ldr	r3, [fp, #-120]
	cmp	r3, #1
	ble	.L19
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L16:
	ldr	r3, [fp, #-124]
	cmp	r3, #1
	ble	.L20
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	str	r3, [fp, #-156]
.L15:
	ldr	r3, [fp, #-156]
	cmp	r3, #1
	ble	.L21
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-148]
	cmp	r2, r3
	beq	.L22
	bl	abort
.L22:
	mov	r3, #0
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
