	.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
	movq	_news_parse_function@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_tl_parse_function@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_tl_aio_timeout@GOTPCREL(%rip), %rax
	movabsq	$4611686018427387904, %rcx      ## imm = 0x4000000000000000
	movq	%rcx, (%rax)
	movq	_news_engine@GOTPCREL(%rip), %rdi
	movq	_news_functions@GOTPCREL(%rip), %rsi
	movq	_ct_rpc_server@GOTPCREL(%rip), %rdx
	movq	_rpc_methods@GOTPCREL(%rip), %rcx
	callq	_server_init
	movq	_verbosity@GOTPCREL(%rip), %rbx
	movq	_NB_max@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r14
	movq	_binlog_disabled@GOTPCREL(%rip), %r15
	xorl	%r12d, %r12d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_log_write_pos
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %edi
	movq	(%r15), %rsi
	callq	_cstatus_binlog_pos
	incl	%r12d
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rbx)
	jle	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%r12d, %eax
	andl	$1023, %eax                     ## imm = 0x3FF
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_1 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
	movl	(%r13), %eax
	movl	%eax, (%rsp)
	movq	%r14, %rsi
	callq	_fprintf
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, (%r15)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_log_cur_pos
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_log_write_pos
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %edi
	callq	_fetch_binlog_data
	movl	$17, %edi
	callq	_epoll_work
	xorl	%eax, %eax
	callq	_process_signals
	testl	%eax, %eax
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_check_all_aio_completions
	xorl	%eax, %eax
	callq	_tl_restart_all_ready
	xorl	%eax, %eax
	callq	_flush_binlog
	cmpq	$0, (%r15)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_log_cur_pos
	jmp	LBB0_11
LBB0_12:
	movq	_news_engine@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_server_exit                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_news_parse_function,4,2        ## @news_parse_function
	.comm	_tl_parse_function,4,2          ## @tl_parse_function
	.comm	_tl_aio_timeout,8,3             ## @tl_aio_timeout
	.comm	_news_engine,4,2                ## @news_engine
	.comm	_news_functions,4,2             ## @news_functions
	.comm	_ct_rpc_server,4,2              ## @ct_rpc_server
	.comm	_rpc_methods,4,2                ## @rpc_methods
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.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	_binlog_disabled,8,3            ## @binlog_disabled
.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:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, _news_parse_function@GOTPAGE
Lloh1:
	ldr	x8, [x8, _news_parse_function@GOTPAGEOFF]
Lloh2:
	adrp	x9, _tl_parse_function@GOTPAGE
Lloh3:
	ldr	x9, [x9, _tl_parse_function@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	str	w8, [x9]
Lloh6:
	adrp	x8, _tl_aio_timeout@GOTPAGE
Lloh7:
	ldr	x8, [x8, _tl_aio_timeout@GOTPAGEOFF]
	mov	x9, #4611686018427387904
Lloh8:
	str	x9, [x8]
Lloh9:
	adrp	x0, _news_engine@GOTPAGE
Lloh10:
	ldr	x0, [x0, _news_engine@GOTPAGEOFF]
Lloh11:
	adrp	x1, _news_functions@GOTPAGE
Lloh12:
	ldr	x1, [x1, _news_functions@GOTPAGEOFF]
Lloh13:
	adrp	x2, _ct_rpc_server@GOTPAGE
Lloh14:
	ldr	x2, [x2, _ct_rpc_server@GOTPAGEOFF]
Lloh15:
	adrp	x3, _rpc_methods@GOTPAGE
Lloh16:
	ldr	x3, [x3, _rpc_methods@GOTPAGEOFF]
	bl	_server_init
	mov	w20, #0
Lloh17:
	adrp	x21, _verbosity@GOTPAGE
Lloh18:
	ldr	x21, [x21, _verbosity@GOTPAGEOFF]
Lloh19:
	adrp	x22, _binlog_disabled@GOTPAGE
Lloh20:
	ldr	x22, [x22, _binlog_disabled@GOTPAGEOFF]
Lloh21:
	adrp	x23, _stderr@GOTPAGE
Lloh22:
	ldr	x23, [x23, _stderr@GOTPAGEOFF]
Lloh23:
	adrp	x24, _active_connections@GOTPAGE
Lloh24:
	ldr	x24, [x24, _active_connections@GOTPAGEOFF]
Lloh25:
	adrp	x25, _maxconn@GOTPAGE
Lloh26:
	ldr	x25, [x25, _maxconn@GOTPAGEOFF]
Lloh27:
	adrp	x26, _NB_used@GOTPAGE
Lloh28:
	ldr	x26, [x26, _NB_used@GOTPAGEOFF]
Lloh29:
	adrp	x27, _NB_alloc@GOTPAGE
Lloh30:
	ldr	x27, [x27, _NB_alloc@GOTPAGEOFF]
Lloh31:
	adrp	x19, l_.str@PAGE
Lloh32:
	add	x19, x19, l_.str@PAGEOFF
Lloh33:
	adrp	x28, _NB_max@GOTPAGE
Lloh34:
	ldr	x28, [x28, _NB_max@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_log_write_pos
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x22]
	bl	_cstatus_binlog_pos
	add	w20, w20, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	and	w9, w20, #0x3ff
	cmp	x8, #1
	ccmp	w9, #0, #0, ge
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w0, [x23]
	ldr	w2, [x24]
	ldr	w3, [x25]
	ldr	w4, [x26]
	ldr	w5, [x27]
	ldr	w6, [x28]
	mov	x1, x19
	bl	_fprintf
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	cbz	x8, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_log_cur_pos
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_log_write_pos
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_fetch_binlog_data
	mov	w0, #17
	bl	_epoll_work
	bl	_process_signals
	cbz	w0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_check_all_aio_completions
	bl	_tl_restart_all_ready
	bl	_flush_binlog
	ldr	x8, [x22]
	cbz	x8, LBB0_1
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	bl	_log_cur_pos
	b	LBB0_2
LBB0_11:
Lloh35:
	adrp	x0, _news_engine@GOTPAGE
Lloh36:
	ldr	x0, [x0, _news_engine@GOTPAGEOFF]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_server_exit
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_news_parse_function,4,2        ; @news_parse_function
	.comm	_tl_parse_function,4,2          ; @tl_parse_function
	.comm	_tl_aio_timeout,8,3             ; @tl_aio_timeout
	.comm	_news_engine,4,2                ; @news_engine
	.comm	_news_functions,4,2             ; @news_functions
	.comm	_ct_rpc_server,4,2              ; @ct_rpc_server
	.comm	_rpc_methods,4,2                ; @rpc_methods
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.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	_binlog_disabled,8,3            ; @binlog_disabled
.subsections_via_symbols
