	.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, %r15d
	movq	(%rsi), %rax
	movq	_progname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	leaq	L_.str(%rip), %rbx
	leaq	LJTI0_0(%rip), %r13
	movq	_optarg@GOTPCREL(%rip), %r12
	jmp	LBB0_2
LBB0_1:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_verbosity@GOTPCREL(%rip), %rax
	movq	$1, (%rax)
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-104(%rax), %ecx
	cmpl	$14, %ecx
	ja	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r13,%rcx,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rdi
	leaq	L_.str.1(%rip), %rsi
	movq	_copy_rem@GOTPCREL(%rip), %rdx
	movq	_copy_mod@GOTPCREL(%rip), %rcx
	callq	_sscanf
	cmpl	$2, %eax
	jne	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_copy_rem@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	js	LBB0_16
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_copy_mod@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jl	LBB0_2
	jmp	LBB0_16
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rdi
	callq	_atoll
	movq	_jump_log_pos@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rdi
	callq	_atoll
	movq	_log_limit_pos@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_2
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r12), %rax
	movq	_username@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_2
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.11:
	movq	_optind@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	cmpl	%r15d, %eax
	jge	LBB0_16
## %bb.12:
	leal	2(%rax), %ecx
	cmpl	%r15d, %ecx
	jl	LBB0_16
## %bb.13:
	movq	_log_limit_pos@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	js	LBB0_19
## %bb.14:
	movq	_jump_log_pos@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rcx, %rdx
	jle	LBB0_19
## %bb.15:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_17
LBB0_16:
	xorl	%eax, %eax
	callq	_usage
LBB0_17:
	movl	$2, %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_19:
	movq	_username@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_22
## %bb.20:
	callq	_change_user
	testq	%rax, %rax
	js	LBB0_40
## %bb.21:
	movl	(%r13), %eax
LBB0_22:
	cltq
	movq	(%r14,%rax,8), %rdi
	movq	_binlogname@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	callq	_engine_preload_filelist
	testq	%rax, %rax
	js	LBB0_43
## %bb.23:
	movq	_engine_replica@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_jump_log_pos@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_open_binlog
	movq	_Binlog@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_46
## %bb.24:
	movq	(%rax), %rcx
	movq	(%rcx), %rdx
	movq	%rdx, (%r12)
	movq	_verbosity@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_26
## %bb.25:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	(%rax), %rax
	movl	8(%rax), %ecx
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_26:
	xorl	%eax, %eax
	callq	_clear_log
	movq	_jump_log_pos@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_init_log_data
	cmpq	$0, (%rbx)
	jle	LBB0_28
## %bb.27:
	xorl	%edi, %edi
	callq	_init_news_data
LBB0_28:
	movslq	(%r13), %rax
	leal	1(%rax), %ecx
	cmpl	%r15d, %ecx
	jge	LBB0_31
## %bb.29:
	movq	8(%r14,%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_41
## %bb.30:
	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_32
LBB0_31:
	leaq	L_.str.9(%rip), %rax
	movq	_targ_fname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_targ_fd@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_32:
	xorl	%edi, %edi
	movl	$1, %esi
	callq	_replay_log
	testl	%eax, %eax
	js	LBB0_47
## %bb.33:
	movq	_log_limit_pos@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	js	LBB0_35
## %bb.34:
	movq	_log_readto_pos@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	cmpq	%rcx, %rdx
	jne	LBB0_48
LBB0_35:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_flush_out
	movq	_targ_fd@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	cmpl	$1, %edi
	je	LBB0_38
## %bb.36:
	callq	_fdatasync
	testq	%rax, %rax
	js	LBB0_50
## %bb.37:
	movl	(%r14), %edi
	callq	_close
LBB0_38:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jle	LBB0_18
## %bb.39:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_output_stats
	jmp	LBB0_18
LBB0_40:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_username@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	leaq	L_.str.4(%rip), %rdx
	cmovneq	%rax, %rdx
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_42
LBB0_41:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.8(%rip), %rsi
LBB0_42:
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %ebx
	jmp	LBB0_18
LBB0_43:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r12), %rdx
	testq	%rdx, %rdx
	jne	LBB0_45
