	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r5l_recovery_read_page
_r5l_recovery_read_page:                ## @r5l_recovery_read_page
	.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	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	(%rsi), %rax
	cmpq	%rcx, %rax
	jg	LBB0_2
## %bb.1:
	movslq	8(%r14), %rcx
	movq	_BLOCK_SECTORS@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	imulq	%rcx, %rdx
	addq	%rax, %rdx
	cmpq	%rbx, %rdx
	jg	LBB0_4
LBB0_2:
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_r5l_recovery_fetch_ra_pool
	testl	%eax, %eax
	jne	LBB0_7
## %bb.3:
	movq	(%r14), %rax
LBB0_4:
	movl	$1, %edi
	cmpq	%rbx, %rax
	jg	LBB0_6
## %bb.5:
	movslq	8(%r14), %rcx
	movq	_BLOCK_SECTORS@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	imulq	%rcx, %rdx
	addq	%rdx, %rax
	xorl	%edi, %edi
	cmpq	%rbx, %rax
	setle	%dil
LBB0_6:
	callq	_BUG_ON
	movq	%r15, %rdi
	callq	_page_address
	movl	%eax, %r15d
	movq	16(%r14), %rax
	subq	(%r14), %rbx
	movq	_BLOCK_SECTOR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarq	%cl, %rbx
	movq	(%rax,%rbx,8), %rdi
	callq	_page_address
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_memcpy
	xorl	%eax, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLOCK_SECTORS,4,2              ## @BLOCK_SECTORS
	.comm	_BLOCK_SECTOR_SHIFT,8,3         ## @BLOCK_SECTOR_SHIFT
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.no_dead_strip	_r5l_recovery_read_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r5l_recovery_read_page
_r5l_recovery_read_page:                ; @r5l_recovery_read_page
	.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, x3
	mov	x21, x2
	mov	x20, x1
	ldr	x8, [x1]
	cmp	x8, x3
	b.gt	LBB0_2
; %bb.1:
	ldrsw	x9, [x20, #8]
Lloh0:
	adrp	x10, _BLOCK_SECTORS@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BLOCK_SECTORS@GOTPAGEOFF]
Lloh2:
	ldrsw	x10, [x10]
	madd	x9, x10, x9, x8
	cmp	x9, x19
	b.gt	LBB0_4
LBB0_2:
	mov	x1, x20
	mov	x2, x19
	bl	_r5l_recovery_fetch_ra_pool
	cbnz	w0, LBB0_8
; %bb.3:
	ldr	x8, [x20]
LBB0_4:
	cmp	x8, x19
	b.le	LBB0_6
; %bb.5:
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	ldrsw	x9, [x20, #8]
Lloh3:
	adrp	x10, _BLOCK_SECTORS@GOTPAGE
Lloh4:
	ldr	x10, [x10, _BLOCK_SECTORS@GOTPAGEOFF]
Lloh5:
	ldrsw	x10, [x10]
	madd	x8, x10, x9, x8
	cmp	x8, x19
	cset	w0, le
LBB0_7:
	bl	_BUG_ON
	mov	x0, x21
	bl	_page_address
	mov	x21, x0
	ldr	x8, [x20, #16]
	ldr	x9, [x20]
	sub	x9, x19, x9
Lloh6:
	adrp	x10, _BLOCK_SECTOR_SHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BLOCK_SECTOR_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	asr	x9, x9, x10
	ldr	x0, [x8, x9, lsl #3]
	bl	_page_address
	mov	x1, x0
Lloh9:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_memcpy
	mov	w0, #0
LBB0_8:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BLOCK_SECTORS,4,2              ; @BLOCK_SECTORS
	.comm	_BLOCK_SECTOR_SHIFT,8,3         ; @BLOCK_SECTOR_SHIFT
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.no_dead_strip	_r5l_recovery_read_page
.subsections_via_symbols
