	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_process_cert_verify        ## -- Begin function tls_process_cert_verify
	.p2align	4, 0x90
_tls_process_cert_verify:               ## @tls_process_cert_verify
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r13
	movq	%rsp, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TLS13_TBS_PREAMBLE_SIZE@GOTPCREL(%rip), %rcx
	movq	_EVP_MAX_MD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	(%rcx), %eax
	movq	_MSG_PROCESS_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movq	$0, -112(%rbp)
	movq	$0, -88(%rbp)
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -120(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_new
	movq	$0, -80(%rbp)
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	24(%r13), %rax
	movq	16(%rax), %rdi
	callq	_X509_get0_pubkey
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_ssl_cert_lookup_by_pkey
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%r13, %rdi
	callq	_SSL_USE_SIGALGS
	testq	%rax, %rax
	je	LBB0_12
## %bb.8:
	leaq	-72(%rbp), %rsi
	movq	%r12, %rdi
	callq	_PACKET_get_net_2
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	movl	-72(%rbp), %esi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_tls12_check_peer_sigalg
	testq	%rax, %rax
	jg	LBB0_13
	jmp	LBB0_11
LBB0_6:
	movq	_SSL_AD_ILLEGAL_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_12:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_tls1_set_peer_legacy_sigalg
	testl	%eax, %eax
	je	LBB0_3
LBB0_13:
	movq	8(%r13), %rax
	movl	12(%rax), %edi
	leaq	-112(%rbp), %rsi
	callq	_tls1_lookup_md
	testl	%eax, %eax
	je	LBB0_3
## %bb.14:
	movq	%r13, %rdi
	callq	_SSL_USE_SIGALGS
	testq	%rax, %rax
	je	LBB0_15
LBB0_25:
	leaq	-52(%rbp), %rsi
	movq	%r12, %rdi
	callq	_PACKET_get_net_2
	testl	%eax, %eax
	jne	LBB0_21
LBB0_26:
	movq	_SSL_AD_DECODE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_LENGTH_MISMATCH@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_SSLfatal
LBB0_11:
	xorl	%r12d, %r12d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_54
LBB0_9:
	movq	_SSL_AD_DECODE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_BAD_PACKET@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_15:
	movq	%r12, %rdi
	callq	_PACKET_remaining
	cmpl	$64, %eax
	jne	LBB0_18
## %bb.16:
	movq	%rbx, %rdi
	callq	_EVP_PKEY_id
	movq	_NID_id_GostR3410_2001@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_20
## %bb.17:
	movq	%rbx, %rdi
	callq	_EVP_PKEY_id
	movq	_NID_id_GostR3410_2012_256@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_20
LBB0_18:
	movq	%r12, %rdi
	callq	_PACKET_remaining
	cmpl	$128, %eax
	jne	LBB0_25
## %bb.19:
	movq	%rbx, %rdi
	callq	_EVP_PKEY_id
	movq	_NID_id_GostR3410_2012_512@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_25
LBB0_20:
	movq	%r12, %rdi
	callq	_PACKET_remaining
	movl	%eax, -52(%rbp)
LBB0_21:
	movq	%rbx, %rdi
	callq	_EVP_PKEY_size
	cmpl	%eax, -52(%rbp)
	jg	LBB0_24
## %bb.22:
	movq	%r12, %rdi
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	callq	_PACKET_remaining
	cmpl	-92(%rbp), %eax                 ## 4-byte Folded Reload
	jg	LBB0_24
## %bb.23:
	movq	%r12, %rdi
	callq	_PACKET_remaining
	testl	%eax, %eax
	je	LBB0_24
## %bb.27:
	movl	-52(%rbp), %edx
	leaq	-72(%rbp), %rsi
	movq	%r12, %rdi
	callq	_PACKET_get_bytes
	testl	%eax, %eax
	je	LBB0_26
## %bb.28:
	leaq	-104(%rbp), %rdx
	leaq	-88(%rbp), %rcx
	movq	%r13, %rdi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	callq	_get_cert_verify_tbs_data
	testl	%eax, %eax
	je	LBB0_11
## %bb.29:
	movq	-112(%rbp), %rdx
	leaq	-80(%rbp), %rsi
	movq	%r15, %rdi
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_EVP_DigestVerifyInit
	testq	%rax, %rax
	jle	LBB0_30
## %bb.31:
	movq	%rbx, %rdi
	callq	_EVP_PKEY_id
	movq	_NID_id_GostR3410_2001@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_35
## %bb.32:
	movq	_NID_id_GostR3410_2012_256@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_35
## %bb.33:
	movq	_NID_id_GostR3410_2012_512@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_35
## %bb.34:
	xorl	%r12d, %r12d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_37
LBB0_24:
	movq	_SSL_AD_DECODE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_WRONG_SIGNATURE_SIZE@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_30:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_EVP_LIB@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_35:
	movl	-52(%rbp), %edi
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_1
## %bb.36:
	movq	%rax, %r12
	movq	-72(%rbp), %rsi
	movl	-52(%rbp), %edx
	movq	%rax, %rdi
	callq	_BUF_reverse
	movq	%r12, -72(%rbp)
LBB0_37:
	movq	%r13, %rdi
	callq	_SSL_USE_PSS
	testq	%rax, %rax
	je	LBB0_42
## %bb.38:
	movq	-80(%rbp), %rdi
	movq	_RSA_PKCS1_PSS_PADDING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVP_PKEY_CTX_set_rsa_padding
	testq	%rax, %rax
	jle	LBB0_40
## %bb.39:
	movq	-80(%rbp), %rdi
	movq	_RSA_PSS_SALTLEN_DIGEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_EVP_PKEY_CTX_set_rsa_pss_saltlen
	testq	%rax, %rax
	jle	LBB0_40
LBB0_42:
	movq	(%r13), %rax
	movq	_SSL3_VERSION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_47
## %bb.43:
	movq	-104(%rbp), %rsi
	movq	-88(%rbp), %rdx
	movq	%r15, %rdi
	callq	_EVP_DigestVerifyUpdate
	testq	%rax, %rax
	jle	LBB0_40
## %bb.44:
	movq	_EVP_CTRL_SSL3_MASTER_SECRET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	24(%r13), %rax
	movl	(%rax), %ecx
	movl	8(%rax), %edx
	movq	%r15, %rdi
	callq	_EVP_MD_CTX_ctrl
	testl	%eax, %eax
	je	LBB0_40
## %bb.45:
	movq	-72(%rbp), %rsi
	movl	-52(%rbp), %edx
	movq	%r15, %rdi
	callq	_EVP_DigestVerifyFinal
	testq	%rax, %rax
	jg	LBB0_48
LBB0_46:
	movq	_SSL_AD_DECRYPT_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_BAD_SIGNATURE@GOTPCREL(%rip), %rax
	jmp	LBB0_41
LBB0_1:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_SSLfatal
	xorl	%r12d, %r12d
LBB0_54:
	movq	8(%r13), %rax
	movq	(%rax), %rdi
	callq	_BIO_free
	movq	8(%r13), %rax
	movq	$0, (%rax)
	movq	%r15, %rdi
	callq	_EVP_MD_CTX_free
	movq	%r12, %rdi
	callq	_OPENSSL_free
	movq	%rbx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_56
## %bb.55:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_40:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_EVP_LIB@GOTPCREL(%rip), %rax
LBB0_41:
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_SSLfatal
	jmp	LBB0_54
LBB0_47:
	movq	-72(%rbp), %rsi
	movl	-52(%rbp), %edx
	movq	-104(%rbp), %rcx
	movq	-88(%rbp), %r8
	movq	%r15, %rdi
	callq	_EVP_DigestVerify
	testl	%eax, %eax
	jle	LBB0_46
LBB0_48:
	cmpl	$0, 16(%r13)
	je	LBB0_49
LBB0_52:
	movq	_MSG_PROCESS_CONTINUE_READING@GOTPCREL(%rip), %rax
LBB0_53:
	movl	(%rax), %r14d
	jmp	LBB0_54
LBB0_49:
	movq	%r13, %rdi
	callq	_SSL_IS_TLS13
	testq	%rax, %rax
	je	LBB0_52
## %bb.50:
	movq	8(%r13), %rax
	cmpl	$1, 8(%rax)
	jne	LBB0_52
## %bb.51:
	movq	_MSG_PROCESS_CONTINUE_PROCESSING@GOTPCREL(%rip), %rax
	jmp	LBB0_53
LBB0_56:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_PROCESS_ERROR,4,2          ## @MSG_PROCESS_ERROR
	.comm	_TLS13_TBS_PREAMBLE_SIZE,4,2    ## @TLS13_TBS_PREAMBLE_SIZE
	.comm	_EVP_MAX_MD_SIZE,4,2            ## @EVP_MAX_MD_SIZE
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_PROCESS_CERT_VERIFY,4,2 ## @SSL_F_TLS_PROCESS_CERT_VERIFY
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_SSL_AD_ILLEGAL_PARAMETER,4,2   ## @SSL_AD_ILLEGAL_PARAMETER
	.comm	_SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE,4,2 ## @SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE
	.comm	_SSL_AD_DECODE_ERROR,4,2        ## @SSL_AD_DECODE_ERROR
	.comm	_SSL_R_BAD_PACKET,4,2           ## @SSL_R_BAD_PACKET
	.comm	_NID_id_GostR3410_2001,4,2      ## @NID_id_GostR3410_2001
	.comm	_NID_id_GostR3410_2012_256,4,2  ## @NID_id_GostR3410_2012_256
	.comm	_NID_id_GostR3410_2012_512,4,2  ## @NID_id_GostR3410_2012_512
	.comm	_SSL_R_LENGTH_MISMATCH,4,2      ## @SSL_R_LENGTH_MISMATCH
	.comm	_SSL_R_WRONG_SIGNATURE_SIZE,4,2 ## @SSL_R_WRONG_SIGNATURE_SIZE
	.comm	_ERR_R_EVP_LIB,4,2              ## @ERR_R_EVP_LIB
	.comm	_RSA_PKCS1_PSS_PADDING,4,2      ## @RSA_PKCS1_PSS_PADDING
	.comm	_RSA_PSS_SALTLEN_DIGEST,4,2     ## @RSA_PSS_SALTLEN_DIGEST
	.comm	_SSL3_VERSION,8,3               ## @SSL3_VERSION
	.comm	_EVP_CTRL_SSL3_MASTER_SECRET,4,2 ## @EVP_CTRL_SSL3_MASTER_SECRET
	.comm	_SSL_AD_DECRYPT_ERROR,4,2       ## @SSL_AD_DECRYPT_ERROR
	.comm	_SSL_R_BAD_SIGNATURE,4,2        ## @SSL_R_BAD_SIGNATURE
	.comm	_MSG_PROCESS_CONTINUE_PROCESSING,4,2 ## @MSG_PROCESS_CONTINUE_PROCESSING
	.comm	_MSG_PROCESS_CONTINUE_READING,4,2 ## @MSG_PROCESS_CONTINUE_READING
	.comm	_stderr,4,2                     ## @stderr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_process_cert_verify        ; -- Begin function tls_process_cert_verify
	.p2align	2
_tls_process_cert_verify:               ; @tls_process_cert_verify
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #64
	mov	x22, x1
	mov	x19, x0
	mov	x26, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MSG_PROCESS_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_PROCESS_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w20, [x8]
	stp	xzr, xzr, [x29, #-104]
Lloh6:
	adrp	x8, _TLS13_TBS_PREAMBLE_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TLS13_TBS_PREAMBLE_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _EVP_MAX_MD_SIZE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EVP_MAX_MD_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	add	w9, w9, w8
	add	x8, x9, #15
	and	x8, x8, #0x1fffffff0
Lloh12:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh13:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x24, x9, x8
	mov	sp, x24
	bl	_EVP_MD_CTX_new
	mov	x21, x0
	stur	xzr, [x29, #-120]
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x19, #24]
	ldr	x0, [x8, #16]
	bl	_X509_get0_pubkey
	cbz	x0, LBB0_13
; %bb.2:
	mov	x23, x0
	mov	x1, #0
	bl	_ssl_cert_lookup_by_pkey
	cbz	x0, LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_SSL_USE_SIGALGS
	cbz	x0, LBB0_8
; %bb.4:
	sub	x1, x29, #80
	mov	x0, x22
	bl	_PACKET_get_net_2
	cbz	w0, LBB0_18
; %bb.5:
	ldur	w1, [x29, #-80]
	mov	x0, x19
	mov	x2, x23
	bl	_tls12_check_peer_sigalg
	cmp	x0, #0
	b.gt	LBB0_9
	b	LBB0_15
LBB0_6:
Lloh14:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	adrp	x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
Lloh20:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
	b	LBB0_14
LBB0_7:
Lloh22:
	adrp	x8, _SSL_AD_ILLEGAL_PARAMETER@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SSL_AD_ILLEGAL_PARAMETER@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
Lloh28:
	adrp	x8, _SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE@GOTPAGEOFF]
	b	LBB0_14
LBB0_8:
	mov	x0, x19
	mov	x1, x23
	bl	_tls1_set_peer_legacy_sigalg
	cbz	w0, LBB0_13
LBB0_9:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #12]
	sub	x1, x29, #96
	bl	_tls1_lookup_md
	cbz	w0, LBB0_13
; %bb.10:
	mov	x0, x19
	bl	_SSL_USE_SIGALGS
	cbz	x0, LBB0_19
LBB0_11:
	sub	x1, x29, #84
	mov	x0, x22
	bl	_PACKET_get_net_2
	cbnz	w0, LBB0_25
LBB0_12:
Lloh30:
	adrp	x8, _SSL_AD_DECODE_ERROR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SSL_AD_DECODE_ERROR@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
Lloh36:
	adrp	x8, _SSL_R_LENGTH_MISMATCH@GOTPAGE
Lloh37:
	ldr	x8, [x8, _SSL_R_LENGTH_MISMATCH@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
Lloh38:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
Lloh41:
	adrp	x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGEOFF]
Lloh43:
	ldr	w2, [x8]
Lloh44:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
LBB0_14:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
LBB0_15:
	mov	x22, #0
LBB0_16:
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	bl	_BIO_free
	ldr	x8, [x19, #8]
	str	xzr, [x8]
	mov	x0, x21
	bl	_EVP_MD_CTX_free
	mov	x0, x22
	bl	_OPENSSL_free
	mov	sp, x26
	ldur	x8, [x29, #-72]
Lloh46:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh47:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh48:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_57
; %bb.17:
	mov	x0, x20
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_18:
Lloh49:
	adrp	x8, _SSL_AD_DECODE_ERROR@GOTPAGE
Lloh50:
	ldr	x8, [x8, _SSL_AD_DECODE_ERROR@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
Lloh52:
	adrp	x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGE
Lloh53:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGEOFF]
Lloh54:
	ldr	w2, [x8]
Lloh55:
	adrp	x8, _SSL_R_BAD_PACKET@GOTPAGE
Lloh56:
	ldr	x8, [x8, _SSL_R_BAD_PACKET@GOTPAGEOFF]
	b	LBB0_14
LBB0_19:
	mov	x0, x22
	bl	_PACKET_remaining
	cmp	w0, #64
	b.ne	LBB0_22
; %bb.20:
	mov	x0, x23
	bl	_EVP_PKEY_id
Lloh57:
	adrp	x8, _NID_id_GostR3410_2001@GOTPAGE
Lloh58:
	ldr	x8, [x8, _NID_id_GostR3410_2001@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_24
; %bb.21:
	mov	x0, x23
	bl	_EVP_PKEY_id
Lloh60:
	adrp	x8, _NID_id_GostR3410_2012_256@GOTPAGE
Lloh61:
	ldr	x8, [x8, _NID_id_GostR3410_2012_256@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_24
LBB0_22:
	mov	x0, x22
	bl	_PACKET_remaining
	cmp	w0, #128
	b.ne	LBB0_11
; %bb.23:
	mov	x0, x23
	bl	_EVP_PKEY_id
Lloh63:
	adrp	x8, _NID_id_GostR3410_2012_512@GOTPAGE
Lloh64:
	ldr	x8, [x8, _NID_id_GostR3410_2012_512@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_11
LBB0_24:
	mov	x0, x22
	bl	_PACKET_remaining
	stur	w0, [x29, #-84]
LBB0_25:
	mov	x0, x23
	bl	_EVP_PKEY_size
	ldur	w8, [x29, #-84]
	cmp	w8, w0
	b.gt	LBB0_35
; %bb.26:
	mov	x25, x0
	mov	x0, x22
	bl	_PACKET_remaining
	cmp	w0, w25
	b.gt	LBB0_35
; %bb.27:
	mov	x0, x22
	bl	_PACKET_remaining
	cbz	w0, LBB0_35
; %bb.28:
	ldur	w2, [x29, #-84]
	sub	x1, x29, #80
	mov	x0, x22
	bl	_PACKET_get_bytes
	cbz	w0, LBB0_12
; %bb.29:
	sub	x2, x29, #112
	sub	x3, x29, #104
	mov	x0, x19
	mov	x1, x24
	bl	_get_cert_verify_tbs_data
	cbz	w0, LBB0_15
; %bb.30:
	ldur	x2, [x29, #-96]
	sub	x1, x29, #120
	mov	x0, x21
	mov	x3, #0
	mov	x4, x23
	bl	_EVP_DigestVerifyInit
	cmp	x0, #0
	b.le	LBB0_36
; %bb.31:
	mov	x0, x23
	bl	_EVP_PKEY_id
Lloh66:
	adrp	x8, _NID_id_GostR3410_2001@GOTPAGE
Lloh67:
	ldr	x8, [x8, _NID_id_GostR3410_2001@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_37
; %bb.32:
Lloh69:
	adrp	x8, _NID_id_GostR3410_2012_256@GOTPAGE
Lloh70:
	ldr	x8, [x8, _NID_id_GostR3410_2012_256@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_37
; %bb.33:
Lloh72:
	adrp	x8, _NID_id_GostR3410_2012_512@GOTPAGE
Lloh73:
	ldr	x8, [x8, _NID_id_GostR3410_2012_512@GOTPAGEOFF]
Lloh74:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_37
; %bb.34:
	mov	x22, #0
	b	LBB0_39
LBB0_35:
Lloh75:
	adrp	x8, _SSL_AD_DECODE_ERROR@GOTPAGE
Lloh76:
	ldr	x8, [x8, _SSL_AD_DECODE_ERROR@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
Lloh78:
	adrp	x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGE
Lloh79:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGEOFF]
Lloh80:
	ldr	w2, [x8]
Lloh81:
	adrp	x8, _SSL_R_WRONG_SIGNATURE_SIZE@GOTPAGE
Lloh82:
	ldr	x8, [x8, _SSL_R_WRONG_SIGNATURE_SIZE@GOTPAGEOFF]
	b	LBB0_14
LBB0_36:
Lloh83:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh84:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh85:
	ldr	w1, [x8]
Lloh86:
	adrp	x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGE
Lloh87:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGEOFF]
Lloh88:
	ldr	w2, [x8]
Lloh89:
	adrp	x8, _ERR_R_EVP_LIB@GOTPAGE
Lloh90:
	ldr	x8, [x8, _ERR_R_EVP_LIB@GOTPAGEOFF]
	b	LBB0_14
LBB0_37:
	ldur	w0, [x29, #-84]
	bl	_OPENSSL_malloc
	mov	x22, x0
	cbz	x0, LBB0_52
; %bb.38:
	ldur	x1, [x29, #-80]
	ldur	w2, [x29, #-84]
	mov	x0, x22
	bl	_BUF_reverse
	stur	x22, [x29, #-80]
LBB0_39:
	mov	x0, x19
	bl	_SSL_USE_PSS
	cbz	x0, LBB0_42
; %bb.40:
	ldur	x0, [x29, #-120]
Lloh91:
	adrp	x8, _RSA_PKCS1_PSS_PADDING@GOTPAGE
Lloh92:
	ldr	x8, [x8, _RSA_PKCS1_PSS_PADDING@GOTPAGEOFF]
Lloh93:
	ldr	w1, [x8]
	bl	_EVP_PKEY_CTX_set_rsa_padding
	cmp	x0, #1
	b.lt	LBB0_47
; %bb.41:
	ldur	x0, [x29, #-120]
Lloh94:
	adrp	x8, _RSA_PSS_SALTLEN_DIGEST@GOTPAGE
Lloh95:
	ldr	x8, [x8, _RSA_PSS_SALTLEN_DIGEST@GOTPAGEOFF]
Lloh96:
	ldr	w1, [x8]
	bl	_EVP_PKEY_CTX_set_rsa_pss_saltlen
	cmp	x0, #0
	b.le	LBB0_47
LBB0_42:
	ldr	x8, [x19]
Lloh97:
	adrp	x9, _SSL3_VERSION@GOTPAGE
Lloh98:
	ldr	x9, [x9, _SSL3_VERSION@GOTPAGEOFF]
Lloh99:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_48
; %bb.43:
	ldp	x1, x2, [x29, #-112]
	mov	x0, x21
	bl	_EVP_DigestVerifyUpdate
	cmp	x0, #1
	b.lt	LBB0_47
; %bb.44:
Lloh100:
	adrp	x8, _EVP_CTRL_SSL3_MASTER_SECRET@GOTPAGE
Lloh101:
	ldr	x8, [x8, _EVP_CTRL_SSL3_MASTER_SECRET@GOTPAGEOFF]
Lloh102:
	ldr	w1, [x8]
	ldr	x8, [x19, #24]
	ldr	w2, [x8, #8]
	ldr	w3, [x8]
	mov	x0, x21
	bl	_EVP_MD_CTX_ctrl
	cbz	w0, LBB0_47
; %bb.45:
	ldur	x1, [x29, #-80]
	ldur	w2, [x29, #-84]
	mov	x0, x21
	bl	_EVP_DigestVerifyFinal
	cmp	x0, #0
	b.gt	LBB0_49
LBB0_46:
Lloh103:
	adrp	x8, _SSL_AD_DECRYPT_ERROR@GOTPAGE
Lloh104:
	ldr	x8, [x8, _SSL_AD_DECRYPT_ERROR@GOTPAGEOFF]
Lloh105:
	ldr	w1, [x8]
Lloh106:
	adrp	x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGE
Lloh107:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGEOFF]
Lloh108:
	ldr	w2, [x8]
Lloh109:
	adrp	x8, _SSL_R_BAD_SIGNATURE@GOTPAGE
Lloh110:
	ldr	x8, [x8, _SSL_R_BAD_SIGNATURE@GOTPAGEOFF]
	b	LBB0_53
LBB0_47:
Lloh111:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh112:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh113:
	ldr	w1, [x8]
Lloh114:
	adrp	x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGE
Lloh115:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGEOFF]
Lloh116:
	ldr	w2, [x8]
Lloh117:
	adrp	x8, _ERR_R_EVP_LIB@GOTPAGE
Lloh118:
	ldr	x8, [x8, _ERR_R_EVP_LIB@GOTPAGEOFF]
	b	LBB0_53
LBB0_48:
	ldur	x1, [x29, #-80]
	ldur	w2, [x29, #-84]
	ldp	x3, x4, [x29, #-112]
	mov	x0, x21
	bl	_EVP_DigestVerify
	cmp	w0, #0
	b.le	LBB0_46
LBB0_49:
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_54
LBB0_50:
Lloh119:
	adrp	x8, _MSG_PROCESS_CONTINUE_READING@GOTPAGE
Lloh120:
	ldr	x8, [x8, _MSG_PROCESS_CONTINUE_READING@GOTPAGEOFF]
LBB0_51:
	ldr	w20, [x8]
	b	LBB0_16
LBB0_52:
Lloh121:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh122:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh123:
	ldr	w1, [x8]
Lloh124:
	adrp	x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGE
Lloh125:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CERT_VERIFY@GOTPAGEOFF]
Lloh126:
	ldr	w2, [x8]
Lloh127:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh128:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
LBB0_53:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
	b	LBB0_16
LBB0_54:
	mov	x0, x19
	bl	_SSL_IS_TLS13
	cbz	x0, LBB0_50
; %bb.55:
	ldr	x8, [x19, #8]
	ldr	w8, [x8, #8]
	cmp	w8, #1
	b.ne	LBB0_50
; %bb.56:
Lloh129:
	adrp	x8, _MSG_PROCESS_CONTINUE_PROCESSING@GOTPAGE
Lloh130:
	ldr	x8, [x8, _MSG_PROCESS_CONTINUE_PROCESSING@GOTPAGEOFF]
	b	LBB0_51
LBB0_57:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh100, Lloh101, Lloh102
	.loh AdrpLdrGot	Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh106, Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGot	Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGot	Lloh119, Lloh120
	.loh AdrpLdrGot	Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh124, Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.loh AdrpLdrGot	Lloh129, Lloh130
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_PROCESS_ERROR,4,2          ; @MSG_PROCESS_ERROR
	.comm	_TLS13_TBS_PREAMBLE_SIZE,4,2    ; @TLS13_TBS_PREAMBLE_SIZE
	.comm	_EVP_MAX_MD_SIZE,4,2            ; @EVP_MAX_MD_SIZE
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_PROCESS_CERT_VERIFY,4,2 ; @SSL_F_TLS_PROCESS_CERT_VERIFY
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_SSL_AD_ILLEGAL_PARAMETER,4,2   ; @SSL_AD_ILLEGAL_PARAMETER
	.comm	_SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE,4,2 ; @SSL_R_SIGNATURE_FOR_NON_SIGNING_CERTIFICATE
	.comm	_SSL_AD_DECODE_ERROR,4,2        ; @SSL_AD_DECODE_ERROR
	.comm	_SSL_R_BAD_PACKET,4,2           ; @SSL_R_BAD_PACKET
	.comm	_NID_id_GostR3410_2001,4,2      ; @NID_id_GostR3410_2001
	.comm	_NID_id_GostR3410_2012_256,4,2  ; @NID_id_GostR3410_2012_256
	.comm	_NID_id_GostR3410_2012_512,4,2  ; @NID_id_GostR3410_2012_512
	.comm	_SSL_R_LENGTH_MISMATCH,4,2      ; @SSL_R_LENGTH_MISMATCH
	.comm	_SSL_R_WRONG_SIGNATURE_SIZE,4,2 ; @SSL_R_WRONG_SIGNATURE_SIZE
	.comm	_ERR_R_EVP_LIB,4,2              ; @ERR_R_EVP_LIB
	.comm	_RSA_PKCS1_PSS_PADDING,4,2      ; @RSA_PKCS1_PSS_PADDING
	.comm	_RSA_PSS_SALTLEN_DIGEST,4,2     ; @RSA_PSS_SALTLEN_DIGEST
	.comm	_SSL3_VERSION,8,3               ; @SSL3_VERSION
	.comm	_EVP_CTRL_SSL3_MASTER_SECRET,4,2 ; @EVP_CTRL_SSL3_MASTER_SECRET
	.comm	_SSL_AD_DECRYPT_ERROR,4,2       ; @SSL_AD_DECRYPT_ERROR
	.comm	_SSL_R_BAD_SIGNATURE,4,2        ; @SSL_R_BAD_SIGNATURE
	.comm	_MSG_PROCESS_CONTINUE_PROCESSING,4,2 ; @MSG_PROCESS_CONTINUE_PROCESSING
	.comm	_MSG_PROCESS_CONTINUE_READING,4,2 ; @MSG_PROCESS_CONTINUE_READING
	.comm	_stderr,4,2                     ; @stderr
.subsections_via_symbols
