	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_safe_filename               ## -- Begin function is_safe_filename
	.p2align	4, 0x90
_is_safe_filename:                      ## @is_safe_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	_FALSE@GOTPCREL(%rip), %r9
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movb	(%rdi), %al
	testb	%al, %al
	je	LBB0_7
## %bb.2:
	incq	%rdi
	movl	$1, %edx
	leaq	_is_safe_filename.chclass(%rip), %rsi
	movq	_TRUE@GOTPCREL(%rip), %r8
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testb	%al, %al
	js	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%al, %ecx
	shrb	$4, %al
	movzbl	%al, %eax
	movl	(%rsi,%rax,4), %eax
	addl	%ecx, %ecx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %eax
	testl	%eax, %edx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	(%rdi), %eax
	incq	%rdi
	movl	$2, %edx
	testb	%al, %al
	jne	LBB0_3
## %bb.6:
	movq	%r8, %r9
LBB0_7:
	movl	(%r9), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @is_safe_filename.chclass
_is_safe_filename.chclass:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	679477248                       ## 0x28800000
	.long	1048575                         ## 0xfffff
	.long	4294967292                      ## 0xfffffffc
	.long	3225419775                      ## 0xc03fffff
	.long	4294967292                      ## 0xfffffffc
	.long	4194303                         ## 0x3fffff

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_is_safe_filename               ; -- Begin function is_safe_filename
	.p2align	2
_is_safe_filename:                      ; @is_safe_filename
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_7
; %bb.1:
	ldrb	w11, [x0]
	cbz	w11, LBB0_7
; %bb.2:
	add	x10, x0, #1
	mov	w13, #1
Lloh0:
	adrp	x9, _FALSE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
Lloh2:
	adrp	x8, _TRUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh4:
	adrp	x12, _is_safe_filename.chclass@PAGE
Lloh5:
	add	x12, x12, _is_safe_filename.chclass@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	tbnz	w11, #7, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ubfx	x14, x11, #4, #8
	ldr	w14, [x12, x14, lsl #2]
	ubfiz	w11, w11, #1, #4
	asr	w11, w14, w11
	tst	x13, x11
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w11, [x10], #1
	mov	w13, #2
	cbnz	w11, LBB0_3
; %bb.6:
	ldr	w0, [x8]
	ret
LBB0_7:
Lloh6:
	adrp	x8, _FALSE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ret
LBB0_8:
	mov	x8, x9
	ldr	w0, [x8]
	ret
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @is_safe_filename.chclass
_is_safe_filename.chclass:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	679477248                       ; 0x28800000
	.long	1048575                         ; 0xfffff
	.long	4294967292                      ; 0xfffffffc
	.long	3225419775                      ; 0xc03fffff
	.long	4294967292                      ; 0xfffffffc
	.long	4194303                         ; 0x3fffff

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
