	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_path_prefix
_get_path_prefix:                       ## @get_path_prefix
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$2, %rsi
	jb	LBB0_2
## %bb.1:
	leaq	-1(%rsi), %rax
	cmpb	$47, -1(%rdi,%rsi)
	cmoveq	%rax, %rsi
LBB0_2:
	cmpq	%rdx, %rsi
	cmovbq	%rsi, %rdx
	decq	%rdx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %rax
	subq	$1, %rdx
	jb	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$47, (%rdi,%rax)
	jne	LBB0_3
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_get_path_prefix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_path_prefix
_get_path_prefix:                       ; @get_path_prefix
	.cfi_startproc
; %bb.0:
	cmp	x1, #2
	b.lo	LBB0_2
; %bb.1:
	sub	x8, x1, #1
	ldrb	w9, [x0, x8]
	cmp	w9, #47
	csel	x1, x8, x1, eq
LBB0_2:
	cmp	x1, x2
	csel	x8, x1, x2, lo
	sub	x9, x8, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x9
	cbz	x9, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w10, [x0, x8]
	sub	x9, x8, #1
	cmp	w10, #47
	b.ne	LBB0_3
LBB0_5:
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_get_path_prefix
.subsections_via_symbols
