	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Preferences_SetMenuItems
_Preferences_SetMenuItems:              ## @Preferences_SetMenuItems
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	leaq	L_.str(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	movq	_NUM_CROSSHAIRS@GOTPCREL(%rip), %rcx
                                        ## kill: def $eax killed $eax killed $rax
	cltd
	idivl	(%rcx)
	movq	_s_preferences@GOTPCREL(%rip), %rbx
	movl	%edx, 40(%rbx)
	leaq	L_.str.1(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, 36(%rbx)
	leaq	L_.str.2(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, 32(%rbx)
	leaq	L_.str.3(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, 28(%rbx)
	leaq	L_.str.4(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, 24(%rbx)
	leaq	L_.str.5(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, 20(%rbx)
	leaq	L_.str.6(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	movl	%ecx, 16(%rbx)
	leaq	L_.str.7(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, 12(%rbx)
	leaq	L_.str.8(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, 8(%rbx)
	leaq	L_.str.9(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	xorl	%edi, %edi
	movl	$3, %esi
	movq	%rax, %rdx
	callq	_Com_Clamp
	movl	%eax, 4(%rbx)
	leaq	L_.str.10(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cg_drawCrosshair"

	.comm	_NUM_CROSSHAIRS,4,2             ## @NUM_CROSSHAIRS
	.comm	_s_preferences,44,2             ## @s_preferences
L_.str.1:                               ## @.str.1
	.asciz	"cg_simpleItems"

L_.str.2:                               ## @.str.2
	.asciz	"cg_brassTime"

L_.str.3:                               ## @.str.3
	.asciz	"cg_marks"

L_.str.4:                               ## @.str.4
	.asciz	"cg_drawCrosshairNames"

L_.str.5:                               ## @.str.5
	.asciz	"r_dynamiclight"

L_.str.6:                               ## @.str.6
	.asciz	"r_fastsky"

L_.str.7:                               ## @.str.7
	.asciz	"r_finish"

L_.str.8:                               ## @.str.8
	.asciz	"cg_forcemodel"

L_.str.9:                               ## @.str.9
	.asciz	"cg_drawTeamOverlay"

L_.str.10:                              ## @.str.10
	.asciz	"cl_allowDownload"

	.no_dead_strip	_Preferences_SetMenuItems
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Preferences_SetMenuItems
_Preferences_SetMenuItems:              ; @Preferences_SetMenuItems
	.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	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_trap_Cvar_VariableValue
Lloh2:
	adrp	x8, _NUM_CROSSHAIRS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NUM_CROSSHAIRS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	sdiv	w9, w0, w8
	msub	w8, w9, w8, w0
Lloh5:
	adrp	x19, _s_preferences@GOTPAGE
Lloh6:
	ldr	x19, [x19, _s_preferences@GOTPAGEOFF]
	str	w8, [x19, #40]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_trap_Cvar_VariableValue
	cmp	x0, #0
	cset	w8, ne
	str	w8, [x19, #36]
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_trap_Cvar_VariableValue
	cmp	x0, #0
	cset	w8, ne
	str	w8, [x19, #32]
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_trap_Cvar_VariableValue
	cmp	x0, #0
	cset	w8, ne
	str	w8, [x19, #28]
Lloh13:
	adrp	x0, l_.str.4@PAGE
Lloh14:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_trap_Cvar_VariableValue
	cmp	x0, #0
	cset	w8, ne
	str	w8, [x19, #24]
Lloh15:
	adrp	x0, l_.str.5@PAGE
Lloh16:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_trap_Cvar_VariableValue
	cmp	x0, #0
	cset	w8, ne
	str	w8, [x19, #20]
Lloh17:
	adrp	x0, l_.str.6@PAGE
Lloh18:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_trap_Cvar_VariableValue
	cmp	x0, #0
	cset	w8, eq
	str	w8, [x19, #16]
Lloh19:
	adrp	x0, l_.str.7@PAGE
Lloh20:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_trap_Cvar_VariableValue
	cmp	x0, #0
	cset	w8, ne
	str	w8, [x19, #12]
Lloh21:
	adrp	x0, l_.str.8@PAGE
Lloh22:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_trap_Cvar_VariableValue
	cmp	x0, #0
	cset	w8, ne
	str	w8, [x19, #8]
Lloh23:
	adrp	x0, l_.str.9@PAGE
Lloh24:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_trap_Cvar_VariableValue
	mov	x2, x0
	mov	w0, #0
	mov	w1, #3
	bl	_Com_Clamp
	str	w0, [x19, #4]
Lloh25:
	adrp	x0, l_.str.10@PAGE
Lloh26:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_trap_Cvar_VariableValue
	cmp	x0, #0
	cset	w8, ne
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cg_drawCrosshair"

	.comm	_NUM_CROSSHAIRS,4,2             ; @NUM_CROSSHAIRS
	.comm	_s_preferences,44,2             ; @s_preferences
l_.str.1:                               ; @.str.1
	.asciz	"cg_simpleItems"

l_.str.2:                               ; @.str.2
	.asciz	"cg_brassTime"

l_.str.3:                               ; @.str.3
	.asciz	"cg_marks"

l_.str.4:                               ; @.str.4
	.asciz	"cg_drawCrosshairNames"

l_.str.5:                               ; @.str.5
	.asciz	"r_dynamiclight"

l_.str.6:                               ; @.str.6
	.asciz	"r_fastsky"

l_.str.7:                               ; @.str.7
	.asciz	"r_finish"

l_.str.8:                               ; @.str.8
	.asciz	"cg_forcemodel"

l_.str.9:                               ; @.str.9
	.asciz	"cg_drawTeamOverlay"

l_.str.10:                              ; @.str.10
	.asciz	"cl_allowDownload"

	.no_dead_strip	_Preferences_SetMenuItems
.subsections_via_symbols
