	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AppendPathSeparator            ## -- Begin function AppendPathSeparator
	.p2align	4, 0x90
_AppendPathSeparator:                   ## @AppendPathSeparator
	.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
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rdi, %rbx
	callq	__tcslen
	movq	_MAX_PATH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_6
## %bb.2:
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	leaq	(%rbx,%rax,8), %r14
	movq	-8(%rbx,%rax,8), %rbx
	movl	$92, %edi
	callq	__T
	cmpq	%rax, %rbx
	jne	LBB0_7
## %bb.4:
	movq	%r14, %rbx
	jmp	LBB0_8
LBB0_6:
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	movl	$92, %edi
	callq	__T
	leaq	8(%r14), %rbx
	movq	%rax, (%r14)
	xorl	%edi, %edi
	callq	__T
	movq	%rax, 8(%r14)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,8,3                   ## @MAX_PATH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AppendPathSeparator            ; -- Begin function AppendPathSeparator
	.p2align	2
_AppendPathSeparator:                   ; @AppendPathSeparator
	.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	x19, x0
	cbz	x0, LBB0_6
; %bb.1:
	mov	x0, x19
	bl	__tcslen
Lloh0:
	adrp	x8, _MAX_PATH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.hs	LBB0_5
; %bb.2:
	cbz	x0, LBB0_6
; %bb.3:
	add	x19, x19, x0, lsl #3
	ldur	x20, [x19, #-8]
	mov	w0, #92
	bl	__T
	cmp	x20, x0
	b.eq	LBB0_6
; %bb.4:
	mov	w0, #92
	bl	__T
	str	x0, [x19]
	mov	w0, #0
	bl	__T
	str	x0, [x19, #8]!
	b	LBB0_6
LBB0_5:
	mov	x19, #0
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,8,3                   ; @MAX_PATH
.subsections_via_symbols
