	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_ib_bind_mw                ## -- Begin function mlx4_ib_bind_mw
	.p2align	4, 0x90
_mlx4_ib_bind_mw:                       ## @mlx4_ib_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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	-64(%rbp), %r12
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_IB_WR_BIND_MW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movl	8(%rbx), %eax
	movl	%eax, -44(%rbp)
	movl	4(%rbx), %eax
	movl	%eax, -48(%rbp)
	movq	%r15, -56(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -60(%rbp)
	movl	(%r15), %edi
	callq	_ib_inc_rkey
	movl	%eax, -64(%rbp)
	leaq	-72(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_mlx4_ib_post_send
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-64(%rbp), %ecx
	movl	%ecx, (%r15)
LBB0_2:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_WR_BIND_MW,4,2              ## @IB_WR_BIND_MW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_ib_bind_mw                ; -- Begin function mlx4_ib_bind_mw
	.p2align	2
_mlx4_ib_bind_mw:                       ; @mlx4_ib_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
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh0:
	adrp	x8, _IB_WR_BIND_MW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_WR_BIND_MW@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #40]
	ldur	d0, [x20, #4]
	str	d0, [sp, #32]
	str	x19, [sp, #24]
	ldr	w8, [x20]
	str	w8, [sp, #20]
	ldr	w0, [x19]
	bl	_ib_inc_rkey
	str	w0, [sp, #16]
	add	x1, sp, #16
	add	x2, sp, #8
	mov	x0, x21
	bl	_mlx4_ib_post_send
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w8, [sp, #16]
	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	_IB_WR_BIND_MW,4,2              ; @IB_WR_BIND_MW
.subsections_via_symbols
