	.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, %rbx
	movl	%edi, %r14d
	movq	(%rsi), %rax
	movq	_progname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	leaq	L_.str(%rip), %r13
	movq	_jump_log_pos@GOTPCREL(%rip), %r12
	movq	_username@GOTPCREL(%rip), %r15
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_1
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_atoll
	movq	_log_limit_pos@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movq	%r13, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-67(%rax), %ecx
	cmpl	$51, %ecx
	ja	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_atoi
	movq	_output_cache_id@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_1
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_write_local_copies_logevents@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	jmp	LBB0_1
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_atoll
	movq	%rax, (%r12)
	jmp	LBB0_1
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_atoi
	movq	%r15, %rbx
	movq	%r12, %r15
	movq	%rax, %r12
	movq	_start_timestamp@GOTPCREL(%rip), %rax
	movq	%r12, (%rax)
	xorl	%edi, %edi
	callq	_time
	cmpq	%rax, %r12
	movq	%r15, %r12
	movq	%rbx, %r15
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jbe	LBB0_1
	jmp	LBB0_8
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_verbosity@GOTPCREL(%rip), %rax
	movq	$1, (%rax)
	jmp	LBB0_1
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	leaq	L_.str.2(%rip), %rsi
	movq	_copy_rem@GOTPCREL(%rip), %rdx
	movq	_copy_mod@GOTPCREL(%rip), %rcx
	callq	_sscanf
	cmpl	$2, %eax
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_copy_rem@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	js	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_copy_mod@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_1
LBB0_14:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_usage
	jmp	LBB0_1
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r15)
	jmp	LBB0_1
LBB0_2:
	cmpl	$-1, %eax
	jne	LBB0_3
## %bb.19:
	movq	_optind@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	cmpl	%r14d, %eax
	jge	LBB0_21
## %bb.20:
	addl	$2, %eax
	cmpl	%r14d, %eax
	jge	LBB0_22
LBB0_21:
	xorl	%eax, %eax
	callq	_usage
LBB0_22:
	movq	_log_limit_pos@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	js	LBB0_25
## %bb.23:
	movq	(%r12), %rsi
	cmpq	%rdx, %rsi
	jle	LBB0_25
## %bb.24:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	movl	$2, %ebx
	jmp	LBB0_54
LBB0_10:
	xorl	%eax, %eax
	callq	_usage
	movl	$2, %ebx
	jmp	LBB0_54
LBB0_25:
	movq	(%r15), %rdi
	callq	_change_user
	testq	%rax, %rax
	js	LBB0_26
## %bb.27:
	movq	%r12, %r15
	movslq	(%r13), %rax
	movq	(%rbx,%rax,8), %rdi
	movq	_binlogname@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	callq	_engine_preload_filelist
	testq	%rax, %rax
	js	LBB0_28
## %bb.32:
	movq	_engine_replica@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	movq	(%r15), %rsi
	callq	_open_binlog
	movq	_Binlog@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_55
## %bb.33:
	movq	(%rax), %rcx
	movq	(%rcx), %rdx
	movq	%rdx, (%r12)
	movq	(%rax), %rax
	movl	8(%rax), %ecx
	leaq	L_.str.9(%rip), %rsi
	movl	$1, %edi
	callq	_vkprintf
	xorl	%eax, %eax
	callq	_clear_log
	movq	(%r15), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_init_log_data
	cmpq	$0, (%r15)
	jle	LBB0_35
## %bb.34:
	xorl	%edi, %edi
	callq	_init_cache_data
LBB0_35:
	movq	_optind@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leal	1(%rax), %ecx
	cmpl	%r14d, %ecx
	jge	LBB0_40
## %bb.36:
	movq	8(%rbx,%rax,8), %rdi
	movq	_targ_fname@GOTPCREL(%rip), %rbx
	movq	_O_WRONLY@GOTPCREL(%rip), %rax
	movq	_O_APPEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%rdi, (%rbx)
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	$420, %edx                      ## imm = 0x1A4
	callq	_open
	movq	_targ_fd@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	testl	%eax, %eax
	js	LBB0_37
