	.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, %ebx
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_out@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_dump_stats_replay_logevent@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_replay_logevent@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	leaq	L_.str(%rip), %r15
	leaq	LJTI0_0(%rip), %r12
	leaq	-44(%rbp), %r13
	jmp	LBB0_1
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, -44(%rbp)
	leal	-83(%rax), %ecx
	cmpl	$35, %ecx
	ja	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r12,%rcx,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdx
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_1
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %eax
	movq	_start_time@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_1
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdx
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_1
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %eax
	movq	_end_time@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_1
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_active_users_stats_replay_logevent@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdx
	callq	_sscanf
	cmpl	$1, %eax
	jne	LBB0_1
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %eax
	movq	_cnt_id@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_1
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_verbosity@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_1
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_dump_unique_cid_stats_replay_logevent@GOTPCREL(%rip), %rax
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rax), %rax
	movq	_replay_logevent@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_1
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$-1, %eax
	jne	LBB0_1
## %bb.3:
	movq	_optind@GOTPCREL(%rip), %r12
	movslq	(%r12), %rax
	cmpl	%ebx, %eax
	jge	LBB0_4
## %bb.17:
	movq	(%r14,%rax,8), %rdi
	movq	_binlogname@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	callq	_engine_preload_filelist
	testq	%rax, %rax
	js	LBB0_18
## %bb.21:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_26
## %bb.22:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movq	_engine_snapshot_replica@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_open_recent_snapshot
	movq	_Snapshot@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_24
## %bb.23:
	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)
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	jmp	LBB0_25
LBB0_4:
	xorl	%eax, %eax
	callq	_usage
	movl	$2, %ebx
LBB0_38:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	_engine_snapshot_name@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_engine_snapshot_size@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_25:
	movq	_CLOCK_MONOTONIC@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_get_utime
	negl	%eax
	movq	_snapshot_load_time@GOTPCREL(%rip), %rbx
	movl	%eax, (%rbx)
	movq	(%r14), %rdi
	callq	_load_index
	movl	%eax, -44(%rbp)
	movl	(%r12), %edi
	callq	_get_utime
	addl	%eax, (%rbx)
	movl	-44(%rbp), %edx
	testl	%edx, %edx
	js	LBB0_39
LBB0_26:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jl	LBB0_28
## %bb.27:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_28:
	movq	_jump_log_pos@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	leaq	L_.str.7(%rip), %rsi
	movl	$3, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movq	_engine_replica@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	(%r14), %rsi
	callq	_open_binlog
	movq	_Binlog@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_40
## %bb.29:
	movq	(%rax), %rcx
	movq	(%rcx), %rdx
	movq	%rdx, (%r15)
	movq	_verbosity@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_31
## %bb.30:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	(%rax), %rax
	movl	8(%rax), %ecx
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_31:
	xorl	%eax, %eax
	callq	_mytime
	negl	%eax
	movq	_binlog_load_time@GOTPCREL(%rip), %r15
	movl	%eax, (%r15)
	xorl	%eax, %eax
	callq	_clear_log
	movq	(%r14), %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
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_33
## %bb.32:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_33:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movl	$1, %esi
	callq	_replay_log
	movl	%eax, -44(%rbp)
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_35
## %bb.34:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_35:
	xorl	%eax, %eax
	callq	_mytime
	addl	%eax, (%r15)
	movq	_log_readto_pos@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	subq	(%r14), %rax
	movq	_binlog_loaded_size@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_replay_logevent@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_active_users_stats_replay_logevent@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_37
## %bb.36:
	movq	_dump_unique_cid_stats_replay_logevent@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_38
LBB0_37:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_count
	jmp	LBB0_38
LBB0_18:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rdx
	testq	%rdx, %rdx
	jne	LBB0_20
## %bb.19:
	movslq	(%r12), %rax
	movq	(%r14,%rax,8), %rdx
LBB0_20:
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_40:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movq	(%rax), %rdx
	movq	(%r14), %rcx
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_39:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_engine_snapshot_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_11
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_14
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_16
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_stdout,4,2                     ## @stdout
	.comm	_out,4,2                        ## @out
	.comm	_dump_stats_replay_logevent,8,3 ## @dump_stats_replay_logevent
	.comm	_replay_logevent,8,3            ## @replay_logevent
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"c:hvlS:T:ui"

	.comm	_optarg,4,2                     ## @optarg
