	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r5l_recovery_fetch_ra_pool
_r5l_recovery_fetch_ra_pool:            ## @r5l_recovery_fetch_ra_pool
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rsi), %rdi
	callq	_bio_reset
	movq	16(%rbx), %rdi
	movq	(%r14), %rax
	movl	8(%rax), %esi
	callq	_bio_set_dev
	movq	16(%rbx), %rdi
	movq	_REQ_OP_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_bio_set_op_attrs
	movq	(%r14), %rax
	movq	(%rax), %rax
	addq	%r15, %rax
	movq	16(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	$0, (%rbx)
	movq	%r15, 32(%rbx)
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.1:
	xorl	%eax, %eax
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r12
	movq	_BLOCK_SECTORS@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rbx), %rdi
	movq	24(%rbx), %rcx
	movl	(%rcx,%rax,4), %esi
	movl	(%r12), %edx
	xorl	%ecx, %ecx
	callq	_bio_add_page
	incq	(%rbx)
	movl	(%r13), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_r5l_ring_add
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r15
	movq	(%rbx), %rax
	cmpq	8(%rbx), %rax
	jb	LBB0_2
LBB0_4:
	movq	16(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_submit_bio_wait                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REQ_OP_READ,4,2                ## @REQ_OP_READ
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.comm	_BLOCK_SECTORS,4,2              ## @BLOCK_SECTORS
	.no_dead_strip	_r5l_recovery_fetch_ra_pool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r5l_recovery_fetch_ra_pool
_r5l_recovery_fetch_ra_pool:            ; @r5l_recovery_fetch_ra_pool
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x1, #16]
	bl	_bio_reset
	ldr	x0, [x19, #16]
	ldr	x8, [x20]
	ldr	w1, [x8, #8]
	bl	_bio_set_dev
	ldr	x0, [x19, #16]
Lloh0:
	adrp	x8, _REQ_OP_READ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REQ_OP_READ@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_bio_set_op_attrs
	ldr	x8, [x20]
	ldr	x8, [x8]
	add	x8, x8, x21
	ldp	x10, x9, [x19, #8]
	str	x8, [x9]
	str	xzr, [x19]
	str	x21, [x19, #32]
	cbz	x10, LBB0_4
; %bb.1:
	mov	x8, #0
Lloh3:
	adrp	x22, _PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _PAGE_SIZE@GOTPAGEOFF]
Lloh5:
	adrp	x23, _BLOCK_SECTORS@GOTPAGE
Lloh6:
	ldr	x23, [x23, _BLOCK_SECTORS@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x0, x9, [x19, #16]
	ldr	w1, [x9, x8, lsl #2]
	ldr	w2, [x22]
	mov	w3, #0
	bl	_bio_add_page
	ldr	x8, [x19]
	add	x8, x8, #1
	str	x8, [x19]
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x21
	bl	_r5l_ring_add
	cbz	x0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x21, x0
	ldp	x8, x9, [x19]
	cmp	x8, x9
	b.lo	LBB0_2
LBB0_4:
	ldr	x0, [x19, #16]
	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
	b	_submit_bio_wait
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_REQ_OP_READ,4,2                ; @REQ_OP_READ
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.comm	_BLOCK_SECTORS,4,2              ; @BLOCK_SECTORS
	.no_dead_strip	_r5l_recovery_fetch_ra_pool
.subsections_via_symbols
