	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_timestamp_event
_process_timestamp_event:               ## @process_timestamp_event
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_log_first_ts@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	(%rbx), %rcx
	movq	%rcx, (%rax)
LBB0_2:
	movq	_log_read_until@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	movq	(%rbx), %rcx
	cmpq	%rcx, %rdx
	jle	LBB0_4
## %bb.3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	(%rbx), %rcx
LBB0_4:
	movq	%rcx, (%r14)
	movq	_log_last_ts@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
	movq	_log_set_now@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_now@GOTPCREL(%rip), %rax
	movq	%rcx, (%rax)
LBB0_6:
	movq	(%rbx), %rax
	movq	_log_time_cutoff@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jl	LBB0_9
## %bb.7:
	movq	_log_scan_mode@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jne	LBB0_9
## %bb.8:
	xorl	%eax, %eax
	callq	_log_cur_pos
	movq	_log_cutoff_pos@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$1, (%r15)
	movq	_verbosity@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_9
## %bb.10:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	(%rbx), %rdx
	movq	(%r14), %rcx
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %r8d
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_log_first_ts,8,3               ## @log_first_ts
	.comm	_log_read_until,8,3             ## @log_read_until
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"time goes back from %d to %d in log file\n"

	.comm	_log_last_ts,8,3                ## @log_last_ts
	.comm	_log_set_now,8,3                ## @log_set_now
	.comm	_now,8,3                        ## @now
	.comm	_log_time_cutoff,8,3            ## @log_time_cutoff
	.comm	_log_scan_mode,4,2              ## @log_scan_mode
	.comm	_log_cutoff_pos,4,2             ## @log_cutoff_pos
	.comm	_verbosity,8,3                  ## @verbosity
L_.str.1:                               ## @.str.1
	.asciz	"reached timestamp %d above cutoff %d at binlog position %lld, entering scan mode 1\n"

	.no_dead_strip	_process_timestamp_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_timestamp_event
_process_timestamp_event:               ; @process_timestamp_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _log_first_ts@GOTPAGE
Lloh1:
	ldr	x8, [x8, _log_first_ts@GOTPAGEOFF]
	ldr	x9, [x8]
	cbnz	x9, LBB0_2
; %bb.1:
	ldr	x9, [x19]
	str	x9, [x8]
LBB0_2:
Lloh2:
	adrp	x20, _log_read_until@GOTPAGE
Lloh3:
	ldr	x20, [x20, _log_read_until@GOTPAGEOFF]
	ldr	x2, [x20]
	ldr	x3, [x19]
	cmp	x2, x3
	b.le	LBB0_4
; %bb.3:
Lloh4:
	adrp	x8, _stderr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	x3, [x19]
LBB0_4:
	str	x3, [x20]
Lloh9:
	adrp	x8, _log_last_ts@GOTPAGE
Lloh10:
	ldr	x8, [x8, _log_last_ts@GOTPAGEOFF]
Lloh11:
	str	x3, [x8]
Lloh12:
	adrp	x8, _log_set_now@GOTPAGE
Lloh13:
	ldr	x8, [x8, _log_set_now@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
Lloh15:
	adrp	x8, _now@GOTPAGE
Lloh16:
	ldr	x8, [x8, _now@GOTPAGEOFF]
Lloh17:
	str	x3, [x8]
LBB0_6:
	ldr	x8, [x19]
Lloh18:
	adrp	x20, _log_time_cutoff@GOTPAGE
Lloh19:
	ldr	x20, [x20, _log_time_cutoff@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh20:
	adrp	x21, _log_scan_mode@GOTPAGE
Lloh21:
	ldr	x21, [x21, _log_scan_mode@GOTPAGEOFF]
	ldr	w10, [x21]
	cmp	x8, x9
	ccmp	w10, #0, #0, ge
	b.ne	LBB0_9
; %bb.7:
	bl	_log_cur_pos
                                        ; kill: def $w0 killed $w0 def $x0
Lloh22:
	adrp	x8, _log_cutoff_pos@GOTPAGE
Lloh23:
	ldr	x8, [x8, _log_cutoff_pos@GOTPAGEOFF]
Lloh24:
	str	w0, [x8]
	mov	w8, #1
	str	w8, [x21]
Lloh25:
	adrp	x8, _verbosity@GOTPAGE
Lloh26:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh27:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.8:
Lloh28:
	adrp	x8, _stderr@GOTPAGE
Lloh29:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	ldr	x2, [x19]
	ldr	x3, [x20]
	str	x0, [sp]
Lloh31:
	adrp	x1, l_.str.1@PAGE
Lloh32:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x8
	bl	_fprintf
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_log_first_ts,8,3               ; @log_first_ts
	.comm	_log_read_until,8,3             ; @log_read_until
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"time goes back from %d to %d in log file\n"

	.comm	_log_last_ts,8,3                ; @log_last_ts
	.comm	_log_set_now,8,3                ; @log_set_now
	.comm	_now,8,3                        ; @now
	.comm	_log_time_cutoff,8,3            ; @log_time_cutoff
	.comm	_log_scan_mode,4,2              ; @log_scan_mode
	.comm	_log_cutoff_pos,4,2             ; @log_cutoff_pos
	.comm	_verbosity,8,3                  ; @verbosity
l_.str.1:                               ; @.str.1
	.asciz	"reached timestamp %d above cutoff %d at binlog position %lld, entering scan mode 1\n"

	.no_dead_strip	_process_timestamp_event
.subsections_via_symbols
