	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function phar_build
_phar_build:                            ## @phar_build
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	(%rsi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	$0, -88(%rbp)
	movq	8(%rsi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	24(%rsi), %r15
	movq	32(%rsi), %r14
	movq	(%rdi), %rax
	callq	*8(%rax)
	movq	%rax, %r12
	movq	_exception@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_EG
	testq	%rax, %rax
	jne	LBB0_40
## %bb.2:
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	testq	%r12, %r12
	je	LBB0_7
## %bb.3:
	movq	%r12, %rdi
	callq	_Z_TYPE_P
	cmpl	$131, %eax
	je	LBB0_8
## %bb.4:
	cmpl	$133, %eax
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_16
## %bb.5:
	cmpl	$132, %eax
	jne	LBB0_37
## %bb.6:
	movq	%r12, %rsi
	callq	_php_stream_from_zval_no_verify
	movq	_spl_ce_BadMethodCallException@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_ZSTR_VAL
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_38
LBB0_7:
	movq	_spl_ce_UnexpectedValueException@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_ZSTR_VAL
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_38
LBB0_8:
	movq	%r12, %rdi
	callq	_Z_STRVAL_P
	movq	%rax, -48(%rbp)
	movq	%r12, %rdi
	callq	_Z_STRLEN_P
	cmpq	$0, -80(%rbp)                   ## 8-byte Folded Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_21
## %bb.9:
	movq	%rax, %r12
	xorl	%r14d, %r14d
LBB0_10:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_expand_filepath
	testq	%rax, %rax
	je	LBB0_30
## %bb.11:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_strlen
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi
	movq	%r15, %rsi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_42
## %bb.12:
	subq	%rbx, %r12
	je	LBB0_46
## %bb.13:
	movq	%rbx, %rax
	movq	-48(%rbp), %rdi
	addq	%rdi, %rbx
	movb	(%rdi,%rax), %al
	cmpb	$92, %al
	je	LBB0_15
## %bb.14:
	cmpb	$47, %al
	jne	LBB0_25
LBB0_15:
	incq	%rbx
	decq	%r12
	jmp	LBB0_25
LBB0_16:
	movq	%r12, %rdi
	callq	_Z_OBJCE_P
	movq	_spl_ce_SplFileInfo@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_instanceof_function
	testl	%eax, %eax
	je	LBB0_37
## %bb.17:
	movq	%r12, %rdi
	callq	_Z_OBJ_P
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_Z_OBJ_P
	testq	%rbx, %rbx
	je	LBB0_33
## %bb.18:
	movq	(%rax), %rax
	movslq	(%rax), %rax
	subq	%rax, %r14
	movl	12(%r14), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_34
## %bb.19:
	movq	(%r14), %rdi
	xorl	%esi, %esi
	callq	_expand_filepath
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_64
## %bb.20:
	movq	%rax, %r14
	jmp	LBB0_63
LBB0_21:
	movq	(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_45
## %bb.22:
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	*%rax
	movq	_exception@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_EG
	testq	%rax, %rax
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_40
## %bb.23:
	movl	-64(%rbp), %edi
	callq	_Z_TYPE
	cmpl	$131, %eax
	jne	LBB0_65
## %bb.24:
	movl	-64(%rbp), %edi
	callq	_Z_STRLEN
	movq	%rax, %r12
	movl	-64(%rbp), %edi
	callq	_Z_STRVAL
	movl	%eax, %edi
	movq	%r12, %rsi
	callq	_estrndup
	movq	%rax, %r14
	leaq	-64(%rbp), %rdi
	callq	_zval_ptr_dtor_str
	xorl	%r15d, %r15d
	movq	-48(%rbp), %rdi
	movq	%r14, %rbx
LBB0_25:
	callq	_php_check_open_basedir
	testq	%rax, %rax
	je	LBB0_48
## %bb.26:
	movq	_spl_ce_UnexpectedValueException@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_ZSTR_VAL
	movq	-48(%rbp), %r8
	leaq	L_.str.9(%rip), %rdx
LBB0_27:
	movl	%ebx, %edi
	xorl	%esi, %esi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_zend_throw_exception_ex
	testq	%r14, %r14
	je	LBB0_29
## %bb.28:
	movq	%r14, %rdi
	callq	_efree
LBB0_29:
	testq	%r15, %r15
	jne	LBB0_44
	jmp	LBB0_40
LBB0_30:
	movq	_spl_ce_UnexpectedValueException@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rdx
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_zend_throw_exception_ex
	testq	%r14, %r14
	je	LBB0_40
## %bb.31:
	movq	%r14, %rdi
	jmp	LBB0_32
LBB0_33:
	movq	_spl_ce_BadMethodCallException@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_ZSTR_VAL
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_38
LBB0_34:
	cmpl	$130, %eax
	jne	LBB0_37
## %bb.35:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_spl_filesystem_object_get_path
	movq	_DEFAULT_SLASH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movl	8(%r14), %r9d
	leaq	L_.str.5(%rip), %rdx
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movq	%rax, %rcx
	callq	_spprintf
	movq	-48(%rbp), %rdi
	movq	_FS_IS_DIR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-64(%rbp), %rcx
	movq	%rax, %rsi
	callq	_php_stat
	movl	-64(%rbp), %edi
	callq	_Z_TYPE
	movq	_IS_TRUE@GOTPCREL(%rip), %rcx
	movq	-48(%rbp), %rdi
	cmpl	(%rcx), %eax
	jne	LBB0_61
## %bb.36:
	callq	_efree
	jmp	LBB0_81
LBB0_37:
	movq	_spl_ce_UnexpectedValueException@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_ZSTR_VAL
	leaq	L_.str.7(%rip), %rdx
LBB0_38:
	movl	%ebx, %edi
LBB0_39:
	xorl	%esi, %esi
	movq	%rax, %rcx
	xorl	%eax, %eax
	callq	_zend_throw_exception_ex
LBB0_40:
	movq	_ZEND_HASH_APPLY_STOP@GOTPCREL(%rip), %rax
LBB0_41:
	movl	(%rax), %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_42:
	movq	_spl_ce_UnexpectedValueException@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_ZSTR_VAL
	movq	-48(%rbp), %r8
	leaq	L_.str.8(%rip), %rdx
	movl	%ebx, %edi
	xorl	%esi, %esi
	movq	%rax, %rcx
	movq	%r15, %r9
	xorl	%eax, %eax
	callq	_zend_throw_exception_ex
	testq	%r14, %r14
	je	LBB0_40
## %bb.43:
	movq	%r14, %rdi
	callq	_efree
LBB0_44:
	movq	%r15, %rdi
LBB0_32:
	callq	_efree
	jmp	LBB0_40
LBB0_45:
	movq	_spl_ce_UnexpectedValueException@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_ZSTR_VAL
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_38
LBB0_46:
	testq	%r14, %r14
	je	LBB0_81
## %bb.47:
	movq	%r14, %rdi
	callq	_efree
	movq	%r15, %rdi
	callq	_efree
	jmp	LBB0_81
LBB0_48:
	movq	-48(%rbp), %rdi
	movq	_STREAM_MUST_SEEK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.10(%rip), %rsi
	leaq	-96(%rbp), %rcx
	callq	_php_stream_open_wrapper
	testq	%rax, %rax
	je	LBB0_66
## %bb.49:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	cmpq	$5, %r12
	jb	LBB0_51
## %bb.50:
	leaq	L_.str.12(%rip), %rsi
	movq	%rbx, %rdi
	movl	$5, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_74
LBB0_51:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	leaq	-88(%rbp), %rax
	leaq	L_.str.13(%rip), %r8
	movq	%rbx, %rdx
	movq	%r12, %rcx
	xorl	%r9d, %r9d
	pushq	$1
	pushq	%rax
	callq	_phar_get_or_create_entry_data
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_67
## %bb.52:
	movq	%rax, %r14
	movq	-88(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_54
## %bb.53:
	callq	_efree
LBB0_54:
	movq	(%r14), %rax
	movq	(%rax), %rcx
	movq	_PHAR_MOD@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_56
## %bb.55:
	movq	40(%rax), %rdi
	callq	_php_stream_close
	movq	(%r14), %rax
LBB0_56:
	movq	$0, 40(%rax)
	movq	_PHAR_UFP@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movl	20(%r13), %edi
	callq	_php_stream_tell
	movq	(%r14), %rcx
	movq	%rax, 16(%rcx)
	movq	%rax, 8(%rcx)
	movq	$0, 8(%r14)
	movl	20(%r13), %esi
	movq	_PHP_STREAM_COPY_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rcx
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_php_stream_copy_to_stream_ex
	movl	20(%r13), %edi
	callq	_php_stream_tell
	movq	(%r14), %rcx
	subq	16(%rcx), %rax
	movq	%rax, 32(%rcx)
	movq	%rax, 24(%rcx)
	movq	%r12, %rdi
	callq	_php_stream_close
	movl	16(%r13), %edi
	movq	-96(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_add_assoc_str
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_58
## %bb.57:
	callq	_efree
LBB0_58:
	testq	%r15, %r15
	je	LBB0_60
## %bb.59:
	movq	%r15, %rdi
	callq	_efree
LBB0_60:
	movq	-64(%rbp), %rax
	movq	(%r14), %rcx
	movq	%rax, 24(%rcx)
	movq	%rax, 32(%rcx)
	movq	%r14, %rdi
	callq	_phar_entry_delref
	jmp	LBB0_81
LBB0_61:
	xorl	%esi, %esi
	callq	_expand_filepath
	movq	%rax, %r14
	movq	-48(%rbp), %rdi
	callq	_efree
	testq	%r14, %r14
	je	LBB0_64
## %bb.62:
	movq	%r14, -48(%rbp)
LBB0_63:
	movq	%r14, %rdi
	callq	_strlen
	movq	%rax, %r12
	jmp	LBB0_10
LBB0_64:
	movq	_spl_ce_UnexpectedValueException@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rdx
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_zend_throw_exception_ex
	jmp	LBB0_40
LBB0_65:
	leaq	-64(%rbp), %rdi
	callq	_zval_ptr_dtor
	movq	_spl_ce_UnexpectedValueException@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%rbx), %edi
	callq	_ZSTR_VAL
	leaq	L_.str.2(%rip), %rdx
	movl	%r14d, %edi
	jmp	LBB0_39
LBB0_66:
	movq	_spl_ce_UnexpectedValueException@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_ZSTR_VAL
	movq	-48(%rbp), %r8
	leaq	L_.str.11(%rip), %rdx
	jmp	LBB0_27
LBB0_67:
	movq	_spl_ce_BadMethodCallException@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-88(%rbp), %r8
	leaq	L_.str.14(%rip), %rdx
	xorl	%esi, %esi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_zend_throw_exception_ex
	movq	-88(%rbp), %rdi
	callq	_efree
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_69
## %bb.68:
	callq	_efree
LBB0_69:
	movq	-96(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_71
## %bb.70:
	xorl	%esi, %esi
	callq	_zend_string_release_ex
LBB0_71:
	testq	%r15, %r15
	je	LBB0_73
## %bb.72:
	movq	%r15, %rdi
	callq	_efree
LBB0_73:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_php_stream_close
	jmp	LBB0_40
LBB0_74:
	testq	%r14, %r14
	je	LBB0_76
## %bb.75:
	movq	%r14, %rdi
	callq	_efree
LBB0_76:
	testq	%r15, %r15
	je	LBB0_78
## %bb.77:
	movq	%r15, %rdi
	callq	_efree
LBB0_78:
	movq	-96(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_80
## %bb.79:
	xorl	%esi, %esi
	callq	_zend_string_release_ex
LBB0_80:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_php_stream_close
LBB0_81:
	movq	_ZEND_HASH_APPLY_KEEP@GOTPCREL(%rip), %rax
	jmp	LBB0_41
	.cfi_endproc
                                        ## -- End function
	.comm	_exception,4,2                  ## @exception
	.comm	_ZEND_HASH_APPLY_STOP,4,2       ## @ZEND_HASH_APPLY_STOP
	.comm	_spl_ce_UnexpectedValueException,4,2 ## @spl_ce_UnexpectedValueException
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Iterator %s returned no value"

	.comm	_spl_ce_BadMethodCallException,4,2 ## @spl_ce_BadMethodCallException
L_.str.1:                               ## @.str.1
	.asciz	"Iterator %s returned an invalid stream handle"

L_.str.2:                               ## @.str.2
	.asciz	"Iterator %s returned an invalid key (must return a string)"

	.comm	_spl_ce_SplFileInfo,4,2         ## @spl_ce_SplFileInfo
L_.str.4:                               ## @.str.4
	.asciz	"Iterator %s returns an SplFileInfo object, so base directory must be specified"

L_.str.5:                               ## @.str.5
	.asciz	"%s%c%s"

	.comm	_DEFAULT_SLASH,4,2              ## @DEFAULT_SLASH
	.comm	_FS_IS_DIR,4,2                  ## @FS_IS_DIR
	.comm	_IS_TRUE,4,2                    ## @IS_TRUE
	.comm	_ZEND_HASH_APPLY_KEEP,4,2       ## @ZEND_HASH_APPLY_KEEP
L_.str.6:                               ## @.str.6
	.asciz	"Could not resolve file path"

L_.str.7:                               ## @.str.7
	.asciz	"Iterator %s returned an invalid value (must return a string)"

L_.str.8:                               ## @.str.8
	.asciz	"Iterator %s returned a path \"%s\" that is not in the base directory \"%s\""

L_.str.9:                               ## @.str.9
	.asciz	"Iterator %s returned a path \"%s\" that open_basedir prevents opening"

L_.str.10:                              ## @.str.10
	.asciz	"rb"

	.comm	_STREAM_MUST_SEEK,4,2           ## @STREAM_MUST_SEEK
L_.str.11:                              ## @.str.11
	.asciz	"Iterator %s returned a file that could not be opened \"%s\""

L_.str.12:                              ## @.str.12
	.asciz	".phar"

L_.str.13:                              ## @.str.13
	.asciz	"w+b"

L_.str.14:                              ## @.str.14
	.asciz	"Entry %s cannot be created: %s"

	.comm	_PHAR_MOD,8,3                   ## @PHAR_MOD
	.comm	_PHAR_UFP,8,3                   ## @PHAR_UFP
	.comm	_PHP_STREAM_COPY_ALL,4,2        ## @PHP_STREAM_COPY_ALL
	.no_dead_strip	_phar_build
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function phar_build
_phar_build:                            ; @phar_build
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x22, x0
	str	xzr, [sp, #40]
	ldp	x24, x21, [x1]
	ldp	x26, x25, [x1, #24]
	ldr	x8, [x0]
	ldr	x8, [x8, #8]
	blr	x8
	mov	x20, x0
Lloh0:
	adrp	x27, _exception@GOTPAGE
Lloh1:
	ldr	x27, [x27, _exception@GOTPAGEOFF]
	ldr	w0, [x27]
	bl	_EG
	cbnz	x0, LBB0_38
; %bb.1:
	cbz	x20, LBB0_6
; %bb.2:
	mov	x0, x20
	bl	_Z_TYPE_P
	cmp	w0, #131
	b.eq	LBB0_7
; %bb.3:
	cmp	w0, #133
	b.eq	LBB0_15
; %bb.4:
	cmp	w0, #132
	b.ne	LBB0_35
; %bb.5:
	mov	x1, x20
	bl	_php_stream_from_zval_no_verify
Lloh2:
	adrp	x8, _spl_ce_BadMethodCallException@GOTPAGE
Lloh3:
	ldr	x8, [x8, _spl_ce_BadMethodCallException@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
	ldr	w0, [x25]
	bl	_ZSTR_VAL
	str	x0, [sp]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_36
LBB0_6:
Lloh7:
	adrp	x8, _spl_ce_UnexpectedValueException@GOTPAGE
Lloh8:
	ldr	x8, [x8, _spl_ce_UnexpectedValueException@GOTPAGEOFF]
Lloh9:
	ldr	w19, [x8]
	ldr	w0, [x25]
	bl	_ZSTR_VAL
	str	x0, [sp]
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_36
LBB0_7:
	mov	x0, x20
	bl	_Z_STRVAL_P
	str	x0, [sp, #48]
	mov	x0, x20
	bl	_Z_STRLEN_P
	cbz	x24, LBB0_20
; %bb.8:
	mov	x23, x0
	mov	x20, #0
LBB0_9:
	mov	x0, x21
	mov	x1, #0
	bl	_expand_filepath
	cbz	x0, LBB0_29
; %bb.10:
	mov	x21, x0
	bl	_strlen
	mov	x22, x0
	ldr	x0, [sp, #48]
	mov	x1, x21
	bl	_strstr
	cbz	x0, LBB0_40
; %bb.11:
	subs	x24, x23, x22
	b.eq	LBB0_44
; %bb.12:
	ldr	x0, [sp, #48]
	add	x23, x0, x22
	ldrb	w8, [x23]
	cmp	w8, #92
	b.eq	LBB0_14
; %bb.13:
	cmp	w8, #47
	b.ne	LBB0_24
LBB0_14:
	add	x23, x23, #1
	sub	x24, x24, #1
	b	LBB0_24
LBB0_15:
	mov	x0, x20
	bl	_Z_OBJCE_P
Lloh12:
	adrp	x8, _spl_ce_SplFileInfo@GOTPAGE
Lloh13:
	ldr	x8, [x8, _spl_ce_SplFileInfo@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	bl	_instanceof_function
	cbz	w0, LBB0_35
; %bb.16:
	mov	x0, x20
	bl	_Z_OBJ_P
	mov	x22, x0
	mov	x0, x20
	bl	_Z_OBJ_P
	cbz	x24, LBB0_31
; %bb.17:
	ldr	x8, [x0]
	ldrsw	x8, [x8]
	sub	x20, x22, x8
	ldr	w8, [x20, #12]
	sub	w9, w8, #128
	cmp	w9, #2
	b.hs	LBB0_32
; %bb.18:
	ldr	x0, [x20]
	mov	x1, #0
	bl	_expand_filepath
	str	x0, [sp, #48]
	cbz	x0, LBB0_62
; %bb.19:
	mov	x20, x0
	b	LBB0_61
LBB0_20:
	ldr	x8, [x22]
	ldr	x8, [x8]
	cbz	x8, LBB0_64
; %bb.21:
	add	x1, sp, #56
	mov	x0, x22
	blr	x8
	ldr	w0, [x27]
	bl	_EG
	cbnz	x0, LBB0_38
; %bb.22:
	ldr	w0, [sp, #56]
	bl	_Z_TYPE
	cmp	w0, #131
	b.ne	LBB0_63
; %bb.23:
	ldr	w0, [sp, #56]
	bl	_Z_STRLEN
	mov	x24, x0
	ldr	w0, [sp, #56]
	bl	_Z_STRVAL
	mov	x1, x24
	bl	_estrndup
	mov	x20, x0
	add	x0, sp, #56
	bl	_zval_ptr_dtor_str
	mov	x21, #0
	ldr	x0, [sp, #48]
	mov	x23, x20
LBB0_24:
	bl	_php_check_open_basedir
	cbz	x0, LBB0_46
; %bb.25:
Lloh15:
	adrp	x8, _spl_ce_UnexpectedValueException@GOTPAGE
Lloh16:
	ldr	x8, [x8, _spl_ce_UnexpectedValueException@GOTPAGEOFF]
Lloh17:
	ldr	w19, [x8]
	ldr	w0, [x25]
	bl	_ZSTR_VAL
	ldr	x8, [sp, #48]
	stp	x0, x8, [sp]
Lloh18:
	adrp	x2, l_.str.9@PAGE
Lloh19:
	add	x2, x2, l_.str.9@PAGEOFF
LBB0_26:
	mov	x0, x19
	mov	w1, #0
	bl	_zend_throw_exception_ex
	cbz	x20, LBB0_28
; %bb.27:
	mov	x0, x20
	bl	_efree
LBB0_28:
	cbnz	x21, LBB0_42
	b	LBB0_38
LBB0_29:
Lloh20:
	adrp	x8, _spl_ce_UnexpectedValueException@GOTPAGE
Lloh21:
	ldr	x8, [x8, _spl_ce_UnexpectedValueException@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x2, l_.str.6@PAGE
Lloh24:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	w1, #0
	bl	_zend_throw_exception_ex
	cbz	x20, LBB0_38
; %bb.30:
	mov	x0, x20
	b	LBB0_43
LBB0_31:
Lloh25:
	adrp	x8, _spl_ce_BadMethodCallException@GOTPAGE
Lloh26:
	ldr	x8, [x8, _spl_ce_BadMethodCallException@GOTPAGEOFF]
Lloh27:
	ldr	w19, [x8]
	ldr	w0, [x25]
	bl	_ZSTR_VAL
	str	x0, [sp]
Lloh28:
	adrp	x2, l_.str.4@PAGE
Lloh29:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_36
LBB0_32:
	cmp	w8, #130
	b.ne	LBB0_35
; %bb.33:
	mov	x0, x20
	mov	x1, #0
	bl	_spl_filesystem_object_get_path
	mov	x3, x0
Lloh30:
	adrp	x8, _DEFAULT_SLASH@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DEFAULT_SLASH@GOTPAGEOFF]
Lloh32:
	ldr	w4, [x8]
	ldr	w5, [x20, #8]
Lloh33:
	adrp	x2, l_.str.5@PAGE
Lloh34:
	add	x2, x2, l_.str.5@PAGEOFF
	add	x0, sp, #48
	mov	w1, #0
	bl	_spprintf
	mov	x1, x0
	ldr	x0, [sp, #48]
Lloh35:
	adrp	x8, _FS_IS_DIR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _FS_IS_DIR@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
	add	x3, sp, #56
	bl	_php_stat
	ldr	w0, [sp, #56]
	bl	_Z_TYPE
	mov	x8, x0
Lloh38:
	adrp	x9, _IS_TRUE@GOTPAGE
Lloh39:
	ldr	x9, [x9, _IS_TRUE@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	ldr	x0, [sp, #48]
	cmp	w8, w9
	b.ne	LBB0_59
; %bb.34:
	bl	_efree
	b	LBB0_80
LBB0_35:
Lloh41:
	adrp	x8, _spl_ce_UnexpectedValueException@GOTPAGE
Lloh42:
	ldr	x8, [x8, _spl_ce_UnexpectedValueException@GOTPAGEOFF]
Lloh43:
	ldr	w19, [x8]
	ldr	w0, [x25]
	bl	_ZSTR_VAL
	str	x0, [sp]
Lloh44:
	adrp	x2, l_.str.7@PAGE
Lloh45:
	add	x2, x2, l_.str.7@PAGEOFF
LBB0_36:
	mov	x0, x19
LBB0_37:
	mov	w1, #0
	bl	_zend_throw_exception_ex
LBB0_38:
Lloh46:
	adrp	x8, _ZEND_HASH_APPLY_STOP@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ZEND_HASH_APPLY_STOP@GOTPAGEOFF]
LBB0_39:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_40:
Lloh48:
	adrp	x8, _spl_ce_UnexpectedValueException@GOTPAGE
Lloh49:
	ldr	x8, [x8, _spl_ce_UnexpectedValueException@GOTPAGEOFF]
Lloh50:
	ldr	w19, [x8]
	ldr	w0, [x25]
	bl	_ZSTR_VAL
	ldr	x8, [sp, #48]
	stp	x8, x21, [sp, #8]
	str	x0, [sp]
Lloh51:
	adrp	x2, l_.str.8@PAGE
Lloh52:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_zend_throw_exception_ex
	cbz	x20, LBB0_38
; %bb.41:
	mov	x0, x20
	bl	_efree
LBB0_42:
	mov	x0, x21
LBB0_43:
	bl	_efree
	b	LBB0_38
LBB0_44:
	cbz	x20, LBB0_80
; %bb.45:
	mov	x0, x20
	bl	_efree
	mov	x0, x21
	bl	_efree
	b	LBB0_80
LBB0_46:
	ldr	x0, [sp, #48]
Lloh53:
	adrp	x8, _STREAM_MUST_SEEK@GOTPAGE
Lloh54:
	ldr	x8, [x8, _STREAM_MUST_SEEK@GOTPAGEOFF]
Lloh55:
	ldr	w2, [x8]
Lloh56:
	adrp	x1, l_.str.10@PAGE
Lloh57:
	add	x1, x1, l_.str.10@PAGEOFF
	add	x3, sp, #32
	bl	_php_stream_open_wrapper
	cbz	x0, LBB0_65
; %bb.47:
	mov	x22, x0
	cmp	x24, #5
	b.lo	LBB0_49
; %bb.48:
Lloh58:
	adrp	x1, l_.str.12@PAGE
Lloh59:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x23
	mov	w2, #5
	bl	_memcmp
	cbz	w0, LBB0_73
LBB0_49:
	ldr	x8, [x26]
	ldp	w1, w0, [x8]
Lloh60:
	adrp	x4, l_.str.13@PAGE
Lloh61:
	add	x4, x4, l_.str.13@PAGEOFF
	add	x6, sp, #40
	mov	x2, x23
	mov	x3, x24
	mov	w5, #0
	mov	w7, #1
	bl	_phar_get_or_create_entry_data
	cbz	x0, LBB0_66
; %bb.50:
	mov	x24, x0
	ldr	x0, [sp, #40]
	cbz	x0, LBB0_52
; %bb.51:
	bl	_efree
LBB0_52:
	ldr	x8, [x24]
	ldr	x9, [x8]
Lloh62:
	adrp	x10, _PHAR_MOD@GOTPAGE
Lloh63:
	ldr	x10, [x10, _PHAR_MOD@GOTPAGEOFF]
Lloh64:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_54
; %bb.53:
	ldr	x0, [x8, #40]
	bl	_php_stream_close
	ldr	x8, [x24]
LBB0_54:
	str	xzr, [x8, #40]
Lloh65:
	adrp	x9, _PHAR_UFP@GOTPAGE
Lloh66:
	ldr	x9, [x9, _PHAR_UFP@GOTPAGEOFF]
Lloh67:
	ldr	x9, [x9]
	str	x9, [x8]
	ldr	w0, [x19, #20]
	bl	_php_stream_tell
	ldr	x8, [x24]
	stp	x0, x0, [x8, #8]
	str	xzr, [x24, #8]
	ldr	w1, [x19, #20]
Lloh68:
	adrp	x8, _PHP_STREAM_COPY_ALL@GOTPAGE
Lloh69:
	ldr	x8, [x8, _PHP_STREAM_COPY_ALL@GOTPAGEOFF]
Lloh70:
	ldr	w2, [x8]
	add	x3, sp, #56
	mov	x0, x22
	bl	_php_stream_copy_to_stream_ex
	ldr	w0, [x19, #20]
	bl	_php_stream_tell
	ldr	x8, [x24]
	ldr	x9, [x8, #16]
	sub	x9, x0, x9
	stp	x9, x9, [x8, #24]
	mov	x0, x22
	bl	_php_stream_close
	ldr	w0, [x19, #16]
	ldr	x2, [sp, #32]
	mov	x1, x23
	bl	_add_assoc_str
	cbz	x20, LBB0_56
; %bb.55:
	mov	x0, x20
	bl	_efree
LBB0_56:
	cbz	x21, LBB0_58
; %bb.57:
	mov	x0, x21
	bl	_efree
LBB0_58:
	ldr	x8, [sp, #56]
	ldr	x9, [x24]
	stp	x8, x8, [x9, #24]
	mov	x0, x24
	bl	_phar_entry_delref
	b	LBB0_80
LBB0_59:
	mov	x1, #0
	bl	_expand_filepath
	mov	x20, x0
	ldr	x0, [sp, #48]
	bl	_efree
	cbz	x20, LBB0_62
; %bb.60:
	str	x20, [sp, #48]
LBB0_61:
	mov	x0, x20
	bl	_strlen
	mov	x23, x0
	b	LBB0_9
LBB0_62:
Lloh71:
	adrp	x8, _spl_ce_UnexpectedValueException@GOTPAGE
Lloh72:
	ldr	x8, [x8, _spl_ce_UnexpectedValueException@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x8]
Lloh74:
	adrp	x2, l_.str.6@PAGE
Lloh75:
	add	x2, x2, l_.str.6@PAGEOFF
	b	LBB0_37
LBB0_63:
	add	x0, sp, #56
	bl	_zval_ptr_dtor
LBB0_64:
Lloh76:
	adrp	x8, _spl_ce_UnexpectedValueException@GOTPAGE
Lloh77:
	ldr	x8, [x8, _spl_ce_UnexpectedValueException@GOTPAGEOFF]
Lloh78:
	ldr	w19, [x8]
	ldr	w0, [x25]
	bl	_ZSTR_VAL
	str	x0, [sp]
Lloh79:
	adrp	x2, l_.str.2@PAGE
Lloh80:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_36
LBB0_65:
Lloh81:
	adrp	x8, _spl_ce_UnexpectedValueException@GOTPAGE
Lloh82:
	ldr	x8, [x8, _spl_ce_UnexpectedValueException@GOTPAGEOFF]
Lloh83:
	ldr	w19, [x8]
	ldr	w0, [x25]
	bl	_ZSTR_VAL
	ldr	x8, [sp, #48]
	stp	x0, x8, [sp]
Lloh84:
	adrp	x2, l_.str.11@PAGE
Lloh85:
	add	x2, x2, l_.str.11@PAGEOFF
	b	LBB0_26
LBB0_66:
Lloh86:
	adrp	x8, _spl_ce_BadMethodCallException@GOTPAGE
Lloh87:
	ldr	x8, [x8, _spl_ce_BadMethodCallException@GOTPAGEOFF]
Lloh88:
	ldr	w0, [x8]
	ldr	x8, [sp, #40]
	stp	x23, x8, [sp]
Lloh89:
	adrp	x2, l_.str.14@PAGE
Lloh90:
	add	x2, x2, l_.str.14@PAGEOFF
	mov	w1, #0
	bl	_zend_throw_exception_ex
	ldr	x0, [sp, #40]
	bl	_efree
	cbz	x20, LBB0_68
; %bb.67:
	mov	x0, x20
	bl	_efree
LBB0_68:
	ldr	x0, [sp, #32]
	cbz	x0, LBB0_70
; %bb.69:
	mov	w1, #0
	bl	_zend_string_release_ex
LBB0_70:
	cbz	x21, LBB0_72
; %bb.71:
	mov	x0, x21
	bl	_efree
LBB0_72:
	mov	x0, x22
	bl	_php_stream_close
	b	LBB0_38
LBB0_73:
	cbz	x20, LBB0_75
; %bb.74:
	mov	x0, x20
	bl	_efree
LBB0_75:
	cbz	x21, LBB0_77
; %bb.76:
	mov	x0, x21
	bl	_efree
LBB0_77:
	ldr	x0, [sp, #32]
	cbz	x0, LBB0_79
; %bb.78:
	mov	w1, #0
	bl	_zend_string_release_ex
LBB0_79:
	mov	x0, x22
	bl	_php_stream_close
LBB0_80:
Lloh91:
	adrp	x8, _ZEND_HASH_APPLY_KEEP@GOTPAGE
Lloh92:
	ldr	x8, [x8, _ZEND_HASH_APPLY_KEEP@GOTPAGEOFF]
	b	LBB0_39
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh91, Lloh92
	.cfi_endproc
                                        ; -- End function
	.comm	_exception,4,2                  ; @exception
	.comm	_ZEND_HASH_APPLY_STOP,4,2       ; @ZEND_HASH_APPLY_STOP
	.comm	_spl_ce_UnexpectedValueException,4,2 ; @spl_ce_UnexpectedValueException
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Iterator %s returned no value"

	.comm	_spl_ce_BadMethodCallException,4,2 ; @spl_ce_BadMethodCallException
l_.str.1:                               ; @.str.1
	.asciz	"Iterator %s returned an invalid stream handle"

l_.str.2:                               ; @.str.2
	.asciz	"Iterator %s returned an invalid key (must return a string)"

	.comm	_spl_ce_SplFileInfo,4,2         ; @spl_ce_SplFileInfo
l_.str.4:                               ; @.str.4
	.asciz	"Iterator %s returns an SplFileInfo object, so base directory must be specified"

l_.str.5:                               ; @.str.5
	.asciz	"%s%c%s"

	.comm	_DEFAULT_SLASH,4,2              ; @DEFAULT_SLASH
	.comm	_FS_IS_DIR,4,2                  ; @FS_IS_DIR
	.comm	_IS_TRUE,4,2                    ; @IS_TRUE
	.comm	_ZEND_HASH_APPLY_KEEP,4,2       ; @ZEND_HASH_APPLY_KEEP
l_.str.6:                               ; @.str.6
	.asciz	"Could not resolve file path"

l_.str.7:                               ; @.str.7
	.asciz	"Iterator %s returned an invalid value (must return a string)"

l_.str.8:                               ; @.str.8
	.asciz	"Iterator %s returned a path \"%s\" that is not in the base directory \"%s\""

l_.str.9:                               ; @.str.9
	.asciz	"Iterator %s returned a path \"%s\" that open_basedir prevents opening"

l_.str.10:                              ; @.str.10
	.asciz	"rb"

	.comm	_STREAM_MUST_SEEK,4,2           ; @STREAM_MUST_SEEK
l_.str.11:                              ; @.str.11
	.asciz	"Iterator %s returned a file that could not be opened \"%s\""

l_.str.12:                              ; @.str.12
	.asciz	".phar"

l_.str.13:                              ; @.str.13
	.asciz	"w+b"

l_.str.14:                              ; @.str.14
	.asciz	"Entry %s cannot be created: %s"

	.comm	_PHAR_MOD,8,3                   ; @PHAR_MOD
	.comm	_PHAR_UFP,8,3                   ; @PHAR_UFP
	.comm	_PHP_STREAM_COPY_ALL,4,2        ; @PHP_STREAM_COPY_ALL
	.no_dead_strip	_phar_build
.subsections_via_symbols
