	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_construct_cert_verify      ## -- Begin function tls_construct_cert_verify
	.p2align	4, 0x90
_tls_construct_cert_verify:             ## @tls_construct_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	%rsp, %r12
	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	$0, -96(%rbp)
	movq	$0, -72(%rbp)
	movq	$0, -88(%rbp)
	movq	$0, -64(%rbp)
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	24(%r13), %r14
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movq	16(%r13), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r12
	testq	%r12, %r12
	je	LBB0_5
## %bb.4:
	leaq	-96(%rbp), %rsi
	movq	%r14, %rdi
	callq	_tls1_lookup_md
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_new
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	leaq	-112(%rbp), %rdx
	leaq	-88(%rbp), %rcx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_get_cert_verify_tbs_data
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movq	%r13, %rdi
	callq	_SSL_USE_SIGALGS
	testq	%rax, %rax
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_15
## %bb.12:
	movl	4(%r14), %esi
	movq	%r15, %rdi
	callq	_WPACKET_put_bytes_u16
	testl	%eax, %eax
	je	LBB0_13
LBB0_15:
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	callq	_EVP_PKEY_size
	movq	%rax, -64(%rbp)
	movq	%rax, %rdi
	callq	_OPENSSL_malloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	movq	%rax, %r15
	movq	-96(%rbp), %rdx
	leaq	-72(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	movq	%r12, %r8
	callq	_EVP_DigestSignInit
	testq	%rax, %rax
	jle	LBB0_18
## %bb.21:
	movl	(%r14), %eax
	movq	_EVP_PKEY_RSA_PSS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jne	LBB0_26
## %bb.22:
	movq	-72(%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_24
## %bb.23:
	movq	-72(%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_24
LBB0_26:
	movq	(%r13), %rax
	movq	_SSL3_VERSION@GOTPCREL(%rip), %rdx
	movq	-112(%rbp), %rcx
	movq	-88(%rbp), %r8
	cmpq	(%rdx), %rax
	jne	LBB0_41
## %bb.27:
	movq	%rbx, %rdi
	movq	%rcx, %rsi
	movq	%r8, %rdx
	callq	_EVP_DigestSignUpdate
	testq	%rax, %rax
	jle	LBB0_24
## %bb.28:
	movq	_EVP_CTRL_SSL3_MASTER_SECRET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	8(%r13), %rax
	movl	(%rax), %ecx
	movl	8(%rax), %edx
	movq	%rbx, %rdi
	callq	_EVP_MD_CTX_ctrl
	testq	%rax, %rax
	jle	LBB0_24
## %bb.29:
	leaq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_EVP_DigestSignFinal
	jmp	LBB0_30
LBB0_2:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_SSLfatal
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_20
LBB0_5:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_SSLfatal
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
LBB0_19:
	movq	-56(%rbp), %r12                 ## 8-byte Reload
LBB0_20:
	movq	%r15, %rdi
	callq	_OPENSSL_free
	movq	%rbx, %rdi
	callq	_EVP_MD_CTX_free
	xorl	%eax, %eax
LBB0_39:
	movq	%r12, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_40
## %bb.42:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_10:
	xorl	%r15d, %r15d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_20
LBB0_16:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_SSLfatal
	xorl	%r15d, %r15d
	jmp	LBB0_19
LBB0_18:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_EVP_LIB@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_SSLfatal
	jmp	LBB0_19
LBB0_41:
	leaq	-64(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_EVP_DigestSign
LBB0_30:
	testq	%rax, %rax
	jle	LBB0_24
## %bb.31:
	movl	(%r14), %eax
	movq	_NID_id_GostR3410_2001@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_34
## %bb.32:
	movq	_NID_id_GostR3410_2012_256@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_34
## %bb.33:
	movq	_NID_id_GostR3410_2012_512@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_35
LBB0_34:
	movq	-64(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_BUF_reverse
LBB0_35:
	movq	-64(%rbp), %rdx
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movq	%r15, %rsi
	callq	_WPACKET_sub_memcpy_u16
	testl	%eax, %eax
	je	LBB0_36
## %bb.37:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_ssl3_digest_cached_records
	testl	%eax, %eax
	je	LBB0_20
## %bb.38:
	movq	%r15, %rdi
	callq	_OPENSSL_free
	movq	%rbx, %rdi
	callq	_EVP_MD_CTX_free
	movl	$1, %eax
	jmp	LBB0_39
LBB0_24:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_EVP_LIB@GOTPCREL(%rip), %rax
LBB0_25:
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_SSLfatal
	jmp	LBB0_20
LBB0_36:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_25
LBB0_40:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.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_CONSTRUCT_CERT_VERIFY,4,2 ## @SSL_F_TLS_CONSTRUCT_CERT_VERIFY
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_ERR_R_EVP_LIB,4,2              ## @ERR_R_EVP_LIB
	.comm	_EVP_PKEY_RSA_PSS,4,2           ## @EVP_PKEY_RSA_PSS
	.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	_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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_construct_cert_verify      ; -- Begin function tls_construct_cert_verify
	.p2align	2
_tls_construct_cert_verify:             ; @tls_construct_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, #48
	mov	x22, x1
	mov	x20, x0
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	stp	xzr, xzr, [x29, #-88]
	stp	xzr, xzr, [x29, #-104]
Lloh3:
	adrp	x8, _TLS13_TBS_PREAMBLE_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TLS13_TBS_PREAMBLE_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _EVP_MAX_MD_SIZE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EVP_MAX_MD_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	add	w9, w9, w8
	add	x8, x9, #15
	and	x8, x8, #0x1fffffff0
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x21, x9, x8
	mov	sp, x21
	ldr	x23, [x0, #24]
	cbz	x23, LBB0_17
; %bb.1:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_17
; %bb.2:
	ldr	x24, [x8]
	cbz	x24, LBB0_17
; %bb.3:
	sub	x1, x29, #80
	mov	x0, x23
	bl	_tls1_lookup_md
	cbz	w0, LBB0_17
; %bb.4:
	bl	_EVP_MD_CTX_new
	mov	x19, x0
	cbz	x0, LBB0_21
; %bb.5:
	sub	x2, x29, #112
	sub	x3, x29, #96
	mov	x0, x20
	mov	x1, x21
	bl	_get_cert_verify_tbs_data
	cbz	w0, LBB0_23
; %bb.6:
	mov	x0, x20
	bl	_SSL_USE_SIGALGS
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w1, [x23, #4]
	mov	x0, x22
	bl	_WPACKET_put_bytes_u16
	cbz	w0, LBB0_25
LBB0_8:
	mov	x0, x24
	bl	_EVP_PKEY_size
	stur	x0, [x29, #-104]
	bl	_OPENSSL_malloc
	mov	x21, x0
	cbz	x0, LBB0_24
; %bb.9:
	ldur	x2, [x29, #-80]
	sub	x1, x29, #88
	mov	x0, x19
	mov	x3, #0
	mov	x4, x24
	bl	_EVP_DigestSignInit
	cmp	x0, #0
	b.le	LBB0_35
; %bb.10:
	ldr	w8, [x23]
Lloh11:
	adrp	x9, _EVP_PKEY_RSA_PSS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _EVP_PKEY_RSA_PSS@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_13
; %bb.11:
	ldur	x0, [x29, #-88]
Lloh14:
	adrp	x8, _RSA_PKCS1_PSS_PADDING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _RSA_PKCS1_PSS_PADDING@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_EVP_PKEY_CTX_set_rsa_padding
	cmp	x0, #1
	b.lt	LBB0_35
; %bb.12:
	ldur	x0, [x29, #-88]
Lloh17:
	adrp	x8, _RSA_PSS_SALTLEN_DIGEST@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RSA_PSS_SALTLEN_DIGEST@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_EVP_PKEY_CTX_set_rsa_pss_saltlen
	cmp	x0, #0
	b.le	LBB0_35
LBB0_13:
	ldr	x8, [x20]
Lloh20:
	adrp	x9, _SSL3_VERSION@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SSL3_VERSION@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	ldur	x3, [x29, #-112]
	ldur	x4, [x29, #-96]
	cmp	x8, x9
	b.ne	LBB0_26
; %bb.14:
	mov	x0, x19
	mov	x1, x3
	mov	x2, x4
	bl	_EVP_DigestSignUpdate
	cmp	x0, #1
	b.lt	LBB0_35
; %bb.15:
Lloh23:
	adrp	x8, _EVP_CTRL_SSL3_MASTER_SECRET@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EVP_CTRL_SSL3_MASTER_SECRET@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	ldr	x8, [x20, #8]
	ldr	w2, [x8, #8]
	ldr	w3, [x8]
	mov	x0, x19
	bl	_EVP_MD_CTX_ctrl
	cmp	x0, #1
	b.lt	LBB0_35
; %bb.16:
	sub	x2, x29, #104
	mov	x0, x19
	mov	x1, x21
	bl	_EVP_DigestSignFinal
	b	LBB0_27
LBB0_17:
Lloh26:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
Lloh29:
	adrp	x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
Lloh32:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh34:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_SSLfatal
	mov	x21, #0
	mov	x19, #0
LBB0_18:
	mov	x0, x21
	bl	_OPENSSL_free
	mov	x0, x19
	bl	_EVP_MD_CTX_free
	mov	w0, #0
LBB0_19:
	mov	sp, x25
	ldur	x8, [x29, #-72]
Lloh35:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh36:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_38
; %bb.20:
	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_21:
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_CONSTRUCT_CERT_VERIFY@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGEOFF]
Lloh43:
	ldr	w2, [x8]
Lloh44:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
LBB0_22:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_SSLfatal
LBB0_23:
	mov	x21, #0
	b	LBB0_18
LBB0_24:
Lloh46:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh47:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
Lloh49:
	adrp	x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGE
Lloh50:
	ldr	x8, [x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
Lloh52:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh53:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
	b	LBB0_36
LBB0_25:
Lloh54:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh55:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
Lloh57:
	adrp	x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGE
Lloh58:
	ldr	x8, [x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGEOFF]
Lloh59:
	ldr	w2, [x8]
Lloh60:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh61:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_22
LBB0_26:
	sub	x2, x29, #104
	mov	x0, x19
	mov	x1, x21
	bl	_EVP_DigestSign
LBB0_27:
	cmp	x0, #0
	b.le	LBB0_35
; %bb.28:
	ldr	w8, [x23]
Lloh62:
	adrp	x9, _NID_id_GostR3410_2001@GOTPAGE
Lloh63:
	ldr	x9, [x9, _NID_id_GostR3410_2001@GOTPAGEOFF]
Lloh64:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_31
; %bb.29:
Lloh65:
	adrp	x9, _NID_id_GostR3410_2012_256@GOTPAGE
Lloh66:
	ldr	x9, [x9, _NID_id_GostR3410_2012_256@GOTPAGEOFF]
Lloh67:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_31
; %bb.30:
Lloh68:
	adrp	x9, _NID_id_GostR3410_2012_512@GOTPAGE
Lloh69:
	ldr	x9, [x9, _NID_id_GostR3410_2012_512@GOTPAGEOFF]
Lloh70:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_32
LBB0_31:
	ldur	x2, [x29, #-104]
	mov	x0, x21
	mov	x1, #0
	bl	_BUF_reverse
LBB0_32:
	ldur	x2, [x29, #-104]
	mov	x0, x22
	mov	x1, x21
	bl	_WPACKET_sub_memcpy_u16
	cbz	w0, LBB0_37
; %bb.33:
	mov	x0, x20
	mov	w1, #0
	bl	_ssl3_digest_cached_records
	cbz	w0, LBB0_18
; %bb.34:
	mov	x0, x21
	bl	_OPENSSL_free
	mov	x0, x19
	bl	_EVP_MD_CTX_free
	mov	w0, #1
	b	LBB0_19
LBB0_35:
Lloh71:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh72:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x8]
Lloh74:
	adrp	x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGE
Lloh75:
	ldr	x8, [x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGEOFF]
Lloh76:
	ldr	w2, [x8]
Lloh77:
	adrp	x8, _ERR_R_EVP_LIB@GOTPAGE
Lloh78:
	ldr	x8, [x8, _ERR_R_EVP_LIB@GOTPAGEOFF]
LBB0_36:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_SSLfatal
	b	LBB0_18
LBB0_37:
Lloh79:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh80:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh81:
	ldr	w1, [x8]
Lloh82:
	adrp	x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGE
Lloh83:
	ldr	x8, [x8, _SSL_F_TLS_CONSTRUCT_CERT_VERIFY@GOTPAGEOFF]
Lloh84:
	ldr	w2, [x8]
Lloh85:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh86:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_36
LBB0_38:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.cfi_endproc
                                        ; -- End function
	.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_CONSTRUCT_CERT_VERIFY,4,2 ; @SSL_F_TLS_CONSTRUCT_CERT_VERIFY
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_ERR_R_EVP_LIB,4,2              ; @ERR_R_EVP_LIB
	.comm	_EVP_PKEY_RSA_PSS,4,2           ; @EVP_PKEY_RSA_PSS
	.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	_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
.subsections_via_symbols
