	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nic_reset_stat_counters
_nic_reset_stat_counters:               ## @nic_reset_stat_counters
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_RX_STATS_ENUM_LAST@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_5
## %bb.1:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	addl	$8, %r13d
	cmpl	(%r15), %ebx
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %r14d
	movl	%ebx, %edi
	callq	_BIT
	testl	%r14d, %eax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_NIC_QS_ID_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	shll	%cl, %eax
	movq	_NIC_PF_VNIC_0_127_RX_STAT_0_13@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	%r13d, %esi
	orl	%eax, %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_nic_reg_write
	jmp	LBB0_4
LBB0_5:
	movq	_TX_STATS_ENUM_LAST@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_10
## %bb.6:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	incl	%ebx
	addl	$8, %r13d
	cmpl	(%r15), %ebx
	jge	LBB0_10
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r12), %r14d
	movl	%ebx, %edi
	callq	_BIT
	testl	%r14d, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_NIC_QS_ID_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	shll	%cl, %eax
	movq	_NIC_PF_VNIC_0_127_TX_STAT_0_4@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	%r13d, %esi
	orl	%eax, %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_nic_reg_write
	jmp	LBB0_9
LBB0_10:
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	incl	%r13d
	addl	$8, %r14d
	cmpl	$16, %r13d
	je	LBB0_16
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %eax
	shrl	%eax
	movq	_NIC_QS_ID_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	shll	%cl, %edx
	movq	_NIC_Q_NUM_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	shll	%cl, %eax
	movl	%r14d, %ebx
	andl	$8, %ebx
	orl	%edx, %ebx
	orl	%eax, %ebx
	movl	8(%r12), %r15d
	movl	%r13d, %edi
	callq	_BIT
	testl	%r15d, %eax
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_NIC_PF_QSET_0_127_RQ_0_7_STAT_0_1@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_nic_reg_write
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	12(%r12), %r15d
	movl	%r13d, %edi
	callq	_BIT
	testl	%r15d, %eax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_NIC_PF_QSET_0_127_SQ_0_7_STAT_0_1@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_nic_reg_write
	jmp	LBB0_15
LBB0_16:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_STATS_ENUM_LAST,4,2         ## @RX_STATS_ENUM_LAST
	.comm	_NIC_PF_VNIC_0_127_RX_STAT_0_13,4,2 ## @NIC_PF_VNIC_0_127_RX_STAT_0_13
	.comm	_NIC_QS_ID_SHIFT,4,2            ## @NIC_QS_ID_SHIFT
	.comm	_TX_STATS_ENUM_LAST,4,2         ## @TX_STATS_ENUM_LAST
	.comm	_NIC_PF_VNIC_0_127_TX_STAT_0_4,4,2 ## @NIC_PF_VNIC_0_127_TX_STAT_0_4
	.comm	_NIC_Q_NUM_SHIFT,4,2            ## @NIC_Q_NUM_SHIFT
	.comm	_NIC_PF_QSET_0_127_RQ_0_7_STAT_0_1,4,2 ## @NIC_PF_QSET_0_127_RQ_0_7_STAT_0_1
	.comm	_NIC_PF_QSET_0_127_SQ_0_7_STAT_0_1,4,2 ## @NIC_PF_QSET_0_127_SQ_0_7_STAT_0_1
	.no_dead_strip	_nic_reset_stat_counters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nic_reset_stat_counters
