	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	%rsi, %r14
	movl	%edi, %r12d
	xorl	%eax, %eax
	callq	_set_debug_handlers
	movq	(%r14), %rdi
	movq	_progname@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	movq	_index_mode@GOTPCREL(%rip), %r13
	movl	$0, (%r13)
	leaq	L_.str(%rip), %rsi
	callq	_strstr
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movl	%ecx, (%r13)
	movq	_auto_create_new_versions@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_no_argument@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str.1(%rip), %r8
	xorl	%edi, %edi
	xorl	%edx, %edx
	movl	$102, %ecx
	xorl	%eax, %eax
	callq	_parse_option
	movl	(%rbx), %esi
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %r8
	xorl	%edx, %edx
	movl	$84, %ecx
	xorl	%eax, %eax
	callq	_parse_option
	movl	(%rbx), %esi
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str.5(%rip), %r8
	xorl	%edx, %edx
	movl	$109, %ecx
	xorl	%eax, %eax
	callq	_parse_option
	movl	(%rbx), %esi
	leaq	L_.str.6(%rip), %rdi
	leaq	L_.str.7(%rip), %r8
	xorl	%edx, %edx
	movl	$105, %ecx
	xorl	%eax, %eax
	callq	_parse_option
	movl	(%rbx), %esi
	leaq	L_.str.8(%rip), %rdi
	leaq	L_.str.9(%rip), %r8
	xorl	%edx, %edx
	movl	$77, %ecx
	xorl	%eax, %eax
	callq	_parse_option
	movl	(%rbx), %esi
	leaq	L_.str.10(%rip), %rdi
	leaq	L_.str.11(%rip), %r8
	xorl	%edx, %edx
	movl	$121, %ecx
	xorl	%eax, %eax
	callq	_parse_option
	movl	(%rbx), %esi
	leaq	L_.str.12(%rip), %rdi
	leaq	L_.str.13(%rip), %r8
	xorl	%edx, %edx
	movl	$120, %ecx
	xorl	%eax, %eax
	callq	_parse_option
	movl	(%rbx), %esi
	leaq	L_.str.14(%rip), %rdi
	leaq	L_.str.15(%rip), %r8
	xorl	%edx, %edx
	movl	$69, %ecx
	xorl	%eax, %eax
	callq	_parse_option
	movl	(%rbx), %esi
	leaq	L_.str.16(%rip), %rdi
	leaq	L_.str.17(%rip), %r8
	xorl	%edx, %edx
	movl	$116, %ecx
	xorl	%eax, %eax
	callq	_parse_option
	movl	(%rbx), %esi
	leaq	L_.str.18(%rip), %rdi
	leaq	L_.str.19(%rip), %r8
	xorl	%edx, %edx
	movl	$68, %ecx
	xorl	%eax, %eax
	callq	_parse_option
	movq	_required_argument@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_max_counters_growth_percent@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	L_.str.20(%rip), %rdi
	leaq	L_.str.21(%rip), %r8
	xorl	%edx, %edx
	movl	$80, %ecx
	xorl	%eax, %eax
	callq	_parse_option
	movl	(%rbx), %esi
	leaq	L_.str.22(%rip), %rdi
	leaq	L_.str.23(%rip), %r8
	xorl	%edx, %edx
	movl	$83, %ecx
	xorl	%eax, %eax
	callq	_parse_option
	movl	(%rbx), %esi
	leaq	L_.str.24(%rip), %rdi
	leaq	L_.str.25(%rip), %r8
	xorl	%edx, %edx
	movl	$1000, %ecx                     ## imm = 0x3E8
	xorl	%eax, %eax
	callq	_parse_option
	movq	_f_parse_option@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r12d, %edi
	movq	%r14, %rsi
	callq	_parse_engine_options_long
	movq	_optind@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	leal	1(%rax), %ecx
	cmpl	%r12d, %ecx
	je	LBB0_3
## %bb.1:
	addl	$2, %eax
	cmpl	%r12d, %eax
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_usage
	movl	$2, %ebx
	jmp	LBB0_47
