	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_set_read_ahead
_rs_set_read_ahead:                     ## @rs_set_read_ahead
	.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
	movl	%edx, %r12d
	movl	%esi, %eax
	movq	%rdi, %r14
	movq	_SECTORS_PER_PAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_dm_div_up
	movl	%eax, %r13d
	movq	16(%r14), %rax
	movl	(%rax), %edi
	callq	_dm_table_get_md
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_dm_disk
	testl	%r13d, %r13d
	je	LBB0_3
## %bb.1:
	movq	(%rax), %rax
	movl	8(%r14), %ebx
	imull	%r13d, %r12d
	imull	12(%r14), %r12d
	movl	%r12d, (%rax)
	testq	%rbx, %rbx
	je	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movq	-8(%rax,%rbx,8), %rax
	movl	(%rax), %edi
	callq	_bdev_get_queue
	movl	%r13d, (%rax)
	decq	%rbx
	jne	LBB0_2
LBB0_3:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dm_put                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SECTORS_PER_PAGE,4,2           ## @SECTORS_PER_PAGE
	.no_dead_strip	_rs_set_read_ahead
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_set_read_ahead
_rs_set_read_ahead:                     ; @rs_set_read_ahead
	.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	x8, x1
	mov	x19, x0
Lloh0:
	adrp	x9, _SECTORS_PER_PAGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SECTORS_PER_PAGE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x8
	bl	_dm_div_up
	mov	x20, x0
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	bl	_dm_table_get_md
	mov	x21, x0
	bl	_dm_disk
	cbz	w20, LBB0_4
; %bb.1:
	ldr	x9, [x0]
	mul	w10, w20, w22
	ldp	w8, w11, [x19, #8]
	mul	w10, w10, w11
	str	w10, [x9]
	cbz	w8, LBB0_4
; %bb.2:
	lsl	x8, x8, #3
	sub	x22, x8, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	x8, [x8, x22]
	ldr	w0, [x8]
	bl	_bdev_get_queue
	str	w20, [x0]
	sub	x22, x22, #8
	cmn	x22, #8
	b.ne	LBB0_3
LBB0_4:
	mov	x0, x21
	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
	b	_dm_put
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SECTORS_PER_PAGE,4,2           ; @SECTORS_PER_PAGE
	.no_dead_strip	_rs_set_read_ahead
.subsections_via_symbols