## %bb.44:
	movslq	(%r13), %rax
	movq	(%r14,%rax,8), %rdx
LBB0_45:
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_51
LBB0_46:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movq	(%rax), %rdx
	leaq	L_.str.6(%rip), %rsi
	xorl	%ecx, %ecx
	jmp	LBB0_49
LBB0_47:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_48:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
LBB0_49:
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_50:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_targ_fname@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	leaq	L_.str.12(%rip), %rsi
LBB0_51:
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
LJTI0_0:
	.long	L0_0_set_16
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_1
	.end_data_region
                                        ## -- End function
	.comm	_progname,8,3                   ## @progname
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hvu:m:s:t:"

	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_optarg,8,3                     ## @optarg
	.comm	_username,8,3                   ## @username
L_.str.1:                               ## @.str.1
	.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	_optind,4,2                     ## @optind
	.comm	_stderr,4,2                     ## @stderr
L_.str.2:                               ## @.str.2
	.asciz	"fatal: log start position %lld after stop position %lld\n"

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

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

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

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

L_.str.7:                               ## @.str.7
	.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.8:                               ## @.str.8
	.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.9:                               ## @.str.9
	.asciz	"stdout"

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

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

L_.str.12:                              ## @.str.12
	.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	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
Lloh4:
	adrp	x25, lJTI0_0@PAGE
Lloh5:
	add	x25, x25, lJTI0_0@PAGEOFF
Lloh6:
	adrp	x26, _optarg@GOTPAGE
Lloh7:
	ldr	x26, [x26, _optarg@GOTPAGEOFF]
Lloh8:
	adrp	x22, l_.str.1@PAGE
Lloh9:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh10:
	adrp	x23, _copy_rem@GOTPAGE
Lloh11:
	ldr	x23, [x23, _copy_rem@GOTPAGEOFF]
Lloh12:
	adrp	x24, _copy_mod@GOTPAGE
Lloh13:
	ldr	x24, [x24, _copy_mod@GOTPAGEOFF]
Lloh14:
	str	x8, [x9]
Lloh15:
	adrp	x28, _username@GOTPAGE
Lloh16:
	ldr	x28, [x28, _username@GOTPAGEOFF]
	mov	w27, #1
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
Lloh17:
	adrp	x8, _verbosity@GOTPAGE
Lloh18:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh19:
	str	x27, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	sub	w8, w0, #104
	cmp	w8, #14
	b.hi	LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x26]
	mov	x1, x22
	mov	x2, x23
	mov	x3, x24
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x23]
	tbnz	w8, #31, LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x24]
	cmp	w8, w9
	b.lt	LBB0_2
	b	LBB0_12
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x26]
	bl	_atoll
Lloh20:
	adrp	x8, _jump_log_pos@GOTPAGE
Lloh21:
	ldr	x8, [x8, _jump_log_pos@GOTPAGEOFF]
Lloh22:
	str	x0, [x8]
	b	LBB0_2
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x26]
	bl	_atoll
Lloh23:
	adrp	x8, _log_limit_pos@GOTPAGE
Lloh24:
	ldr	x8, [x8, _log_limit_pos@GOTPAGEOFF]
Lloh25:
	str	x0, [x8]
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x26]
	str	x8, [x28]
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.11:
Lloh26:
	adrp	x21, _optind@GOTPAGE
Lloh27:
	ldr	x21, [x21, _optind@GOTPAGEOFF]
	ldr	w8, [x21]
	add	w9, w8, #2
	cmp	w8, w20
	ccmp	w9, w20, #8, lt
	b.ge	LBB0_15
