	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function action_ok_delete_entry
_action_ok_delete_entry:                ## @action_ok_delete_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_playlist_get_cached
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_menu_driver_get_ptr
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_playlist_get_conf_path
	movq	%rax, %r15
	movq	_g_defaults@GOTPCREL(%rip), %r14
	movq	32(%r14), %rdi
	callq	_playlist_get_conf_path
	movq	%rax, %r12
	movq	24(%r14), %rdi
	callq	_playlist_get_conf_path
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rdi
	callq	_playlist_get_conf_path
	movq	%rax, %r13
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	32(%r14), %rbx
	jmp	LBB0_7
LBB0_10:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_menu_cbs_exit                  ## TAILCALL
LBB0_3:
	movq	%r15, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	24(%r14), %rbx
	jmp	LBB0_7
LBB0_5:
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_string_is_equal
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	(%r14), %rbx
LBB0_7:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.8:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_playlist_delete_index
	movq	%rbx, %rdi
	callq	_playlist_write_file
LBB0_9:
	xorl	%eax, %eax
	callq	_menu_navigation_get_selection
	movq	%rax, -56(%rbp)
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_menu_entries_pop_stack
	movq	-56(%rbp), %rdi
	callq	_menu_navigation_set_selection
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_g_defaults,40,3                ## @g_defaults
	.no_dead_strip	_action_ok_delete_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_delete_entry
_action_ok_delete_entry:                ; @action_ok_delete_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	bl	_playlist_get_cached
	mov	x20, x0
	bl	_menu_driver_get_ptr
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	mov	x0, x20
	bl	_playlist_get_conf_path
	mov	x21, x0
Lloh0:
	adrp	x25, _g_defaults@GOTPAGE
Lloh1:
	ldr	x25, [x25, _g_defaults@GOTPAGEOFF]
	ldr	x0, [x25, #32]
	bl	_playlist_get_conf_path
	mov	x24, x0
	ldr	x0, [x25, #24]
	bl	_playlist_get_conf_path
	mov	x23, x0
	ldr	x0, [x25]
	bl	_playlist_get_conf_path
	mov	x22, x0
	mov	x0, x21
	mov	x1, x24
	bl	_string_is_equal
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x20, [x25, #32]
	cbnz	x20, LBB0_6
	b	LBB0_7
LBB0_3:
	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
	add	sp, sp, #96
	b	_menu_cbs_exit
LBB0_4:
	mov	x0, x21
	mov	x1, x23
	bl	_string_is_equal
	cbz	x0, LBB0_8
; %bb.5:
	ldr	x20, [x25, #24]
	cbz	x20, LBB0_7
LBB0_6:
	ldr	w1, [x19]
	mov	x0, x20
	bl	_playlist_delete_index
	mov	x0, x20
	bl	_playlist_write_file
LBB0_7:
	bl	_menu_navigation_get_selection
	str	x0, [sp, #8]
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #1
	bl	_menu_entries_pop_stack
	ldr	x0, [sp, #8]
	bl	_menu_navigation_set_selection
	mov	w0, #0
	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
	add	sp, sp, #96
	ret
LBB0_8:
	mov	x0, x21
	mov	x1, x22
	bl	_string_is_equal
	ldr	x8, [x25]
	cmp	x0, #0
	csel	x20, x20, x8, eq
	cbnz	x20, LBB0_6
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_g_defaults,40,3                ; @g_defaults
	.no_dead_strip	_action_ok_delete_entry
.subsections_via_symbols