L_.str.1:                               ## @.str.1
	.asciz	"%d"

	.comm	_start_time,4,2                 ## @start_time
	.comm	_end_time,4,2                   ## @end_time
	.comm	_cnt_id,4,2                     ## @cnt_id
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_dump_unique_cid_stats_replay_logevent,8,3 ## @dump_unique_cid_stats_replay_logevent
	.comm	_active_users_stats_replay_logevent,8,3 ## @active_users_stats_replay_logevent
	.comm	_optind,4,2                     ## @optind
	.comm	_binlogname,8,3                 ## @binlogname
	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"cannot open binlog files for %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"Use index\n"

	.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.4:                               ## @.str.4
	.asciz	"load index file %s (size %lld)\n"

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

L_.str.6:                               ## @.str.6
	.asciz	"engine_preload_filelist done\n"

L_.str.7:                               ## @.str.7
	.asciz	"jump_log_pos = %lld\n"

	.comm	_jump_log_pos,8,3               ## @jump_log_pos
	.comm	_engine_replica,8,3             ## @engine_replica
	.comm	_Binlog,8,3                     ## @Binlog
L_.str.8:                               ## @.str.8
	.asciz	"fatal: cannot find binlog for %s, log position %lld\n"

L_.str.9:                               ## @.str.9
	.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.10:                              ## @.str.10
	.asciz	"replay log events started\n"

L_.str.11:                              ## @.str.11
	.asciz	"replay log events finished\n"

	.comm	_log_readto_pos,4,2             ## @log_readto_pos
	.comm	_binlog_loaded_size,8,3         ## @binlog_loaded_size
.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, #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
	mov	x19, x1
	mov	x20, x0
	mov	w27, #0
Lloh0:
	adrp	x8, _stdout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _out@GOTPAGE
Lloh4:
	ldr	x9, [x9, _out@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
Lloh6:
	adrp	x8, _dump_stats_replay_logevent@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dump_stats_replay_logevent@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x23, _replay_logevent@GOTPAGE
Lloh10:
	ldr	x23, [x23, _replay_logevent@GOTPAGEOFF]
	str	x8, [x23]
Lloh11:
	adrp	x21, l_.str@PAGE
Lloh12:
	add	x21, x21, l_.str@PAGEOFF
Lloh13:
	adrp	x28, lJTI0_0@PAGE
Lloh14:
	add	x28, x28, lJTI0_0@PAGEOFF
Lloh15:
	adrp	x24, _optarg@GOTPAGE
Lloh16:
	ldr	x24, [x24, _optarg@GOTPAGEOFF]
Lloh17:
	adrp	x22, l_.str.1@PAGE
Lloh18:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh19:
	adrp	x25, _cnt_id@GOTPAGE
Lloh20:
	ldr	x25, [x25, _cnt_id@GOTPAGEOFF]
Lloh21:
	adrp	x26, _verbosity@GOTPAGE
Lloh22:
	ldr	x26, [x26, _verbosity@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w27, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	str	w0, [sp, #28]
	sub	w8, w0, #83
	cmp	w8, #35
	b.hi	LBB0_14
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x28, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x24]
	add	x2, sp, #28
	mov	x1, x22
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #28]
Lloh23:
	adrp	x9, _start_time@GOTPAGE
Lloh24:
	ldr	x9, [x9, _start_time@GOTPAGEOFF]
Lloh25:
	str	w8, [x9]
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x24]
	add	x2, sp, #28
	mov	x1, x22
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #28]
Lloh26:
	adrp	x9, _end_time@GOTPAGE
Lloh27:
	ldr	x9, [x9, _end_time@GOTPAGEOFF]
Lloh28:
	str	w8, [x9]
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh29:
	adrp	x8, _active_users_stats_replay_logevent@GOTPAGE
Lloh30:
	ldr	x8, [x8, _active_users_stats_replay_logevent@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x24]
	add	x2, sp, #28
	mov	x1, x22
	bl	_sscanf
	cmp	w0, #1
	b.ne	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #28]
	str	w8, [x25]
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x26]
	add	w8, w8, #1
	str	w8, [x26]
	b	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh31:
	adrp	x8, _dump_unique_cid_stats_replay_logevent@GOTPAGE
