	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_start_server                   ## -- Begin function start_server
	.p2align	4, 0x90
_start_server:                          ## @start_server
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_init_epoll
	xorl	%eax, %eax
	callq	_init_netbuffers
	movq	_sfd@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_port@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_backlog@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_settings_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ecx, %ecx
	callq	_server_socket
	movq	%rax, (%r15)
LBB0_2:
	testq	%rax, %rax
	js	LBB0_34
## %bb.3:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_settings_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_buf@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_conv_addr
	movq	_port@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	(%r15), %r8
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_5:
	movq	_daemonize@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_setsid
LBB0_7:
	movq	_username@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_change_user
	testq	%rax, %rax
	js	LBB0_8
## %bb.9:
	movq	(%r15), %rdi
	movq	_ct_watchcat_engine_server@GOTPCREL(%rip), %rsi
	movq	_memcache_methods@GOTPCREL(%rip), %rdx
	callq	_init_listening_connection
	movq	_hostname@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_gethostbyname
	testq	%rax, %rax
	je	LBB0_14
## %bb.10:
	movq	(%rax), %rcx
	movq	_AF_INET@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_14
## %bb.11:
	cmpl	$4, 8(%rax)
	jne	LBB0_14
## %bb.12:
	cmpl	$0, 24(%rax)
	je	LBB0_14
## %bb.13:
	movq	16(%rax), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.16:
	movl	(%rax), %eax
	movq	_default_ct@GOTPCREL(%rip), %rdi
	movl	%eax, 4(%rdi)
	movq	_queue_port@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	xorl	%esi, %esi
	callq	_create_target
	movq	_queue_conn@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_create_all_outbound_connections
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_sigint_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_sigterm_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_sigusr1_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	_SIGPOLL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_sigpoll_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	cmpq	$0, (%r14)
	je	LBB0_18
## %bb.17:
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_sighup_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	xorl	%eax, %eax
	callq	_reopen_logs
LBB0_18:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_20
## %bb.19:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_20:
	movq	_sigpoll_cnt@GOTPCREL(%rip), %r14
	movq	_quit_steps@GOTPCREL(%rip), %r12
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_21 Depth=1
	incl	%r13d
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movzbl	%r13b, %eax
	testl	%eax, %eax
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_active_connections@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_maxconn@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_NB_used@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_NB_alloc@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_NB_max@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_24:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	$57, %edi
	callq	_epoll_work
	movl	(%r14), %edx
	testl	%edx, %edx
	jle	LBB0_28
## %bb.25:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_27:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	$0, (%r14)
LBB0_28:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	_now@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	%r15d, %ebx
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_21 Depth=1
	xorl	%eax, %eax
	callq	_cron
	movl	%ebx, %r15d
LBB0_30:                                ##   in Loop: Header=BB0_21 Depth=1
	xorl	%eax, %eax
	callq	_epoll_pre_event
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_21 Depth=1
	decq	%rax
	movq	%rax, (%r12)
	jne	LBB0_32
## %bb.33:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	_sfd@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_epoll_close
	movq	(%rbx), %rdi
	callq	_close
	shrq	$63, %rax
	xorl	$1, %eax
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
LBB0_14:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.4(%rip), %rsi
LBB0_15:
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_34:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_port@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$3, %edi
	callq	_exit
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	testq	%rax, %rax
	leaq	L_.str.3(%rip), %rdx
	cmovneq	%rax, %rdx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_sfd,8,3                        ## @sfd
	.comm	_port,4,2                       ## @port
	.comm	_settings_addr,4,2              ## @settings_addr
	.comm	_backlog,4,2                    ## @backlog
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot open server socket at port %d: %m\n"

	.comm	_verbosity,4,2                  ## @verbosity
L_.str.1:                               ## @.str.1
	.asciz	"created listening socket at %s:%d, fd=%d\n"

	.comm	_buf,4,2                        ## @buf
	.comm	_daemonize,8,3                  ## @daemonize
	.comm	_username,8,3                   ## @username
