	.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
LBB0_2:
	movq	_username@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_change_user
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	movq	_interactive@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_16
LBB0_4:
	movq	_sfd@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ct_rpc_server@GOTPCREL(%rip), %rsi
	movq	_memcache_rpc_server@GOTPCREL(%rip), %rdx
	callq	_init_listening_connection
	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	_SIGRTMAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_sigrtmax_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
	cmpq	$0, (%r14)
	je	LBB0_6
## %bb.5:
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_sighup_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
LBB0_6:
	movq	_now@GOTPCREL(%rip), %r12
	movq	_quit_steps@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	incl	%r14d
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movzbl	%r14b, %eax
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 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.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$57, %edi
	callq	_epoll_work
	movl	(%r12), %r15d
	cmpl	%ebx, %r15d
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
	callq	_cron
	movl	%r15d, %ebx
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	decq	%rax
	movq	%rax, (%r13)
	jne	LBB0_14
## %bb.15:
	movq	_sfd@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_epoll_close
	movl	(%rbx), %edi
	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_16:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rdx
	cmovneq	%rax, %rdx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_daemonize,8,3                  ## @daemonize
	.comm	_username,8,3                   ## @username
	.comm	_interactive,4,2                ## @interactive
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fatal: cannot change user to %s\n"

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

	.comm	_sfd,4,2                        ## @sfd
	.comm	_ct_rpc_server,4,2              ## @ct_rpc_server
	.comm	_memcache_rpc_server,4,2        ## @memcache_rpc_server
	.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	_SIGRTMAX,4,2                   ## @SIGRTMAX
	.comm	_sigrtmax_handler,4,2           ## @sigrtmax_handler
	.comm	_SIGPIPE,4,2                    ## @SIGPIPE
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_sighup_handler,4,2             ## @sighup_handler
	.comm	_verbosity,8,3                  ## @verbosity
L_.str.2:                               ## @.str.2
	.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	_now,4,2                        ## @now
	.comm	_quit_steps,8,3                 ## @quit_steps
.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	x19, _daemonize@GOTPAGE
Lloh1:
	ldr	x19, [x19, _daemonize@GOTPAGEOFF]
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	bl	_setsid
LBB0_2:
Lloh2:
	adrp	x20, _username@GOTPAGE
