	.file	"extr_mr.c_mlx4_ib_bind_mw.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	mlx4_ib_bind_mw
	.type	mlx4_ib_bind_mw, @function
mlx4_ib_bind_mw:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	mov	edx, 32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	xor	esi, esi
	sub	rsp, 72
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	lea	r13, 16[rsp]
	mov	rdi, r13
	call	memset@PLT
	mov	eax, DWORD PTR IB_WR_BIND_MW[rip]
	mov	edi, DWORD PTR [rbx]
	mov	QWORD PTR 24[rsp], rbx
	mov	DWORD PTR 40[rsp], eax
	mov	rax, QWORD PTR 4[rbp]
	mov	QWORD PTR 32[rsp], rax
	mov	eax, DWORD PTR 0[rbp]
	mov	DWORD PTR 20[rsp], eax
	call	ib_inc_rkey@PLT
	lea	rdx, 8[rsp]
	mov	rsi, r13
	mov	rdi, r12
	mov	DWORD PTR 16[rsp], eax
	call	mlx4_ib_post_send@PLT
	test	eax, eax
	jne	.L1
	mov	edx, DWORD PTR 16[rsp]
	mov	DWORD PTR [rbx], edx
.L1:
	mov	rcx, QWORD PTR 56[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L6
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L6:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	mlx4_ib_bind_mw, .-mlx4_ib_bind_mw
	.comm	IB_WR_BIND_MW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_mr.c_mlx4_ib_bind_mw.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mlx4_ib_bind_mw
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx4_ib_bind_mw, %function
mlx4_ib_bind_mw:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r1
	mov	r3, #0
	sub	sp, sp, #36
	mov	r5, r0
	ldr	r0, .L7
	str	r4, [sp, #12]
	ldr	r1, .L7+4
	ldr	r0, [r0]
	str	r0, [sp, #28]
	mov	r0,#0
	ldr	r0, [r2, #4]
	ldr	ip, [r2, #8]
	ldr	r1, [r1]
	ldr	r2, [r2]
	str	r0, [sp, #16]
	ldr	r0, [r4]
	str	ip, [sp, #20]
	str	r2, [sp, #8]
	str	r1, [sp, #24]
	str	r3, [sp, #4]
	bl	ib_inc_rkey
	mov	r3, r0
	mov	r2, sp
	mov	r0, r5
	add	r1, sp, #4
	str	r3, [sp, #4]
	bl	mlx4_ib_post_send
	cmp	r0, #0
	ldreq	r3, [sp, #4]
	streq	r3, [r4]
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	IB_WR_BIND_MW
	.size	mlx4_ib_bind_mw, .-mlx4_ib_bind_mw
	.comm	IB_WR_BIND_MW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
