	.file	"extr_phy_calibration.c__sin_cos.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	_sin_cos
	.type	_sin_cos, @function
_sin_cos:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR AG_CONST[rip]
	call	FIXED@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	abs@PLT
	mov	rdx, QWORD PTR Angles[rip]
	xor	ecx, ecx
	xor	edi, edi
	xor	r8d, r8d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L12:
	add	rcx, 1
	sub	rbx, r11
	add	rdi, r10
	add	r8, r9
	cmp	rcx, 12
	je	.L11
.L4:
	mov	r11, rdi
	mov	r10, rbx
	mov	r9, QWORD PTR [rdx+rcx*8]
	sar	r11, cl
	sar	r10, cl
	cmp	rax, r8
	jg	.L12
	add	rcx, 1
	add	rbx, r11
	sub	rdi, r10
	sub	r8, r9
	cmp	rcx, 12
	jne	.L4
.L11:
	mov	QWORD PTR 0[r13], rbx
	test	rbp, rbp
	jg	.L9
	neg	rdi
.L9:
	mov	QWORD PTR [r12], rdi
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	_sin_cos, .-_sin_cos
	.comm	Angles,8,8
	.comm	AG_CONST,4,4
	.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_phy_calibration.c__sin_cos.c"
	.text
	.align	2
	.global	_sin_cos
	.syntax unified
	.arm
	.fpu softvfp
	.type	_sin_cos, %function
_sin_cos:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r9, r0
	ldr	r0, [r3]
	mov	r7, r1
	mov	r8, r2
	bl	FIXED
	mov	r3, #0
	mov	lr, r3
	mov	ip, r3
	ldr	r2, .L11+4
	eor	r1, r9, r9, asr #31
	ldr	r4, [r2]
	sub	r1, r1, r9, asr #31
	sub	r4, r4, #4
.L4:
	ldr	r5, [r4, #4]!
	cmp	r1, lr
	asr	r2, ip, r3
	asr	r6, r0, r3
	add	r3, r3, #1
	subgt	r0, r0, r2
	addgt	ip, ip, r6
	addgt	lr, lr, r5
	addle	r0, r0, r2
	suble	ip, ip, r6
	suble	lr, lr, r5
	cmp	r3, #12
	bne	.L4
	cmp	r9, #0
	rsble	ip, ip, #0
	str	r0, [r8]
	str	ip, [r7]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	.align	2
.L11:
	.word	AG_CONST
	.word	Angles
	.size	_sin_cos, .-_sin_cos
	.comm	Angles,4,4
	.comm	AG_CONST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
