	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcmgenet_update_mib_counters
_bcmgenet_update_mib_counters:          ## @bcmgenet_update_mib_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_BCMGENET_STATS_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_14
## %bb.1:
	movq	%rdi, %r15
	xorl	%r12d, %r12d
	movl	$16, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_2
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_BCMGENET_STAT_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, %rcx
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	%rcx, %rax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_UMAC_MIB_START@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movslq	%r13d, %rsi
	addq	%rcx, %rsi
	addq	%rax, %rsi
	movq	%r15, %rdi
	callq	_bcmgenet_umac_readl
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	addl	-8(%r14,%rbx), %r13d
	movslq	-12(%r14,%rbx), %rcx
	movl	%eax, (%r15,%rcx)
	movq	_BCMGENET_STATS_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r12
	movslq	%ecx, %rax
	addq	$24, %rbx
	cmpq	%rax, %r12
	jge	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_bcmgenet_gstrings_stats@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	-16(%r14,%rbx), %edx
	addl	$-128, %edx
	movl	$0, %eax
	cmpl	$5, %edx
	ja	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdx,4), %rdx
	addq	%rax, %rdx
	xorl	%eax, %eax
	jmpq	*%rdx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	callq	_GENET_IS_V1
	movq	(%r14,%rbx), %rsi
	movq	%r15, %rdi
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_bcmgenet_umac_readl
	cmpl	$-1, %eax
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r14,%rbx), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_bcmgenet_umac_writel
	movl	$-1, %eax
	jmp	LBB0_12
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_BCMGENET_STAT_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%ecx, %ecx
	jmp	LBB0_6
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_bcmgenet_update_stat_misc
	jmp	LBB0_12
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_5
	.long	L0_0_set_13
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_BCMGENET_STATS_LEN,4,2         ## @BCMGENET_STATS_LEN
	.comm	_bcmgenet_gstrings_stats,8,3    ## @bcmgenet_gstrings_stats
	.comm	_BCMGENET_STAT_OFFSET,8,3       ## @BCMGENET_STAT_OFFSET
	.comm	_UMAC_MIB_START,4,2             ## @UMAC_MIB_START
	.no_dead_strip	_bcmgenet_update_mib_counters
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcmgenet_update_mib_counters
_bcmgenet_update_mib_counters:          ; @bcmgenet_update_mib_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
Lloh0:
	adrp	x20, _BCMGENET_STATS_LEN@GOTPAGE
Lloh1:
	ldr	x20, [x20, _BCMGENET_STATS_LEN@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.1:
	mov	x19, x0
	mov	x21, #0
	mov	x22, #0
	mov	w23, #0
Lloh2:
	adrp	x24, _bcmgenet_gstrings_stats@GOTPAGE
Lloh3:
	ldr	x24, [x24, _bcmgenet_gstrings_stats@GOTPAGEOFF]
Lloh4:
	adrp	x26, _UMAC_MIB_START@GOTPAGE
Lloh5:
	ldr	x26, [x26, _UMAC_MIB_START@GOTPAGEOFF]
Lloh6:
	adrp	x27, lJTI0_0@PAGE
Lloh7:
	add	x27, x27, lJTI0_0@PAGEOFF
	b	LBB0_7
LBB0_2:                                 ;   in Loop: Header=BB0_7 Depth=1
Lloh8:
	adrp	x8, _BCMGENET_STAT_OFFSET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BCMGENET_STAT_OFFSET@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	mov	x9, x8
LBB0_3:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x9, x8, x9
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldrsw	x8, [x26]
	add	x8, x8, w23, sxtw
	add	x1, x9, x8
	mov	x0, x19
	bl	_bcmgenet_umac_readl
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x8, x28, x21
	ldp	w8, w9, [x8, #4]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	add	w23, w23, w9
	str	w0, [x19, x8]
	ldr	w8, [x20]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x22, #1
	add	x21, x21, #24
	cmp	x22, w8, sxtw
	b.ge	LBB0_15
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x28, [x24]
	ldr	w9, [x28, x21]
	sub	w10, w9, #128
	cmp	w10, #5
	b.hi	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x9, #0
	adr	x11, LBB0_2
	ldrb	w12, [x27, x10]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	bl	_GENET_IS_V1
	add	x25, x28, x21
	ldr	x1, [x25, #16]
	cbz	w0, LBB0_14
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	bl	_bcmgenet_umac_readl
	cmn	w0, #1
	b.ne	LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x2, [x25, #16]
	mov	x0, x19
	mov	w1, #0
	bl	_bcmgenet_umac_writel
	mov	w0, #-1
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w0, #0
	b	LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x9, #0
Lloh11:
	adrp	x8, _BCMGENET_STAT_OFFSET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BCMGENET_STAT_OFFSET@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	b	LBB0_3
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	bl	_bcmgenet_update_stat_misc
	b	LBB0_5
LBB0_15:
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
                                        ; -- End function
	.comm	_BCMGENET_STATS_LEN,4,2         ; @BCMGENET_STATS_LEN
	.comm	_bcmgenet_gstrings_stats,8,3    ; @bcmgenet_gstrings_stats
	.comm	_BCMGENET_STAT_OFFSET,8,3       ; @BCMGENET_STAT_OFFSET
	.comm	_UMAC_MIB_START,4,2             ; @UMAC_MIB_START
	.no_dead_strip	_bcmgenet_update_mib_counters
.subsections_via_symbols
