	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Util_splitpath                 ## -- Begin function Util_splitpath
	.p2align	4, 0x90
_Util_splitpath:                        ## @Util_splitpath
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r13
	callq	_strlen
	cmpl	$2, %eax
	jl	LBB0_13
## %bb.1:
	movl	%eax, %ebx
	movq	_Util_DIR_SEP_CHAR@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpb	%al, -2(%r13,%rbx)
	je	LBB0_3
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	-1(%rbx), %rcx
	addq	$-2, %rbx
	testq	%rbx, %rbx
	movq	%rcx, %rbx
	jg	LBB0_2
LBB0_13:
	testq	%r15, %r15
	je	LBB0_15
## %bb.14:
	movb	$0, (%r15)
LBB0_15:
	testq	%r14, %r14
	jne	LBB0_11
	jmp	LBB0_16
LBB0_3:
	testq	%r15, %r15
	je	LBB0_9
## %bb.4:
	movq	%rbx, %r12
	addq	$-2, %r12
	je	LBB0_7
## %bb.5:
	cmpq	$2, %r12
	jne	LBB0_8
## %bb.6:
	movl	$2, %r12d
	cmpb	$58, 1(%r13)
	jne	LBB0_8
LBB0_7:
	leal	-1(%rbx), %r12d
LBB0_8:
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movslq	%r12d, %rax
	movb	$0, (%r15,%rax)
LBB0_9:
	testq	%r14, %r14
	je	LBB0_16
## %bb.10:
	addq	%rbx, %r13
	decq	%r13
LBB0_11:
	movq	%r14, %rdi
	movq	%r13, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strcpy                         ## TAILCALL
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Util_DIR_SEP_CHAR,1,0          ## @Util_DIR_SEP_CHAR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Util_splitpath                 ; -- Begin function Util_splitpath
	.p2align	2
_Util_splitpath:                        ; @Util_splitpath
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_strlen
	cmp	w0, #2
	b.lt	LBB0_4
; %bb.1:
	mov	w23, w0
Lloh0:
	adrp	x8, _Util_DIR_SEP_CHAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _Util_DIR_SEP_CHAR@GOTPAGEOFF]
	ldrb	w8, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x20, x23
	ldurb	w9, [x9, #-2]
	cmp	w9, w8
	b.eq	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	x9, x23, #2
	sub	x23, x23, #1
	cmp	x9, #0
	b.gt	LBB0_2
LBB0_4:
	cbz	x21, LBB0_6
; %bb.5:
	strb	wzr, [x21]
LBB0_6:
	cbnz	x19, LBB0_16
	b	LBB0_17
LBB0_7:
	cbz	x21, LBB0_14
; %bb.8:
	sub	x22, x23, #2
	cbz	x22, LBB0_11
; %bb.9:
	cmp	x22, #2
	b.ne	LBB0_13
; %bb.10:
	ldrb	w8, [x20, #1]
	cmp	w8, #58
	b.ne	LBB0_12
LBB0_11:
	sub	w22, w23, #1
	b	LBB0_13
LBB0_12:
	mov	w22, #2
LBB0_13:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_memcpy
	strb	wzr, [x21, w22, sxtw]
LBB0_14:
	cbz	x19, LBB0_17
; %bb.15:
	add	x8, x20, x23
	sub	x20, x8, #1
LBB0_16:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_strcpy
LBB0_17:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_Util_DIR_SEP_CHAR,1,0          ; @Util_DIR_SEP_CHAR
.subsections_via_symbols