_nic_reset_stat_counters:               ; @nic_reset_stat_counters
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _RX_STATS_ENUM_LAST@GOTPAGE
Lloh1:
	ldr	x23, [x23, _RX_STATS_ENUM_LAST@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh2:
	adrp	x24, _NIC_QS_ID_SHIFT@GOTPAGE
Lloh3:
	ldr	x24, [x24, _NIC_QS_ID_SHIFT@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	w25, #0
	mov	w22, #0
Lloh4:
	adrp	x26, _NIC_PF_VNIC_0_127_RX_STAT_0_13@GOTPAGE
Lloh5:
	ldr	x26, [x26, _NIC_PF_VNIC_0_127_RX_STAT_0_13@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w22, w22, #1
	ldr	w8, [x23]
	add	w25, w25, #8
	cmp	w22, w8
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w27, [x19]
	mov	x0, x22
	bl	_BIT
	tst	w0, w27
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x26]
	ldr	w9, [x24]
	lsl	w9, w20, w9
	orr	w8, w8, w25
	orr	w1, w8, w9
	mov	x0, x21
	mov	w2, #0
	bl	_nic_reg_write
	b	LBB0_2
LBB0_5:
Lloh6:
	adrp	x23, _TX_STATS_ENUM_LAST@GOTPAGE
Lloh7:
	ldr	x23, [x23, _TX_STATS_ENUM_LAST@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.6:
	mov	w25, #0
	mov	w22, #0
Lloh8:
	adrp	x26, _NIC_PF_VNIC_0_127_TX_STAT_0_4@GOTPAGE
Lloh9:
	ldr	x26, [x26, _NIC_PF_VNIC_0_127_TX_STAT_0_4@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w22, w22, #1
	ldr	w8, [x23]
	add	w25, w25, #8
	cmp	w22, w8
	b.ge	LBB0_10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w27, [x19, #4]
	mov	x0, x22
	bl	_BIT
	tst	w0, w27
	b.eq	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x26]
	ldr	w9, [x24]
	lsl	w9, w20, w9
	orr	w8, w8, w25
	orr	w1, w8, w9
	mov	x0, x21
	mov	w2, #0
	bl	_nic_reg_write
	b	LBB0_7
LBB0_10:
	mov	w25, #0
	mov	w22, #0
Lloh10:
	adrp	x26, _NIC_Q_NUM_SHIFT@GOTPAGE
Lloh11:
	ldr	x26, [x26, _NIC_Q_NUM_SHIFT@GOTPAGEOFF]
Lloh12:
	adrp	x28, _NIC_PF_QSET_0_127_RQ_0_7_STAT_0_1@GOTPAGE
Lloh13:
	ldr	x28, [x28, _NIC_PF_QSET_0_127_RQ_0_7_STAT_0_1@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	w22, w22, #1
	add	w25, w25, #8
	cmp	w22, #16
	b.eq	LBB0_16
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	lsr	w8, w22, #1
	ldr	w9, [x24]
	lsl	w9, w20, w9
	ldr	w10, [x26]
	lsl	w8, w8, w10
	and	w10, w25, #0x8
	orr	w9, w9, w10
	orr	w23, w9, w8
	ldr	w27, [x19, #8]
	mov	x0, x22
	bl	_BIT
	tst	w0, w27
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	w8, [x28]
	orr	w23, w8, w23
	mov	x0, x21
	mov	x1, x23
	mov	w2, #0
	bl	_nic_reg_write
LBB0_14:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w27, [x19, #12]
	mov	x0, x22
	bl	_BIT
	tst	w0, w27
	b.eq	LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=1
Lloh14:
	adrp	x8, _NIC_PF_QSET_0_127_SQ_0_7_STAT_0_1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NIC_PF_QSET_0_127_SQ_0_7_STAT_0_1@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	orr	w1, w8, w23
	mov	x0, x21
	mov	w2, #0
	bl	_nic_reg_write
	b	LBB0_11
LBB0_16:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_STATS_ENUM_LAST,4,2         ; @RX_STATS_ENUM_LAST
	.comm	_NIC_PF_VNIC_0_127_RX_STAT_0_13,4,2 ; @NIC_PF_VNIC_0_127_RX_STAT_0_13
	.comm	_NIC_QS_ID_SHIFT,4,2            ; @NIC_QS_ID_SHIFT
	.comm	_TX_STATS_ENUM_LAST,4,2         ; @TX_STATS_ENUM_LAST
	.comm	_NIC_PF_VNIC_0_127_TX_STAT_0_4,4,2 ; @NIC_PF_VNIC_0_127_TX_STAT_0_4
	.comm	_NIC_Q_NUM_SHIFT,4,2            ; @NIC_Q_NUM_SHIFT
	.comm	_NIC_PF_QSET_0_127_RQ_0_7_STAT_0_1,4,2 ; @NIC_PF_QSET_0_127_RQ_0_7_STAT_0_1
	.comm	_NIC_PF_QSET_0_127_SQ_0_7_STAT_0_1,4,2 ; @NIC_PF_QSET_0_127_SQ_0_7_STAT_0_1
	.no_dead_strip	_nic_reset_stat_counters
.subsections_via_symbols
