	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_playlist_update                ## -- Begin function playlist_update
	.p2align	4, 0x90
_playlist_update:                       ## @playlist_update
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_32
## %bb.1:
	movq	%rdi, %rbx
	cmpq	%rsi, (%rdi)
	jb	LBB0_32
## %bb.2:
	movq	%rdx, %r14
	movq	16(%rbx), %r15
	leaq	(%rsi,%rsi,2), %r12
	shlq	$4, %r12
	movq	40(%rdx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.3:
	movq	40(%r15,%r12), %rax
	cmpq	%rax, %rdi
	je	LBB0_7
## %bb.4:
	leaq	(%r15,%r12), %r13
	addq	$40, %r13
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rax, %rdi
	callq	_free
	movq	40(%r14), %rdi
LBB0_6:
	callq	_strdup
	movq	%rax, (%r13)
	movl	$1, 8(%rbx)
LBB0_7:
	movq	32(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.8:
	movq	32(%r15,%r12), %rax
	cmpq	%rax, %rdi
	je	LBB0_12
## %bb.9:
	leaq	(%r15,%r12), %r13
	addq	$32, %r13
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	%rax, %rdi
	callq	_free
	movq	32(%r14), %rdi
LBB0_11:
	callq	_strdup
	movq	%rax, (%r13)
	movl	$1, 8(%rbx)
LBB0_12:
	movq	24(%r14), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:
	movq	24(%r15,%r12), %rdi
	cmpq	%rdi, %rax
	je	LBB0_17
## %bb.14:
	leaq	(%r15,%r12), %r13
	addq	$24, %r13
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:
	callq	_free
LBB0_16:
	movq	$0, (%r13)
	movq	24(%r14), %rdi
	callq	_strdup
	movq	%rax, (%r13)
	movl	$1, 8(%rbx)
LBB0_17:
	movq	16(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.18:
	movq	16(%r15,%r12), %rax
	cmpq	%rax, %rdi
	je	LBB0_22
## %bb.19:
	leaq	(%r15,%r12), %r13
	addq	$16, %r13
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	%rax, %rdi
	callq	_free
	movq	16(%r14), %rdi
LBB0_21:
	callq	_strdup
	movq	%rax, (%r13)
	movl	$1, 8(%rbx)
LBB0_22:
	movq	8(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.23:
	movq	8(%r15,%r12), %rax
	cmpq	%rax, %rdi
	je	LBB0_27
## %bb.24:
	leaq	(%r15,%r12), %r13
	addq	$8, %r13
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	movq	%rax, %rdi
	callq	_free
	movq	8(%r14), %rdi
LBB0_26:
	callq	_strdup
	movq	%rax, (%r13)
	movl	$1, 8(%rbx)
LBB0_27:
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_32
## %bb.28:
	addq	%r12, %r15
	movq	(%r15), %rax
	cmpq	%rax, %rdi
	je	LBB0_32
## %bb.29:
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	movq	%rax, %rdi
	callq	_free
	movq	(%r14), %rdi
LBB0_31:
	callq	_strdup
	movq	%rax, (%r15)
	movl	$1, 8(%rbx)
LBB0_32:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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_update                ; -- Begin function playlist_update
	.p2align	2
_playlist_update:                       ; @playlist_update
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x0, LBB0_32
; %bb.1:
	mov	x21, x1
	mov	x19, x0
	ldr	x8, [x0]
	cmp	x8, x1
	b.lo	LBB0_32
; %bb.2:
	mov	x20, x2
	ldr	x22, [x19, #16]
	ldr	x0, [x2, #40]
	cbz	x0, LBB0_7
; %bb.3:
	mov	w8, #48
	madd	x23, x21, x8, x22
	ldr	x8, [x23, #40]!
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.4:
	cbz	x8, LBB0_6
; %bb.5:
	mov	x0, x8
	bl	_free
	ldr	x0, [x20, #40]
LBB0_6:
	bl	_strdup
	str	x0, [x23]
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_7:
	ldr	x0, [x20, #32]
	cbz	x0, LBB0_12
; %bb.8:
	mov	w8, #48
	madd	x23, x21, x8, x22
	ldr	x8, [x23, #32]!
	cmp	x0, x8
	b.eq	LBB0_12
; %bb.9:
	cbz	x8, LBB0_11
; %bb.10:
	mov	x0, x8
	bl	_free
	ldr	x0, [x20, #32]
LBB0_11:
	bl	_strdup
	str	x0, [x23]
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_12:
	ldr	x8, [x20, #24]
	cbz	x8, LBB0_17
; %bb.13:
	mov	w9, #48
	madd	x23, x21, x9, x22
	ldr	x0, [x23, #24]!
	cmp	x8, x0
	b.eq	LBB0_17
; %bb.14:
	cbz	x0, LBB0_16
; %bb.15:
	bl	_free
LBB0_16:
	str	xzr, [x23]
	ldr	x0, [x20, #24]
	bl	_strdup
	str	x0, [x23]
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_17:
	ldr	x0, [x20, #16]
	cbz	x0, LBB0_22
; %bb.18:
	mov	w8, #48
	madd	x23, x21, x8, x22
	ldr	x8, [x23, #16]!
	cmp	x0, x8
	b.eq	LBB0_22
; %bb.19:
	cbz	x8, LBB0_21
; %bb.20:
	mov	x0, x8
	bl	_free
	ldr	x0, [x20, #16]
LBB0_21:
	bl	_strdup
	str	x0, [x23]
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_22:
	ldr	x0, [x20, #8]
	cbz	x0, LBB0_27
; %bb.23:
	mov	w8, #48
	madd	x23, x21, x8, x22
	ldr	x8, [x23, #8]!
	cmp	x0, x8
	b.eq	LBB0_27
; %bb.24:
	cbz	x8, LBB0_26
; %bb.25:
	mov	x0, x8
	bl	_free
	ldr	x0, [x20, #8]
LBB0_26:
	bl	_strdup
	str	x0, [x23]
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_27:
	ldr	x0, [x20]
	cbz	x0, LBB0_32
; %bb.28:
	mov	w8, #48
	madd	x21, x21, x8, x22
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_32
; %bb.29:
	cbz	x8, LBB0_31
; %bb.30:
	mov	x0, x8
	bl	_free
	ldr	x0, [x20]
LBB0_31:
	bl	_strdup
	str	x0, [x21]
	mov	w8, #1
	str	w8, [x19, #8]
LBB0_32:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
