	.file	"extr_mlx4_en_netdev.c_mlx4_en_clear_stats.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Failed dumping statistics\n"
	.text
	.p2align 4
	.type	mlx4_en_clear_stats, @function
mlx4_en_clear_stats:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	netdev_priv@PLT
	mov	rbp, QWORD PTR 48[rax]
	mov	rbx, rax
	mov	edi, DWORD PTR 0[rbp]
	call	mlx4_is_slave@PLT
	test	eax, eax
	je	.L16
.L3:
	lea	rdi, 36[rbx]
	mov	edx, 4
	xor	esi, esi
	call	memset@PLT
	lea	rdi, 32[rbx]
	mov	edx, 4
	xor	esi, esi
	call	memset@PLT
	lea	rdi, 28[rbx]
	mov	edx, 4
	xor	esi, esi
	call	memset@PLT
	mov	edx, 4
	lea	rdi, 24[rbx]
	xor	esi, esi
	call	memset@PLT
	mov	edx, DWORD PTR [rbx]
	test	edx, edx
	jle	.L5
	mov	rax, QWORD PTR 16[rbx]
	lea	ecx, -1[rdx]
	lea	rdx, 8[rax]
	lea	rcx, [rdx+rcx*8]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L17:
	add	rdx, 8
.L6:
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 24[rax], 0
	mov	QWORD PTR 16[rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	QWORD PTR [rax], 0
	mov	rax, rdx
	cmp	rdx, rcx
	jne	.L17
.L5:
	mov	edx, DWORD PTR 4[rbx]
	test	edx, edx
	jle	.L1
	mov	rax, QWORD PTR 8[rbx]
	lea	ecx, -1[rdx]
	lea	rdx, 8[rax]
	lea	rcx, [rdx+rcx*8]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L18:
	add	rdx, 8
.L8:
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 24[rax], 0
	mov	QWORD PTR 16[rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	QWORD PTR [rax], 0
	mov	rax, rdx
	cmp	rdx, rcx
	jne	.L18
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	esi, DWORD PTR 40[rbx]
	mov	edx, 1
	mov	rdi, rbp
	call	mlx4_en_DUMP_ETH_STATS@PLT
	test	rax, rax
	je	.L3
	mov	edi, DWORD PTR HW[rip]
	lea	rdx, .LC0[rip]
	mov	rsi, rbx
	call	en_dbg@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	mlx4_en_clear_stats, .-mlx4_en_clear_stats
	.comm	HW,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_mlx4_en_netdev.c_mlx4_en_clear_stats.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed dumping statistics\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mlx4_en_clear_stats, %function
mlx4_en_clear_stats:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	bl	netdev_priv
	ldr	r5, [r0, #36]
	mov	r4, r0
	ldr	r0, [r5]
	bl	mlx4_is_slave
	cmp	r0, #0
	beq	.L16
.L3:
	mov	r3, #0
	ldr	r0, [r4]
	strb	r3, [r4, #28]
	cmp	r0, r3
	strb	r3, [r4, #29]
	strb	r3, [r4, #30]
	strb	r3, [r4, #31]
	strb	r3, [r4, #24]
	strb	r3, [r4, #25]
	strb	r3, [r4, #26]
	strb	r3, [r4, #27]
	strb	r3, [r4, #20]
	strb	r3, [r4, #21]
	strb	r3, [r4, #22]
	strb	r3, [r4, #23]
	strb	r3, [r4, #16]
	strb	r3, [r4, #17]
	strb	r3, [r4, #18]
	strb	r3, [r4, #19]
	ble	.L5
	ldr	r1, [r4, #12]
	sub	r1, r1, #4
	add	r0, r1, r0, lsl #2
.L6:
	ldr	r2, [r1, #4]!
	cmp	r1, r0
	str	r3, [r2, #12]
	str	r3, [r2, #8]
	str	r3, [r2, #4]
	str	r3, [r2]
	bne	.L6
.L5:
	ldr	r0, [r4, #4]
	cmp	r0, #0
	pople	{r4, r5, r6, pc}
	mov	r2, #0
	ldr	r1, [r4, #8]
	sub	r1, r1, #4
	add	r0, r1, r0, lsl #2
.L8:
	ldr	r3, [r1, #4]!
	cmp	r1, r0
	str	r2, [r3, #12]
	str	r2, [r3, #8]
	str	r2, [r3, #4]
	str	r2, [r3]
	bne	.L8
	pop	{r4, r5, r6, pc}
.L16:
	mov	r0, r5
	mov	r2, #1
	ldr	r1, [r4, #32]
	bl	mlx4_en_DUMP_ETH_STATS
	cmp	r0, #0
	beq	.L3
	ldr	r3, .L17
	mov	r1, r4
	ldr	r2, .L17+4
	ldr	r0, [r3]
	bl	en_dbg
	b	.L3
.L18:
	.align	2
.L17:
	.word	HW
	.word	.LC0
	.size	mlx4_en_clear_stats, .-mlx4_en_clear_stats
	.comm	HW,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
