	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function is_valid_path
_is_valid_path:                         ## @is_valid_path
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_UNEXPECTED
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_16
## %bb.1:
	xorl	%edi, %edi
	cmpb	$46, (%rbx)
	sete	%dil
	callq	_UNEXPECTED
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	cmpb	$46, 1(%rbx)
	jne	LBB0_5
## %bb.3:
	movb	2(%rbx), %al
	testb	%al, %al
	je	LBB0_16
## %bb.4:
	movsbl	%al, %edi
	callq	_IS_SLASH
	testl	%eax, %eax
	jne	LBB0_16
LBB0_5:
	movb	(%rbx), %al
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movzbl	1(%rbx), %eax
	incq	%rbx
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	testb	%al, %al
	je	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movsbl	%al, %edi
	callq	_IS_SLASH
	testl	%eax, %eax
	je	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edi, %edi
	cmpb	$46, 1(%rbx)
	sete	%dil
	callq	_UNEXPECTED
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edi, %edi
	cmpb	$46, 2(%rbx)
	sete	%dil
	callq	_UNEXPECTED
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%edi, %edi
	cmpb	$0, 3(%rbx)
	sete	%dil
	callq	_UNEXPECTED
	testq	%rax, %rax
	jne	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	addq	$3, %rbx
	movsbl	(%rbx), %edi
	callq	_IS_SLASH
	movl	%eax, %edi
	callq	_UNEXPECTED
	testq	%rax, %rax
	je	LBB0_14
	jmp	LBB0_16
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	$2, %rbx
	jmp	LBB0_14
LBB0_15:
	movl	$1, %r14d
LBB0_16:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_is_valid_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function is_valid_path
_is_valid_path:                         ; @is_valid_path
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_UNEXPECTED
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_8
LBB0_2:
	ldrb	w8, [x19]
	cmp	w8, #46
	cset	w0, eq
	bl	_UNEXPECTED
	cbz	x0, LBB0_6
; %bb.3:
	ldrb	w8, [x19, #1]
	cmp	w8, #46
	b.ne	LBB0_6
; %bb.4:
	ldrb	w8, [x19, #2]
	cbz	w8, LBB0_1
; %bb.5:
	sxtb	w0, w8
	bl	_IS_SLASH
	cbnz	w0, LBB0_1
LBB0_6:
	ldrb	w8, [x19]
	cbnz	w8, LBB0_11
LBB0_7:
	mov	w0, #1
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	mov	x19, x20
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	ldrb	w8, [x19, #1]!
	cbz	w8, LBB0_7
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_IS_SLASH
	cbz	w0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x20, x19
	ldrb	w8, [x20, #1]!
	cmp	w8, #46
	cset	w0, eq
	bl	_UNEXPECTED
	cbz	x0, LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x20, x19
	ldrb	w8, [x20, #2]!
	cmp	w8, #46
	cset	w0, eq
	bl	_UNEXPECTED
	cbz	x0, LBB0_9
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
	ldrb	w8, [x19, #3]!
	cmp	w8, #0
	cset	w0, eq
	bl	_UNEXPECTED
	cbnz	x0, LBB0_1
; %bb.15:                               ;   in Loop: Header=BB0_11 Depth=1
	ldrsb	w0, [x19]
	bl	_IS_SLASH
	bl	_UNEXPECTED
	cbz	x0, LBB0_10
	b	LBB0_1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_is_valid_path
.subsections_via_symbols
