	.file	"extr_trans_rdma.c_handle_recv.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"req %p err %d status %d\n"
	.text
	.p2align 4
	.type	handle_recv, @function
handle_recv:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	edx, DWORD PTR 4[rdi]
	mov	esi, DWORD PTR 4[r13]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rbx]
	mov	ecx, DWORD PTR DMA_FROM_DEVICE[rip]
	mov	edi, DWORD PTR [rax]
	call	ib_dma_unmap_single@PLT
	cmp	DWORD PTR IB_WC_SUCCESS[rip], r12d
	je	.L11
.L2:
	xor	ecx, ecx
.L3:
	mov	edi, DWORD PTR P9_DEBUG_ERROR[rip]
	mov	r8d, r12d
	xor	edx, edx
	lea	rsi, .LC0[rip]
	call	P9_DPRINTK@PLT
	mov	eax, DWORD PTR P9_RDMA_FLUSHING[rip]
	mov	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR Disconnected[rip]
	mov	DWORD PTR 0[rbp], eax
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L12
	add	rsp, 24
	.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
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[r13]
	lea	rcx, 4[rsp]
	xor	edx, edx
	xor	esi, esi
	mov	r8d, 1
	call	p9_parse_header@PLT
	mov	ecx, eax
	test	eax, eax
	jne	.L3
	mov	esi, DWORD PTR 4[rsp]
	mov	rdi, rbp
	call	p9_tag_lookup@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L2
	mov	eax, DWORD PTR 0[r13]
	mov	rdi, rbp
	mov	DWORD PTR 4[rsi], eax
	mov	eax, DWORD PTR REQ_STATUS_RCVD[rip]
	mov	DWORD PTR [rsi], eax
	call	p9_client_cb@PLT
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	handle_recv, .-handle_recv
	.comm	REQ_STATUS_RCVD,4,4
	.comm	P9_RDMA_FLUSHING,4,4
	.comm	P9_DEBUG_ERROR,4,4
	.comm	IB_WC_SUCCESS,4,4
	.comm	Disconnected,4,4
	.comm	DMA_FROM_DEVICE,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_trans_rdma.c_handle_recv.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"req %p err %d status %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_recv, %function
handle_recv:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	mov	r7, r2
	mov	r6, r3
	ldr	r2, [r1, #4]
	ldr	r3, .L13
	ldr	ip, .L13+4
	ldr	r0, [r2]
	ldr	r3, [r3]
	sub	sp, sp, #20
	mov	r5, r1
	ldr	r2, [r4, #4]
	ldr	r1, [r7, #4]
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	bl	ib_dma_unmap_single
	ldr	r3, .L13+8
	ldr	r3, [r3]
	cmp	r3, r6
	beq	.L11
.L2:
	mov	r3, #0
.L3:
	ldr	r2, .L13+12
	str	r6, [sp]
	ldr	r0, [r2]
	ldr	r1, .L13+16
	mov	r2, #0
	bl	P9_DPRINTK
	ldr	r2, .L13+20
	ldr	r3, .L13+24
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	r2, [r5]
	str	r3, [r4]
.L1:
	ldr	r3, .L13+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	mov	r3, #1
	mov	r2, #0
	str	r3, [sp]
	mov	r1, r2
	add	r3, sp, #8
	ldr	r0, [r7]
	bl	p9_parse_header
	subs	r3, r0, #0
	bne	.L3
	ldr	r1, [sp, #8]
	mov	r0, r4
	bl	p9_tag_lookup
	subs	r1, r0, #0
	beq	.L2
	ldr	r3, .L13+28
	ldr	r2, [r7]
	ldr	r3, [r3]
	mov	r0, r4
	str	r2, [r1, #4]
	str	r3, [r1]
	bl	p9_client_cb
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	DMA_FROM_DEVICE
	.word	.LC1
	.word	IB_WC_SUCCESS
	.word	P9_DEBUG_ERROR
	.word	.LC0
	.word	P9_RDMA_FLUSHING
	.word	Disconnected
	.word	REQ_STATUS_RCVD
	.size	handle_recv, .-handle_recv
	.comm	REQ_STATUS_RCVD,4,4
	.comm	P9_RDMA_FLUSHING,4,4
	.comm	P9_DEBUG_ERROR,4,4
	.comm	IB_WC_SUCCESS,4,4
	.comm	Disconnected,4,4
	.comm	DMA_FROM_DEVICE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
