	.file	"extr_ui_preferences.c_Preferences_Event.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"cg_drawCrosshair"
.LC1:
	.string	"cg_simpleItems"
.LC2:
	.string	"r_fastsky"
.LC3:
	.string	"cg_brassTime"
.LC4:
	.string	"cg_marks"
.LC5:
	.string	"r_dynamiclight"
.LC6:
	.string	"cg_drawCrosshairNames"
.LC7:
	.string	"r_finish"
.LC8:
	.string	"cg_forcemodel"
.LC9:
	.string	"cg_drawTeamOverlay"
.LC10:
	.string	"cl_allowDownload"
.LC11:
	.string	"sv_allowDownload"
	.text
	.p2align 4
	.type	Preferences_Event, @function
Preferences_Event:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	DWORD PTR QM_ACTIVATED[rip], esi
	jne	.L1
	mov	eax, DWORD PTR [rdi]
	add	eax, -128
	cmp	eax, 11
	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	.L15-.L4
	.long	.L14-.L4
	.long	.L13-.L4
	.long	.L12-.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_PopMenu@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	mov	esi, DWORD PTR s_preferences[rip+40]
	lea	rdi, .LC0[rip]
	jmp	trap_Cvar_SetValue@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, DWORD PTR s_preferences[rip+4]
	lea	rdi, .LC9[rip]
	jmp	trap_Cvar_SetValue@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	mov	esi, DWORD PTR s_preferences[rip+20]
	lea	rdi, .LC5[rip]
	jmp	trap_Cvar_SetValue@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, DWORD PTR s_preferences[rip+28]
	test	eax, eax
	je	.L16
	lea	rdi, .LC3[rip]
	jmp	trap_Cvar_Reset@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	mov	esi, DWORD PTR s_preferences[rip+8]
	lea	rdi, .LC8[rip]
	jmp	trap_Cvar_SetValue@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edx, DWORD PTR s_preferences[rip+32]
	xor	esi, esi
	lea	rdi, .LC2[rip]
	test	edx, edx
	sete	sil
	jmp	trap_Cvar_SetValue@PLT
	.p2align 4,,10
	.p2align 3
.L12:
	mov	esi, DWORD PTR s_preferences[rip+16]
	lea	rdi, .LC6[rip]
	jmp	trap_Cvar_SetValue@PLT
	.p2align 4,,10
	.p2align 3
.L13:
	mov	esi, DWORD PTR s_preferences[rip+36]
	lea	rdi, .LC1[rip]
	jmp	trap_Cvar_SetValue@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	mov	esi, DWORD PTR s_preferences[rip+12]
	lea	rdi, .LC7[rip]
	jmp	trap_Cvar_SetValue@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	mov	esi, DWORD PTR s_preferences[rip+24]
	lea	rdi, .LC4[rip]
	jmp	trap_Cvar_SetValue@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	mov	esi, DWORD PTR s_preferences[rip]
	lea	rdi, .LC10[rip]
	call	trap_Cvar_SetValue@PLT
	mov	esi, DWORD PTR s_preferences[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	lea	rdi, .LC11[rip]
	jmp	trap_Cvar_SetValue@PLT
	.p2align 4,,10
	.p2align 3
.L16:
	xor	esi, esi
	lea	rdi, .LC3[rip]
	jmp	trap_Cvar_SetValue@PLT
	.cfi_endproc
.LFE0:
	.size	Preferences_Event, .-Preferences_Event
	.comm	s_preferences,44,32
	.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_preferences.c_Preferences_Event.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"cg_drawCrosshair\000"
	.align	2
.LC1:
	.ascii	"cg_simpleItems\000"
	.align	2
.LC2:
	.ascii	"r_fastsky\000"
	.align	2
.LC3:
	.ascii	"cg_brassTime\000"
	.align	2
.LC4:
	.ascii	"cg_marks\000"
	.align	2
.LC5:
	.ascii	"r_dynamiclight\000"
	.align	2
.LC6:
	.ascii	"cg_drawCrosshairNames\000"
	.align	2
.LC7:
	.ascii	"r_finish\000"
	.align	2
.LC8:
	.ascii	"cg_forcemodel\000"
	.align	2
.LC9:
	.ascii	"cg_drawTeamOverlay\000"
	.align	2
.LC10:
	.ascii	"cl_allowDownload\000"
	.align	2
.LC11:
	.ascii	"sv_allowDownload\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	Preferences_Event, %function
Preferences_Event:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L21
	ldr	r3, [r3]
	cmp	r3, r1
	bxne	lr
	ldr	r3, [r0]
	sub	r3, r3, #128
	cmp	r3, #11
	ldrls	pc, [pc, r3, asl #2]
	b	.L1
.L4:
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L1:
	bx	lr
.L3:
	push	{r4, lr}
	ldr	r4, .L21+4
	ldr	r0, .L21+8
	ldr	r1, [r4]
	bl	trap_Cvar_SetValue
	ldr	r1, [r4]
	ldr	r0, .L21+12
	pop	{r4, lr}
	b	trap_Cvar_SetValue
.L5:
	b	UI_PopMenu
.L6:
	ldr	r3, .L21+4
	ldr	r0, .L21+16
	ldr	r1, [r3, #40]
	b	trap_Cvar_SetValue
.L7:
	ldr	r3, .L21+4
	ldr	r0, .L21+20
	ldr	r1, [r3, #4]
	b	trap_Cvar_SetValue
.L8:
	ldr	r3, .L21+4
	ldr	r0, .L21+24
	ldr	r1, [r3, #20]
	b	trap_Cvar_SetValue
.L9:
	ldr	r3, .L21+4
	ldr	r0, .L21+28
	ldr	r1, [r3, #28]
	cmp	r1, #0
	beq	.L19
	b	trap_Cvar_Reset
.L10:
	ldr	r3, .L21+4
	ldr	r0, .L21+32
	ldr	r1, [r3, #8]
	b	trap_Cvar_SetValue
.L11:
	ldr	r3, .L21+4
	ldr	r0, .L21+36
	ldr	r1, [r3, #32]
	clz	r1, r1
	lsr	r1, r1, #5
	b	trap_Cvar_SetValue
.L12:
	ldr	r3, .L21+4
	ldr	r0, .L21+40
	ldr	r1, [r3, #16]
	b	trap_Cvar_SetValue
.L13:
	ldr	r3, .L21+4
	ldr	r0, .L21+44
	ldr	r1, [r3, #36]
	b	trap_Cvar_SetValue
.L14:
	ldr	r3, .L21+4
	ldr	r0, .L21+48
	ldr	r1, [r3, #12]
	b	trap_Cvar_SetValue
.L15:
	ldr	r3, .L21+4
	ldr	r0, .L21+52
	ldr	r1, [r3, #24]
.L19:
	b	trap_Cvar_SetValue
.L22:
	.align	2
.L21:
	.word	QM_ACTIVATED
	.word	s_preferences
	.word	.LC10
	.word	.LC11
	.word	.LC0
	.word	.LC9
	.word	.LC5
	.word	.LC3
	.word	.LC8
	.word	.LC2
	.word	.LC6
	.word	.LC1
	.word	.LC7
	.word	.LC4
	.size	Preferences_Event, .-Preferences_Event
	.comm	s_preferences,44,4
	.comm	QM_ACTIVATED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
