	.file	"extr_ui_startserver.c_StartServer_MenuEvent.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"g_gameType"
	.text
	.p2align 4
	.type	StartServer_MenuEvent, @function
StartServer_MenuEvent:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR QM_ACTIVATED[rip], esi
	jne	.L1
	mov	eax, DWORD PTR [rdi]
	cmp	eax, 130
	je	.L3
	jg	.L4
	cmp	eax, 128
	je	.L5
	cmp	eax, 129
	jne	.L11
	xor	eax, eax
	jmp	UI_PopMenu@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	cmp	eax, 131
	jne	.L12
	mov	eax, DWORD PTR s_startserver[rip+20]
	mov	edx, DWORD PTR s_startserver[rip+16]
	sub	eax, 1
	cmp	edx, eax
	jl	.L13
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	rdx, QWORD PTR s_startserver[rip+8]
	mov	rax, QWORD PTR gametype_remap[rip]
	lea	rdi, .LC0[rip]
	mov	esi, DWORD PTR [rax+rdx*4]
	call	trap_Cvar_SetValue@PLT
	mov	edi, DWORD PTR s_startserver[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	jmp	UI_ServerOptionsMenu@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	mov	eax, DWORD PTR s_startserver[rip+16]
	test	eax, eax
	jle	.L1
	sub	eax, 1
	mov	DWORD PTR s_startserver[rip+16], eax
	xor	eax, eax
	jmp	StartServer_Update@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	add	edx, 1
	xor	eax, eax
	mov	DWORD PTR s_startserver[rip+16], edx
	jmp	StartServer_Update@PLT
.L11:
	ret
	.cfi_endproc
.LFE0:
	.size	StartServer_MenuEvent, .-StartServer_MenuEvent
	.comm	s_startserver,24,16
	.comm	gametype_remap,8,8
	.comm	QM_ACTIVATED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ui_startserver.c_StartServer_MenuEvent.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"g_gameType\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	StartServer_MenuEvent, %function
StartServer_MenuEvent:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	ldr	r3, [r3]
	cmp	r3, r1
	bxne	lr
	ldr	r3, [r0]
	sub	r3, r3, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L1
.L4:
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L1:
	bx	lr
.L3:
	ldr	r2, .L11+4
	ldr	r3, [r2, #12]
	ldr	r1, [r2, #8]
	sub	r3, r3, #1
	cmp	r1, r3
	bxge	lr
	add	r1, r1, #1
	str	r1, [r2, #8]
	b	StartServer_Update
.L7:
	push	{r4, lr}
	ldr	r3, .L11+8
	ldr	r4, .L11+4
	ldr	r3, [r3]
	ldr	r2, [r4, #4]
	ldr	r0, .L11+12
	ldr	r1, [r3, r2, lsl #2]
	bl	trap_Cvar_SetValue
	ldr	r0, [r4]
	pop	{r4, lr}
	b	UI_ServerOptionsMenu
.L6:
	b	UI_PopMenu
.L5:
	ldr	r2, .L11+4
	ldr	r3, [r2, #8]
	cmp	r3, #0
	bxle	lr
	sub	r3, r3, #1
	str	r3, [r2, #8]
	b	StartServer_Update
.L12:
	.align	2
.L11:
	.word	QM_ACTIVATED
	.word	s_startserver
	.word	gametype_remap
	.word	.LC0
	.size	StartServer_MenuEvent, .-StartServer_MenuEvent
	.comm	s_startserver,16,4
	.comm	gametype_remap,4,4
	.comm	QM_ACTIVATED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
