	.file	"extr_vf_v360.c_calculate_lanczos_coeffs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	calculate_lanczos_coeffs, @function
calculate_lanczos_coeffs:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movaps	xmm4, xmm0
	xor	ebp, ebp
	pxor	xmm2, xmm2
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	movss	xmm3, DWORD PTR .LC1[rip]
.L5:
	pxor	xmm0, xmm0
	movaps	xmm1, xmm4
	pxor	xmm5, xmm5
	cvtsi2ss	xmm0, ebp
	subss	xmm1, xmm0
	addss	xmm1, xmm3
	mulss	xmm1, DWORD PTR M_PI[rip]
	ucomiss	xmm1, xmm5
	jp	.L2
	jne	.L2
	movss	DWORD PTR [rbx+rbp*4], xmm3
	movaps	xmm0, xmm3
.L4:
	add	rbp, 1
	addss	xmm2, xmm0
	cmp	rbp, 4
	jne	.L5
	mov	rdi, rbx
	lea	rax, 16[rbx]
.L6:
	movss	xmm0, DWORD PTR [rdi]
	add	rdi, 4
	divss	xmm0, xmm2
	movss	DWORD PTR -4[rdi], xmm0
	cmp	rax, rdi
	jne	.L6
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	movaps	xmm0, xmm1
	movss	DWORD PTR 12[rsp], xmm4
	movss	DWORD PTR 8[rsp], xmm2
	movss	DWORD PTR 4[rsp], xmm1
	call	sinf@PLT
	movss	xmm1, DWORD PTR 4[rsp]
	movss	xmm6, DWORD PTR .LC2[rip]
	movss	DWORD PTR [rsp], xmm0
	mulss	xmm6, xmm1
	movaps	xmm0, xmm6
	call	sinf@PLT
	movss	xmm1, DWORD PTR 4[rsp]
	mulss	xmm0, DWORD PTR [rsp]
	movss	xmm3, DWORD PTR .LC1[rip]
	movss	xmm4, DWORD PTR 12[rsp]
	mulss	xmm1, xmm1
	movss	xmm2, DWORD PTR 8[rsp]
	mulss	xmm1, DWORD PTR .LC2[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR [rbx+rbp*4], xmm0
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	calculate_lanczos_coeffs, .-calculate_lanczos_coeffs
	.comm	M_PI,4,4
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC1:
	.long	1065353216
	.align 4
.LC2:
	.long	1056964608
	.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_vf_v360.c_calculate_lanczos_coeffs.c"
	.text
	.global	__aeabi_i2f
	.global	__aeabi_fsub
	.global	__aeabi_fadd
	.global	__aeabi_fmul
	.global	__aeabi_fcmpeq
	.global	__aeabi_fdiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	calculate_lanczos_coeffs, %function
calculate_lanczos_coeffs:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, #0
	mov	r8, r0
	mov	r6, r1
	mov	fp, r4
	mov	r10, #0
	mov	r7, #1065353216
	mov	r9, #1056964608
	sub	sp, sp, #12
.L5:
	mov	r0, r10
	bl	__aeabi_i2f
	mov	r1, r0
	mov	r0, r8
	bl	__aeabi_fsub
	mov	r1, r7
	bl	__aeabi_fadd
	ldr	r3, .L13
	ldr	r1, [r3]	@ float
	bl	__aeabi_fmul
	mov	r1, fp
	mov	r5, r0
	bl	__aeabi_fcmpeq
	cmp	r0, #0
	movne	r1, r7
	strne	r7, [r6, r10, lsl #2]	@ float
	bne	.L4
	mov	r0, r5
	bl	sinf
	mov	r2, r0
	mov	r1, r9
	mov	r0, r5
	str	r2, [sp, #4]
	bl	__aeabi_fmul
	bl	sinf
	ldr	r2, [sp, #4]
	mov	r1, r0
	mov	r0, r2
	bl	__aeabi_fmul
	mov	r2, r0
	mov	r1, r5
	mov	r0, r5
	mov	r5, r2
	bl	__aeabi_fmul
	mov	r1, r9
	bl	__aeabi_fmul
	mov	r1, r0
	mov	r0, r5
	bl	__aeabi_fdiv
	mov	r1, r0
	str	r0, [r6, r10, lsl #2]	@ float
.L4:
	mov	r0, r4
	bl	__aeabi_fadd
	add	r10, r10, #1
	cmp	r10, #4
	mov	r4, r0
	bne	.L5
	sub	r5, r6, #4
	add	r6, r6, #12
.L6:
	ldr	r0, [r5, #4]!	@ float
	mov	r1, r4
	bl	__aeabi_fdiv
	cmp	r6, r5
	str	r0, [r5]	@ float
	bne	.L6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L14:
	.align	2
.L13:
	.word	M_PI
	.size	calculate_lanczos_coeffs, .-calculate_lanczos_coeffs
	.comm	M_PI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
