	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_server_reader              ## -- Begin function tcp_server_reader
	.p2align	4, 0x90
_tcp_server_reader:                     ## @tcp_server_reader
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	104(%rdi), %r12
	leaq	64(%rdi), %rax
	cmpq	$0, (%rdi)
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	cmoveq	%rax, %r12
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	_tcp_recv_iovec@GOTPCREL(%rip), %r12
	xorl	%eax, %eax
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
                                        ##       Child Loop BB0_42 Depth 3
                                        ##       Child Loop BB0_45 Depth 3
                                        ##     Child Loop BB0_66 Depth 2
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=2
	movl	%r15d, %r8d
	subl	%ecx, %r8d
	testl	%r15d, %r15d
	cmovel	%r15d, %r8d
	movl	$1, %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_vkprintf
	testl	%r15d, %r15d
	je	LBB0_60
LBB0_3:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_42 Depth 3
                                        ##       Child Loop BB0_45 Depth 3
	movl	8(%rbx), %ecx
	movq	_C_WANTRD@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=2
	movq	_C_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_C_NORD@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movq	_C_STOPREAD@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	testl	%ecx, %eax
	je	LBB0_7
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=2
	xorl	%eax, %eax
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=2
	cmpq	$0, 48(%rbx)
	sete	%al
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=2
	movq	_C_REPARSE@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=2
	movl	12(%rbx), %ecx
	movq	_conn_expect_query@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_15
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=2
	movq	_conn_reading_query@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=2
	movq	_conn_wait_answer@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_15
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=2
	movq	_conn_reading_answer@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=2
	xorl	%ecx, %ecx
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=2
	cmpl	$0, 16(%rbx)
	sete	%cl
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=2
	orb	%al, %cl
	cmpb	$1, %cl
	jne	LBB0_81
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=2
	testb	%al, %al
	je	LBB0_56
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=2
	movl	12(%rbx), %eax
	movq	_conn_write_close@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_82
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=2
	movq	_tcp_recv_buffers_num@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=2
	xorl	%eax, %eax
	callq	_prealloc_tcp_buffers
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=2
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	testq	%rax, %rax
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_3 Depth=2
	cmpq	$0, 8(%rax)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_3 Depth=2
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_fork_message_chain
LBB0_24:                                ##   in Loop: Header=BB0_3 Depth=2
	movq	24(%rbx), %rax
	movq	_ct_pipe@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_3 Depth=2
	movq	(%r12), %rax
	movl	8(%rax), %r14d
	movl	12(%rax), %esi
	movl	32(%rbx), %edi
	movl	%r14d, %edx
	callq	_read
	movl	%eax, %r13d
	movl	$1, %r15d
	cmpl	%r14d, %r13d
	jl	LBB0_30
	jmp	LBB0_31
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_3 Depth=2
	movq	_tcp_recv_buffers_total_size@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rcx
	movl	$1, %r15d
	testq	%rcx, %rcx
	je	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_3 Depth=2
	movq	(%rax), %rax
	movq	16(%rcx), %rcx
	movq	8(%rcx), %rdx
	movq	(%rdx), %rdx
	cmpq	%rax, %rdx
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_3 Depth=2
	subl	%eax, %edx
	movq	_tcp_recv_iovec@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movl	%edx, (%rsi)
	addl	(%rcx), %eax
	movl	%eax, 4(%rsi)
	xorl	%r15d, %r15d
LBB0_29:                                ##   in Loop: Header=BB0_3 Depth=2
	movl	%r15d, %edx
	leaq	(,%rdx,8), %rsi
	movq	_tcp_recv_iovec@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movl	32(%rbx), %edi
	xorq	$1, %rdx
	movq	_MAX_TCP_RECV_BUFFERS@GOTPCREL(%rip), %rax
	addq	(%rax), %rdx
	callq	_readv
	movl	%eax, %r13d
	cmpl	%r14d, %r13d
	jge	LBB0_31
LBB0_30:                                ##   in Loop: Header=BB0_3 Depth=2
	movq	_C_NORD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rbx)
LBB0_31:                                ##   in Loop: Header=BB0_3 Depth=2
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_3 Depth=2
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	32(%rbx), %edx
	xorl	%r9d, %r9d
	cmpq	$0, (%rbx)
	setne	%r9b
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %ecx
	movl	%r14d, %r8d
	xorl	%eax, %eax
	callq	_fprintf
	testl	%r13d, %r13d
	js	LBB0_58
LBB0_33:                                ##   in Loop: Header=BB0_3 Depth=2
	testl	%r13d, %r13d
	jle	LBB0_57
## %bb.34:                              ##   in Loop: Header=BB0_3 Depth=2
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	16(%r14), %rax
	testq	%rax, %rax
	je	LBB0_38
