	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generic_action_ok
_generic_action_ok:                     ## @generic_action_ok
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %ebx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_MSG_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -64(%rbp)
	xorl	%eax, %eax
	callq	_menu_driver_get_ptr
	testq	%rax, %rax
	je	LBB0_36
## %bb.1:
	movq	%rax, %r13
	leaq	-80(%rbp), %rdi
	leaq	-64(%rbp), %rsi
	leaq	-68(%rbp), %rcx
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_menu_entries_get_last_stack
	movb	$0, (%r12)
	movq	%r15, %rdi
	callq	_string_is_empty
	movq	-80(%rbp), %rsi
	testl	%eax, %eax
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	je	LBB0_3
## %bb.2:
	movl	%r14d, %edx
	callq	_strlcpy
	jmp	LBB0_4
LBB0_3:
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_fill_pathname_join
LBB0_4:
	movl	16(%rbp), %r14d
	xorl	%r12d, %r12d
	addl	$-128, %ebx
	cmpl	$19, %ebx
	ja	LBB0_21
## %bb.5:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmpq	*%rcx
LBB0_6:
	movq	_MENU_SETTINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_content_add_subsystem
	xorl	%r15d, %r15d
	jmp	LBB0_33
LBB0_7:
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	%rax, %r12
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movl	(%rbx), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %r12
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_path_basename
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	movl	%r13d, %ecx
	callq	_fill_pathname_join
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	movl	%r14d, %ecx
	callq	_file_copy
	testl	%eax, %eax
	je	LBB0_37
## %bb.8:
	movq	_MENU_ENUM_LABEL_VALUE_SIDELOAD_CORE_SUCCESS@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_msg_hash_to_str
	movq	_MESSAGE_QUEUE_ICON_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	_MESSAGE_QUEUE_CATEGORY_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	subq	$8, %rsp
	movq	%rax, %rdi
	movl	$1, %esi
	movl	$100, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	pushq	%rbx
	callq	_runloop_msg_queue_push
	addq	$16, %rsp
	movl	(%r14), %edi
	callq	_msg_hash_to_str
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	jmp	LBB0_38
LBB0_9:
	movq	_MENU_ENUM_LABEL_DEFERRED_VIDEO_SETTINGS_LIST@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_10:
	movq	_MENU_ENUM_LABEL_DEFERRED_ONSCREEN_OVERLAY_SETTINGS_LIST@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_11:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	%rax, %r13
	movl	%r14d, %edi
	callq	_msg_hash_to_str
	movq	%rax, %r15
	testq	%r13, %r13
	je	LBB0_40
## %bb.12:
	movq	16(%r13), %rdi
	jmp	LBB0_19
LBB0_13:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	%rax, %r14
	movq	_MENU_ENUM_LABEL_DEFERRED_MENU_SETTINGS_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	%rax, %r15
	testq	%r14, %r14
	je	LBB0_40
## %bb.14:
	movq	32(%r14), %rdi
	jmp	LBB0_19
LBB0_15:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_config_file_new_from_path_to_string
	movq	%rax, %rbx
	movl	%r14d, %edi
	callq	_msg_hash_to_str
	movq	%rax, %r15
	testq	%rbx, %rbx
	je	LBB0_39
## %bb.16:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_input_remapping_load_file
	jmp	LBB0_39
LBB0_17:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	%rax, %r13
	movl	%r14d, %edi
	callq	_msg_hash_to_str
	movq	%rax, %r15
	testq	%r13, %r13
	je	LBB0_40
## %bb.18:
	movq	24(%r13), %rdi
LBB0_19:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	$8, %edx
	callq	_strlcpy
	jmp	LBB0_40
LBB0_20:
	movq	_MENU_SETTINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_CMD_EVENT_DISK_APPEND_IMAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_command_event
	movq	_CMD_EVENT_RESUME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_generic_action_ok_command
	xorl	%r15d, %r15d
	jmp	LBB0_33
LBB0_21:
	movl	%r14d, %edi
	callq	_msg_hash_to_str
	movq	%rax, %r15
	jmp	LBB0_33
LBB0_22:
	movq	_MENU_ENUM_LABEL_DEFERRED_AUDIO_SETTINGS_LIST@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	%rax, %r15
	movq	-64(%rbp), %rdi
	jmp	LBB0_26
