	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ServerOptions_SetMenuItems
_ServerOptions_SetMenuItems:            ## @ServerOptions_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_NAMELENGTH@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_s_serveroptions@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$131, %eax
	jne	LBB0_3
## %bb.7:
	movslq	48(%r13), %rbx
	leaq	L_.str.8(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	xorl	%edi, %edi
	movl	$100, %esi
	movl	%eax, %edx
	callq	_Com_Clamp
	leaq	L_.str(%rip), %r14
	movq	%rbx, %rdi
	movl	$4, %esi
	movq	%r14, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_Com_sprintf
	movslq	44(%r13), %rbx
	leaq	L_.str.9(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	xorl	%edi, %edi
	movl	$999, %esi                      ## imm = 0x3E7
	movl	%eax, %edx
	callq	_Com_Clamp
	movq	%rbx, %rdi
	movl	$4, %esi
	movq	%r14, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_Com_sprintf
	leaq	L_.str.10(%rip), %rdi
	jmp	LBB0_8
LBB0_4:
	movslq	52(%r13), %rbx
	leaq	L_.str.3(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	xorl	%edi, %edi
	movl	$999, %esi                      ## imm = 0x3E7
	movl	%eax, %edx
	callq	_Com_Clamp
	leaq	L_.str(%rip), %r14
	movq	%rbx, %rdi
	movl	$4, %esi
	movq	%r14, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_Com_sprintf
	movslq	44(%r13), %rbx
	leaq	L_.str.4(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	xorl	%edi, %edi
	movl	$999, %esi                      ## imm = 0x3E7
	movl	%eax, %edx
	callq	_Com_Clamp
	movq	%rbx, %rdi
	movl	$4, %esi
	movq	%r14, %rdx
	jmp	LBB0_5
LBB0_6:
	movslq	52(%r13), %rbx
	leaq	L_.str.5(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	xorl	%edi, %edi
	movl	$999, %esi                      ## imm = 0x3E7
	movl	%eax, %edx
	callq	_Com_Clamp
	leaq	L_.str(%rip), %r14
	movq	%rbx, %rdi
	movl	$4, %esi
	movq	%r14, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_Com_sprintf
	movslq	44(%r13), %rbx
	leaq	L_.str.6(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	xorl	%edi, %edi
	movl	$999, %esi                      ## imm = 0x3E7
	movl	%eax, %edx
	callq	_Com_Clamp
	movq	%rbx, %rdi
	movl	$4, %esi
	movq	%r14, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_Com_sprintf
	leaq	L_.str.7(%rip), %rdi
LBB0_8:
	callq	_trap_Cvar_VariableValue
	xorl	%edi, %edi
	movl	$1, %esi
	movl	%eax, %edx
	callq	_Com_Clamp
	movl	%eax, 40(%r13)
	jmp	LBB0_9
LBB0_3:
	movslq	52(%r13), %r14
	leaq	L_.str.1(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	xorl	%edi, %edi
	movl	$999, %esi                      ## imm = 0x3E7
	movl	%eax, %edx
	callq	_Com_Clamp
	leaq	L_.str(%rip), %r15
	movq	%r14, %rdi
	movl	$4, %esi
	movq	%r15, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_Com_sprintf
	movslq	44(%r13), %rbx
	leaq	L_.str.2(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	xorl	%edi, %edi
	movl	$999, %esi                      ## imm = 0x3E7
	movl	%eax, %edx
	callq	_Com_Clamp
	movq	%rbx, %rdi
	movl	$4, %esi
	movq	%r15, %rdx
	movq	_MAX_NAMELENGTH@GOTPCREL(%rip), %r15
LBB0_5:
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_Com_sprintf
LBB0_9:
	movq	32(%r13), %rbx
	leaq	L_.str.11(%rip), %rdi
	callq	_UI_Cvar_VariableString
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$8, %edx
	callq	_Q_strncpyz
	leaq	L_.str.12(%rip), %rdi
	callq	_trap_Cvar_VariableValue
	xorl	%edi, %edi
	movl	$1, %esi
	movl	%eax, %edx
	callq	_Com_Clamp
	movq	%rax, 24(%r13)
	movq	_s_startserver@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	16(%r14), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_UI_GetArenaInfoByNumber
	leaq	L_.str.13(%rip), %rsi
	movq	%rax, %rdi
	callq	_Info_ValueForKey
	movl	(%r15), %edx
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_Q_strncpyz
	movq	%r12, %rdi
	callq	_Q_strupr
	leaq	_ServerOptions_SetMenuItems.picname(%rip), %rbx
	leaq	L_.str.14(%rip), %rdx
	movq	%rbx, %rdi
	movl	$64, %esi
	movq	%r12, %rcx
	xorl	%eax, %eax
	callq	_Com_sprintf
	movq	%rbx, 16(%r13)
	movq	8(%r13), %rdi
	movl	8(%r14), %esi
	callq	_strcpy
	movq	8(%r13), %rdi
	callq	_Q_strupr
	xorl	%eax, %eax
	callq	_ServerOptions_InitPlayerItems
	xorl	%eax, %eax
	callq	_ServerOptions_SetPlayerItems
	xorl	%eax, %eax
	callq	_ServerOptions_InitBotNames
	xorl	%eax, %eax
	callq	_ServerOptions_SetPlayerItems
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_11
## %bb.10:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_ServerOptions_SetMenuItems.picname,64,4 ## @ServerOptions_SetMenuItems.picname
	.comm	_MAX_NAMELENGTH,4,2             ## @MAX_NAMELENGTH
	.comm	_s_serveroptions,56,3           ## @s_serveroptions
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%i"

L_.str.1:                               ## @.str.1
	.asciz	"ui_ffa_fraglimit"

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

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

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

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

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

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

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

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

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

L_.str.11:                              ## @.str.11
	.asciz	"sv_hostname"

L_.str.12:                              ## @.str.12
	.asciz	"sv_pure"

	.comm	_s_startserver,24,3             ## @s_startserver
L_.str.13:                              ## @.str.13
	.asciz	"map"

L_.str.14:                              ## @.str.14
	.asciz	"levelshots/%s"

	.no_dead_strip	_ServerOptions_SetMenuItems
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ServerOptions_SetMenuItems
_ServerOptions_SetMenuItems:            ; @ServerOptions_SetMenuItems
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x23, _MAX_NAMELENGTH@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MAX_NAMELENGTH@GOTPAGEOFF]
	ldr	w8, [x23]
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh7:
	adrp	x22, _s_serveroptions@GOTPAGE
Lloh8:
	ldr	x22, [x22, _s_serveroptions@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #131
	b.ne	LBB0_7
; %bb.3:
	ldrsw	x20, [x22, #48]
Lloh9:
	adrp	x0, l_.str.8@PAGE
Lloh10:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_trap_Cvar_VariableValue
	mov	x2, x0
	mov	w0, #0
	mov	w1, #100
	bl	_Com_Clamp
	str	x0, [sp, #-16]!
Lloh11:
	adrp	x21, l_.str@PAGE
Lloh12:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x20
	mov	w1, #4
	mov	x2, x21
	bl	_Com_sprintf
	add	sp, sp, #16
	ldrsw	x20, [x22, #44]
Lloh13:
	adrp	x0, l_.str.9@PAGE
Lloh14:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_trap_Cvar_VariableValue
	mov	x2, x0
	mov	w0, #0
	mov	w1, #999
	bl	_Com_Clamp
	str	x0, [sp, #-16]!
	mov	x0, x20
	mov	w1, #4
	mov	x2, x21
	bl	_Com_sprintf
	add	sp, sp, #16
Lloh15:
	adrp	x0, l_.str.10@PAGE
Lloh16:
	add	x0, x0, l_.str.10@PAGEOFF
	b	LBB0_6
LBB0_4:
	ldrsw	x20, [x22, #52]
Lloh17:
	adrp	x0, l_.str.3@PAGE
Lloh18:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_trap_Cvar_VariableValue
	mov	x2, x0
	mov	w0, #0
	mov	w1, #999
	bl	_Com_Clamp
	str	x0, [sp, #-16]!
Lloh19:
	adrp	x21, l_.str@PAGE
Lloh20:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x20
	mov	w1, #4
	mov	x2, x21
	bl	_Com_sprintf
	add	sp, sp, #16
	ldrsw	x20, [x22, #44]
Lloh21:
	adrp	x0, l_.str.4@PAGE
Lloh22:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_8
LBB0_5:
	ldrsw	x20, [x22, #52]
Lloh23:
	adrp	x0, l_.str.5@PAGE
Lloh24:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_trap_Cvar_VariableValue
	mov	x2, x0
	mov	w0, #0
	mov	w1, #999
	bl	_Com_Clamp
	str	x0, [sp, #-16]!
Lloh25:
	adrp	x21, l_.str@PAGE
Lloh26:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x20
	mov	w1, #4
	mov	x2, x21
	bl	_Com_sprintf
	add	sp, sp, #16
	ldrsw	x20, [x22, #44]
Lloh27:
	adrp	x0, l_.str.6@PAGE
Lloh28:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_trap_Cvar_VariableValue
	mov	x2, x0
	mov	w0, #0
	mov	w1, #999
	bl	_Com_Clamp
	str	x0, [sp, #-16]!
	mov	x0, x20
	mov	w1, #4
	mov	x2, x21
	bl	_Com_sprintf
	add	sp, sp, #16
Lloh29:
	adrp	x0, l_.str.7@PAGE
Lloh30:
	add	x0, x0, l_.str.7@PAGEOFF
LBB0_6:
	bl	_trap_Cvar_VariableValue
	mov	x2, x0
	mov	w0, #0
	mov	w1, #1
	bl	_Com_Clamp
	str	w0, [x22, #40]
	b	LBB0_9
LBB0_7:
	ldrsw	x20, [x22, #52]
Lloh31:
	adrp	x0, l_.str.1@PAGE
Lloh32:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_trap_Cvar_VariableValue
	mov	x2, x0
	mov	w0, #0
	mov	w1, #999
	bl	_Com_Clamp
	str	x0, [sp, #-16]!
Lloh33:
	adrp	x21, l_.str@PAGE
Lloh34:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x20
	mov	w1, #4
	mov	x2, x21
	bl	_Com_sprintf
	add	sp, sp, #16
	ldrsw	x20, [x22, #44]
Lloh35:
	adrp	x0, l_.str.2@PAGE
Lloh36:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_8:
	bl	_trap_Cvar_VariableValue
	mov	x2, x0
	mov	w0, #0
	mov	w1, #999
	bl	_Com_Clamp
	str	x0, [sp, #-16]!
	mov	x0, x20
	mov	w1, #4
	mov	x2, x21
	bl	_Com_sprintf
	add	sp, sp, #16
LBB0_9:
	ldr	x20, [x22, #32]
Lloh37:
	adrp	x0, l_.str.11@PAGE
Lloh38:
	add	x0, x0, l_.str.11@PAGEOFF
	bl	_UI_Cvar_VariableString
	mov	x1, x0
	mov	x0, x20
	mov	w2, #8
	bl	_Q_strncpyz
Lloh39:
	adrp	x0, l_.str.12@PAGE
Lloh40:
	add	x0, x0, l_.str.12@PAGEOFF
	bl	_trap_Cvar_VariableValue
	mov	x2, x0
	mov	w0, #0
	mov	w1, #1
	bl	_Com_Clamp
	str	x0, [x22, #24]
Lloh41:
	adrp	x21, _s_startserver@GOTPAGE
Lloh42:
	ldr	x21, [x21, _s_startserver@GOTPAGEOFF]
	ldr	x8, [x21, #16]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
	bl	_UI_GetArenaInfoByNumber
Lloh43:
	adrp	x1, l_.str.13@PAGE
Lloh44:
	add	x1, x1, l_.str.13@PAGEOFF
	bl	_Info_ValueForKey
	mov	x1, x0
	ldr	w2, [x23]
	mov	x0, x19
	bl	_Q_strncpyz
	mov	x0, x19
	bl	_Q_strupr
Lloh45:
	adrp	x20, _ServerOptions_SetMenuItems.picname@PAGE
Lloh46:
	add	x20, x20, _ServerOptions_SetMenuItems.picname@PAGEOFF
	str	x19, [sp, #-16]!
Lloh47:
	adrp	x2, l_.str.14@PAGE
Lloh48:
	add	x2, x2, l_.str.14@PAGEOFF
	mov	x0, x20
	mov	w1, #64
	bl	_Com_sprintf
	add	sp, sp, #16
	str	x20, [x22, #16]
	ldr	x0, [x22, #8]
	ldr	w1, [x21, #8]
	bl	_strcpy
	ldr	x0, [x22, #8]
	bl	_Q_strupr
	bl	_ServerOptions_InitPlayerItems
	bl	_ServerOptions_SetPlayerItems
	bl	_ServerOptions_InitBotNames
	bl	_ServerOptions_SetPlayerItems
	ldur	x8, [x29, #-56]
Lloh49:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh50:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh51:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_ServerOptions_SetMenuItems.picname,64,0 ; @ServerOptions_SetMenuItems.picname
	.comm	_MAX_NAMELENGTH,4,2             ; @MAX_NAMELENGTH
	.comm	_s_serveroptions,56,3           ; @s_serveroptions
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%i"

l_.str.1:                               ; @.str.1
	.asciz	"ui_ffa_fraglimit"

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

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

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

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

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

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

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

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

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

l_.str.11:                              ; @.str.11
	.asciz	"sv_hostname"

l_.str.12:                              ; @.str.12
	.asciz	"sv_pure"

	.comm	_s_startserver,24,3             ; @s_startserver
l_.str.13:                              ; @.str.13
	.asciz	"map"

l_.str.14:                              ; @.str.14
	.asciz	"levelshots/%s"

	.no_dead_strip	_ServerOptions_SetMenuItems
.subsections_via_symbols
