	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function task_database_iterate_playlist
_task_database_iterate_playlist:        ## @task_database_iterate_playlist
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rdx, %rdi
	callq	_path_get_extension
	movl	%eax, %edi
	callq	_extension_to_file_type
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_12
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	(%rbx), %rax
	movb	$0, (%rax)
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%rbx), %rcx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_intfstream_file_get_serial
	jmp	LBB0_3
LBB0_12:
	movq	_DATABASE_TYPE_CRC_LOOKUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_database_info_set_type
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addq	$8, %rbx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%rbx, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_intfstream_file_get_crc        ## TAILCALL
LBB0_11:
	movq	_DATABASE_TYPE_ITERATE_LUTRO@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_7:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_gdi_prune
	movq	(%rbx), %rax
	movb	$0, (%rax)
	movq	_DATABASE_TYPE_CRC_LOOKUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_database_info_set_type
	addq	$8, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_task_database_gdi_get_crc      ## TAILCALL
LBB0_2:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_task_database_cue_prune
	movq	(%rbx), %rax
	movb	$0, (%rax)
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_task_database_cue_get_serial
	testl	%eax, %eax
	jne	LBB0_3
## %bb.6:
	movq	_DATABASE_TYPE_CRC_LOOKUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_database_info_set_type
	addq	$8, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_task_database_cue_get_crc      ## TAILCALL
LBB0_9:
	movq	(%rbx), %rax
	movb	$0, (%rax)
	movq	(%rbx), %rsi
	movq	%r14, %rdi
	callq	_task_database_chd_get_serial
	testl	%eax, %eax
	je	LBB0_10
LBB0_3:
	movq	_DATABASE_TYPE_SERIAL_LOOKUP@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_database_info_set_type
LBB0_5:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	_DATABASE_TYPE_CRC_LOOKUP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_database_info_set_type
	addq	$8, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_task_database_chd_get_crc      ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_11
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_2
	.long	L0_0_set_5
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_DATABASE_TYPE_SERIAL_LOOKUP,4,2 ## @DATABASE_TYPE_SERIAL_LOOKUP
	.comm	_DATABASE_TYPE_CRC_LOOKUP,4,2   ## @DATABASE_TYPE_CRC_LOOKUP
	.comm	_SIZE_MAX,4,2                   ## @SIZE_MAX
	.comm	_DATABASE_TYPE_ITERATE_LUTRO,4,2 ## @DATABASE_TYPE_ITERATE_LUTRO
	.no_dead_strip	_task_database_iterate_playlist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function task_database_iterate_playlist
_task_database_iterate_playlist:        ; @task_database_iterate_playlist
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	x0, x2
	bl	_path_get_extension
	bl	_extension_to_file_type
	sub	w8, w0, #128
	cmp	w8, #6
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	x8, [x21]
	strb	wzr, [x8]
Lloh2:
	adrp	x8, _SIZE_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	ldr	x3, [x21]
	mov	x0, x19
	mov	w1, #0
	bl	_intfstream_file_get_serial
	b	LBB0_9
LBB0_3:
Lloh5:
	adrp	x8, _DATABASE_TYPE_CRC_LOOKUP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DATABASE_TYPE_CRC_LOOKUP@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_database_info_set_type
Lloh8:
	adrp	x8, _SIZE_MAX@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	add	x3, x21, #8
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_intfstream_file_get_crc
LBB0_4:
Lloh11:
	adrp	x8, _DATABASE_TYPE_ITERATE_LUTRO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DATABASE_TYPE_ITERATE_LUTRO@GOTPAGEOFF]
	b	LBB0_10
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	bl	_gdi_prune
	ldr	x8, [x21], #8
	strb	wzr, [x8]
Lloh13:
	adrp	x8, _DATABASE_TYPE_CRC_LOOKUP@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DATABASE_TYPE_CRC_LOOKUP@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_database_info_set_type
	mov	x0, x19
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_task_database_gdi_get_crc
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	bl	_task_database_cue_prune
	ldr	x8, [x21]
	strb	wzr, [x8]
	ldr	x1, [x21]
	mov	x0, x19
	bl	_task_database_cue_get_serial
	cbnz	w0, LBB0_9
; %bb.7:
Lloh16:
	adrp	x8, _DATABASE_TYPE_CRC_LOOKUP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DATABASE_TYPE_CRC_LOOKUP@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_database_info_set_type
	add	x1, x21, #8
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_task_database_cue_get_crc
LBB0_8:
	ldr	x8, [x21]
	strb	wzr, [x8]
	ldr	x1, [x21]
	mov	x0, x19
	bl	_task_database_chd_get_serial
	cbz	w0, LBB0_12
LBB0_9:
Lloh19:
	adrp	x8, _DATABASE_TYPE_SERIAL_LOOKUP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DATABASE_TYPE_SERIAL_LOOKUP@GOTPAGEOFF]
LBB0_10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_database_info_set_type
LBB0_11:
	mov	w0, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_12:
Lloh21:
	adrp	x8, _DATABASE_TYPE_CRC_LOOKUP@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DATABASE_TYPE_CRC_LOOKUP@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_database_info_set_type
	add	x1, x21, #8
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_task_database_chd_get_crc
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
                                        ; -- End function
	.comm	_DATABASE_TYPE_SERIAL_LOOKUP,4,2 ; @DATABASE_TYPE_SERIAL_LOOKUP
	.comm	_DATABASE_TYPE_CRC_LOOKUP,4,2   ; @DATABASE_TYPE_CRC_LOOKUP
	.comm	_SIZE_MAX,4,2                   ; @SIZE_MAX
	.comm	_DATABASE_TYPE_ITERATE_LUTRO,4,2 ; @DATABASE_TYPE_ITERATE_LUTRO
	.no_dead_strip	_task_database_iterate_playlist
.subsections_via_symbols
