	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reduce_path
_reduce_path:                           ## @reduce_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	leaq	L_.str(%rip), %r14
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_9
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_8 Depth 2
	movq	%rax, %rdx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rdx, %rcx
	cmpq	%r15, %rdx
	jbe	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	leaq	-1(%rcx), %rdx
	cmpb	$47, -1(%rcx)
	je	LBB0_4
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$0, 2(%rax)
	je	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	3(%rax,%rdx), %ebx
	movb	%bl, 1(%rcx,%rdx)
	cmpb	$0, 3(%rax,%rdx)
	leaq	1(%rdx), %rdx
	jne	LBB0_8
	jmp	LBB0_2
LBB0_9:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_22
## %bb.10:
	cmpq	%r15, %rax
	je	LBB0_22
## %bb.11:
	leaq	L_.str.1(%rip), %r14
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_17 Depth 2
                                        ##     Child Loop BB0_21 Depth 2
	leaq	-1(%rax), %rcx
	movq	%rax, %rdi
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rdi, %rsi
	movq	%rcx, %rdx
	cmpq	%r15, %rdi
	jbe	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	leaq	-1(%rsi), %rdi
	leaq	-1(%rdx), %rcx
	cmpb	$47, -1(%rsi)
	je	LBB0_15
	.p2align	4, 0x90
LBB0_17:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r15, %rdx
	jb	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=2
	movq	%rsi, %rcx
	cmpb	$47, (%rdx)
	leaq	-1(%rdx), %rdx
	leaq	-1(%rsi), %rsi
	jne	LBB0_17
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpb	$0, 3(%rax)
	je	LBB0_12
## %bb.20:                              ##   in Loop: Header=BB0_14 Depth=1
	addq	$4, %rax
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rax), %edx
	movb	%dl, (%rcx)
	incq	%rcx
	cmpb	$0, (%rax)
	leaq	1(%rax), %rax
	jne	LBB0_21
LBB0_12:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_22
## %bb.13:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpq	%r15, %rax
	jne	LBB0_14
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/./"

L_.str.1:                               ## @.str.1
	.asciz	"/../"

	.no_dead_strip	_reduce_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reduce_path
_reduce_path:                           ; @reduce_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
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strstr
	cbz	x0, LBB0_9
; %bb.1:
Lloh2:
	adrp	x20, l_.str@PAGE
Lloh3:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_strstr
	cbz	x0, LBB0_9
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
                                        ;     Child Loop BB0_8 Depth 2
	mov	x9, x0
LBB0_4:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x8, x9
	cmp	x9, x19
	b.ls	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	mov	x9, x8
	ldrb	w10, [x9, #-1]!
	cmp	w10, #47
	b.eq	LBB0_4
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w9, [x0, #2]
	cbz	w9, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x9, #0
	add	x10, x0, #3
LBB0_8:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w11, [x10, x9]
	add	x12, x8, x9
	strb	w11, [x12, #1]
	ldrb	w11, [x10, x9]
	add	x9, x9, #1
	cbnz	w11, LBB0_8
	b	LBB0_2
LBB0_9:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strstr
	cbz	x0, LBB0_22
; %bb.10:
	cmp	x0, x19
	b.eq	LBB0_22
; %bb.11:
Lloh6:
	adrp	x20, l_.str.1@PAGE
Lloh7:
	add	x20, x20, l_.str.1@PAGEOFF
LBB0_12:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_19 Depth 2
	sub	x8, x0, #1
	mov	x11, x0
LBB0_13:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x10, x11
	mov	x9, x8
	cmp	x11, x19
	b.ls	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	mov	x11, x10
	ldrb	w12, [x11, #-1]!
	sub	x8, x9, #1
	cmp	w12, #47
	b.eq	LBB0_13
LBB0_15:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x9, x19
	b.lo	LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	x8, x10
	ldrb	w11, [x9], #-1
	sub	x10, x10, #1
	cmp	w11, #47
	b.ne	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	ldrb	w9, [x0, #3]
	cbz	w9, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	add	x9, x0, #4
LBB0_19:                                ;   Parent Loop BB0_12 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x9]
	strb	w10, [x8], #1
	ldrb	w10, [x9], #1
	cbnz	w10, LBB0_19
LBB0_20:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_strstr
	cbz	x0, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_12 Depth=1
	cmp	x0, x19
	b.ne	LBB0_12
LBB0_22:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/./"

l_.str.1:                               ; @.str.1
	.asciz	"/../"

	.no_dead_strip	_reduce_path
.subsections_via_symbols
