	.file	"extr_rxe_resp.c_duplicate_request.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed resending result. This flow is not handled - skb ignored\n"
	.text
	.p2align 4
	.type	duplicate_request, @function
duplicate_request:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	eax, DWORD PTR RXE_SEND_MASK[rip]
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	or	eax, DWORD PTR RXE_WRITE_MASK[rip]
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	edx, DWORD PTR [rsi]
	test	eax, edx
	jne	.L24
	mov	rsi, QWORD PTR 8[rsi]
	test	DWORD PTR RXE_READ_MASK[rip], edx
	je	.L5
	call	find_resource@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L12
	mov	rdi, rbp
	call	reth_va@PLT
	mov	rdi, rbp
	mov	r13, rax
	call	reth_len@PLT
	mov	r14, rax
	mov	rax, QWORD PTR 24[rbx]
	cmp	rax, r13
	jg	.L12
	mov	rdx, QWORD PTR 32[rbx]
	cmp	rdx, r14
	jl	.L12
	lea	rcx, 0[r13+r14]
	add	rax, rdx
	cmp	rcx, rax
	jle	.L8
	.p2align 4,,10
	.p2align 3
.L12:
	mov	eax, DWORD PTR RESPST_CLEANUP[rip]
.L4:
	endbr64
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	call	find_resource@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L12
	mov	edi, DWORD PTR 20[rax]
	call	skb_get@PLT
	mov	edx, DWORD PTR 20[rbx]
	mov	rsi, rbp
	mov	rdi, r12
	call	rxe_xmit_packet@PLT
	test	eax, eax
	je	.L12
	lea	rdi, .LC0[rip]
	call	pr_err@PLT
	mov	eax, DWORD PTR RESPST_CLEANUP[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L24:
	mov	ebx, DWORD PTR [rdi]
	mov	rdi, rsi
	mov	r13d, DWORD PTR BTH_PSN_MASK[rip]
	call	bth_ack@PLT
	test	rax, rax
	je	.L12
	lea	ecx, -1[rbx]
	mov	edx, DWORD PTR AETH_ACK_UNLIMITED[rip]
	mov	rsi, rbp
	mov	rdi, r12
	and	ecx, r13d
	movsx	rcx, ecx
	call	send_ack@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rdi, rbp
	call	reth_rkey@PLT
	cmp	rax, QWORD PTR 40[rbx]
	jne	.L12
	mov	rax, QWORD PTR 8[rbp]
	mov	edx, DWORD PTR rdatm_res_state_replay[rip]
	mov	QWORD PTR [rbx], rax
	cmp	rax, QWORD PTR 8[rbx]
	jne	.L11
	mov	edx, DWORD PTR rdatm_res_state_new[rip]
.L11:
	mov	DWORD PTR 64[rbx], edx
	mov	eax, DWORD PTR RESPST_READ_REPLY[rip]
	mov	DWORD PTR 16[rbx], 1
	mov	QWORD PTR 24[rbx], r13
	mov	QWORD PTR 56[rbx], r13
	mov	QWORD PTR 48[rbx], r14
	mov	QWORD PTR 8[r12], rbx
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	duplicate_request, .-duplicate_request
	.comm	rdatm_res_state_replay,4,4
	.comm	rdatm_res_state_new,4,4
	.comm	RXE_WRITE_MASK,4,4
	.comm	RXE_SEND_MASK,4,4
	.comm	RXE_READ_MASK,4,4
	.comm	RESPST_READ_REPLY,4,4
	.comm	RESPST_CLEANUP,4,4
	.comm	BTH_PSN_MASK,4,4
	.comm	AETH_ACK_UNLIMITED,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_rxe_resp.c_duplicate_request.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed resending result. This flow is not handled -"
	.ascii	" skb ignored\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	duplicate_request, %function
duplicate_request:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	ldr	r2, .L25
	ldr	r3, .L25+4
	ldr	r1, [r2]
	ldr	r3, [r3]
	ldr	r2, [r4]
	orr	r3, r3, r1
	tst	r3, r2
	mov	r5, r0
	bne	.L24
	ldr	r3, .L25+8
	ldr	r1, [r4, #4]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L5
	bl	find_resource
	subs	r7, r0, #0
	beq	.L12
	mov	r0, r4
	bl	reth_va
	mov	r6, r0
	mov	r0, r4
	bl	reth_len
	ldr	r3, [r7, #16]
	mov	r8, r0
	cmp	r3, r6
	bgt	.L12
	ldr	r2, [r7, #20]
	cmp	r2, r0
	blt	.L12
	add	r3, r3, r2
	add	r2, r6, r0
	cmp	r2, r3
	ble	.L8
.L12:
.L4:
	ldr	r3, .L25+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	bl	find_resource
	subs	r6, r0, #0
	beq	.L12
	ldr	r0, [r6, #12]
	bl	skb_get
	mov	r1, r4
	mov	r0, r5
	ldr	r2, [r6, #12]
	bl	rxe_xmit_packet
	cmp	r0, #0
	beq	.L12
	ldr	r0, .L25+16
	bl	pr_err
	ldr	r3, .L25+12
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L24:
	ldr	r3, .L25+20
	mov	r0, r4
	ldr	r7, [r3]
	ldr	r6, [r5]
	bl	bth_ack
	cmp	r0, #0
	beq	.L12
	ldr	r2, .L25+24
	sub	r3, r6, #1
	mov	r1, r4
	mov	r0, r5
	ldr	r2, [r2]
	and	r3, r3, r7
	bl	send_ack
	b	.L12
.L8:
	mov	r0, r4
	bl	reth_rkey
	ldr	r3, [r7, #24]
	cmp	r0, r3
	bne	.L12
	ldr	r3, [r4, #4]
	ldr	r2, [r7, #4]
	str	r3, [r7]
	cmp	r3, r2
	mov	r2, #1
	ldreq	r3, .L25+28
	ldrne	r3, .L25+32
	ldr	r3, [r3]
	str	r6, [r7, #16]
	str	r3, [r7, #36]
	ldr	r3, .L25+36
	str	r6, [r7, #32]
	str	r8, [r7, #28]
	str	r2, [r7, #8]
	ldr	r0, [r3]
	str	r7, [r5, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L26:
	.align	2
.L25:
	.word	RXE_WRITE_MASK
	.word	RXE_SEND_MASK
	.word	RXE_READ_MASK
	.word	RESPST_CLEANUP
	.word	.LC0
	.word	BTH_PSN_MASK
	.word	AETH_ACK_UNLIMITED
	.word	rdatm_res_state_new
	.word	rdatm_res_state_replay
	.word	RESPST_READ_REPLY
	.size	duplicate_request, .-duplicate_request
	.comm	rdatm_res_state_replay,4,4
	.comm	rdatm_res_state_new,4,4
	.comm	RXE_WRITE_MASK,4,4
	.comm	RXE_SEND_MASK,4,4
	.comm	RXE_READ_MASK,4,4
	.comm	RESPST_READ_REPLY,4,4
	.comm	RESPST_CLEANUP,4,4
	.comm	BTH_PSN_MASK,4,4
	.comm	AETH_ACK_UNLIMITED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
