	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_alloc_mr_user               ## -- Begin function ib_alloc_mr_user
	.p2align	4, 0x90
_ib_alloc_mr_user:                      ## @ib_alloc_mr_user
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.3:
	movq	%rcx, %r15
	movl	%edx, %r12d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_IB_MR_TYPE_INTEGRITY@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%esi, (%rax)
	sete	%dil
	callq	_WARN_ON_ONCE
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_5:
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r12d, %edx
	movq	%r15, %rcx
	callq	*(%rax)
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	8(%rbx), %rax
	movq	%rax, 48(%r15)
	movq	%rbx, 40(%r15)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r15)
	movq	%rbx, %rdi
	callq	_atomic_inc
	movl	$0, (%r15)
	movq	_RDMA_RESTRACK_MR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r15, %rdi
	addq	$16, %rdi
	movl	%eax, 16(%r15)
	callq	_rdma_restrack_kadd
	movl	%r14d, 4(%r15)
	movq	$0, 8(%r15)
LBB0_7:
	movq	%r15, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_IB_MR_TYPE_INTEGRITY,4,2       ## @IB_MR_TYPE_INTEGRITY
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_RDMA_RESTRACK_MR,4,2           ## @RDMA_RESTRACK_MR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_alloc_mr_user               ; -- Begin function ib_alloc_mr_user
	.p2align	2
_ib_alloc_mr_user:                      ; @ib_alloc_mr_user
	.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
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _IB_MR_TYPE_INTEGRITY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_MR_TYPE_INTEGRITY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	cset	w0, eq
	bl	_WARN_ON_ONCE
	cbz	x0, LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	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	_ERR_PTR
LBB0_5:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	blr	x8
	mov	x21, x0
	bl	_IS_ERR
	cbnz	w0, LBB0_7
; %bb.6:
	ldr	x8, [x20, #8]
	stp	x20, x8, [x21, #40]
	stp	xzr, xzr, [x21, #24]
	mov	x0, x20
	bl	_atomic_inc
	str	wzr, [x21]
Lloh7:
	adrp	x8, _RDMA_RESTRACK_MR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RDMA_RESTRACK_MR@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	mov	x20, x21
	str	w8, [x20, #16]!
	mov	x0, x20
	bl	_rdma_restrack_kadd
	stur	w19, [x20, #-12]
	stur	xzr, [x20, #-8]
LBB0_7:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_IB_MR_TYPE_INTEGRITY,4,2       ; @IB_MR_TYPE_INTEGRITY
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_RDMA_RESTRACK_MR,4,2           ; @RDMA_RESTRACK_MR
.subsections_via_symbols
