	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function AngleVectors
LCPI0_0:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_AngleVectors
	.p2align	4, 0x90
_AngleVectors:                          ## @AngleVectors
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_YAW@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_M_PI@GOTPCREL(%rip), %r13
	movslq	(%r13), %rdi
	imulq	$-1240768329, %rdi, %rbx        ## imm = 0xB60B60B7
	shrq	$32, %rbx
	addl	%edi, %ebx
	movl	%ebx, %edi
	shrl	$31, %edi
	sarl	$7, %ebx
	addl	%edi, %ebx
	imull	(%r14,%rax,4), %ebx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r12
	cvtsi2ss	%ebx, %xmm0
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	callq	_sin
	movss	%xmm0, _AngleVectors.sy(%rip)
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_cos
	movss	%xmm0, _AngleVectors.cy(%rip)
	movq	_PITCH@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%r13), %rcx
	imulq	$-1240768329, %rcx, %rdx        ## imm = 0xB60B60B7
	shrq	$32, %rdx
	addl	%ecx, %edx
	movl	%edx, %ecx
	shrl	$31, %ecx
	sarl	$7, %edx
	addl	%ecx, %edx
	imull	(%r14,%rax,4), %edx
	xorps	%xmm0, %xmm0
	cvtsi2ss	%edx, %xmm0
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	callq	_sin
	movss	%xmm0, _AngleVectors.sp(%rip)
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_cos
	movss	%xmm0, _AngleVectors.cp(%rip)
	movq	_ROLL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%r13), %rcx
	imulq	$-1240768329, %rcx, %rdx        ## imm = 0xB60B60B7
	shrq	$32, %rdx
	addl	%ecx, %edx
	movl	%edx, %ecx
	shrl	$31, %ecx
	sarl	$7, %edx
	addl	%ecx, %edx
	imull	(%r14,%rax,4), %edx
	xorps	%xmm0, %xmm0
	cvtsi2ss	%edx, %xmm0
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	callq	_sin
	movss	%xmm0, _AngleVectors.sr(%rip)
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	callq	_cos
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	movss	_AngleVectors.cp(%rip), %xmm1   ## xmm1 = mem[0],zero,zero,zero
	movss	_AngleVectors.cy(%rip), %xmm2   ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm2
	cvttss2si	%xmm2, %eax
	movl	%eax, (%r12)
	mulss	_AngleVectors.sy(%rip), %xmm1
	cvttss2si	%xmm1, %eax
	movl	%eax, 4(%r12)
	movss	_AngleVectors.sp(%rip), %xmm1   ## xmm1 = mem[0],zero,zero,zero
	xorps	LCPI0_0(%rip), %xmm1
	cvttss2si	%xmm1, %eax
	movl	%eax, 8(%r12)
LBB0_2:
	testq	%r15, %r15
	je	LBB0_4
## %bb.3:
	movss	_AngleVectors.sr(%rip), %xmm1   ## xmm1 = mem[0],zero,zero,zero
	xorps	LCPI0_0(%rip), %xmm1
	movss	_AngleVectors.sp(%rip), %xmm2   ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm1, %xmm2
	movss	_AngleVectors.cy(%rip), %xmm3   ## xmm3 = mem[0],zero,zero,zero
	movss	_AngleVectors.sy(%rip), %xmm4   ## xmm4 = mem[0],zero,zero,zero
	movaps	%xmm0, %xmm5
	mulss	%xmm4, %xmm5
	movaps	%xmm2, %xmm6
	mulss	%xmm3, %xmm6
	addss	%xmm5, %xmm6
	cvttss2si	%xmm6, %eax
	mulss	%xmm0, %xmm3
	mulss	%xmm4, %xmm2
	subss	%xmm3, %xmm2
	cvttss2si	%xmm2, %ecx
	movl	%eax, (%r15)
	movl	%ecx, 4(%r15)
	mulss	_AngleVectors.cp(%rip), %xmm1
	cvttss2si	%xmm1, %eax
	movl	%eax, 8(%r15)
