	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function server_handle_finished
_server_handle_finished:                ## @server_handle_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_verify_finished
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movl	8(%rbx), %esi
	movl	12(%rbx), %edi
	movl	$4, %edx
	callq	_memcpy
	movl	8(%rbx), %edi
	movl	$4, %esi
	callq	_ptls_clear_memory
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$3, %ecx
	xorl	%r8d, %r8d
	callq	_setup_traffic_protection
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	%r14, %rsi
	shrq	$32, %rsi
	movl	4(%rbx), %edi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r14d, %edx
	callq	_ptls__key_schedule_update_hash
	movq	_PTLS_STATE_SERVER_POST_HANDSHAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PTLS_STATE_SERVER_POST_HANDSHAKE,4,2 ## @PTLS_STATE_SERVER_POST_HANDSHAKE
	.no_dead_strip	_server_handle_finished
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function server_handle_finished
_server_handle_finished:                ; @server_handle_finished
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_verify_finished
	cbnz	w0, LBB0_3
; %bb.1:
	ldp	w1, w0, [x19, #8]
	mov	w2, #4
	bl	_memcpy
	ldr	w0, [x19, #8]
	mov	w1, #4
	bl	_ptls_clear_memory
	mov	x0, x19
	mov	w1, #0
	mov	x2, #0
	mov	w3, #3
	mov	w4, #0
	bl	_setup_traffic_protection
	cbnz	w0, LBB0_3
; %bb.2:
	lsr	x1, x20, #32
	ldr	w0, [x19, #4]
                                        ; kill: def $w1 killed $w1 killed $x1
	mov	x2, x20
	bl	_ptls__key_schedule_update_hash
	mov	w0, #0
Lloh0:
	adrp	x8, _PTLS_STATE_SERVER_POST_HANDSHAKE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PTLS_STATE_SERVER_POST_HANDSHAKE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PTLS_STATE_SERVER_POST_HANDSHAKE,4,2 ; @PTLS_STATE_SERVER_POST_HANDSHAKE
	.no_dead_strip	_server_handle_finished
.subsections_via_symbols
