	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_process_client_hello       ## -- Begin function tls_process_client_hello
	.p2align	4, 0x90
_tls_process_client_hello:              ## @tls_process_client_hello
	.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	%rsi, %r15
	movq	%rdi, %r14
	cmpl	$0, (%rdi)
	jne	LBB0_9
## %bb.1:
	movq	%r14, %rdi
	callq	_SSL_IS_FIRST_HANDSHAKE
	testl	%eax, %eax
	je	LBB0_2
LBB0_9:
	movl	$88, %edi
	callq	_OPENSSL_zalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.10:
	movq	%rax, %rbx
	leaq	32(%r14), %rdi
	callq	_RECORD_LAYER_is_sslv2_record
	movq	%rax, 80(%rbx)
	leaq	-56(%rbp), %rdi
	callq	_PACKET_null_init
	cmpq	$0, 80(%rbx)
	je	LBB0_16
## %bb.11:
	movq	%r14, %rdi
	callq	_SSL_IS_FIRST_HANDSHAKE
	movq	_SSL_R_UNEXPECTED_MESSAGE@GOTPCREL(%rip), %rcx
	movq	_SSL_AD_UNEXPECTED_MESSAGE@GOTPCREL(%rip), %rdx
	testl	%eax, %eax
	je	LBB0_15
## %bb.12:
	movq	16(%r14), %rax
	movq	_SSL_HRR_NONE@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rax
	jne	LBB0_15
## %bb.13:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_PACKET_get_1
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rcx
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rdx
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	movl	-48(%rbp), %eax
	movq	_SSL2_MT_CLIENT_HELLO@GOTPCREL(%rip), %rsi
	cmpl	(%rsi), %eax
	jne	LBB0_15
LBB0_16:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_PACKET_get_net_2
	testl	%eax, %eax
	je	LBB0_17
## %bb.22:
	cmpq	$0, 80(%rbx)
	je	LBB0_35
## %bb.23:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_PACKET_get_net_2
	movq	_SSL_R_RECORD_LENGTH_MISMATCH@GOTPCREL(%rip), %r12
	movq	_SSL_AD_DECODE_ERROR@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	je	LBB0_34
## %bb.24:
	leaq	-44(%rbp), %rsi
	movq	%r15, %rdi
	callq	_PACKET_get_net_2
	testl	%eax, %eax
	je	LBB0_34
## %bb.25:
	leaq	-52(%rbp), %rsi
	movq	%r15, %rdi
	callq	_PACKET_get_net_2
	testl	%eax, %eax
	je	LBB0_34
## %bb.26:
	movl	-44(%rbp), %eax
	movq	_SSL_MAX_SSL_SESSION_ID_LENGTH@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jbe	LBB0_28
## %bb.27:
	movq	_SSL_R_LENGTH_MISMATCH@GOTPCREL(%rip), %r12
	movq	_SSL_AD_ILLEGAL_PARAMETER@GOTPCREL(%rip), %r13
	jmp	LBB0_34
LBB0_15:
	movl	(%rdx), %esi
	movq	_SSL_F_TLS_PROCESS_CLIENT_HELLO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rcx), %ecx
	jmp	LBB0_19
LBB0_2:
	movq	%r14, %rdi
	callq	_SSL_IS_TLS13
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_ossl_assert
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	4(%r14), %eax
	movq	_SSL_OP_NO_RENEGOTIATION@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_5
LBB0_7:
	movq	_SSL3_AL_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_AD_NO_RENEGOTIATION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_ssl3_send_alert
	movq	_MSG_PROCESS_FINISHED_READING@GOTPCREL(%rip), %rax
	jmp	LBB0_57
LBB0_3:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_CLIENT_HELLO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_SSLfatal
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_17:
	movq	_SSL_AD_DECODE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_CLIENT_HELLO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_LENGTH_TOO_SHORT@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_35:
	movq	72(%rbx), %rsi
	movq	_SSL3_RANDOM_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_PACKET_copy_bytes
	testl	%eax, %eax
	je	LBB0_38
