	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CG_Mover
_CG_Mover:                              ## @CG_Mover
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	4(%rbx), %edi
	movl	-28(%rbp), %esi
	callq	_VectorCopy
	movl	4(%rbx), %edi
	movl	-32(%rbp), %esi
	callq	_VectorCopy
	movl	(%rbx), %edi
	movl	-36(%rbp), %esi
	callq	_AnglesToAxis
	movq	_RF_NOSHADOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_cg@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shrl	$6, %eax
	andl	$1, %eax
	movl	%eax, -48(%rbp)
	movq	_SOLID_BMODEL@GOTPCREL(%rip), %rax
	movq	_cgs@GOTPCREL(%rip), %r15
	leaq	8(%r15), %rcx
	movq	8(%rbx), %rdx
	cmpq	(%rax), %rdx
	cmovneq	%r15, %rcx
	movq	16(%rbx), %rax
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, -44(%rbp)
	movq	%r14, %rdi
	callq	_trap_R_AddRefEntityToScene
	movslq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$0, -48(%rbp)
	movq	(%r15), %rcx
	movl	(%rcx,%rax,4), %eax
	movl	%eax, -44(%rbp)
	leaq	-48(%rbp), %rdi
	callq	_trap_R_AddRefEntityToScene
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RF_NOSHADOW,4,2                ## @RF_NOSHADOW
	.comm	_cg,4,2                         ## @cg
	.comm	_SOLID_BMODEL,8,3               ## @SOLID_BMODEL
	.comm	_cgs,16,3                       ## @cgs
	.no_dead_strip	_CG_Mover
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_Mover
_CG_Mover:                              ; @CG_Mover
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	w0, [x19, #4]
	ldr	w1, [sp, #28]
	bl	_VectorCopy
	ldr	w0, [x19, #4]
	ldr	w1, [sp, #24]
	bl	_VectorCopy
	ldr	w0, [x19]
	ldr	w1, [sp, #20]
	bl	_AnglesToAxis
Lloh0:
	adrp	x8, _RF_NOSHADOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RF_NOSHADOW@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _cg@GOTPAGE
Lloh4:
	ldr	x9, [x9, _cg@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ubfx	w9, w9, #6, #1
	str	w8, [sp, #16]
	str	w9, [sp, #8]
Lloh6:
	adrp	x8, _SOLID_BMODEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SOLID_BMODEL@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x20, _cgs@GOTPAGE
Lloh10:
	ldr	x20, [x20, _cgs@GOTPAGEOFF]
	add	x9, x20, #8
	ldp	x10, x11, [x19, #8]
	cmp	x10, x8
	csel	x8, x9, x20, eq
	ldr	x8, [x8]
	ldr	w8, [x8, x11, lsl #2]
	str	w8, [sp, #12]
	add	x0, sp, #8
	bl	_trap_R_AddRefEntityToScene
	ldrsw	x8, [x19, #24]
	cbz	w8, LBB0_2
; %bb.1:
	str	wzr, [sp, #8]
	ldr	x9, [x20]
	ldr	w8, [x9, x8, lsl #2]
	str	w8, [sp, #12]
	add	x0, sp, #8
	bl	_trap_R_AddRefEntityToScene
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RF_NOSHADOW,4,2                ; @RF_NOSHADOW
	.comm	_cg,4,2                         ; @cg
	.comm	_SOLID_BMODEL,8,3               ; @SOLID_BMODEL
	.comm	_cgs,16,3                       ; @cgs
	.no_dead_strip	_CG_Mover
.subsections_via_symbols
