	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_ib_reg_user_mr            ## -- Begin function mlx5_ib_reg_user_mr
	.p2align	4, 0x90
_mlx5_ib_reg_user_mr:                   ## @mlx5_ib_reg_user_mr
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r15d
	movl	%ecx, %r13d
	movl	%edx, -92(%rbp)                 ## 4-byte Spill
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_to_mdev
	movq	%rax, %r12
	movq	_CONFIG_INFINIBAND_USER_MEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movl	-92(%rbp), %r8d                 ## 4-byte Reload
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	movl	%r14d, %edx
	movl	%r13d, %r12d
	movl	%r13d, %ecx
	movl	%r8d, %ebx
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	movl	%r15d, %r9d
	xorl	%eax, %eax
	callq	_mlx5_ib_dbg
	movq	_CONFIG_INFINIBAND_ON_DEMAND_PAGING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testl	%r14d, %r14d
	jne	LBB0_11
## %bb.4:
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	movq	_U64_MAX@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_11
## %bb.6:
	movq	_IB_ACCESS_ON_DEMAND@GOTPCREL(%rip), %rax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	testl	%ebx, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_IB_ODP_SUPPORT_IMPLICIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	testl	%eax, 8(%rcx)
	je	LBB0_8
## %bb.9:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_to_mpd
	movl	%eax, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_mlx5_ib_alloc_implicit_mr
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_38
## %bb.10:
	movq	%r13, %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_CAST                       ## TAILCALL
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_11:
	leaq	-52(%rbp), %rax
	leaq	-56(%rbp), %r10
	leaq	-60(%rbp), %r11
	leaq	-96(%rbp), %r13
	leaq	-80(%rbp), %r9
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r14d, %edx
	movl	%ebx, %r14d
	movl	%ebx, %ecx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	pushq	%rax
	pushq	%r10
	pushq	%r11
	pushq	%r13
	callq	_mr_umem_get
	addq	$32, %rsp
	testl	%eax, %eax
	js	LBB0_12
## %bb.13:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_mlx5_ib_can_use_umr
	movl	%eax, %ebx
	movl	-52(%rbp), %r13d
	movq	%r15, %rdi
	callq	_mr_cache_max_order
	cmpl	%eax, %r13d
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	jg	LBB0_18
## %bb.14:
	testl	%ebx, %ebx
	je	LBB0_18
## %bb.15:
	movq	-80(%rbp), %rsi
	movl	-56(%rbp), %r8d
	movl	-60(%rbp), %r9d
	movl	-52(%rbp), %eax
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %edx
	movl	%r14d, %ecx
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	%rax
	callq	_alloc_mr_from_cache
	addq	$16, %rsp
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_PTR_ERR
	movq	_EAGAIN@GOTPCREL(%rip), %rcx
	addl	(%rcx), %eax
	jne	LBB0_21
## %bb.16:
	movl	-52(%rbp), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_mlx5_ib_dbg
	jmp	LBB0_17
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_12:
	movl	%eax, %edi
	jmp	LBB0_37
LBB0_18:
	movl	4(%r15), %edi
	movq	_umr_extended_translation_offset@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_MLX5_CAP_GEN
	testl	%eax, %eax
	jne	LBB0_17
## %bb.19:
	movq	_IB_ACCESS_ON_DEMAND@GOTPCREL(%rip), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_20
## %bb.34:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_err
	jmp	LBB0_35
LBB0_21:
	testq	%r13, %r13
	je	LBB0_17
## %bb.22:
	movl	$1, -48(%rbp)                   ## 4-byte Folded Spill
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_23
LBB0_20:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_17:
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	-80(%rbp), %r8
	movl	-56(%rbp), %r9d
	movl	-60(%rbp), %eax
	xorl	%ebx, %ebx
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	sete	%bl
	subq	$8, %rsp
	xorl	%edi, %edi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	%r12d, %edx
	movl	%r14d, %ecx
	pushq	%rbx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	pushq	%rbx
	pushq	%rax
	callq	_reg_create
	addq	$32, %rsp
	movq	%rax, %r13
	movq	%r15, %rdi
	callq	_mutex_unlock
LBB0_23:
	movq	%r13, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	movq	%r13, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
