	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wceex_splitpath                ## -- Begin function wceex_splitpath
	.p2align	4, 0x90
_wceex_splitpath:                       ## @wceex_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	%rcx, %r15
	movq	%rdx, %r12
	movq	%rdi, %r13
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movb	$0, (%rsi)
LBB0_2:
	testq	%r12, %r12
	je	LBB0_4
## %bb.3:
	movb	$0, (%r12)
LBB0_4:
	testq	%r15, %r15
	je	LBB0_6
## %bb.5:
	movb	$0, (%r15)
LBB0_6:
	testq	%r8, %r8
	je	LBB0_8
## %bb.7:
	movb	$0, (%r8)
LBB0_8:
	testq	%r13, %r13
	je	LBB0_19
## %bb.9:
	cmpb	$0, (%r13)
	je	LBB0_19
## %bb.10:
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%r13, %rdi
	movl	$47, %esi
	callq	_strrchr
	movq	%rax, %r14
	movq	%r13, %rdi
	movl	$92, %esi
	callq	_strrchr
	movq	%rax, %rbx
	cmpq	%rax, %r14
	cmovaq	%r14, %rbx
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.11:
	testq	%r12, %r12
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdx
	subq	%r13, %rdx
	movq	__MAX_DIR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leal	-1(%rax), %ecx
	cmpq	%rax, %rdx
	cmovael	%ecx, %edx
	movq	%r12, %rdi
	movq	%r13, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_strncat
LBB0_13:
	incq	%rbx
	movq	%rbx, %r13
LBB0_14:
	testq	%r15, %r15
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_17
## %bb.15:
	movq	__MAX_FNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	decl	%edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_strncat
	movq	%r15, %rdi
	movl	$46, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movb	$0, (%rax)
LBB0_17:
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.18:
	movq	%r13, %rdi
	movl	$46, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_19
## %bb.20:
	movq	__MAX_EXT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	decl	%edx
	movq	%rbx, %rdi
	movq	%rax, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strncat                        ## TAILCALL
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__MAX_DIR,8,3                   ## @_MAX_DIR
	.comm	__MAX_FNAME,4,2                 ## @_MAX_FNAME
	.comm	__MAX_EXT,4,2                   ## @_MAX_EXT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wceex_splitpath                ; -- Begin function wceex_splitpath
	.p2align	2
_wceex_splitpath:                       ; @wceex_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, x4
	mov	x21, x3
	mov	x22, x2
	mov	x20, x0
	cbz	x1, LBB0_2
; %bb.1:
	strb	wzr, [x1]
LBB0_2:
	cbz	x22, LBB0_4
; %bb.3:
	strb	wzr, [x22]
LBB0_4:
	cbz	x21, LBB0_6
; %bb.5:
	strb	wzr, [x21]
LBB0_6:
	cbz	x19, LBB0_8
; %bb.7:
	strb	wzr, [x19]
LBB0_8:
	cbz	x20, LBB0_20
; %bb.9:
	ldrb	w8, [x20]
	cbz	w8, LBB0_20
; %bb.10:
	mov	x0, x20
	mov	w1, #47
	bl	_strrchr
	mov	x23, x0
	mov	x0, x20
	mov	w1, #92
	bl	_strrchr
	cmp	x23, x0
	csel	x23, x23, x0, hi
	cbz	x23, LBB0_14
; %bb.11:
	cbz	x22, LBB0_13
; %bb.12:
Lloh0:
	adrp	x8, __MAX_DIR@GOTPAGE
Lloh1:
	ldr	x8, [x8, __MAX_DIR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sub	w9, w8, #1
	sub	x10, x23, x20
	cmp	x10, x8
	csel	w2, w10, w9, lo
	mov	x0, x22
	mov	x1, x20
	bl	_strncat
LBB0_13:
	add	x20, x23, #1
LBB0_14:
	cbz	x21, LBB0_17
; %bb.15:
Lloh3:
	adrp	x8, __MAX_FNAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, __MAX_FNAME@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	sub	w2, w8, #1
	mov	x0, x21
	mov	x1, x20
	bl	_strncat
	mov	x0, x21
	mov	w1, #46
	bl	_strrchr
	cbz	x0, LBB0_17
; %bb.16:
	strb	wzr, [x0]
LBB0_17:
	cbz	x19, LBB0_20
; %bb.18:
	mov	x0, x20
	mov	w1, #46
	bl	_strrchr
	cbz	x0, LBB0_20
; %bb.19:
	mov	x1, x0
Lloh6:
	adrp	x8, __MAX_EXT@GOTPAGE
Lloh7:
	ldr	x8, [x8, __MAX_EXT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	sub	w2, w8, #1
	mov	x0, x19
	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	_strncat
LBB0_20:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	__MAX_DIR,8,3                   ; @_MAX_DIR
	.comm	__MAX_FNAME,4,2                 ; @_MAX_FNAME
	.comm	__MAX_EXT,4,2                   ; @_MAX_EXT
.subsections_via_symbols
