	.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	_daemonize@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_setsid
	xorl	%eax, %eax
	callq	_reopen_logs
LBB0_2:
	xorl	%eax, %eax
	callq	_mytime
	negl	%eax
	movq	_append_to_binlog_time@GOTPCREL(%rip), %r15
	movl	%eax, (%r15)
	movq	_binlog_disabled@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_7
## %bb.3:
	movq	_volumes@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_7
## %bb.4:
	xorl	%ebx, %ebx
	movq	_Volumes@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	callq	_storage_append_to_binlog
	testl	%eax, %eax
	js	LBB0_28
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_7:
	xorl	%eax, %eax
	callq	_mytime
	addl	%eax, (%r15)
	movq	_Connections@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	$2147483647, (%rax)             ## imm = 0x7FFFFFFF
	movq	_sfd@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_ct_rpc_server@GOTPCREL(%rip), %rsi
	movq	_storage_rpc_server@GOTPCREL(%rip), %rdx
	callq	_init_listening_connection
	movq	_http_sfd@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	js	LBB0_9
## %bb.8:
	movq	_ct_http_server@GOTPCREL(%rip), %rsi
	movq	_http_methods@GOTPCREL(%rip), %rdx
	callq	_init_listening_connection
LBB0_9:
	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), %rbx
	movl	(%rbx), %esi
	callq	_signal
	movq	_SIGIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_signal
	movq	_SIGPOLL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_sigpoll_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	_SIGRTMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_sigrtmax_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	cmpq	$0, (%r14)
	je	LBB0_11
## %bb.10:
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_sighup_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
LBB0_11:
	xorl	%eax, %eax
	callq	_mytime
	movq	_booting_time@GOTPCREL(%rip), %rcx
	addl	%eax, (%rcx)
	movq	_sigpoll_cnt@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_12 Depth=1
	incl	%r13d
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	testb	%r13b, %r13b
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_active_connections@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdx
	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)
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_vkprintf
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	$57, %edi
	callq	_epoll_work
	movq	_force_interrupt@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_15