LBB0_35:
	movq	-80(%rbp), %rdi
	callq	_ib_umem_release
LBB0_36:
	movl	%ebx, %edi
LBB0_37:
	callq	_ERR_PTR
	movq	%rax, %r13
LBB0_38:
	movq	%r13, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	movl	24(%r13), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_mlx5_ib_dbg
	movq	-80(%rbp), %rax
	movq	%rax, 16(%r13)
	movl	-96(%rbp), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r14d, %ecx
	movl	%ebx, %r8d
	callq	_set_mr_fields
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_30
## %bb.26:
	movq	_MLX5_IB_UPD_XLT_ENABLE@GOTPCREL(%rip), %rax
	movq	_IB_ACCESS_ON_DEMAND@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	je	LBB0_28
## %bb.27:
	movq	_MLX5_IB_UPD_XLT_ZAP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
LBB0_28:
	orl	(%rax), %ebx
	movl	-56(%rbp), %edx
	movl	-60(%rbp), %ecx
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	%ebx, %r8d
	callq	_mlx5_ib_update_xlt
	testl	%eax, %eax
	je	LBB0_30
## %bb.29:
	movl	%eax, %ebx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_dereg_mr
	jmp	LBB0_36
LBB0_30:
	movq	%r13, %rdi
	callq	_is_odp_mr
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:
	movq	16(%r13), %rdi
	callq	_to_ib_umem_odp
	movq	%r13, (%rax)
	leaq	8(%r13), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
LBB0_32:
	movq	_CONFIG_INFINIBAND_ON_DEMAND_PAGING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IS_ENABLED
	testq	%rax, %rax
	je	LBB0_38
## %bb.33:
	leaq	4(%r13), %rdi
	movl	$1, %esi
	callq	_smp_store_release
	jmp	LBB0_38
	.cfi_endproc
                                        ## -- End function
	.comm	_CONFIG_INFINIBAND_USER_MEM,4,2 ## @CONFIG_INFINIBAND_USER_MEM
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"start 0x%llx, virt_addr 0x%llx, length 0x%llx, access_flags 0x%x\n"

	.comm	_CONFIG_INFINIBAND_ON_DEMAND_PAGING,4,2 ## @CONFIG_INFINIBAND_ON_DEMAND_PAGING
	.comm	_U64_MAX,4,2                    ## @U64_MAX
	.comm	_IB_ACCESS_ON_DEMAND,4,2        ## @IB_ACCESS_ON_DEMAND
	.comm	_IB_ODP_SUPPORT_IMPLICIT,4,2    ## @IB_ODP_SUPPORT_IMPLICIT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EAGAIN,4,2                     ## @EAGAIN
L_.str.1:                               ## @.str.1
	.asciz	"cache empty for order %d\n"

	.comm	_umr_extended_translation_offset,4,2 ## @umr_extended_translation_offset
L_.str.2:                               ## @.str.2
	.asciz	"Got MR registration for ODP MR > 512MB, not supported for Connect-IB\n"

L_.str.3:                               ## @.str.3
	.asciz	"mkey 0x%x\n"

	.comm	_MLX5_IB_UPD_XLT_ENABLE,4,2     ## @MLX5_IB_UPD_XLT_ENABLE
	.comm	_MLX5_IB_UPD_XLT_ZAP,4,2        ## @MLX5_IB_UPD_XLT_ZAP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_ib_reg_user_mr            ; -- Begin function mlx5_ib_reg_user_mr
	.p2align	2
_mlx5_ib_reg_user_mr:                   ; @mlx5_ib_reg_user_mr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x5
	mov	x19, x4
	mov	x23, x3
	mov	x21, x2
	mov	x25, x1
	mov	x22, x0
	ldr	w0, [x0]
	bl	_to_mdev
	mov	x20, x0
Lloh0:
	adrp	x8, _CONFIG_INFINIBAND_USER_MEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONFIG_INFINIBAND_USER_MEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_IS_ENABLED
	cbz	x0, LBB0_7
