	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GraphicsOptions_Event
_GraphicsOptions_Event:                 ## @GraphicsOptions_Event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_QM_ACTIVATED@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_14
## %bb.1:
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_14
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	xorl	%eax, %eax
	callq	_UI_PopMenu
	xorl	%eax, %eax
	popq	%rbp
	jmp	_UI_SoundOptionsMenu            ## TAILCALL
LBB0_12:
	xorl	%eax, %eax
	callq	_UI_PopMenu
	xorl	%eax, %eax
	popq	%rbp
	jmp	_UI_NetworkOptionsMenu          ## TAILCALL
LBB0_10:
	xorl	%eax, %eax
	callq	_UI_PopMenu
	xorl	%eax, %eax
	popq	%rbp
	jmp	_UI_DisplayOptionsMenu          ## TAILCALL
LBB0_9:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_UI_PopMenu                     ## TAILCALL
LBB0_3:
	movq	_s_graphicsoptions@GOTPCREL(%rip), %rax
	cmpl	$1, 40(%rax)
	jne	LBB0_14
## %bb.4:
	movl	28(%rax), %ecx
	cmpl	$1, %ecx
	jg	LBB0_6
## %bb.5:
	movl	$2, 28(%rax)
	popq	%rbp
	retq
LBB0_13:
	movq	_s_ivo_templates@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_s_graphicsoptions@GOTPCREL(%rip), %rcx
	movq	32(%rcx), %rdx
	shlq	$5, %rdx
	movl	(%rax,%rdx), %esi
	movl	%esi, 28(%rcx)
	movl	28(%rax,%rdx), %esi
	movl	%esi, 24(%rcx)
	movl	24(%rax,%rdx), %esi
	movl	%esi, 20(%rcx)
	movl	20(%rax,%rdx), %esi
	movl	%esi, 16(%rcx)
	movups	4(%rax,%rdx), %xmm0
	movups	%xmm0, (%rcx)
LBB0_14:
	popq	%rbp
	retq
LBB0_8:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_UI_DriverInfo_Menu             ## TAILCALL
LBB0_6:
	cmpl	$7, %ecx
	jb	LBB0_14
## %bb.7:
	movl	$6, 28(%rax)
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_12
	.long	L0_0_set_3
	.long	L0_0_set_13
	.long	L0_0_set_14
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_QM_ACTIVATED,4,2               ## @QM_ACTIVATED
	.comm	_s_graphicsoptions,48,3         ## @s_graphicsoptions
	.comm	_s_ivo_templates,8,3            ## @s_ivo_templates
	.no_dead_strip	_GraphicsOptions_Event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GraphicsOptions_Event
_GraphicsOptions_Event:                 ; @GraphicsOptions_Event
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _QM_ACTIVATED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QM_ACTIVATED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_11
; %bb.1:
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #7
	b.hi	LBB0_11
; %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:
	bl	_UI_PopMenu
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_UI_SoundOptionsMenu
LBB0_4:
	bl	_UI_PopMenu
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_UI_NetworkOptionsMenu
LBB0_5:
	bl	_UI_PopMenu
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_UI_DisplayOptionsMenu
LBB0_6:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_UI_PopMenu
LBB0_7:
Lloh5:
	adrp	x8, _s_graphicsoptions@GOTPAGE
Lloh6:
	ldr	x8, [x8, _s_graphicsoptions@GOTPAGEOFF]
	ldr	w9, [x8, #40]
	cmp	w9, #1
	b.ne	LBB0_11
; %bb.8:
	ldr	w9, [x8, #28]
	cmp	w9, #1
	b.gt	LBB0_13
; %bb.9:
	mov	w9, #2
	b	LBB0_15
LBB0_10:
Lloh7:
	adrp	x8, _s_ivo_templates@GOTPAGE
Lloh8:
	ldr	x8, [x8, _s_ivo_templates@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _s_graphicsoptions@GOTPAGE
Lloh11:
	ldr	x9, [x9, _s_graphicsoptions@GOTPAGEOFF]
	ldr	x10, [x9, #32]
	add	x8, x8, x10, lsl #5
	ldr	w10, [x8]
	ldr	w11, [x8, #28]
	stp	w11, w10, [x9, #24]
	ldur	d0, [x8, #20]
	str	d0, [x9, #16]
	ldur	q0, [x8, #4]
	str	q0, [x9]
LBB0_11:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_12:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_UI_DriverInfo_Menu
LBB0_13:
	cmp	w9, #7
	b.lo	LBB0_11
; %bb.14:
	mov	w9, #6
LBB0_15:
	str	w9, [x8, #28]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
                                        ; -- End function
	.comm	_QM_ACTIVATED,4,2               ; @QM_ACTIVATED
	.comm	_s_graphicsoptions,48,3         ; @s_graphicsoptions
	.comm	_s_ivo_templates,8,3            ; @s_ivo_templates
	.no_dead_strip	_GraphicsOptions_Event
.subsections_via_symbols
