	.file	"150139975.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"The SAFE Sequence is as follows"
.LC1:
	.string	" P%d ->"
.LC2:
	.string	" P%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
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 328
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	QWORD PTR -360[rbp], rax
	mov	DWORD PTR -272[rbp], 5
	mov	DWORD PTR -268[rbp], 3
	mov	DWORD PTR -192[rbp], 0
	mov	DWORD PTR -188[rbp], 0
	mov	DWORD PTR -184[rbp], 1
	mov	DWORD PTR -180[rbp], 3
	mov	DWORD PTR -176[rbp], 0
	mov	DWORD PTR -172[rbp], 0
	mov	DWORD PTR -168[rbp], 1
	mov	DWORD PTR -164[rbp], 0
	mov	DWORD PTR -160[rbp], 1
	mov	DWORD PTR -156[rbp], 2
	mov	DWORD PTR -152[rbp], 3
	mov	DWORD PTR -148[rbp], 2
	mov	DWORD PTR -144[rbp], 0
	mov	DWORD PTR -140[rbp], 0
	mov	DWORD PTR -136[rbp], 3
	mov	DWORD PTR -128[rbp], 7
	mov	DWORD PTR -124[rbp], 6
	mov	DWORD PTR -120[rbp], 3
	mov	DWORD PTR -116[rbp], 3
	mov	DWORD PTR -112[rbp], 2
	mov	DWORD PTR -108[rbp], 2
	mov	DWORD PTR -104[rbp], 8
	mov	DWORD PTR -100[rbp], 0
	mov	DWORD PTR -96[rbp], 2
	mov	DWORD PTR -92[rbp], 2
	mov	DWORD PTR -88[rbp], 1
	mov	DWORD PTR -84[rbp], 2
	mov	DWORD PTR -80[rbp], 5
	mov	DWORD PTR -76[rbp], 2
	mov	DWORD PTR -72[rbp], 3
	mov	DWORD PTR -204[rbp], 2
	mov	DWORD PTR -200[rbp], 3
	mov	DWORD PTR -196[rbp], 2
	mov	edx, DWORD PTR -272[rbp]
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -264[rbp], rax
	movsx	rax, edx
	mov	rcx, rax
	mov	ebx, 0
	movsx	rax, edx
	mov	rsi, rax
	mov	edi, 0
	movsx	rax, edx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L2:
	cmp	rsp, rcx
	je	.L3
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L2
.L3:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L4
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L4:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -256[rbp], rax
	mov	edx, DWORD PTR -272[rbp]
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -248[rbp], rax
	movsx	rax, edx
	mov	r8, rax
	mov	r9d, 0
	movsx	rax, edx
	mov	QWORD PTR -336[rbp], rax
	mov	QWORD PTR -328[rbp], 0
	movsx	rax, edx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L5:
	cmp	rsp, rdx
	je	.L6
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L5
.L6:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L7
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L7:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -240[rbp], rax
	mov	DWORD PTR -288[rbp], 0
	mov	DWORD PTR -284[rbp], 0
	jmp	.L8
.L9:
	mov	rax, QWORD PTR -256[rbp]
	mov	edx, DWORD PTR -284[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], 0
	add	DWORD PTR -284[rbp], 1
