	.file	"extr_bnx2x_cmn.c_bnx2x_tpa_start.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"start of bin not in stop [%d]\n"
	.text
	.p2align 4
	.type	bnx2x_tpa_start, @function
bnx2x_tpa_start:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, r8
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	sal	rbx, 6
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR 32[rdi]
	add	rbx, QWORD PTR 16[rdi]
	mov	QWORD PTR 16[rsp], rdx
	mov	r14, QWORD PTR 40[rdi]
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR 24[rdi]
	mov	QWORD PTR 24[rsp], rax
	mov	rax, QWORD PTR BNX2X_TPA_STOP[rip]
	cmp	QWORD PTR [rbx], rax
	je	.L2
	lea	rdi, .LC0[rip]
	call	BNX2X_ERR@PLT
.L2:
	mov	edx, DWORD PTR 12[r13]
	mov	ecx, DWORD PTR DMA_FROM_DEVICE[rip]
	mov	rdi, QWORD PTR [r14]
	mov	rsi, QWORD PTR NET_SKB_PAD[rip]
	add	rsi, QWORD PTR 56[rbx]
	call	dma_map_single@PLT
	mov	rdi, QWORD PTR [r14]
	mov	esi, eax
	mov	r15d, eax
	call	dma_mapping_error@PLT
	mov	edi, eax
	call	unlikely@PLT
	test	rax, rax
	jne	.L7
	mov	rax, QWORD PTR 8[rsp]
	mov	edx, r15d
	mov	esi, r15d
	lea	rdi, [rax+r12*8]
	mov	rax, QWORD PTR 56[rbx]
	sal	r12, 4
	add	r12, QWORD PTR 24[rsp]
	mov	QWORD PTR [rdi], rax
	call	dma_unmap_addr_set@PLT
	mov	edi, r15d
	call	U64_HI@PLT
	mov	edi, eax
	call	cpu_to_le32@PLT
	mov	edi, r15d
	mov	QWORD PTR 8[r12], rax
	call	U64_LO@PLT
	mov	edi, eax
	call	cpu_to_le32@PLT
	mov	rcx, QWORD PTR 16[rsp]
	mov	edi, DWORD PTR 16[rbp]
	mov	QWORD PTR [r12], rax
	mov	rax, QWORD PTR 8[rsp]
	mov	rax, QWORD PTR [rax+rcx*8]
	mov	QWORD PTR 56[rbx], rax
	call	le16_to_cpu@PLT
	mov	edi, DWORD PTR 12[rbp]
	mov	QWORD PTR 48[rbx], rax
	call	le16_to_cpu@PLT
	mov	edi, DWORD PTR 8[rbp]
	mov	QWORD PTR 40[rbx], rax
	mov	rax, QWORD PTR BNX2X_TPA_START[rip]
	mov	QWORD PTR [rbx], rax
	call	le16_to_cpu@PLT
	mov	rsi, rbp
	mov	rdi, r14
	mov	QWORD PTR 32[rbx], rax
	mov	eax, DWORD PTR 4[rbp]
	mov	DWORD PTR 28[rbx], eax
	call	bnx2x_get_rxhash@PLT
	mov	DWORD PTR 24[rbx], eax
	mov	rax, QWORD PTR TPA_MODE_GRO[rip]
	cmp	QWORD PTR 0[r13], rax
	je	.L8
	add	rsp, 40
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdx, r12
	mov	rdi, r13
	call	bnx2x_reuse_rx_data@PLT
	mov	rax, QWORD PTR BNX2X_TPA_ERROR[rip]
	mov	QWORD PTR [rbx], rax
	add	rsp, 40
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	call	le16_to_cpu@PLT
	xor	edx, edx
	mov	rcx, rax
	mov	rax, QWORD PTR SGE_PAGES[rip]
	mov	QWORD PTR 16[rbx], rcx
	div	rcx
	imul	rax, rcx
	mov	QWORD PTR 8[rbx], rax
	add	rsp, 40
	.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	bnx2x_tpa_start, .-bnx2x_tpa_start
	.comm	TPA_MODE_GRO,8,8
	.comm	SGE_PAGES,8,8
	.comm	NET_SKB_PAD,8,8
	.comm	NETIF_MSG_RX_STATUS,4,4
	.comm	DMA_FROM_DEVICE,4,4
	.comm	BNX2X_TPA_STOP,8,8
	.comm	BNX2X_TPA_START,8,8
	.comm	BNX2X_TPA_ERROR,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_bnx2x_cmn.c_bnx2x_tpa_start.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"start of bin not in stop [%d]\012\000"
	.global	__aeabi_uidiv
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2x_tpa_start, %function
bnx2x_tpa_start:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, r0
	ldr	r8, [r0, #12]
	add	r4, r1, r1, lsl #3
	ldr	r0, .L9
	lsl	r10, r4, #2
	mov	r6, r3
	ldr	r3, [r5, #20]
	sub	sp, sp, #20
	ldr	ip, [r8, r10]
	ldr	r0, [r0]
	str	r3, [sp, #4]
	ldr	r3, [r5, #16]
	cmp	ip, r0
	ldr	r9, [r5, #24]
	ldr	r7, [sp, #56]
	str	r2, [sp, #12]
	add	r4, r8, r4, lsl #2
	str	r3, [sp, #8]
	beq	.L2
	ldr	r0, .L9+4
	bl	BNX2X_ERR
.L2:
	ldr	r3, .L9+8
	ldr	r1, [r4, #32]
	ldr	r2, [r3]
	ldr	r3, .L9+12
	add	r1, r1, r2
	ldr	r3, [r3]
	ldr	r2, [r5, #8]
	ldr	r0, [r9]
	bl	dma_map_single
	mov	fp, r0
	ldr	r0, [r9]
	mov	r1, fp
	bl	dma_mapping_error
	bl	unlikely
	cmp	r0, #0
	bne	.L7
	ldr	r3, [r4, #32]
	ldr	r0, [sp, #4]
	mov	r2, fp
	str	r3, [r0, r6, lsl #2]
	mov	r1, fp
	add	r0, r0, r6, lsl #2
	bl	dma_unmap_addr_set
	mov	r0, fp
	bl	U64_HI
	bl	cpu_to_le32
	mov	r2, r0
	ldr	r1, [sp, #8]
	mov	r0, fp
	add	r3, r1, r6, lsl #3
	str	r2, [r3, #4]
	bl	U64_LO
	bl	cpu_to_le32
	ldr	r2, [sp, #12]
	ldr	r3, [sp, #4]
	ldr	r1, [sp, #8]
	ldr	r3, [r3, r2, lsl #2]
	str	r0, [r1, r6, lsl #3]
	ldr	r0, [r7, #16]
	str	r3, [r4, #32]
	bl	le16_to_cpu
	mov	r3, r0
	ldr	r0, [r7, #12]
	str	r3, [r4, #28]
	bl	le16_to_cpu
	ldr	r3, .L9+16
	str	r0, [r4, #24]
	ldr	r3, [r3]
	ldr	r0, [r7, #8]
	str	r3, [r8, r10]
	bl	le16_to_cpu
	ldr	r3, [r7, #4]
	mov	r1, r7
	str	r0, [r4, #20]
	str	r3, [r4, #16]
	mov	r0, r9
	bl	bnx2x_get_rxhash
	ldr	r3, .L9+20
	ldr	r2, [r5]
	ldr	r3, [r3]
	str	r0, [r4, #12]
	cmp	r2, r3
	beq	.L8
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
	mov	r2, r6
	mov	r0, r5
	ldr	r1, [sp, #12]
	bl	bnx2x_reuse_rx_data
	ldr	r3, .L9+24
	ldr	r3, [r3]
	str	r3, [r8, r10]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L8:
	ldr	r0, [r7]
	bl	le16_to_cpu
	ldr	r3, .L9+28
	mov	r5, r0
	mov	r1, r0
	ldr	r0, [r3]
	bl	__aeabi_uidiv
	mul	r0, r5, r0
	stmib	r4, {r0, r5}
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L10:
	.align	2
.L9:
	.word	BNX2X_TPA_STOP
	.word	.LC0
	.word	NET_SKB_PAD
	.word	DMA_FROM_DEVICE
	.word	BNX2X_TPA_START
	.word	TPA_MODE_GRO
	.word	BNX2X_TPA_ERROR
	.word	SGE_PAGES
	.size	bnx2x_tpa_start, .-bnx2x_tpa_start
	.comm	TPA_MODE_GRO,4,4
	.comm	SGE_PAGES,4,4
	.comm	NET_SKB_PAD,4,4
	.comm	NETIF_MSG_RX_STATUS,4,4
	.comm	DMA_FROM_DEVICE,4,4
	.comm	BNX2X_TPA_STOP,4,4
	.comm	BNX2X_TPA_START,4,4
	.comm	BNX2X_TPA_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
