	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function doc_read_page_getbytes
_doc_read_page_getbytes:                ## @doc_read_page_getbytes
	.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	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r14
	testl	%esi, %esi
	jle	LBB0_3
## %bb.1:
	testl	%r8d, %r8d
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_doc_read_data_area
	leaq	4(%rbx), %rsi
	testq	%rbx, %rbx
	cmoveq	%rbx, %rsi
	leal	-1(%r15), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	jmp	LBB0_4
LBB0_3:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
LBB0_4:
	callq	_doc_read_data_area
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_doc_delay
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_doc_read_page_getbytes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function doc_read_page_getbytes
_doc_read_page_getbytes:                ; @doc_read_page_getbytes
	.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	x22, x2
	mov	x19, x1
	mov	x20, x0
	subs	w21, w1, #1
	b.lt	LBB0_3
; %bb.1:
	cbz	w4, LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x22
	mov	w2, #1
	bl	_doc_read_data_area
	add	x8, x22, #4
	cmp	x22, #0
	csel	x1, xzr, x8, eq
	mov	x0, x20
	mov	x2, x21
	mov	w3, #0
	b	LBB0_4
LBB0_3:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
LBB0_4:
	bl	_doc_read_data_area
	mov	x0, x20
	mov	w1, #2
	bl	_doc_delay
	mov	x0, x19
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_doc_read_page_getbytes
.subsections_via_symbols
