	.file	"270080.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"r"
.LC1:
	.string	"sales_data"
.LC3:
	.string	"%d"
.LC4:
	.string	"\n"
.LC5:
	.string	"w"
.LC6:
	.string	"sales_analysis"
.LC7:
	.string	"\t\t\tSALES ANALYSIS\n"
.LC8:
	.string	"\tQ1\tQ2\tQ3\tQ4\tTOTAL\tAVERAGE\n"
	.align 8
.LC9:
	.string	"========================================================\n"
.LC10:
	.string	"ROW %d"
.LC11:
	.string	"\t%d"
.LC12:
	.string	"\t%4d\t%8.3f\n"
	.align 8
.LC13:
	.string	"========================================================\nSUM"
.LC14:
	.string	"\nAVERAGE"
.LC15:
	.string	"\t%.1f"
	.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, 264
	.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 -184[rbp], rax
	mov	DWORD PTR -172[rbp], 5
	mov	DWORD PTR -176[rbp], 4
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	sub	rax, 1
	mov	QWORD PTR -152[rbp], rax
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	mov	rcx, rax
	mov	ebx, 0
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	lea	rbx, 0[0+rax*4]
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	sub	rax, 1
	mov	QWORD PTR -160[rbp], rax
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	mov	r8, rax
	mov	r9d, 0
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	mov	rsi, rax
	mov	edi, 0
	mov	rdx, r9
	imul	rdx, rsi
	mov	rax, rdi
	imul	rax, r8
	lea	rcx, [rdx+rax]
	mov	rax, r8
	mul	rsi
	add	rcx, rdx
	mov	rdx, rcx
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	mov	r12, rax
	mov	r13d, 0
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	mov	r10, rax
	mov	r11d, 0
	mov	rdx, r13
	imul	rdx, r10
	mov	rax, r11
	imul	rax, r12
	lea	rcx, [rdx+rax]
	mov	rax, r12
	mul	r10
	add	rcx, rdx
	mov	rdx, rcx
	mov	eax, DWORD PTR -176[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	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
.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 -144[rbp], rax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	sub	rax, 1
	mov	QWORD PTR -136[rbp], rax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	mov	r14, rax
	mov	r15d, 0
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	mov	QWORD PTR -208[rbp], rax
	mov	QWORD PTR -200[rbp], 0
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	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
.L5:
	cmp	rsp, rcx
	je	.L6
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L5
.L6:
	mov	rax, rdx
	and	eax, 4095
	sub	rsp, rax
	mov	rax, rdx
	and	eax, 4095
	test	rax, rax
	je	.L7
	mov	rax, rdx
	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 -128[rbp], rax
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	sub	rax, 1
	mov	QWORD PTR -120[rbp], rax
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	mov	QWORD PTR -224[rbp], rax
	mov	QWORD PTR -216[rbp], 0
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	mov	QWORD PTR -240[rbp], rax
	mov	QWORD PTR -232[rbp], 0
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	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	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L8:
	cmp	rsp, rdx
	je	.L9
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L8
.L9:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L10
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L10:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -112[rbp], rax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	sub	rax, 1
	mov	QWORD PTR -104[rbp], rax
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	mov	QWORD PTR -256[rbp], rax
	mov	QWORD PTR -248[rbp], 0
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	mov	QWORD PTR -272[rbp], rax
	mov	QWORD PTR -264[rbp], 0
	mov	eax, DWORD PTR -172[rbp]
	cdqe
	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	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L11:
	cmp	rsp, rdx
	je	.L12
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L11
.L12:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L13
	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 -96[rbp], rax
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	sub	rax, 1
	mov	QWORD PTR -88[rbp], rax
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	mov	QWORD PTR -288[rbp], rax
	mov	QWORD PTR -280[rbp], 0
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	mov	QWORD PTR -304[rbp], rax
	mov	QWORD PTR -296[rbp], 0
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	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	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L14:
	cmp	rsp, rdx
	je	.L15
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L14
.L15:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L16
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L16:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -80[rbp], rax
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	fopen@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	DWORD PTR -164[rbp], 0
	mov	rax, QWORD PTR -128[rbp]
	mov	edx, DWORD PTR -164[rbp]
	movsx	rdx, edx
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax+rdx*4], xmm0
	jmp	.L17