LBB0_24:
	movq	_MENU_SETTINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	-64(%rbp), %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_set_path_generic
	movl	%eax, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_41
LBB0_25:
	movq	_MENU_ENUM_LABEL_DEFERRED_DIRECTORY_SETTINGS_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	%rax, %r15
	movq	(%r13), %rdi
LBB0_26:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_set_path_generic
	movl	%eax, %ebx
	jmp	LBB0_41
LBB0_27:
	movq	_MENU_ENUM_LABEL_DEFERRED_MENU_SETTINGS_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	%rax, %r15
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	callq	_filestream_exists
	testl	%eax, %eax
	je	LBB0_33
## %bb.28:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	(%rax), %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_strlcpy
	xorl	%eax, %eax
	callq	_video_driver_supports_rgba
	movq	_menu_display_handle_wallpaper_upload@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	callq	_task_push_image_load
	jmp	LBB0_40
LBB0_29:
	xorps	%xmm0, %xmm0
	movups	%xmm0, -116(%rbp)
	movaps	%xmm0, -128(%rbp)
	movq	_MENU_SETTINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_CORE_TYPE_PLAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r15d, %r15d
	leaq	-128(%rbp), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_task_push_load_new_core
	cmpl	$1, %eax
	movl	$0, %ebx
	sbbl	%ebx, %ebx
	jmp	LBB0_41
LBB0_30:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	%rax, %r14
	movq	_MENU_SETTINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	$1, %edi
	callq	_menu_display_set_msg_force
	movl	40(%r14), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_config_replace
	testl	%eax, %eax
	je	LBB0_47
## %bb.31:
	movl	$0, -128(%rbp)
	movq	_MENU_NAVIGATION_CTL_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-128(%rbp), %rsi
	callq	_menu_driver_ctl
	movl	$-1, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_41
LBB0_32:
	movl	%r14d, %edi
	callq	_msg_hash_to_str
	movq	%rax, %r15
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %esi
	callq	_cheat_manager_load
	testl	%eax, %eax
	je	LBB0_36
LBB0_33:
	xorl	%ebx, %ebx
	jmp	LBB0_41
LBB0_34:
	movl	%r14d, %edi
	callq	_msg_hash_to_str
	movq	%rax, %r15
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_cheat_manager_state_free
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	callq	_cheat_manager_load
	testl	%eax, %eax
	jne	LBB0_40
LBB0_36:
	xorl	%eax, %eax
	callq	_menu_cbs_exit
	movl	%eax, %ebx
	jmp	LBB0_42
LBB0_37:
	movq	_MENU_ENUM_LABEL_VALUE_SIDELOAD_CORE_ERROR@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_msg_hash_to_str
	movq	_MESSAGE_QUEUE_ICON_DEFAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	_MESSAGE_QUEUE_CATEGORY_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	subq	$8, %rsp
	movq	%rax, %rdi
	movl	$1, %esi
	movl	$100, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	pushq	%r10
	callq	_runloop_msg_queue_push
	addq	$16, %rsp
	movl	(%r14), %edi
	callq	_msg_hash_to_str
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_RARCH_LOG
	movl	(%r14), %edi
	callq	_msg_hash_to_str
	movq	%rax, %rdi
	xorl	%eax, %eax
	callq	_RARCH_LOG
LBB0_38:
	movq	-96(%rbp), %rsp                 ## 8-byte Reload
	xorl	%r15d, %r15d
LBB0_39:
	xorl	%ebx, %ebx
LBB0_40:
	xorl	%r12d, %r12d
LBB0_41:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_menu_entries_flush_stack
LBB0_42:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_48
## %bb.43:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_47:
	xorl	%r15d, %r15d
	jmp	LBB0_41
