	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls13_final_finish_mac         ## -- Begin function tls13_final_finish_mac
	.p2align	4, 0x90
_tls13_final_finish_mac:                ## @tls13_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_ssl_handshake_md
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_EVP_MAX_MD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r12, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_EVP_MD_CTX_new
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	-56(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_ssl_handshake_hash
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	cmpq	%r13, (%rax)
	je	LBB0_3
## %bb.5:
	movq	%rbx, %rdi
	callq	_SSL_IS_FIRST_HANDSHAKE
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_EVP_PKEY_HMAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rdx
	jmp	LBB0_4
LBB0_3:
	movq	_EVP_PKEY_HMAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
LBB0_4:
	movq	-56(%rbp), %rcx
	xorl	%esi, %esi
	callq	_EVP_PKEY_new_raw_private_key
	movq	%rax, %r15
LBB0_9:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	testq	%r15, %r15
	je	LBB0_14
## %bb.10:
	testq	%r14, %r14
	je	LBB0_14
## %bb.11:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	xorl	%ecx, %ecx
	movq	%r15, %r8
	callq	_EVP_DigestSignInit
	testq	%rax, %rax
	jle	LBB0_14
## %bb.12:
	movq	-56(%rbp), %rdx
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_EVP_DigestSignUpdate
	testq	%rax, %rax
	jle	LBB0_14
## %bb.13:
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_EVP_DigestSignFinal
	testq	%rax, %rax
	jle	LBB0_14
## %bb.15:
	movq	-56(%rbp), %rbx
	jmp	LBB0_16
LBB0_14:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS13_FINAL_FINISH_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_SSLfatal
	xorl	%ebx, %ebx
	jmp	LBB0_16
LBB0_7:
	movq	%rsp, %r12
	movq	_EVP_MAX_MD_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	%rbx, %rdi
	callq	_ssl_handshake_md
	movl	16(%rbx), %edx
	movq	-56(%rbp), %r8
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r13, %rcx
	callq	_tls13_derive_finishedkey
	testl	%eax, %eax
	je	LBB0_18
## %bb.8:
	movq	_EVP_PKEY_HMAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-56(%rbp), %rcx
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	_EVP_PKEY_new_raw_private_key
	movq	%rax, %r15
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_OPENSSL_cleanse
	movq	%r12, %rsp
	jmp	LBB0_9
LBB0_18:
	movq	%r12, %rsp
	xorl	%r15d, %r15d
LBB0_1:
	xorl	%ebx, %ebx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_16:
	movq	%r15, %rdi
	callq	_EVP_PKEY_free
	movq	%r14, %rdi
	callq	_EVP_MD_CTX_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.17:
	movq	%rbx, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ## @EVP_MAX_MD_SIZE
	.comm	_EVP_PKEY_HMAC,4,2              ## @EVP_PKEY_HMAC
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS13_FINAL_FINISH_MAC,4,2 ## @SSL_F_TLS13_FINAL_FINISH_MAC
	.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	_tls13_final_finish_mac         ; -- Begin function tls13_final_finish_mac
	.p2align	2
_tls13_final_finish_mac:                ; @tls13_final_finish_mac
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x21, x3
	mov	x24, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	bl	_ssl_handshake_md
	mov	x23, x0
Lloh3:
	adrp	x26, _EVP_MAX_MD_SIZE@GOTPAGE
Lloh4:
	ldr	x26, [x26, _EVP_MAX_MD_SIZE@GOTPAGEOFF]
	ldr	w25, [x26]
	mov	x9, x25
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x25, #15
	and	x9, x9, #0x1fffffff0
	sub	x22, x8, x9
	mov	sp, x22
	bl	_EVP_MD_CTX_new
	mov	x19, x0
	sub	x3, x29, #96
	mov	x0, x20
	mov	x1, x22
	mov	x2, x25
	bl	_ssl_handshake_hash
	cbz	w0, LBB0_15
; %bb.1:
	ldr	x8, [x20, #24]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cmp	x8, x24
	b.eq	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_SSL_IS_FIRST_HANDSHAKE
	cbz	x0, LBB0_12
; %bb.3:
Lloh7:
	adrp	x8, _EVP_PKEY_HMAC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EVP_PKEY_HMAC@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	x2, [x20, #8]
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x8, _EVP_PKEY_HMAC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EVP_PKEY_HMAC@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	ldr	x2, [x20]
LBB0_5:
	ldur	x3, [x29, #-96]
	mov	x1, #0
	bl	_EVP_PKEY_new_raw_private_key
	mov	x24, x0
LBB0_6:
	cmp	x24, #0
	ccmp	x19, #0, #4, ne
	b.eq	LBB0_11
; %bb.7:
	mov	x0, x19
	mov	x1, #0
	mov	x2, x23
	mov	x3, #0
	mov	x4, x24
	bl	_EVP_DigestSignInit
	cmp	x0, #1
	b.lt	LBB0_11
; %bb.8:
	ldur	x2, [x29, #-96]
	mov	x0, x19
	mov	x1, x22
	bl	_EVP_DigestSignUpdate
	cmp	x0, #1
	b.lt	LBB0_11
; %bb.9:
	sub	x2, x29, #96
	mov	x0, x19
	mov	x1, x21
	bl	_EVP_DigestSignFinal
	cmp	x0, #0
	b.le	LBB0_11
; %bb.10:
	ldur	x20, [x29, #-96]
	b	LBB0_17
LBB0_11:
Lloh13:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x8, _SSL_F_TLS13_FINAL_FINISH_MAC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SSL_F_TLS13_FINAL_FINISH_MAC@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
Lloh19:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_SSLfatal
	b	LBB0_16
LBB0_12:
	mov	x27, sp
	ldr	w25, [x26]
	mov	x9, x25
Lloh22:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh23:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x25, #15
	and	x9, x9, #0x1fffffff0
	sub	x26, x8, x9
	mov	sp, x26
	mov	x0, x20
	bl	_ssl_handshake_md
	mov	x1, x0
	ldr	w2, [x20, #16]
	ldur	x4, [x29, #-96]
	mov	x0, x20
	mov	x3, x26
	bl	_tls13_derive_finishedkey
	cbz	w0, LBB0_14
; %bb.13:
Lloh24:
	adrp	x8, _EVP_PKEY_HMAC@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EVP_PKEY_HMAC@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldur	x3, [x29, #-96]
	mov	x1, #0
	mov	x2, x26
	bl	_EVP_PKEY_new_raw_private_key
	mov	x24, x0
	mov	x0, x26
	mov	x1, x25
	bl	_OPENSSL_cleanse
	mov	sp, x27
	b	LBB0_6
LBB0_14:
	mov	sp, x27
LBB0_15:
	mov	x24, #0
LBB0_16:
	mov	x20, #0
LBB0_17:
	mov	x0, x24
	bl	_EVP_PKEY_free
	mov	x0, x19
	bl	_EVP_MD_CTX_free
	ldur	x8, [x29, #-88]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x20
	sub	sp, x29, #80
	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
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_MAX_MD_SIZE,4,2            ; @EVP_MAX_MD_SIZE
	.comm	_EVP_PKEY_HMAC,4,2              ; @EVP_PKEY_HMAC
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS13_FINAL_FINISH_MAC,4,2 ; @SSL_F_TLS13_FINAL_FINISH_MAC
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
.subsections_via_symbols
