	.file	"extr_be_aas_debug.c_AAS_DrawArrow.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	AAS_DrawArrow
	.type	AAS_DrawArrow, @function
AAS_DrawArrow:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	r10, rdi
	mov	eax, esi
	mov	ebp, r8d
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, r9d
	mov	rdi, rdx
	mov	rsi, rcx
	sub	rsp, 104
	.cfi_def_cfa_offset 128
	mov	r8, QWORD PTR 36[rsp]
	mov	r9d, DWORD PTR 44[rsp]
	mov	QWORD PTR [rsp], rdx
	mov	rdx, r10
	mov	DWORD PTR 8[rsp], ecx
	mov	ecx, eax
	mov	QWORD PTR 16[rsp], r10
	mov	DWORD PTR 24[rsp], eax
	mov	QWORD PTR 84[rsp], 0
	mov	DWORD PTR 92[rsp], 1
	call	VectorSubtract@PLT
	mov	rdi, QWORD PTR 36[rsp]
	mov	esi, DWORD PTR 44[rsp]
	call	VectorNormalize@PLT
	mov	ecx, DWORD PTR 92[rsp]
	mov	rdx, QWORD PTR 84[rsp]
	mov	rdi, QWORD PTR 36[rsp]
	mov	esi, DWORD PTR 44[rsp]
	call	DotProduct@PLT
	cvtss2sd	xmm0, xmm0
	comisd	xmm0, QWORD PTR .LC0[rip]
	ja	.L2
	movsd	xmm1, QWORD PTR .LC1[rip]
	comisd	xmm1, xmm0
	jbe	.L6
.L2:
	mov	rdi, QWORD PTR 48[rsp]
	mov	esi, DWORD PTR 56[rsp]
	xor	r8d, r8d
	xor	ecx, ecx
	mov	edx, 1
	call	VectorSet@PLT