LBB0_48:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_21
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_22
	.long	L0_0_set_24
	.long	L0_0_set_25
	.long	L0_0_set_27
	.long	L0_0_set_11
	.long	L0_0_set_41
	.long	L0_0_set_13
	.long	L0_0_set_15
	.long	L0_0_set_17
	.long	L0_0_set_41
	.long	L0_0_set_29
	.long	L0_0_set_30
	.long	L0_0_set_32
	.long	L0_0_set_34
	.long	L0_0_set_20
	.end_data_region
                                        ## -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ## @PATH_MAX_LENGTH
	.comm	_MSG_UNKNOWN,4,2                ## @MSG_UNKNOWN
	.comm	_MENU_ENUM_LABEL_DEFERRED_MENU_SETTINGS_LIST,4,2 ## @MENU_ENUM_LABEL_DEFERRED_MENU_SETTINGS_LIST
	.comm	_menu_display_handle_wallpaper_upload,4,2 ## @menu_display_handle_wallpaper_upload
	.comm	_MENU_SETTINGS,4,2              ## @MENU_SETTINGS
	.comm	_CORE_TYPE_PLAIN,4,2            ## @CORE_TYPE_PLAIN
	.comm	_MENU_ENUM_LABEL_VALUE_SIDELOAD_CORE_ERROR,4,2 ## @MENU_ENUM_LABEL_VALUE_SIDELOAD_CORE_ERROR
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ## @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ## @MESSAGE_QUEUE_CATEGORY_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[sideload] %s: %s\n"

	.comm	_MENU_ENUM_LABEL_VALUE_SIDELOAD_CORE_SUCCESS,4,2 ## @MENU_ENUM_LABEL_VALUE_SIDELOAD_CORE_SUCCESS
L_.str.1:                               ## @.str.1
	.asciz	"[sideload] %s\n"

	.comm	_MENU_NAVIGATION_CTL_CLEAR,4,2  ## @MENU_NAVIGATION_CTL_CLEAR
	.comm	_CMD_EVENT_DISK_APPEND_IMAGE,4,2 ## @CMD_EVENT_DISK_APPEND_IMAGE
	.comm	_CMD_EVENT_RESUME,4,2           ## @CMD_EVENT_RESUME
	.comm	_MENU_ENUM_LABEL_DEFERRED_DIRECTORY_SETTINGS_LIST,4,2 ## @MENU_ENUM_LABEL_DEFERRED_DIRECTORY_SETTINGS_LIST
	.comm	_MENU_ENUM_LABEL_DEFERRED_VIDEO_SETTINGS_LIST,4,2 ## @MENU_ENUM_LABEL_DEFERRED_VIDEO_SETTINGS_LIST
	.comm	_MENU_ENUM_LABEL_DEFERRED_AUDIO_SETTINGS_LIST,4,2 ## @MENU_ENUM_LABEL_DEFERRED_AUDIO_SETTINGS_LIST
	.comm	_MENU_ENUM_LABEL_DEFERRED_ONSCREEN_OVERLAY_SETTINGS_LIST,4,2 ## @MENU_ENUM_LABEL_DEFERRED_ONSCREEN_OVERLAY_SETTINGS_LIST
	.comm	_AUDIO_MIXER_SYSTEM_SLOT_OK,4,2 ## @AUDIO_MIXER_SYSTEM_SLOT_OK
	.comm	_MENU_ENUM_LABEL_DEFERRED_ONSCREEN_VIDEO_LAYOUT_SETTINGS_LIST,4,2 ## @MENU_ENUM_LABEL_DEFERRED_ONSCREEN_VIDEO_LAYOUT_SETTINGS_LIST
	.no_dead_strip	_generic_action_ok
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generic_action_ok
_generic_action_ok:                     ; @generic_action_ok
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #64
	mov	x23, x6
	mov	x20, x5
	mov	x22, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x26, _PATH_MAX_LENGTH@GOTPAGE