.L20:
	mov	DWORD PTR -168[rbp], 0
	jmp	.L18
.L19:
	mov	rdx, rbx
	shr	rdx, 2
	mov	eax, DWORD PTR -168[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	imul	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -144[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	edx, DWORD PTR -164[rbp]
	movsx	rdx, edx
	movss	xmm1, DWORD PTR [rax+rdx*4]
	mov	rcx, rbx
	shr	rcx, 2
	mov	rax, QWORD PTR -144[rbp]
	mov	edx, DWORD PTR -168[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -164[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	addss	xmm0, xmm1
	mov	rax, QWORD PTR -128[rbp]
	mov	edx, DWORD PTR -164[rbp]
	movsx	rdx, edx
	movss	DWORD PTR [rax+rdx*4], xmm0
	add	DWORD PTR -168[rbp], 1
.L18:
	mov	eax, DWORD PTR -168[rbp]
	cmp	eax, DWORD PTR -176[rbp]
	jl	.L19
	mov	rax, QWORD PTR -128[rbp]
	mov	edx, DWORD PTR -164[rbp]
	movsx	rdx, edx
	movss	xmm0, DWORD PTR [rax+rdx*4]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -176[rbp]
	divss	xmm0, xmm1
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, DWORD PTR -164[rbp]
	movsx	rdx, edx
	movss	DWORD PTR [rax+rdx*4], xmm0
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -164[rbp], 1
.L17:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L20
	mov	DWORD PTR -168[rbp], 0
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, DWORD PTR -168[rbp]
	movsx	rdx, edx
	pxor	xmm0, xmm0
	movss	DWORD PTR [rax+rdx*4], xmm0
	jmp	.L21
.L24:
	mov	DWORD PTR -164[rbp], 0
	jmp	.L22
.L23:
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, DWORD PTR -168[rbp]
	movsx	rdx, edx
	movss	xmm1, DWORD PTR [rax+rdx*4]
	mov	rcx, rbx
	shr	rcx, 2
	mov	rax, QWORD PTR -144[rbp]
	mov	edx, DWORD PTR -168[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -164[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	addss	xmm0, xmm1
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, DWORD PTR -168[rbp]
	movsx	rdx, edx
	movss	DWORD PTR [rax+rdx*4], xmm0
	add	DWORD PTR -164[rbp], 1
.L22:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L23
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, DWORD PTR -168[rbp]
	movsx	rdx, edx
	movss	xmm0, DWORD PTR [rax+rdx*4]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, DWORD PTR -172[rbp]
	divss	xmm0, xmm1
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -168[rbp]
	movsx	rdx, edx
	movss	DWORD PTR [rax+rdx*4], xmm0
	mov	rax, QWORD PTR -72[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	add	DWORD PTR -168[rbp], 1
.L21:
	mov	eax, DWORD PTR -168[rbp]
	cmp	eax, DWORD PTR -176[rbp]
	jl	.L24
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC5[rip]
	lea	rdi, .LC6[rip]
	call	fopen@PLT
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, rax
	mov	edx, 18
	mov	esi, 1
	lea	rdi, .LC7[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, rax
	mov	edx, 57
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	mov	DWORD PTR -164[rbp], 0
	jmp	.L25
.L28:
	mov	edx, DWORD PTR -164[rbp]
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -168[rbp], 0
	jmp	.L26
.L27:
	mov	rcx, rbx
	shr	rcx, 2
	mov	rax, QWORD PTR -144[rbp]
	mov	edx, DWORD PTR -168[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -164[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -168[rbp], 1
.L26:
	mov	eax, DWORD PTR -168[rbp]
	cmp	eax, DWORD PTR -176[rbp]
	jl	.L27
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, DWORD PTR -164[rbp]
	movsx	rdx, edx
	movss	xmm0, DWORD PTR [rax+rdx*4]
	cvtss2sd	xmm0, xmm0
	mov	rax, QWORD PTR -128[rbp]
	mov	edx, DWORD PTR -164[rbp]
	movsx	rdx, edx
	movss	xmm1, DWORD PTR [rax+rdx*4]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm1
	movq	rdx, xmm2
	mov	rax, QWORD PTR -64[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 2
	call	fprintf@PLT
	add	DWORD PTR -164[rbp], 1
.L25:
	mov	eax, DWORD PTR -164[rbp]
	cmp	eax, DWORD PTR -172[rbp]
	jl	.L28
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, rax
	mov	edx, 60
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
	mov	DWORD PTR -168[rbp], 0
	jmp	.L29
.L30:
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, DWORD PTR -168[rbp]
	movsx	rdx, edx
	movss	xmm0, DWORD PTR [rax+rdx*4]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movq	rdx, xmm3
	mov	rax, QWORD PTR -64[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	add	DWORD PTR -168[rbp], 1
.L29:
	mov	eax, DWORD PTR -168[rbp]
	cmp	eax, DWORD PTR -176[rbp]
	jl	.L30
	mov	rax, QWORD PTR -64[rbp]
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 1
	lea	rdi, .LC14[rip]
	call	fwrite@PLT
	mov	DWORD PTR -168[rbp], 0
	jmp	.L31
.L32:
	mov	rax, QWORD PTR -80[rbp]
	mov	edx, DWORD PTR -168[rbp]
	movsx	rdx, edx
	movss	xmm0, DWORD PTR [rax+rdx*4]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movq	rdx, xmm4
	mov	rax, QWORD PTR -64[rbp]
	movq	xmm0, rdx
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 1
	call	fprintf@PLT
	add	DWORD PTR -168[rbp], 1
.L31:
	mov	eax, DWORD PTR -168[rbp]
	cmp	eax, DWORD PTR -176[rbp]
	jl	.L32
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
	mov	rsp, QWORD PTR -184[rbp]
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	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	"270080.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r\000"
	.align	2
.LC1:
	.ascii	"sales_data\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.global	__aeabi_i2f
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.align	2
.LC3:
	.ascii	"\012\000"
	.align	2
.LC4:
	.ascii	"w\000"
	.align	2
.LC5:
	.ascii	"sales_analysis\000"
	.align	2
.LC6:
	.ascii	"\011\011\011SALES ANALYSIS\012\000"
	.align	2
.LC7:
	.ascii	"\011Q1\011Q2\011Q3\011Q4\011TOTAL\011AVERAGE\012\000"
	.align	2
.LC8:
	.ascii	"==================================================="
	.ascii	"=====\012\000"
	.align	2
.LC9:
	.ascii	"ROW %d\000"
	.align	2
.LC10:
	.ascii	"\011%d\000"
	.global	__aeabi_f2d
	.align	2
.LC11:
	.ascii	"\011%4d\011%8.3f\012\000"
	.align	2
.LC12:
	.ascii	"==================================================="
	.ascii	"=====\012SUM\000"
	.align	2
.LC13:
	.ascii	"\012AVERAGE\000"
	.align	2
.LC14:
	.ascii	"\011%.1f\000"
	.align	2
.LC15:
	.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, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #80
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r3, sp
	mov	r7, r3
	mov	r3, #5
	str	r3, [fp, #-80]
	mov	r3, #4
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-84]
	sub	r3, r3, #1
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-84]
	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
	ldr	r3, [fp, #-84]
	lsl	r6, r3, #2
	ldr	r3, [fp, #-80]
	sub	r3, r3, #1
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-84]
	mov	r4, r3
	mov	r5, #0
	ldr	r3, [fp, #-80]
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	ip, r2, r3
	umull	r2, r3, r4, r0
	add	r1, ip, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	ldr	r3, [fp, #-84]
	mov	r4, r3
	mov	r5, #0
	ldr	r3, [fp, #-80]
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	ip, r2, r3
	umull	r2, r3, r4, r0
	add	r1, ip, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	ldr	r3, [fp, #-84]
	ldr	r2, [fp, #-80]
	mul	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-80]
	sub	r3, r3, #1
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-80]
	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
	ldr	r3, [fp, #-80]
	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
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-84]
	sub	r3, r3, #1
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-84]
	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
	ldr	r3, [fp, #-84]
	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
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-80]
	sub	r3, r3, #1
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-80]
	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
	ldr	r3, [fp, #-80]
	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
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-84]
	sub	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-84]
	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
	ldr	r3, [fp, #-84]
	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
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-36]
	ldr	r1, .L20+4
	ldr	r0, .L20+8
	bl	fopen
	str	r0, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-72]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]	@ float
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L3
.L4:
	lsr	r3, r6, #2
	ldr	r2, [fp, #-72]
	mul	r2, r3, r2
	ldr	r3, [fp, #-76]
	add	r3, r2, r3
	lsl	r3, r3, #2
	ldr	r2, [fp, #-68]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L20+12
	ldr	r0, [fp, #-32]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-72]
	ldr	r4, [r3, r2, lsl #2]	@ float
	lsr	r2, r6, #2
	ldr	r3, [fp, #-68]
	ldr	r1, [fp, #-72]
	mul	r1, r2, r1
	ldr	r2, [fp, #-76]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-72]
	str	r1, [r3, r2, lsl #2]	@ float
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L3:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-84]
	cmp	r2, r3
	blt	.L4
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-72]
	ldr	r4, [r3, r2, lsl #2]	@ float
	ldr	r0, [fp, #-84]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-72]
	str	r1, [r3, r2, lsl #2]	@ float
	ldr	r1, .L20+16
	ldr	r0, [fp, #-32]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L2:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L5
	mov	r3, #0
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-76]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]	@ float
	b	.L6
.L9:
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L7
.L8:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-76]
	ldr	r4, [r3, r2, lsl #2]	@ float
	lsr	r2, r6, #2
	ldr	r3, [fp, #-68]
	ldr	r1, [fp, #-72]
	mul	r1, r2, r1
	ldr	r2, [fp, #-76]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-76]
	str	r1, [r3, r2, lsl #2]	@ float
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L7:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-76]
	ldr	r4, [r3, r2, lsl #2]	@ float
	ldr	r0, [fp, #-80]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r1, r3
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-76]
	str	r1, [r3, r2, lsl #2]	@ float
	ldr	r1, .L20+16
	ldr	r0, [fp, #-32]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L6:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-84]
	cmp	r2, r3
	blt	.L9
	ldr	r0, [fp, #-32]
	bl	fclose
	ldr	r1, .L20+20
	ldr	r0, .L20+24
	bl	fopen
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	mov	r2, #18
	mov	r1, #1
	ldr	r0, .L20+28
	bl	fwrite
	ldr	r3, [fp, #-28]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L20+32
	bl	fwrite
	ldr	r3, [fp, #-28]
	mov	r2, #57
	mov	r1, #1
	ldr	r0, .L20+36
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L10
.L13:
	ldr	r2, [fp, #-72]
	ldr	r1, .L20+40
	ldr	r0, [fp, #-28]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L11
.L12:
	lsr	r2, r6, #2
	ldr	r3, [fp, #-68]
	ldr	r1, [fp, #-72]
	mul	r1, r2, r1
	ldr	r2, [fp, #-76]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	mov	r2, r3
	ldr	r1, .L20+44
	ldr	r0, [fp, #-28]
	bl	fprintf
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L11:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-84]
	cmp	r2, r3
	blt	.L12
	ldr	r3, [fp, #-60]
	ldr	r2, [fp, #-72]
	ldr	r3, [r3, r2, lsl #2]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-72]
	ldr	r3, [r3, r2, lsl #2]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	ldr	r1, .L20+48
	ldr	r0, [fp, #-28]
	bl	fprintf
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L10:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L13
	ldr	r3, [fp, #-28]
	mov	r2, #60
	mov	r1, #1
	ldr	r0, .L20+52
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L14
.L15:
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-76]
	ldr	r3, [r3, r2, lsl #2]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L20+44
	ldr	r0, [fp, #-28]
	bl	fprintf
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L14:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-84]
	cmp	r2, r3
	blt	.L15
	ldr	r3, [fp, #-28]
	mov	r2, #8
	mov	r1, #1
	ldr	r0, .L20+56
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L16
.L17:
	ldr	r3, [fp, #-36]
	ldr	r2, [fp, #-76]
	ldr	r3, [r3, r2, lsl #2]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L20+60
	ldr	r0, [fp, #-28]
	bl	fprintf
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L16:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-84]
	cmp	r2, r3
	blt	.L17
	ldr	r1, [fp, #-28]
	mov	r0, #10
	bl	fputc
	ldr	r0, [fp, #-28]
	bl	fclose
	mov	r3, #0
	mov	sp, r7
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC15
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
