	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_vsi_reset_stats           ## -- Begin function i40e_vsi_reset_stats
	.p2align	4, 0x90
_i40e_vsi_reset_stats:                  ## @i40e_vsi_reset_stats
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_i40e_get_vsi_stats_struct
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	32(%r14), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	28(%r14), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	24(%r14), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	16(%r14), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.3:
	cmpl	$0, (%r14)
	jle	LBB0_7
## %bb.4:
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	addq	$4, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	16(%r14), %rax
	movq	-8(%rax,%rbx,8), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	8(%r14), %rax
	movq	-8(%rax,%rbx,8), %rdi
	addq	$4, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	8(%r14), %rax
	movq	-8(%rax,%rbx,8), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movslq	(%r14), %rax
	cmpq	%rax, %rbx
	jge	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r14), %rax
	movq	(%rax,%rbx,8), %rdi
	incq	%rbx
	jmp	LBB0_5
LBB0_7:
	movl	$0, 4(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
LBB0_8:
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_vsi_reset_stats           ; -- Begin function i40e_vsi_reset_stats
	.p2align	2
_i40e_vsi_reset_stats:                  ; @i40e_vsi_reset_stats
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_8
; %bb.1:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	_i40e_get_vsi_stats_struct
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, x19, #32
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, x19, #28
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, x19, #24
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.3:
	ldr	w9, [x19]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.4:
	mov	x20, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x8, #4
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x19, #16]
	lsl	x21, x20, #3
	ldr	x0, [x8, x21]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x21]
	add	x0, x8, #4
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x21]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x9, x20, #1
	ldrsw	x8, [x19]
	cmp	x9, x8
	b.ge	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #16]
	add	x8, x8, x20, lsl #3
	ldr	x8, [x8, #8]
	mov	x20, x9
	b	LBB0_5
LBB0_7:
	str	wzr, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
LBB0_8:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
