	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function normalize_vpath
_normalize_vpath:                       ## @normalize_vpath
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	$0, (%rdi)
	movq	$0, (%rsi)
	movq	%rdx, %rdi
	movq	%rcx, %rsi
	movl	%r8d, %edx
	callq	_pestrndup
	testq	%rax, %rax
	je	LBB0_52
## %bb.1:
	movq	%rax, %r15
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_php_raw_url_decode
	movslq	%eax, %rcx
	leaq	(%r15,%rcx), %r14
	testl	%ecx, %ecx
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_8
## %bb.2:
	cmpb	$47, (%r15)
	jne	LBB0_8
## %bb.3:
	leaq	1(%r15), %r12
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rbx
	leaq	(%r12,%rcx), %rdx
	cmpq	%r14, %rdx
	jae	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	1(%rbx), %rcx
	cmpb	$47, (%rdx)
	je	LBB0_4
LBB0_6:
	leaq	(%r15,%rbx), %rsi
	incq	%rsi
	movl	%ebx, %edx
	notl	%edx
	addl	%eax, %edx
	movq	%r12, %rdi
	callq	_memmove
	subq	%rbx, %r14
	cmpq	%r14, %r12
	jb	LBB0_12
	jmp	LBB0_51
LBB0_8:
	movq	%r15, %r12
	cmpq	%r14, %r12
	jb	LBB0_12
	jmp	LBB0_51
LBB0_9:                                 ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %rsi
LBB0_10:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	movl	%r14d, %edx
	subl	%r13d, %edx
	movq	%rbx, %rdi
	callq	_memmove
	movq	%rbx, %rax
	subq	%r13, %rax
	addq	%rax, %r14
LBB0_11:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %r12
	cmpq	%r14, %r12
	jae	LBB0_51
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_28 Depth 2
                                        ##     Child Loop BB0_46 Depth 2
                                        ##     Child Loop BB0_40 Depth 2
                                        ##     Child Loop BB0_35 Depth 2
	cmpq	%r14, %r12
	jae	LBB0_18
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movb	$1, %al
	cmpb	$47, (%r12)
	movq	%r12, %r13
	je	LBB0_21
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	leaq	1(%r12), %r13
	movq	%r12, %rcx
	notq	%rcx
	addq	%r14, %rcx
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r13, %rax
	testq	%rcx, %rcx
	je	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	leaq	1(%rax), %r13
	decq	%rcx
	cmpb	$47, (%rax)
	jne	LBB0_15
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	decq	%r13
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_12 Depth=1
	xorl	%eax, %eax
	movq	%r12, %r13
	movq	%r12, %rbx
	jmp	LBB0_22
LBB0_19:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r14, %r13
LBB0_20:                                ##   in Loop: Header=BB0_12 Depth=1
	cmpq	%r14, %rax
	setb	%al
LBB0_21:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r13, %rbx
LBB0_22:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r13, %rcx
	subq	%r12, %rcx
	cmpq	$1, %rcx
	je	LBB0_32
## %bb.23:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpq	$2, %rcx
	jne	LBB0_37
## %bb.24:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpb	$46, (%r12)
	jne	LBB0_37
## %bb.25:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpb	$46, 1(%r12)
	jne	LBB0_37
## %bb.26:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpq	%r15, %r12
	jbe	LBB0_31
## %bb.27:                              ##   in Loop: Header=BB0_12 Depth=1
	decq	%r12
	.p2align	4, 0x90
LBB0_28:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%r15, %r12
	je	LBB0_44
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=2
	leaq	-1(%r12), %rax
	cmpb	$47, -1(%r12)
	movq	%rax, %r12
	jne	LBB0_28
## %bb.30:                              ##   in Loop: Header=BB0_12 Depth=1
	incq	%rax
	movq	%rax, %r12
LBB0_31:                                ##   in Loop: Header=BB0_12 Depth=1
	cmpq	%r14, %rbx
	jb	LBB0_45
	jmp	LBB0_50
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_12 Depth=1
	cmpb	$46, (%r12)
	jne	LBB0_37
## %bb.33:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpq	%r14, %rbx
	jae	LBB0_50
## %bb.34:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r14, %rax
	subq	%r13, %rax
	leaq	(%rbx,%rax), %rcx
	.p2align	4, 0x90