## %bb.36:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_PACKET_get_length_prefixed_1
	testl	%eax, %eax
	je	LBB0_38
## %bb.37:
	movq	64(%rbx), %rsi
	movq	_SSL_MAX_SSL_SESSION_ID_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	4(%rbx), %rcx
	leaq	-48(%rbp), %rdi
	callq	_PACKET_copy_all
	testl	%eax, %eax
	je	LBB0_38
## %bb.39:
	movq	%r14, %rdi
	callq	_SSL_IS_DTLS
	testq	%rax, %rax
	je	LBB0_46
## %bb.40:
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	_PACKET_get_length_prefixed_1
	testl	%eax, %eax
	je	LBB0_38
## %bb.41:
	movq	56(%rbx), %rsi
	movq	_DTLS1_COOKIE_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	8(%rbx), %r12
	leaq	-56(%rbp), %rdi
	movq	%r12, %rcx
	callq	_PACKET_copy_all
	testl	%eax, %eax
	je	LBB0_42
## %bb.43:
	movq	%r14, %rdi
	callq	_SSL_get_options
	movq	_SSL_OP_COOKIE_EXCHANGE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_46
## %bb.44:
	cmpq	$0, (%r12)
	je	LBB0_45
LBB0_46:
	leaq	48(%rbx), %rsi
	movq	%r15, %rdi
	callq	_PACKET_get_length_prefixed_2
	testl	%eax, %eax
	je	LBB0_38
## %bb.47:
	leaq	-60(%rbp), %rsi
	movq	%r15, %rdi
	callq	_PACKET_get_length_prefixed_1
	testl	%eax, %eax
	je	LBB0_38
## %bb.48:
	movq	%r15, %rdi
	callq	_PACKET_remaining
	leaq	36(%rbx), %rsi
	testq	%rax, %rax
	je	LBB0_49
## %bb.50:
	movq	%r15, %rdi
	callq	_PACKET_get_length_prefixed_2
	testl	%eax, %eax
	je	LBB0_38
## %bb.51:
	movq	%r15, %rdi
	callq	_PACKET_remaining
	testq	%rax, %rax
	je	LBB0_54
LBB0_38:
	movq	_SSL_AD_DECODE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_CLIENT_HELLO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_LENGTH_MISMATCH@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %ecx
	jmp	LBB0_19
LBB0_5:
	cmpl	$0, 36(%r14)
	jne	LBB0_8
## %bb.6:
	movq	_SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
LBB0_8:
	movl	$1, (%r14)
	movl	$1, 8(%r14)
	jmp	LBB0_9
LBB0_28:
	leaq	48(%rbx), %rsi
	movl	-48(%rbp), %edx
	movq	%r15, %rdi
	callq	_PACKET_get_sub_packet
	testl	%eax, %eax
	je	LBB0_34
## %bb.29:
	movq	64(%rbx), %rsi
	movl	-44(%rbp), %edx
	movq	%r15, %rdi
	callq	_PACKET_copy_bytes
	testl	%eax, %eax
	je	LBB0_34
## %bb.30:
	movl	-52(%rbp), %edx
	leaq	-64(%rbp), %rsi
	movq	%r15, %rdi
	callq	_PACKET_get_sub_packet
	testl	%eax, %eax
	je	LBB0_34
## %bb.31:
	movq	%r15, %rdi
	callq	_PACKET_remaining
	testq	%rax, %rax
	je	LBB0_32
LBB0_34:
	movl	(%r13), %esi
	movq	_SSL_F_TLS_PROCESS_CLIENT_HELLO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r12), %ecx
LBB0_19:
	movq	%r14, %rdi
	callq	_SSLfatal
LBB0_20:
	movq	24(%rbx), %rdi
	callq	_OPENSSL_free
