	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CG_General
_CG_General:                            ## @CG_General
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	cmpq	$0, 8(%rdi)
	je	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movl	24(%rbx), %eax
	movl	%eax, -16(%rbp)
	movl	%eax, -12(%rbp)
	movq	$0, -24(%rbp)
	movl	4(%rbx), %edi
	movl	-32(%rbp), %esi
	callq	_VectorCopy
	movl	4(%rbx), %edi
	movl	-36(%rbp), %esi
	callq	_VectorCopy
	movq	_cgs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rbx), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, -40(%rbp)
	movq	16(%rbx), %rax
	movq	_cg@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	_RF_THIRD_PERSON@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -44(%rbp)
LBB0_3:
	movl	(%rbx), %edi
	movl	-48(%rbp), %esi
	callq	_AnglesToAxis
	leaq	-48(%rbp), %rdi
	callq	_trap_R_AddRefEntityToScene
LBB0_4:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cgs,8,3                        ## @cgs
	.comm	_cg,8,3                         ## @cg
	.comm	_RF_THIRD_PERSON,4,2            ## @RF_THIRD_PERSON
	.no_dead_strip	_CG_General
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_General
_CG_General:                            ; @CG_General
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	ldr	w8, [x19, #24]
	stp	w8, w8, [sp, #40]
	str	xzr, [sp, #32]
	ldr	w0, [x19, #4]
	ldr	w1, [sp, #24]
	bl	_VectorCopy
	ldr	w0, [x19, #4]
	ldr	w1, [sp, #20]
	bl	_VectorCopy
Lloh0:
	adrp	x8, _cgs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cgs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x9, x10, [x19, #8]
	ldr	w8, [x8, x9, lsl #2]
	str	w8, [sp, #16]
Lloh3:
	adrp	x8, _cg@GOTPAGE
Lloh4:
	ldr	x8, [x8, _cg@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x8, [x8]
	cmp	x10, x8
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _RF_THIRD_PERSON@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RF_THIRD_PERSON@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w8, w9, w8
	str	w8, [sp, #12]
LBB0_3:
	ldr	w0, [x19]
	ldr	w1, [sp, #8]
	bl	_AnglesToAxis
	add	x0, sp, #8
	bl	_trap_R_AddRefEntityToScene
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_cgs,8,3                        ; @cgs
	.comm	_cg,8,3                         ; @cg
	.comm	_RF_THIRD_PERSON,4,2            ; @RF_THIRD_PERSON
	.no_dead_strip	_CG_General
.subsections_via_symbols