LBB0_4:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.5:
	movss	_AngleVectors.sp(%rip), %xmm1   ## xmm1 = mem[0],zero,zero,zero
	mulss	%xmm0, %xmm1
	movss	_AngleVectors.cy(%rip), %xmm2   ## xmm2 = mem[0],zero,zero,zero
	movss	_AngleVectors.sr(%rip), %xmm3   ## xmm3 = mem[0],zero,zero,zero
	movss	_AngleVectors.sy(%rip), %xmm4   ## xmm4 = mem[0],zero,zero,zero
	movaps	%xmm1, %xmm5
	mulss	%xmm2, %xmm5
	mulss	%xmm3, %xmm2
	mulss	%xmm4, %xmm3
	addss	%xmm3, %xmm5
	cvttss2si	%xmm5, %eax
	mulss	%xmm4, %xmm1
	subss	%xmm2, %xmm1
	cvttss2si	%xmm1, %ecx
	movl	%eax, (%rdx)
	movl	%ecx, 4(%rdx)
	mulss	_AngleVectors.cp(%rip), %xmm0
	cvttss2si	%xmm0, %eax
	movl	%eax, 8(%rdx)
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_AngleVectors.sr,4,2 ## @AngleVectors.sr
.zerofill __DATA,__bss,_AngleVectors.sp,4,2 ## @AngleVectors.sp
.zerofill __DATA,__bss,_AngleVectors.sy,4,2 ## @AngleVectors.sy
.zerofill __DATA,__bss,_AngleVectors.cp,4,2 ## @AngleVectors.cp
.zerofill __DATA,__bss,_AngleVectors.cy,4,2 ## @AngleVectors.cy
	.comm	_YAW,8,3                        ## @YAW
	.comm	_M_PI,4,2                       ## @M_PI
	.comm	_PITCH,8,3                      ## @PITCH
	.comm	_ROLL,8,3                       ## @ROLL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AngleVectors                   ; -- Begin function AngleVectors
	.p2align	2
_AngleVectors:                          ; @AngleVectors
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _YAW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _YAW@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x0, x8, lsl #2]
Lloh3:
	adrp	x27, _M_PI@GOTPAGE
Lloh4:
	ldr	x27, [x27, _M_PI@GOTPAGEOFF]
	ldrsw	x9, [x27]
	mov	x28, #-40777
	movk	x28, #46603, lsl #16
	mul	x10, x9, x28
	lsr	x10, x10, #32
	add	w9, w10, w9
	asr	w10, w9, #7
	add	w9, w10, w9, lsr #31
	mul	w8, w9, w8
	scvtf	s8, w8
	fmov	s0, s8
	bl	_sin
	adrp	x23, _AngleVectors.sy@PAGE
	str	s0, [x23, _AngleVectors.sy@PAGEOFF]
	fmov	s0, s8
	bl	_cos
	adrp	x24, _AngleVectors.cy@PAGE
	str	s0, [x24, _AngleVectors.cy@PAGEOFF]