## %bb.39:
	movq	_SEEK_END@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_lseek
	movq	_targ_orig_size@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setg	%cl
	movq	_targ_existed@GOTPCREL(%rip), %rax
	movl	%ecx, (%rax)
	jmp	LBB0_41
LBB0_26:
	movq	(%r15), %rax
	testq	%rax, %rax
	leaq	L_.str.6(%rip), %rsi
	cmovneq	%rax, %rsi
	leaq	L_.str.5(%rip), %rdi
	jmp	LBB0_38
LBB0_40:
	leaq	L_.str.11(%rip), %rax
	movq	_targ_fname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_targ_fd@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_targ_existed@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_41:
	movq	_output_cache_id@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_44
## %bb.42:
	testl	%ecx, %ecx
	jne	LBB0_43
LBB0_44:
	xorl	%edi, %edi
	movl	$1, %esi
	callq	_replay_log
	testl	%eax, %eax
	js	LBB0_45
## %bb.46:
	movq	_log_limit_pos@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	js	LBB0_48
## %bb.47:
	movq	_log_readto_pos@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	cmpq	%rdx, %rsi
	jne	LBB0_56
LBB0_48:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_flush_out
	movq	_targ_fd@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	cmpl	$1, %edi
	je	LBB0_52
## %bb.49:
	callq	_fdatasync
	testq	%rax, %rax
	js	LBB0_50
## %bb.51:
	movl	(%r14), %edi
	callq	_close
LBB0_52:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_54
## %bb.53:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_output_stats
	jmp	LBB0_54
LBB0_37:
	movq	(%rbx), %rsi
	leaq	L_.str.10(%rip), %rdi
LBB0_38:
	xorl	%eax, %eax
	callq	_kprintf
	movl	$1, %ebx
LBB0_54:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movsbl	%al, %edx
	leaq	L_.str.3(%rip), %rsi
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
LBB0_9:
	xorl	%eax, %eax
	callq	_kprintf
	movl	$1, %edi
	callq	_exit
LBB0_28:
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	jne	LBB0_30
## %bb.29:
	movq	_optind@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	(%rbx,%rax,8), %rsi
LBB0_30:
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_31
LBB0_55:
	movq	(%r13), %rax
	movl	(%rax), %esi
	leaq	L_.str.8(%rip), %rdi
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_kprintf
	movl	$1, %edi
	callq	_exit
LBB0_43:
	leaq	L_.str.12(%rip), %rdi
	jmp	LBB0_31
LBB0_45:
	leaq	L_.str.13(%rip), %rdi
	jmp	LBB0_9
