	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function menu_loop_keyconfig
_menu_loop_keyconfig:                   ## @menu_loop_keyconfig
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_e_menu_keyconfig@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_MA_OPT_SAVECFG_GAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PicoGameLoaded@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_me_enable
	movl	(%rbx), %edi
	leaq	_menu_loop_keyconfig.sel(%rip), %rsi
	callq	_me_loop
	movq	_currentConfig@GOTPCREL(%rip), %rbx
	movl	4(%rbx), %esi
	xorl	%edi, %edi
	callq	_PicoSetInputDevice
	movl	(%rbx), %esi
	movl	$1, %edi
	callq	_PicoSetInputDevice
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_menu_loop_keyconfig.sel,4,2 ## @menu_loop_keyconfig.sel
	.comm	_e_menu_keyconfig,4,2           ## @e_menu_keyconfig
	.comm	_MA_OPT_SAVECFG_GAME,4,2        ## @MA_OPT_SAVECFG_GAME
	.comm	_PicoGameLoaded,4,2             ## @PicoGameLoaded
	.comm	_currentConfig,8,2              ## @currentConfig
	.no_dead_strip	_menu_loop_keyconfig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function menu_loop_keyconfig
_menu_loop_keyconfig:                   ; @menu_loop_keyconfig
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _e_menu_keyconfig@GOTPAGE
Lloh1:
	ldr	x19, [x19, _e_menu_keyconfig@GOTPAGEOFF]
	ldr	w0, [x19]
Lloh2:
	adrp	x8, _MA_OPT_SAVECFG_GAME@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MA_OPT_SAVECFG_GAME@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _PicoGameLoaded@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PicoGameLoaded@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_me_enable
	ldr	w0, [x19]
Lloh8:
	adrp	x1, _menu_loop_keyconfig.sel@PAGE
Lloh9:
	add	x1, x1, _menu_loop_keyconfig.sel@PAGEOFF
	bl	_me_loop
Lloh10:
	adrp	x19, _currentConfig@GOTPAGE
Lloh11:
	ldr	x19, [x19, _currentConfig@GOTPAGEOFF]
	ldr	w1, [x19, #4]
	mov	w0, #0
	bl	_PicoSetInputDevice
	ldr	w1, [x19]
	mov	w0, #1
	bl	_PicoSetInputDevice
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_menu_loop_keyconfig.sel,4,2 ; @menu_loop_keyconfig.sel
	.comm	_e_menu_keyconfig,4,2           ; @e_menu_keyconfig
	.comm	_MA_OPT_SAVECFG_GAME,4,2        ; @MA_OPT_SAVECFG_GAME
	.comm	_PicoGameLoaded,4,2             ; @PicoGameLoaded
	.comm	_currentConfig,8,2              ; @currentConfig
	.no_dead_strip	_menu_loop_keyconfig
.subsections_via_symbols
