	.file	"312990.c"
	.intel_syntax noprefix
	.text
	.globl	cubic_spline_lut
	.bss
	.align 32
	.type	cubic_spline_lut, @object
	.size	cubic_spline_lut, 8192
cubic_spline_lut:
	.zero	8192
	.text
	.globl	cubic_spline_init
	.type	cubic_spline_init, @function
cubic_spline_init:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -40[rbp], 1024
	movss	xmm0, DWORD PTR .LC0[rip]
	movss	DWORD PTR -36[rbp], xmm0
	movss	xmm0, DWORD PTR .LC1[rip]
	movss	DWORD PTR -32[rbp], xmm0
	mov	DWORD PTR -48[rbp], 0
	jmp	.L2
.L31:
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -48[rbp]
	movss	xmm1, DWORD PTR -36[rbp]
	mulss	xmm0, xmm1
	movss	DWORD PTR -28[rbp], xmm0
	mov	eax, DWORD PTR -48[rbp]
	sal	eax, 2
	mov	DWORD PTR -24[rbp], eax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -32[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -28[rbp]
	movsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm2, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -28[rbp]
	mulsd	xmm2, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -28[rbp]
	mulsd	xmm2, xmm0
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -28[rbp]
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -28[rbp]
	mulsd	xmm0, xmm3
	addsd	xmm0, xmm2
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -28[rbp]
	movsd	xmm2, QWORD PTR .LC3[rip]
	mulsd	xmm2, xmm3
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	floor@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -20[rbp], xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -32[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -28[rbp]
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm2, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -28[rbp]
	mulsd	xmm2, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -28[rbp]
	mulsd	xmm0, xmm2
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -28[rbp]
	movsd	xmm2, QWORD PTR .LC5[rip]
	mulsd	xmm3, xmm2
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -28[rbp]
	mulsd	xmm3, xmm2
	movapd	xmm2, xmm0
	subsd	xmm2, xmm3
	movsd	xmm0, QWORD PTR .LC6[rip]
	addsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	floor@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -16[rbp], xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -32[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -28[rbp]
	movsd	xmm0, QWORD PTR .LC7[rip]
	mulsd	xmm2, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -28[rbp]
	mulsd	xmm2, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -28[rbp]
	mulsd	xmm2, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -28[rbp]
	movapd	xmm3, xmm0
	addsd	xmm3, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -28[rbp]
	mulsd	xmm0, xmm3
	addsd	xmm2, xmm0
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -28[rbp]
	movsd	xmm0, QWORD PTR .LC3[rip]
	mulsd	xmm0, xmm3
	addsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	floor@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -12[rbp], xmm0
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -32[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -28[rbp]
	movsd	xmm0, QWORD PTR .LC3[rip]
	mulsd	xmm2, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -28[rbp]
	mulsd	xmm2, xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -28[rbp]
	mulsd	xmm0, xmm2
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, DWORD PTR -28[rbp]
	movsd	xmm2, QWORD PTR .LC3[rip]
	mulsd	xmm3, xmm2
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -28[rbp]
	mulsd	xmm2, xmm3
	subsd	xmm0, xmm2
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	floor@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -8[rbp], xmm0
	movss	xmm0, DWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR .LC8[rip]
	xorps	xmm0, xmm1
	comiss	xmm0, DWORD PTR -20[rbp]
	jbe	.L40
	movss	xmm0, DWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR .LC8[rip]
	xorps	xmm0, xmm1
	cvttss2si	eax, xmm0
	jmp	.L5
.L40:
	movss	xmm0, DWORD PTR -20[rbp]
	comiss	xmm0, DWORD PTR -32[rbp]
	jbe	.L41
	movss	xmm0, DWORD PTR -32[rbp]
	cvttss2si	eax, xmm0
	jmp	.L5
.L41:
	movss	xmm0, DWORD PTR -20[rbp]
	cvttss2si	eax, xmm0
.L5:
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	lea	rcx, [rdx+rdx]
	lea	rdx, cubic_spline_lut[rip]
	mov	WORD PTR [rcx+rdx], ax
	movss	xmm0, DWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR .LC8[rip]
	xorps	xmm0, xmm1
	comiss	xmm0, DWORD PTR -16[rbp]
	jbe	.L42
	movss	xmm0, DWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR .LC8[rip]
	xorps	xmm0, xmm1
	cvttss2si	eax, xmm0
	jmp	.L11
.L42:
	movss	xmm0, DWORD PTR -16[rbp]
	comiss	xmm0, DWORD PTR -32[rbp]
	jbe	.L43
	movss	xmm0, DWORD PTR -32[rbp]
	cvttss2si	eax, xmm0
	jmp	.L11
.L43:
	movss	xmm0, DWORD PTR -16[rbp]
	cvttss2si	eax, xmm0
.L11:
	mov	edx, DWORD PTR -24[rbp]
	add	edx, 1
	movsx	rdx, edx
	lea	rcx, [rdx+rdx]
	lea	rdx, cubic_spline_lut[rip]
	mov	WORD PTR [rcx+rdx], ax
	movss	xmm0, DWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR .LC8[rip]
	xorps	xmm0, xmm1
	comiss	xmm0, DWORD PTR -12[rbp]
	jbe	.L44
	movss	xmm0, DWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR .LC8[rip]
	xorps	xmm0, xmm1
	cvttss2si	eax, xmm0
	jmp	.L17
.L44:
	movss	xmm0, DWORD PTR -12[rbp]
	comiss	xmm0, DWORD PTR -32[rbp]
	jbe	.L45
	movss	xmm0, DWORD PTR -32[rbp]
	cvttss2si	eax, xmm0
	jmp	.L17
.L45:
	movss	xmm0, DWORD PTR -12[rbp]
	cvttss2si	eax, xmm0
.L17:
	mov	edx, DWORD PTR -24[rbp]
	add	edx, 2
	movsx	rdx, edx
	lea	rcx, [rdx+rdx]
	lea	rdx, cubic_spline_lut[rip]
	mov	WORD PTR [rcx+rdx], ax
	movss	xmm0, DWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR .LC8[rip]
	xorps	xmm0, xmm1
	comiss	xmm0, DWORD PTR -8[rbp]
	jbe	.L46
	movss	xmm0, DWORD PTR -32[rbp]
	movss	xmm1, DWORD PTR .LC8[rip]
	xorps	xmm0, xmm1
	cvttss2si	eax, xmm0
	jmp	.L23
.L46:
	movss	xmm0, DWORD PTR -8[rbp]
	comiss	xmm0, DWORD PTR -32[rbp]
	jbe	.L47
	movss	xmm0, DWORD PTR -32[rbp]
	cvttss2si	eax, xmm0
	jmp	.L23
.L47:
	movss	xmm0, DWORD PTR -8[rbp]
	cvttss2si	eax, xmm0
.L23:
	mov	edx, DWORD PTR -24[rbp]
	add	edx, 3
	movsx	rdx, edx
	lea	rcx, [rdx+rdx]
	lea	rdx, cubic_spline_lut[rip]
	mov	WORD PTR [rcx+rdx], ax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, cubic_spline_lut[rip]
	movzx	eax, WORD PTR [rdx+rax]
	movsx	ecx, ax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, cubic_spline_lut[rip]
	movzx	eax, WORD PTR [rdx+rax]
	cwde
	add	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 2
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, cubic_spline_lut[rip]
	movzx	eax, WORD PTR [rdx+rax]
	cwde
	add	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 3
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, cubic_spline_lut[rip]
	movzx	eax, WORD PTR [rdx+rax]
	cwde
	add	eax, ecx
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 16384
	je	.L27
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, cubic_spline_lut[rip]
	movzx	edx, WORD PTR [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rcx, [rax+rax]
	lea	rax, cubic_spline_lut[rip]
	movzx	eax, WORD PTR [rcx+rax]
	cmp	dx, ax
	jle	.L28
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	mov	DWORD PTR -44[rbp], eax
.L28:
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 2
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, cubic_spline_lut[rip]
	movzx	edx, WORD PTR [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rcx, [rax+rax]
	lea	rax, cubic_spline_lut[rip]
	movzx	eax, WORD PTR [rcx+rax]
	cmp	dx, ax
	jle	.L29
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 2
	mov	DWORD PTR -44[rbp], eax
.L29:
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 3
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, cubic_spline_lut[rip]
	movzx	edx, WORD PTR [rdx+rax]
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rcx, [rax+rax]
	lea	rax, cubic_spline_lut[rip]
	movzx	eax, WORD PTR [rcx+rax]
	cmp	dx, ax
	jle	.L30
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 3
	mov	DWORD PTR -44[rbp], eax
.L30:
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, cubic_spline_lut[rip]
	movzx	eax, WORD PTR [rdx+rax]
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	add	ax, 16384
	mov	ecx, eax
	mov	eax, DWORD PTR -44[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, cubic_spline_lut[rip]
	mov	WORD PTR [rdx+rax], cx
.L27:
	add	DWORD PTR -48[rbp], 1
.L2:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -40[rbp]
	jl	.L31
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	cubic_spline_init, .-cubic_spline_init
	.globl	coef
	.type	coef, @function
coef:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -68[rbp], edi
	movss	DWORD PTR -72[rbp], xmm0
	movss	DWORD PTR -76[rbp], xmm1
	mov	DWORD PTR -80[rbp], esi
	mov	DWORD PTR -84[rbp], edx
	mov	eax, DWORD PTR -80[rbp]
	sub	eax, 1
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm1, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR .LC3[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -68[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -72[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	subsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC9[rip]
	divsd	xmm0, QWORD PTR -48[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	movq	xmm1, QWORD PTR .LC10[rip]
	andpd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC11[rip]
	comisd	xmm0, xmm1
	jbe	.L64
	movsd	xmm0, QWORD PTR .LC6[rip]
	movsd	QWORD PTR -56[rbp], xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -76[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	movss	xmm0, DWORD PTR -76[rbp]
	jmp	.L51
.L64:
	cmp	DWORD PTR -84[rbp], 7
	ja	.L52
	mov	eax, DWORD PTR -84[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L54[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L54[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L54:
	.long	.L61-.L54
	.long	.L60-.L54
	.long	.L59-.L54
	.long	.L58-.L54
	.long	.L57-.L54
	.long	.L56-.L54
	.long	.L55-.L54
	.long	.L53-.L54
	.text
.L61:
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm0, QWORD PTR -32[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR .LC3[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	jmp	.L62
.L60:
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm0, QWORD PTR -32[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR .LC12[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC13[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	jmp	.L62
.L59:
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm0, QWORD PTR -32[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR .LC3[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC14[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	addsd	xmm0, xmm0
	movapd	xmm3, xmm0
	mulsd	xmm3, QWORD PTR -32[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR .LC15[rip]
	mulsd	xmm0, xmm1
	addsd	xmm0, QWORD PTR -96[rbp]
	movsd	QWORD PTR -56[rbp], xmm0
	jmp	.L62
.L58:
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm0, QWORD PTR -32[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR .LC16[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC17[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	addsd	xmm0, xmm0
	movapd	xmm5, xmm0
	mulsd	xmm5, QWORD PTR -32[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR .LC18[rip]
	mulsd	xmm0, xmm1
	addsd	xmm0, QWORD PTR -96[rbp]
	movsd	QWORD PTR -56[rbp], xmm0
	jmp	.L62
.L57:
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm0, QWORD PTR -32[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR .LC19[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC20[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	addsd	xmm0, xmm0
	movapd	xmm7, xmm0
	mulsd	xmm7, QWORD PTR -32[rbp]
	movq	rax, xmm7
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR .LC21[rip]
	mulsd	xmm0, xmm1
	addsd	xmm0, QWORD PTR -96[rbp]
	movsd	QWORD PTR -56[rbp], xmm0
	jmp	.L62
.L56:
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm0, QWORD PTR -32[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR .LC22[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC23[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	addsd	xmm0, xmm0
	movapd	xmm4, xmm0
	mulsd	xmm4, QWORD PTR -32[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR .LC24[rip]
	mulsd	xmm0, xmm1
	addsd	xmm0, QWORD PTR -96[rbp]
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR .LC25[rip]
	mulsd	xmm0, xmm1
	movapd	xmm6, xmm0
	mulsd	xmm6, QWORD PTR -32[rbp]
	movq	rax, xmm6
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR .LC26[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -96[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	jmp	.L62
.L55:
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm0, QWORD PTR -32[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR .LC27[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC28[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	addsd	xmm0, xmm0
	movapd	xmm5, xmm0
	mulsd	xmm5, QWORD PTR -32[rbp]
	movq	rax, xmm5
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR .LC29[rip]
	mulsd	xmm0, xmm1
	addsd	xmm0, QWORD PTR -96[rbp]
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR .LC25[rip]
	mulsd	xmm0, xmm1
	movapd	xmm7, xmm0
	mulsd	xmm7, QWORD PTR -32[rbp]
	movq	rax, xmm7
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR .LC30[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -96[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	jmp	.L62
.L53:
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm0, QWORD PTR -32[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR .LC31[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC32[rip]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	addsd	xmm0, xmm0
	movapd	xmm3, xmm0
	mulsd	xmm3, QWORD PTR -32[rbp]
	movq	rax, xmm3
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR .LC33[rip]
	mulsd	xmm0, xmm1
	addsd	xmm0, QWORD PTR -96[rbp]
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR .LC25[rip]
	mulsd	xmm0, xmm1
	movapd	xmm4, xmm0
	mulsd	xmm4, QWORD PTR -32[rbp]
	movq	rax, xmm4
	movq	xmm0, rax
	call	cos@PLT
	movsd	xmm1, QWORD PTR .LC34[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -96[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	jmp	.L62
.L52:
	movsd	xmm0, QWORD PTR .LC6[rip]
	movsd	QWORD PTR -56[rbp], xmm0
	nop
.L62:
	movsd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC35[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -76[rbp]
	mulsd	xmm0, QWORD PTR -24[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	divsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	mulsd	xmm0, QWORD PTR -8[rbp]
	cvtsd2ss	xmm0, xmm0
.L51:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	coef, .-coef
	.globl	windowed_fir_lut
	.bss
	.align 32
	.type	windowed_fir_lut, @object
	.size	windowed_fir_lut, 32784
windowed_fir_lut:
	.zero	32784
	.text
	.globl	windowed_fir_init
	.type	windowed_fir_init, @function
windowed_fir_init:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movss	xmm0, DWORD PTR .LC36[rip]
	movss	DWORD PTR -76[rbp], xmm0
	movss	xmm0, DWORD PTR -76[rbp]
	movaps	xmm1, xmm0
	addss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC37[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -72[rbp], xmm0
	movss	xmm0, DWORD PTR .LC38[rip]
	movss	DWORD PTR -68[rbp], xmm0
	movss	xmm0, DWORD PTR .LC39[rip]
	movss	DWORD PTR -64[rbp], xmm0
	mov	DWORD PTR -88[rbp], 0
	jmp	.L66
.L77:
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, DWORD PTR -88[rbp]
	subss	xmm0, DWORD PTR -76[rbp]
	movss	xmm1, DWORD PTR -72[rbp]
	mulss	xmm0, xmm1
	movss	DWORD PTR -60[rbp], xmm0
	mov	eax, DWORD PTR -88[rbp]
	sal	eax, 3
	mov	DWORD PTR -56[rbp], eax
	mov	DWORD PTR -80[rbp], 0
	pxor	xmm0, xmm0
	movss	DWORD PTR -84[rbp], xmm0
	jmp	.L67
.L68:
	movss	xmm0, DWORD PTR -68[rbp]
	mov	ecx, DWORD PTR -60[rbp]
	mov	eax, DWORD PTR -80[rbp]
	mov	edx, 2
	mov	esi, 8
	movaps	xmm1, xmm0
	movd	xmm0, ecx
	mov	edi, eax
	call	coef
	movd	eax, xmm0
	mov	edx, DWORD PTR -80[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -48[rbp+rdx*4], eax
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	movss	xmm0, DWORD PTR -48[rbp+rax*4]
	movss	xmm1, DWORD PTR -84[rbp]
	addss	xmm0, xmm1
	movss	DWORD PTR -84[rbp], xmm0
	add	DWORD PTR -80[rbp], 1
.L67:
	cmp	DWORD PTR -80[rbp], 7
	jle	.L68
	movss	xmm0, DWORD PTR .LC37[rip]
	divss	xmm0, DWORD PTR -84[rbp]
	movss	DWORD PTR -84[rbp], xmm0
	mov	DWORD PTR -80[rbp], 0
	jmp	.L69
.L76:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	movss	xmm0, DWORD PTR -48[rbp+rax*4]
	mulss	xmm0, DWORD PTR -64[rbp]
	mulss	xmm0, DWORD PTR -84[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	floor@PLT
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -52[rbp], xmm0
	movss	xmm0, DWORD PTR -64[rbp]
	movss	xmm1, DWORD PTR .LC8[rip]
	xorps	xmm0, xmm1
	comiss	xmm0, DWORD PTR -52[rbp]
	jbe	.L81
	movss	xmm0, DWORD PTR -64[rbp]
	movss	xmm1, DWORD PTR .LC8[rip]
	xorps	xmm0, xmm1
	cvttss2si	eax, xmm0
	jmp	.L72
.L81:
	movss	xmm0, DWORD PTR -52[rbp]
	comiss	xmm0, DWORD PTR -64[rbp]
	jbe	.L82
	movss	xmm0, DWORD PTR -64[rbp]
	cvttss2si	eax, xmm0
	jmp	.L72
.L82:
	movss	xmm0, DWORD PTR -52[rbp]
	cvttss2si	eax, xmm0
.L72:
	mov	ecx, DWORD PTR -56[rbp]
	mov	edx, DWORD PTR -80[rbp]
	add	edx, ecx
	movsx	rdx, edx
	lea	rcx, [rdx+rdx]
	lea	rdx, windowed_fir_lut[rip]
	mov	WORD PTR [rcx+rdx], ax
	add	DWORD PTR -80[rbp], 1
.L69:
	cmp	DWORD PTR -80[rbp], 7
	jle	.L76
	add	DWORD PTR -88[rbp], 1
.L66:
	cmp	DWORD PTR -88[rbp], 2048
	jle	.L77
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L78
	call	__stack_chk_fail@PLT
.L78:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	windowed_fir_init, .-windowed_fir_init
	.section	.rodata
.LC41:
	.string	"cubic_spline_lut"
.LC42:
	.string	"static int16 %s%d[%lu] = {\n\t"
.LC43:
	.string	"\n\t"
.LC44:
	.string	" %d,"
.LC45:
	.string	"\n};\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	call	cubic_spline_init
	call	windowed_fir_init
	mov	DWORD PTR -8[rbp], 0
	jmp	.L84
.L88:
	mov	eax, DWORD PTR -8[rbp]
	mov	ecx, 1024
	mov	edx, eax
	lea	rsi, .LC41[rip]
	lea	rdi, .LC42[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L85
.L87:
	cmp	DWORD PTR -4[rbp], 0
	je	.L86
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 7
	test	eax, eax
	jne	.L86
	lea	rdi, .LC43[rip]
	mov	eax, 0
	call	printf@PLT
.L86:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 0[0+rax*4]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, cubic_spline_lut[rip]
	movzx	eax, WORD PTR [rdx+rax]
	cwde
	mov	esi, eax
	lea	rdi, .LC44[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L85:
	cmp	DWORD PTR -4[rbp], 1023
	jle	.L87
	lea	rdi, .LC45[rip]
	call	puts@PLT
	add	DWORD PTR -8[rbp], 1
.L84:
	cmp	DWORD PTR -8[rbp], 3
	jle	.L88
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC0:
	.long	981467136
	.align 4
.LC1:
	.long	1182793728
	.align 8
.LC2:
	.long	0
	.long	-1075838976
	.align 8
.LC3:
	.long	0
	.long	1071644672
	.align 8
.LC4:
	.long	0
	.long	1073217536
	.align 8
.LC5:
	.long	0
	.long	1074003968
	.align 8
.LC6:
	.long	0
	.long	1072693248
	.align 8
.LC7:
	.long	0
	.long	-1074266112
	.align 16
.LC8:
	.long	-2147483648
	.long	0
	.long	0
	.long	0
	.align 8
.LC9:
	.long	1413754136
	.long	1075388923
	.align 16
.LC10:
	.long	-1
	.long	2147483647
	.long	0
	.long	0
	.align 8
.LC11:
	.long	-500134854
	.long	1044740494
	.align 8
.LC12:
	.long	-687194767
	.long	1071476899
	.align 8
.LC13:
	.long	343597384
	.long	1071728558
	.align 8
.LC14:
	.long	-1374389535
	.long	1071309127
	.align 8
.LC15:
	.long	1202590843
	.long	1068792545
	.align 8
.LC16:
	.long	973067791
	.long	1071617996
	.align 8
.LC17:
	.long	581366773
	.long	1071433237
	.align 8
.LC18:
	.long	449425378
	.long	1068306677
	.align 8
.LC19:
	.long	-192414535
	.long	1071634395
	.align 8
.LC20:
	.long	1210837180
	.long	1071322675
	.align 8
.LC21:
	.long	221276715
	.long	1068779459
	.align 8
.LC22:
	.long	-1287802994
	.long	1071595556
	.align 8
.LC23:
	.long	-1889785610
	.long	1071052226
	.align 8
.LC24:
	.long	-1983244099
	.long	1069684086
	.align 8
.LC25:
	.long	0
	.long	1074266112
	.align 8
.LC26:
	.long	270754738
	.long	1065872303
	.align 8
.LC27:
	.long	-355966889
	.long	1071632214
	.align 8
.LC28:
	.long	1029417762
	.long	1071234343
	.align 8
.LC29:
	.long	544258256
	.long	1069026084
	.align 8
.LC30:
	.long	-1984618488
	.long	1063123859
	.align 8
.LC31:
	.long	705061831
	.long	1071636451
	.align 8
.LC32:
	.long	-1036289709
	.long	1071235433
	.align 8
.LC33:
	.long	450799767
	.long	1069099736
	.align 8
.LC34:
	.long	108576773
	.long	1062468877
	.align 8
.LC35:
	.long	1413754136
	.long	1074340347
	.align 4
.LC36:
	.long	1149239296
	.align 4
.LC37:
	.long	1065353216
	.align 4
.LC38:
	.long	1063675494
	.align 4
.LC39:
	.long	1191182336
	.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	"312990.c"
	.text
	.comm	cubic_spline_lut,8192,4
	.global	__aeabi_i2f
	.global	__aeabi_fmul
	.global	__aeabi_f2d
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_dsub
	.global	__aeabi_d2f
	.global	__aeabi_fcmplt
	.global	__aeabi_f2iz
	.global	__aeabi_fcmpgt
	.align	2
	.global	cubic_spline_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	cubic_spline_init, %function
cubic_spline_init:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #48
	mov	r3, #1024
	str	r3, [fp, #-68]
	mov	r3, #981467136
	str	r3, [fp, #-64]	@ float
	ldr	r3, .L48
	str	r3, [fp, #-60]	@ float
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L2
.L31:
	ldr	r0, [fp, #-76]
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-64]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-56]	@ float
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	str	r3, [fp, #-52]
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L48+4
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L48+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L48+8
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	floor
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-48]	@ float
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L48+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L48+16
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L48+20
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L48+8
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	floor
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-44]	@ float
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L48+24
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L48+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L48+8
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	floor
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-40]	@ float
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L48+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L48+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L48+8
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	floor
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-36]	@ float
	ldr	r3, [fp, #-60]
	eor	r3, r3, #-2147483648
	mov	r1, r3
	ldr	r0, [fp, #-48]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L40
	ldr	r3, [fp, #-60]
	eor	r3, r3, #-2147483648
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	b	.L5
.L40:
	ldr	r1, [fp, #-60]	@ float
	ldr	r0, [fp, #-48]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L41
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_f2iz
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	b	.L5
.L41:
	ldr	r0, [fp, #-48]	@ float
	bl	__aeabi_f2iz
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
.L5:
	ldr	r1, .L48+28
	ldr	r2, [fp, #-52]
	lsl	r2, r2, #1
	add	r2, r1, r2
	strh	r3, [r2]	@ movhi
	ldr	r3, [fp, #-60]
	eor	r3, r3, #-2147483648
	mov	r1, r3
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L42
	ldr	r3, [fp, #-60]
	eor	r3, r3, #-2147483648
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	b	.L11
.L42:
	ldr	r1, [fp, #-60]	@ float
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L43
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_f2iz
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	b	.L11
.L43:
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_f2iz
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
.L11:
	ldr	r2, [fp, #-52]
	add	r2, r2, #1
	ldr	r1, .L48+28
	lsl	r2, r2, #1
	add	r2, r1, r2
	strh	r3, [r2]	@ movhi
	ldr	r3, [fp, #-60]
	eor	r3, r3, #-2147483648
	mov	r1, r3
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L44
	ldr	r3, [fp, #-60]
	eor	r3, r3, #-2147483648
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	b	.L17
.L44:
	ldr	r1, [fp, #-60]	@ float
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L45
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_f2iz
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	b	.L17
.L45:
	ldr	r0, [fp, #-40]	@ float
	bl	__aeabi_f2iz
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
.L17:
	ldr	r2, [fp, #-52]
	add	r2, r2, #2
	ldr	r1, .L48+28
	lsl	r2, r2, #1
	add	r2, r1, r2
	strh	r3, [r2]	@ movhi
	ldr	r3, [fp, #-60]
	eor	r3, r3, #-2147483648
	mov	r1, r3
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	ldr	r3, [fp, #-60]
	eor	r3, r3, #-2147483648
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	b	.L23
.L46:
	ldr	r1, [fp, #-60]	@ float
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L47
	ldr	r0, [fp, #-60]	@ float
	bl	__aeabi_f2iz
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	b	.L23
.L47:
	ldr	r0, [fp, #-36]	@ float
	bl	__aeabi_f2iz
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
.L23:
	ldr	r2, [fp, #-52]
	add	r2, r2, #3
	ldr	r1, .L48+28
	lsl	r2, r2, #1
	add	r2, r1, r2
	strh	r3, [r2]	@ movhi
	ldr	r2, .L48+28
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r3, [r3]
	mov	r1, r3
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	ldr	r2, .L48+28
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r3, [r3]
	add	r3, r1, r3
	ldr	r2, [fp, #-52]
	add	r2, r2, #2
	ldr	r1, .L48+28
	lsl	r2, r2, #1
	add	r2, r1, r2
	ldrsh	r2, [r2]
	add	r3, r3, r2
	ldr	r2, [fp, #-52]
	add	r2, r2, #3
	ldr	r1, .L48+28
	lsl	r2, r2, #1
	add	r2, r1, r2
	ldrsh	r2, [r2]
	add	r3, r3, r2
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #16384
	beq	.L27
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	ldr	r2, .L48+28
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r2, [r3]
	ldr	r1, .L48+28
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldrsh	r3, [r3]
	cmp	r2, r3
	ble	.L28
	ldr	r3, [fp, #-52]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L28:
	ldr	r3, [fp, #-52]
	add	r3, r3, #2
	ldr	r2, .L48+28
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r2, [r3]
	ldr	r1, .L48+28
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldrsh	r3, [r3]
	cmp	r2, r3
	ble	.L29
	ldr	r3, [fp, #-52]
	add	r3, r3, #2
	str	r3, [fp, #-72]
.L29:
	ldr	r3, [fp, #-52]
	add	r3, r3, #3
	ldr	r2, .L48+28
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r2, [r3]
	ldr	r1, .L48+28
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldrsh	r3, [r3]
	cmp	r2, r3
	ble	.L30
	ldr	r3, [fp, #-52]
	add	r3, r3, #3
	str	r3, [fp, #-72]
.L30:
	ldr	r2, .L48+28
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	sub	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #16384
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r1, .L48+28
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #1
	add	r3, r1, r3
	strh	r2, [r3]	@ movhi
.L27:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L2:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-68]
	cmp	r2, r3
	blt	.L31
	nop
	nop
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L49:
	.align	2
.L48:
	.word	1182793728
	.word	-1075838976
	.word	1071644672
	.word	1073217536
	.word	1074003968
	.word	1072693248
	.word	-1074266112
	.word	cubic_spline_lut
	.size	cubic_spline_init, .-cubic_spline_init
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dcmplt
	.align	2
	.global	coef
	.syntax unified
	.arm
	.fpu softvfp
	.type	coef, %function
coef:
	@ args = 4, 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, #72
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]	@ float
	str	r2, [fp, #-88]	@ float
	str	r3, [fp, #-92]
	ldr	r3, [fp, #-92]
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r2, #0
	ldr	r3, .L67
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r0, [fp, #-80]
	bl	__aeabi_i2d
	mov	r6, r0
	mov	r7, r1
	ldr	r0, [fp, #-84]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	ldr	r0, .L67+4
	ldr	r1, .L67+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r4, [fp, #-44]
	ldr	r3, [fp, #-40]
	bic	r5, r3, #-2147483648
	ldr	r2, .L67+12
	ldr	r3, .L67+16
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L66
	mov	r2, #0
	ldr	r3, .L67+20
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	ldr	r0, [fp, #-88]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-88]	@ float
	b	.L53
.L66:
	ldr	r3, [fp, #4]
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L54
.L56:
	.word	.L63
	.word	.L62
	.word	.L61
	.word	.L60
	.word	.L59
	.word	.L58
	.word	.L57
	.word	.L55
.L63:
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	mov	r2, #0
	ldr	r3, .L67
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L67
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	b	.L64
.L62:
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	ldr	r2, .L67+24
	ldr	r3, .L67+28
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L67+32
	ldr	r1, .L67+36
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	b	.L64
.L61:
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	mov	r2, #0
	ldr	r3, .L67
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L67+40
	ldr	r1, .L67+44
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	ldr	r2, .L67+48
	ldr	r3, .L67+52
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	b	.L64
.L60:
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	ldr	r2, .L67+56
	ldr	r3, .L67+60
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L67+64
	ldr	r1, .L67+68
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	ldr	r2, .L67+72
	ldr	r3, .L67+76
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	b	.L64
.L59:
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	ldr	r2, .L67+80
	ldr	r3, .L67+84
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L67+88
	ldr	r1, .L67+92
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	ldr	r2, .L67+96
	ldr	r3, .L67+100
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	b	.L64
.L58:
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	ldr	r2, .L67+104
	ldr	r3, .L67+108
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L67+112
	ldr	r1, .L67+116
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	ldr	r2, .L67+120
	ldr	r3, .L67+124
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	mov	r2, #0
	ldr	r3, .L67+128
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	ldr	r2, .L67+132
	ldr	r3, .L67+136
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	b	.L64
.L57:
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	ldr	r2, .L67+140
	ldr	r3, .L67+144
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L67+148
	ldr	r1, .L67+152
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	ldr	r2, .L67+156
	ldr	r3, .L67+160
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	mov	r2, #0
	ldr	r3, .L67+128
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	ldr	r2, .L67+164
	ldr	r3, .L67+168
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	b	.L64
.L55:
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	ldr	r2, .L67+172
	ldr	r3, .L67+176
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L67+180
	ldr	r1, .L67+184
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	ldr	r2, .L67+188
	ldr	r3, .L67+192
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	mov	r2, #0
	ldr	r3, .L67+128
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	ldr	r2, .L67+196
	ldr	r3, .L67+200
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	b	.L64
.L54:
	mov	r2, #0
	ldr	r3, .L67+20
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	nop
.L64:
	ldr	r2, .L67+4
	ldr	r3, .L67+204
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r0, [fp, #-88]	@ float
	bl	__aeabi_f2d
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sin
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
.L53:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L68:
	.align	2
.L67:
	.word	1071644672
	.word	1413754136
	.word	1075388923
	.word	-500134854
	.word	1044740494
	.word	1072693248
	.word	-687194767
	.word	1071476899
	.word	343597384
	.word	1071728558
	.word	-1374389535
	.word	1071309127
	.word	1202590843
	.word	1068792545
	.word	973067791
	.word	1071617996
	.word	581366773
	.word	1071433237
	.word	449425378
	.word	1068306677
	.word	-192414535
	.word	1071634395
	.word	1210837180
	.word	1071322675
	.word	221276715
	.word	1068779459
	.word	-1287802994
	.word	1071595556
	.word	-1889785610
	.word	1071052226
	.word	-1983244099
	.word	1069684086
	.word	1074266112
	.word	270754738
	.word	1065872303
	.word	-355966889
	.word	1071632214
	.word	1029417762
	.word	1071234343
	.word	544258256
	.word	1069026084
	.word	-1984618488
	.word	1063123859
	.word	705061831
	.word	1071636451
	.word	-1036289709
	.word	1071235433
	.word	450799767
	.word	1069099736
	.word	108576773
	.word	1062468877
	.word	1074340347
	.size	coef, .-coef
	.comm	windowed_fir_lut,32784,4
	.global	__aeabi_fadd
	.global	__aeabi_fdiv
	.global	__aeabi_fsub
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	windowed_fir_init
	.syntax unified
	.arm
	.fpu softvfp
	.type	windowed_fir_init, %function
windowed_fir_init:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	ldr	r3, .L87
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L87+4
	str	r3, [fp, #-68]	@ float
	ldr	r3, [fp, #-68]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, r3
	mov	r0, #1065353216
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-64]	@ float
	ldr	r3, .L87+8
	str	r3, [fp, #-60]	@ float
	mov	r3, #1191182336
	str	r3, [fp, #-56]	@ float
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L70
.L81:
	ldr	r0, [fp, #-80]
	bl	__aeabi_i2f
	mov	r3, r0
	ldr	r1, [fp, #-68]	@ float
	mov	r0, r3
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r1, r3
	ldr	r0, [fp, #-64]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	str	r3, [fp, #-52]	@ float
	ldr	r3, [fp, #-80]
	lsl	r3, r3, #3
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-76]	@ float
	b	.L71
.L72:
	mov	r3, #2
	str	r3, [sp]
	mov	r3, #8
	ldr	r2, [fp, #-60]	@ float
	ldr	r1, [fp, #-52]	@ float
	ldr	r0, [fp, #-72]
	bl	coef
	mov	r2, r0
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-36]	@ float
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-36]	@ float
	mov	r1, r3
	ldr	r0, [fp, #-76]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	str	r3, [fp, #-76]	@ float
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L71:
	ldr	r3, [fp, #-72]
	cmp	r3, #7
	ble	.L72
	ldr	r1, [fp, #-76]	@ float
	mov	r0, #1065353216
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-76]	@ float
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L73
.L80:
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-36]	@ float
	ldr	r1, [fp, #-56]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	ldr	r1, [fp, #-76]	@ float
	mov	r0, r3
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, #0
	ldr	r3, .L87+12
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	floor
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [fp, #-44]	@ float
	ldr	r3, [fp, #-56]
	eor	r3, r3, #-2147483648
	mov	r1, r3
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_fcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L85
	ldr	r3, [fp, #-56]
	eor	r3, r3, #-2147483648
	mov	r0, r3
	bl	__aeabi_f2iz
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	b	.L76
.L85:
	ldr	r1, [fp, #-56]	@ float
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L86
	ldr	r0, [fp, #-56]	@ float
	bl	__aeabi_f2iz
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
	b	.L76
.L86:
	ldr	r0, [fp, #-44]	@ float
	bl	__aeabi_f2iz
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r3, r3, #16
.L76:
	ldr	r1, [fp, #-48]
	ldr	r2, [fp, #-72]
	add	r2, r1, r2
	ldr	r1, .L87+16
	lsl	r2, r2, #1
	add	r2, r1, r2
	strh	r3, [r2]	@ movhi
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L73:
	ldr	r3, [fp, #-72]
	cmp	r3, #7
	ble	.L80
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L70:
	ldr	r3, [fp, #-80]
	cmp	r3, #2048
	ble	.L81
	nop
	ldr	r3, .L87
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L82
	bl	__stack_chk_fail
.L82:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L88:
	.align	2
.L87:
	.word	.LC0
	.word	1149239296
	.word	1063675494
	.word	1071644672
	.word	windowed_fir_lut
	.size	windowed_fir_init, .-windowed_fir_init
	.section	.rodata
	.align	2
.LC1:
	.ascii	"cubic_spline_lut\000"
	.align	2
.LC2:
	.ascii	"static int16 %s%d[%lu] = {\012\011\000"
	.align	2
.LC3:
	.ascii	"\012\011\000"
	.align	2
.LC4:
	.ascii	" %d,\000"
	.align	2
.LC5:
	.ascii	"\012};\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	bl	cubic_spline_init
	bl	windowed_fir_init
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L90
.L94:
	mov	r3, #1024
	ldr	r2, [fp, #-12]
	ldr	r1, .L96
	ldr	r0, .L96+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L91
.L93:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L92
	ldr	r3, [fp, #-8]
	and	r3, r3, #7
	cmp	r3, #0
	bne	.L92
	ldr	r0, .L96+8
	bl	printf
.L92:
	ldr	r3, [fp, #-8]
	lsl	r2, r3, #2
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, .L96+12
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r3, [r3]
	mov	r1, r3
	ldr	r0, .L96+16
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L91:
	ldr	r3, [fp, #-8]
	cmp	r3, #1024
	blt	.L93
	ldr	r0, .L96+20
	bl	puts
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L90:
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	ble	.L94
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L97:
	.align	2
.L96:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	cubic_spline_lut
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
