	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tls_process_server_finished
_tls_process_server_finished:           ## @tls_process_server_finished
	.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	%rcx, %r15
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TLS_VERIFY_DATA_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -112(%rbp)                ## 8-byte Spill
	movq	_MD5_MAC_LEN@GOTPCREL(%rip), %r12
	movq	_SHA1_MAC_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	(%r12), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	movq	_TLS_CONTENT_TYPE_HANDSHAKE@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_3
## %bb.1:
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rbx
	cmpq	$3, %rbx
	ja	LBB0_4
## %bb.2:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_16
LBB0_3:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_ALERT_LEVEL_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLS_ALERT_UNEXPECTED_MESSAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	jmp	LBB0_18
LBB0_4:
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %rdx
	movq	_TLS_HANDSHAKE_TYPE_FINISHED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_7
## %bb.5:
	leaq	8(%r14), %rdi
	callq	_WPA_GET_BE24
	movq	%rax, %rdx
	addq	$-4, %rbx
	cmpq	%rbx, %rax
	jbe	LBB0_8
## %bb.6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_16
LBB0_7:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_ALERT_LEVEL_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLS_ALERT_UNEXPECTED_MESSAGE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_8:
	movq	_TLS_VERIFY_DATA_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_15
## %bb.9:
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	addq	$32, %r14
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_wpa_hexdump
	movslq	(%r12), %rax
	movq	%rax, -72(%rbp)
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	40(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.10:
	leaq	-72(%rbp), %rdx
	movq	%r13, %rsi
	callq	_crypto_hash_finish
	testq	%rax, %rax
	js	LBB0_22
## %bb.11:
	movq	$0, 40(%rbx)
	movq	_SHA1_MAC_LEN@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -72(%rbp)
	movq	32(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.12:
	movslq	(%r12), %rax
	leaq	(,%rax,8), %rsi
	addq	%r13, %rsi
	leaq	-72(%rbp), %rdx
	callq	_crypto_hash_finish
	testq	%rax, %rax
	js	LBB0_23
## %bb.13:
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	$0, 32(%rbx)
	movslq	(%r12), %rax
	movq	_SHA1_MAC_LEN@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %r9
	addq	%rax, %r9
	movq	%r9, -72(%rbp)
	movq	24(%rbx), %rdi
	movl	20(%rbx), %esi
	movq	_TLS_MASTER_SECRET_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_TLS_VERIFY_DATA_LEN@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	leaq	L_.str.6(%rip), %rcx
	movq	%r13, %r8
	pushq	%rax
	movq	-112(%rbp), %r12                ## 8-byte Reload
	pushq	%r12
	callq	_tls_prf
	addq	$16, %rsp
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	testq	%rax, %rax
	je	LBB0_25
## %bb.14:
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_ALERT_LEVEL_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLS_ALERT_DECRYPT_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_24
LBB0_15:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_16:
	movq	_TLS_ALERT_LEVEL_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLS_ALERT_DECODE_ERROR@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %edx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
LBB0_18:
	callq	_tls_alert
LBB0_19:
	movl	$-1, %ebx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_20:
	movq	%rcx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_33
## %bb.21:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	_TLS_ALERT_LEVEL_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLS_ALERT_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_tls_alert
	movq	$0, 40(%rbx)
	movq	32(%rbx), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_crypto_hash_finish
	movq	$0, 32(%rbx)
	jmp	LBB0_19
LBB0_23:
	movq	$0, 32(%rbx)
	movq	_TLS_ALERT_LEVEL_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLS_ALERT_INTERNAL_ERROR@GOTPCREL(%rip), %rax
LBB0_24:
	movl	(%rax), %edx
	movq	%rbx, %rdi
	jmp	LBB0_18
LBB0_25:
	movl	(%r15), %ecx
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdx
	callq	_wpa_hexdump_key
	movl	(%r15), %edx
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_os_memcmp_const
	testq	%rax, %rax
	je	LBB0_27
## %bb.26:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_TLS_ALERT_LEVEL_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TLS_ALERT_DECRYPT_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_27:
	movq	-104(%rbp), %rax                ## 8-byte Reload
	leaq	(%rbx,%rax,8), %r15
	movl	(%r14), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	subq	-80(%rbp), %r15                 ## 8-byte Folded Reload
	sarq	$3, %r15
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 8(%rax)
	jne	LBB0_31
## %bb.29:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	jne	LBB0_31
## %bb.30:
	movq	_ACK_FINISHED@GOTPCREL(%rip), %rax
	jmp	LBB0_32
LBB0_31:
	movq	_CHANGE_CIPHER_SPEC@GOTPCREL(%rip), %rax
LBB0_32:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax), %eax
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, 16(%rdx)
	jmp	LBB0_20
LBB0_33:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TLS_VERIFY_DATA_LEN,4,2        ## @TLS_VERIFY_DATA_LEN
	.comm	_MD5_MAC_LEN,4,2                ## @MD5_MAC_LEN
	.comm	_SHA1_MAC_LEN,4,2               ## @SHA1_MAC_LEN
	.comm	_TLS_CONTENT_TYPE_HANDSHAKE,8,3 ## @TLS_CONTENT_TYPE_HANDSHAKE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TLSv1: Expected Finished; received content type 0x%x"

	.comm	_TLS_ALERT_LEVEL_FATAL,4,2      ## @TLS_ALERT_LEVEL_FATAL
	.comm	_TLS_ALERT_UNEXPECTED_MESSAGE,4,2 ## @TLS_ALERT_UNEXPECTED_MESSAGE
L_.str.1:                               ## @.str.1
	.asciz	"TLSv1: Too short record (left=%lu) for Finished"

	.comm	_TLS_ALERT_DECODE_ERROR,4,2     ## @TLS_ALERT_DECODE_ERROR
	.comm	_TLS_HANDSHAKE_TYPE_FINISHED,8,3 ## @TLS_HANDSHAKE_TYPE_FINISHED
L_.str.2:                               ## @.str.2
	.asciz	"TLSv1: Expected Finished; received type 0x%x"

L_.str.3:                               ## @.str.3
	.asciz	"TLSv1: Too short buffer for Finished (len=%lu > left=%lu)"

L_.str.4:                               ## @.str.4
	.asciz	"TLSv1: Unexpected verify_data length in Finished: %lu (expected %d)"

	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.5:                               ## @.str.5
	.asciz	"TLSv1: verify_data in Finished"

	.comm	_TLS_ALERT_INTERNAL_ERROR,4,2   ## @TLS_ALERT_INTERNAL_ERROR
	.comm	_TLS_MASTER_SECRET_LEN,4,2      ## @TLS_MASTER_SECRET_LEN
L_.str.6:                               ## @.str.6
	.asciz	"server finished"

L_.str.7:                               ## @.str.7
	.asciz	"TLSv1: Failed to derive verify_data"

	.comm	_TLS_ALERT_DECRYPT_ERROR,4,2    ## @TLS_ALERT_DECRYPT_ERROR
L_.str.8:                               ## @.str.8
	.asciz	"TLSv1: verify_data (server)"

	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
L_.str.9:                               ## @.str.9
	.asciz	"TLSv1: Mismatch in verify_data"

L_.str.10:                              ## @.str.10
	.asciz	"TLSv1: Received Finished"

	.comm	_CHANGE_CIPHER_SPEC,4,2         ## @CHANGE_CIPHER_SPEC
	.comm	_ACK_FINISHED,4,2               ## @ACK_FINISHED
	.comm	_SHA256_MAC_LEN,8,3             ## @SHA256_MAC_LEN
	.comm	_TLS_VERSION_1_2,8,3            ## @TLS_VERSION_1_2
	.no_dead_strip	_tls_process_server_finished
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tls_process_server_finished
_tls_process_server_finished:           ; @tls_process_server_finished
	.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, #32
	mov	x20, x3
	mov	x21, x2
	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, #-88]
Lloh3:
	adrp	x27, _TLS_VERIFY_DATA_LEN@GOTPAGE
Lloh4:
	ldr	x27, [x27, _TLS_VERIFY_DATA_LEN@GOTPAGEOFF]
	ldr	w8, [x27]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x22, x9, x8
	mov	sp, x22
Lloh7:
	adrp	x28, _MD5_MAC_LEN@GOTPAGE
Lloh8:
	ldr	x28, [x28, _MD5_MAC_LEN@GOTPAGEOFF]
Lloh9:
	adrp	x25, _SHA1_MAC_LEN@GOTPAGE
Lloh10:
	ldr	x25, [x25, _SHA1_MAC_LEN@GOTPAGEOFF]
	ldr	w8, [x28]
	ldr	w9, [x25]
	add	w8, w9, w8
	lsl	x9, x8, #3
	add	x8, x9, #15
	and	x8, x8, #0xffffffff0
Lloh11:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh12:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	sub	x24, x9, x8
	mov	sp, x24
Lloh13:
	adrp	x8, _TLS_CONTENT_TYPE_HANDSHAKE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _TLS_CONTENT_TYPE_HANDSHAKE@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_3
; %bb.1:
	ldr	x23, [x20]
	cmp	x23, #3
	b.hi	LBB0_4
; %bb.2:
Lloh16:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	str	x23, [sp, #-16]!
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_17
LBB0_3:
Lloh21:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	str	x1, [sp, #-16]!
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_8
LBB0_4:
	ldr	x8, [x21]
Lloh26:
	adrp	x9, _TLS_HANDSHAKE_TYPE_FINISHED@GOTPAGE
Lloh27:
	ldr	x9, [x9, _TLS_HANDSHAKE_TYPE_FINISHED@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
	add	x0, x21, #8
	bl	_WPA_GET_BE24
	mov	x10, x0
	sub	x8, x23, #4
	cmp	x0, x8
	b.ls	LBB0_9
; %bb.6:
Lloh29:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh30:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x9]
	stp	x10, x8, [sp, #-16]!
Lloh32:
	adrp	x1, l_.str.3@PAGE
Lloh33:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_17
LBB0_7:
Lloh34:
	adrp	x9, _MSG_DEBUG@GOTPAGE
Lloh35:
	ldr	x9, [x9, _MSG_DEBUG@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x9]
	str	x8, [sp, #-16]!
Lloh37:
	adrp	x1, l_.str.2@PAGE
Lloh38:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_8:
	bl	_wpa_printf
	add	sp, sp, #16
Lloh39:
	adrp	x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
Lloh42:
	adrp	x8, _TLS_ALERT_UNEXPECTED_MESSAGE@GOTPAGE
Lloh43:
	ldr	x8, [x8, _TLS_ALERT_UNEXPECTED_MESSAGE@GOTPAGEOFF]
	b	LBB0_18
LBB0_9:
	ldrsw	x3, [x27]
	cmp	x10, x3
	b.ne	LBB0_16
; %bb.10:
	stur	x10, [x29, #-104]               ; 8-byte Folded Spill
	add	x2, x21, #32
Lloh44:
	adrp	x8, _MSG_MSGDUMP@GOTPAGE
Lloh45:
	ldr	x8, [x8, _MSG_MSGDUMP@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
Lloh47:
	adrp	x1, l_.str.5@PAGE
Lloh48:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x23, x2
                                        ; kill: def $w3 killed $w3 killed $x3
	bl	_wpa_hexdump
	ldrsw	x8, [x28]
	stur	x8, [x29, #-96]
	ldr	x0, [x19, #40]
	cbz	x0, LBB0_22
; %bb.11:
	sub	x2, x29, #96
	mov	x1, x24
	bl	_crypto_hash_finish
	tbnz	x0, #63, LBB0_22
; %bb.12:
	str	xzr, [x19, #40]
	ldrsw	x8, [x25]
	stur	x8, [x29, #-96]
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_23
; %bb.13:
	ldrsw	x8, [x28]
	add	x1, x24, x8, lsl #3
	sub	x2, x29, #96
	bl	_crypto_hash_finish
	tbnz	x0, #63, LBB0_23
; %bb.14:
	str	xzr, [x19, #32]
	ldrsw	x8, [x28]
	ldrsw	x9, [x25]
	add	x5, x9, x8
	stur	x5, [x29, #-96]
	ldr	x0, [x19, #24]
	ldr	w1, [x19, #20]
Lloh49:
	adrp	x8, _TLS_MASTER_SECRET_LEN@GOTPAGE
Lloh50:
	ldr	x8, [x8, _TLS_MASTER_SECRET_LEN@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
	ldr	w7, [x27]
Lloh52:
	adrp	x3, l_.str.6@PAGE
Lloh53:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	x4, x24
	mov	x6, x22
	bl	_tls_prf
	mov	x8, x0
Lloh54:
	adrp	x24, _MSG_DEBUG@GOTPAGE
Lloh55:
	ldr	x24, [x24, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x24]
	cbz	x8, LBB0_24
; %bb.15:
Lloh56:
	adrp	x1, l_.str.7@PAGE
Lloh57:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_26
LBB0_16:
Lloh58:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh59:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
                                        ; kill: def $w3 killed $w3 killed $x3 def $x3
	stp	x10, x3, [sp, #-16]!
Lloh61:
	adrp	x1, l_.str.4@PAGE
Lloh62:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_17:
	bl	_wpa_printf
	add	sp, sp, #16
Lloh63:
	adrp	x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGE
Lloh64:
	ldr	x8, [x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
Lloh66:
	adrp	x8, _TLS_ALERT_DECODE_ERROR@GOTPAGE
Lloh67:
	ldr	x8, [x8, _TLS_ALERT_DECODE_ERROR@GOTPAGEOFF]
LBB0_18:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_tls_alert
LBB0_19:
	mov	w0, #-1
LBB0_20:
	mov	sp, x26
	ldur	x8, [x29, #-88]
Lloh68:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh69:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh70:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_30
; %bb.21:
	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_22:
Lloh71:
	adrp	x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGE
Lloh72:
	ldr	x8, [x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGEOFF]
Lloh73:
	ldr	w1, [x8]
Lloh74:
	adrp	x8, _TLS_ALERT_INTERNAL_ERROR@GOTPAGE
Lloh75:
	ldr	x8, [x8, _TLS_ALERT_INTERNAL_ERROR@GOTPAGEOFF]
Lloh76:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_tls_alert
	str	xzr, [x19, #40]
	ldr	x0, [x19, #32]
	mov	x1, #0
	mov	x2, #0
	bl	_crypto_hash_finish
	str	xzr, [x19, #32]
	b	LBB0_19
LBB0_23:
	str	xzr, [x19, #32]
Lloh77:
	adrp	x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGE
Lloh78:
	ldr	x8, [x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGEOFF]
Lloh79:
	ldr	w1, [x8]
Lloh80:
	adrp	x8, _TLS_ALERT_INTERNAL_ERROR@GOTPAGE
Lloh81:
	ldr	x8, [x8, _TLS_ALERT_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_18
LBB0_24:
	ldr	w3, [x27]
Lloh82:
	adrp	x1, l_.str.8@PAGE
Lloh83:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x2, x22
	bl	_wpa_hexdump_key
	ldr	w2, [x27]
	mov	x0, x23
	mov	x1, x22
	bl	_os_memcmp_const
	cbz	x0, LBB0_27
; %bb.25:
Lloh84:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh85:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh86:
	ldr	w0, [x8]
Lloh87:
	adrp	x1, l_.str.9@PAGE
Lloh88:
	add	x1, x1, l_.str.9@PAGEOFF
LBB0_26:
	bl	_wpa_printf
Lloh89:
	adrp	x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGE
Lloh90:
	ldr	x8, [x8, _TLS_ALERT_LEVEL_FATAL@GOTPAGEOFF]
Lloh91:
	ldr	w1, [x8]
Lloh92:
	adrp	x8, _TLS_ALERT_DECRYPT_ERROR@GOTPAGE
Lloh93:
	ldr	x8, [x8, _TLS_ALERT_DECRYPT_ERROR@GOTPAGEOFF]
	b	LBB0_18
LBB0_27:
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	add	x22, x23, x8, lsl #3
	ldr	w0, [x24]
Lloh94:
	adrp	x1, l_.str.10@PAGE
Lloh95:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_wpa_printf
	sub	x8, x22, x21
	asr	x8, x8, #3
	str	x8, [x20]
	ldr	x9, [x19, #8]
Lloh96:
	adrp	x8, _CHANGE_CIPHER_SPEC@GOTPAGE
Lloh97:
	ldr	x8, [x8, _CHANGE_CIPHER_SPEC@GOTPAGEOFF]
	cbnz	x9, LBB0_29
; %bb.28:
	ldr	x9, [x19]
Lloh98:
	adrp	x10, _ACK_FINISHED@GOTPAGE
Lloh99:
	ldr	x10, [x10, _ACK_FINISHED@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
LBB0_29:
	mov	w0, #0
	ldr	w8, [x8]
	str	w8, [x19, #16]
	b	LBB0_20
LBB0_30:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGot	Lloh96, Lloh97
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpLdrGot	Lloh98, Lloh99
	.cfi_endproc
                                        ; -- End function
	.comm	_TLS_VERIFY_DATA_LEN,4,2        ; @TLS_VERIFY_DATA_LEN
	.comm	_MD5_MAC_LEN,4,2                ; @MD5_MAC_LEN
	.comm	_SHA1_MAC_LEN,4,2               ; @SHA1_MAC_LEN
	.comm	_TLS_CONTENT_TYPE_HANDSHAKE,8,3 ; @TLS_CONTENT_TYPE_HANDSHAKE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TLSv1: Expected Finished; received content type 0x%x"

	.comm	_TLS_ALERT_LEVEL_FATAL,4,2      ; @TLS_ALERT_LEVEL_FATAL
	.comm	_TLS_ALERT_UNEXPECTED_MESSAGE,4,2 ; @TLS_ALERT_UNEXPECTED_MESSAGE
l_.str.1:                               ; @.str.1
	.asciz	"TLSv1: Too short record (left=%lu) for Finished"

	.comm	_TLS_ALERT_DECODE_ERROR,4,2     ; @TLS_ALERT_DECODE_ERROR
	.comm	_TLS_HANDSHAKE_TYPE_FINISHED,8,3 ; @TLS_HANDSHAKE_TYPE_FINISHED
l_.str.2:                               ; @.str.2
	.asciz	"TLSv1: Expected Finished; received type 0x%x"

l_.str.3:                               ; @.str.3
	.asciz	"TLSv1: Too short buffer for Finished (len=%lu > left=%lu)"

l_.str.4:                               ; @.str.4
	.asciz	"TLSv1: Unexpected verify_data length in Finished: %lu (expected %d)"

	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.5:                               ; @.str.5
	.asciz	"TLSv1: verify_data in Finished"

	.comm	_TLS_ALERT_INTERNAL_ERROR,4,2   ; @TLS_ALERT_INTERNAL_ERROR
	.comm	_TLS_MASTER_SECRET_LEN,4,2      ; @TLS_MASTER_SECRET_LEN
l_.str.6:                               ; @.str.6
	.asciz	"server finished"

l_.str.7:                               ; @.str.7
	.asciz	"TLSv1: Failed to derive verify_data"

	.comm	_TLS_ALERT_DECRYPT_ERROR,4,2    ; @TLS_ALERT_DECRYPT_ERROR
l_.str.8:                               ; @.str.8
	.asciz	"TLSv1: verify_data (server)"

	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
l_.str.9:                               ; @.str.9
	.asciz	"TLSv1: Mismatch in verify_data"

l_.str.10:                              ; @.str.10
	.asciz	"TLSv1: Received Finished"

	.comm	_CHANGE_CIPHER_SPEC,4,2         ; @CHANGE_CIPHER_SPEC
	.comm	_ACK_FINISHED,4,2               ; @ACK_FINISHED
	.comm	_SHA256_MAC_LEN,8,3             ; @SHA256_MAC_LEN
	.comm	_TLS_VERSION_1_2,8,3            ; @TLS_VERSION_1_2
	.no_dead_strip	_tls_process_server_finished
.subsections_via_symbols
