	.file	"extr_vf_vignette.c_get_natural_factor.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	get_natural_factor, @function
get_natural_factor:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	r8d, DWORD PTR 12[rdi]
	mov	rbx, rdi
	sub	edx, DWORD PTR 8[rdi]
	sub	esi, DWORD PTR [rdi]
	imul	r8d, edx
	imul	esi, DWORD PTR 4[rdi]
	mov	edi, esi
	mov	esi, r8d
	call	hypot@PLT
	divsd	xmm0, QWORD PTR 16[rbx]
	pxor	xmm1, xmm1
	comisd	xmm0, QWORD PTR .LC1[rip]
	ja	.L1
	mulsd	xmm0, QWORD PTR 24[rbx]
	call	cos@PLT
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	mulsd	xmm1, xmm1
.L1:
	movapd	xmm0, xmm1
	pop	rbx
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	get_natural_factor, .-get_natural_factor
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.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_vignette.c_get_natural_factor.c"
	.text
	.global	__aeabi_ddiv
	.global	__aeabi_dcmpgt
	.global	__aeabi_dmul
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_natural_factor, %function
get_natural_factor:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r6, r7, lr}
	mov	r4, r0
	ldr	lr, [r0, #8]
	ldr	r0, [r0]
	ldr	ip, [r4, #12]
	ldr	r3, [r4, #4]
	sub	r2, r2, lr
	sub	r0, r1, r0
	mul	r0, r3, r0
	mul	r1, ip, r2
	bl	hypot
	add	r3, r4, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, #0
	ldr	r3, .L7
	mov	r6, r0
	mov	r7, r1
	bl	__aeabi_dcmpgt
	cmp	r0, #0
	beq	.L6
	mov	r0, #0
	mov	r1, #0
	pop	{r4, r6, r7, pc}
.L6:
	add	r3, r4, #24
	ldmia	r3, {r2-r3}
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	bl	cos
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dmul
	pop	{r4, r6, r7, pc}
.L8:
	.align	2
.L7:
	.word	1072693248
	.size	get_natural_factor, .-get_natural_factor
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
