	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function use_bio
_use_bio:                               ## @use_bio
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	_PAGE_SHIFT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax), %rbx
	sarq	%cl, %rbx
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movl	%esi, %r12d
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rdx
	subq	(%rdx), %rcx
	xorl	%edi, %edi
	cmpq	%rcx, 8(%rax)
	setl	%dil
	callq	_unlikely
	leal	2(%rbx), %esi
	testq	%rax, %rax
	cmovel	%ebx, %esi
	movl	%r14d, %ebx
	movq	_GFP_NOWAIT@GOTPCREL(%rip), %rax
	movq	___GFP_NORETRY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	___GFP_NOWARN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	callq	_bio_kmalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r14
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	movl	%r13d, 12(%rax)
	movq	8(%r15), %rax
	movl	16(%rax), %esi
	movq	%r14, %rdi
	callq	_bio_set_dev
	movq	%r14, %rdi
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movl	%r12d, %esi
	xorl	%edx, %edx
	callq	_bio_set_op_attrs
	movq	_bio_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	%r15, (%r14)
	movq	%r15, %rax
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	addq	(%rax), %r15
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	movl	%ebx, %r12d
	shll	%cl, %r12d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_offset_in_page
	subl	%eax, %ebx
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_min
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_virt_to_page
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_offset_in_page
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	movq	%rax, %rcx
	callq	_bio_add_page
	testl	%eax, %eax
	je	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r13d, %eax
	addq	%rax, %r15
	subl	%r13d, %r12d
	jne	LBB0_2
## %bb.6:
	movq	%r14, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_submit_bio                     ## TAILCALL
LBB0_3:
	movq	%r14, %rdi
	callq	_bio_put
	movl	-56(%rbp), %ebx                 ## 4-byte Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movl	-48(%rbp), %r12d                ## 4-byte Reload
LBB0_4:
	movq	%r15, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	movl	%ebx, %ecx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_use_dmio                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SHIFT,8,3                 ## @PAGE_SHIFT
	.comm	_SECTOR_SHIFT,8,3               ## @SECTOR_SHIFT
	.comm	_GFP_NOWAIT,4,2                 ## @GFP_NOWAIT
	.comm	___GFP_NORETRY,4,2              ## @__GFP_NORETRY
	.comm	___GFP_NOWARN,4,2               ## @__GFP_NOWARN
	.comm	_bio_complete,4,2               ## @bio_complete
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.no_dead_strip	_use_bio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function use_bio
_use_bio:                               ; @use_bio
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PAGE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldp	x10, x8, [x8]
	asr	x19, x10, x9
Lloh3:
	adrp	x26, _SECTOR_SHIFT@GOTPAGE
Lloh4:
	ldr	x26, [x26, _SECTOR_SHIFT@GOTPAGEOFF]
	ldr	x10, [x26]
	sub	x9, x9, x10
	cmp	x8, x9
	cset	w0, lt
	bl	_unlikely
	add	w8, w19, #2
	cmp	x0, #0
	csel	w1, w19, w8, eq
Lloh5:
	adrp	x8, _GFP_NOWAIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_NOWAIT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, ___GFP_NORETRY@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___GFP_NORETRY@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, ___GFP_NOWARN@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___GFP_NOWARN@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w0, w8, w9
	bl	_bio_kmalloc
	cbz	x0, LBB0_6
; %bb.1:
	mov	x24, x0
	str	w21, [x0, #12]
	ldr	x8, [x23, #8]
	ldr	w1, [x8, #16]
	bl	_bio_set_dev
	mov	x0, x24
	mov	x1, x22
	mov	w2, #0
	bl	_bio_set_op_attrs
Lloh14:
	adrp	x8, _bio_complete@GOTPAGE
Lloh15:
	ldr	x8, [x8, _bio_complete@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x24, #8]
	str	x23, [x24]
	ldr	x8, [x23]
	str	w25, [sp, #12]                  ; 4-byte Folded Spill
	add	x25, x8, w25, uxtw
	ldr	w8, [x26]
	lsl	w26, w20, w8
Lloh17:
	adrp	x19, _PAGE_SIZE@GOTPAGE
Lloh18:
	ldr	x19, [x19, _PAGE_SIZE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w27, [x19]
	mov	x0, x25
	bl	_offset_in_page
	sub	w0, w27, w0
	mov	x1, x26
	bl	_min
	mov	x27, x0
	mov	x0, x25
	bl	_virt_to_page
	mov	x28, x0
	mov	x0, x25
	bl	_offset_in_page
	mov	x3, x0
	mov	x0, x24
	mov	x1, x28
	mov	x2, x27
	bl	_bio_add_page
	cbz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x25, x25, w27, uxtw
	subs	w26, w26, w27
	b.ne	LBB0_2
; %bb.4:
	mov	x0, x24
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_submit_bio
LBB0_5:
	mov	x0, x24
	bl	_bio_put
	ldr	w25, [sp, #12]                  ; 4-byte Folded Reload
LBB0_6:
	mov	x0, x23
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x25
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_use_dmio
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SHIFT,8,3                 ; @PAGE_SHIFT
	.comm	_SECTOR_SHIFT,8,3               ; @SECTOR_SHIFT
	.comm	_GFP_NOWAIT,4,2                 ; @GFP_NOWAIT
	.comm	___GFP_NORETRY,4,2              ; @__GFP_NORETRY
	.comm	___GFP_NOWARN,4,2               ; @__GFP_NOWARN
	.comm	_bio_complete,4,2               ; @bio_complete
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.no_dead_strip	_use_bio
.subsections_via_symbols