Lloh32:
	ldr	x8, [x8, _dump_unique_cid_stats_replay_logevent@GOTPAGEOFF]
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x8]
	str	x8, [x23]
	b	LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.15:
Lloh33:
	adrp	x21, _optind@GOTPAGE
Lloh34:
	ldr	x21, [x21, _optind@GOTPAGEOFF]
	ldrsw	x8, [x21]
	cmp	w8, w20
	b.ge	LBB0_20
; %bb.16:
	ldr	x0, [x19, x8, lsl #3]
Lloh35:
	adrp	x20, _binlogname@GOTPAGE
Lloh36:
	ldr	x20, [x20, _binlogname@GOTPAGEOFF]
	ldr	x1, [x20]
	bl	_engine_preload_filelist
	tbnz	x0, #63, LBB0_37
; %bb.17:
	cbz	w27, LBB0_24
; %bb.18:
Lloh37:
	adrp	x1, l_.str.3@PAGE
Lloh38:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_vkprintf
Lloh39:
	adrp	x8, _engine_snapshot_replica@GOTPAGE
Lloh40:
	ldr	x8, [x8, _engine_snapshot_replica@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	bl	_open_recent_snapshot
Lloh42:
	adrp	x19, _Snapshot@GOTPAGE
Lloh43:
	ldr	x19, [x19, _Snapshot@GOTPAGEOFF]
	str	x0, [x19]
	cbz	x0, LBB0_22
; %bb.19:
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh44:
	adrp	x9, _engine_snapshot_name@GOTPAGE
Lloh45:
	ldr	x9, [x9, _engine_snapshot_name@GOTPAGEOFF]
Lloh46:
	str	x8, [x9]
	ldr	x9, [x0]
	ldr	x9, [x9, #8]
Lloh47:
	adrp	x10, _engine_snapshot_size@GOTPAGE
Lloh48:
	ldr	x10, [x10, _engine_snapshot_size@GOTPAGEOFF]
Lloh49:
	str	x9, [x10]
	stp	x8, x9, [sp]
Lloh50:
	adrp	x1, l_.str.4@PAGE
Lloh51:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_vkprintf
	b	LBB0_23
LBB0_20:
	bl	_usage
	mov	w0, #2
LBB0_21:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_22:
Lloh52:
	adrp	x8, _engine_snapshot_name@GOTPAGE
Lloh53:
	ldr	x8, [x8, _engine_snapshot_name@GOTPAGEOFF]
Lloh54:
	str	xzr, [x8]
Lloh55:
	adrp	x8, _engine_snapshot_size@GOTPAGE
Lloh56:
	ldr	x8, [x8, _engine_snapshot_size@GOTPAGEOFF]
Lloh57:
	str	xzr, [x8]
LBB0_23:
Lloh58:
	adrp	x21, _CLOCK_MONOTONIC@GOTPAGE
Lloh59:
	ldr	x21, [x21, _CLOCK_MONOTONIC@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_get_utime
	neg	w8, w0
Lloh60:
	adrp	x22, _snapshot_load_time@GOTPAGE
Lloh61:
	ldr	x22, [x22, _snapshot_load_time@GOTPAGEOFF]
	str	w8, [x22]
	ldr	x0, [x19]
	bl	_load_index
	str	w0, [sp, #28]
	ldr	w0, [x21]
	bl	_get_utime
	ldr	w8, [x22]
	add	w8, w8, w0
	str	w8, [x22]
	ldr	w8, [sp, #28]
	tbnz	w8, #31, LBB0_41
LBB0_24:
	ldr	w8, [x26]
	cmp	w8, #3
	b.lt	LBB0_26
; %bb.25:
Lloh62:
	adrp	x8, _stderr@GOTPAGE
Lloh63:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh64:
	ldr	w0, [x8]
Lloh65:
	adrp	x1, l_.str.6@PAGE
Lloh66:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
LBB0_26:
Lloh67:
	adrp	x19, _jump_log_pos@GOTPAGE
Lloh68:
	ldr	x19, [x19, _jump_log_pos@GOTPAGEOFF]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh69:
	adrp	x1, l_.str.7@PAGE
Lloh70:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w0, #3
	bl	_vkprintf
Lloh71:
	adrp	x21, _engine_replica@GOTPAGE
Lloh72:
	ldr	x21, [x21, _engine_replica@GOTPAGEOFF]
	ldr	x0, [x21]
	ldr	x1, [x19]
	bl	_open_binlog
Lloh73:
	adrp	x8, _Binlog@GOTPAGE
Lloh74:
	ldr	x8, [x8, _Binlog@GOTPAGEOFF]
Lloh75:
	str	x0, [x8]
	cbz	x0, LBB0_40
; %bb.27:
	ldr	x8, [x0]
	ldr	x9, [x8]
	str	x9, [x20]
	ldr	w8, [x26]
	cbz	w8, LBB0_29
; %bb.28:
Lloh76:
	adrp	x8, _stderr@GOTPAGE
Lloh77:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh78:
	ldr	w8, [x8]
	ldr	x10, [x0]
	ldr	w10, [x10, #8]
	stp	x9, x10, [sp]
Lloh79:
	adrp	x1, l_.str.9@PAGE
Lloh80:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x8
	bl	_fprintf
LBB0_29:
	bl	_mytime
	neg	w8, w0
Lloh81:
	adrp	x20, _binlog_load_time@GOTPAGE
Lloh82:
	ldr	x20, [x20, _binlog_load_time@GOTPAGEOFF]
	str	w8, [x20]
	bl	_clear_log
	ldr	x0, [x19]
Lloh83:
	adrp	x8, _jump_log_ts@GOTPAGE
Lloh84:
	ldr	x8, [x8, _jump_log_ts@GOTPAGEOFF]
Lloh85:
	ldr	w1, [x8]
Lloh86:
	adrp	x8, _jump_log_crc32@GOTPAGE
Lloh87:
	ldr	x8, [x8, _jump_log_crc32@GOTPAGEOFF]
Lloh88:
	ldr	w2, [x8]
	bl	_init_log_data
	ldr	w8, [x26]
	cbz	w8, LBB0_31
; %bb.30:
Lloh89:
	adrp	x8, _stderr@GOTPAGE
Lloh90:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh91:
	ldr	w0, [x8]
Lloh92:
	adrp	x1, l_.str.10@PAGE
Lloh93:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_fprintf
LBB0_31:
	mov	w0, #0
	mov	w1, #1
	bl	_replay_log
	str	w0, [sp, #28]
	ldr	w8, [x26]
	cbz	w8, LBB0_33
; %bb.32:
Lloh94:
	adrp	x8, _stderr@GOTPAGE
Lloh95:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh96:
	ldr	w0, [x8]
Lloh97:
	adrp	x1, l_.str.11@PAGE
Lloh98:
	add	x1, x1, l_.str.11@PAGEOFF
	bl	_fprintf
LBB0_33:
	bl	_mytime
	ldr	w8, [x20]
	add	w8, w8, w0
	str	w8, [x20]
Lloh99:
	adrp	x8, _log_readto_pos@GOTPAGE
Lloh100:
	ldr	x8, [x8, _log_readto_pos@GOTPAGEOFF]
Lloh101:
	ldrsw	x8, [x8]
	ldr	x9, [x19]
	sub	x8, x8, x9
Lloh102:
	adrp	x9, _binlog_loaded_size@GOTPAGE
Lloh103:
	ldr	x9, [x9, _binlog_loaded_size@GOTPAGEOFF]
Lloh104:
	str	x8, [x9]
	ldr	x8, [x23]
Lloh105:
	adrp	x9, _active_users_stats_replay_logevent@GOTPAGE
Lloh106:
	ldr	x9, [x9, _active_users_stats_replay_logevent@GOTPAGEOFF]
Lloh107:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_35
; %bb.34:
Lloh108:
	adrp	x9, _dump_unique_cid_stats_replay_logevent@GOTPAGE
Lloh109:
	ldr	x9, [x9, _dump_unique_cid_stats_replay_logevent@GOTPAGEOFF]
Lloh110:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_36
LBB0_35:
	bl	_count
LBB0_36:
	mov	w0, #0
	b	LBB0_21
LBB0_37:
Lloh111:
	adrp	x8, _stderr@GOTPAGE
Lloh112:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh113:
	ldr	w0, [x8]
	ldr	x8, [x20]
	cbnz	x8, LBB0_39
; %bb.38:
	ldrsw	x8, [x21]
	ldr	x8, [x19, x8, lsl #3]
LBB0_39:
	str	x8, [sp]
Lloh114:
	adrp	x1, l_.str.2@PAGE
Lloh115:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_42
LBB0_40:
Lloh116:
	adrp	x8, _stderr@GOTPAGE
Lloh117:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh118:
	ldr	w0, [x8]
	ldr	x8, [x21]
	ldr	x8, [x8]
	ldr	x9, [x19]
	stp	x8, x9, [sp]
Lloh119:
	adrp	x1, l_.str.8@PAGE
Lloh120:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_42
LBB0_41:
Lloh121:
	adrp	x9, _stderr@GOTPAGE
Lloh122:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh123:
	ldr	w0, [x9]
Lloh124:
	adrp	x9, _engine_snapshot_name@GOTPAGE
Lloh125:
	ldr	x9, [x9, _engine_snapshot_name@GOTPAGEOFF]
Lloh126:
	ldr	x9, [x9]
	stp	x8, x9, [sp]
Lloh127:
	adrp	x1, l_.str.5@PAGE
Lloh128:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_42:
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpLdrGotStr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotStr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotStr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotStr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotStr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGotStr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpAdd	Lloh114, Lloh115
	.loh AdrpAdd	Lloh119, Lloh120
	.loh AdrpLdrGotLdr	Lloh116, Lloh117, Lloh118
	.loh AdrpAdd	Lloh127, Lloh128
	.loh AdrpLdrGotLdr	Lloh124, Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh121, Lloh122, Lloh123
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_20-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
                                        ; -- End function
	.comm	_stdout,4,2                     ; @stdout
	.comm	_out,4,2                        ; @out
	.comm	_dump_stats_replay_logevent,8,3 ; @dump_stats_replay_logevent
	.comm	_replay_logevent,8,3            ; @replay_logevent
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"c:hvlS:T:ui"

	.comm	_optarg,4,2                     ; @optarg
l_.str.1:                               ; @.str.1
	.asciz	"%d"

	.comm	_start_time,4,2                 ; @start_time
	.comm	_end_time,4,2                   ; @end_time
	.comm	_cnt_id,4,2                     ; @cnt_id
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_dump_unique_cid_stats_replay_logevent,8,3 ; @dump_unique_cid_stats_replay_logevent
	.comm	_active_users_stats_replay_logevent,8,3 ; @active_users_stats_replay_logevent
	.comm	_optind,4,2                     ; @optind
	.comm	_binlogname,8,3                 ; @binlogname
	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"cannot open binlog files for %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"Use index\n"

	.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.4:                               ; @.str.4
	.asciz	"load index file %s (size %lld)\n"

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

l_.str.6:                               ; @.str.6
	.asciz	"engine_preload_filelist done\n"

l_.str.7:                               ; @.str.7
	.asciz	"jump_log_pos = %lld\n"

	.comm	_jump_log_pos,8,3               ; @jump_log_pos
	.comm	_engine_replica,8,3             ; @engine_replica
	.comm	_Binlog,8,3                     ; @Binlog
l_.str.8:                               ; @.str.8
	.asciz	"fatal: cannot find binlog for %s, log position %lld\n"

l_.str.9:                               ; @.str.9
	.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.10:                              ; @.str.10
	.asciz	"replay log events started\n"

l_.str.11:                              ; @.str.11
	.asciz	"replay log events finished\n"

	.comm	_log_readto_pos,4,2             ; @log_readto_pos
	.comm	_binlog_loaded_size,8,3         ; @binlog_loaded_size
.subsections_via_symbols
