	.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
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_out@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_dump_search_replay_logevent@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_replay_logevent@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	leaq	L_.str(%rip), %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.1:
	leaq	L_.str(%rip), %r15
	leaq	LJTI0_0(%rip), %rbx
	movq	_verbosity@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_dump_timestamp@GOTPCREL(%rip), %rax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, (%rax)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	cmpl	$-1, %eax
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	addl	$-104, %eax
	rorl	%eax
	cmpl	$7, %eax
	ja	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%rbx,%rax,4), %rax
	addq	%rbx, %rax
	jmpq	*%rax
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_dump_log_pos@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	(%r13)
	jmp	LBB0_8
LBB0_9:
	movq	_optind@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rax
	cmpl	%r12d, %eax
	jge	LBB0_10
## %bb.11:
	movq	(%r14,%rax,8), %rdi
	movq	_binlogname@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	callq	_engine_preload_filelist
	testq	%rax, %rax
	js	LBB0_12
## %bb.15:
	movq	_verbosity@GOTPCREL(%rip), %r14
	cmpl	$3, (%r14)
	jl	LBB0_17
## %bb.16:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_17:
	movq	_engine_replica@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	xorl	%esi, %esi
	callq	_open_binlog
	movq	_Binlog@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_26
## %bb.18:
	movq	(%rax), %rcx
	movq	(%rcx), %rdx
	movq	%rdx, (%r15)
	cmpl	$0, (%r14)
	je	LBB0_20
## %bb.19:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	(%rax), %rax
	movl	8(%rax), %ecx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_20:
	xorl	%eax, %eax
	callq	_mytime
	negl	%eax
	movq	_binlog_load_time@GOTPCREL(%rip), %r15
	movl	%eax, (%r15)
	xorl	%eax, %eax
	callq	_clear_log
	movq	_jump_log_ts@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_jump_log_crc32@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	callq	_init_log_data
	cmpl	$0, (%r14)
	je	LBB0_22
## %bb.21:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_22:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	movl	$1, %esi
	callq	_replay_log
	cmpl	$0, (%r14)
	je	LBB0_24
## %bb.23:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_24:
	xorl	%eax, %eax
	callq	_mytime
	addl	%eax, (%r15)
	movq	_log_readto_pos@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_binlog_loaded_size@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	jmp	LBB0_25
LBB0_10:
	xorl	%eax, %eax
	callq	_usage
	movl	$2, %ebx
LBB0_25:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r15), %rdx
	testq	%rdx, %rdx
	jne	LBB0_14
## %bb.13:
	movslq	(%rbx), %rax
	movq	(%r14,%rax,8), %rdx
