	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_callback
_verify_callback:                       ## @verify_callback
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	_OPENSSL_DEFAULT_STREAM_VERIFY_DEPTH@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	%rsi, %rdi
	callq	_X509_STORE_CTX_get_error
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_X509_STORE_CTX_get_error_depth
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%eax, %eax
	callq	_SSL_get_ex_data_X509_STORE_CTX_idx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_X509_STORE_CTX_get_ex_data
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_php_openssl_get_ssl_stream_data_index
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_SSL_get_ex_data
	movq	_X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_GET_VER_OPT
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	callq	_zend_is_true
	testq	%rax, %rax
	movl	$1, %eax
	cmovnel	%eax, %r14d
LBB0_3:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_GET_VER_OPT_LONG
	movslq	-44(%rbp), %rax                 ## 4-byte Folded Reload
	cmpq	%rax, %r15
	jge	LBB0_5
## %bb.4:
	movq	_X509_V_ERR_CERT_CHAIN_TOO_LONG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_X509_STORE_CTX_set_error
	xorl	%r14d, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OPENSSL_DEFAULT_STREAM_VERIFY_DEPTH,8,3 ## @OPENSSL_DEFAULT_STREAM_VERIFY_DEPTH
	.comm	_X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT,4,2 ## @X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"allow_self_signed"

L_.str.1:                               ## @.str.1
	.asciz	"verify_depth"

	.comm	_X509_V_ERR_CERT_CHAIN_TOO_LONG,4,2 ## @X509_V_ERR_CERT_CHAIN_TOO_LONG
	.no_dead_strip	_verify_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_callback
_verify_callback:                       ; @verify_callback
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _OPENSSL_DEFAULT_STREAM_VERIFY_DEPTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OPENSSL_DEFAULT_STREAM_VERIFY_DEPTH@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	mov	x0, x1
	bl	_X509_STORE_CTX_get_error
	mov	x23, x0
	mov	x0, x19
	bl	_X509_STORE_CTX_get_error_depth
	mov	x22, x0
	bl	_SSL_get_ex_data_X509_STORE_CTX_idx
	mov	x1, x0
	mov	x0, x19
	bl	_X509_STORE_CTX_get_ex_data
	mov	x24, x0
	bl	_php_openssl_get_ssl_stream_data_index
	mov	x1, x0
	mov	x0, x24
	bl	_SSL_get_ex_data
Lloh3:
	adrp	x8, _X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w23, w8
	b.ne	LBB0_3
; %bb.1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_GET_VER_OPT
	cbz	x0, LBB0_3
; %bb.2:
	bl	_zend_is_true
	cmp	x0, #0
	csinc	w20, w20, wzr, eq
LBB0_3:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x21
	bl	_GET_VER_OPT_LONG
	cmp	x21, w22, sxtw
	b.ge	LBB0_5
; %bb.4:
Lloh10:
	adrp	x8, _X509_V_ERR_CERT_CHAIN_TOO_LONG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _X509_V_ERR_CERT_CHAIN_TOO_LONG@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_X509_STORE_CTX_set_error
	mov	w20, #0
LBB0_5:
	mov	x0, x20
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_OPENSSL_DEFAULT_STREAM_VERIFY_DEPTH,8,3 ; @OPENSSL_DEFAULT_STREAM_VERIFY_DEPTH
	.comm	_X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT,4,2 ; @X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"allow_self_signed"

l_.str.1:                               ; @.str.1
	.asciz	"verify_depth"

	.comm	_X509_V_ERR_CERT_CHAIN_TOO_LONG,4,2 ; @X509_V_ERR_CERT_CHAIN_TOO_LONG
	.no_dead_strip	_verify_callback
.subsections_via_symbols
