	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CG_AddTestModel
_CG_AddTestModel:                       ## @CG_AddTestModel
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_cg@GOTPCREL(%rip), %rbx
	movl	48(%rbx), %edi
	callq	_trap_R_RegisterModel
	movl	%eax, 16(%rbx)
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	cmpq	$0, 40(%rbx)
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %rsi
	movq	24(%rbx), %rdi
	callq	_VectorCopy
	movq	8(%rbx), %rax
	movq	32(%rbx), %rcx
	movq	(%rcx), %rdi
	movq	(%rax), %rsi
	callq	_VectorCopy
	movq	8(%rbx), %rax
	movq	32(%rbx), %rcx
	movq	8(%rcx), %rdi
	movq	8(%rax), %rsi
	callq	_VectorCopy
	movq	8(%rbx), %rax
	movq	32(%rbx), %rcx
	movq	16(%rcx), %rdi
	movq	16(%rax), %rsi
	callq	_VectorCopy
	movq	(%rbx), %rax
	movq	32(%rbx), %rdx
	movq	(%rdx), %r15
	movq	8(%rdx), %r11
	movq	_cg_gun_x@GOTPCREL(%rip), %r9
	movl	(%r9), %ebx
	imull	(%r15), %ebx
	addl	(%rax), %ebx
	movq	16(%rdx), %r14
	movl	%ebx, (%rax)
	movq	_cg_gun_y@GOTPCREL(%rip), %r8
	movl	(%r8), %edi
	imull	(%r11), %edi
	addl	%ebx, %edi
	movl	%edi, (%rax)
	movq	_cg_gun_z@GOTPCREL(%rip), %r10
	movl	(%r10), %ebx
	imull	(%r14), %ebx
	addl	%edi, %ebx
	movl	%ebx, (%rax)
	movl	(%r9), %edi
	movl	4(%r15), %ebx
	imull	%edi, %ebx
	addl	4(%rax), %ebx
	movl	%ebx, 4(%rax)
	movl	(%r8), %ecx
	movl	4(%r11), %edx
	imull	%ecx, %edx
	addl	%ebx, %edx
	movl	%edx, 4(%rax)
	movl	(%r10), %ebx
	movl	4(%r14), %esi
	imull	%ebx, %esi
	addl	%edx, %esi
	movl	%esi, 4(%rax)
	imull	8(%r15), %edi
	addl	8(%rax), %edi
	movl	%edi, 8(%rax)
	imull	8(%r11), %ecx
	addl	%edi, %ecx
	movl	%ecx, 8(%rax)
	imull	8(%r14), %ebx
	addl	%ecx, %ebx
	movl	%ebx, 8(%rax)
LBB0_3:
	movq	_cg@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_trap_R_AddRefEntityToScene     ## TAILCALL
LBB0_4:
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CG_Printf                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_cg,56,3                        ## @cg
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can't register model\n"

	.comm	_cg_gun_x,4,2                   ## @cg_gun_x
	.comm	_cg_gun_y,4,2                   ## @cg_gun_y
	.comm	_cg_gun_z,4,2                   ## @cg_gun_z
	.no_dead_strip	_CG_AddTestModel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_AddTestModel
_CG_AddTestModel:                       ; @CG_AddTestModel
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _cg@GOTPAGE
Lloh1:
	ldr	x19, [x19, _cg@GOTPAGEOFF]
	ldr	w0, [x19, #48]
	bl	_trap_R_RegisterModel
	str	w0, [x19, #16]
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x0, [x19, #24]
	ldr	x1, [x19]
	bl	_VectorCopy
	ldr	x8, [x19, #32]
	ldr	x0, [x8]
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
	bl	_VectorCopy
	ldr	x8, [x19, #32]
	ldr	x0, [x8, #8]
	ldr	x8, [x19, #8]
	ldr	x1, [x8, #8]
	bl	_VectorCopy
	ldr	x8, [x19, #32]
	ldr	x0, [x8, #16]
	ldr	x8, [x19, #8]
	ldr	x1, [x8, #16]
	bl	_VectorCopy
	ldr	x8, [x19, #32]
	ldr	x9, [x19]
	ldp	x10, x11, [x8]
	ldr	x8, [x8, #16]
	ldr	w12, [x10]
Lloh2:
	adrp	x13, _cg_gun_x@GOTPAGE
Lloh3:
	ldr	x13, [x13, _cg_gun_x@GOTPAGEOFF]
	ldr	w14, [x13]
	ldp	w15, w16, [x9]
	madd	w12, w14, w12, w15
	str	w12, [x9]
	ldr	w14, [x11]
Lloh4:
	adrp	x15, _cg_gun_y@GOTPAGE
Lloh5:
	ldr	x15, [x15, _cg_gun_y@GOTPAGEOFF]
	ldr	w17, [x15]
	madd	w12, w17, w14, w12
	str	w12, [x9]
	ldr	w14, [x8]
Lloh6:
	adrp	x17, _cg_gun_z@GOTPAGE
Lloh7:
	ldr	x17, [x17, _cg_gun_z@GOTPAGEOFF]
	ldr	w0, [x17]
	madd	w12, w0, w14, w12
	str	w12, [x9]
	ldr	w12, [x10, #4]
	ldr	w13, [x13]
	madd	w12, w13, w12, w16
	str	w12, [x9, #4]
	ldr	w14, [x11, #4]
	ldr	w15, [x15]
	madd	w12, w15, w14, w12
	str	w12, [x9, #4]
	ldr	w14, [x8, #4]
	ldr	w16, [x17]
	madd	w12, w16, w14, w12
	str	w12, [x9, #4]
	ldr	w10, [x10, #8]
	ldr	w12, [x9, #8]
	madd	w10, w13, w10, w12
	str	w10, [x9, #8]
	ldr	w11, [x11, #8]
	madd	w10, w15, w11, w10
	str	w10, [x9, #8]
	ldr	w8, [x8, #8]
	madd	w8, w16, w8, w10
	str	w8, [x9, #8]
LBB0_3:
Lloh8:
	adrp	x0, _cg@GOTPAGE
Lloh9:
	ldr	x0, [x0, _cg@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_trap_R_AddRefEntityToScene
LBB0_4:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_CG_Printf
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_cg,56,3                        ; @cg
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can't register model\n"

	.comm	_cg_gun_x,4,2                   ; @cg_gun_x
	.comm	_cg_gun_y,4,2                   ; @cg_gun_y
	.comm	_cg_gun_z,4,2                   ; @cg_gun_z
	.no_dead_strip	_CG_AddTestModel
.subsections_via_symbols
