	.file	"extr_rxe_loc.h_rxe_xmit_packet.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Packet dropped. QP is not in ready state\n"
	.text
	.p2align 4
	.type	rxe_xmit_packet, @function
rxe_xmit_packet:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	edi, DWORD PTR 24[rdi]
	mov	rbx, rsi
	mov	r13d, DWORD PTR [rsi]
	and	r13d, DWORD PTR RXE_REQ_MASK[rip]
	call	to_rdev@PLT
	mov	r14, rax
	mov	rax, QWORD PTR QP_STATE_READY[rip]
	test	r13d, r13d
	jne	.L17
	cmp	QWORD PTR 8[rbp], rax
	je	.L4
.L3:
	lea	rdi, .LC0[rip]
	call	pr_info@PLT
	mov	rdi, r12
	xor	r12d, r12d
	call	kfree_skb@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L17:
	.cfi_restore_state
	cmp	QWORD PTR 16[rbp], rax
	jne	.L3
.L4:
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR RXE_LOOPBACK_MASK[rip], eax
	jne	.L18
	mov	rsi, r12
	mov	rdi, rbx
	call	rxe_send@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L19
.L7:
	mov	rdi, rbp
	call	qp_type@PLT
	cmp	rax, QWORD PTR IB_QPT_RC[rip]
	je	.L8
	mov	eax, DWORD PTR [rbx]
	test	DWORD PTR RXE_END_MASK[rip], eax
	jne	.L20
.L8:
	mov	esi, DWORD PTR RXE_CNT_SENT_PKTS[rip]
	mov	rdi, r14
	xor	r12d, r12d
	call	rxe_counter_inc@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L18:
	.cfi_restore_state
	mov	rdi, r12
	call	SKB_TO_PKT@PLT
	mov	edx, 16
	mov	rsi, rbx
	mov	edi, eax
	call	memcpy@PLT
	mov	rdi, r12
	call	rxe_loopback@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rax, QWORD PTR 8[rbx]
	mov	edx, DWORD PTR wqe_state_done[rip]
	mov	esi, 1
	mov	rdi, rbp
	mov	DWORD PTR [rax], edx
	call	rxe_run_task@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L19:
	add	DWORD PTR [r14], 1
	mov	esi, DWORD PTR RXE_CNT_SEND_ERR[rip]
	mov	rdi, r14
	call	rxe_counter_inc@PLT
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.cfi_endproc
.LFE0:
	.size	rxe_xmit_packet, .-rxe_xmit_packet
	.comm	wqe_state_done,4,4
	.comm	RXE_REQ_MASK,4,4
	.comm	RXE_LOOPBACK_MASK,4,4
	.comm	RXE_END_MASK,4,4
	.comm	RXE_CNT_SENT_PKTS,4,4
	.comm	RXE_CNT_SEND_ERR,4,4
	.comm	QP_STATE_READY,8,8
	.comm	IB_QPT_RC,8,8
	.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_loc.h_rxe_xmit_packet.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Packet dropped. QP is not in ready state\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rxe_xmit_packet, %function
rxe_xmit_packet:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L21
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r3]
	ldr	r7, [r1]
	mov	r5, r0
	ldr	r0, [r0, #12]
	and	r7, r7, r3
	mov	r4, r1
	mov	r6, r2
	bl	to_rdev
	cmp	r7, #0
	ldr	r3, .L21+4
	mov	r7, r0
	bne	.L17
	ldr	r2, [r5, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L4
.L3:
	ldr	r0, .L21+8
	bl	pr_info
	mov	r0, r6
	mov	r6, #0
	bl	kfree_skb
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L17:
	ldr	r2, [r5, #8]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L3
.L4:
	ldr	r3, .L21+12
	ldr	r2, [r4]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L18
	mov	r1, r6
	mov	r0, r4
	bl	rxe_send
	subs	r6, r0, #0
	bne	.L19
.L7:
	mov	r0, r5
	bl	qp_type
	ldr	r3, .L21+16
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L8
	ldr	r3, .L21+20
	ldr	r2, [r4]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L20
.L8:
	mov	r6, #0
	ldr	r3, .L21+24
	mov	r0, r7
	ldr	r1, [r3]
	bl	rxe_counter_inc
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L18:
	mov	r0, r6
	bl	SKB_TO_PKT
	mov	r2, #8
	mov	r1, r4
	bl	memcpy
	mov	r0, r6
	bl	rxe_loopback
	b	.L7
.L20:
	ldr	r2, .L21+28
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	mov	r0, r5
	mov	r1, #1
	str	r2, [r3]
	bl	rxe_run_task
	b	.L8
.L19:
	ldr	r3, [r7]
	ldr	r2, .L21+32
	add	r3, r3, #1
	str	r3, [r7]
	mov	r0, r7
	ldr	r1, [r2]
	bl	rxe_counter_inc
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L22:
	.align	2
.L21:
	.word	RXE_REQ_MASK
	.word	QP_STATE_READY
	.word	.LC0
	.word	RXE_LOOPBACK_MASK
	.word	IB_QPT_RC
	.word	RXE_END_MASK
	.word	RXE_CNT_SENT_PKTS
	.word	wqe_state_done
	.word	RXE_CNT_SEND_ERR
	.size	rxe_xmit_packet, .-rxe_xmit_packet
	.comm	wqe_state_done,4,4
	.comm	RXE_REQ_MASK,4,4
	.comm	RXE_LOOPBACK_MASK,4,4
	.comm	RXE_END_MASK,4,4
	.comm	RXE_CNT_SENT_PKTS,4,4
	.comm	RXE_CNT_SEND_ERR,4,4
	.comm	QP_STATE_READY,4,4
	.comm	IB_QPT_RC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
