	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function php_openssl_evp_from_zval
_php_openssl_evp_from_zval:             ## @php_openssl_evp_from_zval
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r14
	movq	%rdx, %r13
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movq	$0, -64(%rbp)
	leaq	-44(%rbp), %rdi
	callq	_ZVAL_NULL
	testq	%r12, %r12
	je	LBB0_2
## %bb.1:
	movq	$0, (%r12)
LBB0_2:
	movq	%r15, %rdi
	callq	_Z_TYPE_P
	movq	_IS_ARRAY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.3:
	movq	%r15, %rdi
	callq	_Z_ARRVAL_P
	movl	%eax, %edi
	movl	$1, %esi
	callq	_zend_hash_index_find
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_Z_TYPE_P
	movq	_IS_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	callq	_Z_STRVAL_P
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_Z_STRLEN_P
	movslq	%eax, %r14
	jmp	LBB0_9
LBB0_6:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	callq	_php_error_docref
	jmp	LBB0_70
LBB0_7:
	leaq	-44(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ZVAL_COPY
	movq	%r14, %rdi
	callq	_try_convert_to_string
	testl	%eax, %eax
	je	LBB0_34
## %bb.8:
	movl	-44(%rbp), %edi
	callq	_Z_STRVAL
	movq	%rax, %r13
	movl	-44(%rbp), %edi
	callq	_Z_STRLEN
	movq	%rax, %r14
LBB0_9:
	movq	%r15, %rdi
	callq	_Z_ARRVAL_P
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_zend_hash_index_find
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_31
LBB0_10:
	movq	%r15, %rdi
	callq	_Z_TYPE_P
	movq	_IS_RESOURCE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
## %bb.11:
	movq	%r15, %rdi
	callq	_Z_RES_P
	movq	%rax, %r14
	movq	_le_x509@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movq	_le_key@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_zend_fetch_resource2
	testq	%rax, %rax
	je	LBB0_25
## %bb.12:
	movq	%rax, %r13
	testq	%r12, %r12
	je	LBB0_14
## %bb.13:
	movq	%r14, (%r12)
	movq	%r15, %rdi
	callq	_Z_ADDREF_P
LBB0_14:
	movq	(%r14), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_26
## %bb.15:
	xorl	%ebx, %ebx
	movq	%r13, %r14
	jmp	LBB0_58
LBB0_16:
	movq	%r15, %rdi
	callq	_Z_TYPE_P
	movq	_IS_STRING@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	je	LBB0_18
## %bb.17:
	movq	%r15, %rdi
	callq	_Z_TYPE_P
	movq	_IS_OBJECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_33
LBB0_18:
	movq	%r15, %rdi
	callq	_try_convert_to_string
	testl	%eax, %eax
	je	LBB0_33
## %bb.19:
	movq	%r15, %rdi
	callq	_Z_STRLEN_P
	cmpl	$8, %eax
	jl	LBB0_21
## %bb.20:
	movq	%r15, %rdi
	callq	_Z_STRVAL_P
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, %rdi
	movl	$7, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_40
LBB0_21:
	xorl	%ebx, %ebx
LBB0_22:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_35
## %bb.23:
	leaq	-64(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_php_openssl_x509_from_zval
	cmpq	$0, -64(%rbp)
	sete	%r13b
	testq	%rax, %rax
	je	LBB0_38
## %bb.24:
	movq	%rax, %r14
	movq	%r13, %rbx
	jmp	LBB0_58
LBB0_33:
	movl	-44(%rbp), %edi
	callq	_Z_TYPE
	cmpq	(%rbx), %rax
	je	LBB0_45
	jmp	LBB0_34
LBB0_26:
	movq	_le_key@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_25
## %bb.27:
	movq	%r13, %rdi
	callq	_php_openssl_is_private_key
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, %ecx
	orl	%eax, %ecx
	je	LBB0_42
## %bb.28:
	testl	%edx, %edx
	je	LBB0_68
## %bb.29:
	testl	%eax, %eax
	je	LBB0_68
## %bb.30:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_43
LBB0_31:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_43
LBB0_35:
	testq	%rbx, %rbx
	je	LBB0_46
## %bb.36:
	movq	_PKCS7_BINARY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PHP_OPENSSL_BIO_MODE_R
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_BIO_new_file
	jmp	LBB0_47
LBB0_38:
	testq	%rbx, %rbx
	je	LBB0_51
## %bb.39:
	movq	_PKCS7_BINARY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PHP_OPENSSL_BIO_MODE_R
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_BIO_new_file
	jmp	LBB0_52
LBB0_40:
	movq	%r15, %rdi
	callq	_Z_STRVAL_P
	movq	%rax, %rbx
	addq	$7, %rbx
	movq	%rbx, %rdi
	callq	_php_openssl_open_base_dir_chk
	testq	%rax, %rax
	jne	LBB0_25
	jmp	LBB0_22
LBB0_42:
	movq	_E_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
LBB0_43:
	xorl	%r13d, %r13d
	xorl	%edi, %edi
	callq	_php_error_docref
LBB0_44:
	movl	-44(%rbp), %edi
	callq	_Z_TYPE
	movq	_IS_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_70
	jmp	LBB0_45
LBB0_46:
	movq	%r15, %rdi
	callq	_Z_STRVAL_P
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_Z_STRLEN_P
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_BIO_new_mem_buf
LBB0_47:
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_25
## %bb.48:
	testq	%r13, %r13
	je	LBB0_54
## %bb.49:
	movq	%r13, -80(%rbp)
	movq	%r14, -72(%rbp)
	movq	_php_openssl_pem_password_cb@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	xorl	%ebx, %ebx
	leaq	-80(%rbp), %rcx
	movq	%r15, %rdi
	xorl	%esi, %esi
	jmp	LBB0_55
LBB0_25:
	movl	-44(%rbp), %edi
	callq	_Z_TYPE
	movq	_IS_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_34
LBB0_45:
	leaq	-44(%rbp), %rdi
	callq	_zval_ptr_dtor_str
	xorl	%r13d, %r13d
	jmp	LBB0_70
LBB0_34:
	xorl	%r13d, %r13d
	jmp	LBB0_70
LBB0_51:
	movq	%r15, %rdi
	callq	_Z_STRVAL_P
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_Z_STRLEN_P
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_BIO_new_mem_buf
LBB0_52:
	movq	%rax, %r15
	movq	%r13, %rbx
	testq	%rax, %rax
	je	LBB0_71
## %bb.53:
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_PEM_read_bio_PUBKEY
	jmp	LBB0_56
LBB0_54:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
LBB0_55:
	callq	_PEM_read_bio_PrivateKey
LBB0_56:
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_BIO_free
	testq	%r13, %r13
	jne	LBB0_64
## %bb.57:
	xorl	%r14d, %r14d
LBB0_58:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_php_openssl_store_errors
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_62
## %bb.59:
	testq	%r14, %r14
	je	LBB0_62
## %bb.60:
	movq	%r14, %rdi
	callq	_X509_get_pubkey
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_62
## %bb.61:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_php_openssl_store_errors
LBB0_62:
	testq	%r14, %r14
	setne	%al
	andb	%al, %bl
	cmpb	$1, %bl
	jne	LBB0_64
## %bb.63:
	movq	%r14, %rdi
	callq	_X509_free
LBB0_64:
	testq	%r12, %r12
	je	LBB0_68
## %bb.65:
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_68
## %bb.66:
	testq	%r13, %r13
	je	LBB0_68
## %bb.67:
	movq	_le_key@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_zend_register_resource
	movq	%rax, (%r12)
LBB0_68:
	movl	-44(%rbp), %edi
	callq	_Z_TYPE
	movq	_IS_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_70
## %bb.69:
	leaq	-44(%rbp), %rdi
	callq	_zval_ptr_dtor_str
LBB0_70:
	movq	%r13, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_71:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_php_openssl_store_errors
	jmp	LBB0_44
	.cfi_endproc
                                        ## -- End function
	.comm	_IS_ARRAY,8,3                   ## @IS_ARRAY
	.comm	_E_WARNING,4,2                  ## @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"key array must be of the form array(0 => key, 1 => phrase)"

	.comm	_IS_STRING,8,3                  ## @IS_STRING
	.comm	_IS_RESOURCE,8,3                ## @IS_RESOURCE
L_.str.1:                               ## @.str.1
	.asciz	"OpenSSL X.509/key"

	.comm	_le_x509,8,3                    ## @le_x509
	.comm	_le_key,8,3                     ## @le_key
L_.str.2:                               ## @.str.2
	.asciz	"supplied key param is a public key"

L_.str.3:                               ## @.str.3
	.asciz	"Don't know how to get public key from this private key"

	.comm	_IS_OBJECT,8,3                  ## @IS_OBJECT
L_.str.4:                               ## @.str.4
	.asciz	"file://"

	.comm	_PKCS7_BINARY,4,2               ## @PKCS7_BINARY
	.comm	_php_openssl_pem_password_cb,8,3 ## @php_openssl_pem_password_cb
	.comm	_TMP_CLEAN,4,2                  ## @TMP_CLEAN
	.no_dead_strip	_php_openssl_evp_from_zval
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function php_openssl_evp_from_zval
_php_openssl_evp_from_zval:             ; @php_openssl_evp_from_zval
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x5
	mov	x20, x4
	mov	x24, x3
	mov	x23, x2
	mov	x21, x1
	mov	x22, x0
	str	xzr, [sp, #24]
	add	x0, sp, #20
	bl	_ZVAL_NULL
	cbz	x19, LBB0_2
; %bb.1:
	str	xzr, [x19]
LBB0_2:
	mov	x0, x22
	bl	_Z_TYPE_P
Lloh0:
	adrp	x8, _IS_ARRAY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IS_ARRAY@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.3:
	mov	x0, x22
	bl	_Z_ARRVAL_P
	mov	w1, #1
	bl	_zend_hash_index_find
	cbz	x0, LBB0_6
; %bb.4:
	mov	x24, x0
	bl	_Z_TYPE_P
Lloh3:
	adrp	x25, _IS_STRING@GOTPAGE
Lloh4:
	ldr	x25, [x25, _IS_STRING@GOTPAGEOFF]
	ldr	x8, [x25]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.5:
	mov	x0, x24
	bl	_Z_STRVAL_P
	mov	x23, x0
	mov	x0, x24
	bl	_Z_STRLEN_P
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x24, w0
	b	LBB0_9
LBB0_6:
Lloh5:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	bl	_php_error_docref
	b	LBB0_64
LBB0_7:
	add	x0, sp, #20
	mov	x1, x24
	bl	_ZVAL_COPY
	add	x0, sp, #20
	bl	_try_convert_to_string
	cbz	w0, LBB0_64
; %bb.8:
	ldr	w0, [sp, #20]
	bl	_Z_STRVAL
	mov	x23, x0
	ldr	w0, [sp, #20]
	bl	_Z_STRLEN
	mov	x24, x0
LBB0_9:
	mov	x0, x22
	bl	_Z_ARRVAL_P
	mov	w1, #0
	bl	_zend_hash_index_find
	mov	x22, x0
	cbz	x0, LBB0_31
LBB0_10:
	mov	x0, x22
	bl	_Z_TYPE_P
Lloh10:
	adrp	x8, _IS_RESOURCE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IS_RESOURCE@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_16
; %bb.11:
	mov	x0, x22
	bl	_Z_RES_P
	mov	x24, x0
Lloh13:
	adrp	x26, _le_x509@GOTPAGE
Lloh14:
	ldr	x26, [x26, _le_x509@GOTPAGEOFF]
	ldr	x2, [x26]
Lloh15:
	adrp	x25, _le_key@GOTPAGE
Lloh16:
	ldr	x25, [x25, _le_key@GOTPAGEOFF]
	ldr	x3, [x25]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_zend_fetch_resource2
	cbz	x0, LBB0_30
; %bb.12:
	mov	x23, x0
	cbz	x19, LBB0_14
; %bb.13:
	str	x24, [x19]
	mov	x0, x22
	bl	_Z_ADDREF_P
LBB0_14:
	ldr	x8, [x24]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_25
; %bb.15:
	mov	w27, #0
	mov	x24, x23
	b	LBB0_49
LBB0_16:
	mov	x0, x22
	bl	_Z_TYPE_P
Lloh19:
	adrp	x26, _IS_STRING@GOTPAGE
Lloh20:
	ldr	x26, [x26, _IS_STRING@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x0, x8
	b.eq	LBB0_18
; %bb.17:
	mov	x0, x22
	bl	_Z_TYPE_P
Lloh21:
	adrp	x8, _IS_OBJECT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IS_OBJECT@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_62
LBB0_18:
	mov	x0, x22
	bl	_try_convert_to_string
	cbz	w0, LBB0_62
; %bb.19:
	mov	x0, x22
	bl	_Z_STRLEN_P
	cmp	w0, #8
	b.lt	LBB0_21
; %bb.20:
	mov	x0, x22
	bl	_Z_STRVAL_P
Lloh24:
	adrp	x1, l_.str.4@PAGE
Lloh25:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #7
	bl	_memcmp
	cbz	x0, LBB0_36
LBB0_21:
	mov	x25, #0
LBB0_22:
	cbz	w21, LBB0_32
; %bb.23:
	add	x2, sp, #24
	mov	x0, x22
	mov	w1, #0
	bl	_php_openssl_x509_from_zval
	ldr	x8, [sp, #24]
	cmp	x8, #0
	cset	w27, eq
	cbz	x0, LBB0_34
; %bb.24:
	mov	x24, x0
	b	LBB0_49
LBB0_25:
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_30
; %bb.26:
	mov	x0, x23
	bl	_php_openssl_is_private_key
	orr	w8, w21, w0
	cbz	w8, LBB0_37
; %bb.27:
	cbz	w21, LBB0_59
; %bb.28:
	cbz	w0, LBB0_59
; %bb.29:
Lloh26:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh27:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x2, l_.str.3@PAGE
Lloh30:
	add	x2, x2, l_.str.3@PAGEOFF
	b	LBB0_38
LBB0_30:
	ldr	w0, [sp, #20]
	bl	_Z_TYPE
Lloh31:
	adrp	x8, _IS_STRING@GOTPAGE
Lloh32:
	ldr	x8, [x8, _IS_STRING@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_63
	b	LBB0_64
LBB0_31:
Lloh34:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh35:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh36:
	ldr	w1, [x8]
Lloh37:
	adrp	x2, l_.str@PAGE
Lloh38:
	add	x2, x2, l_.str@PAGEOFF
	bl	_php_error_docref
	ldr	w0, [sp, #20]
	bl	_Z_TYPE
	mov	x23, #0
	ldr	x8, [x25]
	cmp	x0, x8
	b.eq	LBB0_63
	b	LBB0_65
LBB0_32:
	cbz	x25, LBB0_39
; %bb.33:
Lloh39:
	adrp	x8, _PKCS7_BINARY@GOTPAGE
Lloh40:
	ldr	x8, [x8, _PKCS7_BINARY@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	bl	_PHP_OPENSSL_BIO_MODE_R
	mov	x1, x0
	mov	x0, x25
	bl	_BIO_new_file
	mov	x22, x0
	cbnz	x0, LBB0_40
	b	LBB0_62
LBB0_34:
	cbz	x25, LBB0_42
; %bb.35:
Lloh42:
	adrp	x8, _PKCS7_BINARY@GOTPAGE
Lloh43:
	ldr	x8, [x8, _PKCS7_BINARY@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	bl	_PHP_OPENSSL_BIO_MODE_R
	mov	x1, x0
	mov	x0, x25
	bl	_BIO_new_file
	b	LBB0_43
LBB0_36:
	mov	x0, x22
	bl	_Z_STRVAL_P
	add	x25, x0, #7
	mov	x0, x25
	bl	_php_openssl_open_base_dir_chk
	cbnz	x0, LBB0_62
	b	LBB0_22
LBB0_37:
Lloh45:
	adrp	x8, _E_WARNING@GOTPAGE
Lloh46:
	ldr	x8, [x8, _E_WARNING@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
Lloh48:
	adrp	x2, l_.str.2@PAGE
Lloh49:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_38:
	mov	x0, #0
	bl	_php_error_docref
	ldr	w0, [sp, #20]
	bl	_Z_TYPE
	mov	x23, #0
Lloh50:
	adrp	x8, _IS_STRING@GOTPAGE
Lloh51:
	ldr	x8, [x8, _IS_STRING@GOTPAGEOFF]
Lloh52:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_63
	b	LBB0_65
LBB0_39:
	mov	x0, x22
	bl	_Z_STRVAL_P
	mov	x25, x0
	mov	x0, x22
	bl	_Z_STRLEN_P
	mov	x1, x0
	mov	x0, x25
	bl	_BIO_new_mem_buf
	mov	x22, x0
	cbz	x0, LBB0_62
LBB0_40:
	cbz	x23, LBB0_45
; %bb.41:
	stp	x23, x24, [sp]
Lloh53:
	adrp	x8, _php_openssl_pem_password_cb@GOTPAGE
Lloh54:
	ldr	x8, [x8, _php_openssl_pem_password_cb@GOTPAGEOFF]
Lloh55:
	ldr	x2, [x8]
	mov	x3, sp
	mov	x0, x22
	mov	x1, #0
	b	LBB0_46
LBB0_42:
	mov	x0, x22
	bl	_Z_STRVAL_P
	mov	x23, x0
	mov	x0, x22
	bl	_Z_STRLEN_P
	mov	x1, x0
	mov	x0, x23
	bl	_BIO_new_mem_buf
LBB0_43:
	mov	x22, x0
	cbz	x0, LBB0_61
; %bb.44:
	mov	x0, x22
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_PEM_read_bio_PUBKEY
	mov	x23, x0
	b	LBB0_47
LBB0_45:
	mov	x0, x22
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
LBB0_46:
	bl	_PEM_read_bio_PrivateKey
	mov	x23, x0
	mov	w27, #0
LBB0_47:
	mov	x0, x22
	bl	_BIO_free
	cbnz	x23, LBB0_55
; %bb.48:
	mov	x24, #0
LBB0_49:
	bl	_php_openssl_store_errors
	mov	x23, #0
	cbz	w21, LBB0_53
; %bb.50:
	cbz	x24, LBB0_53
; %bb.51:
	mov	x0, x24
	bl	_X509_get_pubkey
	mov	x23, x0
	cbnz	x0, LBB0_53
; %bb.52:
	bl	_php_openssl_store_errors
LBB0_53:
	cmp	x24, #0
	cset	w8, ne
	and	w8, w27, w8
	cmp	w8, #1
	b.ne	LBB0_55
; %bb.54:
	mov	x0, x24
	bl	_X509_free
LBB0_55:
	cbz	x19, LBB0_59
; %bb.56:
	cbz	w20, LBB0_59
; %bb.57:
	cbz	x23, LBB0_59
; %bb.58:
Lloh56:
	adrp	x8, _le_key@GOTPAGE
Lloh57:
	ldr	x8, [x8, _le_key@GOTPAGEOFF]
Lloh58:
	ldr	x1, [x8]
	mov	x0, x23
	bl	_zend_register_resource
	str	x0, [x19]
LBB0_59:
	ldr	w0, [sp, #20]
	bl	_Z_TYPE
Lloh59:
	adrp	x8, _IS_STRING@GOTPAGE
Lloh60:
	ldr	x8, [x8, _IS_STRING@GOTPAGEOFF]
Lloh61:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_65
; %bb.60:
	add	x0, sp, #20
	bl	_zval_ptr_dtor_str
	b	LBB0_65
LBB0_61:
	bl	_php_openssl_store_errors
LBB0_62:
	ldr	w0, [sp, #20]
	bl	_Z_TYPE
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_64
LBB0_63:
	add	x0, sp, #20
	bl	_zval_ptr_dtor_str
LBB0_64:
	mov	x23, #0
LBB0_65:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.cfi_endproc
                                        ; -- End function
	.comm	_IS_ARRAY,8,3                   ; @IS_ARRAY
	.comm	_E_WARNING,4,2                  ; @E_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"key array must be of the form array(0 => key, 1 => phrase)"

	.comm	_IS_STRING,8,3                  ; @IS_STRING
	.comm	_IS_RESOURCE,8,3                ; @IS_RESOURCE
l_.str.1:                               ; @.str.1
	.asciz	"OpenSSL X.509/key"

	.comm	_le_x509,8,3                    ; @le_x509
	.comm	_le_key,8,3                     ; @le_key
l_.str.2:                               ; @.str.2
	.asciz	"supplied key param is a public key"

l_.str.3:                               ; @.str.3
	.asciz	"Don't know how to get public key from this private key"

	.comm	_IS_OBJECT,8,3                  ; @IS_OBJECT
l_.str.4:                               ; @.str.4
	.asciz	"file://"

	.comm	_PKCS7_BINARY,4,2               ; @PKCS7_BINARY
	.comm	_php_openssl_pem_password_cb,8,3 ; @php_openssl_pem_password_cb
	.comm	_TMP_CLEAN,4,2                  ; @TMP_CLEAN
	.no_dead_strip	_php_openssl_evp_from_zval
.subsections_via_symbols
