	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phar_mount_entry               ## -- Begin function phar_mount_entry
	.p2align	4, 0x90
_phar_mount_entry:                      ## @phar_mount_entry
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rcx, -64(%rbp)
	movq	%r8, -48(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -88(%rbp)
	movups	%xmm0, -104(%rbp)
	movups	%xmm0, -120(%rbp)
	movq	$0, -72(%rbp)
	leaq	-64(%rbp), %rdi
	leaq	-48(%rbp), %rsi
	leaq	-144(%rbp), %rdx
	callq	_phar_path_check
	movq	_pcr_is_ok@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_23
## %bb.1:
	cmpq	$5, -48(%rbp)
	jb	LBB0_3
## %bb.2:
	movq	-64(%rbp), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$5, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_23
LBB0_3:
	cmpq	$8, %r12
	jb	LBB0_4
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	movl	$7, %edx
	callq	_memcmp
	testl	%eax, %eax
	sete	%bl
	jmp	LBB0_6
LBB0_4:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%r14, -80(%rbp)
	movq	-64(%rbp), %rdi
	movq	-48(%rbp), %rsi
	callq	_estrndup
	movq	%rax, %r15
	movq	%rax, -136(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, -128(%rbp)
	testb	%bl, %bl
	je	LBB0_7
## %bb.12:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_estrndup
	movq	%rax, %rbx
	movq	%rax, -120(%rbp)
	jmp	LBB0_13
LBB0_7:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_expand_filepath
	movq	%rax, %rbx
	movq	%rax, -120(%rbp)
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_estrndup
	movq	%rax, %rbx
	movq	%rax, -120(%rbp)
LBB0_9:
	movq	%rbx, %rdi
	callq	_php_check_open_basedir
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movq	%rbx, %rdi
	jmp	LBB0_11
LBB0_13:
	movabsq	$4294967297, %rax               ## imm = 0x100000001
	movq	%rax, -112(%rbp)
	movq	_PHAR_TMP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movq	_SUCCESS@GOTPCREL(%rip), %r12
	movq	(%r12), %r13
	leaq	-56(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_php_stream_stat_path
	cmpq	%rax, %r13
	jne	LBB0_14
## %bb.15:
	movl	-56(%rbp), %eax
	movq	_S_IFDIR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.16:
	movl	$1, -104(%rbp)
	leaq	4(%r14), %rdi
	movq	-48(%rbp), %rdx
	movq	%r15, %rsi
	movq	%r15, %rcx
	callq	_zend_hash_str_add_ptr
	testq	%rax, %rax
	je	LBB0_14
## %bb.17:
	movl	-56(%rbp), %eax
	jmp	LBB0_19
LBB0_14:
	movq	-120(%rbp), %rdi
LBB0_11:
	callq	_efree
	movq	%r15, %rdi
LBB0_22:
	callq	_efree
LBB0_23:
	movq	_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_24:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movl	$0, -104(%rbp)
	movl	-52(%rbp), %ecx
	movl	%ecx, -96(%rbp)
	movl	%ecx, -92(%rbp)
LBB0_19:
	movl	%eax, -100(%rbp)
	movq	-48(%rbp), %rdx
	leaq	-136(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$72, %r8d
	callq	_zend_hash_str_add_mem
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movl	(%r12), %eax
	jmp	LBB0_24
LBB0_21:
	movq	-120(%rbp), %rdi
	callq	_efree
	movq	-136(%rbp), %rdi
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_pcr_is_ok,8,3                  ## @pcr_is_ok
	.comm	_FAILURE,4,2                    ## @FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".phar"

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

	.comm	_PHAR_TMP,4,2                   ## @PHAR_TMP
	.comm	_SUCCESS,8,3                    ## @SUCCESS
	.comm	_S_IFDIR,4,2                    ## @S_IFDIR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_phar_mount_entry               ; -- Begin function phar_mount_entry
	.p2align	2
_phar_mount_entry:                      ; @phar_mount_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x21, x2
	mov	x22, x1
	mov	x19, x0
	stp	x4, x3, [x29, #-64]
	str	xzr, [sp, #88]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #72]
	stur	q0, [sp, #56]
	stur	q0, [sp, #40]
	sub	x0, x29, #56
	sub	x1, x29, #64
	add	x2, sp, #8
	bl	_phar_path_check
Lloh0:
	adrp	x8, _pcr_is_ok@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pcr_is_ok@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.gt	LBB0_19
; %bb.1:
	ldur	x8, [x29, #-64]
	cmp	x8, #5
	b.lo	LBB0_3
; %bb.2:
	ldur	x0, [x29, #-56]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #5
	bl	_memcmp
	cbz	w0, LBB0_19
LBB0_3:
	cmp	x21, #8
	b.lo	LBB0_5
; %bb.4:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	w2, #7
	bl	_memcmp
	cmp	w0, #0
	cset	w23, eq
	b	LBB0_6
LBB0_5:
	mov	w23, #0
LBB0_6:
	str	x19, [sp, #80]
	ldp	x1, x0, [x29, #-64]
	bl	_estrndup
	mov	x20, x0
	ldur	x8, [x29, #-64]
	stp	x0, x8, [sp, #24]
	tbz	w23, #0, LBB0_8
; %bb.7:
	mov	x0, x22
	mov	x1, x21
	bl	_estrndup
	mov	x23, x0
	str	x0, [sp, #40]
	b	LBB0_12
LBB0_8:
	mov	x0, x22
	mov	x1, #0
	bl	_expand_filepath
	mov	x23, x0
	str	x0, [sp, #40]
	cbnz	x0, LBB0_10
; %bb.9:
	mov	x0, x22
	mov	x1, x21
	bl	_estrndup
	mov	x23, x0
	str	x0, [sp, #40]
LBB0_10:
	mov	x0, x23
	bl	_php_check_open_basedir
	cbz	x0, LBB0_12
; %bb.11:
	mov	x0, x23
	b	LBB0_17
LBB0_12:
	movi.2s	v0, #1
Lloh7:
	adrp	x8, _PHAR_TMP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _PHAR_TMP@GOTPAGEOFF]
	str	d0, [sp, #48]
Lloh9:
	ldr	w8, [x8]
	str	w8, [sp, #72]
Lloh10:
	adrp	x21, _SUCCESS@GOTPAGE
Lloh11:
	ldr	x21, [x21, _SUCCESS@GOTPAGEOFF]
	ldr	x22, [x21]
	add	x1, sp, #16
	mov	x0, x23
	bl	_php_stream_stat_path
	cmp	x22, x0
	b.ne	LBB0_16
; %bb.13:
	ldr	w8, [sp, #16]
Lloh12:
	adrp	x9, _S_IFDIR@GOTPAGE
Lloh13:
	ldr	x9, [x9, _S_IFDIR@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.14:
	mov	w8, #1
	str	w8, [sp, #56]
	add	x0, x19, #4
	ldur	x2, [x29, #-64]
	mov	x1, x20
	mov	x3, x20
	bl	_zend_hash_str_add_ptr
	cbz	x0, LBB0_16
; %bb.15:
	ldr	w8, [sp, #16]
	b	LBB0_22
LBB0_16:
	ldr	x0, [sp, #40]
LBB0_17:
	bl	_efree
	mov	x0, x20
LBB0_18:
	bl	_efree
LBB0_19:
Lloh15:
	adrp	x8, _FAILURE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FAILURE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
LBB0_20:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_21:
	ldr	w9, [sp, #20]
	str	wzr, [sp, #56]
	stp	w9, w9, [sp, #64]
LBB0_22:
	str	w8, [sp, #60]
	ldur	x2, [x29, #-64]
	add	x3, sp, #24
	mov	x0, x19
	mov	x1, x20
	mov	w4, #72
	bl	_zend_hash_str_add_mem
	cbz	x0, LBB0_24
; %bb.23:
	ldr	w0, [x21]
	b	LBB0_20
LBB0_24:
	ldr	x0, [sp, #40]
	bl	_efree
	ldr	x0, [sp, #24]
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_pcr_is_ok,8,3                  ; @pcr_is_ok
	.comm	_FAILURE,4,2                    ; @FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".phar"

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

	.comm	_PHAR_TMP,4,2                   ; @PHAR_TMP
	.comm	_SUCCESS,8,3                    ; @SUCCESS
	.comm	_S_IFDIR,4,2                    ; @S_IFDIR
.subsections_via_symbols
