	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function action_ok_file_load
_action_ok_file_load:                   ## @action_ok_file_load
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -104(%rbp)                 ## 8-byte Spill
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	%r15, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	$0, -64(%rbp)
	movq	$0, -72(%rbp)
	xorl	%edi, %edi
	callq	_menu_entries_get_menu_stack_ptr
	movq	%rax, %r14
	movb	$0, (%rbx)
	movb	$0, (%r12)
	xorl	%eax, %eax
	callq	_filebrowser_get_type
	movq	_FILEBROWSER_SELECT_FILE_SUBSYSTEM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.1:
	xorl	%eax, %eax
	callq	_menu_driver_get_ptr
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	(%rax), %rsi
	movq	8(%rax), %rdx
	movq	%r12, %rdi
	movl	%r15d, %ecx
	callq	_fill_pathname_join
	cmpl	$128, -52(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movl	$35, %ecx
	movl	%r15d, %r8d
	callq	_fill_pathname_join_delim
	jmp	LBB0_7
LBB0_8:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rbx
	xorl	%r13d, %r13d
	leaq	-72(%rbp), %rsi
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_file_list_get_last
	movq	-64(%rbp), %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	-64(%rbp), %rdi
	callq	_menu_setting_find
	movq	%rax, %r13
LBB0_10:
	movq	%r13, %rdi
	callq	_setting_get_type
	movq	_ST_PATH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	-104(%rbp), %r8                 ## 8-byte Reload
	callq	_action_ok_set_path
	jmp	LBB0_24
LBB0_12:
	movq	-72(%rbp), %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	movq	%rbx, %r13
	jne	LBB0_14
## %bb.13:
	movq	-72(%rbp), %rsi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_strlcpy
LBB0_14:
	movq	-64(%rbp), %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	jne	LBB0_20
## %bb.15:
	movq	-64(%rbp), %r14
	movq	_MENU_ENUM_LABEL_DEFERRED_ARCHIVE_OPEN_DETECT_CORE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_string_is_equal
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:
	movq	-64(%rbp), %r14
	movq	_MENU_ENUM_LABEL_DEFERRED_ARCHIVE_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_20
LBB0_17:
	xorl	%eax, %eax
	callq	_menu_driver_get_ptr
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	movq	(%rax), %rsi
	movq	8(%rax), %rdx
	movq	%r12, %rdi
	movl	%r15d, %ecx
	callq	_fill_pathname_join
LBB0_20:
	cmpl	$128, -52(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_22
## %bb.21:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movl	$35, %ecx
	movl	%r15d, %r8d
	callq	_fill_pathname_join_delim
	jmp	LBB0_23
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.3:
	xorl	%eax, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_menu_cbs_exit                  ## TAILCALL
LBB0_6:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movl	%r15d, %ecx
	callq	_fill_pathname_join
LBB0_7:
	movq	%rbx, %rdi
	callq	_content_add_subsystem
	movq	_MENU_SETTINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_menu_entries_flush_stack
	jmp	LBB0_25
LBB0_22:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	movl	%r15d, %ecx
	callq	_fill_pathname_join
LBB0_23:
	movq	_CORE_TYPE_PLAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_default_action_ok_load_content_with_core_from_menu
LBB0_24:
	movl	%eax, %ebx
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.26:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	xorl	%eax, %eax
	callq	_menu_cbs_exit
	jmp	LBB0_24
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ## @PATH_MAX_LENGTH
	.comm	_FILEBROWSER_SELECT_FILE_SUBSYSTEM,8,3 ## @FILEBROWSER_SELECT_FILE_SUBSYSTEM
	.comm	_MENU_SETTINGS,4,2              ## @MENU_SETTINGS
	.comm	_ST_PATH,8,3                    ## @ST_PATH
	.comm	_MENU_ENUM_LABEL_DEFERRED_ARCHIVE_OPEN_DETECT_CORE,4,2 ## @MENU_ENUM_LABEL_DEFERRED_ARCHIVE_OPEN_DETECT_CORE
	.comm	_MENU_ENUM_LABEL_DEFERRED_ARCHIVE_OPEN,4,2 ## @MENU_ENUM_LABEL_DEFERRED_ARCHIVE_OPEN
	.comm	_CORE_TYPE_PLAIN,4,2            ## @CORE_TYPE_PLAIN
	.no_dead_strip	_action_ok_file_load
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function action_ok_file_load
_action_ok_file_load:                   ; @action_ok_file_load
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x24, x4
	mov	x25, x3
	mov	x23, x2
	mov	x26, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x12, x9, #0x1fffffff0
	sub	x22, x8, x12
	mov	sp, x22
	mov	x9, x21
Lloh8:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh9:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x19, x8, x12
	mov	sp, x19
	stp	xzr, xzr, [x29, #-104]
	mov	w0, #0
	bl	_menu_entries_get_menu_stack_ptr
	mov	x27, x0
	strb	wzr, [x19]
	strb	wzr, [x22]
	bl	_filebrowser_get_type
Lloh10:
	adrp	x8, _FILEBROWSER_SELECT_FILE_SUBSYSTEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FILEBROWSER_SELECT_FILE_SUBSYSTEM@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
	bl	_menu_driver_get_ptr
	cbz	x0, LBB0_17
; %bb.2:
	ldp	x1, x2, [x0]
	mov	x0, x22
	mov	x3, x21
	bl	_fill_pathname_join
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	cmp	w23, #128
	b.ne	LBB0_19
; %bb.3:
	mov	w3, #35
	mov	x4, x21
	bl	_fill_pathname_join_delim
	b	LBB0_20
LBB0_4:
	sub	x1, x29, #104
	sub	x2, x29, #96
	mov	x0, x27
	mov	x3, #0
	mov	x4, #0
	bl	_file_list_get_last
	ldur	x0, [x29, #-96]
	bl	_string_is_empty
	mov	x8, x0
	mov	x0, #0
	cbnz	w8, LBB0_6
; %bb.5:
	ldur	x0, [x29, #-96]
	bl	_menu_setting_find
LBB0_6:
	bl	_setting_get_type
Lloh13:
	adrp	x8, _ST_PATH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ST_PATH@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x20
	mov	x1, x26
	mov	x2, x23
	mov	x3, x25
	mov	x4, x24
	bl	_action_ok_set_path
	b	LBB0_23
LBB0_8:
	ldur	x0, [x29, #-104]
	bl	_string_is_empty
	cbnz	w0, LBB0_10
; %bb.9:
	ldur	x1, [x29, #-104]
	mov	x0, x22
	mov	x2, x21
	bl	_strlcpy
LBB0_10:
	ldur	x0, [x29, #-96]
	bl	_string_is_empty
	cbnz	w0, LBB0_15
; %bb.11:
	ldur	x24, [x29, #-96]
Lloh16:
	adrp	x8, _MENU_ENUM_LABEL_DEFERRED_ARCHIVE_OPEN_DETECT_CORE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MENU_ENUM_LABEL_DEFERRED_ARCHIVE_OPEN_DETECT_CORE@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
	mov	x0, x24
	bl	_string_is_equal
	cbnz	x0, LBB0_13
; %bb.12:
	ldur	x24, [x29, #-96]
Lloh19:
	adrp	x8, _MENU_ENUM_LABEL_DEFERRED_ARCHIVE_OPEN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _MENU_ENUM_LABEL_DEFERRED_ARCHIVE_OPEN@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
	mov	x0, x24
	bl	_string_is_equal
	cbz	x0, LBB0_15
LBB0_13:
	bl	_menu_driver_get_ptr
	cbz	x0, LBB0_25
; %bb.14:
	ldp	x1, x2, [x0]
	mov	x0, x22
	mov	x3, x21
	bl	_fill_pathname_join
LBB0_15:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	cmp	w23, #128
	b.ne	LBB0_21
; %bb.16:
	mov	w3, #35
	mov	x4, x21
	bl	_fill_pathname_join_delim
	b	LBB0_22
LBB0_17:
	ldur	x8, [x29, #-88]
Lloh22:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh23:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.18:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_menu_cbs_exit
LBB0_19:
	mov	x3, x21
	bl	_fill_pathname_join
LBB0_20:
	mov	x0, x19
	bl	_content_add_subsystem
Lloh25:
	adrp	x8, _MENU_SETTINGS@GOTPAGE
Lloh26:
	ldr	x8, [x8, _MENU_SETTINGS@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, #0
	bl	_menu_entries_flush_stack
	mov	w0, #0
	b	LBB0_23
LBB0_21:
	mov	x3, x21
	bl	_fill_pathname_join
LBB0_22:
Lloh28:
	adrp	x8, _CORE_TYPE_PLAIN@GOTPAGE
Lloh29:
	ldr	x8, [x8, _CORE_TYPE_PLAIN@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_default_action_ok_load_content_with_core_from_menu
LBB0_23:
	ldur	x8, [x29, #-88]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_26
; %bb.24:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_25:
	bl	_menu_cbs_exit
	b	LBB0_23
LBB0_26:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
	.comm	_FILEBROWSER_SELECT_FILE_SUBSYSTEM,8,3 ; @FILEBROWSER_SELECT_FILE_SUBSYSTEM
	.comm	_MENU_SETTINGS,4,2              ; @MENU_SETTINGS
	.comm	_ST_PATH,8,3                    ; @ST_PATH
	.comm	_MENU_ENUM_LABEL_DEFERRED_ARCHIVE_OPEN_DETECT_CORE,4,2 ; @MENU_ENUM_LABEL_DEFERRED_ARCHIVE_OPEN_DETECT_CORE
	.comm	_MENU_ENUM_LABEL_DEFERRED_ARCHIVE_OPEN,4,2 ; @MENU_ENUM_LABEL_DEFERRED_ARCHIVE_OPEN
	.comm	_CORE_TYPE_PLAIN,4,2            ; @CORE_TYPE_PLAIN
	.no_dead_strip	_action_ok_file_load
.subsections_via_symbols
