	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_normalize_slash                ## -- Begin function normalize_slash
	.p2align	4, 0x90
_normalize_slash:                       ## @normalize_slash
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_gopt@GOTPCREL(%rip), %rax
	movq	_CFM_NORMALIZE_SLASHES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_18
## %bb.1:
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_18
## %bb.2:
	leaq	1(%rax), %r9
	leaq	2(%rax), %r8
	movq	%rax, %rdi
	movq	%rax, %rsi
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	cmpq	%rax, %rdi
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$47, (%rax)
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$47, (%r9)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%rsi), %r11
	movb	$47, (%rsi)
	movl	$2, %r10d
	movq	%r9, %rdi
	movq	%r8, %rdx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	1(%rdi), %rdx
	movl	$1, %r10d
	movq	%rsi, %r11
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movb	(%rdi), %cl
	addq	%r10, %rsi
	movb	%cl, (%r11)
	decq	%rdx
	movq	%rdx, %rdi
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%rdi), %edx
	incq	%rdi
	cmpb	$47, %dl
	je	LBB0_9
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_10 Depth=2
	movzbl	(%rdi), %edx
LBB0_16:                                ##   in Loop: Header=BB0_10 Depth=2
	movb	%dl, (%rsi)
	incq	%rsi
	movzbl	1(%rdi), %edx
	incq	%rdi
LBB0_10:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$92, %dl
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	testb	%dl, %dl
	je	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	cmpb	$47, %dl
	jne	LBB0_16
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_10 Depth=2
	cmpb	$47, 1(%rdi)
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_10 Depth=2
	incq	%rdi
	jmp	LBB0_15
LBB0_17:
	movb	$0, (%rsi)
LBB0_18:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gopt,4,2                       ## @gopt
	.comm	_CFM_NORMALIZE_SLASHES,4,2      ## @CFM_NORMALIZE_SLASHES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_normalize_slash                ; -- Begin function normalize_slash
	.p2align	2
_normalize_slash:                       ; @normalize_slash
	.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
Lloh0:
	adrp	x8, _gopt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gopt@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CFM_NORMALIZE_SLASHES@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CFM_NORMALIZE_SLASHES@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.1:
	mov	w19, #47
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_16
; %bb.2:
	add	x8, x0, #1
	add	x9, x0, #2
	mov	x11, x0
	mov	x10, x0
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
                                        ;     Child Loop BB0_12 Depth 2
	cmp	x11, x0
	b.ne	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w12, [x0]
	cmp	w12, #47
	b.ne	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w12, [x8]
	cmp	w12, #47
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x12, x10
	strb	w19, [x12], #1
	mov	x11, x8
	mov	w14, #2
	mov	x13, x9
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x13, x11, #1
	mov	w14, #1
	mov	x12, x10
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w11, [x11]
	add	x10, x10, x14
	strb	w11, [x12]
	sub	x11, x13, #1
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w12, [x11, #1]!
	cmp	w12, #47
	b.eq	LBB0_9
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=2
	mov	x12, x11
	ldrb	w13, [x12, #1]!
	cmp	w13, #47
	csel	x11, x12, x11, eq
	ldrb	w12, [x11]
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	strb	w12, [x10], #1
	ldrb	w12, [x11, #1]!
LBB0_12:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w12, #92
	b.eq	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	cbz	w12, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	cmp	w12, #47
	b.ne	LBB0_11
	b	LBB0_3
LBB0_15:
	strb	wzr, [x10]
LBB0_16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_gopt,4,2                       ; @gopt
	.comm	_CFM_NORMALIZE_SLASHES,4,2      ; @CFM_NORMALIZE_SLASHES
.subsections_via_symbols