LBB0_14:
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
LBB0_26:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movq	(%rax), %rdx
	leaq	L_.str.3(%rip), %rsi
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_stdout,4,2                     ## @stdout
	.comm	_out,4,2                        ## @out
	.comm	_dump_search_replay_logevent,4,2 ## @dump_search_replay_logevent
	.comm	_replay_logevent,4,2            ## @replay_logevent
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tphv"

	.comm	_dump_log_pos,4,2               ## @dump_log_pos
	.comm	_dump_timestamp,4,2             ## @dump_timestamp
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_optind,4,2                     ## @optind
	.comm	_binlogname,8,3                 ## @binlogname
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"cannot open binlog files for %s\n"

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

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

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

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

	.comm	_log_readto_pos,8,3             ## @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, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x20, x0
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_search_replay_logevent@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dump_search_replay_logevent@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _replay_logevent@GOTPAGE
Lloh10:
	ldr	x9, [x9, _replay_logevent@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	bl	_getopt
Lloh14:
	adrp	x22, _verbosity@GOTPAGE
Lloh15:
	ldr	x22, [x22, _verbosity@GOTPAGEOFF]
	cmn	w0, #1
	b.eq	LBB0_8
; %bb.1:
Lloh16:
	adrp	x21, l_.str@PAGE
Lloh17:
	add	x21, x21, l_.str@PAGEOFF
Lloh18:
	adrp	x23, _dump_log_pos@GOTPAGE
Lloh19:
	ldr	x23, [x23, _dump_log_pos@GOTPAGEOFF]
	mov	w24, #1
Lloh20:
	adrp	x25, _dump_timestamp@GOTPAGE
Lloh21:
	ldr	x25, [x25, _dump_timestamp@GOTPAGEOFF]
Lloh22:
	adrp	x26, lJTI0_0@PAGE
Lloh23:
	add	x26, x26, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w24, [x25]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	cmn	w0, #1
	b.eq	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w0, #104
	ror	w8, w8, #1
	cmp	w8, #7
	b.hi	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x26, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w24, [x23]
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
	b	LBB0_3
LBB0_8:
Lloh24:
	adrp	x21, _optind@GOTPAGE
Lloh25:
	ldr	x21, [x21, _optind@GOTPAGEOFF]
	ldrsw	x8, [x21]
	cmp	w8, w20
	b.ge	LBB0_20
; %bb.9:
	ldr	x0, [x19, x8, lsl #3]
Lloh26:
	adrp	x20, _binlogname@GOTPAGE
Lloh27:
	ldr	x20, [x20, _binlogname@GOTPAGEOFF]
	ldr	x1, [x20]
	bl	_engine_preload_filelist
	tbnz	x0, #63, LBB0_22
; %bb.10:
	ldr	w8, [x22]
Lloh28:
	adrp	x19, _stderr@GOTPAGE
Lloh29:
	ldr	x19, [x19, _stderr@GOTPAGEOFF]
	cmp	w8, #3
	b.lt	LBB0_12
; %bb.11:
	ldr	w0, [x19]
Lloh30:
	adrp	x1, l_.str.2@PAGE
Lloh31:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
LBB0_12:
Lloh32:
	adrp	x21, _engine_replica@GOTPAGE
Lloh33:
	ldr	x21, [x21, _engine_replica@GOTPAGEOFF]
	ldr	x0, [x21]
	mov	x1, #0
	bl	_open_binlog
Lloh34:
	adrp	x8, _Binlog@GOTPAGE
Lloh35:
	ldr	x8, [x8, _Binlog@GOTPAGEOFF]
Lloh36:
	str	x0, [x8]
	cbz	x0, LBB0_25
; %bb.13:
	ldr	x8, [x0]
	ldr	x9, [x8]
	str	x9, [x20]
	ldr	w8, [x22]
	cbz	w8, LBB0_15
; %bb.14:
	ldr	w8, [x19]
	ldr	x10, [x0]
	ldr	w10, [x10, #8]
	stp	x9, x10, [sp]
Lloh37:
	adrp	x1, l_.str.4@PAGE
Lloh38:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x8
	bl	_fprintf
LBB0_15:
	bl	_mytime
	neg	w8, w0
Lloh39:
	adrp	x20, _binlog_load_time@GOTPAGE
Lloh40:
	ldr	x20, [x20, _binlog_load_time@GOTPAGEOFF]
	str	w8, [x20]
	bl	_clear_log
Lloh41:
	adrp	x8, _jump_log_ts@GOTPAGE
Lloh42:
	ldr	x8, [x8, _jump_log_ts@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
Lloh44:
	adrp	x8, _jump_log_crc32@GOTPAGE
Lloh45:
	ldr	x8, [x8, _jump_log_crc32@GOTPAGEOFF]
Lloh46:
	ldr	w2, [x8]
	mov	x0, #0
	bl	_init_log_data
	ldr	w8, [x22]
	cbz	w8, LBB0_17
; %bb.16:
	ldr	w0, [x19]
Lloh47:
	adrp	x1, l_.str.5@PAGE
Lloh48:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fprintf
LBB0_17:
	mov	w0, #0
	mov	w1, #1
	bl	_replay_log
	ldr	w8, [x22]
	cbz	w8, LBB0_19
; %bb.18:
	ldr	w0, [x19]
Lloh49:
	adrp	x1, l_.str.6@PAGE
Lloh50:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_fprintf
LBB0_19:
	bl	_mytime
	mov	x8, x0
	mov	w0, #0
	ldr	w9, [x20]
	add	w8, w9, w8
	str	w8, [x20]
Lloh51:
	adrp	x8, _log_readto_pos@GOTPAGE
Lloh52:
	ldr	x8, [x8, _log_readto_pos@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
Lloh54:
	adrp	x9, _binlog_loaded_size@GOTPAGE
Lloh55:
	ldr	x9, [x9, _binlog_loaded_size@GOTPAGEOFF]
Lloh56:
	str	x8, [x9]
	b	LBB0_21
LBB0_20:
	bl	_usage
	mov	w0, #2
LBB0_21:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_22:
Lloh57:
	adrp	x8, _stderr@GOTPAGE
Lloh58:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh59:
	ldr	w0, [x8]
	ldr	x8, [x20]
	cbnz	x8, LBB0_24
; %bb.23:
	ldrsw	x8, [x21]
	ldr	x8, [x19, x8, lsl #3]
LBB0_24:
	str	x8, [sp]
Lloh60:
	adrp	x1, l_.str.1@PAGE
Lloh61:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_26
LBB0_25:
	ldr	w0, [x19]
	ldr	x8, [x21]
	ldr	x8, [x8]
	stp	x8, xzr, [sp]
Lloh62:
	adrp	x1, l_.str.3@PAGE
Lloh63:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_26:
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotStr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_20-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_stdout,4,2                     ; @stdout
	.comm	_out,4,2                        ; @out
	.comm	_dump_search_replay_logevent,4,2 ; @dump_search_replay_logevent
	.comm	_replay_logevent,4,2            ; @replay_logevent
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tphv"

	.comm	_dump_log_pos,4,2               ; @dump_log_pos
	.comm	_dump_timestamp,4,2             ; @dump_timestamp
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_optind,4,2                     ; @optind
	.comm	_binlogname,8,3                 ; @binlogname
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"cannot open binlog files for %s\n"

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

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

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

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

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