	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_rereg_mr                  ## -- Begin function mlx5_rereg_mr
	.p2align	4, 0x90
_mlx5_rereg_mr:                         ## @mlx5_rereg_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rcx, %rax
	movq	_IBV_REREG_MR_KEEP_VALID@GOTPCREL(%rip), %rcx
	testl	%esi, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_ENOTSUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_2:
	movq	%rdx, %r10
	subq	$8, %rsp
	leaq	-16(%rbp), %r11
	leaq	-24(%rbp), %rbx
	movq	%rax, %rdx
	movq	%r8, %rcx
	movq	%rax, %r8
	pushq	$4
	pushq	%r11
	pushq	$4
	pushq	%rbx
	pushq	%r10
	callq	_ibv_cmd_rereg_mr
	addq	$48, %rsp
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IBV_REREG_MR_KEEP_VALID,4,2    ## @IBV_REREG_MR_KEEP_VALID
	.comm	_ENOTSUP,4,2                    ## @ENOTSUP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_rereg_mr                  ; -- Begin function mlx5_rereg_mr
	.p2align	2
_mlx5_rereg_mr:                         ; @mlx5_rereg_mr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x9, _IBV_REREG_MR_KEEP_VALID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IBV_REREG_MR_KEEP_VALID@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w1
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ENOTSUP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOTSUP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	LBB0_3
LBB0_2:
	mov	x8, x3
	mov	x6, x2
	mov	w9, #4
	str	w9, [sp, #16]
	sub	x10, x29, #16
	str	x10, [sp, #8]
	str	w9, [sp]
	sub	x7, x29, #8
	mov	x2, x3
	mov	x3, x4
	mov	x4, x8
	bl	_ibv_cmd_rereg_mr
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IBV_REREG_MR_KEEP_VALID,4,2    ; @IBV_REREG_MR_KEEP_VALID
	.comm	_ENOTSUP,4,2                    ; @ENOTSUP
.subsections_via_symbols
