	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lookup_binlog_time             ## -- Begin function lookup_binlog_time
	.p2align	4, 0x90
_lookup_binlog_time:                    ## @lookup_binlog_time
	.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	_fbd_rptr@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_fbd_wptr@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	cmpl	%edx, %esi
	jle	LBB0_3
## %bb.1:
	movq	_BINLOGPOS_QUEUE_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_lookup_binlog_binsearch
	cmpl	(%r15), %eax
	jl	LBB0_6
## %bb.2:
	movl	(%r14), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	jmp	LBB0_4
LBB0_3:
	movq	%rbx, %rdi
LBB0_4:
	callq	_lookup_binlog_binsearch
	cmpl	(%r14), %eax
	jne	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_6:
	movq	_fbd_data@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movq	(%rcx,%rax,8), %rax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fbd_rptr,4,2                   ## @fbd_rptr
	.comm	_fbd_wptr,4,2                   ## @fbd_wptr
	.comm	_BINLOGPOS_QUEUE_SIZE,4,2       ## @BINLOGPOS_QUEUE_SIZE
	.comm	_fbd_data,8,3                   ## @fbd_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lookup_binlog_time             ; -- Begin function lookup_binlog_time
	.p2align	2
_lookup_binlog_time:                    ; @lookup_binlog_time
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, _fbd_rptr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fbd_rptr@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x20, _fbd_wptr@GOTPAGE
Lloh4:
	ldr	x20, [x20, _fbd_wptr@GOTPAGEOFF]
	ldr	w2, [x20]
	cmp	w1, w2
	b.le	LBB0_3
; %bb.1:
Lloh5:
	adrp	x21, _BINLOGPOS_QUEUE_SIZE@GOTPAGE
Lloh6:
	ldr	x21, [x21, _BINLOGPOS_QUEUE_SIZE@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_lookup_binlog_binsearch
	ldr	w8, [x21]
	cmp	w0, w8
	b.lt	LBB0_6
; %bb.2:
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #0
	b	LBB0_4
LBB0_3:
	mov	x0, x19
LBB0_4:
	bl	_lookup_binlog_binsearch
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.5:
	mov	x0, #0
	b	LBB0_7
LBB0_6:
Lloh7:
	adrp	x8, _fbd_data@GOTPAGE
Lloh8:
	ldr	x8, [x8, _fbd_data@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	ldr	x0, [x8, w0, sxtw #3]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_fbd_rptr,4,2                   ; @fbd_rptr
	.comm	_fbd_wptr,4,2                   ; @fbd_wptr
	.comm	_BINLOGPOS_QUEUE_SIZE,4,2       ; @BINLOGPOS_QUEUE_SIZE
	.comm	_fbd_data,8,3                   ; @fbd_data
.subsections_via_symbols