LBB0_56:
	leaq	L_.str.14(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	movl	$1, %edi
	callq	_exit
LBB0_50:
	movq	_targ_fname@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str.15(%rip), %rdi
LBB0_31:
	xorl	%eax, %eax
	callq	_kprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_10
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_11
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_3
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_17
	.long	L0_0_set_18
	.end_data_region
                                        ## -- End function
	.comm	_progname,8,3                   ## @progname
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"C:LS:hm:s:t:u:v"

	.comm	_optarg,8,3                     ## @optarg
	.comm	_output_cache_id,8,3            ## @output_cache_id
	.comm	_write_local_copies_logevents,4,2 ## @write_local_copies_logevents
	.comm	_start_timestamp,8,3            ## @start_timestamp
L_.str.1:                               ## @.str.1
	.asciz	"start_timestamps could be after current time\n"

L_.str.2:                               ## @.str.2
	.asciz	"%d,%d"

	.comm	_copy_rem,4,2                   ## @copy_rem
	.comm	_copy_mod,4,2                   ## @copy_mod
	.comm	_jump_log_pos,8,3               ## @jump_log_pos
	.comm	_log_limit_pos,8,3              ## @log_limit_pos
	.comm	_username,8,3                   ## @username
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"Unimplemented option -%c\n"

	.comm	_optind,4,2                     ## @optind
L_.str.4:                               ## @.str.4
	.asciz	"fatal: log start position %lld after stop position %lld\n"

L_.str.5:                               ## @.str.5
	.asciz	"fatal: cannot change user to %s\n"

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

	.comm	_binlogname,8,3                 ## @binlogname
L_.str.7:                               ## @.str.7
	.asciz	"cannot open binlog files for %s\n"

	.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	_targ_fname,8,3                 ## @targ_fname
	.comm	_O_WRONLY,4,2                   ## @O_WRONLY
	.comm	_O_APPEND,4,2                   ## @O_APPEND
	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_targ_fd,4,2                    ## @targ_fd
L_.str.10:                              ## @.str.10
	.asciz	"cannot create %s: %m\n"

	.comm	_SEEK_END,4,2                   ## @SEEK_END
	.comm	_targ_orig_size,8,3             ## @targ_orig_size
	.comm	_targ_existed,4,2               ## @targ_existed
L_.str.11:                              ## @.str.11
	.asciz	"stdout"

L_.str.12:                              ## @.str.12
	.asciz	"You couldn't specify '-C %d' and existed target together.\n"

L_.str.13:                              ## @.str.13
	.asciz	"fatal: error reading binlog\n"

	.comm	_log_readto_pos,8,3             ## @log_readto_pos
L_.str.14:                              ## @.str.14
	.asciz	"fatal: binlog read up to position %lld instead of %lld\n"

L_.str.15:                              ## @.str.15
	.asciz	"error syncing %s: %m"

.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
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _progname@GOTPAGE
Lloh1:
	ldr	x9, [x9, _progname@GOTPAGEOFF]
Lloh2:
	adrp	x28, _optarg@GOTPAGE
Lloh3:
	ldr	x28, [x28, _optarg@GOTPAGEOFF]
Lloh4:
	adrp	x21, l_.str@PAGE
Lloh5:
	add	x21, x21, l_.str@PAGEOFF
Lloh6:
	adrp	x26, lJTI0_0@PAGE
Lloh7:
	add	x26, x26, lJTI0_0@PAGEOFF
Lloh8:
	adrp	x23, _copy_rem@GOTPAGE
Lloh9:
	ldr	x23, [x23, _copy_rem@GOTPAGEOFF]
Lloh10:
	adrp	x24, _copy_mod@GOTPAGE
Lloh11:
	ldr	x24, [x24, _copy_mod@GOTPAGEOFF]
Lloh12:
	adrp	x25, _jump_log_pos@GOTPAGE
Lloh13:
	ldr	x25, [x25, _jump_log_pos@GOTPAGEOFF]
Lloh14:
	str	x8, [x9]
Lloh15:
	adrp	x27, _username@GOTPAGE
Lloh16:
	ldr	x27, [x27, _username@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x28]
	bl	_atoll
Lloh17:
	adrp	x8, _log_limit_pos@GOTPAGE
Lloh18:
	ldr	x8, [x8, _log_limit_pos@GOTPAGEOFF]
Lloh19:
	str	x0, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	sub	w8, w0, #67
	cmp	w8, #51
	b.hi	LBB0_14
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x26, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x28]
	bl	_atoi
Lloh20:
	adrp	x8, _output_cache_id@GOTPAGE
Lloh21:
	ldr	x8, [x8, _output_cache_id@GOTPAGEOFF]
Lloh22:
	str	x0, [x8]
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh23:
	adrp	x8, _write_local_copies_logevents@GOTPAGE
Lloh24:
	ldr	x8, [x8, _write_local_copies_logevents@GOTPAGEOFF]
Lloh25:
	str	wzr, [x8]
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x28]
	bl	_atoll
	str	x0, [x25]
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x28]
	bl	_atoi
	mov	x22, x25
	mov	x25, x0
Lloh26:
	adrp	x8, _start_timestamp@GOTPAGE
Lloh27:
	ldr	x8, [x8, _start_timestamp@GOTPAGEOFF]
Lloh28:
	str	x0, [x8]
	mov	x0, #0
	bl	_time
	cmp	x25, x0
	mov	x25, x22
	b.ls	LBB0_2
	b	LBB0_46
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh29:
	adrp	x8, _verbosity@GOTPAGE
Lloh30:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
	mov	w9, #1
Lloh31:
	str	x9, [x8]
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x28]
Lloh32:
	adrp	x1, l_.str.2@PAGE
Lloh33:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x23
	mov	x3, x24
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x23]
	tbnz	w8, #31, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x24]
	cmp	w8, w9
	b.lt	LBB0_2
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_usage
	b	LBB0_2
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x28]
	str	x8, [x27]
	b	LBB0_2
