	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function action_ok_playlist_entry_start_content
_action_ok_playlist_entry_start_content: ## @action_ok_playlist_entry_start_content
	.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, %r15
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_playlist_get_cached
	movq	%rax, %rbx
	movq	$0, -56(%rbp)
	xorl	%eax, %eax
	callq	_menu_driver_get_ptr
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	(%rax), %r14
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_playlist_get_index
	movq	-56(%rbp), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:
	movq	-56(%rbp), %rax
	movq	8(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movl	%r12d, -60(%rbp)                ## 4-byte Spill
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	%rsp, -72(%rbp)                 ## 8-byte Spill
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%rbx, %rdi
	callq	_playlist_get_default_core_path
	movq	%rax, %r12
	movb	$0, (%r15)
	movq	%rax, %rdi
	callq	_string_is_empty
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_strlcpy
LBB0_8:
	movq	$0, -104(%rbp)
	movq	%r15, -112(%rbp)
	leaq	-112(%rbp), %rdi
	movq	%r15, %rsi
	callq	_core_info_find
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	testl	%r13d, %r13d
	jne	LBB0_10
## %bb.11:
	xorps	%xmm0, %xmm0
	movups	%xmm0, -128(%rbp)
	movq	%r15, -144(%rbp)
	movq	-104(%rbp), %rax
	movq	(%rax), %rax
	movq	%rax, -136(%rbp)
	leaq	-144(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_command_playlist_update_write
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
LBB0_12:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_menu_content_playlist_load
	testl	%eax, %eax
	je	LBB0_13
## %bb.14:
	leaq	-56(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_playlist_get_index
	movq	-56(%rbp), %rax
	movq	(%rax), %rdi
	movl	20(%rax), %esi
	movl	16(%rax), %edx
	callq	_default_action_ok_load_content_from_playlist_from_menu
	jmp	LBB0_15
LBB0_2:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %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_13:
	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_15
LBB0_10:
	xorl	%edi, %edi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	movq	%r14, %rcx
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	callq	_action_ok_file_load_with_detect_core
	movq	-72(%rbp), %rsp                 ## 8-byte Reload
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_17
## %bb.16:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DETECT"

	.comm	_PATH_MAX_LENGTH,4,2            ## @PATH_MAX_LENGTH
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_start_content
.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_start_content
_action_ok_playlist_entry_start_content: ; @action_ok_playlist_entry_start_content
	.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	x21, x4
	mov	x22, x2
	mov	x23, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_playlist_get_cached
	mov	x19, x0
	stur	xzr, [x29, #-96]
	bl	_menu_driver_get_ptr
	cbz	x19, LBB0_8
; %bb.1:
	cbz	x0, LBB0_8
; %bb.2:
	ldr	x20, [x0]
	sub	x2, x29, #96
	mov	x0, x19
	mov	x1, x20
	bl	_playlist_get_index
	ldur	x8, [x29, #-96]
	ldr	x0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_11
; %bb.3:
	ldur	x8, [x29, #-96]
	ldr	x0, [x8, #8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_string_is_equal
	cbz	x0, LBB0_11
; %bb.4:
	mov	x28, sp
Lloh7:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
Lloh9:
	ldr	w25, [x8]
	mov	x9, x25
Lloh10:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh11:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x25, #15
	and	x9, x9, #0x1fffffff0
	sub	x24, x8, x9
	mov	sp, x24
	mov	x0, x19
	bl	_playlist_get_default_core_path
	mov	x27, x0
	strb	wzr, [x24]
	bl	_string_is_empty
	mov	x26, x0
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x0, x24
	mov	x1, x27
	mov	x2, x25
	bl	_strlcpy
LBB0_6:
	stp	x24, xzr, [x29, #-112]
	sub	x0, x29, #112
	mov	x1, x24
	bl	_core_info_find
	cmp	w0, #0
	ccmp	w26, #0, #0, ne
	b.eq	LBB0_10
; %bb.7:
	mov	x0, #0
	mov	x1, x23
	mov	x2, x22
	mov	x3, x20
	mov	x4, x21
	bl	_action_ok_file_load_with_detect_core
	mov	sp, x28
	b	LBB0_14
LBB0_8:
	ldur	x8, [x29, #-88]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %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:
	stp	xzr, xzr, [x29, #-128]
	stur	x24, [x29, #-144]
	ldur	x8, [x29, #-104]
	ldr	x8, [x8]
	stur	x8, [x29, #-136]
	sub	x2, x29, #144
	mov	x0, x19
	mov	x1, x20
	bl	_command_playlist_update_write
	mov	sp, x28
LBB0_11:
	mov	x0, x19
	mov	x1, x20
	bl	_menu_content_playlist_load
	cbz	w0, LBB0_13
; %bb.12:
	sub	x2, x29, #96
	mov	x0, x19
	mov	x1, x20
	bl	_playlist_get_index
	ldur	x8, [x29, #-96]
	ldr	x0, [x8]
	ldp	w2, w1, [x8, #16]
	bl	_default_action_ok_load_content_from_playlist_from_menu
	b	LBB0_14
LBB0_13:
Lloh15:
	adrp	x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MESSAGE_QUEUE_ICON_DEFAULT@GOTPAGEOFF]
Lloh17:
	ldr	w5, [x8]
Lloh18:
	adrp	x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MESSAGE_QUEUE_CATEGORY_INFO@GOTPAGEOFF]
Lloh20:
	ldr	w6, [x8]
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	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_14:
	ldur	x8, [x29, #-88]
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_16
; %bb.15:
	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_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DETECT"

	.comm	_PATH_MAX_LENGTH,4,2            ; @PATH_MAX_LENGTH
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_start_content
.subsections_via_symbols
