	.file	"270903.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: %s <in_par0> <in_par1> <in_par2> <out_bsa> <szn>\n"
.LC1:
	.string	"rb"
.LC2:
	.string	"can't open file %s\n"
.LC3:
	.string	"wb"
.LC4:
	.string	"can't open file %s for write\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
	sub	rsp, 112
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -100[rbp], 6
	je	.L2
	mov	rax, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	DWORD PTR -84[rbp], 0
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	edx, DWORD PTR -84[rbp]
	movsx	rdx, edx
	mov	QWORD PTR -32[rbp+rdx*8], rax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	rax, QWORD PTR -32[rbp+rax*8]
	test	rax, rax
	jne	.L4
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -112[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	add	DWORD PTR -84[rbp], 1
.L3:
	cmp	DWORD PTR -84[rbp], 2
	jle	.L5
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -64[rbp], rax
	cmp	QWORD PTR -64[rbp], 0
	jne	.L6
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 32
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 40
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	mov	eax, 0
	call	atof@PLT
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -72[rbp], xmm0
	mov	DWORD PTR -84[rbp], 0
	jmp	.L7
.L14:
	mov	DWORD PTR -80[rbp], 0
	jmp	.L8
.L13:
	mov	DWORD PTR -76[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	mov	rax, QWORD PTR -32[rbp+rax*8]
	lea	rcx, -38[rbp]
	mov	edx, DWORD PTR -76[rbp]
	movsx	rdx, edx
	add	rdx, rdx
	lea	rdi, [rcx+rdx]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 2
	call	fread@PLT
	add	DWORD PTR -76[rbp], 1
.L9:
	cmp	DWORD PTR -76[rbp], 2
	jle	.L10
	movzx	eax, WORD PTR -38[rbp]
	cmp	ax, 32767
	je	.L11
	movzx	eax, WORD PTR -38[rbp]
	movzx	eax, ax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -52[rbp], xmm0
	movzx	eax, WORD PTR -36[rbp]
	movzx	eax, ax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -48[rbp], xmm0
	movzx	eax, WORD PTR -34[rbp]
	movzx	eax, ax
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -44[rbp], xmm0
	movss	xmm0, DWORD PTR -72[rbp]
	mov	rax, QWORD PTR -52[rbp]
	movss	xmm1, DWORD PTR -44[rbp]
	movaps	xmm2, xmm0
	movq	xmm0, rax
	call	cal_bsa
	movd	eax, xmm0
	mov	DWORD PTR -68[rbp], eax
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -68[rbp]
	movsd	xmm2, QWORD PTR .LC5[rip]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC6[rip]
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	WORD PTR -86[rbp], ax
	jmp	.L12
.L11:
	mov	WORD PTR -86[rbp], 32767
.L12:
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -86[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 2
	mov	rdi, rax
	call	fwrite@PLT
	add	DWORD PTR -80[rbp], 1
.L8:
	cmp	DWORD PTR -80[rbp], 43199
	jle	.L13
	add	DWORD PTR -84[rbp], 1
.L7:
	cmp	DWORD PTR -84[rbp], 21599
	jle	.L14
	mov	DWORD PTR -84[rbp], 0
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	rax, QWORD PTR -32[rbp+rax*8]
	mov	rdi, rax
	call	fclose@PLT
	add	DWORD PTR -84[rbp], 1
.L15:
	cmp	DWORD PTR -84[rbp], 2
	jle	.L16
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	fclose@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	cal_bsa
	.type	cal_bsa, @function
cal_bsa:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	movq	rax, xmm0
	movaps	xmm0, xmm1
	movss	DWORD PTR -100[rbp], xmm2
	mov	QWORD PTR -96[rbp], rax
	movss	DWORD PTR -88[rbp], xmm0
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movss	xmm0, DWORD PTR .LC7[rip]
	movss	DWORD PTR -48[rbp], xmm0
	movss	xmm0, DWORD PTR .LC8[rip]
	movss	DWORD PTR -44[rbp], xmm0
	movss	xmm0, DWORD PTR .LC9[rip]
	movss	DWORD PTR -40[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -36[rbp], xmm0
	movss	xmm0, DWORD PTR .LC11[rip]
	movss	DWORD PTR -32[rbp], xmm0
	movss	xmm0, DWORD PTR .LC12[rip]
	movss	DWORD PTR -28[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -24[rbp], xmm0
	movss	xmm0, DWORD PTR .LC13[rip]
	movss	DWORD PTR -20[rbp], xmm0
	movss	xmm0, DWORD PTR .LC14[rip]
	movss	DWORD PTR -16[rbp], xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -100[rbp]
	movsd	xmm0, QWORD PTR .LC15[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -100[rbp], xmm0
	movss	xmm0, DWORD PTR -100[rbp]
	mulss	xmm0, xmm0
	movss	DWORD PTR -72[rbp], xmm0
	movss	xmm0, DWORD PTR -72[rbp]
	mulss	xmm0, DWORD PTR -100[rbp]
	movss	DWORD PTR -68[rbp], xmm0
	mov	DWORD PTR -76[rbp], 0
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	movss	xmm1, DWORD PTR -48[rbp+rax*4]
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	add	rax, 3
	movss	xmm0, DWORD PTR -48[rbp+rax*4]
	mulss	xmm0, DWORD PTR -72[rbp]
	addss	xmm1, xmm0
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	add	rax, 6
	movss	xmm0, DWORD PTR -48[rbp+rax*4]
	mulss	xmm0, DWORD PTR -68[rbp]
	addss	xmm0, xmm1
	mov	eax, DWORD PTR -76[rbp]
	cdqe
	movss	DWORD PTR -60[rbp+rax*4], xmm0
	add	DWORD PTR -76[rbp], 1
.L19:
	cmp	DWORD PTR -76[rbp], 2
	jle	.L20
	movss	xmm1, DWORD PTR -60[rbp]
	movss	xmm0, DWORD PTR -96[rbp]
	mulss	xmm1, xmm0
	movss	xmm2, DWORD PTR -56[rbp]
	movss	xmm0, DWORD PTR -92[rbp]
	mulss	xmm0, xmm2
	addss	xmm1, xmm0
	movss	xmm2, DWORD PTR -52[rbp]
	movss	xmm0, DWORD PTR -88[rbp]
	mulss	xmm0, xmm2
	addss	xmm0, xmm1
	movss	DWORD PTR -64[rbp], xmm0
	movss	xmm0, DWORD PTR -64[rbp]
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	cal_bsa, .-cal_bsa
	.section	.rodata
	.align 8
.LC5:
	.long	-755914244
	.long	1062232653
	.align 8
.LC6:
	.long	0
	.long	1071644672
	.align 4
.LC7:
	.long	1065353216
	.align 4
.LC8:
	.long	-1141362863
	.align 4
.LC9:
	.long	-1079740442
	.align 4
.LC11:
	.long	-1114545758
	.align 4
.LC12:
	.long	-1104523720
	.align 4
.LC13:
	.long	1050508333
	.align 4
.LC14:
	.long	1026252907
	.align 8
.LC15:
	.long	-1525816720
	.long	1066524485
	.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	"270903.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Usage: %s <in_par0> <in_par1> <in_par2> <out_bsa> <"
	.ascii	"szn>\012\000"
	.align	2
.LC2:
	.ascii	"rb\000"
	.align	2
.LC3:
	.ascii	"can't open file %s\012\000"
	.align	2
.LC4:
	.ascii	"wb\000"
	.align	2
.LC5:
	.ascii	"can't open file %s for write\012\000"
	.global	__aeabi_i2f
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.global	__aeabi_d2f
	.global	__aeabi_f2d
	.global	__aeabi_ddiv
	.global	__aeabi_dadd
	.global	__aeabi_d2iz
	.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 = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-72]
	cmp	r3, #6
	beq	.L2
	ldr	r3, [fp, #-76]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L18+4
	bl	printf
	mov	r0, #1
	bl	exit
.L2:
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L3
.L5:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L18+8
	mov	r0, r3
	bl	fopen
	mov	r2, r0
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-16]
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-16]
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L18+12
	bl	printf
	mov	r0, #1
	bl	exit
.L4:
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L3:
	ldr	r3, [fp, #-64]
	cmp	r3, #2
	ble	.L5
	ldr	r3, [fp, #-76]
	add	r3, r3, #16
	ldr	r3, [r3]
	ldr	r1, .L18+16
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-76]
	add	r3, r3, #16
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L18+20
	bl	printf
	mov	r0, #1
	bl	exit
.L6:
	ldr	r3, [fp, #-76]
	add	r3, r3, #20
	ldr	r3, [r3]
	mov	r0, r3
	bl	atof
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [fp, #-48]	@ float
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L7
.L14:
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L8
.L13:
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L9
.L10:
	sub	r2, fp, #28
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #1
	add	r0, r2, r3
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-16]
	mov	r2, #1
	mov	r1, #2
	bl	fread
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L9:
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	ble	.L10
	ldrh	r3, [fp, #-28]
	ldr	r2, .L18+24
	cmp	r3, r2
	beq	.L11
	ldrh	r3, [fp, #-28]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L18+28
	ldr	r3, .L18+32
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-40]	@ float
	ldrh	r3, [fp, #-26]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L18+28
	ldr	r3, .L18+32
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-36]	@ float
	ldrh	r3, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L18+28
	ldr	r3, .L18+32
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-32]	@ float
	ldr	r3, [fp, #-48]	@ float
	sub	r2, fp, #40
	ldm	r2, {r0, r1, r2}
	bl	cal_bsa
	str	r0, [fp, #-44]	@ float
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L18+28
	ldr	r3, .L18+32
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L18+36
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-66]	@ movhi
	b	.L12
.L11:
	mvn	r3, #32768
	strh	r3, [fp, #-66]	@ movhi
.L12:
	sub	r0, fp, #66
	ldr	r3, [fp, #-52]
	mov	r2, #1
	mov	r1, #2
	bl	fwrite
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L8:
	ldr	r3, [fp, #-60]
	ldr	r2, .L18+40
	cmp	r3, r2
	ble	.L13
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L7:
	ldr	r3, [fp, #-64]
	ldr	r2, .L18+44
	cmp	r3, r2
	ble	.L14
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L15
.L16:
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-16]
	mov	r0, r3
	bl	fclose
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L15:
	ldr	r3, [fp, #-64]
	cmp	r3, #2
	ble	.L16
	ldr	r0, [fp, #-52]
	bl	fclose
	nop
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC6
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	32767
	.word	-755914244
	.word	1062232653
	.word	1071644672
	.word	43199
	.word	21599
	.size	main, .-main
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.section	.rodata
	.align	2
.LC0:
	.word	1065353216
	.word	3153604433
	.word	3215226854
	.word	0
	.word	3180421538
	.word	3190443576
	.word	0
	.word	1050508333
	.word	1026252907
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cal_bsa
	.syntax unified
	.arm
	.fpu softvfp
	.type	cal_bsa, %function
cal_bsa:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #92
	sub	ip, fp, #96
	stm	ip, {r0, r1, r2}
	str	r3, [fp, #-100]	@ float
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L25+4
	sub	ip, fp, #52
	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}
	ldr	r3, [lr]
	str	r3, [ip]
	ldr	r0, [fp, #-100]	@ float
	bl	__aeabi_f2d
	ldr	r2, .L25+8
	ldr	r3, .L25+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-100]	@ float
	ldr	r1, [fp, #-100]	@ float
	ldr	r0, [fp, #-100]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-76]	@ float
	ldr	r1, [fp, #-100]	@ float
	ldr	r0, [fp, #-76]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-72]	@ float
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L21
.L22:
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r4, [r3, #-40]	@ float
	ldr	r3, [fp, #-80]
	add	r3, r3, #3
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-40]	@ float
	ldr	r1, [fp, #-76]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-80]
	add	r3, r3, #6
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-40]	@ float
	ldr	r1, [fp, #-72]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-52]	@ float
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L21:
	ldr	r3, [fp, #-80]
	cmp	r3, #2
	ble	.L22
	ldr	r3, [fp, #-64]	@ float
	ldr	r2, [fp, #-96]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-60]	@ float
	ldr	r2, [fp, #-92]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r4, r3
	ldr	r3, [fp, #-56]	@ float
	ldr	r2, [fp, #-88]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-68]	@ float
	ldr	r3, [fp, #-68]	@ float
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC7
	.word	.LC0
	.word	-1525816720
	.word	1066524485
	.size	cal_bsa, .-cal_bsa
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
