	.file	"extr_webmdashenc.c_parse_filename.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"_"
.LC1:
	.string	"."
.LC2:
	.string	"%s_$RepresentationID$.hdr"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"%s_$RepresentationID$_$Number$.chk"
	.text
	.p2align 4
	.type	parse_filename, @function
parse_filename:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	av_strdup@PLT
	mov	QWORD PTR [rsp], rax
	test	rax, rax
	je	.L23
	mov	rdi, rax
	lea	rsi, .LC0[rip]
	call	av_stristr@PLT
	test	rax, rax
	je	.L24
	lea	rbx, .LC0[rip]
	.p2align 4,,10
	.p2align 3
.L5:
	lea	r15, 1[rax]
	mov	rsi, rbx
	mov	rbp, rax
	mov	rdi, r15
	call	av_stristr@PLT
	test	rax, rax
	jne	.L5
	lea	rsi, .LC1[rip]
	mov	rdi, r15
	call	av_stristr@PLT
	test	rax, rax
	je	.L24
	mov	BYTE PTR 0[rbp], 0
	test	r12, r12
	je	.L8
	sub	rax, r15
	lea	ebx, 1[rax]
	mov	edi, ebx
	call	av_malloc@PLT
	mov	QWORD PTR [r12], rax
	mov	rdi, rax
	test	rax, rax
	je	.L23
	mov	edx, ebx
	mov	rsi, r15
	call	av_strlcpy@PLT
.L8:
	test	r13, r13
	je	.L10
	mov	rsi, QWORD PTR [rsp]
	lea	rdi, .LC2[rip]
	call	av_asprintf@PLT
	mov	QWORD PTR 0[r13], rax
	test	rax, rax
	je	.L23
.L10:
	test	r14, r14
	je	.L12
	mov	rsi, QWORD PTR [rsp]
	lea	rdi, .LC3[rip]
	call	av_asprintf@PLT
	mov	QWORD PTR [r14], rax
	test	rax, rax
	je	.L23
.L12:
	xor	r12d, r12d
.L3:
	mov	rdi, rsp
	call	av_freep@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L26
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	edi, DWORD PTR ENOMEM[rip]
	call	AVERROR@PLT
	mov	r12d, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L24:
	mov	r12d, DWORD PTR AVERROR_INVALIDDATA[rip]
	jmp	.L3
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	parse_filename, .-parse_filename
	.comm	ENOMEM,4,4
	.comm	AVERROR_INVALIDDATA,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_webmdashenc.c_parse_filename.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"_\000"
	.align	2
.LC1:
	.ascii	".\000"
	.align	2
.LC2:
	.ascii	"%s_$RepresentationID$.hdr\000"
	.align	2
.LC3:
	.ascii	"%s_$RepresentationID$_$Number$.chk\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_filename, %function
parse_filename:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r9, r3
	ldr	r3, .L27
	sub	sp, sp, #8
	mov	r7, r1
	mov	r8, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	av_strdup
	cmp	r0, #0
	str	r0, [sp]
	beq	.L23
	ldr	r1, .L27+4
	bl	av_stristr
	subs	r4, r0, #0
	beq	.L24
	ldr	r6, .L27+4
.L5:
	add	r5, r4, #1
	mov	r0, r5
	mov	r1, r6
	bl	av_stristr
	mov	r10, r4
	subs	r4, r0, #0
	bne	.L5
	mov	r0, r5
	ldr	r1, .L27+8
	bl	av_stristr
	cmp	r0, #0
	beq	.L24
	cmp	r7, #0
	strb	r4, [r10]
	beq	.L8
	sub	r0, r0, r5
	add	r4, r0, #1
	mov	r0, r4
	bl	av_malloc
	cmp	r0, #0
	str	r0, [r7]
	beq	.L23
	mov	r2, r4
	mov	r1, r5
	bl	av_strlcpy
.L8:
	cmp	r8, #0
	beq	.L10
	ldr	r1, [sp]
	ldr	r0, .L27+12
	bl	av_asprintf
	cmp	r0, #0
	str	r0, [r8]
	beq	.L23
.L10:
	cmp	r9, #0
	beq	.L12
	ldr	r1, [sp]
	ldr	r0, .L27+16
	bl	av_asprintf
	cmp	r0, #0
	str	r0, [r9]
	beq	.L23
.L12:
	mov	r4, #0
.L3:
	mov	r0, sp
	bl	av_freep
	ldr	r3, .L27
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L26
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L23:
	ldr	r3, .L27+20
	ldr	r0, [r3]
	bl	AVERROR
	mov	r4, r0
	b	.L3
.L24:
	ldr	r3, .L27+24
	ldr	r4, [r3]
	b	.L3
.L26:
	bl	__stack_chk_fail
.L28:
	.align	2
.L27:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	ENOMEM
	.word	AVERROR_INVALIDDATA
	.size	parse_filename, .-parse_filename
	.comm	ENOMEM,4,4
	.comm	AVERROR_INVALIDDATA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
