	.file	"extr_ecore_iwarp.c_ecore_iwarp_mpa_classify.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"MPA_ALIGN: %s: fpdu_length=0x%x tcp_payload_len:0x%x\n"
	.text
	.p2align 4
	.type	ecore_iwarp_mpa_classify, @function
ecore_iwarp_mpa_classify:
.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, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	QWORD PTR 8[rsi], 0
	jne	.L8
	mov	edi, DWORD PTR [rcx]
	cmp	edx, 1
	je	.L9
	call	ntohs@PLT
	mov	edi, eax
	call	ECORE_IWARP_FPDU_LEN_WITH_PAD@PLT
	mov	r13d, DWORD PTR ECORE_IWARP_MPA_PKT_PACKED[rip]
	mov	DWORD PTR 0[rbp], eax
	cmp	eax, ebx
	cmovg	r13d, DWORD PTR ECORE_IWARP_MPA_PKT_PARTIAL[rip]
	mov	r8d, eax
.L3:
	mov	rax, QWORD PTR pkt_type_str[rip]
	mov	edx, r13d
	mov	r9d, ebx
	mov	rdi, r12
	mov	esi, DWORD PTR ECORE_MSG_RDMA[rip]
	mov	ecx, DWORD PTR [rax+rdx*4]
	lea	rdx, .LC0[rip]
	call	DP_VERBOSE@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
.L9:
	.cfi_restore_state
	sal	edi, 8
	mov	r13d, DWORD PTR ECORE_IWARP_MPA_PKT_PARTIAL[rip]
	mov	DWORD PTR 0[rbp], edi
	mov	r8d, edi
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	mov	r13d, DWORD PTR ECORE_IWARP_MPA_PKT_UNALIGNED[rip]
	mov	r8d, DWORD PTR [rsi]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	ecore_iwarp_mpa_classify, .-ecore_iwarp_mpa_classify
	.comm	pkt_type_str,8,8
	.comm	ECORE_MSG_RDMA,4,4
	.comm	ECORE_IWARP_MPA_PKT_UNALIGNED,4,4
	.comm	ECORE_IWARP_MPA_PKT_PARTIAL,4,4
	.comm	ECORE_IWARP_MPA_PKT_PACKED,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_ecore_iwarp.c_ecore_iwarp_mpa_classify.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"MPA_ALIGN: %s: fpdu_length=0x%x tcp_payload_len:0x%"
	.ascii	"x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ecore_iwarp_mpa_classify, %function
ecore_iwarp_mpa_classify:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	ip, [r1, #4]
	mov	r5, r1
	cmp	ip, #0
	mov	r6, r0
	mov	r4, r2
	sub	sp, sp, #8
	bne	.L8
	cmp	r2, #1
	ldr	r0, [r3]
	beq	.L9
	bl	ntohs
	bl	ECORE_IWARP_FPDU_LEN_WITH_PAD
	mov	ip, r0
	cmp	r0, r4
	ldrle	r3, .L10
	ldrgt	r3, .L10+4
	str	r0, [r5]
	ldr	r5, [r3]
.L3:
	ldr	r3, .L10+8
	ldr	r2, .L10+12
	ldr	r3, [r3]
	ldr	r1, [r2]
	ldr	r3, [r3, r5, lsl #2]
	mov	r0, r6
	ldr	r2, .L10+16
	str	r4, [sp, #4]
	str	ip, [sp]
	bl	DP_VERBOSE
	mov	r0, r5
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	ldr	r3, .L10+4
	lsl	ip, r0, #8
	str	ip, [r1]
	ldr	r5, [r3]
	b	.L3
.L8:
	ldr	r3, .L10+20
	ldr	ip, [r1]
	ldr	r5, [r3]
	b	.L3
.L11:
	.align	2
.L10:
	.word	ECORE_IWARP_MPA_PKT_PACKED
	.word	ECORE_IWARP_MPA_PKT_PARTIAL
	.word	pkt_type_str
	.word	ECORE_MSG_RDMA
	.word	.LC0
	.word	ECORE_IWARP_MPA_PKT_UNALIGNED
	.size	ecore_iwarp_mpa_classify, .-ecore_iwarp_mpa_classify
	.comm	pkt_type_str,4,4
	.comm	ECORE_MSG_RDMA,4,4
	.comm	ECORE_IWARP_MPA_PKT_UNALIGNED,4,4
	.comm	ECORE_IWARP_MPA_PKT_PARTIAL,4,4
	.comm	ECORE_IWARP_MPA_PKT_PACKED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