.L8:
	mov	eax, DWORD PTR -284[rbp]
	cmp	eax, DWORD PTR -272[rbp]
	jl	.L9
	mov	edi, DWORD PTR -268[rbp]
	mov	r8d, DWORD PTR -272[rbp]
	mov	rax, rsp
	mov	rbx, rax
	movsx	rax, edi
	sub	rax, 1
	mov	QWORD PTR -232[rbp], rax
	movsx	rax, edi
	mov	QWORD PTR -352[rbp], rax
	mov	QWORD PTR -344[rbp], 0
	movsx	rax, edi
	lea	rcx, 0[0+rax*4]
	movsx	rax, r8d
	sub	rax, 1
	mov	QWORD PTR -224[rbp], rax
	movsx	rax, edi
	mov	QWORD PTR -320[rbp], rax
	mov	QWORD PTR -312[rbp], 0
	movsx	rax, r8d
	mov	r14, rax
	mov	r15d, 0
	mov	rdx, QWORD PTR -312[rbp]
	imul	rdx, r14
	mov	rax, QWORD PTR -320[rbp]
	imul	rax, r15
	lea	rsi, [rdx+rax]
	mov	rax, QWORD PTR -320[rbp]
	mul	r14
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rax, edi
	mov	r12, rax
	mov	r13d, 0
	movsx	rax, r8d
	mov	r10, rax
	mov	r11d, 0
	mov	rdx, r13
	imul	rdx, r10
	mov	rax, r11
	imul	rax, r12
	lea	rsi, [rdx+rax]
	mov	rax, r12
	mul	r10
	add	rsi, rdx
	mov	rdx, rsi
	movsx	rdx, edi
	movsx	rax, r8d
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rsi, rax
	and	rsi, -4096
	mov	rdx, rsp
	sub	rdx, rsi
.L10:
	cmp	rsp, rdx
	je	.L11
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L10
.L11:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L12
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L12:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -216[rbp], rax
	mov	DWORD PTR -276[rbp], 0
	jmp	.L13
