	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function use_dmio
_use_dmio:                              ## @use_dmio
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	%esi, -104(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -96(%rbp)
	movq	$0, -80(%rbp)
	movq	24(%rdi), %rax
	movl	4(%rax), %esi
	movl	%esi, -72(%rbp)
	movq	%rdi, -64(%rbp)
	movq	_dmio_complete@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, -56(%rbp)
	movl	$0, -48(%rbp)
	movl	%ecx, -40(%rbp)
	movl	%edx, -36(%rbp)
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	(%rdi), %rax
	movq	_DATA_MODE_VMALLOC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_DM_IO_VMA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%r8d, %ecx
	addq	16(%r14), %rcx
	movq	%rcx, -88(%rbp)
	jmp	LBB0_3
LBB0_1:
	movq	_DM_IO_KMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%r8d, %ecx
	addq	16(%r14), %rcx
	movq	%rcx, -96(%rbp)
LBB0_3:
	movl	%eax, -80(%rbp)
	leaq	-104(%rbp), %rdi
	leaq	-40(%rbp), %rdx
	movl	$1, %esi
	xorl	%ecx, %ecx
	callq	_dm_io
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	8(%r14), %r15
	movl	%ebx, %edi
	callq	_errno_to_blk_status
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	*%r15
LBB0_5:
	addq	$88, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dmio_complete,4,2              ## @dmio_complete
	.comm	_DATA_MODE_VMALLOC,8,3          ## @DATA_MODE_VMALLOC
	.comm	_DM_IO_KMEM,4,2                 ## @DM_IO_KMEM
	.comm	_DM_IO_VMA,4,2                  ## @DM_IO_VMA
	.no_dead_strip	_use_dmio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function use_dmio
_use_dmio:                              ; @use_dmio
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x0
	str	w1, [sp, #16]
	stp	xzr, xzr, [sp, #32]
	str	xzr, [sp, #24]
	ldr	x8, [x0, #24]
	ldr	w9, [x8, #4]
	str	w9, [sp, #48]
	str	x0, [sp, #56]
Lloh0:
	adrp	x9, _dmio_complete@GOTPAGE
Lloh1:
	ldr	x9, [x9, _dmio_complete@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [sp, #64]
	str	wzr, [sp, #72]
	stp	w3, w2, [sp]
	ldr	w8, [x8]
	str	w8, [sp, #8]
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _DATA_MODE_VMALLOC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DATA_MODE_VMALLOC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _DM_IO_VMA@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DM_IO_VMA@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	x9, [x19, #16]
	add	x9, x9, w4, uxtw
	str	x9, [sp, #32]
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _DM_IO_KMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DM_IO_KMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	x9, [x19, #16]
	add	x9, x9, w4, uxtw
	str	x9, [sp, #24]
LBB0_3:
	str	w8, [sp, #40]
	add	x0, sp, #16
	mov	x2, sp
	mov	w1, #1
	mov	x3, #0
	bl	_dm_io
	mov	x20, x0
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x21, [x19, #8]
	mov	x0, x20
	bl	_errno_to_blk_status
	mov	x1, x0
	mov	x0, x19
	blr	x21
LBB0_5:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_dmio_complete,4,2              ; @dmio_complete
	.comm	_DATA_MODE_VMALLOC,8,3          ; @DATA_MODE_VMALLOC
	.comm	_DM_IO_KMEM,4,2                 ; @DM_IO_KMEM
	.comm	_DM_IO_VMA,4,2                  ; @DM_IO_VMA
	.no_dead_strip	_use_dmio
.subsections_via_symbols
