	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_init                      ## -- Begin function menu_init
	.p2align	4, 0x90
_menu_init:                             ## @menu_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_menu_init_base
	movq	_e_menu_adv_options@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_MA_OPT2_DYNARECS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_me_enable
	movq	_e_menu_gfx_options@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_MA_OPT_VOUT_MODE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_me_id2offset
	movq	_plat_target@GOTPCREL(%rip), %r14
	movq	24(%r14), %rcx
	movq	(%rbx), %rdx
	cltq
	leaq	(%rax,%rax,2), %rax
	movq	%rcx, 16(%rdx,%rax,8)
	movq	(%rbx), %rdi
	movl	(%r15), %esi
	xorl	%edx, %edx
	testq	%rcx, %rcx
	setne	%dl
	callq	_me_enable
	movq	(%rbx), %rdi
	movq	_MA_OPT3_FILTERING@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_me_id2offset
	movq	16(%r14), %rcx
	movq	(%rbx), %rdx
	cltq
	leaq	(%rax,%rax,2), %rax
	movq	%rcx, 16(%rdx,%rax,8)
	movq	(%rbx), %rdi
	movl	(%r15), %esi
	xorl	%edx, %edx
	testq	%rcx, %rcx
	setne	%dl
	callq	_me_enable
	movq	(%rbx), %rdi
	movq	_MA_OPT2_GAMMA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	cmpq	$0, 8(%r14)
	setne	%dl
	callq	_me_enable
	movq	_e_menu_options@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_MA_OPT_CPU_CLOCKS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_me_id2offset
	movq	(%rbx), %rcx
	cltq
	leaq	(%rax,%rax,2), %rdx
	movl	$0, (%rcx,%rdx,8)
	cmpq	$0, (%r14)
	je	LBB0_2
## %bb.1:
	shlq	$3, %rax
	leaq	(%rax,%rax,2), %rax
	leaq	L_.str(%rip), %rdx
	movq	%rdx, 8(%rcx,%rax)
	movq	(%rbx), %rcx
	movl	$1, (%rcx,%rax)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_e_menu_adv_options,8,3         ## @e_menu_adv_options
	.comm	_MA_OPT2_DYNARECS,4,2           ## @MA_OPT2_DYNARECS
	.comm	_e_menu_gfx_options,8,3         ## @e_menu_gfx_options
	.comm	_MA_OPT_VOUT_MODE,4,2           ## @MA_OPT_VOUT_MODE
	.comm	_plat_target,32,3               ## @plat_target
	.comm	_MA_OPT3_FILTERING,4,2          ## @MA_OPT3_FILTERING
	.comm	_MA_OPT2_GAMMA,4,2              ## @MA_OPT2_GAMMA
	.comm	_e_menu_options,8,3             ## @e_menu_options
	.comm	_MA_OPT_CPU_CLOCKS,4,2          ## @MA_OPT_CPU_CLOCKS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CPU clock"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_init                      ; -- Begin function menu_init
	.p2align	2
_menu_init:                             ; @menu_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	bl	_menu_init_base
Lloh0:
	adrp	x8, _e_menu_adv_options@GOTPAGE
Lloh1:
	ldr	x8, [x8, _e_menu_adv_options@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
Lloh3:
	adrp	x8, _MA_OPT2_DYNARECS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MA_OPT2_DYNARECS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_me_enable
Lloh6:
	adrp	x21, _e_menu_gfx_options@GOTPAGE
Lloh7:
	ldr	x21, [x21, _e_menu_gfx_options@GOTPAGEOFF]
	ldr	x0, [x21]
Lloh8:
	adrp	x22, _MA_OPT_VOUT_MODE@GOTPAGE
Lloh9:
	ldr	x22, [x22, _MA_OPT_VOUT_MODE@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_me_id2offset
Lloh10:
	adrp	x19, _plat_target@GOTPAGE
Lloh11:
	ldr	x19, [x19, _plat_target@GOTPAGEOFF]
	ldr	x8, [x19, #24]
	ldr	x9, [x21]
	mov	w20, #24
	smaddl	x9, w0, w20, x9
	str	x8, [x9, #16]
	ldr	x0, [x21]
	ldr	w1, [x22]
	cmp	x8, #0
	cset	w2, ne
	bl	_me_enable
	ldr	x0, [x21]
Lloh12:
	adrp	x22, _MA_OPT3_FILTERING@GOTPAGE
Lloh13:
	ldr	x22, [x22, _MA_OPT3_FILTERING@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_me_id2offset
	ldr	x8, [x19, #16]
	ldr	x9, [x21]
	smaddl	x9, w0, w20, x9
	str	x8, [x9, #16]
	ldr	x0, [x21]
	ldr	w1, [x22]
	cmp	x8, #0
	cset	w2, ne
	bl	_me_enable
	ldr	x0, [x21]
Lloh14:
	adrp	x8, _MA_OPT2_GAMMA@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MA_OPT2_GAMMA@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w2, ne
	bl	_me_enable
Lloh17:
	adrp	x21, _e_menu_options@GOTPAGE
Lloh18:
	ldr	x21, [x21, _e_menu_options@GOTPAGEOFF]
	ldr	x0, [x21]
Lloh19:
	adrp	x8, _MA_OPT_CPU_CLOCKS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MA_OPT_CPU_CLOCKS@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_me_id2offset
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x21]
	smull	x9, w0, w20
	str	wzr, [x8, x9]
	ldr	x9, [x19]
	cbz	x9, LBB0_2
; %bb.1:
	sxtw	x9, w0
	add	x9, x9, x9, lsl #1
	lsl	x9, x9, #3
Lloh22:
	adrp	x10, l_.str@PAGE
Lloh23:
	add	x10, x10, l_.str@PAGEOFF
	add	x8, x8, x9
	str	x10, [x8, #8]
	ldr	x8, [x21]
	mov	w10, #1
	str	w10, [x8, x9]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_e_menu_adv_options,8,3         ; @e_menu_adv_options
	.comm	_MA_OPT2_DYNARECS,4,2           ; @MA_OPT2_DYNARECS
	.comm	_e_menu_gfx_options,8,3         ; @e_menu_gfx_options
	.comm	_MA_OPT_VOUT_MODE,4,2           ; @MA_OPT_VOUT_MODE
	.comm	_plat_target,32,3               ; @plat_target
	.comm	_MA_OPT3_FILTERING,4,2          ; @MA_OPT3_FILTERING
	.comm	_MA_OPT2_GAMMA,4,2              ; @MA_OPT2_GAMMA
	.comm	_e_menu_options,8,3             ; @e_menu_options
	.comm	_MA_OPT_CPU_CLOCKS,4,2          ; @MA_OPT_CPU_CLOCKS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CPU clock"

.subsections_via_symbols