## %bb.35:                              ##   in Loop: Header=BB0_3 Depth=2
	movslq	(%rax), %rcx
	movslq	4(%rax), %rax
	addq	%rcx, %rax
	xorl	%edi, %edi
	cmpq	%rax, (%r14)
	sete	%dil
	callq	_assert
	testl	%r15d, %r15d
	je	LBB0_39
## %bb.36:                              ##   in Loop: Header=BB0_3 Depth=2
	movq	16(%r14), %r14
	movl	$1, %r15d
	testq	%r14, %r14
	jne	LBB0_40
## %bb.37:                              ##   in Loop: Header=BB0_3 Depth=2
	xorl	%edi, %edi
	callq	_assert
	movl	$1, %r15d
	movq	_tcp_recv_iovec@GOTPCREL(%rip), %r12
	movq	_tcp_recv_buffers@GOTPCREL(%rip), %r14
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_3 Depth=2
	movl	%r15d, %edi
	callq	_assert
	movq	_tcp_recv_buffers@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, %r12d
	movq	-8(%rax,%r12,8), %rsi
	xorl	%edi, %edi
	callq	_new_msg_part
	movq	%r14, %rbx
	movq	%rax, %r14
	movq	_tcp_recv_buffers@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-8(%rax,%r12,8), %rax
	movl	(%rax), %eax
	movq	_tcp_recv_iovec@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	xorl	%edi, %edi
	cmpl	4(%rcx,%r12,8), %eax
	sete	%dil
	callq	_assert
	movl	$0, (%r14)
	movq	_tcp_recv_iovec@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax,%r12,8), %eax
	cmpl	%eax, %r13d
	cmovll	%r13d, %eax
	movl	%eax, 4(%r14)
	subl	%eax, %r13d
	movq	%r14, 16(%rbx)
	movq	%r14, 32(%rbx)
	movl	%eax, 8(%rbx)
	movq	$0, 24(%rbx)
	cltq
	movq	%rax, (%rbx)
	incl	%r15d
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_3 Depth=2
	movq	_tcp_recv_iovec@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r13d
	cmovll	%r13d, %eax
	movq	%r14, %rcx
	movq	16(%r14), %r14
	addl	%eax, 4(%r14)
	addl	%eax, 8(%rcx)
	cltq
	addq	%rax, (%rcx)
	subl	%eax, %r13d
	movl	$1, %r15d
LBB0_40:                                ##   in Loop: Header=BB0_3 Depth=2
	xorl	%edi, %edi
	cmpq	$0, 8(%r14)
	sete	%dil
	callq	_assert
	testl	%r13d, %r13d
	movq	_tcp_recv_iovec@GOTPCREL(%rip), %r12
	movq	_tcp_recv_buffers@GOTPCREL(%rip), %r14
	jle	LBB0_43
LBB0_41:                                ##   in Loop: Header=BB0_3 Depth=2
	movl	%r15d, %r15d
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_42:                                ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_3 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	(%r14), %rax
	movq	-8(%rax,%r15,8), %rsi
	xorl	%edi, %edi
	callq	_new_msg_part
	movl	$0, (%rax)
	movq	(%r12), %rcx
	movl	(%rcx,%r15,8), %ecx
	cmpl	%ecx, %r13d
	cmovll	%r13d, %ecx
	movl	%ecx, 4(%rax)
	movq	16(%rbx), %rdx
	movq	%rax, 8(%rdx)
	addl	%ecx, 8(%rbx)
	incq	%r15
	movq	%rax, 16(%rbx)
	movslq	%ecx, %rax
	movq	%rax, (%rbx)
	subl	%ecx, %r13d
	jg	LBB0_42
LBB0_43:                                ##   in Loop: Header=BB0_3 Depth=2
	xorl	%edi, %edi
	testl	%r13d, %r13d
	sete	%dil
	callq	_assert
	cmpl	$2, %r15d
	jl	LBB0_47
## %bb.44:                              ##   in Loop: Header=BB0_3 Depth=2
	decl	%r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_45:                                ##   Parent Loop BB0_1 Depth=1
                                        ##     Parent Loop BB0_3 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	movq	_TCP_RECV_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_alloc_msg_buffer
	testq	%rax, %rax
	je	LBB0_88
## %bb.46:                              ##   in Loop: Header=BB0_45 Depth=3
	movq	(%r14), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movl	(%rax), %ecx
	movq	(%r12), %rdx
	movl	%ecx, 12(%rdx,%rbx,8)
	movq	8(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdx,%rbx,8)
	leaq	1(%rbx), %rax
	movq	%rax, %rbx
	cmpq	%rax, %r15
	jne	LBB0_45
LBB0_47:                                ##   in Loop: Header=BB0_3 Depth=2
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	16(%rbx), %r15d
	testl	%r15d, %r15d
	je	LBB0_60
## %bb.48:                              ##   in Loop: Header=BB0_3 Depth=2
	cmpq	$0, (%rbx)
	je	LBB0_50
