	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function accept_new_connections
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_accept_new_connections
	.p2align	4, 0x90
_accept_new_connections:                ## @accept_new_connections
	.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	$248, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rax
	movq	_ct_listen@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	leaq	-200(%rbp), %r15
	movq	_AF_INET@GOTPCREL(%rip), %r12
	movl	$0, -228(%rbp)                  ## 4-byte Folded Spill
	movq	%r14, -256(%rbp)                ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.3(%rip), %rdi
	movq	-272(%rbp), %rsi                ## 8-byte Reload
	xorl	%eax, %eax
	callq	_kprintf
LBB0_2:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%r15d, %edi
LBB0_3:                                 ##   in Loop: Header=BB0_5 Depth=1
	callq	_close
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	decl	-228(%rbp)                      ## 4-byte Folded Spill
	leaq	-200(%rbp), %r15
	movq	_AF_INET@GOTPCREL(%rip), %r12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	$16, -180(%rbp)
	movl	$16, -244(%rbp)
	leaq	-216(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movl	8(%r14), %edi
	movq	%rbx, %rsi
	leaq	-180(%rbp), %rdx
	callq	_accept
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_51
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_inbound_connections_accepted@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	%r13d, %edi
	movq	%r15, %rsi
	leaq	-244(%rbp), %rdx
	callq	_getsockname
	xorl	%edi, %edi
	movq	_MAX_EVENTS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	setl	%dil
	callq	_assert
	movl	%r13d, %eax
	movq	%rax, -272(%rbp)                ## 8-byte Spill
	leaq	(,%rax,4), %rcx
	movq	_Events@GOTPCREL(%rip), %rax
	addq	(%rax), %rcx
	movq	%rcx, -280(%rbp)                ## 8-byte Spill
	movl	-180(%rbp), %eax
	xorl	%edi, %edi
	cmpl	-244(%rbp), %eax
	sete	%dil
	callq	_assert
	movq	_C_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	12(%r14), %ebx
	xorl	%edi, %edi
	cmpl	$4, -180(%rbp)
	sete	%dil
	callq	_assert
	movq	-216(%rbp), %rax
	testl	%ebx, %ebx
	movq	%r13, -224(%rbp)                ## 8-byte Spill
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edi, %edi
	movq	_AF_INET6@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	sete	%dil
	callq	_assert
	movq	-200(%rbp), %rax
	movq	%rbx, %rcx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edi, %edi
	cmpq	(%r12), %rax
	sete	%dil
	callq	_assert
	movq	-200(%rbp), %rax
	movq	%r12, %rcx
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_assert
	movq	-216(%rbp), %rax
	movq	72(%r14), %rcx
	movl	16(%rcx), %r13d
	cmpq	(%r12), %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-204(%rbp), %edi
	leaq	-112(%rbp), %rsi
	callq	_conv_addr
	movl	%eax, %r12d
	movl	-208(%rbp), %edi
	callq	_ntohs
	movq	%rax, %r14
	movl	-188(%rbp), %edi
	leaq	-176(%rbp), %rsi
	callq	_conv_addr
	movl	%eax, %r15d
	movl	-192(%rbp), %edi
	callq	_ntohs
	movq	%rax, %rbx
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edx
	movl	%r12d, %ecx
	movq	%r14, %r8
	movl	%r15d, %r9d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-208(%rbp), %edi
	leaq	-112(%rbp), %rsi
	callq	_conv_addr6
	movl	%eax, %r14d
	movl	-204(%rbp), %edi
	callq	_ntohs
	movq	%rax, %r15
	movl	-192(%rbp), %edi
	leaq	-176(%rbp), %rsi
	callq	_conv_addr6
	movl	%eax, %r12d
	movl	-188(%rbp), %edi
	callq	_ntohs
	movq	%rax, %rbx
	movl	$1, %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	movq	%r15, %r8
	movl	%r12d, %r9d
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	movq	-224(%rbp), %r15                ## 8-byte Reload
	pushq	%r15
	pushq	%rbx
	callq	_vkprintf
	addq	$16, %rsp
	movq	_F_GETFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edi
	xorl	%edx, %edx
	callq	_fcntl
	movq	%rax, %rdx
	shrq	$63, %rdx
	movl	%edx, -240(%rbp)
	testq	%rax, %rax
	movq	-256(%rbp), %r14                ## 8-byte Reload
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rbx
	js	LBB0_1
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_F_SETFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_O_NONBLOCK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movl	%r15d, %edi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_fcntl
	testq	%rax, %rax
	js	LBB0_1
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_MAX_CONNECTIONS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jge	LBB0_2
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_maxconn@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r15d
	jl	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	testl	%eax, %eax
	jne	LBB0_2
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_max_connection@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jle	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_max_connection@GOTPCREL(%rip), %rax
	movl	%r15d, (%rax)
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, -240(%rbp)
	movl	(%rbx), %esi
	movq	_TCP_NODELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	leaq	-240(%rbp), %rcx
	movl	$4, %r8d
	callq	_setsockopt
	movq	_tcp_maximize_buffers@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r15d, %edi
	xorl	%esi, %esi
	callq	_maximize_sndbuf
	movl	%r15d, %edi
	xorl	%esi, %esi
	callq	_maximize_rcvbuf
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_Connections@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	-272(%rbp), %r13                ## 8-byte Reload
	shlq	$4, %r13
	leaq	(%rbx,%r13), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$216, %edx
	callq	_memset
	movl	%r15d, 8(%rbx,%r13)
	movq	-280(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 208(%rbx,%r13)
	movq	_conn_generation@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rax
	incq	%rax
	movq	%rax, (%rcx)
	movq	%rax, 56(%rbx,%r13)
	movq	_C_WANTRD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	12(%rbx,%r13), %r15
	movl	%eax, 12(%rbx,%r13)
	movq	_C_RAWMSG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 12(%r14)
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	72(%r14), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_50
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	orl	%eax, %ecx
	movl	%ecx, (%r15)
	movq	$0, 184(%r12)
	movq	$0, 200(%r12)
	leaq	48(%r12), %rdi
	xorl	%esi, %esi
	callq	_rwm_init
	leaq	32(%r12), %rbx
	leaq	40(%r12), %rdi
	xorl	%esi, %esi
	callq	_rwm_init
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_rwm_init
	leaq	24(%r12), %rdi
	xorl	%esi, %esi
	callq	_rwm_init
LBB0_25:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_conn_timer_wakeup_gateway@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 176(%r12)
	movq	72(%r14), %rax
	movq	%rax, 72(%r12)
	movl	172(%r14), %eax
	movl	%eax, 172(%r12)
	movq	_ct_inbound@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	movq	_conn_expect_query@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 168(%r12)
	movq	-216(%rbp), %rax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %r13
	movl	-188(%rbp), %edi
	callq	_ntohl
	movq	%rax, 144(%r12)
	movl	-192(%rbp), %edi
	callq	_ntohs
	movq	%rax, 80(%r12)
	movl	-204(%rbp), %edi
	callq	_ntohl
	movq	%rax, 136(%r12)
	movl	-208(%rbp), %edi
	jmp	LBB0_29
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-208(%rbp), %edi
	callq	_is_4in6
	testl	%eax, %eax
	je	LBB0_48
## %bb.28:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r15, %r13
	movl	-192(%rbp), %edi
	callq	_is_4in6
	movl	%eax, %edi
	callq	_assert
	movl	-192(%rbp), %edi
	callq	_extract_4in6
	movl	%eax, %edi
	callq	_ntohl
	movq	%rax, 144(%r12)
	movl	-188(%rbp), %edi
	callq	_ntohs
	movq	%rax, 80(%r12)
	movl	-208(%rbp), %edi
	callq	_extract_4in6
	movl	%eax, %edi
	callq	_ntohl
	movq	%rax, 136(%r12)
	movl	-204(%rbp), %edi
LBB0_29:                                ##   in Loop: Header=BB0_5 Depth=1
	callq	_ntohs
	movq	%rax, 88(%r12)
LBB0_30:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r12, 96(%r12)
	movq	%r12, 104(%r12)
	movq	72(%r12), %rax
	movl	16(%rax), %r14d
	movq	%r12, %rdi
	callq	_show_remote_ip
	movl	%eax, %ebx
	movq	88(%r12), %r15
	movq	%r12, %rdi
	callq	_show_our_ip
	movl	$2, %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	movl	%ebx, %ecx
	movq	%r15, %r8
	movl	%eax, %r9d
	xorl	%eax, %eax
	movq	-224(%rbp), %rbx                ## 8-byte Reload
	pushq	%rbx
	pushq	80(%r12)
	callq	_vkprintf
	addq	$16, %rsp
	movq	72(%r12), %rax
	movq	%r12, %rdi
	callq	*8(%rax)
	testq	%rax, %rax
	js	LBB0_45
## %bb.31:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_server_read_write_gateway@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	xorl	%esi, %esi
	movq	%r12, %rcx
	callq	_epoll_sethandler
	movl	(%r13), %eax
	movq	_C_WANTRD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	andl	%eax, %esi
	movq	-256(%rbp), %r14                ## 8-byte Reload
	je	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_EVT_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
LBB0_33:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_C_WANTWR@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	je	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	_EVT_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_35:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_EVT_SPEC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %esi
	orl	%eax, %esi
	movq	-224(%rbp), %rdi                ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_epoll_insert
	movq	_active_connections@GOTPCREL(%rip), %rax
	incl	(%rax)
	movl	8(%r14), %eax
	movl	%eax, 16(%r12)
	movq	56(%r14), %rax
	movq	%rax, 64(%r12)
	movl	12(%r14), %eax
	movq	_C_SPECIAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_40
## %bb.36:                              ##   in Loop: Header=BB0_5 Depth=1
	orl	%ecx, (%r13)
	movq	_active_special_connections@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_max_special_connections@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpq	%rdx, %rsi
	jl	LBB0_38
## %bb.37:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	movq	_active_special_connections@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_max_special_connections@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
LBB0_38:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%rsi
	movq	%rsi, (%rax)
	cmpq	%rdx, %rsi
	jge	LBB0_55
## %bb.39:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	12(%r14), %eax
LBB0_40:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_C_NOQACK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_42
## %bb.41:                              ##   in Loop: Header=BB0_5 Depth=1
	orl	%ecx, (%r13)
LBB0_42:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	20(%r14), %eax
	movl	%eax, 20(%r12)
	testl	%eax, %eax
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %r13
	movq	_TCP_WINDOW_CLAMP@GOTPCREL(%rip), %r15
	je	LBB0_4
## %bb.43:                              ##   in Loop: Header=BB0_5 Depth=1
	addq	$20, %r12
	movl	(%r13), %esi
	movl	(%r15), %edx
	movq	-224(%rbp), %rbx                ## 8-byte Reload
	movl	%ebx, %edi
	movq	%r12, %rcx
	movl	$4, %r8d
	callq	_setsockopt
	testq	%rax, %rax
	js	LBB0_49
## %bb.44:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	$-1, -236(%rbp)
	movl	$-1, -232(%rbp)
	movl	$4, -264(%rbp)
	movl	$4, -260(%rbp)
	movl	(%r13), %esi
	movl	(%r15), %edx
	movl	%ebx, %edi
	leaq	-236(%rbp), %rcx
	leaq	-264(%rbp), %r8
	callq	_getsockopt
	movq	_SOL_SOCKET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SO_RCVBUF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	leaq	-232(%rbp), %rcx
	leaq	-260(%rbp), %r8
	callq	_getsockopt
	movl	-236(%rbp), %ecx
	movl	-232(%rbp), %r8d
	movl	$2, %edi
	leaq	L_.str.6(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_vkprintf
	jmp	LBB0_4
LBB0_45:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_C_RAWMSG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	movq	-256(%rbp), %r14                ## 8-byte Reload
	je	LBB0_47
## %bb.46:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	48(%r12), %rdi
	callq	_rwm_free
	leaq	32(%r12), %rbx
	leaq	40(%r12), %rdi
	callq	_rwm_free
	movq	%rbx, %rdi
	callq	_rwm_free
	leaq	24(%r12), %rdi
	callq	_rwm_free
LBB0_47:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_ct_none@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	movq	-224(%rbp), %rdi                ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	jmp	LBB0_3
LBB0_48:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-188(%rbp), %edi
	callq	_ntohs
	movq	%rax, 80(%r12)
	movl	-204(%rbp), %edi
	callq	_ntohs
	movq	%rax, 88(%r12)
	movl	132(%r12), %edi
	movl	-192(%rbp), %esi
	movl	$16, %edx
	callq	_memcpy
	movl	128(%r12), %edi
	movl	-208(%rbp), %esi
	movl	$16, %edx
	callq	_memcpy
	movq	_C_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r15, %r13
	orl	%eax, (%r15)
	jmp	LBB0_30
LBB0_49:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r12), %ecx
	xorl	%edi, %edi
	leaq	L_.str.5(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_vkprintf
	jmp	LBB0_4
LBB0_50:                                ##   in Loop: Header=BB0_5 Depth=1
	leaq	200(%r12), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%r12)
	movl	192(%r12), %esi
	movq	_BUFF_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	callq	_init_builtin_buffer
	leaq	184(%r12), %rdi
	movl	180(%r12), %esi
	movl	(%rbx), %edx
	callq	_init_builtin_buffer
	jmp	LBB0_25
LBB0_51:
	movq	_EVA_CONTINUE@GOTPCREL(%rip), %rbx
	cmpl	$0, -228(%rbp)                  ## 4-byte Folded Reload
	jne	LBB0_53
## %bb.52:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	movl	8(%r14), %edx
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %ecx
	xorl	%eax, %eax
	callq	_vkprintf
LBB0_53:
	movl	(%rbx), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_56
## %bb.54:
	addq	$248, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_55:
	movq	_EVA_REMOVE@GOTPCREL(%rip), %rbx
	jmp	LBB0_53
LBB0_56:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ct_listen,8,3                  ## @ct_listen
	.comm	_errno,8,3                      ## @errno
	.comm	_EAGAIN,8,3                     ## @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"accept(%d) unexpectedly returns %d: %m\n"

	.comm	_inbound_connections_accepted,4,2 ## @inbound_connections_accepted
	.comm	_MAX_EVENTS,4,2                 ## @MAX_EVENTS
	.comm	_Events,8,3                     ## @Events
	.comm	_C_IPV6,4,2                     ## @C_IPV6
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_AF_INET,8,3                    ## @AF_INET
L_.str.1:                               ## @.str.1
	.asciz	"accepted incoming connection of type %s at %s:%d -> %s:%d, fd=%d\n"

L_.str.2:                               ## @.str.2
	.asciz	"accepted incoming ipv6 connection of type %s at [%s]:%d -> [%s]:%d, fd=%d\n"

	.comm	_F_GETFL,4,2                    ## @F_GETFL
	.comm	_F_SETFL,4,2                    ## @F_SETFL
	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
L_.str.3:                               ## @.str.3
	.asciz	"cannot set O_NONBLOCK on accepted socket %d: %m\n"

	.comm	_MAX_CONNECTIONS,4,2            ## @MAX_CONNECTIONS
	.comm	_maxconn,4,2                    ## @maxconn
	.comm	_max_connection,4,2             ## @max_connection
	.comm	_IPPROTO_TCP,4,2                ## @IPPROTO_TCP
	.comm	_TCP_NODELAY,4,2                ## @TCP_NODELAY
	.comm	_tcp_maximize_buffers,8,3       ## @tcp_maximize_buffers
	.comm	_Connections,8,3                ## @Connections
	.comm	_conn_generation,8,3            ## @conn_generation
	.comm	_C_WANTRD,4,2                   ## @C_WANTRD
	.comm	_C_RAWMSG,4,2                   ## @C_RAWMSG
	.comm	_BUFF_SIZE,4,2                  ## @BUFF_SIZE
	.comm	_conn_timer_wakeup_gateway,4,2  ## @conn_timer_wakeup_gateway
	.comm	_ct_inbound,8,3                 ## @ct_inbound
	.comm	_conn_expect_query,4,2          ## @conn_expect_query
	.comm	_server_read_write_gateway,4,2  ## @server_read_write_gateway
	.comm	_EVT_READ,4,2                   ## @EVT_READ
	.comm	_C_WANTWR,4,2                   ## @C_WANTWR
	.comm	_EVT_WRITE,4,2                  ## @EVT_WRITE
	.comm	_EVT_SPEC,4,2                   ## @EVT_SPEC
	.comm	_active_connections,4,2         ## @active_connections
	.comm	_C_SPECIAL,4,2                  ## @C_SPECIAL
	.comm	_active_special_connections,8,3 ## @active_special_connections
	.comm	_max_special_connections,8,3    ## @max_special_connections
L_.str.4:                               ## @.str.4
	.asciz	"ERROR: forced to accept connection when special connections limit was reached (%d of %d)\n"

	.comm	_EVA_REMOVE,4,2                 ## @EVA_REMOVE
	.comm	_C_NOQACK,4,2                   ## @C_NOQACK
	.comm	_TCP_WINDOW_CLAMP,4,2           ## @TCP_WINDOW_CLAMP
L_.str.5:                               ## @.str.5
	.asciz	"error while setting window size for socket %d to %d: %m\n"

	.comm	_SOL_SOCKET,4,2                 ## @SOL_SOCKET
	.comm	_SO_RCVBUF,4,2                  ## @SO_RCVBUF
L_.str.6:                               ## @.str.6
	.asciz	"window clamp for socket %d is %d, receive buffer is %d\n"

	.comm	_ct_none,8,3                    ## @ct_none
	.comm	_EVA_CONTINUE,4,2               ## @EVA_CONTINUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_accept_new_connections         ; -- Begin function accept_new_connections
	.p2align	2
_accept_new_connections:                ; @accept_new_connections
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #240]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #256]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _ct_listen@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ct_listen@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	mov	w23, #0
Lloh6:
	adrp	x24, _AF_INET@GOTPAGE
Lloh7:
	ldr	x24, [x24, _AF_INET@GOTPAGEOFF]
Lloh8:
	adrp	x28, _IPPROTO_TCP@GOTPAGE
Lloh9:
	ldr	x28, [x28, _IPPROTO_TCP@GOTPAGEOFF]
	b	LBB0_4
LBB0_1:                                 ;   in Loop: Header=BB0_4 Depth=1
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x27
	bl	_kprintf
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	bl	_close
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w23, w23, #1
	mov	x24, x25
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	w8, #16
	stp	w8, w8, [sp, #56]
	add	x0, sp, #80
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	add	x0, sp, #64
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	w0, [x19, #8]
	add	x1, sp, #80
	add	x2, sp, #60
	bl	_accept
	mov	x26, x0
	tbnz	w0, #31, LBB0_46
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh12:
	adrp	x9, _inbound_connections_accepted@GOTPAGE
Lloh13:
	ldr	x9, [x9, _inbound_connections_accepted@GOTPAGEOFF]
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
	add	x1, sp, #64
	add	x2, sp, #56
	mov	x0, x26
	bl	_getsockname
Lloh14:
	adrp	x8, _MAX_EVENTS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAX_EVENTS@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w26, w8
	cset	w0, lt
	bl	_assert
Lloh17:
	adrp	x8, _Events@GOTPAGE
Lloh18:
	ldr	x8, [x8, _Events@GOTPAGEOFF]
Lloh19:
	ldr	x20, [x8]
	ldp	w9, w8, [sp, #56]
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
	ldr	w8, [x19, #12]
Lloh20:
	adrp	x9, _C_IPV6@GOTPAGE
Lloh21:
	ldr	x9, [x9, _C_IPV6@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	and	w22, w9, w8
	ldr	w8, [sp, #60]
	cmp	w8, #4
	cset	w0, eq
	bl	_assert
	ldr	x8, [sp, #80]
	cbz	w22, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh23:
	adrp	x21, _AF_INET6@GOTPAGE
Lloh24:
	ldr	x21, [x21, _AF_INET6@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldr	x8, [sp, #64]
	mov	x9, x21
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x24]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldr	x8, [sp, #64]
	mov	x9, x24
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x28
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_assert
	ldr	x8, [sp, #80]
	mov	x25, x24
	ldr	x9, [x24]
	ldr	x10, [x19, #72]
	ldr	w27, [x10, #16]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [sp, #92]
	add	x1, sp, #160
	bl	_conv_addr
	mov	x28, x0
	ldr	w0, [sp, #88]
	bl	_ntohs
	mov	x22, x0
	ldr	w0, [sp, #76]
	add	x1, sp, #96
	bl	_conv_addr
	mov	x24, x0
	ldr	w0, [sp, #72]
	bl	_ntohs
	mov	x8, x26
	stp	x0, x8, [sp, #16]
	stp	x22, x24, [sp]
	mov	w0, #1
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x27
	mov	x3, x28
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [sp, #88]
	add	x1, sp, #160
	bl	_conv_addr6
	mov	x22, x0
	ldr	w0, [sp, #92]
	bl	_ntohs
	mov	x24, x0
	ldr	w0, [sp, #72]
	add	x1, sp, #96
	bl	_conv_addr6
	mov	x28, x0
	ldr	w0, [sp, #76]
	bl	_ntohs
	mov	x8, x26
	stp	x0, x8, [sp, #16]
	stp	x24, x28, [sp]
	mov	w0, #1
Lloh27:
	adrp	x1, l_.str.2@PAGE
Lloh28:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x27
	mov	x3, x22
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_vkprintf
	mov	w27, w26
Lloh29:
	adrp	x8, _F_GETFL@GOTPAGE
Lloh30:
	ldr	x8, [x8, _F_GETFL@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x26
	mov	w2, #0
	bl	_fcntl
	lsr	x8, x0, #63
	str	w8, [sp, #52]
	mov	x28, x21
	tbnz	x0, #63, LBB0_1
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh32:
	adrp	x9, _F_SETFL@GOTPAGE
Lloh33:
	ldr	x9, [x9, _F_SETFL@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x9]
Lloh35:
	adrp	x9, _O_NONBLOCK@GOTPAGE
Lloh36:
	ldr	x9, [x9, _O_NONBLOCK@GOTPAGEOFF]
Lloh37:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x26
	bl	_fcntl
	tbnz	x0, #63, LBB0_1
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh38:
	adrp	x8, _MAX_CONNECTIONS@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MAX_CONNECTIONS@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmp	w26, w8
	b.ge	LBB0_2
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh41:
	adrp	x8, _maxconn@GOTPAGE
Lloh42:
	ldr	x8, [x8, _maxconn@GOTPAGEOFF]
Lloh43:
	ldr	w8, [x8]
	cmp	w26, w8
	b.lt	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w8, LBB0_2
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh44:
	adrp	x8, _max_connection@GOTPAGE
Lloh45:
	ldr	x8, [x8, _max_connection@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	cmp	w26, w8
	b.le	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh47:
	adrp	x8, _max_connection@GOTPAGE
Lloh48:
	ldr	x8, [x8, _max_connection@GOTPAGEOFF]
Lloh49:
	str	w26, [x8]
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #1
	str	w8, [sp, #52]
	ldr	w1, [x28]
Lloh50:
	adrp	x8, _TCP_NODELAY@GOTPAGE
Lloh51:
	ldr	x8, [x8, _TCP_NODELAY@GOTPAGEOFF]
Lloh52:
	ldr	w2, [x8]
	add	x3, sp, #52
	mov	x0, x26
	mov	w4, #4
	bl	_setsockopt
Lloh53:
	adrp	x8, _tcp_maximize_buffers@GOTPAGE
Lloh54:
	ldr	x8, [x8, _tcp_maximize_buffers@GOTPAGEOFF]
Lloh55:
	ldr	x8, [x8]
	cbz	x8, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x26
	mov	w1, #0
	bl	_maximize_sndbuf
	mov	x0, x26
	mov	w1, #0
	bl	_maximize_rcvbuf
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, w26, uxtw #2
Lloh56:
	adrp	x8, _Connections@GOTPAGE
Lloh57:
	ldr	x8, [x8, _Connections@GOTPAGEOFF]
Lloh58:
	ldr	x8, [x8]
	add	x27, x8, x27, lsl #4
	mov	x0, x27
	mov	w1, #0
	mov	w2, #216
	bl	_memset
	str	w26, [x27, #8]
	str	x20, [x27, #208]
Lloh59:
	adrp	x9, _conn_generation@GOTPAGE
Lloh60:
	ldr	x9, [x9, _conn_generation@GOTPAGEOFF]
	ldr	x8, [x9]
	add	x8, x8, #1
	str	x8, [x9]
	str	x8, [x27, #56]
Lloh61:
	adrp	x8, _C_WANTRD@GOTPAGE
Lloh62:
	ldr	x8, [x8, _C_WANTRD@GOTPAGEOFF]
Lloh63:
	ldr	w8, [x8]
	mov	x28, x27
	str	w8, [x28, #12]!
	ldr	w10, [x19, #12]
Lloh64:
	adrp	x9, _C_RAWMSG@GOTPAGE
Lloh65:
	ldr	x9, [x9, _C_RAWMSG@GOTPAGEOFF]
Lloh66:
	ldr	w9, [x9]
	tst	w9, w10
	b.ne	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x19, #72]
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_45
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	orr	w8, w9, w8
	str	w8, [x28]
	str	xzr, [x27, #184]
	str	xzr, [x27, #200]
	add	x0, x27, #48
	mov	w1, #0
	bl	_rwm_init
	add	x22, x27, #32
	add	x0, x27, #40
	mov	w1, #0
	bl	_rwm_init
	mov	x0, x22
	mov	w1, #0
	bl	_rwm_init
	add	x0, x27, #24
	mov	w1, #0
	bl	_rwm_init
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh67:
	adrp	x8, _conn_timer_wakeup_gateway@GOTPAGE
Lloh68:
	ldr	x8, [x8, _conn_timer_wakeup_gateway@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
	str	w8, [x27, #176]
	ldr	x8, [x19, #72]
	str	x8, [x27, #72]
	ldr	w8, [x19, #172]
	str	w8, [x27, #172]
Lloh70:
	adrp	x8, _ct_inbound@GOTPAGE
Lloh71:
	ldr	x8, [x8, _ct_inbound@GOTPAGEOFF]
Lloh72:
	ldr	x8, [x8]
	str	x8, [x27]
Lloh73:
	adrp	x8, _conn_expect_query@GOTPAGE
Lloh74:
	ldr	x8, [x8, _conn_expect_query@GOTPAGEOFF]
Lloh75:
	ldr	w8, [x8]
	str	w8, [x27, #168]
	ldr	x8, [sp, #80]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [sp, #76]
	bl	_ntohl
	str	x0, [x27, #144]
	ldr	w0, [sp, #72]
	bl	_ntohs
	str	x0, [x27, #80]
	ldr	w0, [sp, #92]
	bl	_ntohl
	str	x0, [x27, #136]
	ldr	w0, [sp, #88]
	b	LBB0_27
LBB0_25:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [sp, #88]
	bl	_is_4in6
	cbz	w0, LBB0_42
; %bb.26:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [sp, #72]
	bl	_is_4in6
	bl	_assert
	ldr	w0, [sp, #72]
	bl	_extract_4in6
	bl	_ntohl
	str	x0, [x27, #144]
	ldr	w0, [sp, #76]
	bl	_ntohs
	str	x0, [x27, #80]
	ldr	w0, [sp, #88]
	bl	_extract_4in6
	bl	_ntohl
	str	x0, [x27, #136]
	ldr	w0, [sp, #92]
LBB0_27:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_ntohs
	str	x0, [x27, #88]
LBB0_28:                                ;   in Loop: Header=BB0_4 Depth=1
	stp	x27, x27, [x27, #96]
	ldr	x8, [x27, #72]
	ldr	w22, [x8, #16]
	mov	x0, x27
	bl	_show_remote_ip
	mov	x24, x0
	ldr	x20, [x27, #88]
	mov	x0, x27
	bl	_show_our_ip
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x27, #80]
	stp	x8, x26, [sp, #16]
	stp	x20, x0, [sp]
	mov	w0, #2
Lloh76:
	adrp	x1, l_.str.1@PAGE
Lloh77:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x22
	mov	x3, x24
	bl	_vkprintf
	ldr	x8, [x27, #72]
	ldr	x8, [x8, #8]
	mov	x0, x27
	blr	x8
	tbnz	x0, #63, LBB0_39
; %bb.29:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh78:
	adrp	x8, _server_read_write_gateway@GOTPAGE
Lloh79:
	ldr	x8, [x8, _server_read_write_gateway@GOTPAGEOFF]
Lloh80:
	ldr	w2, [x8]
	mov	x0, x26
	mov	w1, #0
	mov	x3, x27
	bl	_epoll_sethandler
	ldr	w8, [x28]
Lloh81:
	adrp	x9, _C_WANTRD@GOTPAGE
Lloh82:
	ldr	x9, [x9, _C_WANTRD@GOTPAGEOFF]
Lloh83:
	ldr	w9, [x9]
Lloh84:
	adrp	x10, _EVT_READ@GOTPAGE
Lloh85:
	ldr	x10, [x10, _EVT_READ@GOTPAGEOFF]
Lloh86:
	ldr	w10, [x10]
	tst	w9, w8
	csel	w9, wzr, w10, eq
Lloh87:
	adrp	x10, _C_WANTWR@GOTPAGE
Lloh88:
	ldr	x10, [x10, _C_WANTWR@GOTPAGEOFF]
Lloh89:
	ldr	w10, [x10]
Lloh90:
	adrp	x11, _EVT_WRITE@GOTPAGE
Lloh91:
	ldr	x11, [x11, _EVT_WRITE@GOTPAGEOFF]
Lloh92:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w8, wzr, w11, eq
Lloh93:
	adrp	x10, _EVT_SPEC@GOTPAGE
Lloh94:
	ldr	x10, [x10, _EVT_SPEC@GOTPAGEOFF]
Lloh95:
	ldr	w10, [x10]
	orr	w9, w10, w9
	orr	w1, w9, w8
	mov	x0, x26
	bl	_epoll_insert
Lloh96:
	adrp	x9, _active_connections@GOTPAGE
Lloh97:
	ldr	x9, [x9, _active_connections@GOTPAGEOFF]
	ldr	w8, [x9]
	add	w8, w8, #1
	str	w8, [x9]
	ldr	w8, [x19, #8]
	str	w8, [x27, #16]
	ldr	x8, [x19, #56]
	str	x8, [x27, #64]
	ldr	w8, [x19, #12]
Lloh98:
	adrp	x9, _C_SPECIAL@GOTPAGE
Lloh99:
	ldr	x9, [x9, _C_SPECIAL@GOTPAGEOFF]
Lloh100:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_34
; %bb.30:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x28]
	orr	w8, w8, w9
	str	w8, [x28]
Lloh101:
	adrp	x10, _active_special_connections@GOTPAGE
Lloh102:
	ldr	x10, [x10, _active_special_connections@GOTPAGEOFF]
	ldr	x1, [x10]
Lloh103:
	adrp	x9, _max_special_connections@GOTPAGE
Lloh104:
	ldr	x9, [x9, _max_special_connections@GOTPAGEOFF]
	ldr	x8, [x9]
	cmp	x1, x8
	b.lt	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_4 Depth=1
	str	x8, [sp]
Lloh105:
	adrp	x0, l_.str.4@PAGE
Lloh106:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x20, x9
	bl	_kprintf
Lloh107:
	adrp	x10, _active_special_connections@GOTPAGE
Lloh108:
	ldr	x10, [x10, _active_special_connections@GOTPAGEOFF]
	ldr	x1, [x10]
	ldr	x8, [x20]
LBB0_32:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x1, #1
	str	x9, [x10]
	cmp	x9, x8
	b.ge	LBB0_51
; %bb.33:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #12]
LBB0_34:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh109:
	adrp	x9, _C_NOQACK@GOTPAGE
Lloh110:
	ldr	x9, [x9, _C_NOQACK@GOTPAGEOFF]
Lloh111:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_36
; %bb.35:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x28]
	orr	w8, w8, w9
	str	w8, [x28]
LBB0_36:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #20]
	str	w8, [x27, #20]!
	mov	x28, x21
Lloh112:
	adrp	x20, _TCP_WINDOW_CLAMP@GOTPAGE
Lloh113:
	ldr	x20, [x20, _TCP_WINDOW_CLAMP@GOTPAGEOFF]
	cbz	w8, LBB0_3
; %bb.37:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x28]
	ldr	w2, [x20]
	mov	x0, x26
	mov	x3, x27
	mov	w4, #4
	bl	_setsockopt
	tbnz	x0, #63, LBB0_43
; %bb.38:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #-1
	stp	w8, w8, [sp, #44]
	mov	w8, #4
	stp	w8, w8, [sp, #36]
	ldr	w1, [x28]
	ldr	w2, [x20]
	add	x3, sp, #48
	add	x4, sp, #40
	mov	x0, x26
	bl	_getsockopt
Lloh114:
	adrp	x8, _SOL_SOCKET@GOTPAGE
Lloh115:
	ldr	x8, [x8, _SOL_SOCKET@GOTPAGEOFF]
Lloh116:
	ldr	w1, [x8]
Lloh117:
	adrp	x8, _SO_RCVBUF@GOTPAGE
Lloh118:
	ldr	x8, [x8, _SO_RCVBUF@GOTPAGEOFF]
Lloh119:
	ldr	w2, [x8]
	add	x3, sp, #44
	add	x4, sp, #36
	mov	x0, x26
	bl	_getsockopt
	ldp	w8, w3, [sp, #44]
	str	x8, [sp]
	mov	w0, #2
Lloh120:
	adrp	x1, l_.str.6@PAGE
Lloh121:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_44
LBB0_39:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x28]
Lloh122:
	adrp	x9, _C_RAWMSG@GOTPAGE
Lloh123:
	ldr	x9, [x9, _C_RAWMSG@GOTPAGEOFF]
Lloh124:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x27, #48
	bl	_rwm_free
	add	x22, x27, #32
	add	x0, x27, #40
	bl	_rwm_free
	mov	x0, x22
	bl	_rwm_free
	add	x0, x27, #24
	bl	_rwm_free
LBB0_41:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh125:
	adrp	x8, _ct_none@GOTPAGE
Lloh126:
	ldr	x8, [x8, _ct_none@GOTPAGEOFF]
Lloh127:
	ldr	x8, [x8]
	str	x8, [x27]
	mov	x0, x26
	bl	_close
	mov	x28, x21
	b	LBB0_3
LBB0_42:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [sp, #76]
	bl	_ntohs
	str	x0, [x27, #80]
	ldr	w0, [sp, #92]
	bl	_ntohs
	str	x0, [x27, #88]
	ldr	w0, [x27, #132]
	ldr	w1, [sp, #72]
	mov	w2, #16
	bl	_memcpy
	ldr	w0, [x27, #128]
	ldr	w1, [sp, #88]
	mov	w2, #16
	bl	_memcpy
Lloh128:
	adrp	x8, _C_IPV6@GOTPAGE
Lloh129:
	ldr	x8, [x8, _C_IPV6@GOTPAGEOFF]
Lloh130:
	ldr	w8, [x8]
	ldr	w9, [x28]
	orr	w8, w9, w8
	str	w8, [x28]
	b	LBB0_28
LBB0_43:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w3, [x27]
	mov	w0, #0
Lloh131:
	adrp	x1, l_.str.5@PAGE
Lloh132:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_44:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, x26
	bl	_vkprintf
	b	LBB0_3
LBB0_45:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x27, #200
	stp	xzr, xzr, [x27, #40]
	ldr	w1, [x27, #192]
Lloh133:
	adrp	x20, _BUFF_SIZE@GOTPAGE
Lloh134:
	ldr	x20, [x20, _BUFF_SIZE@GOTPAGEOFF]
	ldr	w2, [x20]
	bl	_init_builtin_buffer
	add	x0, x27, #184
	ldr	w1, [x27, #180]
	ldr	w2, [x20]
	bl	_init_builtin_buffer
	b	LBB0_23
LBB0_46:
	cbnz	w23, LBB0_48
; %bb.47:
Lloh135:
	adrp	x8, _errno@GOTPAGE
Lloh136:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh137:
	ldr	x8, [x8]
Lloh138:
	adrp	x9, _EAGAIN@GOTPAGE
Lloh139:
	ldr	x9, [x9, _EAGAIN@GOTPAGEOFF]
Lloh140:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	ldr	w2, [x19, #8]
Lloh141:
	adrp	x1, l_.str@PAGE
Lloh142:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x26
	bl	_vkprintf
LBB0_48:
Lloh143:
	adrp	x8, _EVA_CONTINUE@GOTPAGE
Lloh144:
	ldr	x8, [x8, _EVA_CONTINUE@GOTPAGEOFF]
LBB0_49:
	ldr	w0, [x8]
	ldur	x8, [x29, #-96]
Lloh145:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh146:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh147:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_52
; %bb.50:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #272]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #256]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #240]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_51:
Lloh148:
	adrp	x8, _EVA_REMOVE@GOTPAGE
Lloh149:
	ldr	x8, [x8, _EVA_REMOVE@GOTPAGEOFF]
	b	LBB0_49
LBB0_52:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh103, Lloh104
	.loh AdrpLdrGot	Lloh101, Lloh102
	.loh AdrpLdrGot	Lloh107, Lloh108
	.loh AdrpAdd	Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGot	Lloh112, Lloh113
	.loh AdrpAdd	Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGotLdr	Lloh128, Lloh129, Lloh130
	.loh AdrpAdd	Lloh131, Lloh132
	.loh AdrpLdrGot	Lloh133, Lloh134
	.loh AdrpAdd	Lloh141, Lloh142
	.loh AdrpLdrGotLdr	Lloh138, Lloh139, Lloh140
	.loh AdrpLdrGotLdr	Lloh135, Lloh136, Lloh137
	.loh AdrpLdrGot	Lloh143, Lloh144
	.loh AdrpLdrGotLdr	Lloh145, Lloh146, Lloh147
	.loh AdrpLdrGot	Lloh148, Lloh149
	.cfi_endproc
                                        ; -- End function
	.comm	_ct_listen,8,3                  ; @ct_listen
	.comm	_errno,8,3                      ; @errno
	.comm	_EAGAIN,8,3                     ; @EAGAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"accept(%d) unexpectedly returns %d: %m\n"

	.comm	_inbound_connections_accepted,4,2 ; @inbound_connections_accepted
	.comm	_MAX_EVENTS,4,2                 ; @MAX_EVENTS
	.comm	_Events,8,3                     ; @Events
	.comm	_C_IPV6,4,2                     ; @C_IPV6
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_AF_INET,8,3                    ; @AF_INET
l_.str.1:                               ; @.str.1
	.asciz	"accepted incoming connection of type %s at %s:%d -> %s:%d, fd=%d\n"

l_.str.2:                               ; @.str.2
	.asciz	"accepted incoming ipv6 connection of type %s at [%s]:%d -> [%s]:%d, fd=%d\n"

	.comm	_F_GETFL,4,2                    ; @F_GETFL
	.comm	_F_SETFL,4,2                    ; @F_SETFL
	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
l_.str.3:                               ; @.str.3
	.asciz	"cannot set O_NONBLOCK on accepted socket %d: %m\n"

	.comm	_MAX_CONNECTIONS,4,2            ; @MAX_CONNECTIONS
	.comm	_maxconn,4,2                    ; @maxconn
	.comm	_max_connection,4,2             ; @max_connection
	.comm	_IPPROTO_TCP,4,2                ; @IPPROTO_TCP
	.comm	_TCP_NODELAY,4,2                ; @TCP_NODELAY
	.comm	_tcp_maximize_buffers,8,3       ; @tcp_maximize_buffers
	.comm	_Connections,8,3                ; @Connections
	.comm	_conn_generation,8,3            ; @conn_generation
	.comm	_C_WANTRD,4,2                   ; @C_WANTRD
	.comm	_C_RAWMSG,4,2                   ; @C_RAWMSG
	.comm	_BUFF_SIZE,4,2                  ; @BUFF_SIZE
	.comm	_conn_timer_wakeup_gateway,4,2  ; @conn_timer_wakeup_gateway
	.comm	_ct_inbound,8,3                 ; @ct_inbound
	.comm	_conn_expect_query,4,2          ; @conn_expect_query
	.comm	_server_read_write_gateway,4,2  ; @server_read_write_gateway
	.comm	_EVT_READ,4,2                   ; @EVT_READ
	.comm	_C_WANTWR,4,2                   ; @C_WANTWR
	.comm	_EVT_WRITE,4,2                  ; @EVT_WRITE
	.comm	_EVT_SPEC,4,2                   ; @EVT_SPEC
	.comm	_active_connections,4,2         ; @active_connections
	.comm	_C_SPECIAL,4,2                  ; @C_SPECIAL
	.comm	_active_special_connections,8,3 ; @active_special_connections
	.comm	_max_special_connections,8,3    ; @max_special_connections
l_.str.4:                               ; @.str.4
	.asciz	"ERROR: forced to accept connection when special connections limit was reached (%d of %d)\n"

	.comm	_EVA_REMOVE,4,2                 ; @EVA_REMOVE
	.comm	_C_NOQACK,4,2                   ; @C_NOQACK
	.comm	_TCP_WINDOW_CLAMP,4,2           ; @TCP_WINDOW_CLAMP
l_.str.5:                               ; @.str.5
	.asciz	"error while setting window size for socket %d to %d: %m\n"

	.comm	_SOL_SOCKET,4,2                 ; @SOL_SOCKET
	.comm	_SO_RCVBUF,4,2                  ; @SO_RCVBUF
l_.str.6:                               ; @.str.6
	.asciz	"window clamp for socket %d is %d, receive buffer is %d\n"

	.comm	_ct_none,8,3                    ; @ct_none
	.comm	_EVA_CONTINUE,4,2               ; @EVA_CONTINUE
.subsections_via_symbols
