	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function str_purify_filename
_str_purify_filename:                   ## @str_purify_filename
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	leaq	(%rdi,%rdx), %r8
	decq	%r8
	cmpq	%rdi, %r8
	jbe	LBB0_6
## %bb.1:
	decq	%rdx
	xorl	%edi, %edi
	movl	$46, %r9d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rsi,%rdi), %ecx
	testb	%cl, %cl
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$32, %cl
	movzbl	%cl, %ecx
	cmovll	%r9d, %ecx
	movb	%cl, (%rax,%rdi)
	incq	%rdi
	cmpq	%rdi, %rdx
	jne	LBB0_2
## %bb.4:
	movq	%r8, %rax
	jmp	LBB0_6
LBB0_5:
	addq	%rdi, %rax
LBB0_6:
	movb	$0, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_str_purify_filename
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function str_purify_filename
_str_purify_filename:                   ; @str_purify_filename
	.cfi_startproc
; %bb.0:
	add	x8, x0, x2
	sub	x8, x8, #1
	cmp	x8, x0
	b.ls	LBB0_5
; %bb.1:
	sub	x9, x2, #1
	mov	w10, #46
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x1]
	cbz	w11, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sxtb	w12, w11
	cmp	w12, #32
	csel	w11, w10, w11, lt
	strb	w11, [x0], #1
	add	x1, x1, #1
	subs	x9, x9, #1
	b.ne	LBB0_2
; %bb.4:
	mov	x0, x8
LBB0_5:
	strb	wzr, [x0]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_str_purify_filename
.subsections_via_symbols
