	.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
	subq	$24, %rsp
	.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_35
## %bb.3:
	movq	_verbosity@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_5
## %bb.4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	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	%ebx, %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_36
## %bb.8:
	movq	(%r15), %rdi
	movq	_ct_rpc_server@GOTPCREL(%rip), %rsi
	movq	_rpc_methods@GOTPCREL(%rip), %rdx
	callq	_init_listening_connection
	movq	_SIGINT@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_sigint_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_sigterm_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	_SIGUSR1@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_sigusr1_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	_SIGPIPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	_SIGPOLL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_sigpoll_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	cmpq	$0, (%r14)
	je	LBB0_10
## %bb.9:
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_sighup_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	xorl	%eax, %eax
	callq	_reopen_logs
LBB0_10:
	cmpl	$0, (%r13)
	jle	LBB0_12
## %bb.11:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_12:
	movq	_pending_signals@GOTPCREL(%rip), %r15
	movq	(%r15), %rdx
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shlq	%cl, %rax
	movq	_SIGUSR1@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	btsq	%rcx, %rax
	notq	%rax
	testq	%rax, %rdx
	je	LBB0_13
LBB0_31:
	cmpl	$0, (%r13)
	jle	LBB0_34
## %bb.32:
	testq	%rdx, %rdx
	je	LBB0_34
## %bb.33:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_34:
	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	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
LBB0_13:
	movq	_quit_steps@GOTPCREL(%rip), %r12
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%ebx, %ebx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_14 Depth=1
	incl	%ebx
	movq	(%r15), %rdx
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	$1, %eax
	shlq	%cl, %rax
	movq	_SIGUSR1@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	btsq	%rcx, %rax
	notq	%rax
	testq	%rax, %rdx
	movq	%r14, %r13
	jne	LBB0_31
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r13)
	jle	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movzbl	%bl, %eax
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_14 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.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	$57, %edi
	callq	_epoll_work
	movq	_sigpoll_cnt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_21
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=1
	cmpl	$2, (%r13)
	jl	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_20:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	_sigpoll_cnt@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
LBB0_21:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r15), %rax
	movq	_SIGHUP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	$1, %edx
	shlq	%cl, %rdx
	btq	%rcx, %rax
	jae	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_14 Depth=1
	notq	%rdx
	andq	%rdx, %rax
	movq	%rax, (%r15)
	movl	$1, %edi
	callq	_flush_all
	movq	(%r15), %rax
LBB0_23:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	%r13, %r14
	movq	_SIGUSR1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	$1, %edx
	shlq	%cl, %rdx
	btq	%rcx, %rax
	jae	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_14 Depth=1
	notq	%rdx
	andq	%rdx, %rax
	movq	%rax, (%r15)
	xorl	%eax, %eax
	callq	_reopen_logs
	movl	$1, %edi
	callq	_flush_all
LBB0_25:                                ##   in Loop: Header=BB0_14 Depth=1
	xorl	%eax, %eax
	callq	_tl_restart_all_ready
	movq	_now@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	cmpl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_14 Depth=1
	xorl	%eax, %eax
	callq	_cron
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
LBB0_27:                                ##   in Loop: Header=BB0_14 Depth=1
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_30
## %bb.28:                              ##   in Loop: Header=BB0_14 Depth=1
	decq	%rax
	movq	%rax, (%r12)
	jne	LBB0_30
## %bb.29:
	movq	(%r15), %rdx
	movq	%r14, %r13
	jmp	LBB0_31
LBB0_35:
	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_36:
	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
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.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_rpc_server,4,2              ## @ct_rpc_server
	.comm	_rpc_methods,4,2                ## @rpc_methods
	.comm	_SIGINT,8,3                     ## @SIGINT
	.comm	_sigint_handler,4,2             ## @sigint_handler
	.comm	_SIGTERM,8,3                    ## @SIGTERM
	.comm	_sigterm_handler,4,2            ## @sigterm_handler
	.comm	_SIGUSR1,8,3                    ## @SIGUSR1
	.comm	_sigusr1_handler,4,2            ## @sigusr1_handler
	.comm	_SIGPIPE,8,3                    ## @SIGPIPE
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_SIGPOLL,8,3                    ## @SIGPOLL
	.comm	_sigpoll_handler,4,2            ## @sigpoll_handler
	.comm	_SIGHUP,8,3                     ## @SIGHUP
	.comm	_sighup_handler,4,2             ## @sighup_handler