LBB0_12:
	bl	_usage
LBB0_13:
	mov	w0, #2
LBB0_14:
	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_15:
Lloh28:
	adrp	x9, _log_limit_pos@GOTPAGE
Lloh29:
	ldr	x9, [x9, _log_limit_pos@GOTPAGEOFF]
Lloh30:
	ldr	x9, [x9]
	tbnz	x9, #63, LBB0_18
; %bb.16:
Lloh31:
	adrp	x10, _jump_log_pos@GOTPAGE
Lloh32:
	ldr	x10, [x10, _jump_log_pos@GOTPAGEOFF]
Lloh33:
	ldr	x10, [x10]
	cmp	x10, x9
	b.le	LBB0_18
; %bb.17:
Lloh34:
	adrp	x8, _stderr@GOTPAGE
Lloh35:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh36:
	ldr	w0, [x8]
	stp	x10, x9, [sp]
Lloh37:
	adrp	x1, l_.str.2@PAGE
Lloh38:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	b	LBB0_13
LBB0_18:
	ldr	x0, [x28]
	cbz	x0, LBB0_21
; %bb.19:
	bl	_change_user
	tbnz	x0, #63, LBB0_40
; %bb.20:
	ldr	w8, [x21]
LBB0_21:
	ldr	x0, [x19, w8, sxtw #3]
Lloh39:
	adrp	x22, _binlogname@GOTPAGE
Lloh40:
	ldr	x22, [x22, _binlogname@GOTPAGEOFF]
	ldr	x1, [x22]
	bl	_engine_preload_filelist
	tbnz	x0, #63, LBB0_43
; %bb.22:
Lloh41:
	adrp	x23, _engine_replica@GOTPAGE
Lloh42:
	ldr	x23, [x23, _engine_replica@GOTPAGEOFF]
	ldr	x0, [x23]
Lloh43:
	adrp	x8, _jump_log_pos@GOTPAGE
Lloh44:
	ldr	x8, [x8, _jump_log_pos@GOTPAGEOFF]
Lloh45:
	ldr	x1, [x8]
	bl	_open_binlog
Lloh46:
	adrp	x8, _Binlog@GOTPAGE
Lloh47:
	ldr	x8, [x8, _Binlog@GOTPAGEOFF]
Lloh48:
	str	x0, [x8]
	cbz	x0, LBB0_46
; %bb.23:
	ldr	x8, [x0]
	ldr	x9, [x8]
	str	x9, [x22]
Lloh49:
	adrp	x8, _verbosity@GOTPAGE
Lloh50:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh51:
	ldr	x8, [x8]
	cbz	x8, LBB0_25
; %bb.24:
Lloh52:
	adrp	x8, _stderr@GOTPAGE
Lloh53:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	ldr	x10, [x0]
	ldr	w10, [x10, #8]
	stp	x9, x10, [sp]
Lloh55:
	adrp	x1, l_.str.7@PAGE
Lloh56:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x8
	bl	_fprintf
LBB0_25:
	bl	_clear_log
Lloh57:
	adrp	x22, _jump_log_pos@GOTPAGE
Lloh58:
	ldr	x22, [x22, _jump_log_pos@GOTPAGEOFF]
	ldr	x0, [x22]
	mov	w1, #0
	mov	w2, #0
	bl	_init_log_data
	ldr	x8, [x22]
	cmp	x8, #1
	b.lt	LBB0_27
; %bb.26:
	mov	w0, #0
	bl	_init_news_data
LBB0_27:
	ldrsw	x8, [x21]
	add	x8, x8, #1
Lloh59:
	adrp	x21, _targ_fd@GOTPAGE
Lloh60:
	ldr	x21, [x21, _targ_fd@GOTPAGEOFF]
	cmp	w8, w20
	b.ge	LBB0_30
; %bb.28:
	ldr	x0, [x19, x8, lsl #3]
Lloh61:
	adrp	x19, _targ_fname@GOTPAGE
Lloh62:
	ldr	x19, [x19, _targ_fname@GOTPAGEOFF]
	str	x0, [x19]
Lloh63:
	adrp	x8, _O_WRONLY@GOTPAGE
Lloh64:
	ldr	x8, [x8, _O_WRONLY@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
Lloh66:
	adrp	x9, _O_APPEND@GOTPAGE
Lloh67:
	ldr	x9, [x9, _O_APPEND@GOTPAGEOFF]
Lloh68:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh69:
	adrp	x9, _O_CREAT@GOTPAGE
Lloh70:
	ldr	x9, [x9, _O_CREAT@GOTPAGEOFF]
Lloh71:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	w2, #420
	bl	_open
	str	w0, [x21]
	tbnz	w0, #31, LBB0_41
; %bb.29:
Lloh72:
	adrp	x8, _SEEK_END@GOTPAGE
Lloh73:
	ldr	x8, [x8, _SEEK_END@GOTPAGEOFF]
Lloh74:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_lseek
Lloh75:
	adrp	x8, _targ_orig_size@GOTPAGE
Lloh76:
	ldr	x8, [x8, _targ_orig_size@GOTPAGEOFF]
Lloh77:
	str	x0, [x8]
	cmp	x0, #0
	cset	w8, gt
Lloh78:
	adrp	x9, _targ_existed@GOTPAGE
Lloh79:
	ldr	x9, [x9, _targ_existed@GOTPAGEOFF]
Lloh80:
	str	w8, [x9]
	b	LBB0_31
LBB0_30:
Lloh81:
	adrp	x8, _targ_fname@GOTPAGE
Lloh82:
	ldr	x8, [x8, _targ_fname@GOTPAGEOFF]
Lloh83:
	adrp	x9, l_.str.9@PAGE
Lloh84:
	add	x9, x9, l_.str.9@PAGEOFF
Lloh85:
	str	x9, [x8]
	mov	w8, #1
	str	w8, [x21]
LBB0_31:
	mov	w0, #0
	mov	w1, #1
	bl	_replay_log
	tbnz	w0, #31, LBB0_47
; %bb.32:
Lloh86:
	adrp	x8, _log_limit_pos@GOTPAGE
Lloh87:
	ldr	x8, [x8, _log_limit_pos@GOTPAGEOFF]
Lloh88:
	ldr	x8, [x8]
	tbnz	x8, #63, LBB0_34
; %bb.33:
Lloh89:
	adrp	x9, _log_readto_pos@GOTPAGE
Lloh90:
	ldr	x9, [x9, _log_readto_pos@GOTPAGEOFF]
Lloh91:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_48
LBB0_34:
	bl	_flush_out
	ldr	w0, [x21]
	cmp	w0, #1
	b.eq	LBB0_37
; %bb.35:
	bl	_fdatasync
	tbnz	x0, #63, LBB0_49
; %bb.36:
	ldr	w0, [x21]
	bl	_close
LBB0_37:
Lloh92:
	adrp	x8, _verbosity@GOTPAGE
Lloh93:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh94:
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_39
; %bb.38:
	bl	_output_stats
LBB0_39:
	mov	w0, #0
	b	LBB0_14
LBB0_40:
Lloh95:
	adrp	x8, _stderr@GOTPAGE
Lloh96:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh97:
	ldr	w0, [x8]
	ldr	x8, [x28]
Lloh98:
	adrp	x9, l_.str.4@PAGE
Lloh99:
	add	x9, x9, l_.str.4@PAGEOFF
	cmp	x8, #0
	csel	x8, x9, x8, eq
	str	x8, [sp]
Lloh100:
	adrp	x1, l_.str.3@PAGE
Lloh101:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_42
LBB0_41:
Lloh102:
	adrp	x8, _stderr@GOTPAGE
Lloh103:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh104:
	ldr	w0, [x8]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh105:
	adrp	x1, l_.str.8@PAGE
Lloh106:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_42:
	bl	_fprintf
	mov	w0, #1
	b	LBB0_14
LBB0_43:
Lloh107:
	adrp	x8, _stderr@GOTPAGE
Lloh108:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh109:
	ldr	w0, [x8]
	ldr	x8, [x22]
	cbnz	x8, LBB0_45
; %bb.44:
	ldrsw	x8, [x21]
	ldr	x8, [x19, x8, lsl #3]
LBB0_45:
	str	x8, [sp]
Lloh110:
	adrp	x1, l_.str.5@PAGE
Lloh111:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_50
LBB0_46:
Lloh112:
	adrp	x8, _stderr@GOTPAGE
Lloh113:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh114:
	ldr	w0, [x8]
	ldr	x8, [x23]
	ldr	x8, [x8]
	stp	x8, xzr, [sp]
Lloh115:
	adrp	x1, l_.str.6@PAGE
Lloh116:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_50
LBB0_47:
Lloh117:
	adrp	x8, _stderr@GOTPAGE
Lloh118:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh119:
	ldr	w0, [x8]
Lloh120:
	adrp	x1, l_.str.10@PAGE
Lloh121:
	add	x1, x1, l_.str.10@PAGEOFF
	b	LBB0_50
LBB0_48:
Lloh122:
	adrp	x10, _stderr@GOTPAGE
Lloh123:
	ldr	x10, [x10, _stderr@GOTPAGEOFF]
Lloh124:
	ldr	w0, [x10]
	stp	x9, x8, [sp]
Lloh125:
	adrp	x1, l_.str.11@PAGE
Lloh126:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_50
LBB0_49:
Lloh127:
	adrp	x8, _stderr@GOTPAGE
Lloh128:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh129:
	ldr	w0, [x8]
Lloh130:
	adrp	x8, _targ_fname@GOTPAGE
Lloh131:
	ldr	x8, [x8, _targ_fname@GOTPAGEOFF]
Lloh132:
	ldr	x8, [x8]
	str	x8, [sp]
Lloh133:
	adrp	x1, l_.str.12@PAGE
Lloh134:
	add	x1, x1, l_.str.12@PAGEOFF
LBB0_50:
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh14
	.loh AdrpLdrGotStr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotStr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh57, Lloh58
	.loh AdrpLdrGot	Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotStr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotStr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpLdrGotStr	Lloh81, Lloh82, Lloh85
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpAdd	Lloh100, Lloh101
	.loh AdrpAdd	Lloh98, Lloh99
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpAdd	Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh102, Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh107, Lloh108, Lloh109
	.loh AdrpAdd	Lloh110, Lloh111
	.loh AdrpAdd	Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpAdd	Lloh120, Lloh121
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpAdd	Lloh125, Lloh126
	.loh AdrpLdrGotLdr	Lloh122, Lloh123, Lloh124
	.loh AdrpAdd	Lloh133, Lloh134
	.loh AdrpLdrGotLdr	Lloh130, Lloh131, Lloh132
	.loh AdrpLdrGotLdr	Lloh127, Lloh128, Lloh129
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.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_4-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_7-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
                                        ; -- End function
	.comm	_progname,8,3                   ; @progname
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hvu:m:s:t:"

	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_optarg,8,3                     ; @optarg
	.comm	_username,8,3                   ; @username
l_.str.1:                               ; @.str.1
	.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	_optind,4,2                     ; @optind
	.comm	_stderr,4,2                     ; @stderr
l_.str.2:                               ; @.str.2
	.asciz	"fatal: log start position %lld after stop position %lld\n"

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

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

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

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

l_.str.7:                               ; @.str.7
	.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.8:                               ; @.str.8
	.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.9:                               ; @.str.9
	.asciz	"stdout"

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

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

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

.subsections_via_symbols
