	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CabinetNormalizePath
_CabinetNormalizePath:                  ## @CabinetNormalizePath
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_wcslen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %ecx
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	cltq
	cmpl	$92, -4(%rbx,%rax,4)
	je	LBB0_4
## %bb.2:
	cmpl	%r14d, %ecx
	jge	LBB0_4
## %bb.3:
	movl	$92, (%rbx,%rax,4)
	movslq	%ecx, %rax
	movl	$0, (%rbx,%rax,4)
LBB0_4:
	xorl	%eax, %eax
	cmpl	%r14d, %ecx
	setl	%al
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_CabinetNormalizePath
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CabinetNormalizePath
_CabinetNormalizePath:                  ; @CabinetNormalizePath
	.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, x1
	mov	x20, x0
	bl	_wcslen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x9, w0
	add	x8, x9, #1
	cbz	w0, LBB0_3
; %bb.1:
	add	x10, x20, x9, lsl #2
	ldur	w10, [x10, #-4]
	cmp	w10, #92
	ccmp	w8, w19, #0, ne
	b.ge	LBB0_3
; %bb.2:
	mov	w10, #92
	str	w10, [x20, x9, lsl #2]
	str	wzr, [x20, x8, lsl #2]
LBB0_3:
	cmp	w8, w19
	cset	w0, lt
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_CabinetNormalizePath
.subsections_via_symbols