LBB0_35:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$47, (%rbx)
	jne	LBB0_49
## %bb.36:                              ##   in Loop: Header=BB0_35 Depth=2
	incq	%rbx
	decq	%rax
	jne	LBB0_35
	jmp	LBB0_48
	.p2align	4, 0x90
LBB0_37:                                ##   in Loop: Header=BB0_12 Depth=1
	testb	%al, %al
	je	LBB0_11
## %bb.38:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpq	%r14, %rbx
	jae	LBB0_9
## %bb.39:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r14, %rax
	subq	%r13, %rax
	leaq	(%rbx,%rax), %rcx
	movq	%rbx, %r13
	.p2align	4, 0x90
LBB0_40:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$47, (%r13)
	jne	LBB0_43
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=2
	incq	%r13
	decq	%rax
	jne	LBB0_40
## %bb.42:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rcx, %r13
LBB0_43:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r13, %rsi
	jmp	LBB0_10
LBB0_44:                                ##   in Loop: Header=BB0_12 Depth=1
	xorl	%r12d, %r12d
	cmpb	$47, (%r15)
	sete	%r12b
	addq	%r15, %r12
	cmpq	%r14, %rbx
	jae	LBB0_50
LBB0_45:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r14, %rax
	subq	%r13, %rax
	leaq	(%rbx,%rax), %rcx
	.p2align	4, 0x90
LBB0_46:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$47, (%rbx)
	jne	LBB0_49
## %bb.47:                              ##   in Loop: Header=BB0_46 Depth=2
	incq	%rbx
	decq	%rax
	jne	LBB0_46
LBB0_48:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%rcx, %rbx
LBB0_49:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%rbx, %r13
LBB0_50:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	%r14d, %edx
	subl	%r13d, %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_memmove
	movq	%r12, %rax
	subq	%r13, %rax
	addq	%rax, %r14
	cmpq	%r14, %r12
	jb	LBB0_12
LBB0_51:
	movb	$0, (%r14)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
	subq	%r15, %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
LBB0_52:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_normalize_vpath
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function normalize_vpath
_normalize_vpath:                       ; @normalize_vpath
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x3
	mov	x19, x1
	mov	x20, x0
	str	xzr, [x0]
	str	xzr, [x1]
	mov	x0, x2
	mov	x1, x3
	mov	x2, x4
	bl	_pestrndup
	cbz	x0, LBB0_53
; %bb.1:
	mov	x21, x0
	mov	x1, x22
	bl	_php_raw_url_decode
	add	x8, x21, w0, sxtw
	subs	w9, w0, #1
	b.lt	LBB0_7
; %bb.2:
	ldrb	w10, [x21]
	cmp	w10, #47
	b.ne	LBB0_7
; %bb.3:
	add	x10, x21, #1
	mov	x11, x8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x1, x10
	mov	x23, x11
	mov	x2, x9
	cmp	x10, x8
	b.hs	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x10, x1
	ldrb	w12, [x10], #1
	sub	x11, x23, #1
	sub	w9, w2, #1
	cmp	w12, #47
	b.eq	LBB0_4
LBB0_6:
	add	x22, x21, #1
	mov	x0, x22
	bl	_memmove
	cmp	x22, x23
	b.lo	LBB0_9
	b	LBB0_52
LBB0_7:
	mov	x23, x8
	mov	x22, x21
	cmp	x22, x23
	b.lo	LBB0_9
	b	LBB0_52
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x22, x1
	cmp	x22, x23
	b.hs	LBB0_52
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
                                        ;     Child Loop BB0_26 Depth 2
                                        ;     Child Loop BB0_46 Depth 2
                                        ;     Child Loop BB0_38 Depth 2
                                        ;     Child Loop BB0_33 Depth 2
	cmp	x22, x23
	b.hs	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldrb	w8, [x22]
	cmp	w8, #47
	b.ne	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w8, #1
	mov	x24, x22
	b	LBB0_19
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	w8, #0
	mov	x24, x22
	mov	x1, x22
	b	LBB0_20
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	add	x9, x22, #1
	mvn	x8, x22
	add	x10, x8, x23
