	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function StartServer_MenuEvent
_StartServer_MenuEvent:                 ## @StartServer_MenuEvent
	.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
	movq	_QM_ACTIVATED@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_10
## %bb.1:
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_10
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	_gametype_remap@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_s_startserver@GOTPCREL(%rip), %rbx
	movq	8(%rbx), %rcx
	movl	(%rax,%rcx,4), %esi
	leaq	L_.str(%rip), %rdi
	callq	_trap_Cvar_SetValue
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_UI_ServerOptionsMenu           ## TAILCALL
LBB0_3:
	movq	_s_startserver@GOTPCREL(%rip), %rax
	movl	16(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_10
## %bb.4:
	decl	%ecx
	jmp	LBB0_5
LBB0_6:
	movq	_s_startserver@GOTPCREL(%rip), %rax
	movl	16(%rax), %ecx
	movl	20(%rax), %edx
	decl	%edx
	cmpl	%edx, %ecx
	jge	LBB0_10
## %bb.7:
	incl	%ecx
LBB0_5:
	movl	%ecx, 16(%rax)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_StartServer_Update             ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_UI_PopMenu                     ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_3
	.long	L0_0_set_6
	.end_data_region
                                        ## -- End function
	.comm	_QM_ACTIVATED,4,2               ## @QM_ACTIVATED
	.comm	_s_startserver,24,3             ## @s_startserver
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"g_gameType"

	.comm	_gametype_remap,8,3             ## @gametype_remap
	.no_dead_strip	_StartServer_MenuEvent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function StartServer_MenuEvent
_StartServer_MenuEvent:                 ; @StartServer_MenuEvent
	.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	x8, _QM_ACTIVATED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QM_ACTIVATED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_8
; %bb.1:
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_8
; %bb.2:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh5:
	adrp	x8, _gametype_remap@GOTPAGE
Lloh6:
	ldr	x8, [x8, _gametype_remap@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x19, _s_startserver@GOTPAGE
Lloh9:
	ldr	x19, [x19, _s_startserver@GOTPAGEOFF]
	ldr	x9, [x19, #8]
	ldr	w1, [x8, x9, lsl #2]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	bl	_trap_Cvar_SetValue
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_UI_ServerOptionsMenu
LBB0_4:
Lloh12:
	adrp	x8, _s_startserver@GOTPAGE
Lloh13:
	ldr	x8, [x8, _s_startserver@GOTPAGEOFF]
	ldr	w9, [x8, #16]
	subs	w9, w9, #1
	b.ge	LBB0_7
	b	LBB0_8
LBB0_5:
Lloh14:
	adrp	x8, _s_startserver@GOTPAGE
Lloh15:
	ldr	x8, [x8, _s_startserver@GOTPAGEOFF]
	ldp	w9, w10, [x8, #16]
	sub	w10, w10, #1
	cmp	w9, w10
	b.ge	LBB0_8
; %bb.6:
	add	w9, w9, #1
LBB0_7:
	str	w9, [x8, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_StartServer_Update
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_UI_PopMenu
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
                                        ; -- End function
	.comm	_QM_ACTIVATED,4,2               ; @QM_ACTIVATED
	.comm	_s_startserver,24,3             ; @s_startserver
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"g_gameType"

	.comm	_gametype_remap,8,3             ; @gametype_remap
	.no_dead_strip	_StartServer_MenuEvent
.subsections_via_symbols
