	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_finished
_verify_finished:                       ## @verify_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_PTLS_MAX_DIGEST_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	_PTLS_HANDSHAKE_HEADER_SIZE@GOTPCREL(%rip), %r14
	movq	(%r12), %rsi
	movq	(%rsi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	addq	(%r14), %rax
	cmpq	%rbx, %rax
	jne	LBB0_1
## %bb.2:
	movl	8(%r12), %edx
	movq	%r15, %rdi
	callq	_calc_verify_data
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.3:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	(%r14), %rdi
	movq	(%r12), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rdx
	movq	%r15, %rsi
	callq	_ptls_mem_equal
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:
	movq	_PTLS_ALERT_HANDSHAKE_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_PTLS_ALERT_DECODE_ERROR@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %ebx
LBB0_6:
	leal	(,%r13,4), %esi
	movq	%r15, %rdi
	callq	_ptls_clear_memory
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PTLS_MAX_DIGEST_SIZE,4,2       ## @PTLS_MAX_DIGEST_SIZE
	.comm	_PTLS_HANDSHAKE_HEADER_SIZE,8,3 ## @PTLS_HANDSHAKE_HEADER_SIZE
	.comm	_PTLS_ALERT_DECODE_ERROR,4,2    ## @PTLS_ALERT_DECODE_ERROR
	.comm	_PTLS_ALERT_HANDSHAKE_FAILURE,4,2 ## @PTLS_ALERT_HANDSHAKE_FAILURE
	.no_dead_strip	_verify_finished
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_finished
_verify_finished:                       ; @verify_finished
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x20, x2
	mov	x8, x1
	mov	x21, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-56]
Lloh3:
	adrp	x9, _PTLS_MAX_DIGEST_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PTLS_MAX_DIGEST_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x9]
	lsl	x12, x23, #2
	mov	x9, x12
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x12, #15
	and	x10, x10, #0x7fffffff0
	sub	x19, x9, x10
	mov	sp, x19
Lloh8:
	adrp	x24, _PTLS_HANDSHAKE_HEADER_SIZE@GOTPAGE
Lloh9:
	ldr	x24, [x24, _PTLS_HANDSHAKE_HEADER_SIZE@GOTPAGEOFF]
	ldr	x9, [x24]
	ldr	x1, [x0]
	ldr	x10, [x1]
	ldr	x10, [x10]
	ldr	x10, [x10]
	add	x9, x10, x9
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	w2, [x21, #8]
	mov	x0, x19
	bl	_calc_verify_data
	mov	x22, x0
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	x8, [x24]
	add	x0, x8, x20
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x2, [x8]
	mov	x1, x19
	bl	_ptls_mem_equal
Lloh10:
	adrp	x8, _PTLS_ALERT_HANDSHAKE_FAILURE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PTLS_ALERT_HANDSHAKE_FAILURE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w22, w8, wzr, eq
	b	LBB0_4
LBB0_3:
Lloh13:
	adrp	x8, _PTLS_ALERT_DECODE_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PTLS_ALERT_DECODE_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w22, [x8]
LBB0_4:
	lsl	w1, w23, #2
	mov	x0, x19
	bl	_ptls_clear_memory
	ldur	x8, [x29, #-56]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x22
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_PTLS_MAX_DIGEST_SIZE,4,2       ; @PTLS_MAX_DIGEST_SIZE
	.comm	_PTLS_HANDSHAKE_HEADER_SIZE,8,3 ; @PTLS_HANDSHAKE_HEADER_SIZE
	.comm	_PTLS_ALERT_DECODE_ERROR,4,2    ; @PTLS_ALERT_DECODE_ERROR
	.comm	_PTLS_ALERT_HANDSHAKE_FAILURE,4,2 ; @PTLS_ALERT_HANDSHAKE_FAILURE
	.no_dead_strip	_verify_finished
.subsections_via_symbols