L_.str.2:                               ## @.str.2
	.asciz	"fatal: cannot change user to %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"(none)"

	.comm	_ct_watchcat_engine_server,4,2  ## @ct_watchcat_engine_server
	.comm	_memcache_methods,4,2           ## @memcache_methods
	.comm	_hostname,8,3                   ## @hostname
	.comm	_AF_INET,8,3                    ## @AF_INET
L_.str.4:                               ## @.str.4
	.asciz	"fatal: cannot resolve hostname %s: %m\n"

	.comm	_default_ct,8,2                 ## @default_ct
	.comm	_queue_port,4,2                 ## @queue_port
	.comm	_queue_conn,4,2                 ## @queue_conn
	.comm	_SIGINT,4,2                     ## @SIGINT
	.comm	_sigint_handler,4,2             ## @sigint_handler
	.comm	_SIGTERM,4,2                    ## @SIGTERM
	.comm	_sigterm_handler,4,2            ## @sigterm_handler
	.comm	_SIGUSR1,4,2                    ## @SIGUSR1
	.comm	_sigusr1_handler,4,2            ## @sigusr1_handler
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_SIGPOLL,4,2                    ## @SIGPOLL
	.comm	_sigpoll_handler,4,2            ## @sigpoll_handler
	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_sighup_handler,4,2             ## @sighup_handler
L_.str.5:                               ## @.str.5
	.asciz	"Server started\n"

L_.str.6:                               ## @.str.6
	.asciz	"epoll_work(): %d out of %d connections, network bufers: %d used, %d out of %d allocated\n"

	.comm	_active_connections,4,2         ## @active_connections
	.comm	_maxconn,4,2                    ## @maxconn
	.comm	_NB_used,4,2                    ## @NB_used
	.comm	_NB_alloc,4,2                   ## @NB_alloc
	.comm	_NB_max,4,2                     ## @NB_max
	.comm	_sigpoll_cnt,4,2                ## @sigpoll_cnt
L_.str.7:                               ## @.str.7
	.asciz	"after epoll_work(), sigpoll_cnt=%d\n"

	.comm	_now,4,2                        ## @now
	.comm	_quit_steps,8,3                 ## @quit_steps
L_.str.8:                               ## @.str.8
	.asciz	"Quitting.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_start_server                   ; -- Begin function start_server
	.p2align	2
_start_server:                          ; @start_server
	.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
	bl	_init_epoll
	bl	_init_netbuffers
Lloh0:
	adrp	x21, _sfd@GOTPAGE
Lloh1:
	ldr	x21, [x21, _sfd@GOTPAGEOFF]
	ldr	x0, [x21]
	cbnz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _port@GOTPAGE
