	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zend_compute_escaped_string_len
_zend_compute_escaped_string_len:       ## @zend_compute_escaped_string_len
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	_VK_ESCAPE@GOTPCREL(%rip), %rax
	movb	(%rax), %r8b
	cmpq	$1, %rsi
	jne	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	movq	%rsi, %rax
LBB0_16:
	testb	$1, %sil
	je	LBB0_22
## %bb.17:
	movb	(%rdi,%rdx), %cl
	leal	-9(%rcx), %edx
	cmpb	$5, %dl
	jae	LBB0_18
LBB0_21:
	incq	%rax
LBB0_22:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movq	%rsi, %r9
	andq	$-2, %r9
	xorl	%edx, %edx
	movq	%rsi, %rax
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rdx), %r10d
	leal	-9(%r10), %ecx
	cmpb	$5, %cl
	jae	LBB0_6
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rax
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movzbl	1(%rdi,%rdx), %r10d
	leal	-9(%r10), %ecx
	cmpb	$5, %cl
	jae	LBB0_11
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%rax
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	$2, %rdx
	cmpq	%rdx, %r9
	jne	LBB0_5
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$92, %r10b
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	%r8b, %r10b
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	addb	$-127, %r10b
	leaq	3(%rax), %rcx
	cmpb	$-95, %r10b
	cmovbq	%rcx, %rax
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$92, %r10b
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpb	%r8b, %r10b
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	addb	$-127, %r10b
	leaq	3(%rax), %rcx
	cmpb	$-95, %r10b
	cmovbq	%rcx, %rax
	jmp	LBB0_15
LBB0_18:
	cmpb	$92, %cl
	je	LBB0_21
## %bb.19:
	cmpb	%r8b, %cl
	je	LBB0_21
## %bb.20:
	addb	$-127, %cl
	leaq	3(%rax), %rdx
	cmpb	$-95, %cl
	cmovbq	%rdx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VK_ESCAPE,1,0                  ## @VK_ESCAPE
	.no_dead_strip	_zend_compute_escaped_string_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zend_compute_escaped_string_len
_zend_compute_escaped_string_len:       ; @zend_compute_escaped_string_len
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_8
; %bb.1:
Lloh0:
	adrp	x8, _VK_ESCAPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VK_ESCAPE@GOTPAGEOFF]
	ldrb	w9, [x8]
	mov	x8, x1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x0]
	sub	w11, w10, #9
	cmp	w11, #5
	b.lo	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w10, #92
	ccmp	w10, w9, #4, ne
	b.ne	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #1
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #1
	subs	x1, x1, #1
	b.ne	LBB0_2
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	sub	w10, w10, #127
	add	x11, x8, #3
	cmn	w10, #95
	csel	x8, x11, x8, lo
	b	LBB0_5
LBB0_7:
	mov	x0, x8
	ret
LBB0_8:
	mov	x0, #0
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_VK_ESCAPE,1,0                  ; @VK_ESCAPE
	.no_dead_strip	_zend_compute_escaped_string_len
.subsections_via_symbols