Lloh4:
	ldr	x26, [x26, _PATH_MAX_LENGTH@GOTPAGEOFF]
	ldr	w21, [x26]
	mov	x9, x21
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
Lloh7:
	adrp	x8, _MSG_UNKNOWN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MSG_UNKNOWN@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	stur	w8, [x29, #-76]
	stp	xzr, xzr, [x29, #-96]
	bl	_menu_driver_get_ptr
	cbz	x0, LBB0_36
; %bb.1:
	mov	x24, x0
	sub	x0, x29, #88
	sub	x1, x29, #96
	sub	x3, x29, #76
	mov	x2, #0
	mov	x4, #0
	bl	_menu_entries_get_last_stack
	strb	wzr, [x19]
	mov	x0, x22
	bl	_string_is_empty
	ldur	x1, [x29, #-88]
	cbz	w0, LBB0_3
; %bb.2:
	mov	x0, x19
	mov	x2, x21
	bl	_strlcpy
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	mov	x2, x22
	mov	x3, x21
	bl	_fill_pathname_join
LBB0_4:
	sub	w8, w20, #128
	cmp	w8, #19
	b.hi	LBB0_22
; %bb.5:
	mov	x20, #0
	mov	w22, #0
	mov	w21, #0
Lloh10:
	adrp	x9, lJTI0_0@PAGE
Lloh11:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrh	w11, [x9, x8, lsl #1]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
Lloh12:
	adrp	x8, _MENU_SETTINGS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MENU_SETTINGS@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
	mov	x0, x19
	bl	_content_add_subsystem
	b	LBB0_33
LBB0_7:
	bl	_config_get_ptr
	mov	x25, sp
	ldr	w21, [x26]
	mov	x9, x21
Lloh15:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh16:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	ldr	w23, [x26]
	mov	x9, x23
Lloh17:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh18:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	ldr	x24, [x0, #8]
	mov	x0, x19
	bl	_path_basename
	mov	x2, x0
	mov	x0, x22
	mov	x1, x24
	mov	x3, x21
	bl	_fill_pathname_join
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	mov	x3, x23
	bl	_file_copy
	cbz	w0, LBB0_37
; %bb.8:
Lloh19:
	adrp	x19, _MENU_ENUM_LABEL_VALUE_SIDELOAD_CORE_SUCCESS@GOTPAGE
Lloh20:
	ldr	x19, [x19, _MENU_ENUM_LABEL_VALUE_SIDELOAD_CORE_SUCCESS@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_msg_hash_to_str
Lloh21:
	adrp	x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGEOFF]
Lloh23:
	ldr	w5, [x8]
Lloh24:
	adrp	x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGE
Lloh25:
	ldr	x8, [x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGEOFF]
Lloh26:
	ldr	w6, [x8]
	mov	w1, #1
	mov	w2, #100
	mov	w3, #1
	mov	x4, #0
	bl	_runloop_msg_queue_push
	ldr	w0, [x19]
	bl	_msg_hash_to_str
	str	x0, [sp, #-16]!
Lloh27:
	adrp	x0, l_.str.1@PAGE
Lloh28:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_RARCH_LOG
	add	sp, sp, #16
	b	LBB0_38
LBB0_9:
Lloh29:
	adrp	x8, _MENU_ENUM_LABEL_DEFERRED_VIDEO_SETTINGS_LIST@GOTPAGE
Lloh30:
	ldr	x8, [x8, _MENU_ENUM_LABEL_DEFERRED_VIDEO_SETTINGS_LIST@GOTPAGEOFF]
	b	LBB0_24
LBB0_10:
Lloh31:
	adrp	x8, _MENU_ENUM_LABEL_DEFERRED_ONSCREEN_OVERLAY_SETTINGS_LIST@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MENU_ENUM_LABEL_DEFERRED_ONSCREEN_OVERLAY_SETTINGS_LIST@GOTPAGEOFF]
	b	LBB0_24
LBB0_11:
	bl	_config_get_ptr
	mov	x21, x0
	mov	x0, x23
	bl	_msg_hash_to_str
	mov	x20, x0
	cbz	x21, LBB0_20
; %bb.12:
	ldr	x0, [x21, #16]
	b	LBB0_19
LBB0_13:
	bl	_config_get_ptr
	mov	x21, x0
Lloh33:
	adrp	x8, _MENU_ENUM_LABEL_DEFERRED_MENU_SETTINGS_LIST@GOTPAGE
Lloh34:
	ldr	x8, [x8, _MENU_ENUM_LABEL_DEFERRED_MENU_SETTINGS_LIST@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x20, x0
	cbz	x21, LBB0_20
; %bb.14:
	ldr	x0, [x21, #32]
	b	LBB0_19
LBB0_15:
	mov	x0, x19
	bl	_config_file_new_from_path_to_string
	mov	x21, x0
	mov	x0, x23
	bl	_msg_hash_to_str
	mov	x20, x0
	cbz	x21, LBB0_20
; %bb.16:
	mov	x0, x21
	mov	x1, x19
	bl	_input_remapping_load_file
	b	LBB0_39
LBB0_17:
	bl	_config_get_ptr
	mov	x21, x0
	mov	x0, x23
	bl	_msg_hash_to_str
	mov	x20, x0
	cbz	x21, LBB0_20
; %bb.18:
	ldr	x0, [x21, #24]
LBB0_19:
	mov	x1, x19
	mov	w2, #8
	bl	_strlcpy
	b	LBB0_39
LBB0_20:
	mov	w22, #0
	b	LBB0_41
LBB0_21:
Lloh36:
	adrp	x8, _MENU_SETTINGS@GOTPAGE
Lloh37:
	ldr	x8, [x8, _MENU_SETTINGS@GOTPAGEOFF]
Lloh38:
	ldr	w21, [x8]
Lloh39:
	adrp	x8, _CMD_EVENT_DISK_APPEND_IMAGE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _CMD_EVENT_DISK_APPEND_IMAGE@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_command_event
Lloh42:
	adrp	x8, _CMD_EVENT_RESUME@GOTPAGE
Lloh43:
	ldr	x8, [x8, _CMD_EVENT_RESUME@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	bl	_generic_action_ok_command
	b	LBB0_33
LBB0_22:
	mov	x0, x23
	bl	_msg_hash_to_str
	mov	x20, x0
	b	LBB0_39
LBB0_23:
Lloh45:
	adrp	x8, _MENU_ENUM_LABEL_DEFERRED_AUDIO_SETTINGS_LIST@GOTPAGE
Lloh46:
	ldr	x8, [x8, _MENU_ENUM_LABEL_DEFERRED_AUDIO_SETTINGS_LIST@GOTPAGEOFF]
LBB0_24:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x20, x0
	ldur	x0, [x29, #-96]
	b	LBB0_27
LBB0_25:
Lloh47:
	adrp	x8, _MENU_SETTINGS@GOTPAGE
Lloh48:
	ldr	x8, [x8, _MENU_SETTINGS@GOTPAGEOFF]
Lloh49:
	ldr	w21, [x8]
	ldur	x0, [x29, #-96]
	mov	x1, x19
	bl	_set_path_generic
	mov	x22, x0
	mov	x20, #0
	b	LBB0_41
LBB0_26:
Lloh50:
	adrp	x8, _MENU_ENUM_LABEL_DEFERRED_DIRECTORY_SETTINGS_LIST@GOTPAGE
Lloh51:
	ldr	x8, [x8, _MENU_ENUM_LABEL_DEFERRED_DIRECTORY_SETTINGS_LIST@GOTPAGEOFF]
Lloh52:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x20, x0
	ldr	x0, [x24]
LBB0_27:
	mov	x1, x19
	bl	_set_path_generic
	mov	x22, x0
	b	LBB0_40
LBB0_28:
Lloh53:
	adrp	x8, _MENU_ENUM_LABEL_DEFERRED_MENU_SETTINGS_LIST@GOTPAGE
Lloh54:
	ldr	x8, [x8, _MENU_ENUM_LABEL_DEFERRED_MENU_SETTINGS_LIST@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x20, x0
	mov	x0, x19
	bl	_filestream_exists
	cbz	w0, LBB0_39
; %bb.29:
	bl	_config_get_ptr
	ldr	x0, [x0]
	mov	x1, x19
	mov	w2, #8
	bl	_strlcpy
	bl	_video_driver_supports_rgba
	mov	x1, x0
Lloh56:
	adrp	x8, _menu_display_handle_wallpaper_upload@GOTPAGE
Lloh57:
	ldr	x8, [x8, _menu_display_handle_wallpaper_upload@GOTPAGEOFF]
Lloh58:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x4, #0
	bl	_task_push_image_load
	b	LBB0_39
LBB0_30:
	stp	xzr, xzr, [x29, #-128]
	stur	wzr, [x29, #-104]
	stur	xzr, [x29, #-112]
Lloh59:
	adrp	x8, _MENU_SETTINGS@GOTPAGE
Lloh60:
	ldr	x8, [x8, _MENU_SETTINGS@GOTPAGEOFF]
Lloh61:
	ldr	w21, [x8]
Lloh62:
	adrp	x8, _CORE_TYPE_PLAIN@GOTPAGE
Lloh63:
	ldr	x8, [x8, _CORE_TYPE_PLAIN@GOTPAGEOFF]
Lloh64:
	ldr	w3, [x8]
	sub	x2, x29, #128
	mov	x0, x19
	mov	x1, #0
	mov	x4, #0
	mov	x5, #0
	bl	_task_push_load_new_core
	mov	x20, #0
	cmp	w0, #0
	csetm	w22, eq
	b	LBB0_41
LBB0_31:
	bl	_config_get_ptr
	mov	x20, x0
Lloh65:
	adrp	x8, _MENU_SETTINGS@GOTPAGE
Lloh66:
	ldr	x8, [x8, _MENU_SETTINGS@GOTPAGEOFF]
Lloh67:
	ldr	w21, [x8]
	mov	w0, #1
	bl	_menu_display_set_msg_force
	ldr	w0, [x20, #40]
	mov	x1, x19
	bl	_config_replace
	cbz	w0, LBB0_33
; %bb.32:
	stur	wzr, [x29, #-128]
Lloh68:
	adrp	x8, _MENU_NAVIGATION_CTL_CLEAR@GOTPAGE
Lloh69:
	ldr	x8, [x8, _MENU_NAVIGATION_CTL_CLEAR@GOTPAGEOFF]
Lloh70:
	ldr	w0, [x8]
	sub	x1, x29, #128
	bl	_menu_driver_ctl
	mov	x20, #0
	mov	w22, #-1
	b	LBB0_41
LBB0_33:
	mov	x20, #0
	mov	w22, #0
	b	LBB0_41
LBB0_34:
	mov	x0, x23
	bl	_msg_hash_to_str
	mov	x20, x0
	mov	x0, x19
	mov	w1, #1
	bl	_cheat_manager_load
	cbnz	w0, LBB0_39
	b	LBB0_36
LBB0_35:
	mov	x0, x23
	bl	_msg_hash_to_str
	mov	x20, x0
	bl	_cheat_manager_state_free
	mov	x0, x19
	mov	w1, #0
	bl	_cheat_manager_load
	cbnz	w0, LBB0_39
LBB0_36:
	bl	_menu_cbs_exit
	mov	x22, x0
	b	LBB0_42
LBB0_37:
Lloh71:
	adrp	x19, _MENU_ENUM_LABEL_VALUE_SIDELOAD_CORE_ERROR@GOTPAGE
Lloh72:
	ldr	x19, [x19, _MENU_ENUM_LABEL_VALUE_SIDELOAD_CORE_ERROR@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_msg_hash_to_str
Lloh73:
	adrp	x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGE
Lloh74:
	ldr	x8, [x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGEOFF]
Lloh75:
	ldr	w5, [x8]
Lloh76:
	adrp	x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGE
Lloh77:
	ldr	x8, [x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGEOFF]
Lloh78:
	ldr	w6, [x8]
	mov	w1, #1
	mov	w2, #100
	mov	w3, #1
	mov	x4, #0
	bl	_runloop_msg_queue_push
	ldr	w0, [x19]
	bl	_msg_hash_to_str
	stp	x0, x20, [sp, #-16]!
Lloh79:
	adrp	x0, l_.str@PAGE
Lloh80:
	add	x0, x0, l_.str@PAGEOFF
	bl	_RARCH_LOG
	add	sp, sp, #16
	ldr	w0, [x19]
	bl	_msg_hash_to_str
	bl	_RARCH_LOG
LBB0_38:
	mov	sp, x25
	mov	x20, #0
LBB0_39:
	mov	w22, #0
LBB0_40:
	mov	w21, #0
LBB0_41:
	mov	x0, x20
	mov	x1, x21
	bl	_menu_entries_flush_stack
LBB0_42:
	ldur	x8, [x29, #-72]
Lloh81:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh82:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh83:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_44
; %bb.43:
	mov	x0, x22
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_44:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.cfi_endproc
	.section	__TEXT,__const
	.p2align	1
lJTI0_0:
	.short	(LBB0_6-LBB0_6)>>2
	.short	(LBB0_7-LBB0_6)>>2
	.short	(LBB0_22-LBB0_6)>>2
	.short	(LBB0_9-LBB0_6)>>2
	.short	(LBB0_10-LBB0_6)>>2
	.short	(LBB0_23-LBB0_6)>>2
	.short	(LBB0_25-LBB0_6)>>2
	.short	(LBB0_26-LBB0_6)>>2
	.short	(LBB0_28-LBB0_6)>>2
	.short	(LBB0_11-LBB0_6)>>2
	.short	(LBB0_41-LBB0_6)>>2
	.short	(LBB0_13-LBB0_6)>>2
	.short	(LBB0_15-LBB0_6)>>2
	.short	(LBB0_17-LBB0_6)>>2
	.short	(LBB0_41-LBB0_6)>>2
	.short	(LBB0_30-LBB0_6)>>2
	.short	(LBB0_31-LBB0_6)>>2
	.short	(LBB0_34-LBB0_6)>>2
	.short	(LBB0_35-LBB0_6)>>2
	.short	(LBB0_21-LBB0_6)>>2
                                        ; -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
	.comm	_MSG_UNKNOWN,4,2                ; @MSG_UNKNOWN
	.comm	_MENU_ENUM_LABEL_DEFERRED_MENU_SETTINGS_LIST,4,2 ; @MENU_ENUM_LABEL_DEFERRED_MENU_SETTINGS_LIST
	.comm	_menu_display_handle_wallpaper_upload,4,2 ; @menu_display_handle_wallpaper_upload
	.comm	_MENU_SETTINGS,4,2              ; @MENU_SETTINGS
	.comm	_CORE_TYPE_PLAIN,4,2            ; @CORE_TYPE_PLAIN
	.comm	_MENU_ENUM_LABEL_VALUE_SIDELOAD_CORE_ERROR,4,2 ; @MENU_ENUM_LABEL_VALUE_SIDELOAD_CORE_ERROR
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ; @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ; @MESSAGE_QUEUE_CATEGORY_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[sideload] %s: %s\n"

	.comm	_MENU_ENUM_LABEL_VALUE_SIDELOAD_CORE_SUCCESS,4,2 ; @MENU_ENUM_LABEL_VALUE_SIDELOAD_CORE_SUCCESS
l_.str.1:                               ; @.str.1
	.asciz	"[sideload] %s\n"

	.comm	_MENU_NAVIGATION_CTL_CLEAR,4,2  ; @MENU_NAVIGATION_CTL_CLEAR
	.comm	_CMD_EVENT_DISK_APPEND_IMAGE,4,2 ; @CMD_EVENT_DISK_APPEND_IMAGE
	.comm	_CMD_EVENT_RESUME,4,2           ; @CMD_EVENT_RESUME
	.comm	_MENU_ENUM_LABEL_DEFERRED_DIRECTORY_SETTINGS_LIST,4,2 ; @MENU_ENUM_LABEL_DEFERRED_DIRECTORY_SETTINGS_LIST
	.comm	_MENU_ENUM_LABEL_DEFERRED_VIDEO_SETTINGS_LIST,4,2 ; @MENU_ENUM_LABEL_DEFERRED_VIDEO_SETTINGS_LIST
	.comm	_MENU_ENUM_LABEL_DEFERRED_AUDIO_SETTINGS_LIST,4,2 ; @MENU_ENUM_LABEL_DEFERRED_AUDIO_SETTINGS_LIST
	.comm	_MENU_ENUM_LABEL_DEFERRED_ONSCREEN_OVERLAY_SETTINGS_LIST,4,2 ; @MENU_ENUM_LABEL_DEFERRED_ONSCREEN_OVERLAY_SETTINGS_LIST
	.comm	_AUDIO_MIXER_SYSTEM_SLOT_OK,4,2 ; @AUDIO_MIXER_SYSTEM_SLOT_OK
	.comm	_MENU_ENUM_LABEL_DEFERRED_ONSCREEN_VIDEO_LAYOUT_SETTINGS_LIST,4,2 ; @MENU_ENUM_LABEL_DEFERRED_ONSCREEN_VIDEO_LAYOUT_SETTINGS_LIST
	.no_dead_strip	_generic_action_ok
.subsections_via_symbols
