	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_sysport_get_sset_count
_bcm_sysport_get_sset_count:            ## @bcm_sysport_get_sset_count
	.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
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_netdev_priv
	cmpl	$128, %r15d
	jne	LBB0_9
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_BCM_SYSPORT_STATS_LEN@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	je	LBB0_2
## %bb.3:
	movq	%rax, %r12
	xorl	%ebx, %ebx
	movq	_bcm_sysport_gstrings_stats@GOTPCREL(%rip), %r14
	xorl	%r13d, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%r13d
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movl	(%r15), %eax
	cmpq	%rax, %rbx
	jae	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r12)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_bcm_sysport_lite_stat_valid
	testl	%eax, %eax
	jne	LBB0_6
	jmp	LBB0_7
LBB0_9:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_2:
	xorl	%r13d, %r13d
LBB0_8:
	movq	_NUM_SYSPORT_TXQ_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	imull	(%rcx), %eax
	addl	%r13d, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BCM_SYSPORT_STATS_LEN,4,2      ## @BCM_SYSPORT_STATS_LEN
	.comm	_bcm_sysport_gstrings_stats,8,3 ## @bcm_sysport_gstrings_stats
	.comm	_NUM_SYSPORT_TXQ_STAT,4,2       ## @NUM_SYSPORT_TXQ_STAT
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_bcm_sysport_get_sset_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_sysport_get_sset_count
_bcm_sysport_get_sset_count:            ; @bcm_sysport_get_sset_count
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x1
	mov	x19, x0
	bl	_netdev_priv
	cmp	w21, #128
	b.ne	LBB0_7
; %bb.1:
Lloh0:
	adrp	x22, _BCM_SYSPORT_STATS_LEN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BCM_SYSPORT_STATS_LEN@GOTPAGEOFF]
	ldr	w8, [x22]
	cbz	w8, LBB0_8
; %bb.2:
	mov	x20, x0
	mov	x23, #0
	mov	w21, #0
Lloh2:
	adrp	x24, _bcm_sysport_gstrings_stats@GOTPAGE
Lloh3:
	ldr	x24, [x24, _bcm_sysport_gstrings_stats@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w21, w21, #1
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #1
	ldr	w8, [x22]
	cmp	x23, x8
	b.hs	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20]
	cbz	w8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x24]
	ldr	w0, [x8, x23, lsl #2]
	bl	_bcm_sysport_lite_stat_valid
	cbnz	w0, LBB0_3
	b	LBB0_4
LBB0_7:
Lloh4:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_10
LBB0_8:
	mov	w21, #0
LBB0_9:
	ldr	w8, [x19]
Lloh7:
	adrp	x9, _NUM_SYSPORT_TXQ_STAT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _NUM_SYSPORT_TXQ_STAT@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	madd	w0, w9, w8, w21
LBB0_10:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_BCM_SYSPORT_STATS_LEN,4,2      ; @BCM_SYSPORT_STATS_LEN
	.comm	_bcm_sysport_gstrings_stats,8,3 ; @bcm_sysport_gstrings_stats
	.comm	_NUM_SYSPORT_TXQ_STAT,4,2       ; @NUM_SYSPORT_TXQ_STAT
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_bcm_sysport_get_sset_count
.subsections_via_symbols
