	.file	"extr_test_trig.c_test_atan2.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"FT_Atan2( %.7f, %.7f ) = %.5f, atan = %.5f\n"
	.text
	.p2align 4
	.type	test_atan2, @function
test_atan2:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR FT_ANGLE_2PI[rip]
	test	eax, eax
	jle	.L8
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	lea	rbp, 24[rsp]
	lea	rbx, 16[rsp]
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, DWORD PTR SPI[rip]
	pxor	xmm0, xmm0
	mov	rsi, rbx
	mov	rdi, rbp
	imul	eax, r12d
	cvtsi2sd	xmm0, eax
	call	sincos@PLT
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	xmm1, QWORD PTR .LC0[rip]
	mulsd	xmm0, QWORD PTR 16[rsp]
	mulsd	xmm1, QWORD PTR 24[rsp]
	mulsd	xmm0, QWORD PTR .LC1[rip]
	mulsd	xmm1, QWORD PTR .LC1[rip]
	movsd	QWORD PTR [rsp], xmm0
	movsd	QWORD PTR 8[rsp], xmm1
	call	FT_Atan2@PLT
	movsd	xmm0, QWORD PTR [rsp]
	movsd	xmm1, QWORD PTR 8[rsp]
	test	eax, eax
	jns	.L3
	add	eax, DWORD PTR FT_ANGLE_2PI[rip]
.L3:
	mov	edx, r12d
	sub	edx, eax
	mov	ecx, edx
	sar	ecx, 31
	xor	edx, ecx
	sub	edx, ecx
	cmp	edx, 1
	jle	.L4
	pxor	xmm2, xmm2
	lea	rdi, .LC3[rip]
	cvtsi2sd	xmm2, r12d
	mulsd	xmm2, QWORD PTR .LC2[rip]
	mulsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm1, QWORD PTR .LC2[rip]
	cvttsd2si	edx, xmm2
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	mulsd	xmm2, QWORD PTR .LC2[rip]
	cvttsd2si	esi, xmm2
	call	printf@PLT
.L4:
	add	r12d, 65536
	cmp	DWORD PTR FT_ANGLE_2PI[rip], r12d
	jg	.L5
	add	rsp, 32
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	ret
	.cfi_endproc
.LFE0:
	.size	test_atan2, .-test_atan2
	.comm	SPI,4,4
	.comm	FT_ANGLE_2PI,4,4
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	0
	.long	1075052544
	.align 8
.LC1:
	.long	0
	.long	1089470464
	.align 8
.LC2:
	.long	0
	.long	1055916032
	.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_test_trig.c_test_atan2.c"
	.text
	.global	__aeabi_i2d
	.global	__aeabi_dmul
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"FT_Atan2( %.7f, %.7f ) = %.5f, atan = %.5f\012\000"
	.global	__aeabi_d2iz
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_atan2, %function
test_atan2:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L11
	ldr	r10, .L11+4
	sub	sp, sp, #44
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	ldr	r3, [r10]
	cmp	r3, #0
	ble	.L1
	mov	r5, #0
	mov	r9, r5
	ldr	fp, .L11+8
.L5:
	ldr	r0, [fp]
	mul	r0, r9, r0
	bl	__aeabi_i2d
	add	r3, sp, #16
	add	r2, sp, #24
	bl	sincos
	add	r1, sp, #16
	ldmia	r1, {r0-r1}
	add	r5, sp, #24
	ldmia	r5, {r4-r5}
	mov	r2, #0
	ldr	r3, .L11+12
	bl	__aeabi_dmul
	mov	r2, #0
	ldr	r3, .L11+16
	bl	__aeabi_dmul
	mov	r2, #0
	mov	r6, r0
	mov	r7, r1
	mov	r0, r4
	mov	r1, r5
	ldr	r3, .L11+12
	bl	__aeabi_dmul
	mov	r2, #0
	ldr	r3, .L11+16
	bl	__aeabi_dmul
	mov	r4, r0
	mov	r5, r1
	mov	r0, r6
	mov	r3, r5
	mov	r1, r7
	mov	r2, r4
	bl	FT_Atan2
	subs	r8, r0, #0
	ldrlt	r3, [r10]
	addlt	r8, r8, r3
	sub	r3, r9, r8
	cmp	r3, #0
	rsblt	r3, r3, #0
	cmp	r3, #1
	ble	.L4
	mov	r2, #0
	ldr	r3, .L11+20
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r6, r0
	mov	r0, r9
	mov	r7, r1
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L11+20
	bl	__aeabi_dmul
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r0, r8
	str	r3, [sp, #12]
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L11+20
	bl	__aeabi_dmul
	bl	__aeabi_d2iz
	mov	ip, r0
	mov	r2, #0
	ldr	r3, .L11+20
	mov	r0, r4
	mov	r1, r5
	str	ip, [sp, #8]
	bl	__aeabi_dmul
	mov	r2, r6
	stm	sp, {r0-r1}
	mov	r3, r7
	ldr	r0, .L11+24
	bl	printf
.L4:
	ldr	r3, [r10]
	add	r9, r9, #65536
	cmp	r3, r9
	bgt	.L5
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	FT_ANGLE_2PI
	.word	SPI
	.word	1075052544
	.word	1089470464
	.word	1055916032
	.word	.LC0
	.size	test_atan2, .-test_atan2
	.comm	SPI,4,4
	.comm	FT_ANGLE_2PI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
