	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl3_final_finish_mac          ## -- Begin function ssl3_final_finish_mac
	.p2align	4, 0x90
_ssl3_final_finish_mac:                 ## @ssl3_final_finish_mac
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_ssl3_digest_cached_records
	testl	%eax, %eax
	je	LBB0_15
## %bb.1:
	movl	4(%r14), %edi
	callq	_EVP_MD_CTX_type
	movq	_NID_md5_sha1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.4:
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_new
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %rbx
	movl	4(%r14), %esi
	movq	%rax, %rdi
	callq	_EVP_MD_CTX_copy_ex
	testl	%eax, %eax
	je	LBB0_13
## %bb.7:
	movq	%rbx, %rdi
	callq	_EVP_MD_CTX_size
	movl	%eax, -64(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	js	LBB0_13
## %bb.8:
	testq	%r13, %r13
	je	LBB0_9
## %bb.10:
	movl	(%r14), %edi
	leaq	-60(%rbp), %rsi
	callq	_ssl3_digest_master_key_set_params
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_EVP_DigestUpdate
	testq	%rax, %rax
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	jle	LBB0_13
## %bb.11:
	leaq	-60(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_EVP_MD_CTX_set_params
	testq	%rax, %rax
	jle	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_EVP_DigestFinal_ex
	testq	%rax, %rax
	jg	LBB0_14
LBB0_13:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_SSL3_FINAL_FINISH_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_SSLfatal
	xorl	%r12d, %r12d
LBB0_14:
	movq	%rbx, %rdi
	callq	_EVP_MD_CTX_free
	movl	%r12d, %ebx
	jmp	LBB0_15
LBB0_2:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_SSL3_FINAL_FINISH_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_NO_REQUIRED_DIGEST@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_5:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_SSL3_FINAL_FINISH_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_MALLOC_FAILURE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_SSLfatal
	xorl	%ebx, %ebx
LBB0_15:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_17
## %bb.16:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	jmp	LBB0_14
LBB0_17:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_NID_md5_sha1,8,3               ## @NID_md5_sha1
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_SSL3_FINAL_FINISH_MAC,4,2 ## @SSL_F_SSL3_FINAL_FINISH_MAC
	.comm	_SSL_R_NO_REQUIRED_DIGEST,4,2   ## @SSL_R_NO_REQUIRED_DIGEST
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ## @ERR_R_MALLOC_FAILURE
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl3_final_finish_mac          ; -- Begin function ssl3_final_finish_mac
	.p2align	2
_ssl3_final_finish_mac:                 ; @ssl3_final_finish_mac
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x21, x3
	mov	x22, x2
	mov	x24, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	mov	w1, #0
	bl	_ssl3_digest_cached_records
	cbz	w0, LBB0_14
; %bb.1:
	ldr	w0, [x19, #4]
	bl	_EVP_MD_CTX_type
Lloh3:
	adrp	x8, _NID_md5_sha1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NID_md5_sha1@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
; %bb.2:
	bl	_EVP_MD_CTX_new
	cbz	x0, LBB0_12
; %bb.3:
	mov	x20, x0
	ldr	w1, [x19, #4]
	bl	_EVP_MD_CTX_copy_ex
	cbz	w0, LBB0_9
; %bb.4:
	mov	x0, x20
	bl	_EVP_MD_CTX_size
	tbnz	w0, #31, LBB0_9
; %bb.5:
	mov	x23, x0
	cbz	x24, LBB0_10
; %bb.6:
	ldr	w0, [x19]
	add	x1, sp, #12
	bl	_ssl3_digest_master_key_set_params
	mov	x0, x20
	mov	x1, x24
	mov	x2, x22
	bl	_EVP_DigestUpdate
	cmp	x0, #1
	b.lt	LBB0_9
; %bb.7:
	add	x1, sp, #12
	mov	x0, x20
	bl	_EVP_MD_CTX_set_params
	cmp	x0, #1
	b.lt	LBB0_9
; %bb.8:
	mov	x0, x20
	mov	x1, x21
	mov	x2, #0
	bl	_EVP_DigestFinal_ex
	cmp	x0, #0
	b.gt	LBB0_10
LBB0_9:
Lloh6:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _SSL_F_SSL3_FINAL_FINISH_MAC@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SSL_F_SSL3_FINAL_FINISH_MAC@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
	mov	w23, #0
LBB0_10:
	mov	x0, x20
	bl	_EVP_MD_CTX_free
	mov	w0, w23
	b	LBB0_15
LBB0_11:
Lloh15:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _SSL_F_SSL3_FINAL_FINISH_MAC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SSL_F_SSL3_FINAL_FINISH_MAC@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
Lloh21:
	adrp	x8, _SSL_R_NO_REQUIRED_DIGEST@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SSL_R_NO_REQUIRED_DIGEST@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh23:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x8, _SSL_F_SSL3_FINAL_FINISH_MAC@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SSL_F_SSL3_FINAL_FINISH_MAC@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x8, _ERR_R_MALLOC_FAILURE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ERR_R_MALLOC_FAILURE@GOTPAGEOFF]
LBB0_13:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
LBB0_14:
	mov	x0, #0
LBB0_15:
	ldr	x8, [sp, #24]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_NID_md5_sha1,8,3               ; @NID_md5_sha1
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_SSL3_FINAL_FINISH_MAC,4,2 ; @SSL_F_SSL3_FINAL_FINISH_MAC
	.comm	_SSL_R_NO_REQUIRED_DIGEST,4,2   ; @SSL_R_NO_REQUIRED_DIGEST
	.comm	_ERR_R_MALLOC_FAILURE,4,2       ; @ERR_R_MALLOC_FAILURE
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
.subsections_via_symbols
