	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function watchccs_write
_watchccs_write:                        ## @watchccs_write
	.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
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	%rdi, %r14
	callq	_BIO_next
	xorl	%r15d, %r15d
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_52
## %bb.1:
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_52
## %bb.2:
	movq	%r14, %rdi
	callq	_BIO_clear_retry_flags
	leaq	-60(%rbp), %rdi
	movq	%r13, %rsi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_PACKET_buf_init
	testl	%eax, %eax
	je	LBB0_52
## %bb.3:
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	leaq	-60(%rbp), %rdi
	callq	_PACKET_remaining
	testq	%rax, %rax
	je	LBB0_39
## %bb.4:
	leaq	-60(%rbp), %r13
	leaq	-56(%rbp), %rbx
	movq	_TLS1_2_VERSION@GOTPCREL(%rip), %r12
	movq	_SSL3_RT_HANDSHAKE@GOTPCREL(%rip), %r15
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	callq	_PACKET_remaining
	testq	%rax, %rax
	leaq	-56(%rbp), %rbx
	je	LBB0_39
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	leaq	-84(%rbp), %rsi
	callq	_PACKET_get_1
	testl	%eax, %eax
	je	LBB0_51
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	-80(%rbp), %rsi
	callq	_PACKET_get_net_2
	testl	%eax, %eax
	je	LBB0_51
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_PACKET_get_length_prefixed_2
	testl	%eax, %eax
	je	LBB0_51
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%r12), %ebx
	movl	-84(%rbp), %eax
	cmpl	(%r15), %eax
	jne	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %r14
	movq	%r13, %r15
	leaq	-56(%rbp), %r13
	movq	%r13, %rdi
	leaq	-76(%rbp), %rsi
	callq	_PACKET_get_1
	testl	%eax, %eax
	je	LBB0_51
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	%ebx, %r12d
	movq	%r13, %rdi
	leaq	-108(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_PACKET_get_length_prefixed_3
	testl	%eax, %eax
	je	LBB0_51
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	-76(%rbp), %eax
	movq	_SSL3_MT_CLIENT_HELLO@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_27
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_chseen@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%rbx, %rdi
	movl	$34, %esi
	callq	_PACKET_forward
	testl	%eax, %eax
	je	LBB0_51
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_PACKET_get_length_prefixed_1
	testl	%eax, %eax
	je	LBB0_51
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_chseen@GOTPCREL(%rip), %rax
	cmpl	$1, (%rax)
	jne	LBB0_30
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_TLS1_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rbx, %rdi
	callq	_PACKET_remaining
	movq	_chsessidlen@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_chsessid@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	movl	%r12d, %ebx
	movq	%rax, %rdx
	callq	_PACKET_copy_bytes
	testl	%eax, %eax
	movq	%r15, %r13
	movq	%r14, %r12
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	_SSL3_RT_HANDSHAKE@GOTPCREL(%rip), %r15
	jne	LBB0_37
	jmp	LBB0_51
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_SSL3_RT_CHANGE_CIPHER_SPEC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_24
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_s_to_c_fbio@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	je	LBB0_34
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_cappdataseen@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	_badccs@GOTPCREL(%rip), %rcx
	jne	LBB0_36
## %bb.20:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_shseen@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$1, %eax
	jne	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_ccsaftersh@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_36
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_ccsbeforesh@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jne	LBB0_35
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_SSL3_RT_APPLICATION_DATA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_37
## %bb.25:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_cappdataseen@GOTPCREL(%rip), %rcx
	movq	_s_to_c_fbio@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_36
## %bb.26:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_sappdataseen@GOTPCREL(%rip), %rcx
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_SSL3_MT_SERVER_HELLO@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_33
## %bb.28:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_shseen@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%rbx, %rdi
	movl	$34, %esi
	callq	_PACKET_forward
	testl	%eax, %eax
	je	LBB0_51
## %bb.29:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_PACKET_get_length_prefixed_1
	testl	%eax, %eax
	je	LBB0_51
LBB0_30:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_PACKET_remaining
	movq	_badsessid@GOTPCREL(%rip), %rcx
	movq	_chsessidlen@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	movq	%r15, %r13
	movq	%r14, %rdx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	_SSL3_RT_HANDSHAKE@GOTPCREL(%rip), %r15
	movl	%r12d, %ebx
	movq	%rdx, %r12
	jne	LBB0_36
## %bb.31:                              ##   in Loop: Header=BB0_6 Depth=1
	testq	%rax, %rax
	jle	LBB0_37
## %bb.32:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_chsessid@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	leaq	-48(%rbp), %rdi
	callq	_PACKET_data
	movq	_chsessidlen@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	callq	_memcmp
	movq	_badsessid@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	jne	LBB0_36
	jmp	LBB0_37
LBB0_33:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r15, %r13
	movq	%r14, %rax
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	_SSL3_RT_HANDSHAKE@GOTPCREL(%rip), %r15
	movl	%r12d, %ebx
	movq	%rax, %r12
	jmp	LBB0_37
LBB0_34:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_chseen@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_shseen@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	$1, %ecx
	movq	_sccsseen@GOTPCREL(%rip), %rsi
	orl	(%rsi), %ecx
	xorl	$1, %eax
	movq	_sappdataseen@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	orl	%ecx, %eax
	movq	%rsi, %rcx
	je	LBB0_36
LBB0_35:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_badccs@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$1, (%rcx)
LBB0_37:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%ebx, -80(%rbp)
	je	LBB0_5
## %bb.38:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_badvers@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_5
LBB0_51:
	xorl	%r15d, %r15d
	jmp	LBB0_52
LBB0_39:
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_BIO_write
	movl	%eax, %r15d
	testl	%eax, %eax
	jg	LBB0_52
## %bb.40:
	movq	%rbx, %rdi
	callq	_BIO_should_write
	testq	%rax, %rax
	je	LBB0_52
## %bb.41:
	movq	%r14, %rdi
	callq	_BIO_set_retry_write
LBB0_52:
	movl	%r15d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TLS1_2_VERSION,4,2             ## @TLS1_2_VERSION
	.comm	_SSL3_RT_HANDSHAKE,4,2          ## @SSL3_RT_HANDSHAKE
	.comm	_SSL3_MT_CLIENT_HELLO,4,2       ## @SSL3_MT_CLIENT_HELLO
	.comm	_chseen,4,2                     ## @chseen
	.comm	_TLS1_VERSION,4,2               ## @TLS1_VERSION
	.comm	_chsessidlen,8,3                ## @chsessidlen
	.comm	_chsessid,4,2                   ## @chsessid
	.comm	_badsessid,4,2                  ## @badsessid
	.comm	_SSL3_MT_SERVER_HELLO,4,2       ## @SSL3_MT_SERVER_HELLO
	.comm	_shseen,4,2                     ## @shseen
	.comm	_SSL3_RT_CHANGE_CIPHER_SPEC,4,2 ## @SSL3_RT_CHANGE_CIPHER_SPEC
	.comm	_s_to_c_fbio,8,3                ## @s_to_c_fbio
	.comm	_sappdataseen,4,2               ## @sappdataseen
	.comm	_sccsseen,4,2                   ## @sccsseen
	.comm	_badccs,4,2                     ## @badccs
	.comm	_cappdataseen,4,2               ## @cappdataseen
	.comm	_ccsaftersh,4,2                 ## @ccsaftersh
	.comm	_ccsbeforesh,4,2                ## @ccsbeforesh
	.comm	_SSL3_RT_APPLICATION_DATA,4,2   ## @SSL3_RT_APPLICATION_DATA
	.comm	_badvers,4,2                    ## @badvers
	.no_dead_strip	_watchccs_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function watchccs_write
_watchccs_write:                        ; @watchccs_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	bl	_BIO_next
	mov	w23, #0
	cmp	w21, #1
	b.lt	LBB0_39
; %bb.1:
	mov	x20, x0
	cbz	x0, LBB0_39
; %bb.2:
	mov	x0, x19
	bl	_BIO_clear_retry_flags
	add	x0, sp, #28
	mov	x1, x22
	mov	x2, x21
	bl	_PACKET_buf_init
	cbz	w0, LBB0_35
; %bb.3:
	add	x0, sp, #28
	bl	_PACKET_remaining
	cbz	x0, LBB0_36
; %bb.4:
Lloh0:
	adrp	x24, _TLS1_2_VERSION@GOTPAGE
Lloh1:
	ldr	x24, [x24, _TLS1_2_VERSION@GOTPAGEOFF]
Lloh2:
	adrp	x25, _SSL3_RT_HANDSHAKE@GOTPAGE
Lloh3:
	ldr	x25, [x25, _SSL3_RT_HANDSHAKE@GOTPAGEOFF]
Lloh4:
	adrp	x23, _SSL3_MT_CLIENT_HELLO@GOTPAGE
Lloh5:
	ldr	x23, [x23, _SSL3_MT_CLIENT_HELLO@GOTPAGEOFF]
Lloh6:
	adrp	x27, _chseen@GOTPAGE
Lloh7:
	ldr	x27, [x27, _chseen@GOTPAGEOFF]
Lloh8:
	adrp	x26, _TLS1_VERSION@GOTPAGE
Lloh9:
	ldr	x26, [x26, _TLS1_VERSION@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #28
	bl	_PACKET_remaining
	cbz	x0, LBB0_36
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #28
	add	x1, sp, #12
	bl	_PACKET_get_1
	cbz	w0, LBB0_35
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #28
	add	x1, sp, #8
	bl	_PACKET_get_net_2
	cbz	w0, LBB0_35
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #28
	add	x1, sp, #24
	bl	_PACKET_get_length_prefixed_2
	cbz	w0, LBB0_35
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w28, [x24]
	ldr	w8, [sp, #12]
	ldr	w9, [x25]
	cmp	w8, w9
	b.ne	LBB0_17
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #24
	add	x1, sp, #4
	bl	_PACKET_get_1
	cbz	w0, LBB0_35
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #24
	add	x1, sp, #20
	bl	_PACKET_get_length_prefixed_3
	cbz	w0, LBB0_35
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [sp, #4]
	ldr	w9, [x23]
	cmp	w8, w9
	b.ne	LBB0_25
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x27]
	add	w8, w8, #1
	str	w8, [x27]
	add	x0, sp, #20
	mov	w1, #34
	bl	_PACKET_forward
	cbz	w0, LBB0_35
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #20
	add	x1, sp, #16
	bl	_PACKET_get_length_prefixed_1
	cbz	w0, LBB0_35
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x27]
	cmp	w8, #1
	b.ne	LBB0_28
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w28, [x26]
	add	x0, sp, #16
	bl	_PACKET_remaining
	mov	x2, x0
Lloh10:
	adrp	x8, _chsessidlen@GOTPAGE
Lloh11:
	ldr	x8, [x8, _chsessidlen@GOTPAGEOFF]
Lloh12:
	str	x0, [x8]
Lloh13:
	adrp	x8, _chsessid@GOTPAGE
Lloh14:
	ldr	x8, [x8, _chsessid@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	add	x0, sp, #16
	bl	_PACKET_copy_bytes
	cbnz	w0, LBB0_33
	b	LBB0_35
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh16:
	adrp	x9, _SSL3_RT_CHANGE_CIPHER_SPEC@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SSL3_RT_CHANGE_CIPHER_SPEC@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh19:
	adrp	x8, _s_to_c_fbio@GOTPAGE
Lloh20:
	ldr	x8, [x8, _s_to_c_fbio@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x8, x19
	b.eq	LBB0_31
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh22:
	adrp	x8, _cappdataseen@GOTPAGE
Lloh23:
	ldr	x8, [x8, _cappdataseen@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x8]
Lloh25:
	adrp	x8, _badccs@GOTPAGE
Lloh26:
	ldr	x8, [x8, _badccs@GOTPAGEOFF]
	cbnz	w9, LBB0_32
; %bb.20:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh27:
	adrp	x8, _shseen@GOTPAGE
Lloh28:
	ldr	x8, [x8, _shseen@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x8]
	cmp	w9, #1
	b.ne	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh30:
	adrp	x8, _ccsaftersh@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ccsaftersh@GOTPAGEOFF]
	ldr	w10, [x8]
	cbz	w10, LBB0_32
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh32:
	adrp	x10, _ccsbeforesh@GOTPAGE
Lloh33:
	ldr	x10, [x10, _ccsbeforesh@GOTPAGEOFF]
	ldr	w8, [x10]
	orr	w8, w9, w8
	cmp	w8, #0
Lloh34:
	adrp	x8, _badccs@GOTPAGE
Lloh35:
	ldr	x8, [x8, _badccs@GOTPAGEOFF]
	csel	x8, x8, x10, ne
	b	LBB0_32
LBB0_23:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh36:
	adrp	x9, _SSL3_RT_APPLICATION_DATA@GOTPAGE
Lloh37:
	ldr	x9, [x9, _SSL3_RT_APPLICATION_DATA@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_33
; %bb.24:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh39:
	adrp	x8, _s_to_c_fbio@GOTPAGE
Lloh40:
	ldr	x8, [x8, _s_to_c_fbio@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	cmp	x8, x19
Lloh42:
	adrp	x8, _sappdataseen@GOTPAGE
Lloh43:
	ldr	x8, [x8, _sappdataseen@GOTPAGEOFF]
Lloh44:
	adrp	x9, _cappdataseen@GOTPAGE
Lloh45:
	ldr	x9, [x9, _cappdataseen@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	b	LBB0_32
LBB0_25:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh46:
	adrp	x9, _SSL3_MT_SERVER_HELLO@GOTPAGE
Lloh47:
	ldr	x9, [x9, _SSL3_MT_SERVER_HELLO@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_33
; %bb.26:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh49:
	adrp	x9, _shseen@GOTPAGE
Lloh50:
	ldr	x9, [x9, _shseen@GOTPAGEOFF]
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
	add	x0, sp, #20
	mov	w1, #34
	bl	_PACKET_forward
	cbz	w0, LBB0_35
; %bb.27:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #20
	add	x1, sp, #16
	bl	_PACKET_get_length_prefixed_1
	cbz	w0, LBB0_35
LBB0_28:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x0, sp, #16
	bl	_PACKET_remaining
Lloh51:
	adrp	x8, _chsessidlen@GOTPAGE
Lloh52:
	ldr	x8, [x8, _chsessidlen@GOTPAGEOFF]
Lloh53:
	ldr	x9, [x8]
Lloh54:
	adrp	x8, _badsessid@GOTPAGE
Lloh55:
	ldr	x8, [x8, _badsessid@GOTPAGEOFF]
	cmp	x0, x9
	b.ne	LBB0_32
; %bb.29:                               ;   in Loop: Header=BB0_6 Depth=1
	cmp	x0, #1
	b.lt	LBB0_33
; %bb.30:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x26, x25
	mov	x25, x24
	mov	x24, x27
	mov	x27, x23
Lloh56:
	adrp	x8, _chsessid@GOTPAGE
Lloh57:
	ldr	x8, [x8, _chsessid@GOTPAGEOFF]
Lloh58:
	ldr	w23, [x8]
	add	x0, sp, #16
	bl	_PACKET_data
	mov	x1, x0
Lloh59:
	adrp	x8, _chsessidlen@GOTPAGE
Lloh60:
	ldr	x8, [x8, _chsessidlen@GOTPAGEOFF]
Lloh61:
	ldr	x2, [x8]
	mov	x0, x23
	mov	x23, x27
	mov	x27, x24
	mov	x24, x25
	mov	x25, x26
Lloh62:
	adrp	x26, _TLS1_VERSION@GOTPAGE
Lloh63:
	ldr	x26, [x26, _TLS1_VERSION@GOTPAGEOFF]
	bl	_memcmp
Lloh64:
	adrp	x8, _badsessid@GOTPAGE
Lloh65:
	ldr	x8, [x8, _badsessid@GOTPAGEOFF]
	cbnz	x0, LBB0_32
	b	LBB0_33
LBB0_31:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh66:
	adrp	x8, _sappdataseen@GOTPAGE
Lloh67:
	ldr	x8, [x8, _sappdataseen@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
	ldr	w9, [x27]
Lloh69:
	adrp	x10, _shseen@GOTPAGE
Lloh70:
	ldr	x10, [x10, _shseen@GOTPAGEOFF]
Lloh71:
	ldr	w10, [x10]
Lloh72:
	adrp	x12, _sccsseen@GOTPAGE
Lloh73:
	ldr	x12, [x12, _sccsseen@GOTPAGEOFF]
	ldr	w11, [x12]
	cmp	w11, #0
	ccmp	w10, #1, #0, eq
	ccmp	w9, #1, #0, eq
	ccmp	w8, #0, #0, eq
Lloh74:
	adrp	x8, _badccs@GOTPAGE
Lloh75:
	ldr	x8, [x8, _badccs@GOTPAGEOFF]
	csel	x8, x8, x12, ne
LBB0_32:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w9, #1
	str	w9, [x8]
LBB0_33:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [sp, #8]
	cmp	w8, w28
	b.eq	LBB0_5
; %bb.34:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh76:
	adrp	x8, _badvers@GOTPAGE
Lloh77:
	ldr	x8, [x8, _badvers@GOTPAGEOFF]
	mov	w9, #1
Lloh78:
	str	w9, [x8]
	b	LBB0_5
LBB0_35:
	mov	w23, #0
	b	LBB0_39
LBB0_36:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_BIO_write
	mov	x23, x0
	cmp	w0, #0
	b.gt	LBB0_39
; %bb.37:
	mov	x0, x20
	bl	_BIO_should_write
	cbz	x0, LBB0_39
; %bb.38:
	mov	x0, x19
	bl	_BIO_set_retry_write
LBB0_39:
	mov	x0, x23
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotStr	Lloh76, Lloh77, Lloh78
	.cfi_endproc
                                        ; -- End function
	.comm	_TLS1_2_VERSION,4,2             ; @TLS1_2_VERSION
	.comm	_SSL3_RT_HANDSHAKE,4,2          ; @SSL3_RT_HANDSHAKE
	.comm	_SSL3_MT_CLIENT_HELLO,4,2       ; @SSL3_MT_CLIENT_HELLO
	.comm	_chseen,4,2                     ; @chseen
	.comm	_TLS1_VERSION,4,2               ; @TLS1_VERSION
	.comm	_chsessidlen,8,3                ; @chsessidlen
	.comm	_chsessid,4,2                   ; @chsessid
	.comm	_badsessid,4,2                  ; @badsessid
	.comm	_SSL3_MT_SERVER_HELLO,4,2       ; @SSL3_MT_SERVER_HELLO
	.comm	_shseen,4,2                     ; @shseen
	.comm	_SSL3_RT_CHANGE_CIPHER_SPEC,4,2 ; @SSL3_RT_CHANGE_CIPHER_SPEC
	.comm	_s_to_c_fbio,8,3                ; @s_to_c_fbio
	.comm	_sappdataseen,4,2               ; @sappdataseen
	.comm	_sccsseen,4,2                   ; @sccsseen
	.comm	_badccs,4,2                     ; @badccs
	.comm	_cappdataseen,4,2               ; @cappdataseen
	.comm	_ccsaftersh,4,2                 ; @ccsaftersh
	.comm	_ccsbeforesh,4,2                ; @ccsbeforesh
	.comm	_SSL3_RT_APPLICATION_DATA,4,2   ; @SSL3_RT_APPLICATION_DATA
	.comm	_badvers,4,2                    ; @badvers
	.no_dead_strip	_watchccs_write
.subsections_via_symbols