LBB0_14:
	cmn	w0, #1
	b.ne	LBB0_45
; %bb.15:
Lloh34:
	adrp	x21, _optind@GOTPAGE
Lloh35:
	ldr	x21, [x21, _optind@GOTPAGEOFF]
	ldr	w8, [x21]
	add	w9, w8, #2
	cmp	w8, w20
	ccmp	w9, w20, #8, lt
	b.ge	LBB0_17
; %bb.16:
	bl	_usage
LBB0_17:
Lloh36:
	adrp	x8, _log_limit_pos@GOTPAGE
Lloh37:
	ldr	x8, [x8, _log_limit_pos@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	tbnz	x8, #63, LBB0_21
; %bb.18:
	ldr	x9, [x25]
	cmp	x9, x8
	b.le	LBB0_21
; %bb.19:
	stp	x9, x8, [sp]
Lloh39:
	adrp	x0, l_.str.4@PAGE
Lloh40:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_kprintf
	mov	w0, #2
	b	LBB0_44
LBB0_20:
	bl	_usage
	mov	w0, #2
	b	LBB0_44
LBB0_21:
	ldr	x0, [x27]
	bl	_change_user
	tbnz	x0, #63, LBB0_29
; %bb.22:
	ldrsw	x8, [x21]
	ldr	x0, [x19, x8, lsl #3]
Lloh41:
	adrp	x22, _binlogname@GOTPAGE
Lloh42:
	ldr	x22, [x22, _binlogname@GOTPAGEOFF]
	ldr	x1, [x22]
	bl	_engine_preload_filelist
	tbnz	x0, #63, LBB0_48
; %bb.23:
Lloh43:
	adrp	x23, _engine_replica@GOTPAGE
Lloh44:
	ldr	x23, [x23, _engine_replica@GOTPAGEOFF]
	ldr	x0, [x23]
	ldr	x1, [x25]
	bl	_open_binlog
Lloh45:
	adrp	x8, _Binlog@GOTPAGE
Lloh46:
	ldr	x8, [x8, _Binlog@GOTPAGEOFF]
Lloh47:
	str	x0, [x8]
	cbz	x0, LBB0_51
; %bb.24:
	ldr	x8, [x0]
	ldr	x2, [x8]
	str	x2, [x22]
	ldr	x8, [x0]
	ldr	w3, [x8, #8]
Lloh48:
	adrp	x1, l_.str.9@PAGE
Lloh49:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w0, #1
	bl	_vkprintf
	bl	_clear_log
	ldr	x0, [x25]
	mov	w1, #0
	mov	w2, #0
	bl	_init_log_data
	ldr	x8, [x25]
	cmp	x8, #1
	b.lt	LBB0_26
; %bb.25:
	mov	w0, #0
	bl	_init_cache_data
LBB0_26:
	ldrsw	x8, [x21]
	add	x8, x8, #1
Lloh50:
	adrp	x21, _targ_fd@GOTPAGE
Lloh51:
	ldr	x21, [x21, _targ_fd@GOTPAGEOFF]
	cmp	w8, w20
	b.ge	LBB0_30
; %bb.27:
	ldr	x0, [x19, x8, lsl #3]
Lloh52:
	adrp	x19, _targ_fname@GOTPAGE
Lloh53:
	ldr	x19, [x19, _targ_fname@GOTPAGEOFF]
	str	x0, [x19]
Lloh54:
	adrp	x8, _O_WRONLY@GOTPAGE
Lloh55:
	ldr	x8, [x8, _O_WRONLY@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
Lloh57:
	adrp	x9, _O_APPEND@GOTPAGE
Lloh58:
	ldr	x9, [x9, _O_APPEND@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh60:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh61:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh62:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	w2, #420
	bl	_open
	str	w0, [x21]
	tbnz	w0, #31, LBB0_42
; %bb.28:
Lloh63:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh64:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh65:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_lseek
Lloh66:
	adrp	x8, _targ_orig_size@GOTPAGE
Lloh67:
	ldr	x8, [x8, _targ_orig_size@GOTPAGEOFF]
Lloh68:
	str	x0, [x8]
	cmp	x0, #0
	cset	w8, gt
Lloh69:
	adrp	x9, _targ_existed@GOTPAGE
Lloh70:
	ldr	x9, [x9, _targ_existed@GOTPAGEOFF]
Lloh71:
	str	w8, [x9]
	b	LBB0_31
LBB0_29:
	ldr	x8, [x27]
Lloh72:
	adrp	x9, l_.str.6@PAGE
Lloh73:
	add	x9, x9, l_.str.6@PAGEOFF
	cmp	x8, #0
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh74:
	adrp	x0, l_.str.5@PAGE
Lloh75:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_43
LBB0_30:
Lloh76:
	adrp	x8, _targ_fname@GOTPAGE
Lloh77:
	ldr	x8, [x8, _targ_fname@GOTPAGEOFF]
Lloh78:
	adrp	x9, l_.str.11@PAGE
Lloh79:
	add	x9, x9, l_.str.11@PAGEOFF
Lloh80:
	str	x9, [x8]
	mov	w8, #1
	str	w8, [x21]
Lloh81:
	adrp	x8, _targ_existed@GOTPAGE
Lloh82:
	ldr	x8, [x8, _targ_existed@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
LBB0_31:
Lloh84:
	adrp	x9, _output_cache_id@GOTPAGE
Lloh85:
	ldr	x9, [x9, _output_cache_id@GOTPAGEOFF]
Lloh86:
	ldr	x9, [x9]
	cbz	x9, LBB0_33
; %bb.32:
	cbnz	w8, LBB0_52
LBB0_33:
	mov	w0, #0
	mov	w1, #1
	bl	_replay_log
	tbnz	w0, #31, LBB0_53
; %bb.34:
Lloh87:
	adrp	x8, _log_limit_pos@GOTPAGE
Lloh88:
	ldr	x8, [x8, _log_limit_pos@GOTPAGEOFF]
Lloh89:
	ldr	x8, [x8]
	tbnz	x8, #63, LBB0_36
; %bb.35:
Lloh90:
	adrp	x9, _log_readto_pos@GOTPAGE
Lloh91:
	ldr	x9, [x9, _log_readto_pos@GOTPAGEOFF]
Lloh92:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_54
LBB0_36:
	bl	_flush_out
	ldr	w0, [x21]
	cmp	w0, #1
	b.eq	LBB0_39
; %bb.37:
	bl	_fdatasync
	tbnz	x0, #63, LBB0_55
; %bb.38:
	ldr	w0, [x21]
	bl	_close
LBB0_39:
Lloh93:
	adrp	x8, _verbosity@GOTPAGE
Lloh94:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh95:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_41
; %bb.40:
	bl	_output_stats
LBB0_41:
	mov	w0, #0
	b	LBB0_44
LBB0_42:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh96:
	adrp	x0, l_.str.10@PAGE
Lloh97:
	add	x0, x0, l_.str.10@PAGEOFF
LBB0_43:
	bl	_kprintf
	mov	w0, #1
LBB0_44:
	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_45:
Lloh98:
	adrp	x8, _stderr@GOTPAGE
Lloh99:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh100:
	ldr	w8, [x8]
	sxtb	w2, w0
Lloh101:
	adrp	x1, l_.str.3@PAGE
Lloh102:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x8
	bl	_fprintf
	mov	w0, #1
	bl	_exit
LBB0_46:
Lloh103:
	adrp	x0, l_.str.1@PAGE
Lloh104:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_47:
	bl	_kprintf
	mov	w0, #1
	bl	_exit
LBB0_48:
	ldr	x8, [x22]
	cbnz	x8, LBB0_50
; %bb.49:
	ldrsw	x8, [x21]
	ldr	x8, [x19, x8, lsl #3]
LBB0_50:
	str	x8, [sp]
Lloh105:
	adrp	x0, l_.str.7@PAGE
Lloh106:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_47
LBB0_51:
	ldr	x8, [x23]
	ldr	w8, [x8]
	stp	x8, xzr, [sp]
Lloh107:
	adrp	x0, l_.str.8@PAGE
Lloh108:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_47
LBB0_52:
	str	x9, [sp]
Lloh109:
	adrp	x0, l_.str.12@PAGE
Lloh110:
	add	x0, x0, l_.str.12@PAGEOFF
	b	LBB0_47
LBB0_53:
Lloh111:
	adrp	x0, l_.str.13@PAGE
Lloh112:
	add	x0, x0, l_.str.13@PAGEOFF
	b	LBB0_47
LBB0_54:
	stp	x9, x8, [sp]
Lloh113:
	adrp	x0, l_.str.14@PAGE
Lloh114:
	add	x0, x0, l_.str.14@PAGEOFF
	b	LBB0_47
LBB0_55:
Lloh115:
	adrp	x8, _targ_fname@GOTPAGE
Lloh116:
	ldr	x8, [x8, _targ_fname@GOTPAGEOFF]
Lloh117:
	ldr	x8, [x8]
	str	x8, [sp]
Lloh118:
	adrp	x0, l_.str.15@PAGE
Lloh119:
	add	x0, x0, l_.str.15@PAGEOFF
	b	LBB0_47
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh14
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotStr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGotStr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotStr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpAdd	Lloh74, Lloh75
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGotStr	Lloh76, Lloh77, Lloh80
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpLdrGotLdr	Lloh87, Lloh88, Lloh89
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpAdd	Lloh105, Lloh106
	.loh AdrpAdd	Lloh107, Lloh108
	.loh AdrpAdd	Lloh109, Lloh110
	.loh AdrpAdd	Lloh111, Lloh112
	.loh AdrpAdd	Lloh113, Lloh114
	.loh AdrpAdd	Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh115, Lloh116, Lloh117
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_20-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_45-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_13-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
                                        ; -- End function
	.comm	_progname,8,3                   ; @progname
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"C:LS:hm:s:t:u:v"

	.comm	_optarg,8,3                     ; @optarg
	.comm	_output_cache_id,8,3            ; @output_cache_id
	.comm	_write_local_copies_logevents,4,2 ; @write_local_copies_logevents
	.comm	_start_timestamp,8,3            ; @start_timestamp
l_.str.1:                               ; @.str.1
	.asciz	"start_timestamps could be after current time\n"

l_.str.2:                               ; @.str.2
	.asciz	"%d,%d"

	.comm	_copy_rem,4,2                   ; @copy_rem
	.comm	_copy_mod,4,2                   ; @copy_mod
	.comm	_jump_log_pos,8,3               ; @jump_log_pos
	.comm	_log_limit_pos,8,3              ; @log_limit_pos
	.comm	_username,8,3                   ; @username
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"Unimplemented option -%c\n"

	.comm	_optind,4,2                     ; @optind
l_.str.4:                               ; @.str.4
	.asciz	"fatal: log start position %lld after stop position %lld\n"

l_.str.5:                               ; @.str.5
	.asciz	"fatal: cannot change user to %s\n"

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

	.comm	_binlogname,8,3                 ; @binlogname
l_.str.7:                               ; @.str.7
	.asciz	"cannot open binlog files for %s\n"

	.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	_targ_fname,8,3                 ; @targ_fname
	.comm	_O_WRONLY,4,2                   ; @O_WRONLY
	.comm	_O_APPEND,4,2                   ; @O_APPEND
	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_targ_fd,4,2                    ; @targ_fd
l_.str.10:                              ; @.str.10
	.asciz	"cannot create %s: %m\n"

	.comm	_SEEK_END,4,2                   ; @SEEK_END
	.comm	_targ_orig_size,8,3             ; @targ_orig_size
	.comm	_targ_existed,4,2               ; @targ_existed
l_.str.11:                              ; @.str.11
	.asciz	"stdout"

l_.str.12:                              ; @.str.12
	.asciz	"You couldn't specify '-C %d' and existed target together.\n"

l_.str.13:                              ; @.str.13
	.asciz	"fatal: error reading binlog\n"

	.comm	_log_readto_pos,8,3             ; @log_readto_pos
l_.str.14:                              ; @.str.14
	.asciz	"fatal: binlog read up to position %lld instead of %lld\n"

l_.str.15:                              ; @.str.15
	.asciz	"error syncing %s: %m"

.subsections_via_symbols
