	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CG_WeaponSelectable
_CG_WeaponSelectable:                   ## @CG_WeaponSelectable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_cg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	8(%rax), %rcx
	movslq	%edi, %rdx
	cmpl	$0, (%rcx,%rdx,4)
	je	LBB0_3
## %bb.1:
	movq	(%rax), %rax
	movq	_STAT_WEAPONS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
	btl	%edi, %eax
	jb	LBB0_2
LBB0_3:
	movq	_qfalse@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_qtrue@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cg,8,3                         ## @cg
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_STAT_WEAPONS,8,3               ## @STAT_WEAPONS
	.comm	_qtrue,4,2                      ## @qtrue
	.no_dead_strip	_CG_WeaponSelectable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CG_WeaponSelectable
_CG_WeaponSelectable:                   ; @CG_WeaponSelectable
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _cg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cg@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	x8, [x9, #8]
	ldr	w10, [x8, w0, sxtw #2]
Lloh3:
	adrp	x8, _qfalse@GOTPAGE
Lloh4:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
	cbz	w10, LBB0_2
; %bb.1:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _STAT_WEAPONS@GOTPAGE
Lloh6:
	ldr	x10, [x10, _STAT_WEAPONS@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	ldr	w9, [x9, x10, lsl #2]
	lsr	w9, w9, w0
Lloh8:
	adrp	x10, _qtrue@GOTPAGE
Lloh9:
	ldr	x10, [x10, _qtrue@GOTPAGEOFF]
	tst	w9, #0x1
	csel	x8, x8, x10, eq
LBB0_2:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_cg,8,3                         ; @cg
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_STAT_WEAPONS,8,3               ; @STAT_WEAPONS
	.comm	_qtrue,4,2                      ; @qtrue
	.no_dead_strip	_CG_WeaponSelectable
.subsections_via_symbols
