	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stream_file_read_pages
_stream_file_read_pages:                ## @stream_file_read_pages
	.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	%rdi, %r14
	movl	%edx, %eax
	subl	%esi, %eax
	cmpl	(%rdi), %eax
	jle	LBB0_2
## %bb.1:
	movq	_READ_PAGE_FAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r14)
	jmp	LBB0_6
LBB0_2:
	movq	%rcx, %r15
	movl	%esi, %ebx
	movl	24(%r14), %esi
	movl	%edx, %edi
	callq	_R_MIN
	movl	%eax, %r12d
	subl	%ebx, %r12d
	jle	LBB0_6
## %bb.3:
	movslq	%ebx, %r13
	movl	16(%r14), %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	imull	(%rax,%r13,4), %ebx
	testl	%ebx, %ebx
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	20(%r14), %edi
	movq	_R_BUF_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %esi
	callq	_r_buf_seek
	movl	16(%r14), %ecx
	movl	20(%r14), %edi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_r_buf_read_at
	movslq	16(%r14), %rbx
	addq	%rbx, %r15
	incq	%r13
	decl	%r12d
	jne	LBB0_4
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_READ_PAGE_FAIL,4,2             ## @READ_PAGE_FAIL
	.comm	_R_BUF_SET,4,2                  ## @R_BUF_SET
	.no_dead_strip	_stream_file_read_pages
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stream_file_read_pages
_stream_file_read_pages:                ; @stream_file_read_pages
	.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	x19, x0
	ldr	w8, [x0]
	sub	w9, w2, w1
	cmp	w9, w8
	b.le	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _READ_PAGE_FAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _READ_PAGE_FAIL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #28]
	b	LBB0_6
LBB0_2:
	mov	x20, x3
	mov	x21, x1
	ldr	w1, [x19, #24]
	mov	x0, x2
	bl	_R_MIN
	subs	w22, w0, w21
	b.le	LBB0_6
; %bb.3:
	ldr	w8, [x19, #16]
	sbfiz	x23, x21, #2, #32
Lloh3:
	adrp	x24, _R_BUF_SET@GOTPAGE
Lloh4:
	ldr	x24, [x24, _R_BUF_SET@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	ldr	w9, [x9, x23]
	mul	w21, w8, w9
	cmp	w21, #1
	b.lt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, #20]
	ldr	w2, [x24]
	mov	x1, x21
	bl	_r_buf_seek
	ldp	w3, w0, [x19, #16]
	mov	x1, x21
	mov	x2, x20
	bl	_r_buf_read_at
	ldrsw	x8, [x19, #16]
	add	x20, x20, x8
	add	x23, x23, #4
	subs	w22, w22, #1
	b.ne	LBB0_4
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_READ_PAGE_FAIL,4,2             ; @READ_PAGE_FAIL
	.comm	_R_BUF_SET,4,2                  ; @R_BUF_SET
	.no_dead_strip	_stream_file_read_pages
.subsections_via_symbols
