	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_OutOfAmmoChange             ## -- Begin function CG_OutOfAmmoChange
	.p2align	4, 0x90
_CG_OutOfAmmoChange:                    ## @CG_OutOfAmmoChange
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_cg@GOTPCREL(%rip), %r14
	movl	4(%r14), %eax
	movl	%eax, 8(%r14)
	movl	$15, %ebx
	movl	$15, %edi
	callq	_CG_WeaponSelectable
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movl	$14, %ebx
	movl	$14, %edi
	callq	_CG_WeaponSelectable
	testq	%rax, %rax
	jne	LBB0_1
## %bb.3:
	movl	$13, %ebx
	movl	$13, %edi
	callq	_CG_WeaponSelectable
	testq	%rax, %rax
	jne	LBB0_1
## %bb.4:
	movl	$12, %ebx
	movl	$12, %edi
	callq	_CG_WeaponSelectable
	testq	%rax, %rax
	jne	LBB0_1
## %bb.5:
	movl	$11, %ebx
	movl	$11, %edi
	callq	_CG_WeaponSelectable
	testq	%rax, %rax
	jne	LBB0_1
## %bb.6:
	movl	$10, %ebx
	movl	$10, %edi
	callq	_CG_WeaponSelectable
	testq	%rax, %rax
	jne	LBB0_1
## %bb.7:
	movl	$9, %ebx
	movl	$9, %edi
	callq	_CG_WeaponSelectable
	testq	%rax, %rax
	jne	LBB0_1
## %bb.8:
	movl	$8, %ebx
	movl	$8, %edi
	callq	_CG_WeaponSelectable
	testq	%rax, %rax
	jne	LBB0_1
## %bb.9:
	movl	$7, %ebx
	movl	$7, %edi
	callq	_CG_WeaponSelectable
	testq	%rax, %rax
	jne	LBB0_1
## %bb.10:
	movl	$6, %ebx
	movl	$6, %edi
	callq	_CG_WeaponSelectable
	testq	%rax, %rax
	jne	LBB0_1
## %bb.11:
	movl	$5, %ebx
	movl	$5, %edi
	callq	_CG_WeaponSelectable
	testq	%rax, %rax
	jne	LBB0_1
## %bb.12:
	movl	$4, %ebx
	movl	$4, %edi
	callq	_CG_WeaponSelectable
	testq	%rax, %rax
	jne	LBB0_1
## %bb.13:
	movl	$3, %ebx
	movl	$3, %edi
	callq	_CG_WeaponSelectable
	testq	%rax, %rax
	jne	LBB0_1
## %bb.14:
	movl	$2, %ebx
	movl	$2, %edi
	callq	_CG_WeaponSelectable
	testq	%rax, %rax
	jne	LBB0_1
## %bb.15:
	movl	$1, %ebx
	movl	$1, %edi
	callq	_CG_WeaponSelectable
	testq	%rax, %rax
	je	LBB0_16
LBB0_1:
	movl	%ebx, (%r14)
LBB0_16:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cg,12,2                        ## @cg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_OutOfAmmoChange             ; -- Begin function CG_OutOfAmmoChange
	.p2align	2
_CG_OutOfAmmoChange:                    ; @CG_OutOfAmmoChange
	.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	w8, [x19, #4]
	str	w8, [x19, #8]
	mov	w20, #15
	mov	w0, #15
	bl	_CG_WeaponSelectable
	cbnz	x0, LBB0_15
; %bb.1:
	mov	w20, #14
	mov	w0, #14
	bl	_CG_WeaponSelectable
	cbnz	x0, LBB0_15
; %bb.2:
	mov	w20, #13
	mov	w0, #13
	bl	_CG_WeaponSelectable
	cbnz	x0, LBB0_15
; %bb.3:
	mov	w20, #12
	mov	w0, #12
	bl	_CG_WeaponSelectable
	cbnz	x0, LBB0_15
; %bb.4:
	mov	w20, #11
	mov	w0, #11
	bl	_CG_WeaponSelectable
	cbnz	x0, LBB0_15
; %bb.5:
	mov	w20, #10
	mov	w0, #10
	bl	_CG_WeaponSelectable
	cbnz	x0, LBB0_15
; %bb.6:
	mov	w20, #9
	mov	w0, #9
	bl	_CG_WeaponSelectable
	cbnz	x0, LBB0_15
; %bb.7:
	mov	w20, #8
	mov	w0, #8
	bl	_CG_WeaponSelectable
	cbnz	x0, LBB0_15
; %bb.8:
	mov	w20, #7
	mov	w0, #7
	bl	_CG_WeaponSelectable
	cbnz	x0, LBB0_15
; %bb.9:
	mov	w20, #6
	mov	w0, #6
	bl	_CG_WeaponSelectable
	cbnz	x0, LBB0_15
; %bb.10:
	mov	w20, #5
	mov	w0, #5
	bl	_CG_WeaponSelectable
	cbnz	x0, LBB0_15
; %bb.11:
	mov	w20, #4
	mov	w0, #4
	bl	_CG_WeaponSelectable
	cbnz	x0, LBB0_15
; %bb.12:
	mov	w20, #3
	mov	w0, #3
	bl	_CG_WeaponSelectable
	cbnz	x0, LBB0_15
; %bb.13:
	mov	w20, #2
	mov	w0, #2
	bl	_CG_WeaponSelectable
	cbnz	x0, LBB0_15
; %bb.14:
	mov	w20, #1
	mov	w0, #1
	bl	_CG_WeaponSelectable
	cbz	x0, LBB0_16
LBB0_15:
	str	w20, [x19]
LBB0_16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_cg,12,2                        ; @cg
.subsections_via_symbols