Lloh3:
	ldr	x8, [x8, _port@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _backlog@GOTPAGE
Lloh6:
	ldr	x8, [x8, _backlog@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _settings_addr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _settings_addr@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w3, #0
	bl	_server_socket
	str	x0, [x21]
LBB0_2:
	tbnz	x0, #63, LBB0_32
; %bb.3:
Lloh11:
	adrp	x23, _verbosity@GOTPAGE
Lloh12:
	ldr	x23, [x23, _verbosity@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh13:
	adrp	x22, _stderr@GOTPAGE
Lloh14:
	ldr	x22, [x22, _stderr@GOTPAGEOFF]
	cbz	w8, LBB0_5
; %bb.4:
	ldr	w19, [x22]
Lloh15:
	adrp	x8, _settings_addr@GOTPAGE
Lloh16:
	ldr	x8, [x8, _settings_addr@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x8, _buf@GOTPAGE
Lloh19:
	ldr	x8, [x8, _buf@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_conv_addr
Lloh21:
	adrp	x8, _port@GOTPAGE
Lloh22:
	ldr	x8, [x8, _port@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh23:
	ldr	w8, [x8]
	stp	x8, x9, [sp, #8]
	str	x0, [sp]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_fprintf
LBB0_5:
Lloh26:
	adrp	x19, _daemonize@GOTPAGE
Lloh27:
	ldr	x19, [x19, _daemonize@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_7
; %bb.6:
	bl	_setsid
LBB0_7:
Lloh28:
	adrp	x20, _username@GOTPAGE
Lloh29:
	ldr	x20, [x20, _username@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_change_user
	tbnz	x0, #63, LBB0_33
; %bb.8:
	ldr	x0, [x21]
Lloh30:
	adrp	x1, _ct_watchcat_engine_server@GOTPAGE
Lloh31:
	ldr	x1, [x1, _ct_watchcat_engine_server@GOTPAGEOFF]
Lloh32:
	adrp	x2, _memcache_methods@GOTPAGE
Lloh33:
	ldr	x2, [x2, _memcache_methods@GOTPAGEOFF]
	bl	_init_listening_connection
Lloh34:
	adrp	x20, _hostname@GOTPAGE
Lloh35:
	ldr	x20, [x20, _hostname@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_gethostbyname
	cbz	x0, LBB0_30
; %bb.9:
	ldr	x8, [x0]
Lloh36:
	adrp	x9, _AF_INET@GOTPAGE
Lloh37:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh38:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_30
; %bb.10:
	ldr	w8, [x0, #8]
	cmp	w8, #4
	b.ne	LBB0_30
; %bb.11:
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_30
; %bb.12:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_30
; %bb.13:
Lloh39:
	adrp	x0, _default_ct@GOTPAGE
Lloh40:
	ldr	x0, [x0, _default_ct@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh41:
	adrp	x9, _queue_port@GOTPAGE
Lloh42:
	ldr	x9, [x9, _queue_port@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	stp	w9, w8, [x0]
	mov	w1, #0
	bl	_create_target
Lloh44:
	adrp	x8, _queue_conn@GOTPAGE
Lloh45:
	ldr	x8, [x8, _queue_conn@GOTPAGEOFF]
Lloh46:
	str	w0, [x8]
	bl	_create_all_outbound_connections
Lloh47:
	adrp	x8, _SIGINT@GOTPAGE
Lloh48:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh49:
	ldr	w0, [x8]
Lloh50:
	adrp	x8, _sigint_handler@GOTPAGE
Lloh51:
	ldr	x8, [x8, _sigint_handler@GOTPAGEOFF]
Lloh52:
	ldr	w1, [x8]
	bl	_signal
Lloh53:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh54:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh55:
	ldr	w0, [x8]
Lloh56:
	adrp	x8, _sigterm_handler@GOTPAGE
Lloh57:
	ldr	x8, [x8, _sigterm_handler@GOTPAGEOFF]
Lloh58:
	ldr	w1, [x8]
	bl	_signal
Lloh59:
	adrp	x8, _SIGUSR1@GOTPAGE
Lloh60:
	ldr	x8, [x8, _SIGUSR1@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
Lloh62:
	adrp	x8, _sigusr1_handler@GOTPAGE
Lloh63:
	ldr	x8, [x8, _sigusr1_handler@GOTPAGEOFF]
Lloh64:
	ldr	w1, [x8]
	bl	_signal
Lloh65:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh66:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh67:
	ldr	w0, [x8]
Lloh68:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh69:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh70:
	ldr	w1, [x8]
	bl	_signal
Lloh71:
	adrp	x8, _SIGPOLL@GOTPAGE
Lloh72:
	ldr	x8, [x8, _SIGPOLL@GOTPAGEOFF]
Lloh73:
	ldr	w0, [x8]
Lloh74:
	adrp	x8, _sigpoll_handler@GOTPAGE
Lloh75:
	ldr	x8, [x8, _sigpoll_handler@GOTPAGEOFF]
Lloh76:
	ldr	w1, [x8]
	bl	_signal
	ldr	x8, [x19]
	cbz	x8, LBB0_15
; %bb.14:
Lloh77:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh78:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh79:
	ldr	w0, [x8]
Lloh80:
	adrp	x8, _sighup_handler@GOTPAGE
Lloh81:
	ldr	x8, [x8, _sighup_handler@GOTPAGEOFF]
Lloh82:
	ldr	w1, [x8]
	bl	_signal
	bl	_reopen_logs
LBB0_15:
	ldr	w8, [x23]
	cbz	w8, LBB0_17
; %bb.16:
	ldr	w0, [x22]
Lloh83:
	adrp	x1, l_.str.5@PAGE
Lloh84:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
LBB0_17:
	mov	x21, x22
	mov	w22, #0
	mov	w24, #0
Lloh85:
	adrp	x25, _sigpoll_cnt@GOTPAGE
Lloh86:
	ldr	x25, [x25, _sigpoll_cnt@GOTPAGEOFF]
Lloh87:
	adrp	x27, _now@GOTPAGE
Lloh88:
	ldr	x27, [x27, _now@GOTPAGEOFF]
Lloh89:
	adrp	x28, _quit_steps@GOTPAGE
Lloh90:
	ldr	x28, [x28, _quit_steps@GOTPAGEOFF]
Lloh91:
	adrp	x20, l_.str.6@PAGE
Lloh92:
	add	x20, x20, l_.str.6@PAGEOFF
Lloh93:
	adrp	x19, _NB_max@GOTPAGE
Lloh94:
	ldr	x19, [x19, _NB_max@GOTPAGEOFF]
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	add	w24, w24, #1
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	and	w9, w24, #0xff
	cmp	w8, #1
	ccmp	w9, #0, #0, ge
	b.ne	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w0, [x21]
Lloh95:
	adrp	x8, _active_connections@GOTPAGE
Lloh96:
	ldr	x8, [x8, _active_connections@GOTPAGEOFF]
Lloh97:
	ldr	w8, [x8]
Lloh98:
	adrp	x9, _maxconn@GOTPAGE
Lloh99:
	ldr	x9, [x9, _maxconn@GOTPAGEOFF]
Lloh100:
	ldr	w9, [x9]
Lloh101:
	adrp	x10, _NB_used@GOTPAGE
Lloh102:
	ldr	x10, [x10, _NB_used@GOTPAGEOFF]
Lloh103:
	ldr	w10, [x10]
Lloh104:
	adrp	x11, _NB_alloc@GOTPAGE
Lloh105:
	ldr	x11, [x11, _NB_alloc@GOTPAGEOFF]
Lloh106:
	ldr	w11, [x11]
	ldr	w12, [x19]
	stp	x11, x12, [sp, #24]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
	mov	x1, x20
	bl	_fprintf
LBB0_21:                                ;   in Loop: Header=BB0_19 Depth=1
	mov	w0, #57
	bl	_epoll_work
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w9, [x23]
	cmp	w9, #2
	b.lt	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_19 Depth=1
	ldr	w0, [x21]
	str	x8, [sp]
Lloh107:
	adrp	x1, l_.str.7@PAGE
Lloh108:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
LBB0_24:                                ;   in Loop: Header=BB0_19 Depth=1
	str	wzr, [x25]
LBB0_25:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w26, [x27]
	cmp	w26, w22
	b.eq	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_19 Depth=1
	bl	_cron
	mov	x22, x26
LBB0_27:                                ;   in Loop: Header=BB0_19 Depth=1
	bl	_epoll_pre_event
	ldr	x8, [x28]
	cbz	x8, LBB0_18
; %bb.28:                               ;   in Loop: Header=BB0_19 Depth=1
	subs	x8, x8, #1
	str	x8, [x28]
	b.ne	LBB0_18
; %bb.29:
	ldr	w0, [x21]
Lloh109:
	adrp	x1, l_.str.8@PAGE
Lloh110:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_fprintf
Lloh111:
	adrp	x19, _sfd@GOTPAGE
Lloh112:
	ldr	x19, [x19, _sfd@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_epoll_close
	ldr	x0, [x19]
	bl	_close
	lsr	x8, x0, #63
	eor	w0, w8, #0x1
	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
	b	_assert
LBB0_30:
	ldr	w0, [x22]
	ldr	x8, [x20]
	str	x8, [sp]
Lloh113:
	adrp	x1, l_.str.4@PAGE
Lloh114:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_31:
	bl	_fprintf
	mov	w0, #1
	bl	_exit
LBB0_32:
Lloh115:
	adrp	x8, _stderr@GOTPAGE
Lloh116:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh117:
	ldr	w0, [x8]
Lloh118:
	adrp	x8, _port@GOTPAGE
Lloh119:
	ldr	x8, [x8, _port@GOTPAGEOFF]
Lloh120:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh121:
	adrp	x1, l_.str@PAGE
Lloh122:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #3
	bl	_exit
LBB0_33:
	ldr	w0, [x22]
	ldr	x8, [x20]
Lloh123:
	adrp	x9, l_.str.3@PAGE
Lloh124:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	x8, #0
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh125:
	adrp	x1, l_.str.2@PAGE
Lloh126:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_31
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGotLdr	Lloh71, Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotStr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpLdrGot	Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpAdd	Lloh107, Lloh108
	.loh AdrpLdrGot	Lloh111, Lloh112
	.loh AdrpAdd	Lloh109, Lloh110
	.loh AdrpAdd	Lloh113, Lloh114
	.loh AdrpAdd	Lloh121, Lloh122
	.loh AdrpLdrGotLdr	Lloh118, Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.loh AdrpAdd	Lloh125, Lloh126
	.loh AdrpAdd	Lloh123, Lloh124
	.cfi_endproc
                                        ; -- End function
	.comm	_sfd,8,3                        ; @sfd
	.comm	_port,4,2                       ; @port
	.comm	_settings_addr,4,2              ; @settings_addr
	.comm	_backlog,4,2                    ; @backlog
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot open server socket at port %d: %m\n"

	.comm	_verbosity,4,2                  ; @verbosity
l_.str.1:                               ; @.str.1
	.asciz	"created listening socket at %s:%d, fd=%d\n"

	.comm	_buf,4,2                        ; @buf
	.comm	_daemonize,8,3                  ; @daemonize
	.comm	_username,8,3                   ; @username
l_.str.2:                               ; @.str.2
	.asciz	"fatal: cannot change user to %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"(none)"

	.comm	_ct_watchcat_engine_server,4,2  ; @ct_watchcat_engine_server
	.comm	_memcache_methods,4,2           ; @memcache_methods
	.comm	_hostname,8,3                   ; @hostname
	.comm	_AF_INET,8,3                    ; @AF_INET
l_.str.4:                               ; @.str.4
	.asciz	"fatal: cannot resolve hostname %s: %m\n"

	.comm	_default_ct,8,2                 ; @default_ct
	.comm	_queue_port,4,2                 ; @queue_port
	.comm	_queue_conn,4,2                 ; @queue_conn
	.comm	_SIGINT,4,2                     ; @SIGINT
	.comm	_sigint_handler,4,2             ; @sigint_handler
	.comm	_SIGTERM,4,2                    ; @SIGTERM
	.comm	_sigterm_handler,4,2            ; @sigterm_handler
	.comm	_SIGUSR1,4,2                    ; @SIGUSR1
	.comm	_sigusr1_handler,4,2            ; @sigusr1_handler
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_SIGPOLL,4,2                    ; @SIGPOLL
	.comm	_sigpoll_handler,4,2            ; @sigpoll_handler
	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_sighup_handler,4,2             ; @sighup_handler
l_.str.5:                               ; @.str.5
	.asciz	"Server started\n"

l_.str.6:                               ; @.str.6
	.asciz	"epoll_work(): %d out of %d connections, network bufers: %d used, %d out of %d allocated\n"

	.comm	_active_connections,4,2         ; @active_connections
	.comm	_maxconn,4,2                    ; @maxconn
	.comm	_NB_used,4,2                    ; @NB_used
	.comm	_NB_alloc,4,2                   ; @NB_alloc
	.comm	_NB_max,4,2                     ; @NB_max
	.comm	_sigpoll_cnt,4,2                ; @sigpoll_cnt
l_.str.7:                               ; @.str.7
	.asciz	"after epoll_work(), sigpoll_cnt=%d\n"

	.comm	_now,4,2                        ; @now
	.comm	_quit_steps,8,3                 ; @quit_steps
l_.str.8:                               ; @.str.8
	.asciz	"Quitting.\n"

.subsections_via_symbols
