	.file	"extr_ui_menu.c_Main_MenuEvent.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"missionpack"
.LC1:
	.string	"fs_game"
.LC2:
	.string	"vid_restart;"
.LC3:
	.string	"EXIT GAME?"
	.text
	.p2align 4
	.globl	Main_MenuEvent
	.type	Main_MenuEvent, @function
Main_MenuEvent:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR QM_ACTIVATED[rip], esi
	jne	.L1
	mov	eax, DWORD PTR [rdi]
	add	eax, -128
	cmp	eax, 7
	ja	.L1
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L11-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
	jmp	UI_DemosMenu@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	xor	eax, eax
	jmp	UI_CinematicsMenu@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	call	trap_Cvar_Set@PLT
	mov	edi, DWORD PTR EXEC_APPEND[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	lea	rsi, .LC2[rip]
	jmp	trap_Cmd_ExecuteText@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	xor	eax, eax
	jmp	UI_SPLevelMenu@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	xor	eax, eax
	jmp	UI_SetupMenu@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	xor	eax, eax
	jmp	UI_ArenaServersMenu@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	xor	eax, eax
	jmp	UI_ModsMenu@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	mov	edx, DWORD PTR MainMenu_ExitAction[rip]
	xor	esi, esi
	lea	rdi, .LC3[rip]
	jmp	UI_ConfirmMenu@PLT
	.cfi_endproc
.LFE0:
	.size	Main_MenuEvent, .-Main_MenuEvent
	.comm	QM_ACTIVATED,4,4
	.comm	MainMenu_ExitAction,4,4
	.comm	EXEC_APPEND,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_menu.c_Main_MenuEvent.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"missionpack\000"
	.align	2
.LC1:
	.ascii	"fs_game\000"
	.align	2
.LC2:
	.ascii	"vid_restart;\000"
	.align	2
.LC3:
	.ascii	"EXIT GAME?\000"
	.text
	.align	2
	.global	Main_MenuEvent
	.syntax unified
	.arm
	.fpu softvfp
	.type	Main_MenuEvent, %function
Main_MenuEvent:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L15
	ldr	r3, [r3]
	cmp	r3, r1
	bxne	lr
	ldr	r3, [r0]
	sub	r3, r3, #128
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L1
.L4:
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L1:
	bx	lr
.L3:
	b	UI_CinematicsMenu
.L11:
	push	{r4, lr}
	ldr	r1, .L15+4
	ldr	r0, .L15+8
	bl	trap_Cvar_Set
	pop	{r4, lr}
	ldr	r3, .L15+12
	ldr	r1, .L15+16
	ldr	r0, [r3]
	b	trap_Cmd_ExecuteText
.L10:
	b	UI_SPLevelMenu
.L9:
	b	UI_SetupMenu
.L8:
	b	UI_ArenaServersMenu
.L7:
	b	UI_ModsMenu
.L6:
	ldr	r3, .L15+20
	mov	r1, #0
	ldr	r2, [r3]
	ldr	r0, .L15+24
	b	UI_ConfirmMenu
.L5:
	b	UI_DemosMenu
.L16:
	.align	2
.L15:
	.word	QM_ACTIVATED
	.word	.LC0
	.word	.LC1
	.word	EXEC_APPEND
	.word	.LC2
	.word	MainMenu_ExitAction
	.word	.LC3
	.size	Main_MenuEvent, .-Main_MenuEvent
	.comm	QM_ACTIVATED,4,4
	.comm	MainMenu_ExitAction,4,4
	.comm	EXEC_APPEND,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
