	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm_enetsw_get_ethtool_stats
_bcm_enetsw_get_ethtool_stats:          ## @bcm_enetsw_get_ethtool_stats
	.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, %r14
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	_BCM_ENETSW_STATS_LEN@GOTPCREL(%rip), %rdi
	cmpl	$0, (%rdi)
	jle	LBB0_8
## %bb.1:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movl	$8, %r15d
	xorl	%r14d, %r14d
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	-4(%r13,%r15), %rcx
	movl	%eax, (%r12,%rcx)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	_BCM_ENETSW_STATS_LEN@GOTPCREL(%rip), %rdi
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movslq	(%rdi), %rax
	addq	$12, %r15
	cmpq	%rax, %r14
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_bcm_enetsw_gstrings_stats@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movl	-8(%r13,%r15), %ebx
	cmpl	$-1, %ebx
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	callq	_ENETSW_MIB_REG
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_enetsw_readl
	cmpl	$4, (%r13,%r15)
	jne	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	movl	%ebx, %edi
	callq	_ENETSW_MIB_REG
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_enetsw_readl
	jmp	LBB0_10
LBB0_5:
	testl	%eax, %eax
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jle	LBB0_8
## %bb.6:
	movq	_bcm_enetsw_gstrings_stats@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$4, %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$-1, -4(%rax)
	movslq	(%rax), %rdx
	movq	%rbx, %rsi
	cmoveq	%r9, %rsi
	movl	(%rsi,%rdx), %edx
	movl	%edx, (%r8,%rcx,4)
	incq	%rcx
	movslq	(%rdi), %rdx
	addq	$12, %rax
	cmpq	%rdx, %rcx
	jl	LBB0_7
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BCM_ENETSW_STATS_LEN,4,2       ## @BCM_ENETSW_STATS_LEN
	.comm	_bcm_enetsw_gstrings_stats,8,3  ## @bcm_enetsw_gstrings_stats
	.no_dead_strip	_bcm_enetsw_get_ethtool_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm_enetsw_get_ethtool_stats
_bcm_enetsw_get_ethtool_stats:          ; @bcm_enetsw_get_ethtool_stats
	.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, x0
	bl	_netdev_priv
Lloh0:
	adrp	x23, _BCM_ENETSW_STATS_LEN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _BCM_ENETSW_STATS_LEN@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.1:
	mov	x21, x0
	mov	x25, #0
	mov	x26, #0
Lloh2:
	adrp	x24, _bcm_enetsw_gstrings_stats@GOTPAGE
Lloh3:
	ldr	x24, [x24, _bcm_enetsw_gstrings_stats@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [x8, #4]
	str	w0, [x21, x8]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x23]
	add	x25, x25, #12
	cmp	x26, x8
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x24]
	ldr	w22, [x27, x25]
	cmn	w22, #1
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x22
	bl	_ENETSW_MIB_REG
	mov	x1, x0
	mov	x0, x21
	bl	_enetsw_readl
	add	x8, x27, x25
	ldr	w9, [x8, #8]
	cmp	w9, #4
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w0, w22, #1
	bl	_ENETSW_MIB_REG
	mov	x1, x0
	mov	x0, x21
	bl	_enetsw_readl
	b	LBB0_3
LBB0_7:
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.8:
	mov	x8, #0
	ldr	x9, [x24]
	add	x9, x9, #4
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w10, [x9, #-4]
	ldrsw	x11, [x9]
	cmn	w10, #1
	csel	x10, x20, x21, eq
	ldr	w10, [x10, x11]
	str	w10, [x19, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x10, [x23]
	add	x9, x9, #12
	cmp	x8, x10
	b.lt	LBB0_9
LBB0_10:
	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 AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_BCM_ENETSW_STATS_LEN,4,2       ; @BCM_ENETSW_STATS_LEN
	.comm	_bcm_enetsw_gstrings_stats,8,3  ; @bcm_enetsw_gstrings_stats
	.no_dead_strip	_bcm_enetsw_get_ethtool_stats
.subsections_via_symbols