Lloh5:
	adrp	x8, _PITCH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PITCH@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	w8, [x22, x8, lsl #2]
	ldrsw	x9, [x27]
	mul	x10, x9, x28
	lsr	x10, x10, #32
	add	w9, w10, w9
	asr	w10, w9, #7
	add	w9, w10, w9, lsr #31
	mul	w8, w9, w8
	scvtf	s8, w8
	fmov	s0, s8
	bl	_sin
	adrp	x26, _AngleVectors.sp@PAGE
	str	s0, [x26, _AngleVectors.sp@PAGEOFF]
	fmov	s0, s8
	bl	_cos
	adrp	x25, _AngleVectors.cp@PAGE
	str	s0, [x25, _AngleVectors.cp@PAGEOFF]
Lloh8:
	adrp	x8, _ROLL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ROLL@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	w8, [x22, x8, lsl #2]
	ldrsw	x9, [x27]
	mul	x10, x9, x28
	lsr	x10, x10, #32
	add	w9, w10, w9
	asr	w10, w9, #7
	add	w9, w10, w9, lsr #31
	mul	w8, w9, w8
	scvtf	s8, w8
	fmov	s0, s8
	bl	_sin
	adrp	x22, _AngleVectors.sr@PAGE
	str	s0, [x22, _AngleVectors.sr@PAGEOFF]
	fmov	s0, s8
	bl	_cos
	cbz	x21, LBB0_2
; %bb.1:
	ldr	s1, [x25, _AngleVectors.cp@PAGEOFF]
	ldr	s2, [x24, _AngleVectors.cy@PAGEOFF]
	fmul	s2, s1, s2
	fcvtzs	w8, s2
	ldr	s2, [x23, _AngleVectors.sy@PAGEOFF]
	fmul	s1, s1, s2
	fcvtzs	w9, s1
	stp	w8, w9, [x21]
	ldr	s1, [x26, _AngleVectors.sp@PAGEOFF]
	fneg	s1, s1
	fcvtzs	w8, s1
	str	w8, [x21, #8]
LBB0_2:
	cbz	x20, LBB0_4
; %bb.3:
	ldr	s1, [x22, _AngleVectors.sr@PAGEOFF]
	fneg	s1, s1
	ldr	s2, [x26, _AngleVectors.sp@PAGEOFF]
	fmul	s2, s2, s1
	ldr	s3, [x24, _AngleVectors.cy@PAGEOFF]
	ldr	s4, [x23, _AngleVectors.sy@PAGEOFF]
	fmul	s5, s0, s4
	fmadd	s5, s2, s3, s5
	fcvtzs	w8, s5
	fneg	s5, s0
	fmul	s3, s3, s5
	fmadd	s2, s2, s4, s3
	fcvtzs	w9, s2
	stp	w8, w9, [x20]
	ldr	s2, [x25, _AngleVectors.cp@PAGEOFF]
	fmul	s1, s2, s1
	fcvtzs	w8, s1
	str	w8, [x20, #8]
LBB0_4:
	cbz	x19, LBB0_6
; %bb.5:
	ldr	s1, [x26, _AngleVectors.sp@PAGEOFF]
	fmul	s1, s0, s1
	ldr	s2, [x24, _AngleVectors.cy@PAGEOFF]
	ldr	s3, [x22, _AngleVectors.sr@PAGEOFF]
	ldr	s4, [x23, _AngleVectors.sy@PAGEOFF]
	fmul	s5, s3, s4
	fmadd	s5, s1, s2, s5
	fcvtzs	w8, s5
	fneg	s3, s3
	fmul	s2, s2, s3
	fmadd	s1, s1, s4, s2
	fcvtzs	w9, s1
	stp	w8, w9, [x19]
	ldr	s1, [x25, _AngleVectors.cp@PAGEOFF]
	fmul	s0, s0, s1
	fcvtzs	w8, s0
	str	w8, [x19, #8]
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_AngleVectors.sr,4,2 ; @AngleVectors.sr
.zerofill __DATA,__bss,_AngleVectors.sp,4,2 ; @AngleVectors.sp
.zerofill __DATA,__bss,_AngleVectors.sy,4,2 ; @AngleVectors.sy
.zerofill __DATA,__bss,_AngleVectors.cp,4,2 ; @AngleVectors.cp
.zerofill __DATA,__bss,_AngleVectors.cy,4,2 ; @AngleVectors.cy
	.comm	_YAW,8,3                        ; @YAW
	.comm	_M_PI,4,2                       ; @M_PI
	.comm	_PITCH,8,3                      ; @PITCH
	.comm	_ROLL,8,3                       ; @ROLL
.subsections_via_symbols
