	.file	"extr_nfp_net_common.c_nfp_net_tx_tso.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	nfp_net_tx_tso, @function
nfp_net_tx_tso:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rcx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, r8d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	mov	rdi, rcx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	skb_is_gso@PLT
	test	eax, eax
	je	.L1
	mov	eax, DWORD PTR 4[r15]
	mov	rdi, r15
	test	eax, eax
	je	.L7
	call	skb_inner_network_offset@PLT
	mov	rdi, r15
	mov	DWORD PTR 8[rsp], eax
	call	skb_inner_transport_offset@PLT
	mov	rdi, r15
	mov	DWORD PTR 12[rsp], eax
	call	skb_inner_transport_header@PLT
	mov	rdi, r15
	sub	eax, DWORD PTR [r15]
	mov	r14d, eax
	call	inner_tcp_hdrlen@PLT
	add	r14d, eax
.L4:
	mov	rdi, r15
	call	skb_shinfo@PLT
	mov	rdi, r15
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 0[r13], eax
	sub	eax, 1
	imul	eax, r14d
	add	DWORD PTR 4[r13], eax
	sub	r14d, r12d
	call	skb_shinfo@PLT
	mov	r15d, DWORD PTR 8[rsp]
	mov	edi, DWORD PTR 4[rax]
	mov	eax, DWORD PTR 12[rsp]
	mov	DWORD PTR 8[rbx], r14d
	sub	r15d, r12d
	and	edi, DWORD PTR PCIE_DESC_TX_MSS_MASK[rip]
	sub	eax, r12d
	mov	DWORD PTR [rbx], r15d
	mov	DWORD PTR 4[rbx], eax
	call	cpu_to_le16@PLT
	mov	rdi, rbp
	mov	DWORD PTR 16[rbx], eax
	mov	eax, DWORD PTR PCIE_DESC_TX_LSO[rip]
	or	DWORD PTR 12[rbx], eax
	call	u64_stats_update_begin@PLT
	add	DWORD PTR 4[rbp], 1
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	u64_stats_update_end@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	call	skb_network_offset@PLT
	mov	rdi, r15
	mov	DWORD PTR 8[rsp], eax
	call	skb_transport_offset@PLT
	mov	rdi, r15
	mov	DWORD PTR 12[rsp], eax
	call	skb_transport_offset@PLT
	mov	rdi, r15
	mov	r14d, eax
	call	tcp_hdrlen@PLT
	add	r14d, eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 24
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	nfp_net_tx_tso, .-nfp_net_tx_tso
	.comm	PCIE_DESC_TX_MSS_MASK,4,4
	.comm	PCIE_DESC_TX_LSO,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_nfp_net_common.c_nfp_net_tx_tso.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nfp_net_tx_tso, %function
nfp_net_tx_tso:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r0
	mov	r0, r3
	mov	r4, r3
	mov	r7, r1
	mov	r5, r2
	ldr	fp, [sp, #40]
	bl	skb_is_gso
	cmp	r0, #0
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	ldr	r3, [r4, #4]
	mov	r0, r4
	cmp	r3, #0
	beq	.L7
	bl	skb_inner_network_offset
	mov	r8, r0
	mov	r0, r4
	bl	skb_inner_transport_offset
	mov	r10, r0
	mov	r0, r4
	bl	skb_inner_transport_header
	mov	r6, r0
	ldr	r3, [r4]
	mov	r0, r4
	sub	r6, r6, r3
	bl	inner_tcp_hdrlen
	add	r6, r6, r0
.L4:
	mov	r0, r4
	bl	skb_shinfo
	ldr	r2, [r0]
	ldr	r1, [r7, #4]
	sub	r3, r2, #1
	mla	r3, r6, r3, r1
	str	r2, [r7]
	str	r3, [r7, #4]
	mov	r0, r4
	bl	skb_shinfo
	ldr	r3, .L8
	ldr	r0, [r0, #4]
	ldr	r3, [r3]
	sub	r8, r8, fp
	sub	r10, r10, fp
	sub	r6, r6, fp
	str	r10, [r5, #4]
	str	r6, [r5, #8]
	and	r0, r0, r3
	str	r8, [r5]
	bl	cpu_to_le16
	ldr	r2, .L8+4
	ldr	r3, [r5, #12]
	ldr	r2, [r2]
	str	r0, [r5, #16]
	orr	r3, r3, r2
	str	r3, [r5, #12]
	mov	r0, r9
	bl	u64_stats_update_begin
	ldr	r3, [r9, #4]
	mov	r0, r9
	add	r3, r3, #1
	str	r3, [r9, #4]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	u64_stats_update_end
.L7:
	bl	skb_network_offset
	mov	r8, r0
	mov	r0, r4
	bl	skb_transport_offset
	mov	r10, r0
	mov	r0, r4
	bl	skb_transport_offset
	mov	r6, r0
	mov	r0, r4
	bl	tcp_hdrlen
	add	r6, r6, r0
	b	.L4
.L9:
	.align	2
.L8:
	.word	PCIE_DESC_TX_MSS_MASK
	.word	PCIE_DESC_TX_LSO
	.size	nfp_net_tx_tso, .-nfp_net_tx_tso
	.comm	PCIE_DESC_TX_MSS_MASK,4,4
	.comm	PCIE_DESC_TX_LSO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
