	.file	"extr_task_database.c_task_database_iterate_playlist.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	task_database_iterate_playlist, @function
task_database_iterate_playlist:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	rdi, rdx
	call	path_get_extension@PLT
	mov	edi, eax
	call	extension_to_file_type@PLT
	add	eax, -128
	cmp	eax, 6
	ja	.L2
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L8-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L1-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rsi, rbp
	mov	rdi, r12
	call	task_database_cue_prune@PLT
	mov	rax, QWORD PTR [rbx]
	mov	rdi, rbp
	mov	BYTE PTR [rax], 0
	mov	rsi, QWORD PTR [rbx]
	call	task_database_cue_get_serial@PLT
	test	eax, eax
	je	.L10
.L14:
	mov	esi, DWORD PTR DATABASE_TYPE_SERIAL_LOOKUP[rip]
	mov	rdi, r12
	call	database_info_set_type@PLT
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rax, QWORD PTR [rbx]
	mov	rdi, rbp
	xor	esi, esi
	mov	BYTE PTR [rax], 0
	mov	rcx, QWORD PTR [rbx]
	mov	edx, DWORD PTR SIZE_MAX[rip]
	call	intfstream_file_get_serial@PLT
	mov	esi, DWORD PTR DATABASE_TYPE_SERIAL_LOOKUP[rip]
	mov	rdi, r12
	call	database_info_set_type@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	esi, DWORD PTR DATABASE_TYPE_ITERATE_LUTRO[rip]
	mov	rdi, r12
	call	database_info_set_type@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rsi, rbp
	mov	rdi, r12
	call	gdi_prune@PLT
	mov	rax, QWORD PTR [rbx]
	mov	rdi, r12
	mov	BYTE PTR [rax], 0
	mov	esi, DWORD PTR DATABASE_TYPE_CRC_LOOKUP[rip]
	call	database_info_set_type@PLT
	lea	rsi, 8[rbx]
	mov	rdi, rbp
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	task_database_gdi_get_crc@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rax, QWORD PTR [rbx]
	mov	rdi, rbp
	mov	BYTE PTR [rax], 0
	mov	rsi, QWORD PTR [rbx]
	call	task_database_chd_get_serial@PLT
	test	eax, eax
	jne	.L14
	mov	esi, DWORD PTR DATABASE_TYPE_CRC_LOOKUP[rip]
	mov	rdi, r12
	call	database_info_set_type@PLT
	lea	rsi, 8[rbx]
	mov	rdi, rbp
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	task_database_chd_get_crc@PLT
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR DATABASE_TYPE_CRC_LOOKUP[rip]
	mov	rdi, r12
	call	database_info_set_type@PLT
	mov	edx, DWORD PTR SIZE_MAX[rip]
	mov	rdi, rbp
	xor	esi, esi
	lea	rcx, 8[rbx]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	intfstream_file_get_crc@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	esi, DWORD PTR DATABASE_TYPE_CRC_LOOKUP[rip]
	mov	rdi, r12
	call	database_info_set_type@PLT
	lea	rsi, 8[rbx]
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	task_database_cue_get_crc@PLT
	.cfi_endproc
.LFE0:
	.size	task_database_iterate_playlist, .-task_database_iterate_playlist
	.comm	SIZE_MAX,4,4
	.comm	DATABASE_TYPE_SERIAL_LOOKUP,4,4
	.comm	DATABASE_TYPE_ITERATE_LUTRO,4,4
	.comm	DATABASE_TYPE_CRC_LOOKUP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_task_database.c_task_database_iterate_playlist.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	task_database_iterate_playlist, %function
task_database_iterate_playlist:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	mov	r0, r2
	mov	r4, r2
	mov	r6, r1
	bl	path_get_extension
	bl	extension_to_file_type
	sub	r3, r0, #128
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L8
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L1
	.word	.L3
.L6:
	mov	r1, r4
	mov	r0, r6
	bl	task_database_cue_prune
	mov	r2, #0
	ldr	r3, [r5]
	mov	r0, r4
	strb	r2, [r3]
	ldr	r1, [r5]
	bl	task_database_cue_get_serial
	cmp	r0, #0
	beq	.L10
.L14:
	ldr	r3, .L16
	mov	r0, r6
	ldr	r1, [r3]
	bl	database_info_set_type
.L1:
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L8:
	mov	r1, #0
	ldr	r3, [r5]
	ldr	r2, .L16+4
	strb	r1, [r3]
	ldr	r3, [r5]
	ldr	r2, [r2]
	mov	r0, r4
	bl	intfstream_file_get_serial
	ldr	r3, .L16
	mov	r0, r6
	ldr	r1, [r3]
	bl	database_info_set_type
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r3, .L16+8
	mov	r0, r6
	ldr	r1, [r3]
	bl	database_info_set_type
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L7:
	mov	r1, r4
	mov	r0, r6
	bl	gdi_prune
	mov	r1, #0
	ldr	r2, [r5], #4
	ldr	r3, .L16+12
	strb	r1, [r2]
	mov	r0, r6
	ldr	r1, [r3]
	bl	database_info_set_type
	mov	r1, r5
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	task_database_gdi_get_crc
.L3:
	mov	r2, #0
	ldr	r3, [r5]
	mov	r0, r4
	strb	r2, [r3]
	ldr	r1, [r5]
	bl	task_database_chd_get_serial
	cmp	r0, #0
	bne	.L14
	ldr	r3, .L16+12
	mov	r0, r6
	ldr	r1, [r3]
	bl	database_info_set_type
	mov	r0, r4
	add	r1, r5, #4
	pop	{r4, r5, r6, lr}
	b	task_database_chd_get_crc
.L10:
	ldr	r3, .L16+12
	mov	r0, r6
	ldr	r1, [r3]
	bl	database_info_set_type
	mov	r0, r4
	add	r1, r5, #4
	pop	{r4, r5, r6, lr}
	b	task_database_cue_get_crc
.L2:
	ldr	r3, .L16+12
	mov	r0, r6
	ldr	r1, [r3]
	bl	database_info_set_type
	ldr	r2, .L16+4
	mov	r0, r4
	add	r3, r5, #4
	mov	r1, #0
	pop	{r4, r5, r6, lr}
	ldr	r2, [r2]
	b	intfstream_file_get_crc
.L17:
	.align	2
.L16:
	.word	DATABASE_TYPE_SERIAL_LOOKUP
	.word	SIZE_MAX
	.word	DATABASE_TYPE_ITERATE_LUTRO
	.word	DATABASE_TYPE_CRC_LOOKUP
	.size	task_database_iterate_playlist, .-task_database_iterate_playlist
	.comm	SIZE_MAX,4,4
	.comm	DATABASE_TYPE_SERIAL_LOOKUP,4,4
	.comm	DATABASE_TYPE_ITERATE_LUTRO,4,4
	.comm	DATABASE_TYPE_CRC_LOOKUP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
