	.file	"extr_ib_mad_rmpp.c_ack_recv.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ack_recv, @function
ack_recv:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR [rsi]
	mov	rbx, rsi
	mov	edi, DWORD PTR [rax]
	call	ib_get_mad_data_offset@PLT
	mov	rdx, QWORD PTR 8[rbx]
	mov	rdi, QWORD PTR 8[r12]
	xor	r9d, r9d
	mov	r8d, eax
	mov	eax, DWORD PTR IB_MGMT_BASE_VERSION[rip]
	mov	ecx, 1
	mov	esi, DWORD PTR 4[rdx]
	push	rax
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR GFP_KERNEL[rip]
	push	rax
	.cfi_def_cfa_offset 48
	mov	edx, DWORD PTR [rdx]
	call	ib_create_send_mad@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	pop	rdx
	.cfi_def_cfa_offset 40
	pop	rcx
	.cfi_def_cfa_offset 32
	test	rax, rax
	je	.L10
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, rbp
	mov	rdx, r12
	call	format_ack@PLT
	mov	eax, DWORD PTR [r12]
	xor	esi, esi
	mov	rdi, rbp
	mov	DWORD PTR 0[rbp], eax
	call	ib_post_send_mad@PLT
	test	eax, eax
	je	.L1
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ib_free_send_mad@PLT
	.cfi_endproc
.LFE0:
	.size	ack_recv, .-ack_recv
	.comm	IB_MGMT_BASE_VERSION,4,4
	.comm	GFP_KERNEL,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_ib_mad_rmpp.c_ack_recv.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ack_recv, %function
ack_recv:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, [r1]
	mov	r4, r1
	sub	sp, sp, #20
	mov	r5, r0
	ldr	r0, [r3]
	bl	ib_get_mad_data_offset
	mov	ip, #0
	ldr	r3, [r4, #4]
	ldr	r6, .L11
	ldr	lr, .L11+4
	ldr	r2, [r3]
	ldr	r1, [r3, #4]
	ldr	lr, [lr]
	ldr	r3, [r6]
	str	r0, [sp]
	ldr	r0, [r5, #4]
	str	lr, [sp, #12]
	str	r3, [sp, #8]
	str	ip, [sp, #4]
	mov	r3, #1
	bl	ib_create_send_mad
	mov	r6, r0
	bl	IS_ERR
	subs	r7, r0, #0
	beq	.L10
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	mov	r2, r5
	ldr	r1, [r4]
	mov	r0, r6
	bl	format_ack
	ldr	r3, [r5]
	mov	r1, r7
	mov	r0, r6
	str	r3, [r6]
	bl	ib_post_send_mad
	cmp	r0, #0
	beq	.L1
	mov	r0, r6
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, lr}
	b	ib_free_send_mad
.L12:
	.align	2
.L11:
	.word	GFP_KERNEL
	.word	IB_MGMT_BASE_VERSION
	.size	ack_recv, .-ack_recv
	.comm	IB_MGMT_BASE_VERSION,4,4
	.comm	GFP_KERNEL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
