	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_base_name                      ## -- Begin function base_name
	.p2align	4, 0x90
_base_name:                             ## @base_name
	.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, %r14
	callq	_FILESYSTEM_PREFIX_LEN
	cltq
	leaq	(%r14,%rax), %rbx
	movb	(%r14,%rax), %al
	testb	%al, %al
	je	LBB0_1
## %bb.2:
	movq	%rbx, %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movb	1(%rbx), %al
	incq	%rbx
	testb	%al, %al
	je	LBB0_8
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movsbl	%al, %edi
	callq	_ISSLASH
	testq	%rax, %rax
	je	LBB0_7
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	1(%rbx), %edi
	incq	%rbx
	callq	_ISSLASH
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$0, (%rbx)
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %r14
	jmp	LBB0_7
LBB0_1:
	movq	%rbx, %r14
	jmp	LBB0_8
LBB0_9:
	movsbl	(%r14), %edi
	callq	_ISSLASH
	decq	%rbx
	testq	%rax, %rax
	cmovneq	%rbx, %r14
LBB0_8:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_base_name                      ; -- Begin function base_name
	.p2align	2
_base_name:                             ; @base_name
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	_FILESYSTEM_PREFIX_LEN
	add	x21, x19, w0, sxtw
	ldrb	w8, [x21]
	cbz	w8, LBB0_9
; %bb.1:
	mov	x20, x21
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x19, x20
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x21, #1]!
	mov	x20, x19
	cbz	w8, LBB0_10
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	sxtb	w0, w8
	bl	_ISSLASH
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x19, x21
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x19, #1]!
	bl	_ISSLASH
	cbnz	x0, LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w8, [x19]
	mov	x21, x19
	cbnz	w8, LBB0_3
; %bb.8:
	ldrsb	w0, [x20]
	bl	_ISSLASH
	sub	x8, x19, #1
	cmp	x0, #0
	csel	x19, x20, x8, eq
	b	LBB0_10
LBB0_9:
	mov	x19, x21
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