LBB0_3:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jl	LBB0_6
## %bb.4:
	cmpl	$0, (%r13)
	je	LBB0_6
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.26(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_6:
	movq	_maxconn@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	addl	$16, %edi
	callq	_raise_file_rlimit
	movq	_test_mode@GOTPCREL(%rip), %r13
	testq	%rax, %rax
	jns	LBB0_8
## %bb.7:
	cmpl	$0, (%r13)
	je	LBB0_48
LBB0_8:
	movq	_port@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	_PRIVILEGED_TCP_PORTS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jge	LBB0_11
## %bb.9:
	movq	_settings_addr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_backlog@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_server_socket
	movq	_sfd@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	js	LBB0_10
LBB0_11:
	xorl	%edi, %edi
	callq	_aes_load_pwd_file
	movq	_username@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_change_user
	testq	%rax, %rax
	jns	LBB0_14
## %bb.12:
	cmpl	$0, (%r13)
	je	LBB0_13
LBB0_14:
	movq	_MAX_ZALLOC@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jg	LBB0_16
## %bb.15:
	movq	_dynamic_data_buffer_size@GOTPCREL(%rip), %rax
	movl	$8388608, (%rax)                ## imm = 0x800000
LBB0_16:
	xorl	%eax, %eax
	callq	_init_dyn_data
	movq	_udp_enabled@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_18
## %bb.17:
	xorl	%eax, %eax
	callq	_get_my_ipv4
	movq	(%r12), %rsi
	movl	%eax, %edi
	callq	_init_server_PID
LBB0_18:
	movslq	(%r15), %rax
	movq	(%r14,%rax,8), %rdi
	movq	_binlogname@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	callq	_engine_preload_filelist
	testq	%rax, %rax
	js	LBB0_19
## %bb.23:
	movq	_log_ts_interval@GOTPCREL(%rip), %r14
	movl	$10, (%r14)
	xorl	%edi, %edi
	callq	_time
	cltq
	imulq	$-1037155065, %rax, %rcx        ## imm = 0xC22E4507
	shrq	$32, %rcx
	addl	%ecx, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$16, %eax
	addl	%ecx, %eax
	imull	$86400, %eax, %eax              ## imm = 0x15180
	movq	_today_start@GOTPCREL(%rip), %r15
	movl	%eax, (%r15)
	movq	_engine_snapshot_replica@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_open_recent_snapshot
	movq	_Snapshot@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_26
## %bb.24:
	movq	(%rax), %rcx
	movq	(%rcx), %rdx
	movq	_engine_snapshot_name@GOTPCREL(%rip), %rcx
	movq	%rdx, (%rcx)
	movq	(%rax), %rax
	movq	8(%rax), %rcx
	movq	_engine_snapshot_size@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_27
## %bb.25:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.32(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_27
LBB0_26:
	movq	_engine_snapshot_name@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_engine_snapshot_size@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_27:
	movq	_CLOCK_MONOTONIC@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_get_utime
	negl	%eax
	movq	_index_load_time@GOTPCREL(%rip), %r13
	movl	%eax, (%r13)
	movq	(%rbx), %rdi
	callq	_load_index
	movl	%eax, %ebx
	movl	(%r12), %edi
	callq	_get_utime
	addl	%eax, (%r13)
	testl	%ebx, %ebx
	js	LBB0_49
## %bb.28:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	_index_mode@GOTPCREL(%rip), %r13
	je	LBB0_30
## %bb.29:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_jump_log_pos@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.34(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_30:
	movq	_reverse_index_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_34
## %bb.31:
	movq	_STATS_SCHEMA_V1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_init_stats_data
	shrq	$63, %rax
	xorl	$1, %eax
	movl	%eax, %edi
	callq	_assert
	movq	_reverse_index_pos@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_33
## %bb.32:
	movq	_engine_replica@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_get_binlog_start_pos
	addq	$36, %rax
LBB0_33:
	movq	_jump_log_pos@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
LBB0_34:
	movl	$10, (%r14)
	xorl	%edi, %edi
	callq	_time
	movq	_now@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	cltq
	imulq	$-1037155065, %rax, %rcx        ## imm = 0xC22E4507
	shrq	$32, %rcx
	addl	%ecx, %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	sarl	$16, %eax
	addl	%ecx, %eax
	imull	$86400, %eax, %eax              ## imm = 0x15180
	movl	%eax, (%r15)
	movq	_engine_replica@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_jump_log_pos@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	callq	_open_binlog
	movq	_Binlog@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_50
## %bb.35:
	movq	(%rax), %rcx
	movq	(%rcx), %rdx
	movq	_binlogname@GOTPCREL(%rip), %rcx
	movq	%rdx, (%rcx)
	movq	_verbosity@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_37
## %bb.36:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	(%rax), %rax
	movl	8(%rax), %ecx
	leaq	L_.str.36(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_37:
	movl	(%r12), %edi
	callq	_get_utime
	movq	_binlog_load_time@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	callq	_clear_log
	movq	(%r15), %rdi
	movq	_jump_log_ts@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_jump_log_crc32@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_init_log_data
	xorl	%edi, %edi
	movl	$1, %esi
	callq	_replay_log
	testl	%eax, %eax
	js	LBB0_51
## %bb.38:
	movl	(%r12), %edi
	callq	_get_utime
	subl	(%rbx), %eax
	movl	%eax, (%rbx)
	movq	_log_readto_pos@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	subq	(%r15), %rax
	movq	_binlog_loaded_size@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_binlog_disabled@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_39
## %bb.40:
	cmpl	$0, (%r13)
	je	LBB0_46
LBB0_41:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_43
## %bb.42:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.38(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_43:
	movq	_reverse_index_mode@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_44
## %bb.45:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_assert
	jmp	LBB0_47
LBB0_39:
	xorl	%eax, %eax
	callq	_clear_read_log
	cmpl	$0, (%r13)
	jne	LBB0_41
LBB0_46:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_clear_write_log
	xorl	%edi, %edi
	callq	_time
	movq	_start_time@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	callq	_start_server
	jmp	LBB0_47
LBB0_44:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_save_index
LBB0_47:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_48:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	addl	$16, %edx
	leaq	L_.str.27(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_13:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	testq	%rax, %rax
	leaq	L_.str.30(%rip), %rdx
	cmovneq	%rax, %rdx
	leaq	L_.str.29(%rip), %rsi
	jmp	LBB0_22
LBB0_19:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	testq	%rdx, %rdx
	jne	LBB0_21
## %bb.20:
	movslq	(%r15), %rax
	movq	(%r14,%rax,8), %rdx
LBB0_21:
	leaq	L_.str.31(%rip), %rsi
	jmp	LBB0_22
LBB0_49:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_engine_snapshot_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str.33(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_50:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movq	(%rax), %rdx
	movq	(%r15), %rcx
	leaq	L_.str.35(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_51:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.37(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_10:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rdx
	leaq	L_.str.28(%rip), %rsi
LBB0_22:
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_progname,8,3                   ## @progname
	.comm	_index_mode,4,2                 ## @index_mode
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"statsx-index"

	.comm	_auto_create_new_versions,4,2   ## @auto_create_new_versions
	.comm	_no_argument,4,2                ## @no_argument
L_.str.1:                               ## @.str.1
	.asciz	"=memcache_auto_answer_mode"

L_.str.2:                               ## @.str.2
	.asciz	"test"

L_.str.3:                               ## @.str.3
	.asciz	"test mode"

L_.str.4:                               ## @.str.4
	.asciz	"no-user-id"

L_.str.5:                               ## @.str.5
	.asciz	"ignore user id"

L_.str.6:                               ## @.str.6
	.asciz	"index"

L_.str.7:                               ## @.str.7
	.asciz	"reindex"

L_.str.8:                               ## @.str.8
	.asciz	"high-memory"

L_.str.9:                               ## @.str.9
	.asciz	"memory usage to reindex"

L_.str.10:                              ## @.str.10
	.asciz	"no-version"

L_.str.11:                              ## @.str.11
	.asciz	"counters are valid until disabled by hands"

L_.str.12:                              ## @.str.12
	.asciz	"custom-version"

L_.str.13:                              ## @.str.13
	.asciz	"use yyyymmdd as counter version. Includes [--no-version]"

L_.str.14:                              ## @.str.14
	.asciz	"monthly"

L_.str.15:                              ## @.str.15
	.asciz	"enable monthly stat"

L_.str.16:                              ## @.str.16
	.asciz	"no-set-timezone"

L_.str.17:                              ## @.str.17
	.asciz	"ignore all set timezone events"

L_.str.18:                              ## @.str.18
	.asciz	"day-start-version"

L_.str.19:                              ## @.str.19
	.asciz	"use unixtime at 0:00 as counter version"

L_.str.20:                              ## @.str.20
	.asciz	"counter-growth"

	.comm	_required_argument,4,2          ## @required_argument
L_.str.21:                              ## @.str.21
	.asciz	"counter hash table growth in percents (default %lf)"

	.comm	_max_counters_growth_percent,4,2 ## @max_counters_growth_percent
L_.str.22:                              ## @.str.22
	.asciz	"default-timezone"

L_.str.23:                              ## @.str.23
	.asciz	"default timezone (hours offset from GMT)"

L_.str.24:                              ## @.str.24
	.asciz	"cyclic-binlog"

L_.str.25:                              ## @.str.25
	.asciz	"use binlog in cyclic mode"

	.comm	_f_parse_option,4,2             ## @f_parse_option
	.comm	_optind,4,2                     ## @optind
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
L_.str.26:                              ## @.str.26
	.asciz	"Starting in index mode...\n"

	.comm	_maxconn,4,2                    ## @maxconn
	.comm	_test_mode,4,2                  ## @test_mode
L_.str.27:                              ## @.str.27
	.asciz	"fatal: cannot raise open file limit to %d\n"

	.comm	_port,8,3                       ## @port
	.comm	_PRIVILEGED_TCP_PORTS,8,3       ## @PRIVILEGED_TCP_PORTS
	.comm	_settings_addr,4,2              ## @settings_addr
	.comm	_backlog,4,2                    ## @backlog
	.comm	_sfd,8,3                        ## @sfd
L_.str.28:                              ## @.str.28
	.asciz	"cannot open server socket at port %d: %m\n"

	.comm	_username,8,3                   ## @username
L_.str.29:                              ## @.str.29
	.asciz	"fatal: cannot change user to %s\n"

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

	.comm	_MAX_ZALLOC,8,3                 ## @MAX_ZALLOC
	.comm	_dynamic_data_buffer_size,4,2   ## @dynamic_data_buffer_size
	.comm	_udp_enabled,8,3                ## @udp_enabled
	.comm	_binlogname,8,3                 ## @binlogname
L_.str.31:                              ## @.str.31
	.asciz	"cannot open binlog files for %s\n"

	.comm	_log_ts_interval,4,2            ## @log_ts_interval
	.comm	_today_start,4,2                ## @today_start
	.comm	_engine_snapshot_replica,4,2    ## @engine_snapshot_replica
	.comm	_Snapshot,8,3                   ## @Snapshot
	.comm	_engine_snapshot_name,8,3       ## @engine_snapshot_name
	.comm	_engine_snapshot_size,8,3       ## @engine_snapshot_size
L_.str.32:                              ## @.str.32
	.asciz	"load index file %s (size %lld)\n"

	.comm	_CLOCK_MONOTONIC,4,2            ## @CLOCK_MONOTONIC
	.comm	_index_load_time,4,2            ## @index_load_time
L_.str.33:                              ## @.str.33
	.asciz	"fatal: error %d while loading index file %s\n"

L_.str.34:                              ## @.str.34
	.asciz	"Reading binlog from position %lld\n"

	.comm	_jump_log_pos,8,3               ## @jump_log_pos
	.comm	_reverse_index_mode,8,3         ## @reverse_index_mode
	.comm	_STATS_SCHEMA_V1,4,2            ## @STATS_SCHEMA_V1
	.comm	_reverse_index_pos,8,3          ## @reverse_index_pos
	.comm	_engine_replica,8,3             ## @engine_replica
	.comm	_now,4,2                        ## @now
	.comm	_Binlog,8,3                     ## @Binlog
L_.str.35:                              ## @.str.35
	.asciz	"fatal: cannot find binlog for %s, log position %lld\n"

L_.str.36:                              ## @.str.36
	.asciz	"replaying binlog file %s (size %lld)\n"

	.comm	_binlog_load_time,4,2           ## @binlog_load_time
	.comm	_jump_log_ts,4,2                ## @jump_log_ts
	.comm	_jump_log_crc32,4,2             ## @jump_log_crc32
L_.str.37:                              ## @.str.37
	.asciz	"fatal: error reading binlog\n"

	.comm	_log_readto_pos,4,2             ## @log_readto_pos
	.comm	_binlog_loaded_size,8,3         ## @binlog_loaded_size
	.comm	_binlog_disabled,4,2            ## @binlog_disabled
L_.str.38:                              ## @.str.38
	.asciz	"Saving index...\n"

	.comm	_start_time,8,3                 ## @start_time
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_set_debug_handlers
	ldr	x0, [x19]
Lloh0:
	adrp	x8, _progname@GOTPAGE
Lloh1:
	ldr	x8, [x8, _progname@GOTPAGEOFF]
Lloh2:
	str	x0, [x8]
Lloh3:
	adrp	x21, _index_mode@GOTPAGE
Lloh4:
	ldr	x21, [x21, _index_mode@GOTPAGEOFF]
	str	wzr, [x21]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strstr
	cmp	x0, #0
	cset	w8, ne
Lloh7:
	adrp	x9, _auto_create_new_versions@GOTPAGE
Lloh8:
	ldr	x9, [x9, _auto_create_new_versions@GOTPAGEOFF]
	str	w8, [x21]
	mov	w8, #1
Lloh9:
	str	w8, [x9]
Lloh10:
	adrp	x22, _no_argument@GOTPAGE
Lloh11:
	ldr	x22, [x22, _no_argument@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh12:
	adrp	x4, l_.str.1@PAGE
Lloh13:
	add	x4, x4, l_.str.1@PAGEOFF
	mov	x0, #0
	mov	w2, #0
	mov	w3, #102
	bl	_parse_option
	ldr	w1, [x22]
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh16:
	adrp	x4, l_.str.3@PAGE
Lloh17:
	add	x4, x4, l_.str.3@PAGEOFF
	mov	w2, #0
	mov	w3, #84
	bl	_parse_option
	ldr	w1, [x22]
Lloh18:
	adrp	x0, l_.str.4@PAGE
Lloh19:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh20:
	adrp	x4, l_.str.5@PAGE
Lloh21:
	add	x4, x4, l_.str.5@PAGEOFF
	mov	w2, #0
	mov	w3, #109
	bl	_parse_option
	ldr	w1, [x22]
Lloh22:
	adrp	x0, l_.str.6@PAGE
Lloh23:
	add	x0, x0, l_.str.6@PAGEOFF
Lloh24:
	adrp	x4, l_.str.7@PAGE
Lloh25:
	add	x4, x4, l_.str.7@PAGEOFF
	mov	w2, #0
	mov	w3, #105
	bl	_parse_option
	ldr	w1, [x22]
Lloh26:
	adrp	x0, l_.str.8@PAGE
Lloh27:
	add	x0, x0, l_.str.8@PAGEOFF
Lloh28:
	adrp	x4, l_.str.9@PAGE
Lloh29:
	add	x4, x4, l_.str.9@PAGEOFF
	mov	w2, #0
	mov	w3, #77
	bl	_parse_option
	ldr	w1, [x22]
Lloh30:
	adrp	x0, l_.str.10@PAGE
Lloh31:
	add	x0, x0, l_.str.10@PAGEOFF
Lloh32:
	adrp	x4, l_.str.11@PAGE
Lloh33:
	add	x4, x4, l_.str.11@PAGEOFF
	mov	w2, #0
	mov	w3, #121
	bl	_parse_option
	ldr	w1, [x22]
Lloh34:
	adrp	x0, l_.str.12@PAGE
Lloh35:
	add	x0, x0, l_.str.12@PAGEOFF
Lloh36:
	adrp	x4, l_.str.13@PAGE
Lloh37:
	add	x4, x4, l_.str.13@PAGEOFF
	mov	w2, #0
	mov	w3, #120
	bl	_parse_option
	ldr	w1, [x22]
Lloh38:
	adrp	x0, l_.str.14@PAGE
Lloh39:
	add	x0, x0, l_.str.14@PAGEOFF
Lloh40:
	adrp	x4, l_.str.15@PAGE
Lloh41:
	add	x4, x4, l_.str.15@PAGEOFF
	mov	w2, #0
	mov	w3, #69
	bl	_parse_option
	ldr	w1, [x22]
Lloh42:
	adrp	x0, l_.str.16@PAGE
Lloh43:
	add	x0, x0, l_.str.16@PAGEOFF
Lloh44:
	adrp	x4, l_.str.17@PAGE
Lloh45:
	add	x4, x4, l_.str.17@PAGEOFF
	mov	w2, #0
	mov	w3, #116
	bl	_parse_option
	ldr	w1, [x22]
Lloh46:
	adrp	x0, l_.str.18@PAGE
Lloh47:
	add	x0, x0, l_.str.18@PAGEOFF
Lloh48:
	adrp	x4, l_.str.19@PAGE
Lloh49:
	add	x4, x4, l_.str.19@PAGEOFF
	mov	w2, #0
	mov	w3, #68
	bl	_parse_option
Lloh50:
	adrp	x22, _required_argument@GOTPAGE
Lloh51:
	ldr	x22, [x22, _required_argument@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh52:
	adrp	x8, _max_counters_growth_percent@GOTPAGE
Lloh53:
	ldr	x8, [x8, _max_counters_growth_percent@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
Lloh55:
	adrp	x0, l_.str.20@PAGE
Lloh56:
	add	x0, x0, l_.str.20@PAGEOFF
Lloh57:
	adrp	x4, l_.str.21@PAGE
Lloh58:
	add	x4, x4, l_.str.21@PAGEOFF
	str	x8, [sp]
	mov	w2, #0
	mov	w3, #80
	bl	_parse_option
	ldr	w1, [x22]
Lloh59:
	adrp	x0, l_.str.22@PAGE
Lloh60:
	add	x0, x0, l_.str.22@PAGEOFF
Lloh61:
	adrp	x4, l_.str.23@PAGE
Lloh62:
	add	x4, x4, l_.str.23@PAGEOFF
	mov	w2, #0
	mov	w3, #83
	bl	_parse_option
	ldr	w1, [x22]
Lloh63:
	adrp	x0, l_.str.24@PAGE
Lloh64:
	add	x0, x0, l_.str.24@PAGEOFF
Lloh65:
	adrp	x4, l_.str.25@PAGE
Lloh66:
	add	x4, x4, l_.str.25@PAGEOFF
	mov	w2, #0
	mov	w3, #1000
	bl	_parse_option
Lloh67:
	adrp	x8, _f_parse_option@GOTPAGE
Lloh68:
	ldr	x8, [x8, _f_parse_option@GOTPAGEOFF]
Lloh69:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_parse_engine_options_long
Lloh70:
	adrp	x23, _optind@GOTPAGE
Lloh71:
	ldr	x23, [x23, _optind@GOTPAGEOFF]
	ldr	w8, [x23]
	add	w9, w8, #1
	cmp	w9, w20
	b.eq	LBB0_3
; %bb.1:
	add	w8, w8, #2
	cmp	w8, w20
	b.eq	LBB0_3
; %bb.2:
	bl	_usage
	mov	w0, #2
	b	LBB0_42
LBB0_3:
Lloh72:
	adrp	x20, _verbosity@GOTPAGE
Lloh73:
	ldr	x20, [x20, _verbosity@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #3
	b.lt	LBB0_6
; %bb.4:
	ldr	w8, [x21]
	cbz	w8, LBB0_6
; %bb.5:
Lloh74:
	adrp	x8, _stderr@GOTPAGE
Lloh75:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh76:
	ldr	w0, [x8]
Lloh77:
	adrp	x1, l_.str.26@PAGE
Lloh78:
	add	x1, x1, l_.str.26@PAGEOFF
	bl	_fprintf
LBB0_6:
Lloh79:
	adrp	x22, _maxconn@GOTPAGE
Lloh80:
	ldr	x22, [x22, _maxconn@GOTPAGEOFF]
	ldr	w8, [x22]
	add	w0, w8, #16
	bl	_raise_file_rlimit
Lloh81:
	adrp	x24, _test_mode@GOTPAGE
Lloh82:
	ldr	x24, [x24, _test_mode@GOTPAGEOFF]
	tbz	x0, #63, LBB0_8
; %bb.7:
	ldr	w8, [x24]
	cbz	w8, LBB0_43
LBB0_8:
Lloh83:
	adrp	x22, _port@GOTPAGE
Lloh84:
	ldr	x22, [x22, _port@GOTPAGEOFF]
	ldr	x0, [x22]
Lloh85:
	adrp	x8, _PRIVILEGED_TCP_PORTS@GOTPAGE
Lloh86:
	ldr	x8, [x8, _PRIVILEGED_TCP_PORTS@GOTPAGEOFF]
Lloh87:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_10
; %bb.9:
Lloh88:
	adrp	x8, _settings_addr@GOTPAGE
Lloh89:
	ldr	x8, [x8, _settings_addr@GOTPAGEOFF]
Lloh90:
	ldr	w1, [x8]
Lloh91:
	adrp	x8, _backlog@GOTPAGE
Lloh92:
	ldr	x8, [x8, _backlog@GOTPAGEOFF]
Lloh93:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_server_socket
Lloh94:
	adrp	x8, _sfd@GOTPAGE
Lloh95:
	ldr	x8, [x8, _sfd@GOTPAGEOFF]
Lloh96:
	str	x0, [x8]
	tbnz	x0, #63, LBB0_51
LBB0_10:
	mov	w0, #0
	bl	_aes_load_pwd_file
Lloh97:
	adrp	x25, _username@GOTPAGE
Lloh98:
	ldr	x25, [x25, _username@GOTPAGEOFF]
	ldr	x0, [x25]
	bl	_change_user
	tbz	x0, #63, LBB0_12
; %bb.11:
	ldr	w8, [x24]
	cbz	w8, LBB0_44
LBB0_12:
Lloh99:
	adrp	x8, _MAX_ZALLOC@GOTPAGE
Lloh100:
	ldr	x8, [x8, _MAX_ZALLOC@GOTPAGEOFF]
Lloh101:
	ldr	x8, [x8]
	cmp	x8, #0
	b.gt	LBB0_14
; %bb.13:
Lloh102:
	adrp	x8, _dynamic_data_buffer_size@GOTPAGE
Lloh103:
	ldr	x8, [x8, _dynamic_data_buffer_size@GOTPAGEOFF]
	mov	w9, #8388608
Lloh104:
	str	w9, [x8]
LBB0_14:
	bl	_init_dyn_data
Lloh105:
	adrp	x8, _udp_enabled@GOTPAGE
Lloh106:
	ldr	x8, [x8, _udp_enabled@GOTPAGEOFF]
Lloh107:
	ldr	x8, [x8]
	cbz	x8, LBB0_16
; %bb.15:
	bl	_get_my_ipv4
	ldr	x1, [x22]
	bl	_init_server_PID
LBB0_16:
	ldrsw	x8, [x23]
	ldr	x0, [x19, x8, lsl #3]
Lloh108:
	adrp	x22, _binlogname@GOTPAGE
Lloh109:
	ldr	x22, [x22, _binlogname@GOTPAGEOFF]
	ldr	x1, [x22]
	bl	_engine_preload_filelist
	tbnz	x0, #63, LBB0_45
; %bb.17:
	mov	w24, #20864
	movk	w24, #1, lsl #16
Lloh110:
	adrp	x26, _log_ts_interval@GOTPAGE
Lloh111:
	ldr	x26, [x26, _log_ts_interval@GOTPAGEOFF]
	mov	w8, #10
	str	w8, [x26]
	mov	w0, #0
	bl	_time
	mov	w8, #17671
	movk	w8, #49710, lsl #16
	smull	x8, w0, w8
	lsr	x8, x8, #32
	add	w8, w8, w0
	asr	w9, w8, #16
	add	w8, w9, w8, lsr #31
	mul	w8, w8, w24
Lloh112:
	adrp	x27, _today_start@GOTPAGE
Lloh113:
	ldr	x27, [x27, _today_start@GOTPAGEOFF]
	str	w8, [x27]
Lloh114:
	adrp	x8, _engine_snapshot_replica@GOTPAGE
Lloh115:
	ldr	x8, [x8, _engine_snapshot_replica@GOTPAGEOFF]
Lloh116:
	ldr	w0, [x8]
	bl	_open_recent_snapshot
Lloh117:
	adrp	x19, _Snapshot@GOTPAGE
Lloh118:
	ldr	x19, [x19, _Snapshot@GOTPAGEOFF]
	str	x0, [x19]
	cbz	x0, LBB0_20
; %bb.18:
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh119:
	adrp	x9, _engine_snapshot_name@GOTPAGE
Lloh120:
	ldr	x9, [x9, _engine_snapshot_name@GOTPAGEOFF]
Lloh121:
	str	x8, [x9]
	ldr	x9, [x0]
	ldr	x9, [x9, #8]
Lloh122:
	adrp	x10, _engine_snapshot_size@GOTPAGE
Lloh123:
	ldr	x10, [x10, _engine_snapshot_size@GOTPAGEOFF]
Lloh124:
	str	x9, [x10]
	ldr	w10, [x20]
	cbz	w10, LBB0_21
; %bb.19:
Lloh125:
	adrp	x10, _stderr@GOTPAGE
Lloh126:
	ldr	x10, [x10, _stderr@GOTPAGEOFF]
Lloh127:
	ldr	w0, [x10]
	stp	x8, x9, [sp]
Lloh128:
	adrp	x1, l_.str.32@PAGE
Lloh129:
	add	x1, x1, l_.str.32@PAGEOFF
	bl	_fprintf
	b	LBB0_21
LBB0_20:
Lloh130:
	adrp	x8, _engine_snapshot_name@GOTPAGE
Lloh131:
	ldr	x8, [x8, _engine_snapshot_name@GOTPAGEOFF]
Lloh132:
	str	xzr, [x8]
Lloh133:
	adrp	x8, _engine_snapshot_size@GOTPAGE
Lloh134:
	ldr	x8, [x8, _engine_snapshot_size@GOTPAGEOFF]
Lloh135:
	str	xzr, [x8]
LBB0_21:
Lloh136:
	adrp	x23, _CLOCK_MONOTONIC@GOTPAGE
Lloh137:
	ldr	x23, [x23, _CLOCK_MONOTONIC@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_get_utime
	neg	w8, w0
Lloh138:
	adrp	x25, _index_load_time@GOTPAGE
Lloh139:
	ldr	x25, [x25, _index_load_time@GOTPAGEOFF]
	str	w8, [x25]
	ldr	x0, [x19]
	bl	_load_index
	mov	x19, x0
	ldr	w0, [x23]
	bl	_get_utime
	ldr	w8, [x25]
	add	w8, w8, w0
	str	w8, [x25]
	tbnz	w19, #31, LBB0_48
; %bb.22:
	ldr	w8, [x20]
Lloh140:
	adrp	x25, _jump_log_pos@GOTPAGE
Lloh141:
	ldr	x25, [x25, _jump_log_pos@GOTPAGEOFF]
	cbz	w8, LBB0_24
; %bb.23:
Lloh142:
	adrp	x8, _stderr@GOTPAGE
Lloh143:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh144:
	ldr	w0, [x8]
	ldr	x8, [x25]
	str	x8, [sp]
Lloh145:
	adrp	x1, l_.str.34@PAGE
Lloh146:
	add	x1, x1, l_.str.34@PAGEOFF
	bl	_fprintf
LBB0_24:
Lloh147:
	adrp	x19, _reverse_index_mode@GOTPAGE
Lloh148:
	ldr	x19, [x19, _reverse_index_mode@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh149:
	adrp	x28, _engine_replica@GOTPAGE
Lloh150:
	ldr	x28, [x28, _engine_replica@GOTPAGEOFF]
	cbz	x8, LBB0_28
; %bb.25:
Lloh151:
	adrp	x8, _STATS_SCHEMA_V1@GOTPAGE
Lloh152:
	ldr	x8, [x8, _STATS_SCHEMA_V1@GOTPAGEOFF]
Lloh153:
	ldr	w0, [x8]
	bl	_init_stats_data
	lsr	x8, x0, #63
	eor	w0, w8, #0x1
	bl	_assert
Lloh154:
	adrp	x8, _reverse_index_pos@GOTPAGE
Lloh155:
	ldr	x8, [x8, _reverse_index_pos@GOTPAGEOFF]
Lloh156:
	ldr	x8, [x8]
	cbnz	x8, LBB0_27
; %bb.26:
	ldr	x0, [x28]
	mov	w1, #0
	mov	w2, #0
	bl	_get_binlog_start_pos
	add	x8, x0, #36
LBB0_27:
	str	x8, [x25]
LBB0_28:
	mov	w8, #10
	str	w8, [x26]
	mov	w0, #0
	bl	_time
Lloh157:
	adrp	x8, _now@GOTPAGE
Lloh158:
	ldr	x8, [x8, _now@GOTPAGEOFF]
Lloh159:
	str	w0, [x8]
	sdiv	w8, w0, w24
	mul	w8, w8, w24
	str	w8, [x27]
	ldr	x0, [x28]
	ldr	x1, [x25]
	bl	_open_binlog
Lloh160:
	adrp	x8, _Binlog@GOTPAGE
Lloh161:
	ldr	x8, [x8, _Binlog@GOTPAGEOFF]
Lloh162:
	str	x0, [x8]
	cbz	x0, LBB0_49
; %bb.29:
	ldr	x8, [x0]
	ldr	x9, [x8]
	str	x9, [x22]
	ldr	w8, [x20]
	cbz	w8, LBB0_31
; %bb.30:
Lloh163:
	adrp	x8, _stderr@GOTPAGE
Lloh164:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh165:
	ldr	w8, [x8]
	ldr	x10, [x0]
	ldr	w10, [x10, #8]
	stp	x9, x10, [sp]
Lloh166:
	adrp	x1, l_.str.36@PAGE
Lloh167:
	add	x1, x1, l_.str.36@PAGEOFF
	mov	x0, x8
	bl	_fprintf
LBB0_31:
	ldr	w0, [x23]
	bl	_get_utime
Lloh168:
	adrp	x22, _binlog_load_time@GOTPAGE
Lloh169:
	ldr	x22, [x22, _binlog_load_time@GOTPAGEOFF]
	str	w0, [x22]
	bl	_clear_log
	ldr	x0, [x25]
Lloh170:
	adrp	x8, _jump_log_ts@GOTPAGE
Lloh171:
	ldr	x8, [x8, _jump_log_ts@GOTPAGEOFF]
Lloh172:
	ldr	w1, [x8]
Lloh173:
	adrp	x8, _jump_log_crc32@GOTPAGE
Lloh174:
	ldr	x8, [x8, _jump_log_crc32@GOTPAGEOFF]
Lloh175:
	ldr	w2, [x8]
	bl	_init_log_data
	mov	w0, #0
	mov	w1, #1
	bl	_replay_log
	tbnz	w0, #31, LBB0_50
; %bb.32:
	ldr	w0, [x23]
	bl	_get_utime
	ldr	w8, [x22]
	sub	w8, w0, w8
	str	w8, [x22]
Lloh176:
	adrp	x8, _log_readto_pos@GOTPAGE
Lloh177:
	ldr	x8, [x8, _log_readto_pos@GOTPAGEOFF]
Lloh178:
	ldrsw	x8, [x8]
	ldr	x9, [x25]
	sub	x8, x8, x9
Lloh179:
	adrp	x9, _binlog_loaded_size@GOTPAGE
Lloh180:
	ldr	x9, [x9, _binlog_loaded_size@GOTPAGEOFF]
Lloh181:
	str	x8, [x9]
Lloh182:
	adrp	x8, _binlog_disabled@GOTPAGE
Lloh183:
	ldr	x8, [x8, _binlog_disabled@GOTPAGEOFF]
Lloh184:
	ldr	w8, [x8]
	cbz	w8, LBB0_38
; %bb.33:
	ldr	w8, [x21]
	cbz	w8, LBB0_39
LBB0_34:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_36
; %bb.35:
Lloh185:
	adrp	x8, _stderr@GOTPAGE
Lloh186:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh187:
	ldr	w0, [x8]
Lloh188:
	adrp	x1, l_.str.38@PAGE
Lloh189:
	add	x1, x1, l_.str.38@PAGEOFF
	bl	_fprintf
LBB0_36:
	ldr	x8, [x19]
	cbz	x8, LBB0_40
; %bb.37:
	mov	w0, #0
	bl	_assert
	b	LBB0_41
LBB0_38:
	bl	_clear_read_log
	ldr	w8, [x21]
	cbnz	w8, LBB0_34
LBB0_39:
	bl	_clear_write_log
	mov	w0, #0
	bl	_time
Lloh190:
	adrp	x8, _start_time@GOTPAGE
Lloh191:
	ldr	x8, [x8, _start_time@GOTPAGEOFF]
Lloh192:
	str	x0, [x8]
	bl	_start_server
	b	LBB0_41
LBB0_40:
	bl	_save_index
LBB0_41:
	mov	w0, #0
LBB0_42:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_43:
Lloh193:
	adrp	x8, _stderr@GOTPAGE
Lloh194:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh195:
	ldr	w0, [x8]
	ldr	w8, [x22]
	add	w8, w8, #16
	str	x8, [sp]
Lloh196:
	adrp	x1, l_.str.27@PAGE
Lloh197:
	add	x1, x1, l_.str.27@PAGEOFF
	b	LBB0_52
LBB0_44:
Lloh198:
	adrp	x8, _stderr@GOTPAGE
Lloh199:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh200:
	ldr	w0, [x8]
	ldr	x8, [x25]
Lloh201:
	adrp	x9, l_.str.30@PAGE
Lloh202:
	add	x9, x9, l_.str.30@PAGEOFF
	cmp	x8, #0
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh203:
	adrp	x1, l_.str.29@PAGE
Lloh204:
	add	x1, x1, l_.str.29@PAGEOFF
	b	LBB0_52
LBB0_45:
Lloh205:
	adrp	x8, _stderr@GOTPAGE
Lloh206:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh207:
	ldr	w0, [x8]
	ldr	x8, [x22]
	cbnz	x8, LBB0_47
; %bb.46:
	ldrsw	x8, [x23]
	ldr	x8, [x19, x8, lsl #3]
LBB0_47:
	str	x8, [sp]
Lloh208:
	adrp	x1, l_.str.31@PAGE
Lloh209:
	add	x1, x1, l_.str.31@PAGEOFF
	b	LBB0_52
LBB0_48:
Lloh210:
	adrp	x8, _stderr@GOTPAGE
Lloh211:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh212:
	ldr	w0, [x8]
Lloh213:
	adrp	x8, _engine_snapshot_name@GOTPAGE
Lloh214:
	ldr	x8, [x8, _engine_snapshot_name@GOTPAGEOFF]
Lloh215:
	ldr	x8, [x8]
	stp	x19, x8, [sp]
Lloh216:
	adrp	x1, l_.str.33@PAGE
Lloh217:
	add	x1, x1, l_.str.33@PAGEOFF
	b	LBB0_52
LBB0_49:
Lloh218:
	adrp	x8, _stderr@GOTPAGE
Lloh219:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh220:
	ldr	w0, [x8]
	ldr	x8, [x28]
	ldr	x8, [x8]
	ldr	x9, [x25]
	stp	x8, x9, [sp]
Lloh221:
	adrp	x1, l_.str.35@PAGE
Lloh222:
	add	x1, x1, l_.str.35@PAGEOFF
	b	LBB0_52
LBB0_50:
Lloh223:
	adrp	x8, _stderr@GOTPAGE
Lloh224:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh225:
	ldr	w0, [x8]
Lloh226:
	adrp	x1, l_.str.37@PAGE
Lloh227:
	add	x1, x1, l_.str.37@PAGEOFF
	b	LBB0_52
LBB0_51:
Lloh228:
	adrp	x8, _stderr@GOTPAGE
Lloh229:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh230:
	ldr	w0, [x8]
	ldr	x8, [x22]
	str	x8, [sp]
Lloh231:
	adrp	x1, l_.str.28@PAGE
Lloh232:
	add	x1, x1, l_.str.28@PAGEOFF
LBB0_52:
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGotStr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotStr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGot	Lloh108, Lloh109
	.loh AdrpLdrGot	Lloh117, Lloh118
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGot	Lloh112, Lloh113
	.loh AdrpLdrGot	Lloh110, Lloh111
	.loh AdrpLdrGotStr	Lloh122, Lloh123, Lloh124
	.loh AdrpLdrGotStr	Lloh119, Lloh120, Lloh121
	.loh AdrpAdd	Lloh128, Lloh129
	.loh AdrpLdrGotLdr	Lloh125, Lloh126, Lloh127
	.loh AdrpLdrGotStr	Lloh133, Lloh134, Lloh135
	.loh AdrpLdrGotStr	Lloh130, Lloh131, Lloh132
	.loh AdrpLdrGot	Lloh138, Lloh139
	.loh AdrpLdrGot	Lloh136, Lloh137
	.loh AdrpLdrGot	Lloh140, Lloh141
	.loh AdrpAdd	Lloh145, Lloh146
	.loh AdrpLdrGotLdr	Lloh142, Lloh143, Lloh144
	.loh AdrpLdrGot	Lloh149, Lloh150
	.loh AdrpLdrGot	Lloh147, Lloh148
	.loh AdrpLdrGotLdr	Lloh154, Lloh155, Lloh156
	.loh AdrpLdrGotLdr	Lloh151, Lloh152, Lloh153
	.loh AdrpLdrGotStr	Lloh160, Lloh161, Lloh162
	.loh AdrpLdrGotStr	Lloh157, Lloh158, Lloh159
	.loh AdrpAdd	Lloh166, Lloh167
	.loh AdrpLdrGotLdr	Lloh163, Lloh164, Lloh165
	.loh AdrpLdrGotLdr	Lloh173, Lloh174, Lloh175
	.loh AdrpLdrGotLdr	Lloh170, Lloh171, Lloh172
	.loh AdrpLdrGot	Lloh168, Lloh169
	.loh AdrpLdrGotLdr	Lloh182, Lloh183, Lloh184
	.loh AdrpLdrGotStr	Lloh179, Lloh180, Lloh181
	.loh AdrpLdrGotLdr	Lloh176, Lloh177, Lloh178
	.loh AdrpAdd	Lloh188, Lloh189
	.loh AdrpLdrGotLdr	Lloh185, Lloh186, Lloh187
	.loh AdrpLdrGotStr	Lloh190, Lloh191, Lloh192
	.loh AdrpAdd	Lloh196, Lloh197
	.loh AdrpLdrGotLdr	Lloh193, Lloh194, Lloh195
	.loh AdrpAdd	Lloh203, Lloh204
	.loh AdrpAdd	Lloh201, Lloh202
	.loh AdrpLdrGotLdr	Lloh198, Lloh199, Lloh200
	.loh AdrpLdrGotLdr	Lloh205, Lloh206, Lloh207
	.loh AdrpAdd	Lloh208, Lloh209
	.loh AdrpAdd	Lloh216, Lloh217
	.loh AdrpLdrGotLdr	Lloh213, Lloh214, Lloh215
	.loh AdrpLdrGotLdr	Lloh210, Lloh211, Lloh212
	.loh AdrpAdd	Lloh221, Lloh222
	.loh AdrpLdrGotLdr	Lloh218, Lloh219, Lloh220
	.loh AdrpAdd	Lloh226, Lloh227
	.loh AdrpLdrGotLdr	Lloh223, Lloh224, Lloh225
	.loh AdrpAdd	Lloh231, Lloh232
	.loh AdrpLdrGotLdr	Lloh228, Lloh229, Lloh230
	.cfi_endproc
                                        ; -- End function
	.comm	_progname,8,3                   ; @progname
	.comm	_index_mode,4,2                 ; @index_mode
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"statsx-index"

	.comm	_auto_create_new_versions,4,2   ; @auto_create_new_versions
	.comm	_no_argument,4,2                ; @no_argument
l_.str.1:                               ; @.str.1
	.asciz	"=memcache_auto_answer_mode"

l_.str.2:                               ; @.str.2
	.asciz	"test"

l_.str.3:                               ; @.str.3
	.asciz	"test mode"

l_.str.4:                               ; @.str.4
	.asciz	"no-user-id"

l_.str.5:                               ; @.str.5
	.asciz	"ignore user id"

l_.str.6:                               ; @.str.6
	.asciz	"index"

l_.str.7:                               ; @.str.7
	.asciz	"reindex"

l_.str.8:                               ; @.str.8
	.asciz	"high-memory"

l_.str.9:                               ; @.str.9
	.asciz	"memory usage to reindex"

l_.str.10:                              ; @.str.10
	.asciz	"no-version"

l_.str.11:                              ; @.str.11
	.asciz	"counters are valid until disabled by hands"

l_.str.12:                              ; @.str.12
	.asciz	"custom-version"

l_.str.13:                              ; @.str.13
	.asciz	"use yyyymmdd as counter version. Includes [--no-version]"

l_.str.14:                              ; @.str.14
	.asciz	"monthly"

l_.str.15:                              ; @.str.15
	.asciz	"enable monthly stat"

l_.str.16:                              ; @.str.16
	.asciz	"no-set-timezone"

l_.str.17:                              ; @.str.17
	.asciz	"ignore all set timezone events"

l_.str.18:                              ; @.str.18
	.asciz	"day-start-version"

l_.str.19:                              ; @.str.19
	.asciz	"use unixtime at 0:00 as counter version"

l_.str.20:                              ; @.str.20
	.asciz	"counter-growth"

	.comm	_required_argument,4,2          ; @required_argument
l_.str.21:                              ; @.str.21
	.asciz	"counter hash table growth in percents (default %lf)"

	.comm	_max_counters_growth_percent,4,2 ; @max_counters_growth_percent
l_.str.22:                              ; @.str.22
	.asciz	"default-timezone"

l_.str.23:                              ; @.str.23
	.asciz	"default timezone (hours offset from GMT)"

l_.str.24:                              ; @.str.24
	.asciz	"cyclic-binlog"

l_.str.25:                              ; @.str.25
	.asciz	"use binlog in cyclic mode"

	.comm	_f_parse_option,4,2             ; @f_parse_option
	.comm	_optind,4,2                     ; @optind
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
l_.str.26:                              ; @.str.26
	.asciz	"Starting in index mode...\n"

	.comm	_maxconn,4,2                    ; @maxconn
	.comm	_test_mode,4,2                  ; @test_mode
l_.str.27:                              ; @.str.27
	.asciz	"fatal: cannot raise open file limit to %d\n"

	.comm	_port,8,3                       ; @port
	.comm	_PRIVILEGED_TCP_PORTS,8,3       ; @PRIVILEGED_TCP_PORTS
	.comm	_settings_addr,4,2              ; @settings_addr
	.comm	_backlog,4,2                    ; @backlog
	.comm	_sfd,8,3                        ; @sfd
l_.str.28:                              ; @.str.28
	.asciz	"cannot open server socket at port %d: %m\n"

	.comm	_username,8,3                   ; @username
l_.str.29:                              ; @.str.29
	.asciz	"fatal: cannot change user to %s\n"

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

	.comm	_MAX_ZALLOC,8,3                 ; @MAX_ZALLOC
	.comm	_dynamic_data_buffer_size,4,2   ; @dynamic_data_buffer_size
	.comm	_udp_enabled,8,3                ; @udp_enabled
	.comm	_binlogname,8,3                 ; @binlogname
l_.str.31:                              ; @.str.31
	.asciz	"cannot open binlog files for %s\n"

	.comm	_log_ts_interval,4,2            ; @log_ts_interval
	.comm	_today_start,4,2                ; @today_start
	.comm	_engine_snapshot_replica,4,2    ; @engine_snapshot_replica
	.comm	_Snapshot,8,3                   ; @Snapshot
	.comm	_engine_snapshot_name,8,3       ; @engine_snapshot_name
	.comm	_engine_snapshot_size,8,3       ; @engine_snapshot_size
l_.str.32:                              ; @.str.32
	.asciz	"load index file %s (size %lld)\n"

	.comm	_CLOCK_MONOTONIC,4,2            ; @CLOCK_MONOTONIC
	.comm	_index_load_time,4,2            ; @index_load_time
l_.str.33:                              ; @.str.33
	.asciz	"fatal: error %d while loading index file %s\n"

l_.str.34:                              ; @.str.34
	.asciz	"Reading binlog from position %lld\n"

	.comm	_jump_log_pos,8,3               ; @jump_log_pos
	.comm	_reverse_index_mode,8,3         ; @reverse_index_mode
	.comm	_STATS_SCHEMA_V1,4,2            ; @STATS_SCHEMA_V1
	.comm	_reverse_index_pos,8,3          ; @reverse_index_pos
	.comm	_engine_replica,8,3             ; @engine_replica
	.comm	_now,4,2                        ; @now
	.comm	_Binlog,8,3                     ; @Binlog
l_.str.35:                              ; @.str.35
	.asciz	"fatal: cannot find binlog for %s, log position %lld\n"

l_.str.36:                              ; @.str.36
	.asciz	"replaying binlog file %s (size %lld)\n"

	.comm	_binlog_load_time,4,2           ; @binlog_load_time
	.comm	_jump_log_ts,4,2                ; @jump_log_ts
	.comm	_jump_log_crc32,4,2             ; @jump_log_crc32
l_.str.37:                              ; @.str.37
	.asciz	"fatal: error reading binlog\n"

	.comm	_log_readto_pos,4,2             ; @log_readto_pos
	.comm	_binlog_loaded_size,8,3         ; @binlog_loaded_size
	.comm	_binlog_disabled,4,2            ; @binlog_disabled
l_.str.38:                              ; @.str.38
	.asciz	"Saving index...\n"

	.comm	_start_time,8,3                 ; @start_time
.subsections_via_symbols