L_.str.4:                               ## @.str.4
	.asciz	"Server started\n"

	.comm	_pending_signals,8,3            ## @pending_signals
L_.str.5:                               ## @.str.5
	.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.6:                               ## @.str.6
	.asciz	"after epoll_work(), sigpoll_cnt=%d\n"

	.comm	_now,4,2                        ## @now
	.comm	_quit_steps,8,3                 ## @quit_steps
L_.str.7:                               ## @.str.7
	.asciz	"Quitting because of pending signals = %llx\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_35
; %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]
	cmp	w8, #1
	b.lt	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_36
; %bb.8:
	ldr	x0, [x21]
Lloh30:
	adrp	x1, _ct_rpc_server@GOTPAGE
Lloh31:
	ldr	x1, [x1, _ct_rpc_server@GOTPAGEOFF]
Lloh32:
	adrp	x2, _rpc_methods@GOTPAGE
Lloh33:
	ldr	x2, [x2, _rpc_methods@GOTPAGEOFF]
	bl	_init_listening_connection
Lloh34:
	adrp	x8, _SIGINT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh36:
	ldr	x0, [x8]
Lloh37:
	adrp	x8, _sigint_handler@GOTPAGE
Lloh38:
	ldr	x8, [x8, _sigint_handler@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	bl	_signal
Lloh40:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh41:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh42:
	ldr	x0, [x8]
Lloh43:
	adrp	x8, _sigterm_handler@GOTPAGE
Lloh44:
	ldr	x8, [x8, _sigterm_handler@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	bl	_signal
Lloh46:
	adrp	x24, _SIGUSR1@GOTPAGE
Lloh47:
	ldr	x24, [x24, _SIGUSR1@GOTPAGEOFF]
	ldr	x0, [x24]
Lloh48:
	adrp	x8, _sigusr1_handler@GOTPAGE
Lloh49:
	ldr	x8, [x8, _sigusr1_handler@GOTPAGEOFF]
Lloh50:
	ldr	w1, [x8]
	bl	_signal
Lloh51:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh52:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh53:
	ldr	x0, [x8]
Lloh54:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh55:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
	bl	_signal
Lloh57:
	adrp	x8, _SIGPOLL@GOTPAGE
Lloh58:
	ldr	x8, [x8, _SIGPOLL@GOTPAGEOFF]
Lloh59:
	ldr	x0, [x8]
Lloh60:
	adrp	x8, _sigpoll_handler@GOTPAGE
Lloh61:
	ldr	x8, [x8, _sigpoll_handler@GOTPAGEOFF]
Lloh62:
	ldr	w1, [x8]
	bl	_signal
	ldr	x8, [x19]
Lloh63:
	adrp	x25, _SIGHUP@GOTPAGE
Lloh64:
	ldr	x25, [x25, _SIGHUP@GOTPAGEOFF]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	x0, [x25]
Lloh65:
	adrp	x8, _sighup_handler@GOTPAGE
Lloh66:
	ldr	x8, [x8, _sighup_handler@GOTPAGEOFF]
Lloh67:
	ldr	w1, [x8]
	bl	_signal
	bl	_reopen_logs
LBB0_10:
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.11:
	ldr	w0, [x22]
Lloh68:
	adrp	x1, l_.str.4@PAGE
Lloh69:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
LBB0_12:
Lloh70:
	adrp	x26, _pending_signals@GOTPAGE
Lloh71:
	ldr	x26, [x26, _pending_signals@GOTPAGEOFF]
	ldr	x8, [x26]
	ldr	x9, [x24]
	mov	w10, #1
	lsl	x9, x10, x9
	ldr	x11, [x25]
	lsl	x10, x10, x11
	orr	x9, x10, x9
	bics	xzr, x8, x9
	b.ne	LBB0_31
; %bb.13:
	mov	w20, #0
	mov	w27, #0
Lloh72:
	adrp	x28, _sigpoll_cnt@GOTPAGE
Lloh73:
	ldr	x28, [x28, _sigpoll_cnt@GOTPAGEOFF]
	mov	w19, #1
Lloh74:
	adrp	x22, _quit_steps@GOTPAGE
Lloh75:
	ldr	x22, [x22, _quit_steps@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	w27, w27, #1
	ldr	x8, [x26]
	ldr	x9, [x24]
	lsl	x9, x19, x9
	ldr	x10, [x25]
	lsl	x10, x19, x10
	orr	x9, x10, x9
	bics	xzr, x8, x9
	b.ne	LBB0_30
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23]
	and	w9, w27, #0xff
	cmp	w8, #1
	ccmp	w9, #0, #0, ge
	b.ne	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh76:
	adrp	x8, _stderr@GOTPAGE
Lloh77:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh78:
	ldr	w0, [x8]
Lloh79:
	adrp	x8, _active_connections@GOTPAGE
Lloh80:
	ldr	x8, [x8, _active_connections@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
Lloh82:
	adrp	x9, _maxconn@GOTPAGE
Lloh83:
	ldr	x9, [x9, _maxconn@GOTPAGEOFF]
Lloh84:
	ldr	w9, [x9]
Lloh85:
	adrp	x10, _NB_used@GOTPAGE
Lloh86:
	ldr	x10, [x10, _NB_used@GOTPAGEOFF]
Lloh87:
	ldr	w10, [x10]
Lloh88:
	adrp	x11, _NB_alloc@GOTPAGE
Lloh89:
	ldr	x11, [x11, _NB_alloc@GOTPAGEOFF]
Lloh90:
	ldr	w11, [x11]
Lloh91:
	adrp	x12, _NB_max@GOTPAGE
Lloh92:
	ldr	x12, [x12, _NB_max@GOTPAGEOFF]
Lloh93:
	ldr	w12, [x12]
	stp	x11, x12, [sp, #24]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
Lloh94:
	adrp	x1, l_.str.5@PAGE
Lloh95:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
LBB0_17:                                ;   in Loop: Header=BB0_15 Depth=1
	mov	w0, #57
	bl	_epoll_work
	ldr	w8, [x28]
	cmp	w8, #1
	b.lt	LBB0_21
; %bb.18:                               ;   in Loop: Header=BB0_15 Depth=1
	ldr	w9, [x23]
	cmp	w9, #2
	b.lt	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_15 Depth=1
Lloh96:
	adrp	x9, _stderr@GOTPAGE
Lloh97:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh98:
	ldr	w0, [x9]
	str	x8, [sp]
Lloh99:
	adrp	x1, l_.str.6@PAGE
Lloh100:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
LBB0_20:                                ;   in Loop: Header=BB0_15 Depth=1
	str	wzr, [x28]
LBB0_21:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x26]
	ldr	x9, [x25]
	lsl	x9, x19, x9
	tst	x9, x8
	b.eq	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_15 Depth=1
	bic	x8, x8, x9
	str	x8, [x26]
	mov	w0, #1
	bl	_flush_all
	ldr	x8, [x26]
LBB0_23:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x9, [x24]
	lsl	x9, x19, x9
	tst	x9, x8
	b.eq	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_15 Depth=1
	bic	x8, x8, x9
	str	x8, [x26]
	bl	_reopen_logs
	mov	w0, #1
	bl	_flush_all
LBB0_25:                                ;   in Loop: Header=BB0_15 Depth=1
	bl	_tl_restart_all_ready
Lloh101:
	adrp	x8, _now@GOTPAGE
Lloh102:
	ldr	x8, [x8, _now@GOTPAGEOFF]
Lloh103:
	ldr	w21, [x8]
	cmp	w21, w20
	b.eq	LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_15 Depth=1
	bl	_cron
	mov	x20, x21
LBB0_27:                                ;   in Loop: Header=BB0_15 Depth=1
	ldr	x8, [x22]
	cbz	x8, LBB0_14
; %bb.28:                               ;   in Loop: Header=BB0_15 Depth=1
	subs	x8, x8, #1
	str	x8, [x22]
	b.ne	LBB0_14
; %bb.29:
	ldr	x8, [x26]
LBB0_30:
Lloh104:
	adrp	x21, _sfd@GOTPAGE
Lloh105:
	ldr	x21, [x21, _sfd@GOTPAGEOFF]
Lloh106:
	adrp	x22, _stderr@GOTPAGE
Lloh107:
	ldr	x22, [x22, _stderr@GOTPAGEOFF]
LBB0_31:
	ldr	w9, [x23]
	cmp	w9, #1
	b.lt	LBB0_34
; %bb.32:
	cbz	x8, LBB0_34
; %bb.33:
	ldr	w0, [x22]
	str	x8, [sp]
Lloh108:
	adrp	x1, l_.str.7@PAGE
Lloh109:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_fprintf
LBB0_34:
	ldr	x0, [x21]
	bl	_epoll_close
	ldr	x0, [x21]
	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_35:
Lloh110:
	adrp	x8, _stderr@GOTPAGE
Lloh111:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh112:
	ldr	w0, [x8]
Lloh113:
	adrp	x8, _port@GOTPAGE
Lloh114:
	ldr	x8, [x8, _port@GOTPAGEOFF]
Lloh115:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh116:
	adrp	x1, l_.str@PAGE
Lloh117:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #3
	bl	_exit
LBB0_36:
	ldr	w0, [x22]
	ldr	x8, [x20]
Lloh118:
	adrp	x9, l_.str.3@PAGE
Lloh119:
	add	x9, x9, l_.str.3@PAGEOFF
	cmp	x8, #0
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh120:
	adrp	x1, l_.str.2@PAGE
Lloh121:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.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	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpAdd	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGot	Lloh106, Lloh107
	.loh AdrpLdrGot	Lloh104, Lloh105
	.loh AdrpAdd	Lloh108, Lloh109
	.loh AdrpAdd	Lloh116, Lloh117
	.loh AdrpLdrGotLdr	Lloh113, Lloh114, Lloh115
	.loh AdrpLdrGotLdr	Lloh110, Lloh111, Lloh112
	.loh AdrpAdd	Lloh120, Lloh121
	.loh AdrpAdd	Lloh118, Lloh119
	.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_rpc_server,4,2              ; @ct_rpc_server
	.comm	_rpc_methods,4,2                ; @rpc_methods
	.comm	_SIGINT,8,3                     ; @SIGINT
	.comm	_sigint_handler,4,2             ; @sigint_handler
	.comm	_SIGTERM,8,3                    ; @SIGTERM
	.comm	_sigterm_handler,4,2            ; @sigterm_handler
	.comm	_SIGUSR1,8,3                    ; @SIGUSR1
	.comm	_sigusr1_handler,4,2            ; @sigusr1_handler
	.comm	_SIGPIPE,8,3                    ; @SIGPIPE
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_SIGPOLL,8,3                    ; @SIGPOLL
	.comm	_sigpoll_handler,4,2            ; @sigpoll_handler
	.comm	_SIGHUP,8,3                     ; @SIGHUP
	.comm	_sighup_handler,4,2             ; @sighup_handler
l_.str.4:                               ; @.str.4
	.asciz	"Server started\n"

	.comm	_pending_signals,8,3            ; @pending_signals
l_.str.5:                               ; @.str.5
	.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.6:                               ; @.str.6
	.asciz	"after epoll_work(), sigpoll_cnt=%d\n"

	.comm	_now,4,2                        ; @now
	.comm	_quit_steps,8,3                 ; @quit_steps
l_.str.7:                               ; @.str.7
	.asciz	"Quitting because of pending signals = %llx\n"

.subsections_via_symbols
