	.file	"273775.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
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	QWORD PTR -32[rbp], 196608
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], 5
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 4[rax], 8
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 8[rax], 4
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 12[rax], 6
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 16[rax], 6
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 20[rax], 3
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 24[rax], 3
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 28[rax], 9
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR 32[rax], 6
	mov	QWORD PTR -24[rbp], 196656
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], 20
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 4
	mov	DWORD PTR [rax], 95
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 8
	mov	DWORD PTR [rax], 35
	mov	QWORD PTR -16[rbp], 196672
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 50
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 4
	mov	DWORD PTR [rax], 40
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	DWORD PTR [rax], 60
	mov	QWORD PTR -8[rbp], 196704
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], 0
	mov	DWORD PTR -68[rbp], 0
	jmp	.L2
.L17:
	mov	DWORD PTR -64[rbp], 0
	jmp	.L3
.L16:
	mov	DWORD PTR -44[rbp], 2147483647
	mov	DWORD PTR -60[rbp], 0
	jmp	.L4
.L8:
	mov	DWORD PTR -56[rbp], 0
	jmp	.L5
.L7:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -56[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -60[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rsi
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -44[rbp], eax
	jle	.L6
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -56[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -60[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rsi
	mov	eax, DWORD PTR [rdx+rax*4]
	mov	DWORD PTR -44[rbp], eax
.L6:
	add	DWORD PTR -56[rbp], 1
.L5:
	cmp	DWORD PTR -56[rbp], 2
	jle	.L7
	add	DWORD PTR -60[rbp], 1
.L4:
	cmp	DWORD PTR -60[rbp], 2
	jle	.L8
	mov	DWORD PTR -40[rbp], 0
	mov	DWORD PTR -60[rbp], 0
	jmp	.L9
.L13:
	mov	DWORD PTR -56[rbp], 0
	jmp	.L10
.L12:
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -56[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -60[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rsi
	mov	eax, DWORD PTR [rdx+rax*4]
	cmp	DWORD PTR -44[rbp], eax
	jne	.L11
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -40[rbp], eax
	jg	.L11
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -60[rbp]
	mov	DWORD PTR -48[rbp], eax
.L11:
	add	DWORD PTR -56[rbp], 1
.L10:
	cmp	DWORD PTR -56[rbp], 2
	jle	.L12
	add	DWORD PTR -60[rbp], 1
.L9:
	cmp	DWORD PTR -60[rbp], 2
	jle	.L13
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jg	.L14
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -36[rbp], eax
	jmp	.L15
.L14:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -36[rbp], eax
.L15:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	sub	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR [rdx], eax
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR -48[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	mov	rdx, QWORD PTR -16[rbp]
	add	rdx, rcx
	sub	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -52[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -48[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rsi
	mov	eax, DWORD PTR [rdx+rax*4]
	or	eax, 2147483647
	mov	esi, eax
	mov	rdx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -52[rbp]
	movsx	rdi, eax
	mov	eax, DWORD PTR -48[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	add	rax, rdi
	mov	DWORD PTR [rdx+rax*4], esi
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, DWORD PTR -44[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	add	DWORD PTR -64[rbp], 1
.L3:
	cmp	DWORD PTR -64[rbp], 2
	jle	.L16
	add	DWORD PTR -68[rbp], 1
.L2:
	cmp	DWORD PTR -68[rbp], 2
	jle	.L17
	mov	eax, 0
	pop	rbp
	.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	"273775.c"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #68
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	mov	r3, #196608
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	mov	r2, #5
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	mov	r2, #8
	str	r2, [r3, #4]
	ldr	r3, [fp, #-20]
	mov	r2, #4
	str	r2, [r3, #8]
	ldr	r3, [fp, #-20]
	mov	r2, #6
	str	r2, [r3, #12]
	ldr	r3, [fp, #-20]
	mov	r2, #6
	str	r2, [r3, #16]
	ldr	r3, [fp, #-20]
	mov	r2, #3
	str	r2, [r3, #20]
	ldr	r3, [fp, #-20]
	mov	r2, #3
	str	r2, [r3, #24]
	ldr	r3, [fp, #-20]
	mov	r2, #9
	str	r2, [r3, #28]
	ldr	r3, [fp, #-20]
	mov	r2, #6
	str	r2, [r3, #32]
	ldr	r3, .L19
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r2, #20
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	mov	r2, #95
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #8
	mov	r2, #35
	str	r2, [r3]
	ldr	r3, .L19+4
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	mov	r2, #50
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	mov	r2, #40
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #8
	mov	r2, #60
	str	r2, [r3]
	ldr	r3, .L19+8
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L2
.L17:
	mov	r3, #0
	str	r3, [fp, #-52]
	b	.L3
.L16:
	mvn	r3, #-2147483648
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L4
.L8:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L5
.L7:
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-44]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	ble	.L6
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-44]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	str	r3, [fp, #-32]
.L6:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L5:
	ldr	r3, [fp, #-44]
	cmp	r3, #2
	ble	.L7
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L4:
	ldr	r3, [fp, #-48]
	cmp	r3, #2
	ble	.L8
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L9
.L13:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L10
.L12:
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-44]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bne	.L11
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bgt	.L11
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-36]
.L11:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L10:
	ldr	r3, [fp, #-44]
	cmp	r3, #2
	ble	.L12
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L9:
	ldr	r3, [fp, #-48]
	cmp	r3, #2
	ble	.L13
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L14
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	b	.L15
.L14:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-24]
.L15:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	sub	r2, r1, r2
	str	r2, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	sub	r2, r1, r2
	str	r2, [r3]
	ldr	r1, [fp, #-20]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, [fp, #-40]
	add	r3, r3, r2
	ldr	r3, [r1, r3, lsl #2]
	mvn	r2, r3, lsr #31
	mvn	r2, r2, lsl #31
	ldr	r0, [fp, #-20]
	ldr	r1, [fp, #-36]
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	ldr	r1, [fp, #-40]
	add	r3, r3, r1
	str	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r1, [fp, #-32]
	mul	r3, r1, r3
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-52]
.L3:
	ldr	r3, [fp, #-52]
	cmp	r3, #2
	ble	.L16
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L2:
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	ble	.L17
	mov	r3, #0
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L20:
	.align	2
.L19:
	.word	196656
	.word	196672
	.word	196704
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
