	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unreg_umr
_unreg_umr:                             ## @unreg_umr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	movq	8(%rdi), %rax
	movq	(%rax), %rcx
	movq	_MLX5_DEVICE_STATE_INTERNAL_ERROR@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_2
## %bb.1:
	movq	_MLX5_IB_SEND_UMR_DISABLE_MR@GOTPCREL(%rip), %rax
	movq	_MLX5_IB_SEND_UMR_UPDATE_PD_ACCESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, -12(%rbp)
	movq	_MLX5_IB_WR_UMR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -8(%rbp)
	movl	(%rdi), %eax
	movl	%eax, -16(%rbp)
	movl	(%rsi), %eax
	movl	%eax, -20(%rbp)
	movl	$1, -24(%rbp)
	leaq	-24(%rbp), %rsi
	callq	_mlx5_ib_post_send_wait
LBB0_2:
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_DEVICE_STATE_INTERNAL_ERROR,8,3 ## @MLX5_DEVICE_STATE_INTERNAL_ERROR
	.comm	_MLX5_IB_SEND_UMR_DISABLE_MR,4,2 ## @MLX5_IB_SEND_UMR_DISABLE_MR
	.comm	_MLX5_IB_SEND_UMR_UPDATE_PD_ACCESS,4,2 ## @MLX5_IB_SEND_UMR_UPDATE_PD_ACCESS
	.comm	_MLX5_IB_WR_UMR,4,2             ## @MLX5_IB_WR_UMR
	.no_dead_strip	_unreg_umr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unreg_umr
_unreg_umr:                             ; @unreg_umr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _MLX5_DEVICE_STATE_INTERNAL_ERROR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLX5_DEVICE_STATE_INTERNAL_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x8, _MLX5_IB_SEND_UMR_DISABLE_MR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX5_IB_SEND_UMR_DISABLE_MR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MLX5_IB_SEND_UMR_UPDATE_PD_ACCESS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MLX5_IB_SEND_UMR_UPDATE_PD_ACCESS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh9:
	adrp	x9, _MLX5_IB_WR_UMR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MLX5_IB_WR_UMR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #20]
	ldr	w10, [x0]
	ldr	w8, [x1]
	mov	w9, #1
	stp	w8, w10, [sp, #12]
	str	w9, [sp, #8]
	add	x1, sp, #8
	bl	_mlx5_ib_post_send_wait
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_DEVICE_STATE_INTERNAL_ERROR,8,3 ; @MLX5_DEVICE_STATE_INTERNAL_ERROR
	.comm	_MLX5_IB_SEND_UMR_DISABLE_MR,4,2 ; @MLX5_IB_SEND_UMR_DISABLE_MR
	.comm	_MLX5_IB_SEND_UMR_UPDATE_PD_ACCESS,4,2 ; @MLX5_IB_SEND_UMR_UPDATE_PD_ACCESS
	.comm	_MLX5_IB_WR_UMR,4,2             ; @MLX5_IB_WR_UMR
	.no_dead_strip	_unreg_umr
.subsections_via_symbols
