	.file	"328480.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.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
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 200
	.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	DWORD PTR -112[rbp], 0
	mov	DWORD PTR -124[rbp], 0
	mov	DWORD PTR -128[rbp], 0
	mov	DWORD PTR -108[rbp], 0
	lea	rax, -136[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L2
.L33:
	mov	rax, rsp
	mov	QWORD PTR -232[rbp], rax
	mov	DWORD PTR -112[rbp], 0
	mov	DWORD PTR -124[rbp], 0
	mov	DWORD PTR -128[rbp], 0
	mov	DWORD PTR -108[rbp], 0
	lea	rax, -140[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	esi, DWORD PTR -140[rbp]
	mov	edi, DWORD PTR -140[rbp]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -96[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -192[rbp], rax
	mov	QWORD PTR -184[rbp], 0
	movsx	rax, esi
	lea	rbx, 0[0+rax*4]
	movsx	rax, edi
	sub	rax, 1
	mov	QWORD PTR -88[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -160[rbp], rax
	mov	QWORD PTR -152[rbp], 0
	movsx	rax, edi
	mov	QWORD PTR -176[rbp], rax
	mov	QWORD PTR -168[rbp], 0
	mov	r8, QWORD PTR -160[rbp]
	mov	r9, QWORD PTR -152[rbp]
	mov	rdx, r9
	mov	r10, QWORD PTR -176[rbp]
	mov	r11, QWORD PTR -168[rbp]
	imul	rdx, r10
	mov	rax, r11
	imul	rax, r8
	lea	rcx, [rdx+rax]
	mov	rax, r8
	mul	r10
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rax, esi
	mov	r14, rax
	mov	r15d, 0
	movsx	rax, edi
	mov	r12, rax
	mov	r13d, 0
	mov	rdx, r15
	imul	rdx, r12
	mov	rax, r13
	imul	rax, r14
	lea	rcx, [rdx+rax]
	mov	rax, r14
	mul	r12
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	movsx	rax, edi
	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	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L3:
	cmp	rsp, rcx
	je	.L4
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L3
.L4:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L5
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L5:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -80[rbp], rax
	mov	DWORD PTR -116[rbp], 0
	jmp	.L6
.L7:
	mov	rdx, rbx
	shr	rdx, 2
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -116[rbp], 1
.L6:
	mov	eax, DWORD PTR -140[rbp]
	cmp	DWORD PTR -116[rbp], eax
	jl	.L7
	mov	rax, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -132[rbp], eax
	mov	DWORD PTR -116[rbp], 0
	jmp	.L8
.L10:
	mov	rcx, rbx
	shr	rcx, 2
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	imul	rax, rcx
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -132[rbp], eax
	jge	.L9
	mov	rcx, rbx
	shr	rcx, 2
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	imul	rax, rcx
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	DWORD PTR -132[rbp], eax
.L9:
	add	DWORD PTR -116[rbp], 1
.L8:
	mov	eax, DWORD PTR -140[rbp]
	cmp	DWORD PTR -116[rbp], eax
	jl	.L10
	mov	eax, DWORD PTR -132[rbp]
	lea	edx, 1[rax]
	mov	rax, rsp
	mov	QWORD PTR -240[rbp], rax
	movsx	rax, edx
	sub	rax, 1
	mov	QWORD PTR -72[rbp], rax
	movsx	rax, edx
	mov	QWORD PTR -208[rbp], rax
	mov	QWORD PTR -200[rbp], 0
	movsx	rax, edx
	mov	QWORD PTR -224[rbp], rax
	mov	QWORD PTR -216[rbp], 0
	movsx	rax, edx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rdx, rax, 16
	mov	rax, rdx
	and	rax, -4096
	mov	rcx, rsp
	sub	rcx, rax
.L11:
	cmp	rsp, rcx
	je	.L12
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L11
.L12:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L13
	mov	rax, rdx
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L13:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -64[rbp], rax
	mov	DWORD PTR -116[rbp], 0
	jmp	.L14
.L15:
	mov	rdx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 0
	add	DWORD PTR -116[rbp], 1
.L14:
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jge	.L15
	mov	DWORD PTR -120[rbp], 0
	jmp	.L16
.L17:
	mov	rdx, rbx
	shr	rdx, 2
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	imul	rax, rdx
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rdx, rbx
	shr	rdx, 2
	mov	rcx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	imul	rax, rdx
	add	rax, 1
	mov	eax, DWORD PTR [rcx+rax*4]
	add	DWORD PTR -128[rbp], eax
	add	DWORD PTR -120[rbp], 1
.L16:
	mov	eax, DWORD PTR -140[rbp]
	cmp	DWORD PTR -120[rbp], eax
	jl	.L17
	mov	DWORD PTR -116[rbp], 0
	jmp	.L18
.L22:
	mov	DWORD PTR -120[rbp], 0
	jmp	.L19
.L21:
	mov	rdx, rbx
	shr	rdx, 2
	mov	rcx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	imul	rax, rdx
	add	rax, 1
	mov	esi, DWORD PTR [rcx+rax*4]
	mov	rcx, rbx
	shr	rcx, 2
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 1
	mov	rdx, QWORD PTR -80[rbp]
	cdqe
	imul	rax, rcx
	add	rax, 1
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	esi, eax
	jge	.L20
	mov	rdx, rbx
	shr	rdx, 2
	mov	rcx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	imul	rax, rdx
	add	rax, 1
	mov	eax, DWORD PTR [rcx+rax*4]
	mov	DWORD PTR -104[rbp], eax
	mov	rcx, rbx
	shr	rcx, 2
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 1
	mov	rsi, rbx
	shr	rsi, 2
	mov	rdx, QWORD PTR -80[rbp]
	cdqe
	imul	rax, rcx
	add	rax, 1
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	imul	rax, rsi
	add	rax, 1
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	rdx, rbx
	shr	rdx, 2
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 1
	mov	rcx, QWORD PTR -80[rbp]
	cdqe
	imul	rax, rdx
	lea	rdx, 1[rax]
	mov	eax, DWORD PTR -104[rbp]
	mov	DWORD PTR [rcx+rdx*4], eax
	mov	rcx, rbx
	shr	rcx, 2
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	imul	rax, rcx
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	DWORD PTR -100[rbp], eax
	mov	rcx, rbx
	shr	rcx, 2
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 1
	mov	rsi, rbx
	shr	rsi, 2
	mov	rdx, QWORD PTR -80[rbp]
	cdqe
	imul	rax, rcx
	mov	ecx, DWORD PTR [rdx+rax*4]
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	imul	rax, rsi
	mov	DWORD PTR [rdx+rax*4], ecx
	mov	rdx, rbx
	shr	rdx, 2
	mov	eax, DWORD PTR -120[rbp]
	add	eax, 1
	mov	rcx, QWORD PTR -80[rbp]
	cdqe
	imul	rdx, rax
	mov	eax, DWORD PTR -100[rbp]
	mov	DWORD PTR [rcx+rdx*4], eax
.L20:
	add	DWORD PTR -120[rbp], 1
.L19:
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 1
	sub	eax, DWORD PTR -116[rbp]
	cmp	DWORD PTR -120[rbp], eax
	jl	.L21
	add	DWORD PTR -116[rbp], 1
.L18:
	mov	eax, DWORD PTR -140[rbp]
	sub	eax, 1
	cmp	DWORD PTR -116[rbp], eax
	jl	.L22
	mov	DWORD PTR -120[rbp], 0
	jmp	.L23
.L32:
	mov	DWORD PTR -116[rbp], 0
	jmp	.L24
.L31:
	mov	rcx, rbx
	shr	rcx, 2
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	imul	rax, rcx
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -116[rbp], eax
	jne	.L25
	mov	rdx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	jne	.L25
	mov	rdx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 1
	mov	rdx, rbx
	shr	rdx, 2
	mov	rcx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	imul	rax, rdx
	add	rax, 1
	mov	eax, DWORD PTR [rcx+rax*4]
	add	DWORD PTR -124[rbp], eax
	add	DWORD PTR -120[rbp], 1
	jmp	.L23
.L25:
	mov	rcx, rbx
	shr	rcx, 2
	mov	rdx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	imul	rax, rcx
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -116[rbp], eax
	jne	.L26
	mov	rdx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	eax, 1
	jne	.L26
	jmp	.L27
.L30:
	mov	rdx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	mov	eax, DWORD PTR [rdx+rax*4]
	test	eax, eax
	jne	.L28
	mov	rdx, QWORD PTR -64[rbp]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	mov	DWORD PTR [rdx+rax*4], 1
	mov	rdx, rbx
	shr	rdx, 2
	mov	rcx, QWORD PTR -80[rbp]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	imul	rax, rdx
	add	rax, 1
	mov	eax, DWORD PTR [rcx+rax*4]
	add	DWORD PTR -124[rbp], eax
	jmp	.L29
.L28:
	sub	DWORD PTR -116[rbp], 1
.L27:
	cmp	DWORD PTR -116[rbp], 0
	jg	.L30
.L29:
	add	DWORD PTR -120[rbp], 1
	jmp	.L23
.L26:
	add	DWORD PTR -116[rbp], 1
.L24:
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jge	.L31
.L23:
	mov	eax, DWORD PTR -140[rbp]
	cmp	DWORD PTR -120[rbp], eax
	jl	.L32
	mov	eax, DWORD PTR -128[rbp]
	sub	eax, DWORD PTR -124[rbp]
	mov	DWORD PTR -112[rbp], eax
	mov	eax, DWORD PTR -112[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rsp, QWORD PTR -240[rbp]
	mov	rsp, QWORD PTR -232[rbp]
.L2:
	mov	edx, DWORD PTR -136[rbp]
	lea	eax, -1[rdx]
	mov	DWORD PTR -136[rbp], eax
	test	edx, edx
	jne	.L33
	mov	eax, 0
	mov	rdi, QWORD PTR -56[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L35
	call	__stack_chk_fail@PLT
.L35:
	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	"328480.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%d\012\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 = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #76
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-84]
	mov	r3, #0
	str	r3, [fp, #-64]
	sub	r3, fp, #92
	mov	r1, r3
	ldr	r0, .L30+4
	bl	__isoc99_scanf
	b	.L2
.L27:
	mov	r3, sp
	mov	r8, r3
	mov	r3, #0
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-84]
	mov	r3, #0
	str	r3, [fp, #-64]
	sub	r3, fp, #96
	mov	r1, r3
	ldr	r0, .L30+4
	bl	__isoc99_scanf
	ldr	ip, [fp, #-96]
	ldr	lr, [fp, #-96]
	sub	r3, ip, #1
	str	r3, [fp, #-60]
	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	r4, r3, #2
	sub	r3, lr, #1
	str	r3, [fp, #-56]
	mov	r3, ip
	mov	r6, r3
	mov	r7, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r7
	mul	r3, r6, r1
	add	r5, r2, r3
	umull	r2, r3, r6, r0
	add	r1, r5, 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	r6, r3
	mov	r7, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r7
	mul	r3, r6, r1
	add	r5, r2, r3
	umull	r2, r3, r6, r0
	add	r1, r5, 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, #-52]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L3
.L4:
	lsr	r3, r4, #2
	ldr	r2, [fp, #-72]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L30+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L3:
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	blt	.L4
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	str	r3, [fp, #-88]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L5
.L7:
	lsr	r2, r4, #2
	ldr	r3, [fp, #-52]
	ldr	r1, [fp, #-72]
	mul	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-88]
	cmp	r2, r3
	bge	.L6
	lsr	r2, r4, #2
	ldr	r3, [fp, #-52]
	ldr	r1, [fp, #-72]
	mul	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-88]
.L6:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L5:
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	blt	.L7
	ldr	r3, [fp, #-88]
	add	ip, r3, #1
	mov	r3, sp
	mov	r5, r3
	sub	r3, ip, #1
	str	r3, [fp, #-48]
	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, #-44]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L8
.L9:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-72]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L8:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	bge	.L9
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L10
.L11:
	lsr	r3, r4, #2
	ldr	r2, [fp, #-76]
	mul	r3, r2, r3
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L30+4
	bl	__isoc99_scanf
	lsr	r2, r4, #2
	ldr	r3, [fp, #-52]
	ldr	r1, [fp, #-76]
	mul	r2, r1, r2
	add	r2, r2, #1
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-84]
	add	r3, r2, r3
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L10:
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	blt	.L11
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L12
.L16:
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L13
.L15:
	lsr	r2, r4, #2
	ldr	r3, [fp, #-52]
	ldr	r1, [fp, #-76]
	mul	r2, r1, r2
	add	r2, r2, #1
	ldr	r2, [r3, r2, lsl #2]
	lsr	r1, r4, #2
	ldr	r3, [fp, #-76]
	add	r0, r3, #1
	ldr	r3, [fp, #-52]
	mul	r1, r0, r1
	add	r1, r1, #1
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bge	.L14
	lsr	r2, r4, #2
	ldr	r3, [fp, #-52]
	ldr	r1, [fp, #-76]
	mul	r2, r1, r2
	add	r2, r2, #1
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-40]
	lsr	r1, r4, #2
	ldr	r3, [fp, #-76]
	add	r0, r3, #1
	lsr	r2, r4, #2
	ldr	r3, [fp, #-52]
	mul	r1, r0, r1
	add	r1, r1, #1
	ldr	r1, [r3, r1, lsl #2]
	ldr	r3, [fp, #-52]
	ldr	r0, [fp, #-76]
	mul	r2, r0, r2
	add	r2, r2, #1
	str	r1, [r3, r2, lsl #2]
	lsr	r2, r4, #2
	ldr	r3, [fp, #-76]
	add	r1, r3, #1
	ldr	r3, [fp, #-52]
	mul	r2, r1, r2
	add	r2, r2, #1
	ldr	r1, [fp, #-40]
	str	r1, [r3, r2, lsl #2]
	lsr	r2, r4, #2
	ldr	r3, [fp, #-52]
	ldr	r1, [fp, #-76]
	mul	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-36]
	lsr	r1, r4, #2
	ldr	r3, [fp, #-76]
	add	r0, r3, #1
	lsr	r2, r4, #2
	ldr	r3, [fp, #-52]
	mul	r1, r0, r1
	ldr	r1, [r3, r1, lsl #2]
	ldr	r3, [fp, #-52]
	ldr	r0, [fp, #-76]
	mul	r2, r0, r2
	str	r1, [r3, r2, lsl #2]
	lsr	r2, r4, #2
	ldr	r3, [fp, #-76]
	add	r1, r3, #1
	ldr	r3, [fp, #-52]
	mul	r2, r1, r2
	ldr	r1, [fp, #-36]
	str	r1, [r3, r2, lsl #2]
.L14:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L13:
	ldr	r3, [fp, #-96]
	sub	r2, r3, #1
	ldr	r3, [fp, #-72]
	sub	r3, r2, r3
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	blt	.L15
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L12:
	ldr	r3, [fp, #-96]
	sub	r3, r3, #1
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	blt	.L16
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L17
.L26:
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L18
.L25:
	lsr	r2, r4, #2
	ldr	r3, [fp, #-52]
	ldr	r1, [fp, #-76]
	mul	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	bne	.L19
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-72]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L19
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-72]
	mov	r1, #1
	str	r1, [r3, r2, lsl #2]
	lsr	r2, r4, #2
	ldr	r3, [fp, #-52]
	ldr	r1, [fp, #-76]
	mul	r2, r1, r2
	add	r2, r2, #1
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	str	r3, [fp, #-80]
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
	b	.L17
.L19:
	lsr	r2, r4, #2
	ldr	r3, [fp, #-52]
	ldr	r1, [fp, #-76]
	mul	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-72]
	cmp	r2, r3
	bne	.L20
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-72]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #1
	bne	.L20
	b	.L21
.L24:
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-72]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L22
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-72]
	mov	r1, #1
	str	r1, [r3, r2, lsl #2]
	lsr	r2, r4, #2
	ldr	r3, [fp, #-52]
	ldr	r1, [fp, #-76]
	mul	r2, r1, r2
	add	r2, r2, #1
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-80]
	add	r3, r2, r3
	str	r3, [fp, #-80]
	b	.L23
.L22:
	ldr	r3, [fp, #-72]
	sub	r3, r3, #1
	str	r3, [fp, #-72]
.L21:
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bgt	.L24
.L23:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
	b	.L17
.L20:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L18:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	bge	.L25
.L17:
	ldr	r3, [fp, #-96]
	ldr	r2, [fp, #-76]
	cmp	r2, r3
	blt	.L26
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-80]
	sub	r3, r2, r3
	str	r3, [fp, #-68]
	ldr	r1, [fp, #-68]
	ldr	r0, .L30+8
	bl	printf
	mov	sp, r5
	mov	sp, r8
.L2:
	ldr	r3, [fp, #-92]
	sub	r2, r3, #1
	str	r2, [fp, #-92]
	cmp	r3, #0
	bne	.L27
	mov	r3, #0
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L31:
	.align	2
.L30:
	.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
