	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_binlog_data               ## -- Begin function read_binlog_data
	.p2align	4, 0x90
_read_binlog_data:                      ## @read_binlog_data
	.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
	movl	%esi, %ecx
	movq	%rdi, %r14
	movq	_W@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	8(%r12), %rax
	movslq	16(%r12), %rsi
	movl	%edi, %ebx
	subl	%esi, %ebx
	movq	%rax, %rdx
	subq	%rsi, %rdx
	cmpq	%rax, %rdi
	cmovlel	%edx, %ebx
	cmpl	%ecx, %ebx
	cmovgel	%ecx, %ebx
	movslq	%ebx, %rcx
	cmpq	%rcx, %rdx
	jge	LBB0_6
## %bb.1:
	movl	%ebx, %r15d
	subl	%edx, %r15d
	movslq	%r15d, %r13
	leaq	(%r14,%r13), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movq	(%r12), %rsi
	testq	%rsi, %rsi
	je	LBB0_5
## %bb.2:
	movq	8(%r12), %rax
	movq	%rsi, %rdx
	subq	%rax, %rdx
	jle	LBB0_5
## %bb.3:
	cmpq	%r13, %rdx
	jge	LBB0_9
## %bb.4:
	subl	%edx, %r15d
	movq	%r14, %rdi
	movl	%eax, %esi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
LBB0_5:
	xorl	%edi, %edi
	testl	%r15d, %r15d
	sete	%dil
	callq	_assert
	jmp	LBB0_8
LBB0_6:
	subl	%ebx, %eax
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
LBB0_7:
	callq	_memcpy
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	subl	%r15d, %esi
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r15d, %edx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_W,24,3                         ## @W
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_binlog_data               ; -- Begin function read_binlog_data
	.p2align	2
_read_binlog_data:                      ; @read_binlog_data
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x8, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _W@GOTPAGE
Lloh1:
	ldr	x22, [x22, _W@GOTPAGEOFF]
	ldp	x10, x9, [x22]
	ldrsw	x1, [x22, #16]
	sub	w11, w10, w1
	sub	x2, x9, x1
	cmp	x10, x9
	csel	w10, w11, w2, gt
	cmp	w10, w8
	csel	w19, w10, w8, lt
	cmp	x2, w19, sxtw
	b.ge	LBB0_6
; %bb.1:
	sub	w21, w19, w2
	sxtw	x23, w21
	add	x0, x20, x23
                                        ; kill: def $w1 killed $w1 killed $x1
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcpy
	ldr	x8, [x22]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x1, [x22, #8]
	subs	x2, x8, x1
	b.le	LBB0_5
; %bb.3:
	cmp	x2, x23
	b.ge	LBB0_9
; %bb.4:
	sub	w21, w21, w2
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcpy
LBB0_5:
	cmp	w21, #0
	cset	w0, eq
	bl	_assert
	b	LBB0_8
LBB0_6:
	sub	w1, w9, w19
	mov	x0, x20
	mov	x2, x19
LBB0_7:
	bl	_memcpy
LBB0_8:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	sub	w1, w8, w21
	mov	x0, x20
	mov	x2, x21
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_W,24,3                         ; @W
.subsections_via_symbols
