	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_process_server_done        ## -- Begin function tls_process_server_done
	.p2align	4, 0x90
_tls_process_server_done:               ## @tls_process_server_done
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_PACKET_remaining
	testq	%rax, %rax
	jle	LBB0_4
## %bb.1:
	movq	_SSL_AD_DECODE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_SERVER_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_LENGTH_MISMATCH@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_SSLfatal
LBB0_3:
	movq	_MSG_PROCESS_ERROR@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	(%rbx), %rax
	movq	_SSL_kSRP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	callq	_SRP_Calc_A_param
	testq	%rax, %rax
	jle	LBB0_6
LBB0_7:
	movq	%rbx, %rdi
	callq	_tls_process_initial_server_flight
	testl	%eax, %eax
	je	LBB0_3
## %bb.8:
	movq	_MSG_PROCESS_FINISHED_READING@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_6:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_SERVER_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_SRP_A_CALC@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_AD_DECODE_ERROR,4,2        ## @SSL_AD_DECODE_ERROR
	.comm	_SSL_F_TLS_PROCESS_SERVER_DONE,4,2 ## @SSL_F_TLS_PROCESS_SERVER_DONE
	.comm	_SSL_R_LENGTH_MISMATCH,4,2      ## @SSL_R_LENGTH_MISMATCH
	.comm	_MSG_PROCESS_ERROR,4,2          ## @MSG_PROCESS_ERROR
	.comm	_SSL_kSRP,4,2                   ## @SSL_kSRP
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_R_SRP_A_CALC,4,2           ## @SSL_R_SRP_A_CALC
	.comm	_MSG_PROCESS_FINISHED_READING,4,2 ## @MSG_PROCESS_FINISHED_READING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_process_server_done        ; -- Begin function tls_process_server_done
	.p2align	2
_tls_process_server_done:               ; @tls_process_server_done
	.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	x19, x0
	mov	x0, x1
	bl	_PACKET_remaining
	cmp	x0, #1
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _SSL_AD_DECODE_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_AD_DECODE_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _SSL_F_TLS_PROCESS_SERVER_DONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_SERVER_DONE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _SSL_R_LENGTH_MISMATCH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_R_LENGTH_MISMATCH@GOTPAGEOFF]
LBB0_2:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
Lloh8:
	adrp	x8, _MSG_PROCESS_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MSG_PROCESS_ERROR@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	ldr	x8, [x19]
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _SSL_kSRP@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SSL_kSRP@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_SRP_Calc_A_param
	cmp	x0, #0
	b.le	LBB0_7
LBB0_5:
	mov	x0, x19
	bl	_tls_process_initial_server_flight
Lloh13:
	adrp	x8, _MSG_PROCESS_FINISHED_READING@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MSG_PROCESS_FINISHED_READING@GOTPAGEOFF]
Lloh15:
	adrp	x9, _MSG_PROCESS_ERROR@GOTPAGE
Lloh16:
	ldr	x9, [x9, _MSG_PROCESS_ERROR@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x9, x8, eq
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh17:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _SSL_F_TLS_PROCESS_SERVER_DONE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_SERVER_DONE@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
Lloh23:
	adrp	x8, _SSL_R_SRP_A_CALC@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SSL_R_SRP_A_CALC@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_AD_DECODE_ERROR,4,2        ; @SSL_AD_DECODE_ERROR
	.comm	_SSL_F_TLS_PROCESS_SERVER_DONE,4,2 ; @SSL_F_TLS_PROCESS_SERVER_DONE
	.comm	_SSL_R_LENGTH_MISMATCH,4,2      ; @SSL_R_LENGTH_MISMATCH
	.comm	_MSG_PROCESS_ERROR,4,2          ; @MSG_PROCESS_ERROR
	.comm	_SSL_kSRP,4,2                   ; @SSL_kSRP
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_R_SRP_A_CALC,4,2           ; @SSL_R_SRP_A_CALC
	.comm	_MSG_PROCESS_FINISHED_READING,4,2 ; @MSG_PROCESS_FINISHED_READING
.subsections_via_symbols