## %bb.49:                              ##   in Loop: Header=BB0_3 Depth=2
	movq	40(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	shrq	$63, %rax
	xorl	$1, %eax
	movl	%eax, %edi
	callq	_assert
LBB0_50:                                ##   in Loop: Header=BB0_3 Depth=2
	movl	72(%rbx), %ecx
	testl	%r15d, %r15d
	js	LBB0_53
## %bb.51:                              ##   in Loop: Header=BB0_3 Depth=2
	cmpl	%r15d, %ecx
	jl	LBB0_2
## %bb.52:                              ##   in Loop: Header=BB0_3 Depth=2
	movl	$0, 16(%rbx)
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_53:                                ##   in Loop: Header=BB0_3 Depth=2
	movl	%r15d, %r14d
	negl	%r14d
	cmpl	%r14d, %ecx
	cmovll	%ecx, %r14d
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	%r14d, %edx
	callq	_rwm_fetch_data
	addl	%r14d, %r15d
	movl	%r15d, 16(%rbx)
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jl	LBB0_55
## %bb.54:                              ##   in Loop: Header=BB0_3 Depth=2
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r15d, %ecx
	negl	%ecx
	leaq	L_.str.3(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_55:                                ##   in Loop: Header=BB0_3 Depth=2
	testl	%r15d, %r15d
	movq	_tcp_recv_iovec@GOTPCREL(%rip), %r12
	jne	LBB0_3
	jmp	LBB0_60
LBB0_56:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	$2147483647, %r13d              ## imm = 0x7FFFFFFF
	cmpq	$0, (%rbx)
	jne	LBB0_61
	jmp	LBB0_62
LBB0_58:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_80
## %bb.59:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_tcp_recv_iovec@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_60:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, (%rbx)
	je	LBB0_62
LBB0_61:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	40(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	shrq	$63, %rax
	xorl	$1, %eax
	movl	%eax, %edi
	callq	_assert
LBB0_62:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 16(%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	je	LBB0_66
LBB0_63:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%r13d, %r13d
	jg	LBB0_1
	jmp	LBB0_83
	.p2align	4, 0x90
LBB0_64:                                ##   in Loop: Header=BB0_66 Depth=2
	cmpq	$0, 48(%rbx)
	movq	_tcp_recv_iovec@GOTPCREL(%rip), %r12
	jne	LBB0_87
LBB0_65:                                ##   in Loop: Header=BB0_66 Depth=2
	cmpl	$0, 16(%rbx)
	jne	LBB0_63
LBB0_66:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	12(%rbx), %edx
	movq	_conn_expect_query@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	je	LBB0_70
## %bb.67:                              ##   in Loop: Header=BB0_66 Depth=2
	movq	_conn_reading_query@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	je	LBB0_70
## %bb.68:                              ##   in Loop: Header=BB0_66 Depth=2
	movq	_conn_wait_answer@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	je	LBB0_70
## %bb.69:                              ##   in Loop: Header=BB0_66 Depth=2
	movq	_conn_reading_answer@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %edx
	jne	LBB0_63
LBB0_70:                                ##   in Loop: Header=BB0_66 Depth=2
	movq	_C_REPARSE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, 8(%rbx)
	cmpl	$0, 72(%rbx)
	je	LBB0_86
## %bb.71:                              ##   in Loop: Header=BB0_66 Depth=2
	leal	-1(%rdx), %r14d
	orl	$1, %r14d
	cmpl	%r14d, %edx
	jne	LBB0_73
## %bb.72:                              ##   in Loop: Header=BB0_66 Depth=2
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	$0, 56(%rcx)
	incl	%edx
	movl	%edx, 12(%rcx)
LBB0_73:                                ##   in Loop: Header=BB0_66 Depth=2
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	40(%rbx), %rax
	movq	%rbx, %rdi
	callq	*16(%rax)
	testl	%eax, %eax
	je	LBB0_75
## %bb.74:                              ##   in Loop: Header=BB0_66 Depth=2
	movq	_NEED_MORE_BYTES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	movq	_tcp_recv_iovec@GOTPCREL(%rip), %r12
	je	LBB0_65
	jmp	LBB0_77
	.p2align	4, 0x90
LBB0_75:                                ##   in Loop: Header=BB0_66 Depth=2
	movl	12(%rbx), %ecx
	incl	%r14d
	cmpl	%r14d, %ecx
	jne	LBB0_64
## %bb.76:                              ##   in Loop: Header=BB0_66 Depth=2
	decl	%ecx
	movl	%ecx, 12(%rbx)
	jmp	LBB0_64
LBB0_77:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	72(%rbx), %ecx
	testl	%eax, %eax
	js	LBB0_79
## %bb.78:                              ##   in Loop: Header=BB0_1 Depth=1
	addl	%ecx, %eax
	movl	%eax, 16(%rbx)
	jmp	LBB0_63
LBB0_79:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%edi, %edi
	testl	%ecx, %ecx
	sete	%dil
	movl	%eax, %r15d
	callq	_assert
	movl	%r15d, %eax
	movl	72(%rbx), %ecx
	subl	%ecx, %eax
	movl	%eax, 16(%rbx)
	jmp	LBB0_63
LBB0_80:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_perror
LBB0_57:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_tcp_recv_iovec@GOTPCREL(%rip), %r12
	cmpq	$0, (%rbx)
	jne	LBB0_61
	jmp	LBB0_62
LBB0_81:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpq	$0, (%rbx)
	jne	LBB0_84
	jmp	LBB0_85
LBB0_82:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_rwm_clear
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_rwm_clear
	movq	_C_WANTRD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, 8(%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_83:
	cmpq	$0, (%rbx)
	je	LBB0_85
LBB0_84:
	movq	40(%rbx), %rcx
	movq	%rbx, %rdi
	movl	%eax, %ebx
	callq	*8(%rcx)
	shrq	$63, %rax
	xorl	$1, %eax
	movl	%eax, %edi
	callq	_assert
	movl	%ebx, %eax
LBB0_85:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_86:
	xorl	%eax, %eax
	cmpq	$0, (%rbx)
	jne	LBB0_84
	jmp	LBB0_85
LBB0_87:
	movl	$-1, %eax
	jmp	LBB0_85
LBB0_88:
	leaq	L_.str.2(%rip), %rsi
	xorl	%edi, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movl	$2, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_C_WANTRD,4,2                   ## @C_WANTRD
	.comm	_C_NORD,4,2                     ## @C_NORD
	.comm	_C_FAILED,4,2                   ## @C_FAILED
	.comm	_C_STOPREAD,4,2                 ## @C_STOPREAD
	.comm	_C_REPARSE,4,2                  ## @C_REPARSE
	.comm	_conn_expect_query,4,2          ## @conn_expect_query
	.comm	_conn_reading_query,4,2         ## @conn_reading_query
	.comm	_conn_wait_answer,4,2           ## @conn_wait_answer
	.comm	_conn_reading_answer,4,2        ## @conn_reading_answer
	.comm	_conn_write_close,4,2           ## @conn_write_close
	.comm	_tcp_recv_buffers_num,4,2       ## @tcp_recv_buffers_num
	.comm	_ct_pipe,8,3                    ## @ct_pipe
	.comm	_tcp_recv_buffers_total_size,4,2 ## @tcp_recv_buffers_total_size
	.comm	_tcp_recv_iovec,8,3             ## @tcp_recv_iovec
	.comm	_MAX_TCP_RECV_BUFFERS,8,3       ## @MAX_TCP_RECV_BUFFERS
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"recv() from %d: %d read out of %d. Crypto = %d\n"

	.comm	_errno,8,3                      ## @errno
	.comm	_EAGAIN,8,3                     ## @EAGAIN
L_.str.1:                               ## @.str.1
	.asciz	"recv()"

	.comm	_tcp_recv_buffers,8,3           ## @tcp_recv_buffers
	.comm	_TCP_RECV_BUFFER_SIZE,4,2       ## @TCP_RECV_BUFFER_SIZE
L_.str.2:                               ## @.str.2
	.asciz	"**FATAL**: cannot allocate udp receive buffer\n"

L_.str.3:                               ## @.str.3
	.asciz	"skipped %d bytes, %d more to skip\n"

L_.str.4:                               ## @.str.4
	.asciz	"fetched %d bytes, %d available bytes, %d more to load\n"

	.comm	_NEED_MORE_BYTES,4,2            ## @NEED_MORE_BYTES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcp_server_reader              ; -- Begin function tcp_server_reader
	.p2align	2
_tcp_server_reader:                     ; @tcp_server_reader
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x0
	str	wzr, [sp, #36]                  ; 4-byte Folded Spill
	mov	x9, x0
	ldr	x8, [x9], #64
Lloh0:
	adrp	x22, _C_WANTRD@GOTPAGE
Lloh1:
	ldr	x22, [x22, _C_WANTRD@GOTPAGEOFF]
Lloh2:
	adrp	x20, _C_REPARSE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _C_REPARSE@GOTPAGEOFF]
	add	x10, x0, #104
	cmp	x8, #0
	str	x9, [sp, #40]                   ; 8-byte Folded Spill
	str	x10, [sp, #24]                  ; 8-byte Folded Spill
	csel	x23, x9, x10, eq
Lloh4:
	adrp	x24, _tcp_recv_iovec@GOTPAGE
Lloh5:
	ldr	x24, [x24, _tcp_recv_iovec@GOTPAGEOFF]
Lloh6:
	adrp	x21, _tcp_recv_buffers@GOTPAGE
Lloh7:
	ldr	x21, [x21, _tcp_recv_buffers@GOTPAGEOFF]
Lloh8:
	adrp	x27, _TCP_RECV_BUFFER_SIZE@GOTPAGE
Lloh9:
	ldr	x27, [x27, _TCP_RECV_BUFFER_SIZE@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	sub	w9, w26, w8
	cmp	w26, #0
	csel	w9, wzr, w9, eq
	stp	x28, x8, [sp]
	str	x9, [sp, #16]
	mov	w0, #1
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_vkprintf
	cbz	w26, LBB0_54
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_38 Depth 2
                                        ;     Child Loop BB0_41 Depth 2
                                        ;     Child Loop BB0_56 Depth 2
	ldr	w9, [x19, #8]
	ldr	w8, [x22]
	tst	w8, w9
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh12:
	adrp	x8, _C_NORD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _C_NORD@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x10, _C_FAILED@GOTPAGE
Lloh16:
	ldr	x10, [x10, _C_FAILED@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	orr	w8, w10, w8
Lloh18:
	adrp	x10, _C_STOPREAD@GOTPAGE
Lloh19:
	ldr	x10, [x10, _C_STOPREAD@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	orr	w8, w8, w10
	tst	w8, w9
	b.eq	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #48]
	cmp	x8, #0
	cset	w8, eq
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w10, [x20]
	tst	w10, w9
	b.eq	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x19, #12]
Lloh21:
	adrp	x10, _conn_expect_query@GOTPAGE
Lloh22:
	ldr	x10, [x10, _conn_expect_query@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
Lloh24:
	adrp	x11, _conn_reading_query@GOTPAGE
Lloh25:
	ldr	x11, [x11, _conn_reading_query@GOTPAGEOFF]
Lloh26:
	ldr	w11, [x11]
Lloh27:
	adrp	x12, _conn_wait_answer@GOTPAGE
Lloh28:
	ldr	x12, [x12, _conn_wait_answer@GOTPAGEOFF]
Lloh29:
	ldr	w12, [x12]
Lloh30:
	adrp	x13, _conn_reading_answer@GOTPAGE
Lloh31:
	ldr	x13, [x13, _conn_reading_answer@GOTPAGEOFF]
Lloh32:
	ldr	w13, [x13]
	cmp	w9, w10
	ccmp	w9, w11, #4, ne
	ccmp	w9, w12, #4, ne
	ccmp	w9, w13, #4, ne
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x19, #16]
	cmp	w9, #0
	cset	w9, eq
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w9, #0
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	orr	w9, w8, w9
	cmp	w9, #1
	b.ne	LBB0_73
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	cbz	w8, LBB0_52
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x19, #12]
Lloh33:
	adrp	x9, _conn_write_close@GOTPAGE
Lloh34:
	ldr	x9, [x9, _conn_write_close@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_72
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh36:
	adrp	x8, _tcp_recv_buffers_num@GOTPAGE
Lloh37:
	ldr	x8, [x8, _tcp_recv_buffers_num@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	cbz	w8, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23, #16]
	cbnz	x8, LBB0_16
	b	LBB0_18
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_prealloc_tcp_buffers
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_fork_message_chain
LBB0_18:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #24]
Lloh39:
	adrp	x9, _ct_pipe@GOTPAGE
Lloh40:
	ldr	x9, [x9, _ct_pipe@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x24]
	ldr	w0, [x19, #32]
	ldp	w26, w1, [x8, #8]
	mov	x2, x26
	bl	_read
	mov	x28, x0
	mov	w25, #1
	cmp	w28, w26
	b.lt	LBB0_25
	b	LBB0_26
LBB0_20:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh42:
	adrp	x8, _tcp_recv_buffers_total_size@GOTPAGE
Lloh43:
	ldr	x8, [x8, _tcp_recv_buffers_total_size@GOTPAGEOFF]
Lloh44:
	ldr	w26, [x8]
	ldr	x9, [x23, #16]
	cbz	x9, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23]
	ldr	x9, [x9, #16]
	ldr	x10, [x9, #8]
	ldr	x10, [x10]
	cmp	x10, x8
	b.ne	LBB0_23
LBB0_22:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w25, #1
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w25, #0
	sub	w10, w10, w8
	ldr	x11, [x24]
	ldr	w9, [x9]
	add	w8, w9, w8
	stp	w10, w8, [x11]
LBB0_24:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x19, #32]
	ldr	x8, [x24]
	mov	w9, w25
	add	x1, x8, w25, uxtw #3
Lloh45:
	adrp	x8, _MAX_TCP_RECV_BUFFERS@GOTPAGE
Lloh46:
	ldr	x8, [x8, _MAX_TCP_RECV_BUFFERS@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	eor	x9, x9, #0x1
	add	x2, x8, x9
	bl	_readv
	mov	x28, x0
	cmp	w28, w26
	b.ge	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh48:
	adrp	x8, _C_NORD@GOTPAGE
Lloh49:
	ldr	x8, [x8, _C_NORD@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
LBB0_26:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh51:
	adrp	x8, _verbosity@GOTPAGE
Lloh52:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh54:
	adrp	x8, _stderr@GOTPAGE
Lloh55:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
	ldr	w2, [x19, #32]
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w8, ne
	stp	x26, x8, [sp]
Lloh57:
	adrp	x1, l_.str@PAGE
Lloh58:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x28
	bl	_fprintf
	tbnz	w28, #31, LBB0_53
LBB0_28:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w28, #1
	b.lt	LBB0_54
; %bb.29:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_33
; %bb.30:                               ;   in Loop: Header=BB0_2 Depth=1
	ldpsw	x9, x8, [x8]
	ldr	x10, [x23]
	add	x8, x8, x9
	cmp	x10, x8
	cset	w0, eq
	bl	_assert
	cbz	w25, LBB0_34
; %bb.31:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x26, [x23, #16]
	cbnz	x26, LBB0_35
; %bb.32:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #0
	bl	_assert
	mov	w25, #1
	b	LBB0_37
LBB0_33:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x25
	bl	_assert
	ldr	x8, [x21]
	sub	w9, w25, #1
	mov	x20, x22
	sbfiz	x22, x9, #3, #32
	ldr	x1, [x8, x22]
	mov	w0, #0
	bl	_new_msg_part
	mov	x26, x0
	ldr	x8, [x21]
	ldr	x8, [x8, x22]
	ldr	w8, [x8]
	ldr	x9, [x24]
	mov	w10, w25
	lsl	x22, x10, #3
	add	x9, x9, x22
	ldr	w9, [x9, #4]
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
	ldr	x8, [x24]
	ldr	w8, [x8, x22]
	mov	x22, x20
Lloh59:
	adrp	x20, _C_REPARSE@GOTPAGE
Lloh60:
	ldr	x20, [x20, _C_REPARSE@GOTPAGEOFF]
	cmp	w28, w8
	csel	w8, w28, w8, lt
	stp	wzr, w8, [x26]
	sub	w28, w28, w8
	stp	xzr, x26, [x23, #24]
	str	w8, [x23, #8]
	str	x26, [x23, #16]
	sxtw	x8, w8
	str	x8, [x23]
	add	w25, w25, #1
	b	LBB0_36
LBB0_34:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x24]
	ldr	w8, [x8]
	cmp	w28, w8
	csel	w8, w28, w8, lt
	ldr	x26, [x23, #16]
	ldr	w9, [x26, #4]
	add	w9, w9, w8
	str	w9, [x26, #4]
	ldr	w9, [x23, #8]
	add	w9, w9, w8
	str	w9, [x23, #8]
	ldr	x9, [x23]
	add	x9, x9, w8, sxtw
	str	x9, [x23]
	sub	w28, w28, w8
LBB0_35:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w25, #1
LBB0_36:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x26, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	cmp	w28, #1
	b.lt	LBB0_39
LBB0_37:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, w25
	lsl	x26, x8, #3
LBB0_38:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21]
	add	x8, x8, x26
	ldur	x1, [x8, #-8]
	mov	w0, #0
	bl	_new_msg_part
	ldr	x8, [x24]
	ldr	w8, [x8, x26]
	cmp	w28, w8
	csel	w8, w28, w8, lt
	stp	wzr, w8, [x0]
	sub	w28, w28, w8
	ldr	x9, [x23, #16]
	str	x0, [x9, #8]
	str	x0, [x23, #16]
	sxtw	x9, w8
	str	x9, [x23]
	ldr	w9, [x23, #8]
	add	w8, w9, w8
	str	w8, [x23, #8]
	add	x26, x26, #8
	add	w25, w25, #1
	cmp	w28, #0
	b.gt	LBB0_38
LBB0_39:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w28, #0
	cset	w0, eq
	bl	_assert
	subs	w8, w25, #1
	b.le	LBB0_43
; %bb.40:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x25, #0
	lsl	x26, x8, #3
LBB0_41:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x21]
	ldr	x0, [x8, x25]
	ldr	w1, [x27]
	bl	_alloc_msg_buffer
	cbz	x0, LBB0_78
; %bb.42:                               ;   in Loop: Header=BB0_41 Depth=2
	ldr	x8, [x21]
	str	x0, [x8, x25]
	ldr	w8, [x0]
	ldr	x9, [x24]
	add	x9, x9, x25
	ldr	x10, [x0, #8]
	ldr	w10, [x10]
	stp	w10, w8, [x9, #8]
	add	x25, x25, #8
	cmp	x26, x25
	b.ne	LBB0_41
LBB0_43:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w26, [x19, #16]
	cbz	w26, LBB0_54
; %bb.44:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	cbz	x8, LBB0_46
; %bb.45:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	lsr	x8, x0, #63
	eor	w0, w8, #0x1
	bl	_assert
LBB0_46:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x19, #72]
	tbnz	w26, #31, LBB0_49
; %bb.47:                               ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, w26
	b.lt	LBB0_1
; %bb.48:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	w26, #0
	str	wzr, [x19, #16]
	b	LBB0_1
LBB0_49:                                ;   in Loop: Header=BB0_2 Depth=1
	neg	w9, w26
	cmp	w8, w9
	csneg	w25, w8, w26, lt
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	w1, #0
	mov	x2, x25
	bl	_rwm_fetch_data
	add	w26, w25, w26
	str	w26, [x19, #16]
Lloh61:
	adrp	x8, _verbosity@GOTPAGE
Lloh62:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	cmp	w8, #3
	b.lt	LBB0_51
; %bb.50:                               ;   in Loop: Header=BB0_2 Depth=1
Lloh64:
	adrp	x8, _stderr@GOTPAGE
Lloh65:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh66:
	ldr	w0, [x8]
	neg	w3, w26
Lloh67:
	adrp	x1, l_.str.3@PAGE
Lloh68:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x25
	bl	_fprintf
LBB0_51:                                ;   in Loop: Header=BB0_2 Depth=1
	cbnz	w26, LBB0_2
	b	LBB0_54
LBB0_52:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w28, #2147483647
	ldr	x8, [x19]
	cbnz	x8, LBB0_55
	b	LBB0_56
LBB0_53:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh69:
	adrp	x8, _errno@GOTPAGE
Lloh70:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh71:
	ldr	x8, [x8]
Lloh72:
	adrp	x9, _EAGAIN@GOTPAGE
Lloh73:
	ldr	x9, [x9, _EAGAIN@GOTPAGEOFF]
Lloh74:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_71
LBB0_54:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	cbz	x8, LBB0_56
LBB0_55:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #40]
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	lsr	x8, x0, #63
	eor	w0, w8, #0x1
	bl	_assert
LBB0_56:                                ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_69
; %bb.57:                               ;   in Loop: Header=BB0_56 Depth=2
	ldr	w8, [x19, #12]
Lloh75:
	adrp	x9, _conn_expect_query@GOTPAGE
Lloh76:
	ldr	x9, [x9, _conn_expect_query@GOTPAGEOFF]
Lloh77:
	ldr	w9, [x9]
Lloh78:
	adrp	x10, _conn_reading_query@GOTPAGE
Lloh79:
	ldr	x10, [x10, _conn_reading_query@GOTPAGEOFF]
Lloh80:
	ldr	w10, [x10]
Lloh81:
	adrp	x11, _conn_wait_answer@GOTPAGE
Lloh82:
	ldr	x11, [x11, _conn_wait_answer@GOTPAGEOFF]
Lloh83:
	ldr	w11, [x11]
Lloh84:
	adrp	x12, _conn_reading_answer@GOTPAGE
Lloh85:
	ldr	x12, [x12, _conn_reading_answer@GOTPAGEOFF]
Lloh86:
	ldr	w12, [x12]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	ccmp	w8, w11, #4, ne
	ccmp	w8, w12, #4, ne
	b.ne	LBB0_69
; %bb.58:                               ;   in Loop: Header=BB0_56 Depth=2
	ldr	w9, [x20]
	ldr	w10, [x19, #8]
	bic	w9, w10, w9
	str	w9, [x19, #8]
	ldr	w9, [x19, #72]
	cbz	w9, LBB0_76
; %bb.59:                               ;   in Loop: Header=BB0_56 Depth=2
	sub	w9, w8, #1
	orr	w25, w9, #0x1
	cmp	w8, w25
	b.ne	LBB0_61
; %bb.60:                               ;   in Loop: Header=BB0_56 Depth=2
	str	xzr, [x19, #56]
	add	w8, w8, #1
	str	w8, [x19, #12]
LBB0_61:                                ;   in Loop: Header=BB0_56 Depth=2
	ldr	x8, [x19, #40]
	ldr	x8, [x8, #16]
	mov	x0, x19
	blr	x8
	mov	x9, x0
	cbz	w0, LBB0_63
; %bb.62:                               ;   in Loop: Header=BB0_56 Depth=2
Lloh87:
	adrp	x8, _NEED_MORE_BYTES@GOTPAGE
Lloh88:
	ldr	x8, [x8, _NEED_MORE_BYTES@GOTPAGEOFF]
Lloh89:
	ldr	w8, [x8]
	cmp	w9, w8
	b.eq	LBB0_66
	b	LBB0_67
LBB0_63:                                ;   in Loop: Header=BB0_56 Depth=2
	mov	x10, x9
	ldr	w8, [x19, #12]
	add	w9, w25, #1
	cmp	w8, w9
	b.ne	LBB0_65
; %bb.64:                               ;   in Loop: Header=BB0_56 Depth=2
	sub	w8, w8, #1
	str	w8, [x19, #12]
LBB0_65:                                ;   in Loop: Header=BB0_56 Depth=2
	ldr	x8, [x19, #48]
	mov	x9, x10
	cbnz	x8, LBB0_77
LBB0_66:                                ;   in Loop: Header=BB0_56 Depth=2
	str	w9, [sp, #36]                   ; 4-byte Folded Spill
	b	LBB0_56
LBB0_67:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x19, #72]
	tbnz	w9, #31, LBB0_70
; %bb.68:                               ;   in Loop: Header=BB0_2 Depth=1
	add	w9, w8, w9
	str	w9, [sp, #36]                   ; 4-byte Folded Spill
	str	w9, [x19, #16]
LBB0_69:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w28, #0
	b.gt	LBB0_2
	b	LBB0_73
LBB0_70:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w8, #0
	cset	w0, eq
	mov	x20, x9
	bl	_assert
	ldr	w8, [x19, #72]
	sub	w20, w20, w8
	str	w20, [sp, #36]                  ; 4-byte Folded Spill
	str	w20, [x19, #16]
Lloh90:
	adrp	x20, _C_REPARSE@GOTPAGE
Lloh91:
	ldr	x20, [x20, _C_REPARSE@GOTPAGEOFF]
	cmp	w28, #0
	b.gt	LBB0_2
	b	LBB0_73
LBB0_71:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh92:
	adrp	x0, l_.str.1@PAGE
Lloh93:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror
	ldr	x8, [x19]
	cbnz	x8, LBB0_55
	b	LBB0_56
LBB0_72:
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_rwm_clear
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_rwm_clear
	ldr	w8, [x22]
	ldr	w9, [x19, #8]
	bic	w8, w9, w8
	str	w8, [x19, #8]
LBB0_73:
	ldr	x8, [x19]
	cbz	x8, LBB0_75
LBB0_74:
	ldr	x8, [x19, #40]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
	lsr	x8, x0, #63
	eor	w0, w8, #0x1
	bl	_assert
LBB0_75:
	ldr	w0, [sp, #36]                   ; 4-byte Folded Reload
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_76:
	str	wzr, [sp, #36]                  ; 4-byte Folded Spill
	ldr	x8, [x19]
	cbnz	x8, LBB0_74
	b	LBB0_75
LBB0_77:
	mov	w8, #-1
	str	w8, [sp, #36]                   ; 4-byte Folded Spill
	b	LBB0_75
LBB0_78:
Lloh94:
	adrp	x1, l_.str.2@PAGE
Lloh95:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_vkprintf
	mov	w0, #2
	bl	_exit
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh90, Lloh91
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpAdd	Lloh94, Lloh95
	.cfi_endproc
                                        ; -- End function
	.comm	_C_WANTRD,4,2                   ; @C_WANTRD
	.comm	_C_NORD,4,2                     ; @C_NORD
	.comm	_C_FAILED,4,2                   ; @C_FAILED
	.comm	_C_STOPREAD,4,2                 ; @C_STOPREAD
	.comm	_C_REPARSE,4,2                  ; @C_REPARSE
	.comm	_conn_expect_query,4,2          ; @conn_expect_query
	.comm	_conn_reading_query,4,2         ; @conn_reading_query
	.comm	_conn_wait_answer,4,2           ; @conn_wait_answer
	.comm	_conn_reading_answer,4,2        ; @conn_reading_answer
	.comm	_conn_write_close,4,2           ; @conn_write_close
	.comm	_tcp_recv_buffers_num,4,2       ; @tcp_recv_buffers_num
	.comm	_ct_pipe,8,3                    ; @ct_pipe
	.comm	_tcp_recv_buffers_total_size,4,2 ; @tcp_recv_buffers_total_size
	.comm	_tcp_recv_iovec,8,3             ; @tcp_recv_iovec
	.comm	_MAX_TCP_RECV_BUFFERS,8,3       ; @MAX_TCP_RECV_BUFFERS
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"recv() from %d: %d read out of %d. Crypto = %d\n"

	.comm	_errno,8,3                      ; @errno
	.comm	_EAGAIN,8,3                     ; @EAGAIN
l_.str.1:                               ; @.str.1
	.asciz	"recv()"

	.comm	_tcp_recv_buffers,8,3           ; @tcp_recv_buffers
	.comm	_TCP_RECV_BUFFER_SIZE,4,2       ; @TCP_RECV_BUFFER_SIZE
l_.str.2:                               ; @.str.2
	.asciz	"**FATAL**: cannot allocate udp receive buffer\n"

l_.str.3:                               ; @.str.3
	.asciz	"skipped %d bytes, %d more to skip\n"

l_.str.4:                               ; @.str.4
	.asciz	"fetched %d bytes, %d available bytes, %d more to load\n"

	.comm	_NEED_MORE_BYTES,4,2            ; @NEED_MORE_BYTES
.subsections_via_symbols
