	.file	"extr_mvpp2_main.c_mvpp2_txq_sent_counter_clear.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mvpp2_txq_sent_counter_clear, @function
mvpp2_txq_sent_counter_clear:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	eax, eax
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	call	smp_processor_id@PLT
	mov	rdx, QWORD PTR 8[rbx]
	cmp	rax, QWORD PTR [rdx]
	jg	.L1
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	jle	.L1
	xor	ebp, ebp
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 16[rbx]
	mov	rax, QWORD PTR [rax+rbp*8]
	add	rbp, 1
	mov	edi, DWORD PTR [rax]
	call	MVPP2_TXQ_SENT_REG@PLT
	mov	r12d, eax
	xor	eax, eax
	call	smp_processor_id@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	rsi, rax
	call	mvpp2_cpu_to_thread@PLT
	mov	rdi, QWORD PTR 8[rbx]
	mov	edx, r12d
	mov	esi, eax
	call	mvpp2_thread_read@PLT
	cmp	DWORD PTR [rbx], ebp
	jg	.L3
.L1:
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	mvpp2_txq_sent_counter_clear, .-mvpp2_txq_sent_counter_clear
	.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_mvpp2_main.c_mvpp2_txq_sent_counter_clear.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mvpp2_txq_sent_counter_clear, %function
mvpp2_txq_sent_counter_clear:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	bl	smp_processor_id
	ldr	r7, [r6, #4]
	ldr	r3, [r7]
	cmp	r0, r3
	popgt	{r4, r5, r6, r7, r8, pc}
	ldr	r3, [r6]
	cmp	r3, #0
	pople	{r4, r5, r6, r7, r8, pc}
	mov	r4, #0
.L3:
	ldr	r3, [r6, #8]
	ldr	r3, [r3, r4, lsl #2]
	add	r4, r4, #1
	ldr	r8, [r3]
	bl	smp_processor_id
	mov	r1, r0
	mov	r0, r7
	bl	mvpp2_cpu_to_thread
	mov	r5, r0
	mov	r0, r8
	bl	MVPP2_TXQ_SENT_REG
	mov	r1, r5
	mov	r2, r0
	mov	r0, r7
	bl	mvpp2_thread_read
	ldr	r3, [r6]
	cmp	r3, r4
	pople	{r4, r5, r6, r7, r8, pc}
	ldr	r7, [r6, #4]
	b	.L3
	.size	mvpp2_txq_sent_counter_clear, .-mvpp2_txq_sent_counter_clear
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
