	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function action_ok_playlist_entry
_action_ok_playlist_entry:              ## @action_ok_playlist_entry
	.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	$104, %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, %ebx
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	xorl	%eax, %eax
	callq	_playlist_get_cached
	movq	%rax, %r12
	movq	$0, -56(%rbp)
	xorl	%eax, %eax
	callq	_menu_driver_get_ptr
	movb	$0, (%r15)
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	leaq	-56(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_playlist_get_index
	movq	-56(%rbp), %rax
	movq	(%rax), %rbx
	movq	8(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	movq	-56(%rbp), %rax
	movq	16(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_playlist_get_default_core_path
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_string_is_empty
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_strlcpy
	movq	_PLAYLIST_LOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_playlist_resolve_path
LBB0_8:
	movq	$0, -96(%rbp)
	movq	%r15, -104(%rbp)
	leaq	-104(%rbp), %rdi
	movq	%r15, %rsi
	callq	_core_info_find
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	testl	%ebx, %ebx
	jne	LBB0_10
## %bb.11:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -128(%rbp)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -136(%rbp)
	movq	-96(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, -128(%rbp)
	leaq	-144(%rbp), %rdx
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_command_playlist_update_write
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %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_12:
	movq	-56(%rbp), %rax
	movq	8(%rax), %rdi
	callq	_string_is_empty
	testl	%eax, %eax
	jne	LBB0_14
## %bb.13:
	movq	-56(%rbp), %rax
	movq	8(%rax), %rsi
	movq	%r15, %rdi
	movl	%r13d, %edx
	callq	_strlcpy
	movq	_PLAYLIST_LOAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_playlist_resolve_path
LBB0_14:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_menu_content_playlist_load
	testl	%eax, %eax
	je	LBB0_15
## %bb.16:
	leaq	-56(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_playlist_get_index
	movq	-56(%rbp), %rax
	movl	24(%rax), %esi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	callq	_default_action_ok_load_content_from_playlist_from_menu
	jmp	LBB0_17
LBB0_15:
	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
	leaq	L_.str.1(%rip), %rdi
	movl	$1, %esi
	movl	$100, %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	pushq	%rax
	callq	_runloop_msg_queue_push
	addq	$16, %rsp
	xorl	%eax, %eax
	callq	_menu_cbs_exit
	jmp	LBB0_17
LBB0_10:
	movq	-56(%rbp), %rax
	movl	24(%rax), %edi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movq	%r14, %rcx
	movq	%r14, %r8
	callq	_action_ok_file_load_with_detect_core
LBB0_17:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_19
## %bb.18:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ## @PATH_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DETECT"

	.comm	_PLAYLIST_LOAD,4,2              ## @PLAYLIST_LOAD
L_.str.1:                               ## @.str.1
	.asciz	"File could not be loaded from playlist.\n"

	.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_playlist_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function action_ok_playlist_entry
_action_ok_playlist_entry:              ; @action_ok_playlist_entry
	.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, #64
	mov	x19, x4
	mov	x23, x2
	mov	x24, x1
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	w25, [x8]
	mov	x9, x25
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x25, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
	bl	_playlist_get_cached
	mov	x21, x0
	stur	xzr, [x29, #-96]
	bl	_menu_driver_get_ptr
	strb	wzr, [x20]
	cbz	x21, LBB0_8
; %bb.1:
	cbz	x0, LBB0_8
; %bb.2:
	sub	x2, x29, #96
	mov	x0, x21
	mov	x1, x19
	bl	_playlist_get_index
	ldur	x8, [x29, #-96]
	ldp	x22, x0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_10
; %bb.3:
	ldur	x8, [x29, #-96]
	ldr	x0, [x8, #16]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_10
; %bb.4:
	mov	x0, x21
	bl	_playlist_get_default_core_path
	mov	x26, x0
	bl	_string_is_empty
	mov	x27, x0
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x0, x20
	mov	x1, x26
	mov	x2, x25
	bl	_strlcpy
Lloh12:
	adrp	x8, _PLAYLIST_LOAD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PLAYLIST_LOAD@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, x25
	bl	_playlist_resolve_path
LBB0_6:
	stp	x20, xzr, [x29, #-112]
	sub	x0, x29, #112
	mov	x1, x20
	bl	_core_info_find
	cmp	w0, #0
	ccmp	w27, #0, #0, ne
	b.eq	LBB0_12
; %bb.7:
	ldur	x8, [x29, #-96]
	ldr	w0, [x8, #24]
	mov	x1, x24
	mov	x2, x23
	mov	x3, x19
	mov	x4, x19
	bl	_action_ok_file_load_with_detect_core
	b	LBB0_16
LBB0_8:
	ldur	x8, [x29, #-88]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.9:
	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_10:
	ldur	x8, [x29, #-96]
	ldr	x0, [x8, #8]
	bl	_string_is_empty
	cbnz	w0, LBB0_13
; %bb.11:
	ldur	x8, [x29, #-96]
	ldr	x1, [x8, #8]
	mov	x0, x20
	mov	x2, x25
	bl	_strlcpy
Lloh18:
	adrp	x8, _PLAYLIST_LOAD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PLAYLIST_LOAD@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, x20
	mov	x2, x25
	bl	_playlist_resolve_path
	b	LBB0_13
LBB0_12:
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x29, #-144]
	stur	x26, [x29, #-136]
	ldur	x8, [x29, #-104]
	ldr	x8, [x8]
	stur	x8, [x29, #-128]
	sub	x2, x29, #144
	mov	x0, #0
	mov	x1, x19
	bl	_command_playlist_update_write
LBB0_13:
	mov	x0, x21
	mov	x1, x19
	bl	_menu_content_playlist_load
	cbz	w0, LBB0_15
; %bb.14:
	sub	x2, x29, #96
	mov	x0, x21
	mov	x1, x19
	bl	_playlist_get_index
	ldur	x8, [x29, #-96]
	ldr	w1, [x8, #24]
	mov	x0, x20
	mov	x2, x22
	bl	_default_action_ok_load_content_from_playlist_from_menu
	b	LBB0_16
LBB0_15:
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]
Lloh27:
	adrp	x0, l_.str.1@PAGE
Lloh28:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w1, #1
	mov	w2, #100
	mov	w3, #1
	mov	x4, #0
	bl	_runloop_msg_queue_push
	bl	_menu_cbs_exit
LBB0_16:
	ldur	x8, [x29, #-88]
Lloh29:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh30:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	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_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DETECT"

	.comm	_PLAYLIST_LOAD,4,2              ; @PLAYLIST_LOAD
l_.str.1:                               ; @.str.1
	.asciz	"File could not be loaded from playlist.\n"

	.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_playlist_entry
.subsections_via_symbols
