	.file	"extr_remez.c_CalcError.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	CalcError, @function
CalcError:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	DWORD PTR 4[rsp], edi
	mov	r14, QWORD PTR 80[rsp]
	test	r8d, r8d
	jle	.L1
	lea	eax, -1[r8]
	mov	rbp, rsi
	mov	r12, rdx
	mov	r13, rcx
	mov	QWORD PTR 8[rsp], rax
	mov	rbx, r9
	xor	r15d, r15d
	.p2align 4,,10
	.p2align 3
.L3:
	movsd	xmm0, QWORD PTR [rbx+r15*8]
	mov	edi, DWORD PTR 4[rsp]
	mov	rdx, r12
	mov	rcx, r13
	mov	rsi, rbp
	call	ComputeA@PLT
	movsd	xmm1, QWORD PTR [r14+r15*8]
	mov	rax, QWORD PTR 88[rsp]
	mov	rdx, r15
	subsd	xmm1, xmm0
	movapd	xmm0, xmm1
	mulsd	xmm0, QWORD PTR [rax+r15*8]
	mov	rax, QWORD PTR 96[rsp]
	movsd	QWORD PTR [rax+r15*8], xmm0
	add	r15, 1
	cmp	rdx, QWORD PTR 8[rsp]
	jne	.L3
.L1:
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	CalcError, .-CalcError
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_remez.c_CalcError.c"
	.text
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	CalcError, %function
CalcError:
	@ args = 20, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #28
	ldr	ip, [sp, #64]
	str	r2, [sp, #12]
	cmp	ip, #0
	str	r3, [sp, #16]
	ble	.L1
	mov	r10, r0
	mov	fp, r1
	add	r4, sp, #68
	ldm	r4, {r4, r6, r7}
	ldr	r5, [sp, #80]
	add	r3, r4, ip, lsl #3
	str	r3, [sp, #20]
.L3:
	ldr	r3, [sp, #16]
	mov	r2, r10
	str	r3, [sp, #4]
	ldr	r3, [sp, #12]
	str	r3, [sp]
	ldmia	r4!, {r0-r1}
	mov	r3, fp
	bl	ComputeA
	ldmia	r7!, {r8-r9}
	mov	r2, r0
	mov	r3, r1
	ldmia	r6!, {r0-r1}
	bl	__aeabi_dsub
	mov	r3, r9
	mov	r2, r8
	bl	__aeabi_dmul
	ldr	r3, [sp, #20]
	stm	r5!, {r0-r1}
	cmp	r4, r3
	bne	.L3
.L1:
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	CalcError, .-CalcError
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
