	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_idx_slide_read_buffer          ## -- Begin function idx_slide_read_buffer
	.p2align	4, 0x90
_idx_slide_read_buffer:                 ## @idx_slide_read_buffer
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_idx_ptr_crc@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_RBuff@GOTPCREL(%rip), %r15
	xorl	%edi, %edi
	cmpq	(%r15), %rax
	jl	LBB0_4
## %bb.1:
	movq	_idx_rptr@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	%rcx, %rax
	jg	LBB0_4
## %bb.2:
	movq	_idx_wptr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rcx
	jg	LBB0_4
## %bb.3:
	movq	_RBuffEnd@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setle	%dil
LBB0_4:
	callq	_assert
	xorl	%eax, %eax
	callq	_idx_relax_crc32
	movq	_idx_rptr@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	(%r15), %rdi
	cmpq	%rdi, %rsi
	je	LBB0_6
## %bb.5:
	movq	_idx_wptr@GOTPCREL(%rip), %r12
	movq	(%r12), %rdx
	subq	%rsi, %rdx
	callq	_memmove
	movq	(%r15), %rax
	movq	(%r12), %rcx
	addq	%rax, %rcx
	subq	(%rbx), %rcx
	movq	%rcx, (%r12)
	movq	%rax, (%r14)
	movq	%rax, (%rbx)
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_idx_ptr_crc,8,3                ## @idx_ptr_crc
	.comm	_RBuff,8,3                      ## @RBuff
	.comm	_idx_rptr,8,3                   ## @idx_rptr
	.comm	_idx_wptr,8,3                   ## @idx_wptr
	.comm	_RBuffEnd,8,3                   ## @RBuffEnd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_idx_slide_read_buffer          ; -- Begin function idx_slide_read_buffer
	.p2align	2
_idx_slide_read_buffer:                 ; @idx_slide_read_buffer
	.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
Lloh0:
	adrp	x19, _idx_ptr_crc@GOTPAGE
Lloh1:
	ldr	x19, [x19, _idx_ptr_crc@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh2:
	adrp	x21, _RBuff@GOTPAGE
Lloh3:
	ldr	x21, [x21, _RBuff@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh4:
	adrp	x20, _idx_rptr@GOTPAGE
Lloh5:
	ldr	x20, [x20, _idx_rptr@GOTPAGEOFF]
	cmp	x8, x9
	b.lt	LBB0_3
; %bb.1:
	ldr	x9, [x20]
	cmp	x8, x9
	b.gt	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _idx_wptr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _idx_wptr@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x9, x8
	b.le	LBB0_7
LBB0_3:
	mov	w0, #0
LBB0_4:
	bl	_assert
	bl	_idx_relax_crc32
	ldr	x1, [x20]
	ldr	x0, [x21]
	cmp	x1, x0
	b.eq	LBB0_6
; %bb.5:
Lloh9:
	adrp	x22, _idx_wptr@GOTPAGE
Lloh10:
	ldr	x22, [x22, _idx_wptr@GOTPAGEOFF]
	ldr	x8, [x22]
	sub	x2, x8, x1
	bl	_memmove
	ldr	x8, [x21]
	ldr	x9, [x22]
	ldr	x10, [x20]
	add	x9, x9, x8
	sub	x9, x9, x10
	str	x9, [x22]
	str	x8, [x19]
	str	x8, [x20]
LBB0_6:
	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
LBB0_7:
Lloh11:
	adrp	x9, _RBuffEnd@GOTPAGE
Lloh12:
	ldr	x9, [x9, _RBuffEnd@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, le
	b	LBB0_4
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_idx_ptr_crc,8,3                ; @idx_ptr_crc
	.comm	_RBuff,8,3                      ; @RBuff
	.comm	_idx_rptr,8,3                   ; @idx_rptr
	.comm	_idx_wptr,8,3                   ; @idx_wptr
	.comm	_RBuffEnd,8,3                   ; @RBuffEnd
.subsections_via_symbols
