	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_playlist_delete_index          ## -- Begin function playlist_delete_index
	.p2align	4, 0x90
_playlist_delete_index:                 ## @playlist_delete_index
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rdx
	cmpq	%rsi, %rdx
	jbe	LBB0_6
## %bb.2:
	decq	%rdx
	movq	%rdx, (%rbx)
	movq	16(%rbx), %rdi
	addq	%r14, %rdi
	je	LBB0_3
## %bb.4:
	callq	_playlist_free_entry
	movq	(%rbx), %rdx
	movq	16(%rbx), %rdi
	addq	%r14, %rdi
	jmp	LBB0_5
LBB0_3:
	xorl	%edi, %edi
LBB0_5:
	leaq	1(%rdi), %rsi
	subq	%r14, %rdx
	shlq	$2, %rdx
	callq	_memmove
	movl	$1, 8(%rbx)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_playlist_delete_index          ; -- Begin function playlist_delete_index
	.p2align	2
_playlist_delete_index:                 ; @playlist_delete_index
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	cmp	x8, x1
	b.ls	LBB0_5
; %bb.2:
	sub	x8, x8, #1
	str	x8, [x19]
	ldr	x9, [x19, #16]
	adds	x0, x9, x20
	b.eq	LBB0_4
; %bb.3:
	bl	_playlist_free_entry
	ldr	x9, [x19, #16]
	ldr	x8, [x19]
	add	x0, x9, x20
LBB0_4:
	add	x1, x0, #1
	sub	x8, x8, x20
	lsl	x2, x8, #2
	bl	_memmove
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
