	.file	"extr_hlsenc.c_replace_str_data_in_filename.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
	.text
	.p2align 4
	.type	replace_str_data_in_filename, @function
replace_str_data_in_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
	xor	r14d, r14d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	xor	esi, esi
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	edx, DWORD PTR AV_BPRINT_SIZE_UNLIMITED[rip]
	mov	QWORD PTR 8[rsp], rcx
	lea	r13, 28[rsp]
	mov	rdi, r13
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	av_bprint_init@PLT
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	jne	.L3
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rsi, rbx
	mov	rdi, r13
	add	rbx, r15
	call	av_bprint_append_data@PLT
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	je	.L2
.L3:
	mov	r15d, 1
	mov	edx, 1
	cmp	al, 37
	jne	.L4
	movzx	eax, BYTE PTR 1[rbx]
	cmp	al, 37
	je	.L11
	cmp	al, bpl
	jne	.L4
	mov	rdx, QWORD PTR 8[rsp]
	mov	rdi, r13
	add	rbx, 2
	add	r14d, 1
	lea	rsi, .LC0[rip]
	call	av_bprintf@PLT
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	jne	.L3
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, r13
	call	av_bprint_is_complete@PLT
	test	eax, eax
	je	.L20
	lea	rsi, 32[rsp]
	mov	rdi, r13
	call	av_bprint_finalize@PLT
	test	rax, rax
	js	.L14
	mov	rax, QWORD PTR 32[rsp]
	test	rax, rax
	je	.L14
	mov	QWORD PTR [r12], rax
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L21
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	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
.L11:
	.cfi_restore_state
	mov	r15d, 2
	mov	edx, 2
	jmp	.L4
.L14:
	mov	r14d, -1
	jmp	.L1
.L20:
	xor	esi, esi
	mov	rdi, r13
	mov	r14d, -1
	call	av_bprint_finalize@PLT
	jmp	.L1
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	replace_str_data_in_filename, .-replace_str_data_in_filename
	.comm	AV_BPRINT_SIZE_UNLIMITED,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_hlsenc.c_replace_str_data_in_filename.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	replace_str_data_in_filename, %function
replace_str_data_in_filename:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, r1
	mov	r5, r2
	ldr	r2, .L22
	sub	sp, sp, #20
	mov	r7, r3
	ldr	r3, .L22+4
	mov	r6, r0
	mov	r1, #0
	ldr	r2, [r2]
	add	r0, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	av_bprint_init
	ldrb	ip, [r4]	@ zero_extendqisi2
	cmp	ip, #0
	beq	.L9
	mov	r8, #0
	ldr	r9, .L22+8
	b	.L3
.L12:
	mov	ip, #1
	mov	r2, ip
.L4:
	mov	r1, r4
	add	r0, sp, #8
	add	r4, r4, ip
	bl	av_bprint_append_data
	ldrb	ip, [r4]	@ zero_extendqisi2
	cmp	ip, #0
	beq	.L2
.L3:
	cmp	ip, #37
	bne	.L12
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	cmp	r3, #37
	beq	.L11
	cmp	r3, r5
	bne	.L12
	mov	r2, r7
	mov	r1, r9
	add	r0, sp, #8
	add	r4, r4, #2
	bl	av_bprintf
	ldrb	ip, [r4]	@ zero_extendqisi2
	add	r8, r8, #1
	cmp	ip, #0
	bne	.L3
.L2:
	add	r0, sp, #8
	bl	av_bprint_is_complete
	cmp	r0, #0
	beq	.L20
	add	r0, sp, #8
	add	r1, sp, #4
	bl	av_bprint_finalize
	cmp	r0, #0
	blt	.L14
	ldr	r3, [sp, #4]
	cmp	r3, #0
	beq	.L14
	str	r3, [r6]
.L1:
	ldr	r3, .L22+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	mov	r0, r8
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	mov	ip, #2
	mov	r2, ip
	b	.L4
.L9:
	mov	r8, ip
	b	.L2
.L14:
	mvn	r8, #0
	b	.L1
.L20:
	mov	r1, r0
	add	r0, sp, #8
	bl	av_bprint_finalize
	mvn	r8, #0
	b	.L1
.L21:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	AV_BPRINT_SIZE_UNLIMITED
	.word	.LC1
	.word	.LC0
	.size	replace_str_data_in_filename, .-replace_str_data_in_filename
	.comm	AV_BPRINT_SIZE_UNLIMITED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
