	.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)
	leaq	L_.str(%rip), %r15
	leaq	LJTI0_0(%rip), %r12
	movq	_verbosity@GOTPCREL(%rip), %r13
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_secret_in_base64url@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
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
	leal	-104(%rax), %ecx
	cmpl	$14, %ecx
	ja	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r12,%rcx,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	_dump_log_pos@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	incl	(%r13)
	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
	cmpl	%ebx, (%r12)
	jge	LBB0_4
## %bb.9:
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movslq	(%r12), %rax
	movq	(%r14,%rax,8), %rdi
	movq	_binlogname@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	callq	_engine_preload_filelist
	testq	%rax, %rax
	js	LBB0_10
## %bb.13:
	leaq	L_.str.2(%rip), %rsi
	xorl	%ebx, %ebx
	movl	$3, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movq	_engine_replica@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movq	_jump_log_pos@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_open_binlog
	movq	%rax, -48(%rbp)
	movq	_Binlog@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	movq	(%rax), %rcx
	movq	(%rcx), %rdx
	movq	%rdx, (%r15)
	movq	(%rax), %rax
	movl	8(%rax), %ecx
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	xorl	%eax, %eax
	callq	_mytime
	negl	%eax
	movq	_binlog_load_time@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_dump_storage_replay_log
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	xorl	%eax, %eax
	callq	_mytime
	addl	%eax, (%r14)
	jmp	LBB0_15
LBB0_4:
	xorl	%eax, %eax
	callq	_usage
	movl	$2, %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	(%r15), %rsi
	testq	%rsi, %rsi
	jne	LBB0_12
## %bb.11:
	movslq	(%r12), %rax
	movq	(%r14,%rax,8), %rsi
LBB0_12:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	movl	$1, %edi
	callq	_exit
LBB0_16:
	movq	(%r14), %rax
	movslq	(%rax), %rsi
	movl	(%r12), %edx
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_kprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.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_6
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_7
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_stdout,4,2                     ## @stdout
	.comm	_out,4,2                        ## @out
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tphuv"

	.comm	_dump_log_pos,4,2               ## @dump_log_pos
	.comm	_secret_in_base64url,4,2        ## @secret_in_base64url
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_optind,4,2                     ## @optind
	.comm	_binlogname,8,3                 ## @binlogname
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	_jump_log_pos,4,2               ## @jump_log_pos
	.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
L_.str.5:                               ## @.str.5
	.asciz	"replay log events finished\n"

.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	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
	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:
	adrp	x21, l_.str@PAGE
Lloh6:
	add	x21, x21, l_.str@PAGEOFF
Lloh7:
	adrp	x22, lJTI0_0@PAGE
Lloh8:
	add	x22, x22, lJTI0_0@PAGEOFF
Lloh9:
	adrp	x23, _dump_log_pos@GOTPAGE
Lloh10:
	ldr	x23, [x23, _dump_log_pos@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
	mov	w24, #1
Lloh12:
	adrp	x25, _secret_in_base64url@GOTPAGE
Lloh13:
	ldr	x25, [x25, _secret_in_base64url@GOTPAGEOFF]
Lloh14:
	adrp	x26, _verbosity@GOTPAGE
Lloh15:
	ldr	x26, [x26, _verbosity@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	w24, [x25]
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_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x22, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	str	w24, [x23]
	b	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x26]
	add	w8, w8, #1
	str	w8, [x26]
	b	LBB0_2
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.7:
Lloh16:
	adrp	x21, _optind@GOTPAGE
Lloh17:
	ldr	x21, [x21, _optind@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, w20
	b.ge	LBB0_11
; %bb.8:
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldrsw	x8, [x21]
	ldr	x0, [x19, x8, lsl #3]
Lloh18:
	adrp	x20, _binlogname@GOTPAGE
Lloh19:
	ldr	x20, [x20, _binlogname@GOTPAGEOFF]
	ldr	x1, [x20]
	bl	_engine_preload_filelist
	tbnz	x0, #63, LBB0_13
; %bb.9:
Lloh20:
	adrp	x1, l_.str.2@PAGE
Lloh21:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #3
	bl	_vkprintf
Lloh22:
	adrp	x19, _engine_replica@GOTPAGE
Lloh23:
	ldr	x19, [x19, _engine_replica@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh24:
	adrp	x21, _jump_log_pos@GOTPAGE
Lloh25:
	ldr	x21, [x21, _jump_log_pos@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_open_binlog
	str	x0, [sp, #24]
Lloh26:
	adrp	x8, _Binlog@GOTPAGE
Lloh27:
	ldr	x8, [x8, _Binlog@GOTPAGEOFF]
Lloh28:
	str	x0, [x8]
	cbz	x0, LBB0_16
; %bb.10:
	ldr	x8, [x0]
	ldr	x8, [x8]
	str	x8, [x20]
	ldr	x9, [x0]
	ldr	w9, [x9, #8]
	stp	x8, x9, [sp]
Lloh29:
	adrp	x1, l_.str.4@PAGE
Lloh30:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_vkprintf
	bl	_mytime
	neg	w8, w0
Lloh31:
	adrp	x19, _binlog_load_time@GOTPAGE
Lloh32:
	ldr	x19, [x19, _binlog_load_time@GOTPAGEOFF]
	str	w8, [x19]
	add	x0, sp, #24
	mov	w1, #0
	bl	_dump_storage_replay_log
Lloh33:
	adrp	x1, l_.str.5@PAGE
Lloh34:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_vkprintf
	bl	_mytime
	mov	x8, x0
	mov	w0, #0
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
	b	LBB0_12
LBB0_11:
	bl	_usage
	mov	w0, #2
LBB0_12:
	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
	add	sp, sp, #112
	ret
LBB0_13:
	ldr	x1, [x20]
	cbnz	x1, LBB0_15
; %bb.14:
	ldrsw	x8, [x21]
	ldr	x1, [x19, x8, lsl #3]
LBB0_15:
Lloh35:
	adrp	x0, l_.str.1@PAGE
Lloh36:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_17
LBB0_16:
	ldr	x8, [x19]
	ldrsw	x1, [x8]
	ldr	w8, [x21]
	str	x8, [sp]
Lloh37:
	adrp	x0, l_.str.3@PAGE
Lloh38:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_17:
	bl	_kprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh11
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_11-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_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_1-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
                                        ; -- End function
	.comm	_stdout,4,2                     ; @stdout
	.comm	_out,4,2                        ; @out
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tphuv"

	.comm	_dump_log_pos,4,2               ; @dump_log_pos
	.comm	_secret_in_base64url,4,2        ; @secret_in_base64url
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_optind,4,2                     ; @optind
	.comm	_binlogname,8,3                 ; @binlogname
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	_jump_log_pos,4,2               ; @jump_log_pos
	.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
l_.str.5:                               ; @.str.5
	.asciz	"replay log events finished\n"

.subsections_via_symbols
