	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function AAS_DrawArrow
LCPI0_0:
	.quad	0x3fefae147ae147ae              ## double 0.98999999999999999
LCPI0_1:
	.quad	0xbfefae147ae147ae              ## double -0.98999999999999999
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_AAS_DrawArrow
	.p2align	4, 0x90
_AAS_DrawArrow:                         ## @AAS_DrawArrow
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -68(%rbp)                 ## 4-byte Spill
	movl	%r8d, -64(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movl	%esi, %ecx
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	callq	_VectorSubtract
	callq	_VectorNormalize
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_DotProduct
	cvtss2sd	%xmm0, %xmm0
	ucomisd	LCPI0_0(%rip), %xmm0
	ja	LBB0_2
## %bb.1:
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	ja	LBB0_2
## %bb.3:
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_CrossProduct
	jmp	LBB0_4
LBB0_2:
	movl	$1, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_VectorSet
LBB0_4:
	movl	-48(%rbp), %eax
	movq	-56(%rbp), %rcx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movl	$-6, %edx
	pushq	%rax
	pushq	%rcx
	callq	_VectorMA
	addq	$16, %rsp
	movq	-56(%rbp), %r14
	movl	-48(%rbp), %r13d
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_VectorCopy
	movl	-48(%rbp), %eax
	movq	-56(%rbp), %rcx
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	$6, %edx
	pushq	%rax
	pushq	%rcx
	callq	_VectorMA
	addq	$16, %rsp
	movl	-72(%rbp), %eax
	movq	-80(%rbp), %rcx
	movl	$-6, %edx
	pushq	%rax
	pushq	%rcx
	callq	_VectorMA
	addq	$16, %rsp
	movq	%rbx, %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movq	%r12, %rdx
	movl	%r15d, %ecx
	movl	-64(%rbp), %r8d                 ## 4-byte Reload
	callq	_AAS_DebugLine
	movq	-56(%rbp), %rdi
	movl	-48(%rbp), %esi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %r8d
	callq	_AAS_DebugLine
	movq	-80(%rbp), %rdi
	movl	-72(%rbp), %esi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	movl	%ebx, %r8d
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AAS_DebugLine                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_DrawArrow                  ; -- Begin function AAS_DrawArrow
	.p2align	2
_AAS_DrawArrow:                         ; @AAS_DrawArrow
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x5
	mov	x22, x4
	mov	x20, x2
	mov	x23, x0
	and	x21, x3, #0xffffffff
	and	x24, x1, #0xffffffff
	mov	x0, x2
	mov	x1, x21
	mov	x2, x23
	mov	x3, x24
	mov	x5, #0
	bl	_VectorSubtract
	mov	x1, #0
	bl	_VectorNormalize
	mov	x1, #0
	mov	x2, #0
	mov	w3, #1
	bl	_DotProduct
	fcvt	d0, s0
	mov	x8, #18350
	movk	x8, #31457, lsl #16
	movk	x8, #44564, lsl #32
	movk	x8, #16367, lsl #48
	fmov	d1, x8
	fcmp	d0, d1
	mov	x8, #18350
	movk	x8, #31457, lsl #16
	movk	x8, #44564, lsl #32
	movk	x8, #49135, lsl #48
	fmov	d1, x8
	fccmp	d0, d1, #8, le
	b.pl	LBB0_2
; %bb.1:
	mov	x1, #0
	mov	w2, #1
	mov	w3, #0
	mov	w4, #0
	bl	_VectorSet
	b	LBB0_3
LBB0_2:
	mov	x1, #0
	mov	x2, #0
	mov	w3, #1
	mov	x5, #0
	bl	_CrossProduct
LBB0_3:
	mov	x0, x20
	mov	x1, x21
	mov	w2, #-6
	mov	x4, #0
	mov	x6, #0
	bl	_VectorMA
	mov	x1, #0
	mov	x3, #0
	bl	_VectorCopy
	mov	x1, #0
	mov	w2, #6
	mov	x4, #0
	mov	x6, #0
	bl	_VectorMA
	mov	x1, #0
	mov	w2, #-6
	mov	x4, #0
	mov	x6, #0
	bl	_VectorMA
	mov	x0, x23
	mov	x1, x24
	mov	x2, x20
	mov	x3, x21
	mov	x4, x22
	bl	_AAS_DebugLine
	mov	x1, #0
	mov	x2, x20
	mov	x3, x21
	mov	x4, x19
	bl	_AAS_DebugLine
	mov	x1, #0
	mov	x2, x20
	mov	x3, x21
	mov	x4, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_AAS_DebugLine
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
