	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wceex_wmakepath                ## -- Begin function wceex_wmakepath
	.p2align	4, 0x90
_wceex_wmakepath:                       ## @wceex_wmakepath
	.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	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movq	__MAX_PATH@GOTPCREL(%rip), %rax
	movslq	(%rax), %r13
	decq	%r13
	movb	$0, (%rdi)
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.1:
	cmpb	$0, (%rsi)
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movq	%r13, %rdx
	callq	_wcsncat
	movq	%rbx, %rdi
	callq	_wcslen
	leaq	(%rbx,%rax), %r15
	subq	%rax, %r13
	testq	%r14, %r14
	jne	LBB0_4
	jmp	LBB0_11
LBB0_3:
	movq	%rbx, %r15
	testq	%r14, %r14
	je	LBB0_11
LBB0_4:
	cmpb	$0, (%r14)
	je	LBB0_11
## %bb.5:
	testq	%r13, %r13
	je	LBB0_11
## %bb.6:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_wcsncat
	movq	%r15, %rdi
	callq	_wcslen
	movq	%rax, %r14
	addq	%r15, %rax
	decq	%rax
	subq	%r14, %r13
	je	LBB0_14
## %bb.7:
	movb	(%rax), %cl
	cmpb	$47, %cl
	je	LBB0_15
## %bb.8:
	cmpb	$92, %cl
	je	LBB0_15
## %bb.16:
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_wcschr
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	addq	%r14, %r15
	jmp	LBB0_19
LBB0_11:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	testq	%r12, %r12
	jne	LBB0_23
	jmp	LBB0_26
LBB0_14:
	xorl	%r13d, %r13d
LBB0_15:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_21
LBB0_18:
	movq	%rbx, %rdi
	movl	$92, %esi
	callq	_wcschr
	addq	%r14, %r15
	testq	%rax, %rax
	je	LBB0_34
LBB0_19:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movb	(%rax), %al
LBB0_20:
	movb	%al, (%r15)
	movb	$0, 1(%r15)
	incq	%r15
	decq	%r13
	movq	%r15, %rax
LBB0_21:
	incq	%rax
	movq	%rax, %r15
	testq	%r12, %r12
	je	LBB0_26
LBB0_23:
	cmpb	$0, (%r12)
	je	LBB0_26
## %bb.24:
	testq	%r13, %r13
	je	LBB0_26
## %bb.25:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_wcsncat
	movq	%r15, %rdi
	callq	_wcslen
	addq	%rax, %r15
	subq	%rax, %r13
LBB0_26:
	testq	%rbx, %rbx
	je	LBB0_33
## %bb.27:
	movb	(%rbx), %al
	testb	%al, %al
	je	LBB0_33
## %bb.28:
	testq	%r13, %r13
	je	LBB0_33
## %bb.29:
	cmpb	$46, %al
	je	LBB0_32
## %bb.30:
	movw	$46, (%r15)
	decq	%r13
	je	LBB0_33
## %bb.31:
	incq	%r15
LBB0_32:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wcsncat                        ## TAILCALL
LBB0_33:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	movb	$92, %al
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	__MAX_PATH,4,2                  ## @_MAX_PATH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wceex_wmakepath                ; -- Begin function wceex_wmakepath
	.p2align	2
_wceex_wmakepath:                       ; @wceex_wmakepath
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x4
	mov	x21, x3
	mov	x24, x2
	mov	x23, x0
Lloh0:
	adrp	x8, __MAX_PATH@GOTPAGE
Lloh1:
	ldr	x8, [x8, __MAX_PATH@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	sub	x20, x8, #1
	strb	wzr, [x0]
	cbz	x1, LBB0_3
; %bb.1:
	ldrb	w8, [x1]
	cbz	w8, LBB0_3
; %bb.2:
	mov	x0, x23
	mov	x2, x20
	bl	_wcsncat
	mov	x0, x23
	bl	_wcslen
	add	x22, x23, x0
	sub	x20, x20, x0
	cbnz	x24, LBB0_4
	b	LBB0_14
LBB0_3:
	mov	x22, x23
	cbz	x24, LBB0_14
LBB0_4:
	ldrb	w8, [x24]
	cmp	w8, #0
	ccmp	x20, #0, #4, ne
	b.eq	LBB0_14
; %bb.5:
	mov	x0, x22
	mov	x1, x24
	mov	x2, x20
	bl	_wcsncat
	mov	x0, x22
	bl	_wcslen
	add	x8, x0, x22
	sub	x8, x8, #1
	subs	x20, x20, x0
	b.eq	LBB0_13
; %bb.6:
	ldrb	w9, [x8]
	cmp	w9, #47
	b.eq	LBB0_13
; %bb.7:
	cmp	w9, #92
	b.eq	LBB0_13
; %bb.8:
	mov	x24, x0
	mov	x0, x23
	mov	w1, #47
	bl	_wcschr
	cbz	x0, LBB0_10
; %bb.9:
	add	x8, x22, x24
	b	LBB0_11
LBB0_10:
	mov	w25, #92
	mov	x0, x23
	mov	w1, #92
	bl	_wcschr
	add	x8, x22, x24
	cbz	x0, LBB0_12
LBB0_11:
	ldrb	w25, [x0]
LBB0_12:
	strb	w25, [x8]
	strb	wzr, [x8, #1]!
	sub	x20, x20, #1
LBB0_13:
	add	x22, x8, #1
LBB0_14:
	cbz	x21, LBB0_18
; %bb.15:
	ldrb	w8, [x21]
	cbz	w8, LBB0_18
; %bb.16:
	cbz	x20, LBB0_18
; %bb.17:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_wcsncat
	mov	x0, x22
	bl	_wcslen
	add	x22, x22, x0
	sub	x20, x20, x0
LBB0_18:
	cbz	x19, LBB0_24
; %bb.19:
	ldrb	w8, [x19]
	cbz	w8, LBB0_24
; %bb.20:
	cbz	x20, LBB0_24
; %bb.21:
	cmp	w8, #46
	b.eq	LBB0_23
; %bb.22:
	mov	w8, #46
	strh	w8, [x22], #1
	subs	x20, x20, #1
	b.eq	LBB0_24
LBB0_23:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_wcsncat
LBB0_24:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	__MAX_PATH,4,2                  ; @_MAX_PATH
.subsections_via_symbols
