	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rereg_umr
_rereg_umr:                             ## @rereg_umr
	.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
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	callq	_to_mdev
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -48(%rbp)
	movq	_MLX5_IB_SEND_UMR_FAIL_IF_FREE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -60(%rbp)
	movq	_MLX5_IB_WR_UMR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, -56(%rbp)
	movl	(%r12), %edx
	movl	%edx, -40(%rbp)
	movq	_IB_MR_REREG_PD@GOTPCREL(%rip), %rdx
	testl	%r15d, (%rdx)
	jne	LBB0_2
## %bb.1:
	movq	_IB_MR_REREG_ACCESS@GOTPCREL(%rip), %rdx
	testl	%r15d, (%rdx)
	je	LBB0_3
LBB0_2:
	movq	%rbx, -48(%rbp)
	movl	%r14d, -64(%rbp)
	movq	_MLX5_IB_SEND_UMR_UPDATE_PD_ACCESS@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, -60(%rbp)
LBB0_3:
	leaq	-64(%rbp), %rsi
	movq	%rax, %rdi
	callq	_mlx5_ib_post_send_wait
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX5_IB_SEND_UMR_FAIL_IF_FREE,4,2 ## @MLX5_IB_SEND_UMR_FAIL_IF_FREE
	.comm	_MLX5_IB_WR_UMR,4,2             ## @MLX5_IB_WR_UMR
	.comm	_IB_MR_REREG_PD,4,2             ## @IB_MR_REREG_PD
	.comm	_IB_MR_REREG_ACCESS,4,2         ## @IB_MR_REREG_ACCESS
	.comm	_MLX5_IB_SEND_UMR_UPDATE_PD_ACCESS,4,2 ## @MLX5_IB_SEND_UMR_UPDATE_PD_ACCESS
	.no_dead_strip	_rereg_umr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rereg_umr
_rereg_umr:                             ; @rereg_umr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x3
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	ldr	w0, [x0]
	bl	_to_mdev
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp]
Lloh0:
	adrp	x8, _MLX5_IB_SEND_UMR_FAIL_IF_FREE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX5_IB_SEND_UMR_FAIL_IF_FREE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MLX5_IB_WR_UMR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX5_IB_WR_UMR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #4]
	ldr	w9, [x22]
	str	w9, [sp, #24]
Lloh6:
	adrp	x9, _IB_MR_REREG_PD@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_MR_REREG_PD@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w21
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x9, _IB_MR_REREG_ACCESS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IB_MR_REREG_ACCESS@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w21
	b.eq	LBB0_3
LBB0_2:
	str	x20, [sp, #16]
Lloh12:
	adrp	x9, _MLX5_IB_SEND_UMR_UPDATE_PD_ACCESS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _MLX5_IB_SEND_UMR_UPDATE_PD_ACCESS@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
	stp	w19, w8, [sp]
LBB0_3:
	mov	x1, sp
	bl	_mlx5_ib_post_send_wait
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX5_IB_SEND_UMR_FAIL_IF_FREE,4,2 ; @MLX5_IB_SEND_UMR_FAIL_IF_FREE
	.comm	_MLX5_IB_WR_UMR,4,2             ; @MLX5_IB_WR_UMR
	.comm	_IB_MR_REREG_PD,4,2             ; @IB_MR_REREG_PD
	.comm	_IB_MR_REREG_ACCESS,4,2         ; @IB_MR_REREG_ACCESS
	.comm	_MLX5_IB_SEND_UMR_UPDATE_PD_ACCESS,4,2 ; @MLX5_IB_SEND_UMR_UPDATE_PD_ACCESS
	.no_dead_strip	_rereg_umr
.subsections_via_symbols
