	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_deslashify                     ## -- Begin function deslashify
	.p2align	4, 0x90
_deslashify:                            ## @deslashify
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	_gopt@GOTPCREL(%rip), %rax
	movq	_CFM_NORMALIZE_SLASHES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	je	LBB0_8
## %bb.2:
	movq	%rdi, %rbx
	cmpb	$0, (%rdi)
	je	LBB0_8
## %bb.3:
	movq	%rbx, %rdi
	callq	_strlen
	cltq
	cmpb	$47, -1(%rbx,%rax)
	jne	LBB0_8
## %bb.4:
	leaq	(%rbx,%rax), %rcx
	decq	%rcx
	cmpq	%rbx, %rcx
	jbe	LBB0_8
## %bb.5:
	addq	%rbx, %rax
	addq	$-2, %rax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movb	$0, 1(%rax)
	cmpb	$47, (%rax)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	-1(%rax), %rcx
	cmpq	%rbx, %rax
	movq	%rcx, %rax
	ja	LBB0_6
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	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	_deslashify                     ; -- Begin function deslashify
	.p2align	2
_deslashify:                            ; @deslashify
	.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
	cbz	x0, LBB0_6
; %bb.1:
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]
	and	w8, w9, w8
	cbz	w8, LBB0_6
; %bb.2:
	mov	x19, x0
	ldrb	w8, [x0]
	cbz	w8, LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	add	x9, x19, x8
	ldrb	w10, [x9, #-1]!
	cmp	w10, #47
	ccmp	x9, x19, #0, eq
	b.ls	LBB0_6
; %bb.4:
	add	x8, x8, x19
	sub	x8, x8, #2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	strb	wzr, [x8, #1]
	ldrb	w9, [x8]
	cmp	w9, #47
	ccmp	x8, x19, #0, eq
	sub	x8, x8, #1
	b.hi	LBB0_5
LBB0_6:
	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
