	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function normalize_path
_normalize_path:                        ## @normalize_path
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r15
	xorl	%ebx, %ebx
	cmpb	$47, (%rsi)
	sete	%bl
	leaq	(%rsi,%rbx), %r14
	movq	%r14, %rdi
	callq	_strlen
	movslq	%eax, %rcx
	leal	1(%rcx), %eax
	leaq	(%r12,%rbx), %rdx
	decq	%rdx
	movq	%rcx, %rsi
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	subq	$1, %rsi
	jb	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	decl	%eax
	cmpb	$47, (%rdx,%rcx)
	movq	%rsi, %rcx
	je	LBB0_1
	jmp	LBB0_4
LBB0_2:
	xorl	%eax, %eax
LBB0_4:
	movq	%r14, (%r15)
	movl	%eax, 8(%r15)
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_normalize_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function normalize_path
_normalize_path:                        ; @normalize_path
	.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
	mov	x8, x1
	ldrb	w9, [x8], #1
	cmp	w9, #47
	csel	x20, x1, x8, ne
	mov	x0, x20
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x10, w0
	add	w8, w0, #1
	sub	x9, x20, #1
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x10, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w11, [x9, x10]
	sub	x10, x10, #1
	sub	w8, w8, #1
	cmp	w11, #47
	b.eq	LBB0_1
	b	LBB0_4
LBB0_3:
	mov	w8, #0
LBB0_4:
	str	x20, [x19]
	str	w8, [x19, #8]
	mov	x0, x19
	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	_normalize_path
.subsections_via_symbols
