	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function action_ok_load_archive_detect_core
_action_ok_load_archive_detect_core:    ## @action_ok_load_archive_detect_core
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movl	%edx, %r12d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	$0, -64(%rbp)
	xorl	%eax, %eax
	callq	_menu_driver_get_ptr
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r15
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r13
	movq	8(%rax), %r12
	leaq	-64(%rbp), %rdi
	callq	_core_info_get_list
	movq	-64(%rbp), %rax
	movq	%rax, -88(%rbp)
	movq	%r13, -120(%rbp)
	movq	%r12, -112(%rbp)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -104(%rbp)
	movl	20(%r15), %eax
	movl	%eax, -92(%rbp)
	movl	$4, -96(%rbp)
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_malloc
	movq	%rax, %r14
	movb	$0, (%rax)
	movl	(%rbx), %ecx
	leaq	-120(%rbp), %rdi
	xorl	%esi, %esi
	movq	%rax, %rdx
	callq	_menu_content_find_first_core
	movq	%rax, %rbx
	movl	16(%r15), %edi
	movq	%r13, %rsi
	movq	%r12, %rdx
	movl	$4, %ecx
	callq	_fill_pathname_join
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.2:
	xorps	%xmm0, %xmm0
	movups	%xmm0, -148(%rbp)
	movaps	%xmm0, -160(%rbp)
	movl	-92(%rbp), %esi
	movq	_CORE_TYPE_PLAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-160(%rbp), %rdx
	movq	%r14, %rdi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_task_push_load_content_with_new_core_from_menu
	cmpl	$1, %eax
	movl	$0, %ebx
	sbbl	%ebx, %ebx
	jmp	LBB0_4
LBB0_5:
	xorl	%eax, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_menu_cbs_exit                  ## TAILCALL
LBB0_3:
	xorl	%eax, %eax
	callq	_menu_navigation_get_selection
	movq	_ACTION_OK_DL_DEFERRED_CORE_LIST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rsp)
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	%rax, %r8
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	callq	_generic_action_ok_displaylist_push
	movl	%eax, %ebx
LBB0_4:
	movq	%r14, %rdi
	callq	_free
	movl	%ebx, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ## @PATH_MAX_LENGTH
	.comm	_CORE_TYPE_PLAIN,4,2            ## @CORE_TYPE_PLAIN
	.comm	_ACTION_OK_DL_DEFERRED_CORE_LIST,4,2 ## @ACTION_OK_DL_DEFERRED_CORE_LIST
	.no_dead_strip	_action_ok_load_archive_detect_core
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function action_ok_load_archive_detect_core
_action_ok_load_archive_detect_core:    ; @action_ok_load_archive_detect_core
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	mov	x20, x4
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	str	xzr, [sp, #32]
	bl	_menu_driver_get_ptr
	cbz	x0, LBB0_3
; %bb.1:
	mov	x24, x0
	ldp	x25, x26, [x0]
	add	x0, sp, #32
	bl	_core_info_get_list
	ldr	x8, [sp, #32]
	stp	x25, x26, [sp, #40]
	str	x8, [sp, #72]
	str	x22, [sp, #56]
	ldr	w8, [x24, #20]
	mov	w9, #4
	stp	w9, w8, [sp, #64]
Lloh0:
	adrp	x27, _PATH_MAX_LENGTH@GOTPAGE
Lloh1:
	ldr	x27, [x27, _PATH_MAX_LENGTH@GOTPAGEOFF]
	ldr	w0, [x27]
	bl	_malloc
	mov	x19, x0
	strb	wzr, [x0]
	ldr	w3, [x27]
	add	x0, sp, #40
	mov	w1, #0
	mov	x2, x19
	bl	_menu_content_find_first_core
	mov	x27, x0
	ldr	w0, [x24, #16]
	mov	x1, x25
	mov	x2, x26
	mov	w3, #4
	bl	_fill_pathname_join
	cbz	x27, LBB0_4
; %bb.2:
	stp	xzr, xzr, [sp]
	str	wzr, [sp, #24]
	str	xzr, [sp, #16]
	ldr	w1, [sp, #68]
Lloh2:
	adrp	x8, _CORE_TYPE_PLAIN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CORE_TYPE_PLAIN@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	mov	x2, sp
	mov	x0, x19
	mov	x4, #0
	mov	x5, #0
	bl	_task_push_load_content_with_new_core_from_menu
	cmp	w0, #0
	csetm	w20, eq
	b	LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	b	_menu_cbs_exit
LBB0_4:
	bl	_menu_navigation_get_selection
	mov	x4, x0
Lloh5:
	adrp	x8, _ACTION_OK_DL_DEFERRED_CORE_LIST@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ACTION_OK_DL_DEFERRED_CORE_LIST@GOTPAGEOFF]
Lloh7:
	ldr	w6, [x8]
	mov	x0, x23
	mov	x1, #0
	mov	x2, x22
	mov	x3, x21
	mov	x5, x20
	bl	_generic_action_ok_displaylist_push
	mov	x20, x0
LBB0_5:
	mov	x0, x19
	bl	_free
	mov	x0, x20
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
	.comm	_CORE_TYPE_PLAIN,4,2            ; @CORE_TYPE_PLAIN
	.comm	_ACTION_OK_DL_DEFERRED_CORE_LIST,4,2 ; @ACTION_OK_DL_DEFERRED_CORE_LIST
	.no_dead_strip	_action_ok_load_archive_detect_core
.subsections_via_symbols
