	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_bind_mw                   ## -- Begin function mlx4_bind_mw
	.p2align	4, 0x90
_mlx4_bind_mw:                          ## @mlx4_bind_mw
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	$0, -32(%rbp)
	movq	_IBV_WR_BIND_MW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorps	%xmm0, %xmm0
	movups	%xmm0, -48(%rbp)
	movl	%eax, -40(%rbp)
	movl	8(%rdx), %eax
	movl	%eax, -52(%rbp)
	movl	4(%rdx), %eax
	movl	%eax, -56(%rbp)
	movq	%rsi, -64(%rbp)
	movl	(%rsi), %edi
	callq	_ibv_inc_rkey
	movl	%eax, -72(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -68(%rbp)
	leaq	-72(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	movq	%r15, %rdi
	callq	_mlx4_post_send
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-72(%rbp), %ecx
	movl	%ecx, (%r14)
LBB0_2:
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IBV_WR_BIND_MW,4,2             ## @IBV_WR_BIND_MW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_bind_mw                   ; -- Begin function mlx4_bind_mw
	.p2align	2
_mlx4_bind_mw:                          ; @mlx4_bind_mw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
	str	xzr, [sp, #40]
Lloh0:
	adrp	x8, _IBV_WR_BIND_MW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IBV_WR_BIND_MW@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	xzr, xzr, [sp, #24]
	str	w8, [sp, #32]
	ldur	d0, [x2, #4]
	str	d0, [sp, #16]
	str	x1, [sp, #8]
	ldr	w0, [x1]
	bl	_ibv_inc_rkey
	ldr	w8, [x20]
	stp	w0, w8, [sp]
	mov	x1, sp
	add	x2, sp, #40
	mov	x0, x21
	bl	_mlx4_post_send
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w8, [sp]
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IBV_WR_BIND_MW,4,2             ; @IBV_WR_BIND_MW
.subsections_via_symbols