.L5:
	sub	rsp, 16
	.cfi_def_cfa_offset 144
	mov	edx, -6
	mov	rax, QWORD PTR 76[rsp]
	mov	rcx, QWORD PTR 52[rsp]
	mov	r8d, DWORD PTR 60[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	mov	QWORD PTR [rsp], rax
	mov	esi, DWORD PTR 24[rsp]
	mov	eax, DWORD PTR 84[rsp]
	mov	DWORD PTR 8[rsp], eax
	call	VectorMA@PLT
	mov	rdx, QWORD PTR 88[rsp]
	mov	rdi, QWORD PTR 76[rsp]
	mov	esi, DWORD PTR 84[rsp]
	mov	ecx, DWORD PTR 96[rsp]
	call	VectorCopy@PLT
	mov	rdi, QWORD PTR 76[rsp]
	mov	esi, DWORD PTR 84[rsp]
	sub	rsp, 16
	.cfi_def_cfa_offset 160
	mov	rcx, QWORD PTR 80[rsp]
	mov	r8d, DWORD PTR 88[rsp]
	mov	edx, 6
	mov	QWORD PTR [rsp], rdi
	mov	DWORD PTR 8[rsp], esi
	call	VectorMA@PLT
	pop	rax
	.cfi_def_cfa_offset 152
	pop	rdx
	.cfi_def_cfa_offset 144
	mov	edx, -6
	mov	rdi, QWORD PTR 88[rsp]
	mov	esi, DWORD PTR 96[rsp]
	mov	rcx, QWORD PTR 64[rsp]
	mov	r8d, DWORD PTR 72[rsp]
	mov	QWORD PTR [rsp], rdi
	mov	DWORD PTR 8[rsp], esi
	call	VectorMA@PLT
	mov	ecx, DWORD PTR 24[rsp]
	mov	esi, DWORD PTR 40[rsp]
	mov	r8d, ebp
	mov	rdx, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 32[rsp]
	call	AAS_DebugLine@PLT
	mov	ecx, DWORD PTR 24[rsp]
	mov	esi, DWORD PTR 84[rsp]
	mov	r8d, ebx
	mov	rdx, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 76[rsp]
	call	AAS_DebugLine@PLT
	mov	ecx, DWORD PTR 24[rsp]
	mov	esi, DWORD PTR 96[rsp]
	mov	r8d, ebx
	mov	rdx, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 88[rsp]
	add	rsp, 120
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	AAS_DebugLine@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_def_cfa_offset 128
	mov	ecx, DWORD PTR 92[rsp]
	mov	r8, QWORD PTR 48[rsp]
	mov	r9d, DWORD PTR 56[rsp]
	mov	rdx, QWORD PTR 84[rsp]
	mov	rdi, QWORD PTR 36[rsp]
	mov	esi, DWORD PTR 44[rsp]
	call	CrossProduct@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	AAS_DrawArrow, .-AAS_DrawArrow
	.section	.rodata.cst8,"aM",@progbits,8
	.align 8
.LC0:
	.long	2061584302
	.long	1072672276
	.align 8
.LC1:
	.long	2061584302
	.long	-1074811372
	.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_be_aas_debug.c_AAS_DrawArrow.c"
	.text
	.global	__aeabi_f2d
	.global	__aeabi_dcmpgt
	.global	__aeabi_dcmplt
	.align	2
	.global	AAS_DrawArrow
	.syntax unified
	.arm
	.fpu softvfp
	.type	AAS_DrawArrow, %function
AAS_DrawArrow:
	@ args = 24, pretend = 8, frame = 80
	@ frame_needed = 0, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	ip, #0
	mov	lr, #1
	sub	sp, sp, #108
	add	r4, sp, #44
	add	r5, sp, #28
	add	r7, sp, #8
	stm	r5, {r0, r1, r2}
	ldm	r4, {r0, r1, r2}
	stm	r7, {r0, r1, r2}
	ldr	r1, [sp, #36]
	ldr	r0, [sp, #32]
	str	r3, [sp, #148]
	stm	sp, {r0, r1}
	add	r6, sp, #148
	str	ip, [sp, #92]
	str	ip, [sp, #96]
	str	lr, [sp, #100]
	ldr	r3, [sp, #28]
	ldm	r6, {r0, r1, r2}
	ldr	fp, [sp, #164]
	add	r10, sp, #96
	bl	VectorSubtract
	ldm	r4, {r0, r1, r2}
	bl	VectorNormalize
	ldm	r10, {r0, r1}
	stm	sp, {r0, r1}
	ldr	r3, [sp, #92]
	ldm	r4, {r0, r1, r2}
	bl	DotProduct
	bl	__aeabi_f2d
	ldr	r2, .L9
	ldr	r3, .L9+4
	mov	r8, r0
	mov	r9, r1
	bl	__aeabi_dcmpgt
	cmp	r0, #0
	bne	.L2
	mov	r0, r8
	mov	r1, r9
	ldr	r2, .L9
	ldr	r3, .L9+8
	bl	__aeabi_dcmplt
	cmp	r0, #0
	beq	.L6
.L2:
	mov	r3, #0
	add	r8, sp, #56
	str	r3, [sp, #4]
	str	r3, [sp]
	ldm	r8, {r0, r1, r2}
	mov	r3, #1
	bl	VectorSet
.L5:
	add	r7, sp, #68
	add	r9, sp, #12
	ldm	r7, {r0, r1, r2}
	stm	r9, {r0, r1, r2}
	ldm	r4, {r0, r1, r2}
	stm	sp, {r0, r1, r2}
	mvn	r3, #5
	ldm	r6, {r0, r1, r2}
	bl	VectorMA
	ldr	r1, [sp, #88]
	ldr	r0, [sp, #84]
	ldr	r3, [sp, #80]
	stm	sp, {r0, r1}
	ldm	r7, {r0, r1, r2}
	bl	VectorCopy
	ldm	r7, {r0, r1, r2}
	stm	r9, {r0, r1, r2}
	ldm	r8, {r0, r1, r2}
	stm	sp, {r0, r1, r2}
	add	r4, sp, #80
	ldm	r7, {r0, r1, r2}
	mov	r3, #6
	bl	VectorMA
	ldm	r4, {r0, r1, r2}
	stm	r9, {r0, r1, r2}
	ldm	r8, {r0, r1, r2}
	stm	sp, {r0, r1, r2}
	add	r6, sp, #152
	ldm	r4, {r0, r1, r2}
	mvn	r3, #5
	bl	VectorMA
	ldm	r6, {r0, r1}
	ldr	r3, [sp, #160]
	stm	sp, {r0, r1}
	str	r3, [sp, #8]
	ldm	r5, {r0, r1, r2}
	ldr	r3, [sp, #148]
	bl	AAS_DebugLine
	ldm	r6, {r0, r1}
	stm	sp, {r0, r1}
	str	fp, [sp, #8]
	ldm	r7, {r0, r1, r2}
	ldr	r3, [sp, #148]
	bl	AAS_DebugLine
	ldm	r6, {r0, r1}
	stm	sp, {r0, r1}
	str	fp, [sp, #8]
	ldr	r3, [sp, #148]
	ldm	r4, {r0, r1, r2}
	bl	AAS_DebugLine
	add	sp, sp, #108
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	sp, sp, #8
	bx	lr
.L6:
	add	r8, sp, #56
	ldm	r8, {r0, r1, r2}
	stm	r7, {r0, r1, r2}
	ldm	r10, {r0, r1}
	stm	sp, {r0, r1}
	ldr	r3, [sp, #92]
	ldm	r4, {r0, r1, r2}
	bl	CrossProduct
	b	.L5
.L10:
	.align	2
.L9:
	.word	2061584302
	.word	1072672276
	.word	-1074811372
	.size	AAS_DrawArrow, .-AAS_DrawArrow
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