Lloh3:
	ldr	x20, [x20, _username@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_change_user
	tbz	x0, #63, LBB0_4
; %bb.3:
Lloh4:
	adrp	x8, _interactive@GOTPAGE
Lloh5:
	ldr	x8, [x8, _interactive@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cbz	w8, LBB0_15
LBB0_4:
Lloh7:
	adrp	x8, _sfd@GOTPAGE
Lloh8:
	ldr	x8, [x8, _sfd@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, _ct_rpc_server@GOTPAGE
Lloh11:
	ldr	x1, [x1, _ct_rpc_server@GOTPAGEOFF]
Lloh12:
	adrp	x2, _memcache_rpc_server@GOTPAGE
Lloh13:
	ldr	x2, [x2, _memcache_rpc_server@GOTPAGEOFF]
	bl	_init_listening_connection
Lloh14:
	adrp	x8, _SIGINT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SIGINT@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x8, _sigint_handler@GOTPAGE
Lloh18:
	ldr	x8, [x8, _sigint_handler@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	bl	_signal
Lloh20:
	adrp	x8, _SIGTERM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SIGTERM@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
Lloh23:
	adrp	x8, _sigterm_handler@GOTPAGE
Lloh24:
	ldr	x8, [x8, _sigterm_handler@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	bl	_signal
Lloh26:
	adrp	x8, _SIGUSR1@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SIGUSR1@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x8, _sigusr1_handler@GOTPAGE
Lloh30:
	ldr	x8, [x8, _sigusr1_handler@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	bl	_signal
Lloh32:
	adrp	x8, _SIGRTMAX@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SIGRTMAX@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x8, _sigrtmax_handler@GOTPAGE
Lloh36:
	ldr	x8, [x8, _sigrtmax_handler@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	bl	_signal
Lloh38:
	adrp	x8, _SIGPIPE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _SIGPIPE@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	bl	_signal
	ldr	x8, [x19]
	cbz	x8, LBB0_6
; %bb.5:
Lloh44:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh45:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
Lloh47:
	adrp	x8, _sighup_handler@GOTPAGE
Lloh48:
	ldr	x8, [x8, _sighup_handler@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	bl	_signal
LBB0_6:
	mov	w21, #0
	mov	w28, #0
Lloh50:
	adrp	x22, _verbosity@GOTPAGE
Lloh51:
	ldr	x22, [x22, _verbosity@GOTPAGEOFF]
Lloh52:
	adrp	x23, _now@GOTPAGE
Lloh53:
	ldr	x23, [x23, _now@GOTPAGEOFF]
Lloh54:
	adrp	x25, _quit_steps@GOTPAGE
Lloh55:
	ldr	x25, [x25, _quit_steps@GOTPAGEOFF]
Lloh56:
	adrp	x20, _NB_used@GOTPAGE
Lloh57:
	ldr	x20, [x20, _NB_used@GOTPAGEOFF]
Lloh58:
	adrp	x26, _NB_alloc@GOTPAGE
Lloh59:
	ldr	x26, [x26, _NB_alloc@GOTPAGEOFF]
Lloh60:
	adrp	x19, l_.str.2@PAGE
Lloh61:
	add	x19, x19, l_.str.2@PAGEOFF
Lloh62:
	adrp	x27, _NB_max@GOTPAGE
Lloh63:
	ldr	x27, [x27, _NB_max@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w21, w21, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	and	w9, w21, #0xff
	cmp	x8, #1
	ccmp	w9, #0, #0, ge
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
Lloh64:
	adrp	x8, _stderr@GOTPAGE
Lloh65:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh66:
	ldr	w0, [x8]
Lloh67:
	adrp	x8, _active_connections@GOTPAGE
Lloh68:
	ldr	x8, [x8, _active_connections@GOTPAGEOFF]
Lloh69:
	ldr	w8, [x8]
Lloh70:
	adrp	x9, _maxconn@GOTPAGE
Lloh71:
	ldr	x9, [x9, _maxconn@GOTPAGEOFF]
Lloh72:
	ldr	w9, [x9]
	ldr	w10, [x20]
	ldr	w11, [x26]
	ldr	w12, [x27]
	stp	x11, x12, [sp, #24]
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
	mov	x1, x19
	bl	_fprintf
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #57
	bl	_epoll_work
	ldr	w24, [x23]
	cmp	w24, w28
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	bl	_cron
	mov	x28, x24
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x25]
	cbz	x8, LBB0_7
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	subs	x8, x8, #1
	str	x8, [x25]
	b.ne	LBB0_7
; %bb.14:
Lloh73:
	adrp	x19, _sfd@GOTPAGE
Lloh74:
	ldr	x19, [x19, _sfd@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_epoll_close
	ldr	w0, [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_15:
Lloh75:
	adrp	x8, _stderr@GOTPAGE
Lloh76:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh77:
	ldr	w0, [x8]
	ldr	x8, [x20]
Lloh78:
	adrp	x9, l_.str.1@PAGE
Lloh79:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	x8, #0
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh80:
	adrp	x1, l_.str@PAGE
Lloh81:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.cfi_endproc
                                        ; -- End function
	.comm	_daemonize,8,3                  ; @daemonize
	.comm	_username,8,3                   ; @username
	.comm	_interactive,4,2                ; @interactive
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fatal: cannot change user to %s\n"

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

	.comm	_sfd,4,2                        ; @sfd
	.comm	_ct_rpc_server,4,2              ; @ct_rpc_server
	.comm	_memcache_rpc_server,4,2        ; @memcache_rpc_server
	.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	_SIGRTMAX,4,2                   ; @SIGRTMAX
	.comm	_sigrtmax_handler,4,2           ; @sigrtmax_handler
	.comm	_SIGPIPE,4,2                    ; @SIGPIPE
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_sighup_handler,4,2             ; @sighup_handler
	.comm	_verbosity,8,3                  ; @verbosity
l_.str.2:                               ; @.str.2
	.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	_now,4,2                        ; @now
	.comm	_quit_steps,8,3                 ; @quit_steps
.subsections_via_symbols
