	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_user_mmap_io              ## -- Begin function rdma_user_mmap_io
	.p2align	4, 0x90
_rdma_user_mmap_io:                     ## @rdma_user_mmap_io
	.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	_VM_SHARED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_1
## %bb.3:
	movq	%rcx, %r15
	movq	%rsi, %rbx
	movq	8(%rsi), %rax
	subq	16(%rsi), %rax
	cmpq	%rcx, %rax
	jne	LBB0_1
## %bb.4:
	movl	%r8d, %r14d
	movq	%rdx, %r12
	movq	(%rdi), %r13
	movq	32(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	xorl	%edi, %edi
	cmpq	%r13, (%rax)
	setne	%dil
	jmp	LBB0_7
LBB0_5:
	movl	$1, %edi
LBB0_7:
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_8
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	(%r13), %rdi
	callq	_lockdep_assert_held
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %r13
	movl	%r14d, 24(%rbx)
	movq	16(%rbx), %rsi
	movq	%rbx, %rdi
	movq	%r12, %rdx
	movq	%r15, %rcx
	movl	%r14d, %r8d
	callq	_io_remap_pfn_range
	movq	%r13, %rdi
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	callq	_kfree
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_12:
	movq	%rbx, %rsi
	callq	_rdma_umap_priv_init
	xorl	%eax, %eax
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_VM_SHARED,4,2                  ## @VM_SHARED
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EAGAIN,4,2                     ## @EAGAIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rdma_user_mmap_io              ; -- Begin function rdma_user_mmap_io
	.p2align	2
_rdma_user_mmap_io:                     ; @rdma_user_mmap_io
	.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
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _VM_SHARED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VM_SHARED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	mov	x21, x3
	mov	x19, x1
	ldp	x8, x9, [x1, #8]
	sub	x8, x8, x9
	cmp	x8, x3
	b.ne	LBB0_4
; %bb.2:
	mov	x20, x4
	mov	x22, x2
	ldr	x23, [x0]
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_7
; %bb.3:
	ldr	x8, [x8]
	cmp	x8, x23
	cset	w0, ne
	bl	_WARN_ON
	cbz	x0, LBB0_8
LBB0_4:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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
	ret
LBB0_7:
	mov	w0, #1
	bl	_WARN_ON
	cbnz	x0, LBB0_4
LBB0_8:
	ldr	x0, [x23]
	bl	_lockdep_assert_held
Lloh5:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_kzalloc
	cbz	x0, LBB0_11
; %bb.9:
	mov	x23, x0
	str	w20, [x19, #24]
	ldr	x1, [x19, #16]
	mov	x0, x19
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	bl	_io_remap_pfn_range
	cbz	x0, LBB0_12
; %bb.10:
	mov	x0, x23
	bl	_kfree
Lloh8:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_5
LBB0_11:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_5
LBB0_12:
	mov	x0, x23
	mov	x1, x19
	bl	_rdma_umap_priv_init
	mov	w0, #0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_VM_SHARED,4,2                  ; @VM_SHARED
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EAGAIN,4,2                     ; @EAGAIN
.subsections_via_symbols