.L16:
	mov	DWORD PTR -280[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -280[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -276[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rsi
	mov	esi, DWORD PTR -128[rbp+rax*4]
	mov	eax, DWORD PTR -280[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -276[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rdi
	mov	eax, DWORD PTR -192[rbp+rax*4]
	mov	rdi, rcx
	shr	rdi, 2
	sub	esi, eax
	mov	rax, QWORD PTR -216[rbp]
	mov	edx, DWORD PTR -280[rbp]
	movsx	r8, edx
	mov	edx, DWORD PTR -276[rbp]
	movsx	rdx, edx
	imul	rdx, rdi
	add	rdx, r8
	mov	DWORD PTR [rax+rdx*4], esi
	add	DWORD PTR -280[rbp], 1
.L14:
	mov	eax, DWORD PTR -280[rbp]
	cmp	eax, DWORD PTR -268[rbp]
	jl	.L15
	add	DWORD PTR -276[rbp], 1
.L13:
	mov	eax, DWORD PTR -276[rbp]
	cmp	eax, DWORD PTR -272[rbp]
	jl	.L16
	mov	DWORD PTR -292[rbp], 0
	mov	DWORD PTR -284[rbp], 0
	jmp	.L17
.L27:
	mov	DWORD PTR -276[rbp], 0
	jmp	.L18
.L26:
	mov	rax, QWORD PTR -256[rbp]
	mov	edx, DWORD PTR -276[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	test	eax, eax
	jne	.L19
	mov	DWORD PTR -296[rbp], 0
	mov	DWORD PTR -280[rbp], 0
	jmp	.L20
.L23:
	mov	rsi, rcx
	shr	rsi, 2
	mov	rax, QWORD PTR -216[rbp]
	mov	edx, DWORD PTR -280[rbp]
	movsx	rdi, edx
	mov	edx, DWORD PTR -276[rbp]
	movsx	rdx, edx
	imul	rdx, rsi
	add	rdx, rdi
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	eax, DWORD PTR -280[rbp]
	cdqe
	mov	eax, DWORD PTR -204[rbp+rax*4]
	cmp	edx, eax
	jle	.L21
	mov	DWORD PTR -296[rbp], 1
	jmp	.L22
.L21:
	add	DWORD PTR -280[rbp], 1
.L20:
	mov	eax, DWORD PTR -280[rbp]
	cmp	eax, DWORD PTR -268[rbp]
	jl	.L23
.L22:
	cmp	DWORD PTR -296[rbp], 0
	jne	.L19
	mov	eax, DWORD PTR -288[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -288[rbp], edx
	mov	rdx, QWORD PTR -240[rbp]
	cdqe
	mov	esi, DWORD PTR -276[rbp]
	mov	DWORD PTR [rdx+rax*4], esi
	mov	DWORD PTR -292[rbp], 0
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	mov	esi, DWORD PTR -204[rbp+rax*4]
	mov	eax, DWORD PTR -292[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -276[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	add	rax, rdi
	mov	eax, DWORD PTR -192[rbp+rax*4]
	lea	edx, [rsi+rax]
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	mov	DWORD PTR -204[rbp+rax*4], edx
	add	DWORD PTR -292[rbp], 1
.L24:
	mov	eax, DWORD PTR -292[rbp]
	cmp	eax, DWORD PTR -268[rbp]
	jl	.L25
	mov	rax, QWORD PTR -256[rbp]
	mov	edx, DWORD PTR -276[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], 1
.L19:
	add	DWORD PTR -276[rbp], 1
.L18:
	mov	eax, DWORD PTR -276[rbp]
	cmp	eax, DWORD PTR -272[rbp]
	jl	.L26
	add	DWORD PTR -284[rbp], 1
.L17:
	cmp	DWORD PTR -284[rbp], 4
	jle	.L27
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -276[rbp], 0
	jmp	.L28
.L29:
	mov	rax, QWORD PTR -240[rbp]
	mov	edx, DWORD PTR -276[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -276[rbp], 1
.L28:
	mov	eax, DWORD PTR -272[rbp]
	sub	eax, 1
	cmp	DWORD PTR -276[rbp], eax
	jl	.L29
	mov	eax, DWORD PTR -272[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -240[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rsp, rbx
	mov	rsp, QWORD PTR -360[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.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	"150139975.c"
	.text
	.section	.rodata
	.align	2
.LC3:
	.ascii	"The SAFE Sequence is as follows\000"
	.align	2
.LC4:
	.ascii	" P%d ->\000"
	.align	2
.LC5:
	.ascii	" P%d\012\000"
	.align	2
.LC0:
	.word	0
	.word	0
	.word	1
	.word	3
	.word	0
	.word	0
	.word	1
	.word	0
	.word	1
	.word	2
	.word	3
	.word	2
	.word	0
	.word	0
	.word	3
	.align	2
.LC1:
	.word	7
	.word	6
	.word	3
	.word	3
	.word	2
	.word	2
	.word	8
	.word	0
	.word	2
	.word	2
	.word	1
	.word	2
	.word	5
	.word	2
	.word	3
	.align	2
.LC2:
	.word	2
	.word	3
	.word	2
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 200
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #200
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, sp
	mov	r8, r3
	mov	r3, #5
	str	r3, [fp, #-200]
	mov	r3, #3
	str	r3, [fp, #-196]
	ldr	r3, .L23+4
	sub	ip, fp, #152
	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}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, .L23+8
	sub	ip, fp, #92
	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}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r2, .L23+12
	sub	r3, fp, #164
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	ldr	ip, [fp, #-200]
	sub	r3, ip, #1
	str	r3, [fp, #-192]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-188]
	ldr	ip, [fp, #-200]
	sub	r3, ip, #1
	str	r3, [fp, #-184]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-180]
	mov	r3, #0
	str	r3, [fp, #-216]
	mov	r3, #0
	str	r3, [fp, #-212]
	b	.L2
.L3:
	ldr	r3, [fp, #-188]
	ldr	r2, [fp, #-212]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
.L2:
	ldr	r2, [fp, #-212]
	ldr	r3, [fp, #-200]
	cmp	r2, r3
	blt	.L3
	ldr	ip, [fp, #-196]
	ldr	lr, [fp, #-200]
	mov	r3, sp
	mov	r9, r3
	sub	r3, ip, #1
	str	r3, [fp, #-176]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r6, r3, #2
	sub	r3, lr, #1
	str	r3, [fp, #-172]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r7, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r7, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r7, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r7, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-168]
	mov	r3, #0
	str	r3, [fp, #-204]
	b	.L4
.L7:
	mov	r3, #0
	str	r3, [fp, #-208]
	b	.L5
.L6:
	ldr	r2, [fp, #-204]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-208]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r1, [r3, #-64]
	ldr	r2, [fp, #-204]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-208]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	lsr	r2, r6, #2
	sub	r1, r1, r3
	ldr	r3, [fp, #-168]
	ldr	r0, [fp, #-204]
	mul	r0, r2, r0
	ldr	r2, [fp, #-208]
	add	r2, r0, r2
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-208]
	add	r3, r3, #1
	str	r3, [fp, #-208]
.L5:
	ldr	r2, [fp, #-208]
	ldr	r3, [fp, #-196]
	cmp	r2, r3
	blt	.L6
	ldr	r3, [fp, #-204]
	add	r3, r3, #1
	str	r3, [fp, #-204]
.L4:
	ldr	r2, [fp, #-204]
	ldr	r3, [fp, #-200]
	cmp	r2, r3
	blt	.L7
	mov	r3, #0
	str	r3, [fp, #-220]
	mov	r3, #0
	str	r3, [fp, #-212]
	b	.L8
.L18:
	mov	r3, #0
	str	r3, [fp, #-204]
	b	.L9
.L17:
	ldr	r3, [fp, #-188]
	ldr	r2, [fp, #-204]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L10
	mov	r3, #0
	str	r3, [fp, #-224]
	mov	r3, #0
	str	r3, [fp, #-208]
	b	.L11
.L14:
	lsr	r2, r6, #2
	ldr	r3, [fp, #-168]
	ldr	r1, [fp, #-204]
	mul	r1, r2, r1
	ldr	r2, [fp, #-208]
	add	r2, r1, r2
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-208]
	lsl	r3, r3, #2
	sub	r1, fp, #28
	add	r3, r1, r3
	ldr	r3, [r3, #-136]
	cmp	r2, r3
	ble	.L12
	mov	r3, #1
	str	r3, [fp, #-224]
	b	.L13
.L12:
	ldr	r3, [fp, #-208]
	add	r3, r3, #1
	str	r3, [fp, #-208]
.L11:
	ldr	r2, [fp, #-208]
	ldr	r3, [fp, #-196]
	cmp	r2, r3
	blt	.L14
.L13:
	ldr	r3, [fp, #-224]
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-216]
	add	r2, r3, #1
	str	r2, [fp, #-216]
	ldr	r2, [fp, #-180]
	ldr	r1, [fp, #-204]
	str	r1, [r2, r3, lsl #2]
	mov	r3, #0
	str	r3, [fp, #-220]
	b	.L15
.L16:
	ldr	r3, [fp, #-220]
	lsl	r3, r3, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r1, [r3, #-136]
	ldr	r2, [fp, #-204]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-220]
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, fp, #28
	add	r3, r2, r3
	ldr	r3, [r3, #-124]
	add	r2, r1, r3
	ldr	r3, [fp, #-220]
	lsl	r3, r3, #2
	sub	r1, fp, #28
	add	r3, r1, r3
	str	r2, [r3, #-136]
	ldr	r3, [fp, #-220]
	add	r3, r3, #1
	str	r3, [fp, #-220]
.L15:
	ldr	r2, [fp, #-220]
	ldr	r3, [fp, #-196]
	cmp	r2, r3
	blt	.L16
	ldr	r3, [fp, #-188]
	ldr	r2, [fp, #-204]
	mov	r1, #1
	str	r1, [r3, r2, lsl #2]
.L10:
	ldr	r3, [fp, #-204]
	add	r3, r3, #1
	str	r3, [fp, #-204]
.L9:
	ldr	r2, [fp, #-204]
	ldr	r3, [fp, #-200]
	cmp	r2, r3
	blt	.L17
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
.L8:
	ldr	r3, [fp, #-212]
	cmp	r3, #4
	ble	.L18
	ldr	r0, .L23+16
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-204]
	b	.L19
.L20:
	ldr	r3, [fp, #-180]
	ldr	r2, [fp, #-204]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L23+20
	bl	printf
	ldr	r3, [fp, #-204]
	add	r3, r3, #1
	str	r3, [fp, #-204]
.L19:
	ldr	r3, [fp, #-200]
	sub	r3, r3, #1
	ldr	r2, [fp, #-204]
	cmp	r2, r3
	blt	.L20
	ldr	r3, [fp, #-200]
	sub	r2, r3, #1
	ldr	r3, [fp, #-180]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L23+24
	bl	printf
	mov	r3, #0
	mov	sp, r9
	mov	sp, r8
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
