	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i810_mmap_buffers
_i810_mmap_buffers:                     ## @i810_mmap_buffers
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	movq	(%rdi), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx), %rcx
	movq	_VM_IO@GOTPCREL(%rip), %rdx
	movq	_VM_DONTCOPY@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rdx), %esi
	movq	(%rcx), %rcx
	orl	%esi, (%rax)
	movq	_I810_BUF_MAPPED@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, (%rcx)
	movq	8(%rax), %rsi
	movl	24(%rax), %edx
	movq	16(%rax), %rcx
	subq	%rsi, %rcx
	movl	4(%rax), %r8d
	movq	%rax, %rdi
	callq	_io_remap_pfn_range
	movq	_EAGAIN@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	subl	(%rdx), %ecx
	xorl	%edx, %edx
	testq	%rax, %rax
	cmovel	%edx, %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VM_IO,4,2                      ## @VM_IO
	.comm	_VM_DONTCOPY,4,2                ## @VM_DONTCOPY
	.comm	_I810_BUF_MAPPED,4,2            ## @I810_BUF_MAPPED
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_i810_mmap_buffers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i810_mmap_buffers
_i810_mmap_buffers:                     ; @i810_mmap_buffers
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x1
	ldr	x9, [x0]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x9, [x9]
	ldr	x9, [x9]
Lloh0:
	adrp	x10, _VM_IO@GOTPAGE
Lloh1:
	ldr	x10, [x10, _VM_IO@GOTPAGEOFF]
	ldr	x9, [x9]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x11, _VM_DONTCOPY@GOTPAGE
Lloh4:
	ldr	x11, [x11, _VM_DONTCOPY@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	orr	w10, w11, w10
	ldp	w11, w4, [x1]
	orr	w10, w10, w11
	str	w10, [x1]
Lloh6:
	adrp	x10, _I810_BUF_MAPPED@GOTPAGE
Lloh7:
	ldr	x10, [x10, _I810_BUF_MAPPED@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	str	w10, [x9]
	ldr	w2, [x1, #24]
	ldr	x1, [x1, #8]
	ldr	x9, [x8, #16]
	sub	x3, x9, x1
	mov	x0, x8
	bl	_io_remap_pfn_range
Lloh9:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	x0, #0
	csneg	w0, wzr, w8, eq
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VM_IO,4,2                      ; @VM_IO
	.comm	_VM_DONTCOPY,4,2                ; @VM_DONTCOPY
	.comm	_I810_BUF_MAPPED,4,2            ; @I810_BUF_MAPPED
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	_i810_mmap_buffers
.subsections_via_symbols
