	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function action_ok_core_deferred_set
_action_ok_core_deferred_set:           ## @action_ok_core_deferred_set
	.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	$344, %rsp                      ## imm = 0x158
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -336(%rbp)                ## 8-byte Spill
	movq	%rsp, -352(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	%rax, -328(%rbp)                ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movl	(%rbx), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	xorl	%eax, %eax
	callq	_config_get_ptr
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_menu_navigation_get_selection
	movq	%rax, -312(%rbp)
	movq	$0, -360(%rbp)
	xorl	%eax, %eax
	callq	_menu_driver_get_ptr
	movb	$0, -304(%rbp)
	movq	%r12, -344(%rbp)                ## 8-byte Spill
	movb	$0, (%r12)
	movb	$0, (%r13)
	movb	$0, (%r14)
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%r14, %r12
	movq	%rax, -320(%rbp)                ## 8-byte Spill
	leaq	-304(%rbp), %rdi
	movl	$255, %esi
	callq	_frontend_driver_get_core_extension
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	8(%r15), %ecx
	movl	(%r15), %eax
	movl	4(%r15), %r8d
	leaq	-304(%rbp), %r9
	movq	-336(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	movq	-344(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rsi
	movq	-328(%rbp), %rdx                ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	pushq	$1
	pushq	%rax
	callq	_core_info_get_name
	addq	$16, %rsp
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_strlcpy
	movq	_PLAYLIST_SAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_playlist_resolve_path
	movq	%r13, -376(%rbp)
	movq	%r15, -368(%rbp)
	movq	-320(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
	leaq	-376(%rbp), %rdx
	xorl	%edi, %edi
	callq	_command_playlist_update_write
	movq	_MSG_SET_CORE_ASSOCIATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msg_hash_to_str
	movq	%r12, %rdi
	movq	%rax, %rsi
	movl	%ebx, %edx
	callq	_strlcpy
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_strlcat
	movq	_MESSAGE_QUEUE_ICON_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_MESSAGE_QUEUE_CATEGORY_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movq	%r12, %rdi
	movl	$1, %esi
	movl	$100, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	pushq	%rax
	callq	_runloop_msg_queue_push
	addq	$16, %rsp
	leaq	-312(%rbp), %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_menu_entries_pop_stack
	movq	-312(%rbp), %rdi
	callq	_menu_navigation_set_selection
LBB0_3:
	xorl	%eax, %eax
	callq	_menu_cbs_exit
	movq	-352(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ## @PATH_MAX_LENGTH
	.comm	_PLAYLIST_SAVE,4,2              ## @PLAYLIST_SAVE
	.comm	_MSG_SET_CORE_ASSOCIATION,4,2   ## @MSG_SET_CORE_ASSOCIATION
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ## @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ## @MESSAGE_QUEUE_CATEGORY_INFO
	.no_dead_strip	_action_ok_core_deferred_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function action_ok_core_deferred_set
_action_ok_core_deferred_set:           ; @action_ok_core_deferred_set
	.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, #304
	mov	x19, sp
	mov	x23, x0
	mov	x28, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
	ldr	w24, [x8]
	mov	x9, x24
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x24, #15
	and	x10, x10, #0x1fffffff0
	sub	x20, x9, x10
	mov	sp, x20
	ldr	w21, [x8]
	mov	x9, x21
Lloh7:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh8:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x12, x9, #0x1fffffff0
	sub	x25, x8, x12
	mov	sp, x25
	mov	x9, x21
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	sub	x22, x8, x12
	mov	sp, x22
	bl	_config_get_ptr
	mov	x27, x0
	bl	_menu_navigation_get_selection
	stp	xzr, x0, [x19, #16]
	bl	_menu_driver_get_ptr
	strb	wzr, [x19, #33]
	strb	wzr, [x20]
	strb	wzr, [x25]
	strb	wzr, [x22]
	cbz	x0, LBB0_3
; %bb.1:
	mov	x26, x0
	add	x0, x19, #33
	mov	w1, #255
	bl	_frontend_driver_get_core_extension
	cbz	w0, LBB0_3
; %bb.2:
	ldp	w4, w3, [x27, #4]
	ldr	w6, [x27]
	add	x5, x19, #33
	mov	x0, x23
	mov	x1, x20
	mov	x2, x24
	mov	w7, #1
	bl	_core_info_get_name
	mov	x0, x25
	mov	x1, x23
	mov	x2, x21
	bl	_strlcpy
Lloh11:
	adrp	x8, _PLAYLIST_SAVE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PLAYLIST_SAVE@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x25
	mov	x2, x21
	bl	_playlist_resolve_path
	stp	x25, x20, [x19]
	ldr	w1, [x26]
	add	x2, x19, #0
	mov	x0, #0
	bl	_command_playlist_update_write
Lloh14:
	adrp	x8, _MSG_SET_CORE_ASSOCIATION@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSG_SET_CORE_ASSOCIATION@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_msg_hash_to_str
	mov	x1, x0
	mov	x0, x22
	mov	x2, x21
	bl	_strlcpy
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_strlcat
Lloh17:
	adrp	x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGEOFF]
Lloh19:
	ldr	w5, [x8]
Lloh20:
	adrp	x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGE
Lloh21:
	ldr	x8, [x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGEOFF]
Lloh22:
	ldr	w6, [x8]
	mov	x0, x22
	mov	w1, #1
	mov	w2, #100
	mov	w3, #1
	mov	x4, #0
	bl	_runloop_msg_queue_push
	add	x0, x19, #24
	mov	w1, #0
	mov	w2, #1
	bl	_menu_entries_pop_stack
	ldr	x0, [x19, #24]
	bl	_menu_navigation_set_selection
LBB0_3:
	bl	_menu_cbs_exit
	mov	sp, x28
	ldur	x8, [x29, #-96]
Lloh23:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh24:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	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_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
	.comm	_PLAYLIST_SAVE,4,2              ; @PLAYLIST_SAVE
	.comm	_MSG_SET_CORE_ASSOCIATION,4,2   ; @MSG_SET_CORE_ASSOCIATION
	.comm	_MESSAGE_QUEUE_ICON_DEFAULT,4,2 ; @MESSAGE_QUEUE_ICON_DEFAULT
	.comm	_MESSAGE_QUEUE_CATEGORY_INFO,4,2 ; @MESSAGE_QUEUE_CATEGORY_INFO
	.no_dead_strip	_action_ok_core_deferred_set
.subsections_via_symbols