LBB0_21:
	movq	%rbx, %rdi
	callq	_OPENSSL_free
	movq	_MSG_PROCESS_ERROR@GOTPCREL(%rip), %rax
LBB0_57:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_49:
	movq	%rsi, %rdi
	jmp	LBB0_53
LBB0_32:
	movl	-44(%rbp), %eax
	movl	%eax, 4(%rbx)
	movl	-52(%rbp), %eax
	movq	_SSL3_RANDOM_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	cmpl	%edx, %eax
	cmovael	%edx, %eax
	movl	%eax, -52(%rbp)
	movq	72(%rbx), %rdi
	xorl	%esi, %esi
	callq	_memset
	movl	(%r15), %esi
	addq	72(%rbx), %rsi
	movl	-52(%rbp), %edx
	subq	%rdx, %rsi
	leaq	-64(%rbp), %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_PACKET_copy_bytes
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %r12
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %r13
	testl	%eax, %eax
	je	LBB0_34
## %bb.33:
	leaq	_tls_process_client_hello.null_compression(%rip), %rsi
	leaq	-60(%rbp), %rdi
	movl	$1, %edx
	callq	_PACKET_buf_init
	testl	%eax, %eax
	je	LBB0_34
## %bb.52:
	leaq	36(%rbx), %rdi
LBB0_53:
	callq	_PACKET_null_init
LBB0_54:
	movq	40(%rbx), %rsi
	movq	_MAX_COMPRESSIONS_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	16(%rbx), %rcx
	leaq	-60(%rbp), %rdi
	callq	_PACKET_copy_all
	testl	%eax, %eax
	je	LBB0_42
## %bb.55:
	movl	36(%rbx), %eax
	movl	%eax, -44(%rbp)
	movq	_SSL_EXT_CLIENT_HELLO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	24(%rbx), %rcx
	movq	%rbx, %r8
	addq	$32, %r8
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	movl	$1, %r9d
	callq	_tls_collect_extensions
	testl	%eax, %eax
	je	LBB0_20
## %bb.56:
	movq	%rbx, 24(%r14)
	movq	_MSG_PROCESS_CONTINUE_PROCESSING@GOTPCREL(%rip), %rax
	jmp	LBB0_57
LBB0_42:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_TLS_PROCESS_CLIENT_HELLO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_45:
	movq	%rbx, %rdi
	callq	_OPENSSL_free
	movq	_MSG_PROCESS_FINISHED_READING@GOTPCREL(%rip), %rax
	jmp	LBB0_57
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
_tls_process_client_hello.null_compression: ## @tls_process_client_hello.null_compression
	.byte	0                               ## 0x0

	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_PROCESS_CLIENT_HELLO,4,2 ## @SSL_F_TLS_PROCESS_CLIENT_HELLO
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_SSL_OP_NO_RENEGOTIATION,4,2    ## @SSL_OP_NO_RENEGOTIATION
	.comm	_SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION,4,2 ## @SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION
	.comm	_SSL3_AL_WARNING,4,2            ## @SSL3_AL_WARNING
	.comm	_SSL_AD_NO_RENEGOTIATION,4,2    ## @SSL_AD_NO_RENEGOTIATION
	.comm	_MSG_PROCESS_FINISHED_READING,4,2 ## @MSG_PROCESS_FINISHED_READING
	.comm	_SSL_HRR_NONE,8,3               ## @SSL_HRR_NONE
	.comm	_SSL_AD_UNEXPECTED_MESSAGE,4,2  ## @SSL_AD_UNEXPECTED_MESSAGE
	.comm	_SSL_R_UNEXPECTED_MESSAGE,4,2   ## @SSL_R_UNEXPECTED_MESSAGE
	.comm	_SSL2_MT_CLIENT_HELLO,4,2       ## @SSL2_MT_CLIENT_HELLO
	.comm	_SSL_AD_DECODE_ERROR,4,2        ## @SSL_AD_DECODE_ERROR
	.comm	_SSL_R_LENGTH_TOO_SHORT,4,2     ## @SSL_R_LENGTH_TOO_SHORT
	.comm	_SSL_R_RECORD_LENGTH_MISMATCH,4,2 ## @SSL_R_RECORD_LENGTH_MISMATCH
	.comm	_SSL_MAX_SSL_SESSION_ID_LENGTH,4,2 ## @SSL_MAX_SSL_SESSION_ID_LENGTH
	.comm	_SSL_AD_ILLEGAL_PARAMETER,4,2   ## @SSL_AD_ILLEGAL_PARAMETER
	.comm	_SSL_R_LENGTH_MISMATCH,4,2      ## @SSL_R_LENGTH_MISMATCH
	.comm	_SSL3_RANDOM_SIZE,4,2           ## @SSL3_RANDOM_SIZE
	.comm	_DTLS1_COOKIE_LENGTH,4,2        ## @DTLS1_COOKIE_LENGTH
	.comm	_SSL_OP_COOKIE_EXCHANGE,4,2     ## @SSL_OP_COOKIE_EXCHANGE
	.comm	_MAX_COMPRESSIONS_SIZE,4,2      ## @MAX_COMPRESSIONS_SIZE
	.comm	_SSL_EXT_CLIENT_HELLO,4,2       ## @SSL_EXT_CLIENT_HELLO
	.comm	_MSG_PROCESS_CONTINUE_PROCESSING,4,2 ## @MSG_PROCESS_CONTINUE_PROCESSING
	.comm	_MSG_PROCESS_ERROR,4,2          ## @MSG_PROCESS_ERROR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_process_client_hello       ; -- Begin function tls_process_client_hello
	.p2align	2
