	.file	"extr_iso.c_sanitize_filename.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Could not allocate string for sanitized path"
	.text
	.p2align 4
	.type	sanitize_filename, @function
sanitize_filename:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, 2
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, 31802
	mov	DWORD PTR 2[rsp], 1044135722
	lea	r13, 8[rsp]
	mov	WORD PTR 6[rsp], ax
	mov	eax, DWORD PTR TRUE[rip]
	mov	DWORD PTR [rsi], eax
	call	safe_strdup@PLT
	mov	r12, rax
	test	rax, rax
	je	.L14
	mov	rdi, r12
	call	safe_strlen@PLT
	cmp	rax, rbx
	jbe	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	lea	rax, 2[rsp]
	mov	edx, 42
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L15:
	movzx	edx, BYTE PTR [rax]
.L6:
	cmp	BYTE PTR [r12+rbx], dl
	jne	.L4
	mov	BYTE PTR [r12+rbx], 95
	mov	edx, DWORD PTR FALSE[rip]
	mov	DWORD PTR 0[rbp], edx
.L4:
	add	rax, 1
	cmp	rax, r13
	jne	.L15
	mov	rdi, r12
	add	rbx, 1
	call	safe_strlen@PLT
	cmp	rax, rbx
	ja	.L7
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L14:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	uprintf@PLT
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sanitize_filename, .-sanitize_filename
	.comm	TRUE,4,4
	.comm	FALSE,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_iso.c_sanitize_filename.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC1:
	.ascii	"Could not allocate string for sanitized path\000"
	.align	2
.LC0:
	.ascii	"*?<>:|\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sanitize_filename, %function
sanitize_filename:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r2, r0
	mov	r7, r1
	ldr	r1, .L15
	ldr	r3, .L15+4
	ldr	ip, [r1]
	ldr	r1, .L15+8
	sub	sp, sp, #20
	ldr	r1, [r1]
	str	r1, [sp, #12]
	mov	r1,#0
	ldm	r3, {r0, r1}
	str	ip, [r7]
	str	r0, [sp, #4]
	mov	r0, r2
	strh	r1, [sp, #8]	@ movhi
	bl	safe_strdup
	subs	r9, r0, #0
	beq	.L2
	mov	r0, r9
	mov	r6, #2
	bl	safe_strlen
	cmp	r0, r6
	ldr	r8, .L15+12
	add	r4, r9, #2
	add	r5, sp, #10
	bls	.L1
.L8:
	mov	r0, #42
	mov	r1, #95
	add	r3, sp, #5
	b	.L7
.L13:
	ldrb	r0, [r3], #1	@ zero_extendqisi2
.L7:
	ldrb	r2, [r4]	@ zero_extendqisi2
	cmp	r2, r0
	strbeq	r1, [r4]
	ldreq	r2, [r8]
	streq	r2, [r7]
	cmp	r3, r5
	bne	.L13
	mov	r0, r9
	bl	safe_strlen
	add	r6, r6, #1
	cmp	r0, r6
	add	r4, r4, #1
	bhi	.L8
.L1:
	ldr	r3, .L15+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r9
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L2:
	ldr	r0, .L15+16
	bl	uprintf
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	TRUE
	.word	.LC0
	.word	.LC2
	.word	FALSE
	.word	.LC1
	.size	sanitize_filename, .-sanitize_filename
	.comm	TRUE,4,4
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
