	.file	"extr_misc.c_merge_playlist_files.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"edl://"
.LC1:
	.string	";"
.LC2:
	.string	"=%,;\n"
.LC3:
	.string	"%%%zd%%"
	.text
	.p2align 4
	.globl	merge_playlist_files
	.type	merge_playlist_files, @function
merge_playlist_files:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR [rdi], 0
	je	.L1
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	rsi, .LC0[rip]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	lea	r14, .LC2[rip]
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	xor	edi, edi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	talloc_strdup@PLT
	mov	rbx, QWORD PTR 0[r13]
	mov	rbp, rax
	test	rbx, rbx
	je	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r12, QWORD PTR [rbx]
	mov	rsi, r14
	mov	rdi, r12
	call	strcspn@PLT
	mov	rdi, r12
	cmp	BYTE PTR [r12+rax], 0
	je	.L6
	call	strlen@PLT
	mov	rdx, rax
.L7:
	mov	rdi, rbp
	lea	rsi, .LC3[rip]
	call	talloc_asprintf_append_buffer@PLT
	mov	r15, QWORD PTR [rbx]
	mov	rbp, rax
.L8:
	mov	rdi, rbp
	mov	rsi, r15
	call	talloc_strdup_append_buffer@PLT
	mov	rbx, QWORD PTR 8[rbx]
	mov	rbp, rax
	test	rbx, rbx
	je	.L4
	cmp	QWORD PTR 0[r13], rbx
	je	.L3
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	call	talloc_strdup_append_buffer@PLT
	mov	rbp, rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	call	bstr0@PLT
	mov	edi, eax
	call	bstr_strip@PLT
	mov	r15, QWORD PTR [rbx]
	mov	r12, rax
	mov	rdi, r15
	call	strlen@PLT
	mov	rdx, rax
	cmp	r12, rax
	jne	.L7
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, r13
	call	playlist_clear@PLT
	mov	rdi, r13
	mov	rsi, rbp
	call	playlist_add_file@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	pop	rbx
	.cfi_restore 3
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_restore 14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_restore 15
	.cfi_def_cfa_offset 8
	jmp	talloc_free@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	merge_playlist_files, .-merge_playlist_files
	.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_misc.c_merge_playlist_files.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"edl://\000"
	.align	2
.LC1:
	.ascii	";\000"
	.align	2
.LC2:
	.ascii	"=%,;\012\000"
	.align	2
.LC3:
	.ascii	"%%%zd%%\000"
	.text
	.align	2
	.global	merge_playlist_files
	.syntax unified
	.arm
	.fpu softvfp
	.type	merge_playlist_files, %function
merge_playlist_files:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, [r0]
	cmp	r3, #0
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	mov	r6, r0
	ldr	r1, .L13
	mov	r0, #0
	bl	talloc_strdup
	ldr	r5, [r6]
	mov	r4, r0
	cmp	r5, #0
	beq	.L4
	ldr	r7, .L13+4
	ldr	r8, .L13+8
	ldr	r9, .L13+12
.L3:
	ldr	r10, [r5]
	mov	r1, r7
	mov	r0, r10
	bl	strcspn
	ldrb	r3, [r10, r0]	@ zero_extendqisi2
	mov	r0, r10
	cmp	r3, #0
	beq	.L6
	bl	strlen
	mov	r2, r0
.L7:
	mov	r0, r4
	mov	r1, r8
	bl	talloc_asprintf_append_buffer
	mov	r4, r0
	ldr	r10, [r5]
.L8:
	mov	r0, r4
	mov	r1, r10
	bl	talloc_strdup_append_buffer
	ldr	r5, [r5, #4]
	mov	r4, r0
	cmp	r5, #0
	beq	.L4
	ldr	r3, [r6]
	cmp	r3, r5
	beq	.L3
	mov	r1, r9
	bl	talloc_strdup_append_buffer
	mov	r4, r0
	b	.L3
.L6:
	bl	bstr0
	bl	bstr_strip
	ldr	r10, [r5]
	mov	fp, r0
	mov	r0, r10
	bl	strlen
	cmp	fp, r0
	mov	r2, r0
	bne	.L7
	b	.L8
.L4:
	mov	r0, r6
	bl	playlist_clear
	mov	r1, r4
	mov	r0, r6
	bl	playlist_add_file
	mov	r0, r4
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	talloc_free
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.word	.LC1
	.size	merge_playlist_files, .-merge_playlist_files
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