; %bb.1:
	stp	x21, x19, [sp, #8]
	str	x23, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x25
	bl	_mlx5_ib_dbg
Lloh5:
	adrp	x26, _CONFIG_INFINIBAND_ON_DEMAND_PAGING@GOTPAGE
Lloh6:
	ldr	x26, [x26, _CONFIG_INFINIBAND_ON_DEMAND_PAGING@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_IS_ENABLED
	cbnz	w25, LBB0_8
; %bb.2:
Lloh7:
	adrp	x8, _U64_MAX@GOTPAGE
Lloh8:
	ldr	x8, [x8, _U64_MAX@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	x0, #0
	ccmp	w8, w21, #0, ne
	b.ne	LBB0_8
; %bb.3:
Lloh10:
	adrp	x8, _IB_ACCESS_ON_DEMAND@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IB_ACCESS_ON_DEMAND@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_13
; %bb.4:
	ldr	w8, [x20, #8]
Lloh13:
	adrp	x9, _IB_ODP_SUPPORT_IMPLICIT@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IB_ODP_SUPPORT_IMPLICIT@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.5:
	mov	x0, x22
	bl	_to_mpd
	mov	x1, x24
	mov	x2, x19
	bl	_mlx5_ib_alloc_implicit_mr
	mov	x24, x0
	bl	_IS_ERR
	cbz	x0, LBB0_27
; %bb.6:
	mov	x0, x24
	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
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_ERR_CAST
LBB0_7:
Lloh16:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_14
LBB0_8:
	add	x8, sp, #24
	add	x9, sp, #28
	stp	x9, x8, [sp]
	add	x5, sp, #40
	add	x6, sp, #32
	add	x7, sp, #36
	mov	x0, x20
	mov	x1, x24
	mov	x2, x25
	mov	x3, x21
	mov	x4, x19
	bl	_mr_umem_get
	tbnz	w0, #31, LBB0_26
; %bb.9:
	mov	x0, x20
	mov	w1, #1
	bl	_mlx5_ib_can_use_umr
	mov	x25, x0
	ldr	w24, [sp, #24]
	mov	x0, x20
	bl	_mr_cache_max_order
	cmp	w24, w0
	b.gt	LBB0_15
; %bb.10:
	cbz	w25, LBB0_15
; %bb.11:
	ldr	x1, [sp, #40]
	ldp	w6, w4, [sp, #24]
	ldr	w5, [sp, #36]
	mov	x0, x22
	mov	x2, x23
	mov	x3, x21
	mov	x7, x19
	bl	_alloc_mr_from_cache
	mov	x24, x0
	bl	_PTR_ERR
Lloh18:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmn	w0, w8
	b.ne	LBB0_18
; %bb.12:
	ldr	w2, [sp, #24]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_mlx5_ib_dbg
	b	LBB0_21
LBB0_13:
Lloh23:
	adrp	x8, _EINVAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	neg	w0, w8
	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
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_ERR_PTR
LBB0_15:
	ldr	w0, [x20, #4]
Lloh25:
	adrp	x8, _umr_extended_translation_offset@GOTPAGE
Lloh26:
	ldr	x8, [x8, _umr_extended_translation_offset@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	bl	_MLX5_CAP_GEN
	cbnz	w0, LBB0_21
; %bb.16:
Lloh28:
	adrp	x8, _IB_ACCESS_ON_DEMAND@GOTPAGE
Lloh29:
	ldr	x8, [x8, _IB_ACCESS_ON_DEMAND@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_20
; %bb.17:
Lloh31:
	adrp	x8, _EINVAL@GOTPAGE
Lloh32:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	neg	w19, w8
Lloh34:
	adrp	x0, l_.str.2@PAGE
Lloh35:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_err
	b	LBB0_24
LBB0_18:
	cbz	x24, LBB0_21
; %bb.19:
	mov	w25, #1
	b	LBB0_22
LBB0_20:
	mov	w25, #0
LBB0_21:
	mov	x0, x20
	bl	_mutex_lock
	ldr	x4, [sp, #40]
	ldr	w5, [sp, #28]
	ldr	w6, [sp, #36]
	cmp	w25, #0
	cset	w8, eq
	str	w8, [sp]
	mov	x0, #0
	mov	x1, x22
	mov	x2, x23
	mov	x3, x21
	mov	x7, x19
	bl	_reg_create
	mov	x24, x0
	mov	x0, x20
	bl	_mutex_unlock
LBB0_22:
	mov	x0, x24
	bl	_IS_ERR
	cbz	x0, LBB0_28
; %bb.23:
	mov	x0, x24
	bl	_PTR_ERR
	mov	x19, x0
LBB0_24:
	ldr	x0, [sp, #40]
	bl	_ib_umem_release
LBB0_25:
	mov	x0, x19
LBB0_26:
	bl	_ERR_PTR
	mov	x24, x0
LBB0_27:
	mov	x0, x24
	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
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_28:
	ldr	w2, [x24, #24]
Lloh36:
	adrp	x1, l_.str.3@PAGE
Lloh37:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_mlx5_ib_dbg
	ldr	x8, [sp, #40]
	str	x8, [x24, #16]
	ldr	w2, [sp, #32]
	mov	x0, x20
	mov	x1, x24
	mov	x3, x21
	mov	x4, x19
	bl	_set_mr_fields
	cbz	w25, LBB0_31
; %bb.29:
Lloh38:
	adrp	x8, _MLX5_IB_UPD_XLT_ENABLE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MLX5_IB_UPD_XLT_ENABLE@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
Lloh41:
	adrp	x9, _IB_ACCESS_ON_DEMAND@GOTPAGE
Lloh42:
	ldr	x9, [x9, _IB_ACCESS_ON_DEMAND@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
Lloh44:
	adrp	x10, _MLX5_IB_UPD_XLT_ZAP@GOTPAGE
Lloh45:
	ldr	x10, [x10, _MLX5_IB_UPD_XLT_ZAP@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
	tst	w9, w19
	csel	w9, wzr, w10, eq
	orr	w4, w9, w8
	ldr	w2, [sp, #28]
	ldr	w3, [sp, #36]
	mov	x0, x24
	mov	w1, #0
	bl	_mlx5_ib_update_xlt
	cbz	w0, LBB0_31
; %bb.30:
	mov	x19, x0
	mov	x0, x20
	mov	x1, x24
	bl	_dereg_mr
	b	LBB0_25
LBB0_31:
	mov	x0, x24
	bl	_is_odp_mr
	cbz	x0, LBB0_33
; %bb.32:
	ldr	x0, [x24, #16]
	bl	_to_ib_umem_odp
	str	x24, [x0]
	add	x0, x24, #8
	mov	w1, #0
	bl	_atomic_set
LBB0_33:
	ldr	w0, [x26]
	bl	_IS_ENABLED
	cbz	x0, LBB0_27
; %bb.34:
	add	x0, x24, #4
	mov	w1, #1
	bl	_smp_store_release
	b	LBB0_27
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_CONFIG_INFINIBAND_USER_MEM,4,2 ; @CONFIG_INFINIBAND_USER_MEM
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"start 0x%llx, virt_addr 0x%llx, length 0x%llx, access_flags 0x%x\n"

	.comm	_CONFIG_INFINIBAND_ON_DEMAND_PAGING,4,2 ; @CONFIG_INFINIBAND_ON_DEMAND_PAGING
	.comm	_U64_MAX,4,2                    ; @U64_MAX
	.comm	_IB_ACCESS_ON_DEMAND,4,2        ; @IB_ACCESS_ON_DEMAND
	.comm	_IB_ODP_SUPPORT_IMPLICIT,4,2    ; @IB_ODP_SUPPORT_IMPLICIT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EAGAIN,4,2                     ; @EAGAIN
l_.str.1:                               ; @.str.1
	.asciz	"cache empty for order %d\n"

	.comm	_umr_extended_translation_offset,4,2 ; @umr_extended_translation_offset
l_.str.2:                               ; @.str.2
	.asciz	"Got MR registration for ODP MR > 512MB, not supported for Connect-IB\n"

l_.str.3:                               ; @.str.3
	.asciz	"mkey 0x%x\n"

	.comm	_MLX5_IB_UPD_XLT_ENABLE,4,2     ; @MLX5_IB_UPD_XLT_ENABLE
	.comm	_MLX5_IB_UPD_XLT_ZAP,4,2        ; @MLX5_IB_UPD_XLT_ZAP
.subsections_via_symbols
