	.file	"270908.c"
	.intel_syntax noprefix
	.text
	.globl	esa_corr
	.type	esa_corr, @function
esa_corr:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 168
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	QWORD PTR -152[rbp], rdi
	mov	QWORD PTR -160[rbp], rsi
	mov	QWORD PTR -168[rbp], rdx
	mov	QWORD PTR -176[rbp], rcx
	mov	QWORD PTR -184[rbp], r8
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -112[rbp], xmm0
	mov	QWORD PTR -120[rbp], 0
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -120[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -160[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -112[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -112[rbp], xmm0
	add	QWORD PTR -120[rbp], 1
.L2:
	mov	rax, QWORD PTR -120[rbp]
	cmp	rax, QWORD PTR -168[rbp]
	jb	.L3
	mov	rax, QWORD PTR -168[rbp]
	test	rax, rax
	js	.L4
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L5
.L4:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L5:
	movsd	xmm1, QWORD PTR -112[rbp]
	divsd	xmm1, xmm0
	movsd	QWORD PTR -112[rbp], xmm1
	mov	rax, QWORD PTR -168[rbp]
	mov	rdx, rsp
	mov	rbx, rdx
	mov	rdx, rax
	sub	rdx, 1
	mov	QWORD PTR -64[rbp], rdx
	mov	r12, rax
	mov	r13d, 0
	mov	r10, rax
	mov	r11d, 0
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L6:
	cmp	rsp, rdx
	je	.L7
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L6
.L7:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L8
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L8:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -56[rbp], rax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -128[rbp], xmm0
	mov	QWORD PTR -136[rbp], 0
	jmp	.L9
.L10:
	mov	rax, QWORD PTR -136[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -160[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	subsd	xmm0, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	movsd	QWORD PTR [rax+rdx*8], xmm0
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -136[rbp]
	movsd	xmm0, QWORD PTR [rax+rdx*8]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -128[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -128[rbp], xmm0
	add	QWORD PTR -136[rbp], 1
.L9:
	mov	rax, QWORD PTR -136[rbp]
	cmp	rax, QWORD PTR -168[rbp]
	jb	.L10
	mov	rax, QWORD PTR -128[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -128[rbp], rax
	mov	QWORD PTR -144[rbp], 0
	jmp	.L11
.L18:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -104[rbp], xmm0
	mov	QWORD PTR -96[rbp], 0
	jmp	.L12
.L13:
	mov	rax, QWORD PTR -96[rbp]
	imul	rax, QWORD PTR -176[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	xmm1, QWORD PTR -104[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -104[rbp], xmm0
	add	QWORD PTR -96[rbp], 1
.L12:
	mov	rax, QWORD PTR -96[rbp]
	cmp	rax, QWORD PTR -168[rbp]
	jb	.L13
	mov	rax, QWORD PTR -168[rbp]
	test	rax, rax
	js	.L14
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L15
.L14:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L15:
	movsd	xmm1, QWORD PTR -104[rbp]
	divsd	xmm1, xmm0
	movsd	QWORD PTR -104[rbp], xmm1
	pxor	xmm0, xmm0
	movsd	QWORD PTR -88[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -80[rbp], xmm0
	mov	QWORD PTR -72[rbp], 0
	jmp	.L16
.L17:
	mov	rax, QWORD PTR -72[rbp]
	imul	rax, QWORD PTR -176[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR -144[rbp]
	add	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	subsd	xmm0, QWORD PTR -104[rbp]
	movsd	QWORD PTR -48[rbp], xmm0
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR [rax+rdx*8]
	mulsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR -88[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -88[rbp], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, xmm0
	movsd	xmm1, QWORD PTR -80[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -80[rbp], xmm0
	add	QWORD PTR -72[rbp], 1
.L16:
	mov	rax, QWORD PTR -72[rbp]
	cmp	rax, QWORD PTR -168[rbp]
	jb	.L17
	movsd	xmm0, QWORD PTR -88[rbp]
	divsd	xmm0, QWORD PTR -128[rbp]
	movsd	QWORD PTR -192[rbp], xmm0
	mov	rax, QWORD PTR -80[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	movapd	xmm1, xmm0
	mov	rax, QWORD PTR -144[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -184[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -192[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	add	QWORD PTR -144[rbp], 1
.L11:
	mov	rax, QWORD PTR -144[rbp]
	cmp	rax, QWORD PTR -176[rbp]
	jb	.L18
	mov	rsp, rbx
	nop
	mov	rax, QWORD PTR -40[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	lea	rsp, -24[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	esa_corr, .-esa_corr
	.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	"270908.c"
	.text
	.global	__aeabi_dadd
	.global	__aeabi_ui2d
	.global	__aeabi_ddiv
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	esa_corr
	.syntax unified
	.arm
	.fpu softvfp
	.type	esa_corr, %function
esa_corr:
	@ args = 4, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #112
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	str	r2, [fp, #-120]
	str	r3, [fp, #-124]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-128]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L2
.L3:
	ldr	r3, [fp, #-96]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-116]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L2:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	bcc	.L3
	ldr	r0, [fp, #-120]
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	ip, [fp, #-120]
	mov	r3, sp
	mov	r5, r3
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-84]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	lsl	r3, ip, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-80]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L4
.L5:
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-116]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-80]
	ldr	r1, [fp, #-100]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L4:
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	bcc	.L5
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	sqrt
	str	r0, [fp, #-76]
	str	r1, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L6
.L11:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L7
.L8:
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-124]
	mul	r2, r3, r2
	ldr	r3, [fp, #-104]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L7:
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	bcc	.L8
	ldr	r0, [fp, #-120]
	bl	__aeabi_ui2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-88]
	b	.L9
.L10:
	ldr	r3, [fp, #-88]
	ldr	r2, [fp, #-124]
	mul	r2, r3, r2
	ldr	r3, [fp, #-104]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L9:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-120]
	cmp	r2, r3
	bcc	.L10
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-104]
	lsl	r1, r1, #3
	ldr	r0, [fp, #-128]
	add	r4, r0, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L6:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-124]
	cmp	r2, r3
	bcc	.L11
	mov	sp, r5
	nop
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.size	esa_corr, .-esa_corr
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