## %bb.21:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	_force_reopen_logs@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	%r12d, %ebx
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_12 Depth=1
	leaq	L_.str.6(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_kprintf
	xorl	%eax, %eax
	callq	_reopen_logs
	movl	%ebx, %r12d
LBB0_23:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	(%r15), %rdx
	testq	%rdx, %rdx
	jle	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	$2, %edi
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_vkprintf
	movq	$0, (%r15)
LBB0_25:                                ##   in Loop: Header=BB0_12 Depth=1
	xorl	%eax, %eax
	callq	_check_all_aio_completions
	xorl	%eax, %eax
	callq	_write_thread_check_all_completions
	xorl	%eax, %eax
	callq	_forward_query_check_all_completions
	movq	_now@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpl	%r14d, %ebx
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_12 Depth=1
	xorl	%eax, %eax
	callq	_cron
	movl	%ebx, %r14d
	jmp	LBB0_27
LBB0_15:
	movq	_save_index_process@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_20
## %bb.16:
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_kprintf
	movq	_active_write_threads@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	je	LBB0_19
## %bb.17:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movl	$1, %edi
	callq	_sleep
	xorl	%eax, %eax
	callq	_write_thread_check_all_completions
	addl	%eax, %ebx
	cmpq	$0, (%r14)
	jne	LBB0_18
LBB0_19:
	leaq	L_.str.3(%rip), %rdi
	movl	%ebx, %esi
	xorl	%eax, %eax
	callq	_kprintf
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	xorl	%eax, %eax
	callq	_sync
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
LBB0_20:
	xorl	%edi, %edi
	callq	_exit
LBB0_28:
	movq	(%r13), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_kprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_daemonize,8,3                  ## @daemonize
	.comm	_append_to_binlog_time,4,2      ## @append_to_binlog_time
	.comm	_binlog_disabled,4,2            ## @binlog_disabled
	.comm	_volumes,4,2                    ## @volumes
	.comm	_Volumes,8,3                    ## @Volumes
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[v%lld] storage_append_to_binlog returns error code %d.\n"

	.comm	_Connections,8,3                ## @Connections
	.comm	_sfd,8,3                        ## @sfd
	.comm	_ct_rpc_server,4,2              ## @ct_rpc_server
	.comm	_storage_rpc_server,4,2         ## @storage_rpc_server
	.comm	_http_sfd,8,3                   ## @http_sfd
	.comm	_ct_http_server,4,2             ## @ct_http_server
	.comm	_http_methods,4,2               ## @http_methods
	.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	_SIGIO,4,2                      ## @SIGIO
	.comm	_SIGPOLL,4,2                    ## @SIGPOLL
	.comm	_sigpoll_handler,4,2            ## @sigpoll_handler
	.comm	_SIGRTMAX,4,2                   ## @SIGRTMAX
	.comm	_sigrtmax_handler,4,2           ## @sigrtmax_handler
	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_sighup_handler,4,2             ## @sighup_handler
	.comm	_booting_time,4,2               ## @booting_time
L_.str.1:                               ## @.str.1
	.asciz	"epoll_work(): %d out of %d connections, network buffers: %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	_force_interrupt,8,3            ## @force_interrupt
	.comm	_save_index_process,4,2         ## @save_index_process
L_.str.2:                               ## @.str.2
	.asciz	"Waiting write threads terminates.\n"

	.comm	_active_write_threads,8,3       ## @active_write_threads
L_.str.3:                               ## @.str.3
	.asciz	"%d threads has been terminated.\n"

L_.str.4:                               ## @.str.4
	.asciz	"Start sync.\n"

L_.str.5:                               ## @.str.5
	.asciz	"Sync has been completed.\n"

	.comm	_force_reopen_logs,4,2          ## @force_reopen_logs
L_.str.6:                               ## @.str.6
	.asciz	"reopen_logs (), force_reopen_logs counter is equal to %d.\n"

	.comm	_sigpoll_cnt,8,3                ## @sigpoll_cnt
L_.str.7:                               ## @.str.7
	.asciz	"after epoll_work(), sigpoll_cnt=%d\n"

	.comm	_now,4,2                        ## @now
.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, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	bl	_init_epoll
	bl	_init_netbuffers
Lloh0:
	adrp	x19, _daemonize@GOTPAGE
Lloh1:
	ldr	x19, [x19, _daemonize@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_setsid
	bl	_reopen_logs
LBB0_2:
	bl	_mytime
	neg	w8, w0
Lloh2:
	adrp	x20, _append_to_binlog_time@GOTPAGE
Lloh3:
	ldr	x20, [x20, _append_to_binlog_time@GOTPAGEOFF]
	str	w8, [x20]
Lloh4:
	adrp	x8, _binlog_disabled@GOTPAGE
Lloh5:
	ldr	x8, [x8, _binlog_disabled@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x21, _volumes@GOTPAGE
Lloh8:
	ldr	x21, [x21, _volumes@GOTPAGEOFF]
	ldr	w9, [x21]
	cmp	w8, #0
	ccmp	w9, #1, #8, eq
	b.lt	LBB0_6
; %bb.3:
	mov	x22, #0
Lloh9:
	adrp	x23, _Volumes@GOTPAGE
Lloh10:
	ldr	x23, [x23, _Volumes@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	x0, [x8, x22, lsl #3]
	bl	_storage_append_to_binlog
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_24
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_4
LBB0_6:
	bl	_mytime
	ldr	w8, [x20]
	add	w8, w8, w0
	str	w8, [x20]
Lloh11:
	adrp	x8, _Connections@GOTPAGE
Lloh12:
	ldr	x8, [x8, _Connections@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	mov	w9, #2147483647
	str	w9, [x8]
Lloh14:
	adrp	x8, _sfd@GOTPAGE
Lloh15:
	ldr	x8, [x8, _sfd@GOTPAGEOFF]
Lloh16:
	ldr	x0, [x8]
Lloh17:
	adrp	x1, _ct_rpc_server@GOTPAGE
Lloh18:
	ldr	x1, [x1, _ct_rpc_server@GOTPAGEOFF]
Lloh19:
	adrp	x2, _storage_rpc_server@GOTPAGE
Lloh20:
	ldr	x2, [x2, _storage_rpc_server@GOTPAGEOFF]
	bl	_init_listening_connection
Lloh21:
	adrp	x8, _http_sfd@GOTPAGE
Lloh22:
	ldr	x8, [x8, _http_sfd@GOTPAGEOFF]
Lloh23:
	ldr	x0, [x8]
	tbnz	x0, #63, LBB0_8
; %bb.7:
Lloh24:
	adrp	x1, _ct_http_server@GOTPAGE
Lloh25:
	ldr	x1, [x1, _ct_http_server@GOTPAGEOFF]
Lloh26:
	adrp	x2, _http_methods@GOTPAGE
Lloh27:
	ldr	x2, [x2, _http_methods@GOTPAGEOFF]
	bl	_init_listening_connection
LBB0_8:
Lloh28:
	adrp	x8, _SIGINT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
Lloh31:
	adrp	x8, _sigint_handler@GOTPAGE
Lloh32:
	ldr	x8, [x8, _sigint_handler@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	bl	_signal
Lloh34:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh35:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
Lloh37:
	adrp	x8, _sigterm_handler@GOTPAGE
Lloh38:
	ldr	x8, [x8, _sigterm_handler@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	bl	_signal
Lloh40:
	adrp	x8, _SIGUSR1@GOTPAGE
Lloh41:
	ldr	x8, [x8, _SIGUSR1@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
Lloh43:
	adrp	x8, _sigusr1_handler@GOTPAGE
Lloh44:
	ldr	x8, [x8, _sigusr1_handler@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	bl	_signal
Lloh46:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh47:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
Lloh49:
	adrp	x20, _SIG_IGN@GOTPAGE
Lloh50:
	ldr	x20, [x20, _SIG_IGN@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_signal
Lloh51:
	adrp	x8, _SIGIO@GOTPAGE
Lloh52:
	ldr	x8, [x8, _SIGIO@GOTPAGEOFF]
Lloh53:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_signal
Lloh54:
	adrp	x8, _SIGPOLL@GOTPAGE
Lloh55:
	ldr	x8, [x8, _SIGPOLL@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
Lloh57:
	adrp	x8, _sigpoll_handler@GOTPAGE
Lloh58:
	ldr	x8, [x8, _sigpoll_handler@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	bl	_signal
Lloh60:
	adrp	x8, _SIGRTMAX@GOTPAGE
Lloh61:
	ldr	x8, [x8, _SIGRTMAX@GOTPAGEOFF]
Lloh62:
	ldr	w0, [x8]
Lloh63:
	adrp	x8, _sigrtmax_handler@GOTPAGE
Lloh64:
	ldr	x8, [x8, _sigrtmax_handler@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	bl	_signal
	ldr	x8, [x19]
	cbz	x8, LBB0_10
; %bb.9:
Lloh66:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh67:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh68:
	ldr	w0, [x8]
Lloh69:
	adrp	x8, _sighup_handler@GOTPAGE
Lloh70:
	ldr	x8, [x8, _sighup_handler@GOTPAGEOFF]
Lloh71:
	ldr	w1, [x8]
	bl	_signal
LBB0_10:
	bl	_mytime
	mov	w24, #0
	mov	w23, #0
	mov	w22, #0
Lloh72:
	adrp	x8, _booting_time@GOTPAGE
Lloh73:
	ldr	x8, [x8, _booting_time@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, w0
	str	w9, [x8]
Lloh74:
	adrp	x25, _force_interrupt@GOTPAGE
Lloh75:
	ldr	x25, [x25, _force_interrupt@GOTPAGEOFF]
Lloh76:
	adrp	x26, _force_reopen_logs@GOTPAGE
Lloh77:
	ldr	x26, [x26, _force_reopen_logs@GOTPAGEOFF]
Lloh78:
	adrp	x27, _sigpoll_cnt@GOTPAGE
Lloh79:
	ldr	x27, [x27, _sigpoll_cnt@GOTPAGEOFF]
Lloh80:
	adrp	x20, l_.str.7@PAGE
Lloh81:
	add	x20, x20, l_.str.7@PAGEOFF
Lloh82:
	adrp	x28, _now@GOTPAGE
Lloh83:
	ldr	x28, [x28, _now@GOTPAGEOFF]
Lloh84:
	adrp	x21, l_.str.6@PAGE
Lloh85:
	add	x21, x21, l_.str.6@PAGEOFF
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	w22, w22, #1
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	tst	w22, #0xff
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
Lloh86:
	adrp	x8, _active_connections@GOTPAGE
Lloh87:
	ldr	x8, [x8, _active_connections@GOTPAGEOFF]
Lloh88:
	ldrsw	x2, [x8]
Lloh89:
	adrp	x8, _maxconn@GOTPAGE
Lloh90:
	ldr	x8, [x8, _maxconn@GOTPAGEOFF]
Lloh91:
	ldr	w8, [x8]
Lloh92:
	adrp	x9, _NB_used@GOTPAGE
Lloh93:
	ldr	x9, [x9, _NB_used@GOTPAGEOFF]
Lloh94:
	ldr	w9, [x9]
Lloh95:
	adrp	x10, _NB_alloc@GOTPAGE
Lloh96:
	ldr	x10, [x10, _NB_alloc@GOTPAGEOFF]
Lloh97:
	ldr	w10, [x10]
Lloh98:
	adrp	x11, _NB_max@GOTPAGE
Lloh99:
	ldr	x11, [x11, _NB_max@GOTPAGEOFF]
Lloh100:
	ldr	w11, [x11]
	stp	x10, x11, [sp, #16]
	stp	x8, x9, [sp]
	mov	w0, #1
Lloh101:
	adrp	x1, l_.str.1@PAGE
Lloh102:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_vkprintf
LBB0_14:                                ;   in Loop: Header=BB0_12 Depth=1
	mov	w0, #57
	bl	_epoll_work
	ldr	x8, [x25]
	cbnz	x8, LBB0_21
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w19, [x26]
	cmp	w19, w24
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_12 Depth=1
	str	x19, [sp]
	mov	x0, x21
	bl	_kprintf
	bl	_reopen_logs
	mov	x24, x19
LBB0_17:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x2, [x27]
	cmp	x2, #1
	b.lt	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	w0, #2
	mov	x1, x20
	bl	_vkprintf
	str	xzr, [x27]
LBB0_19:                                ;   in Loop: Header=BB0_12 Depth=1
	bl	_check_all_aio_completions
	bl	_write_thread_check_all_completions
	bl	_forward_query_check_all_completions
	ldr	w19, [x28]
	cmp	w19, w23
	b.eq	LBB0_11
; %bb.20:                               ;   in Loop: Header=BB0_12 Depth=1
	bl	_cron
	mov	x23, x19
	b	LBB0_11
LBB0_21:
Lloh103:
	adrp	x8, _save_index_process@GOTPAGE
Lloh104:
	ldr	x8, [x8, _save_index_process@GOTPAGEOFF]
Lloh105:
	ldr	w8, [x8]
	cbnz	w8, LBB0_28
; %bb.22:
Lloh106:
	adrp	x0, l_.str.2@PAGE
Lloh107:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_kprintf
Lloh108:
	adrp	x19, _active_write_threads@GOTPAGE
Lloh109:
	ldr	x19, [x19, _active_write_threads@GOTPAGEOFF]
	ldr	x8, [x19]
	cbnz	x8, LBB0_25
; %bb.23:
	mov	w20, #0
	b	LBB0_27
LBB0_24:
	ldr	x8, [x23]
	ldr	x8, [x8, x22, lsl #3]
	ldr	w8, [x8]
	stp	x8, x0, [sp]
Lloh110:
	adrp	x0, l_.str@PAGE
Lloh111:
	add	x0, x0, l_.str@PAGEOFF
	bl	_kprintf
	mov	w0, #1
	bl	_exit
LBB0_25:
	mov	w20, #0
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	mov	w0, #1
	bl	_sleep
	bl	_write_thread_check_all_completions
	add	w20, w20, w0
	ldr	x8, [x19]
	cbnz	x8, LBB0_26
LBB0_27:
	str	x20, [sp]
Lloh112:
	adrp	x0, l_.str.3@PAGE
Lloh113:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_kprintf
Lloh114:
	adrp	x0, l_.str.4@PAGE
Lloh115:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_kprintf
	bl	_sync
Lloh116:
	adrp	x0, l_.str.5@PAGE
Lloh117:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_kprintf
LBB0_28:
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh78, Lloh79
	.loh AdrpLdrGot	Lloh76, Lloh77
	.loh AdrpLdrGot	Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh103, Lloh104, Lloh105
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpAdd	Lloh106, Lloh107
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpAdd	Lloh116, Lloh117
	.loh AdrpAdd	Lloh114, Lloh115
	.loh AdrpAdd	Lloh112, Lloh113
	.cfi_endproc
                                        ; -- End function
	.comm	_daemonize,8,3                  ; @daemonize
	.comm	_append_to_binlog_time,4,2      ; @append_to_binlog_time
	.comm	_binlog_disabled,4,2            ; @binlog_disabled
	.comm	_volumes,4,2                    ; @volumes
	.comm	_Volumes,8,3                    ; @Volumes
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[v%lld] storage_append_to_binlog returns error code %d.\n"

	.comm	_Connections,8,3                ; @Connections
	.comm	_sfd,8,3                        ; @sfd
	.comm	_ct_rpc_server,4,2              ; @ct_rpc_server
	.comm	_storage_rpc_server,4,2         ; @storage_rpc_server
	.comm	_http_sfd,8,3                   ; @http_sfd
	.comm	_ct_http_server,4,2             ; @ct_http_server
	.comm	_http_methods,4,2               ; @http_methods
	.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	_SIGIO,4,2                      ; @SIGIO
	.comm	_SIGPOLL,4,2                    ; @SIGPOLL
	.comm	_sigpoll_handler,4,2            ; @sigpoll_handler
	.comm	_SIGRTMAX,4,2                   ; @SIGRTMAX
	.comm	_sigrtmax_handler,4,2           ; @sigrtmax_handler
	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_sighup_handler,4,2             ; @sighup_handler
	.comm	_booting_time,4,2               ; @booting_time
l_.str.1:                               ; @.str.1
	.asciz	"epoll_work(): %d out of %d connections, network buffers: %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	_force_interrupt,8,3            ; @force_interrupt
	.comm	_save_index_process,4,2         ; @save_index_process
l_.str.2:                               ; @.str.2
	.asciz	"Waiting write threads terminates.\n"

	.comm	_active_write_threads,8,3       ; @active_write_threads
l_.str.3:                               ; @.str.3
	.asciz	"%d threads has been terminated.\n"

l_.str.4:                               ; @.str.4
	.asciz	"Start sync.\n"

l_.str.5:                               ; @.str.5
	.asciz	"Sync has been completed.\n"

	.comm	_force_reopen_logs,4,2          ; @force_reopen_logs
l_.str.6:                               ; @.str.6
	.asciz	"reopen_logs (), force_reopen_logs counter is equal to %d.\n"

	.comm	_sigpoll_cnt,8,3                ; @sigpoll_cnt
l_.str.7:                               ; @.str.7
	.asciz	"after epoll_work(), sigpoll_cnt=%d\n"

	.comm	_now,4,2                        ; @now
.subsections_via_symbols