LBB0_14:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x8, x9
	cbz	x10, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	mov	x9, x8
	ldrb	w11, [x9], #1
	sub	x10, x10, #1
	cmp	w11, #47
	b.ne	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	sub	x24, x9, #1
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x24, x23
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=1
	cmp	x8, x23
	cset	w8, lo
LBB0_19:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x1, x24
LBB0_20:                                ;   in Loop: Header=BB0_9 Depth=1
	sub	x9, x24, x22
	cmp	x9, #1
	b.eq	LBB0_30
; %bb.21:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	x9, #2
	b.ne	LBB0_35
; %bb.22:                               ;   in Loop: Header=BB0_9 Depth=1
	ldrb	w9, [x22]
	cmp	w9, #46
	b.ne	LBB0_35
; %bb.23:                               ;   in Loop: Header=BB0_9 Depth=1
	ldrb	w9, [x22, #1]
	cmp	w9, #46
	b.ne	LBB0_35
; %bb.24:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	x22, x21
	b.ls	LBB0_29
; %bb.25:                               ;   in Loop: Header=BB0_9 Depth=1
	sub	x8, x22, #1
LBB0_26:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	x8, x21
	b.eq	LBB0_44
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	ldrb	w9, [x8, #-1]!
	cmp	w9, #47
	b.ne	LBB0_26
; %bb.28:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x8, #1
LBB0_29:                                ;   in Loop: Header=BB0_9 Depth=1
	cmp	x1, x23
	b.lo	LBB0_45
	b	LBB0_50
LBB0_30:                                ;   in Loop: Header=BB0_9 Depth=1
	ldrb	w9, [x22]
	cmp	w9, #46
	b.ne	LBB0_35
; %bb.31:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	x1, x23
	b.hs	LBB0_50
; %bb.32:                               ;   in Loop: Header=BB0_9 Depth=1
	sub	x8, x23, x24
	add	x9, x1, x8
LBB0_33:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x1]
	cmp	w10, #47
	b.ne	LBB0_49
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=2
	add	x1, x1, #1
	subs	x8, x8, #1
	b.ne	LBB0_33
	b	LBB0_48
LBB0_35:                                ;   in Loop: Header=BB0_9 Depth=1
	cbz	w8, LBB0_8
; %bb.36:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	x1, x23
	b.hs	LBB0_42
; %bb.37:                               ;   in Loop: Header=BB0_9 Depth=1
	sub	x8, x23, x24
	add	x9, x1, x8
	mov	x24, x1
LBB0_38:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x24]
	cmp	w10, #47
	b.ne	LBB0_41
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=2
	add	x24, x24, #1
	subs	x8, x8, #1
	b.ne	LBB0_38
; %bb.40:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x24, x9
LBB0_41:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x3, x24
	b	LBB0_43
LBB0_42:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x3, x1
LBB0_43:                                ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x1, #1
	sub	w2, w23, w24
	mov	x0, x22
	mov	x1, x3
	b	LBB0_51
LBB0_44:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x8, x21
	ldrb	w9, [x8], #1
	cmp	w9, #47
	csel	x22, x21, x8, ne
	cmp	x1, x23
	b.hs	LBB0_50
LBB0_45:                                ;   in Loop: Header=BB0_9 Depth=1
	sub	x8, x23, x24
	add	x9, x1, x8
LBB0_46:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w10, [x1]
	cmp	w10, #47
	b.ne	LBB0_49
; %bb.47:                               ;   in Loop: Header=BB0_46 Depth=2
	add	x1, x1, #1
	subs	x8, x8, #1
	b.ne	LBB0_46
LBB0_48:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x1, x9
LBB0_49:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x24, x1
LBB0_50:                                ;   in Loop: Header=BB0_9 Depth=1
	sub	w2, w23, w24
	mov	x0, x22
LBB0_51:                                ;   in Loop: Header=BB0_9 Depth=1
	bl	_memmove
	sub	x8, x22, x24
	add	x23, x23, x8
	cmp	x22, x23
	b.lo	LBB0_9
LBB0_52:
	strb	wzr, [x23]
	str	x21, [x20]
	sub	x8, x23, x21
	str	x8, [x19]
LBB0_53:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_normalize_vpath
.subsections_via_symbols
