	.file	"extr_i40e_main.c_i40e_vsi_reset_stats.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	i40e_vsi_reset_stats
	.type	i40e_vsi_reset_stats, @function
i40e_vsi_reset_stats:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L15
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	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	i40e_get_vsi_stats_struct@PLT
	mov	edx, 4
	xor	esi, esi
	mov	rdi, rax
	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
	lea	rdi, 24[rbx]
	mov	edx, 4
	xor	esi, esi
	call	memset@PLT
	mov	rax, QWORD PTR 16[rbx]
	test	rax, rax
	je	.L3
	mov	rdi, QWORD PTR [rax]
	test	rdi, rdi
	je	.L3
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	jle	.L3
	xor	ebp, ebp
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rax, QWORD PTR 16[rbx]
	mov	rdi, QWORD PTR 8[rax+r12]
.L4:
	add	rdi, 4
	mov	edx, 4
	xor	esi, esi
	call	memset@PLT
	mov	rax, QWORD PTR 16[rbx]
	mov	edx, 4
	xor	esi, esi
	lea	r12, 0[0+rbp*8]
	mov	rdi, QWORD PTR [rax+rbp*8]
	call	memset@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	edx, 4
	xor	esi, esi
	mov	rdi, QWORD PTR [rax+rbp*8]
	add	rdi, 4
	call	memset@PLT
	mov	rax, QWORD PTR 8[rbx]
	mov	edx, 4
	xor	esi, esi
	mov	rdi, QWORD PTR [rax+rbp*8]
	add	rbp, 1
	call	memset@PLT
	cmp	DWORD PTR [rbx], ebp
	jg	.L19
.L3:
	mov	DWORD PTR 4[rbx], 0
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	ret
	.cfi_endproc
.LFE0:
	.size	i40e_vsi_reset_stats, .-i40e_vsi_reset_stats
	.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_i40e_main.c_i40e_vsi_reset_stats.c"
	.text
	.align	2
	.global	i40e_vsi_reset_stats
	.syntax unified
	.arm
	.fpu softvfp
	.type	i40e_vsi_reset_stats, %function
i40e_vsi_reset_stats:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	subs	r4, r0, #0
	popeq	{r4, pc}
	bl	i40e_get_vsi_stats_struct
	mov	r2, #0
	add	ip, r4, #24
	strb	r2, [r0]
	strb	r2, [r0, #1]
	strb	r2, [r0, #2]
	strb	r2, [r0, #3]
	strb	r2, [r4, #24]
	strb	r2, [ip, #1]
	strb	r2, [ip, #2]
	strb	r2, [ip, #3]
	ldr	r3, [r4, #12]
	strb	r2, [r4, #20]
	cmp	r3, r2
	strb	r2, [r4, #21]
	strb	r2, [r4, #22]
	strb	r2, [r4, #23]
	strb	r2, [r4, #16]
	strb	r2, [r4, #17]
	strb	r2, [r4, #18]
	strb	r2, [r4, #19]
	beq	.L3
	ldr	r0, [r3]
	cmp	r0, r2
	beq	.L3
	ldr	r3, [r4]
	cmp	r3, r2
	ble	.L3
	mov	r3, r2
	b	.L4
.L16:
	ldr	r1, [r4, #12]
	add	r1, r1, ip
	ldr	r0, [r1, #4]
.L4:
	strb	r3, [r0, #4]
	strb	r3, [r0, #5]
	strb	r3, [r0, #6]
	strb	r3, [r0, #7]
	ldr	r0, [r4, #12]
	lsl	ip, r2, #2
	ldr	r1, [r0, r2, lsl #2]
	strb	r3, [r1]
	strb	r3, [r1, #1]
	strb	r3, [r1, #2]
	strb	r3, [r1, #3]
	ldr	r0, [r4, #8]
	ldr	r0, [r0, r2, lsl #2]
	strb	r3, [r0, #4]
	strb	r3, [r0, #5]
	strb	r3, [r0, #6]
	strb	r3, [r0, #7]
	ldr	r0, [r4, #8]
	ldr	r1, [r0, r2, lsl #2]
	add	r2, r2, #1
	strb	r3, [r1]
	strb	r3, [r1, #1]
	strb	r3, [r1, #2]
	strb	r3, [r1, #3]
	ldr	r0, [r4]
	cmp	r0, r2
	bgt	.L16
.L3:
	mov	r3, #0
	str	r3, [r4, #4]
	pop	{r4, pc}
	.size	i40e_vsi_reset_stats, .-i40e_vsi_reset_stats
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
