	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_basepath                       ## -- Begin function basepath
	.p2align	4, 0x90
_basepath:                              ## @basepath
	.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
	xorl	%ebx, %ebx
	movq	%rdi, %r14
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	1(%rdi), %r14
	xorl	%ebx, %ebx
	incq	%rdi
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi), %eax
	cmpb	$46, %al
	jle	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$92, %al
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$47, %al
	je	LBB0_9
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	jne	LBB0_3
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rdi, %rbx
	jmp	LBB0_11
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	testb	%al, %al
	je	LBB0_4
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	incq	%rdi
	jmp	LBB0_1
LBB0_4:
	movq	%r14, %rdi
	callq	_strsave
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.5:
	subq	%r14, %rbx
	movb	$0, (%rax,%rbx)
LBB0_6:
	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	_basepath                       ; -- Begin function basepath
	.p2align	2
_basepath:                              ; @basepath
	.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	x20, #0
	mov	x19, x0
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	x20, #0
	add	x19, x0, #1
	add	x0, x0, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x0]
	cmp	w8, #46
	b.le	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, #92
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, #47
	b.eq	LBB0_1
	b	LBB0_8
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x20, x0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbz	w8, LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #1
	b	LBB0_2
LBB0_9:
	mov	x0, x19
	bl	_strsave
	cbz	x20, LBB0_11
; %bb.10:
	sub	x8, x20, x19
	strb	wzr, [x0, x8]
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