_tls_process_client_hello:              ; @tls_process_client_hello
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x20, x0
	ldr	w8, [x0]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_SSL_IS_FIRST_HANDSHAKE
	cbz	w0, LBB0_17
LBB0_2:
	mov	w0, #88
	bl	_OPENSSL_zalloc
	mov	x19, x0
	cbz	x0, LBB0_15
; %bb.3:
	add	x0, x20, #32
	bl	_RECORD_LAYER_is_sslv2_record
	str	x0, [x19, #80]
	add	x0, sp, #16
	bl	_PACKET_null_init
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_8
; %bb.4:
	mov	x0, x20
	bl	_SSL_IS_FIRST_HANDSHAKE
	cbz	w0, LBB0_16
; %bb.5:
	ldr	x8, [x20, #16]
Lloh0:
	adrp	x9, _SSL_HRR_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SSL_HRR_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.6:
	add	x1, sp, #28
	mov	x0, x21
	bl	_PACKET_get_1
	cbz	w0, LBB0_53
; %bb.7:
	ldr	w8, [sp, #28]
Lloh3:
	adrp	x9, _SSL2_MT_CLIENT_HELLO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SSL2_MT_CLIENT_HELLO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_53
LBB0_8:
	mov	x0, x21
	mov	x1, x19
	bl	_PACKET_get_net_2
	cbz	w0, LBB0_21
; %bb.9:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_22
; %bb.10:
	add	x1, sp, #28
	mov	x0, x21
	bl	_PACKET_get_net_2
	cbz	w0, LBB0_44
; %bb.11:
	add	x1, sp, #20
	mov	x0, x21
	bl	_PACKET_get_net_2
	cbz	w0, LBB0_44
; %bb.12:
	add	x1, sp, #12
	mov	x0, x21
	bl	_PACKET_get_net_2
	cbz	w0, LBB0_44
; %bb.13:
	ldr	w8, [sp, #20]
Lloh6:
	adrp	x9, _SSL_MAX_SSL_SESSION_ID_LENGTH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SSL_MAX_SSL_SESSION_ID_LENGTH@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ls	LBB0_40
; %bb.14:
Lloh9:
	adrp	x8, _SSL_R_LENGTH_MISMATCH@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SSL_R_LENGTH_MISMATCH@GOTPAGEOFF]
Lloh11:
	adrp	x9, _SSL_AD_ILLEGAL_PARAMETER@GOTPAGE
Lloh12:
	ldr	x9, [x9, _SSL_AD_ILLEGAL_PARAMETER@GOTPAGEOFF]
	b	LBB0_54
LBB0_15:
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_TLS_PROCESS_CLIENT_HELLO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CLIENT_HELLO@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_57
LBB0_16:
Lloh22:
	adrp	x8, _SSL_R_UNEXPECTED_MESSAGE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SSL_R_UNEXPECTED_MESSAGE@GOTPAGEOFF]
Lloh24:
	adrp	x9, _SSL_AD_UNEXPECTED_MESSAGE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _SSL_AD_UNEXPECTED_MESSAGE@GOTPAGEOFF]
	b	LBB0_54
LBB0_17:
	mov	x0, x20
	bl	_SSL_IS_TLS13
	cmp	w0, #0
	cset	w0, eq
	bl	_ossl_assert
	cbz	w0, LBB0_36
; %bb.18:
	ldr	w8, [x20, #4]
Lloh26:
	adrp	x9, _SSL_OP_NO_RENEGOTIATION@GOTPAGE
Lloh27:
	ldr	x9, [x9, _SSL_OP_NO_RENEGOTIATION@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_37
LBB0_19:
Lloh29:
	adrp	x8, _SSL3_AL_WARNING@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SSL3_AL_WARNING@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x8, _SSL_AD_NO_RENEGOTIATION@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SSL_AD_NO_RENEGOTIATION@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_ssl3_send_alert
LBB0_20:
Lloh35:
	adrp	x8, _MSG_PROCESS_FINISHED_READING@GOTPAGE
Lloh36:
	ldr	x8, [x8, _MSG_PROCESS_FINISHED_READING@GOTPAGEOFF]
	b	LBB0_58
LBB0_21:
Lloh37:
	adrp	x8, _SSL_AD_DECODE_ERROR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SSL_AD_DECODE_ERROR@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
Lloh40:
	adrp	x8, _SSL_F_TLS_PROCESS_CLIENT_HELLO@GOTPAGE
Lloh41:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CLIENT_HELLO@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
Lloh43:
	adrp	x8, _SSL_R_LENGTH_TOO_SHORT@GOTPAGE
Lloh44:
	ldr	x8, [x8, _SSL_R_LENGTH_TOO_SHORT@GOTPAGEOFF]
	b	LBB0_55
LBB0_22:
	ldr	x1, [x19, #72]
Lloh45:
	adrp	x8, _SSL3_RANDOM_SIZE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _SSL3_RANDOM_SIZE@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_PACKET_copy_bytes
	cbz	w0, LBB0_35
; %bb.23:
	add	x1, sp, #28
	mov	x0, x21
	bl	_PACKET_get_length_prefixed_1
	cbz	w0, LBB0_35
; %bb.24:
	ldr	x1, [x19, #64]
Lloh48:
	adrp	x8, _SSL_MAX_SSL_SESSION_ID_LENGTH@GOTPAGE
Lloh49:
	ldr	x8, [x8, _SSL_MAX_SSL_SESSION_ID_LENGTH@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
	add	x3, x19, #4
	add	x0, sp, #28
	bl	_PACKET_copy_all
	cbz	w0, LBB0_35
; %bb.25:
	mov	x0, x20
	bl	_SSL_IS_DTLS
	cbz	x0, LBB0_30
; %bb.26:
	add	x1, sp, #16
	mov	x0, x21
	bl	_PACKET_get_length_prefixed_1
	cbz	w0, LBB0_35
; %bb.27:
	ldr	x1, [x19, #56]
Lloh51:
	adrp	x8, _DTLS1_COOKIE_LENGTH@GOTPAGE
Lloh52:
	ldr	x8, [x8, _DTLS1_COOKIE_LENGTH@GOTPAGEOFF]
Lloh53:
	ldr	w2, [x8]
	add	x22, x19, #8
	add	x0, sp, #16
	mov	x3, x22
	bl	_PACKET_copy_all
	cbz	w0, LBB0_59
; %bb.28:
	mov	x0, x20
	bl	_SSL_get_options
Lloh54:
	adrp	x8, _SSL_OP_COOKIE_EXCHANGE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _SSL_OP_COOKIE_EXCHANGE@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_30
; %bb.29:
	ldr	x8, [x22]
	cbz	x8, LBB0_60
LBB0_30:
	add	x1, x19, #48
	mov	x0, x21
	bl	_PACKET_get_length_prefixed_2
	cbz	w0, LBB0_35
; %bb.31:
	add	x1, sp, #24
	mov	x0, x21
	bl	_PACKET_get_length_prefixed_1
	cbz	w0, LBB0_35
; %bb.32:
	mov	x0, x21
	bl	_PACKET_remaining
	add	x1, x19, #36
	cbz	x0, LBB0_45
; %bb.33:
	mov	x0, x21
	bl	_PACKET_get_length_prefixed_2
	cbz	w0, LBB0_35
; %bb.34:
	mov	x0, x21
	bl	_PACKET_remaining
	cbz	x0, LBB0_50
LBB0_35:
Lloh57:
	adrp	x8, _SSL_AD_DECODE_ERROR@GOTPAGE
Lloh58:
	ldr	x8, [x8, _SSL_AD_DECODE_ERROR@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
Lloh60:
	adrp	x8, _SSL_F_TLS_PROCESS_CLIENT_HELLO@GOTPAGE
Lloh61:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CLIENT_HELLO@GOTPAGEOFF]
Lloh62:
	ldr	w2, [x8]
Lloh63:
	adrp	x8, _SSL_R_LENGTH_MISMATCH@GOTPAGE
Lloh64:
	ldr	x8, [x8, _SSL_R_LENGTH_MISMATCH@GOTPAGEOFF]
	b	LBB0_55
LBB0_36:
Lloh65:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh66:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh67:
	ldr	w1, [x8]
Lloh68:
	adrp	x8, _SSL_F_TLS_PROCESS_CLIENT_HELLO@GOTPAGE
Lloh69:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CLIENT_HELLO@GOTPAGEOFF]
Lloh70:
	ldr	w2, [x8]
Lloh71:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh72:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh73:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_SSLfatal
	mov	x19, #0
	b	LBB0_57
LBB0_37:
	ldr	w9, [x20, #36]
	cbnz	w9, LBB0_39
; %bb.38:
Lloh74:
	adrp	x9, _SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION@GOTPAGE
Lloh75:
	ldr	x9, [x9, _SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION@GOTPAGEOFF]
Lloh76:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
LBB0_39:
	mov	w8, #1
	str	w8, [x20]
	str	w8, [x20, #8]
	b	LBB0_2
LBB0_40:
	add	x1, x19, #48
	ldr	w2, [sp, #28]
	mov	x0, x21
	bl	_PACKET_get_sub_packet
	cbz	w0, LBB0_44
; %bb.41:
	ldr	x1, [x19, #64]
	ldr	w2, [sp, #20]
	mov	x0, x21
	bl	_PACKET_copy_bytes
	cbz	w0, LBB0_44
; %bb.42:
	ldr	w2, [sp, #12]
	add	x1, sp, #8
	mov	x0, x21
	bl	_PACKET_get_sub_packet
	cbz	w0, LBB0_44
; %bb.43:
	mov	x0, x21
	bl	_PACKET_remaining
	cbz	x0, LBB0_46
LBB0_44:
Lloh77:
	adrp	x8, _SSL_R_RECORD_LENGTH_MISMATCH@GOTPAGE
Lloh78:
	ldr	x8, [x8, _SSL_R_RECORD_LENGTH_MISMATCH@GOTPAGEOFF]
Lloh79:
	adrp	x9, _SSL_AD_DECODE_ERROR@GOTPAGE
Lloh80:
	ldr	x9, [x9, _SSL_AD_DECODE_ERROR@GOTPAGEOFF]
	b	LBB0_54
LBB0_45:
	mov	x0, x1
	b	LBB0_49
LBB0_46:
	ldr	w8, [sp, #20]
	str	w8, [x19, #4]
Lloh81:
	adrp	x21, _SSL3_RANDOM_SIZE@GOTPAGE
Lloh82:
	ldr	x21, [x21, _SSL3_RANDOM_SIZE@GOTPAGEOFF]
	ldr	w8, [sp, #12]
	ldr	w2, [x21]
	cmp	w8, w2
	csel	w8, w8, w2, lo
	str	w8, [sp, #12]
	ldr	x0, [x19, #72]
	mov	w1, #0
	bl	_memset
	ldr	x8, [x19, #72]
	ldr	w9, [x21]
	ldr	w2, [sp, #12]
	add	x8, x8, x9
	sub	x1, x8, x2
	add	x0, sp, #8
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_PACKET_copy_bytes
	cbz	w0, LBB0_53
; %bb.47:
Lloh83:
	adrp	x1, _tls_process_client_hello.null_compression@PAGE
Lloh84:
	add	x1, x1, _tls_process_client_hello.null_compression@PAGEOFF
	add	x0, sp, #24
	mov	w2, #1
	bl	_PACKET_buf_init
	cbz	w0, LBB0_53
; %bb.48:
	add	x0, x19, #36
LBB0_49:
	bl	_PACKET_null_init
LBB0_50:
	ldr	x1, [x19, #40]
Lloh85:
	adrp	x8, _MAX_COMPRESSIONS_SIZE@GOTPAGE
Lloh86:
	ldr	x8, [x8, _MAX_COMPRESSIONS_SIZE@GOTPAGEOFF]
Lloh87:
	ldr	w2, [x8]
	add	x3, x19, #16
	add	x0, sp, #24
	bl	_PACKET_copy_all
	cbz	w0, LBB0_59
; %bb.51:
	ldr	w8, [x19, #36]
	str	w8, [sp, #20]
Lloh88:
	adrp	x8, _SSL_EXT_CLIENT_HELLO@GOTPAGE
Lloh89:
	ldr	x8, [x8, _SSL_EXT_CLIENT_HELLO@GOTPAGEOFF]
Lloh90:
	ldr	w2, [x8]
	add	x3, x19, #24
	add	x4, x19, #32
	add	x1, sp, #20
	mov	x0, x20
	mov	w5, #1
	bl	_tls_collect_extensions
	cbz	w0, LBB0_56
; %bb.52:
	str	x19, [x20, #24]
Lloh91:
	adrp	x8, _MSG_PROCESS_CONTINUE_PROCESSING@GOTPAGE
Lloh92:
	ldr	x8, [x8, _MSG_PROCESS_CONTINUE_PROCESSING@GOTPAGEOFF]
	b	LBB0_58
LBB0_53:
Lloh93:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh94:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh95:
	adrp	x9, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh96:
	ldr	x9, [x9, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
LBB0_54:
	ldr	w1, [x9]
Lloh97:
	adrp	x9, _SSL_F_TLS_PROCESS_CLIENT_HELLO@GOTPAGE
Lloh98:
	ldr	x9, [x9, _SSL_F_TLS_PROCESS_CLIENT_HELLO@GOTPAGEOFF]
Lloh99:
	ldr	w2, [x9]
LBB0_55:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_SSLfatal
LBB0_56:
	ldr	x0, [x19, #24]
	bl	_OPENSSL_free
LBB0_57:
	mov	x0, x19
	bl	_OPENSSL_free
Lloh100:
	adrp	x8, _MSG_PROCESS_ERROR@GOTPAGE
Lloh101:
	ldr	x8, [x8, _MSG_PROCESS_ERROR@GOTPAGEOFF]
LBB0_58:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_59:
Lloh102:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh103:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh104:
	ldr	w1, [x8]
Lloh105:
	adrp	x8, _SSL_F_TLS_PROCESS_CLIENT_HELLO@GOTPAGE
Lloh106:
	ldr	x8, [x8, _SSL_F_TLS_PROCESS_CLIENT_HELLO@GOTPAGEOFF]
Lloh107:
	ldr	w2, [x8]
Lloh108:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh109:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_55
LBB0_60:
	mov	x0, x19
	bl	_OPENSSL_free
	b	LBB0_20
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh95, Lloh96
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh97, Lloh98, Lloh99
	.loh AdrpLdrGot	Lloh100, Lloh101
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
_tls_process_client_hello.null_compression: ; @tls_process_client_hello.null_compression
	.byte	0                               ; 0x0

	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_TLS_PROCESS_CLIENT_HELLO,4,2 ; @SSL_F_TLS_PROCESS_CLIENT_HELLO
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_SSL_OP_NO_RENEGOTIATION,4,2    ; @SSL_OP_NO_RENEGOTIATION
	.comm	_SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION,4,2 ; @SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION
	.comm	_SSL3_AL_WARNING,4,2            ; @SSL3_AL_WARNING
	.comm	_SSL_AD_NO_RENEGOTIATION,4,2    ; @SSL_AD_NO_RENEGOTIATION
	.comm	_MSG_PROCESS_FINISHED_READING,4,2 ; @MSG_PROCESS_FINISHED_READING
	.comm	_SSL_HRR_NONE,8,3               ; @SSL_HRR_NONE
	.comm	_SSL_AD_UNEXPECTED_MESSAGE,4,2  ; @SSL_AD_UNEXPECTED_MESSAGE
	.comm	_SSL_R_UNEXPECTED_MESSAGE,4,2   ; @SSL_R_UNEXPECTED_MESSAGE
	.comm	_SSL2_MT_CLIENT_HELLO,4,2       ; @SSL2_MT_CLIENT_HELLO
	.comm	_SSL_AD_DECODE_ERROR,4,2        ; @SSL_AD_DECODE_ERROR
	.comm	_SSL_R_LENGTH_TOO_SHORT,4,2     ; @SSL_R_LENGTH_TOO_SHORT
	.comm	_SSL_R_RECORD_LENGTH_MISMATCH,4,2 ; @SSL_R_RECORD_LENGTH_MISMATCH
	.comm	_SSL_MAX_SSL_SESSION_ID_LENGTH,4,2 ; @SSL_MAX_SSL_SESSION_ID_LENGTH
	.comm	_SSL_AD_ILLEGAL_PARAMETER,4,2   ; @SSL_AD_ILLEGAL_PARAMETER
	.comm	_SSL_R_LENGTH_MISMATCH,4,2      ; @SSL_R_LENGTH_MISMATCH
	.comm	_SSL3_RANDOM_SIZE,4,2           ; @SSL3_RANDOM_SIZE
	.comm	_DTLS1_COOKIE_LENGTH,4,2        ; @DTLS1_COOKIE_LENGTH
	.comm	_SSL_OP_COOKIE_EXCHANGE,4,2     ; @SSL_OP_COOKIE_EXCHANGE
	.comm	_MAX_COMPRESSIONS_SIZE,4,2      ; @MAX_COMPRESSIONS_SIZE
	.comm	_SSL_EXT_CLIENT_HELLO,4,2       ; @SSL_EXT_CLIENT_HELLO
	.comm	_MSG_PROCESS_CONTINUE_PROCESSING,4,2 ; @MSG_PROCESS_CONTINUE_PROCESSING
	.comm	_MSG_PROCESS_ERROR,4,2          ; @MSG_PROCESS_ERROR
.subsections_via_symbols
