	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enetc_get_ethtool_stats
_enetc_get_ethtool_stats:               ## @enetc_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	callq	_netdev_priv
	movq	%rax, %r12
	movq	8(%rax), %r15
	movq	_enetc_si_counters@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	xorl	%ebx, %ebx
	testl	%eax, %eax
	jle	LBB0_1
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r15, %rdi
	callq	_enetc_rd64
	movl	%eax, (%r14,%rbx,4)
	incq	%rbx
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_13
LBB0_1:
	cmpl	$0, (%r12)
	jle	LBB0_5
## %bb.2:
	movq	24(%r12), %rcx
	movl	%ebx, %ebx
	leaq	(%r14,%rbx,4), %rdx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rax,8), %rsi
	movl	(%rsi), %esi
	movl	%esi, (%rdx,%rax,4)
	incq	%rax
	movslq	(%r12), %rsi
	cmpq	%rsi, %rax
	jl	LBB0_3
## %bb.4:
	addl	%eax, %ebx
LBB0_5:
	cmpl	$0, 4(%r12)
	jle	LBB0_8
## %bb.6:
	movq	16(%r12), %rax
	movl	%ebx, %ecx
	leaq	(%r14,%rcx,4), %rcx
	addq	$4, %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rax,%rdx,8), %rsi
	movl	4(%rsi), %edi
	movl	%edi, -4(%rcx,%rdx,8)
	movl	(%rsi), %esi
	movl	%esi, (%rcx,%rdx,8)
	incq	%rdx
	movslq	4(%r12), %rsi
	addl	$2, %ebx
	cmpq	%rsi, %rdx
	jl	LBB0_7
LBB0_8:
	movq	8(%r12), %rdi
	callq	_enetc_si_is_pf
	testl	%eax, %eax
	je	LBB0_12
## %bb.9:
	movq	_enetc_port_counters@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_12
## %bb.10:
	movl	%ebx, %eax
	leaq	(%r14,%rax,4), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	movq	%r15, %rdi
	callq	_enetc_port_rd
	movl	%eax, (%r14,%rbx,4)
	incq	%rbx
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_11
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_enetc_si_counters,8,3          ## @enetc_si_counters
	.comm	_enetc_port_counters,8,3        ## @enetc_port_counters
	.no_dead_strip	_enetc_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 enetc_get_ethtool_stats
_enetc_get_ethtool_stats:               ; @enetc_get_ethtool_stats
	.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	x20, x2
	bl	_netdev_priv
	mov	x21, x0
	ldr	x19, [x0, #8]
Lloh0:
	adrp	x23, _enetc_si_counters@GOTPAGE
Lloh1:
	ldr	x23, [x23, _enetc_si_counters@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	lsl	x24, x22, #2
	ldr	w1, [x8, x24]
	mov	x0, x19
	bl	_enetc_rd64
	add	x22, x22, #1
	str	w0, [x20, x24]
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	cmp	x22, w0, sxtw
	b.lt	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w22, #0
LBB0_4:
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x8, #0
	ldr	x10, [x21, #24]
	mov	w9, w22
	add	x11, x20, w22, uxtw #2
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10, x8, lsl #3]
	ldr	w12, [x12]
	str	w12, [x11, x8, lsl #2]
	add	x8, x8, #1
	ldrsw	x12, [x21]
	cmp	x8, x12
	b.lt	LBB0_6
; %bb.7:
	add	w22, w9, w8
LBB0_8:
	ldr	w8, [x21, #4]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.9:
	mov	x8, #0
	ldr	x9, [x21, #16]
	mov	w22, w22
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9, x8, lsl #3]
	ldr	w11, [x10, #4]
	add	x12, x20, x22, lsl #2
	str	w11, [x12]
	ldr	w10, [x10]
	add	x22, x22, #2
	str	w10, [x12, #4]
	add	x8, x8, #1
	ldrsw	x10, [x21, #4]
	cmp	x8, x10
	b.lt	LBB0_10
; %bb.11:
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
LBB0_12:
	ldr	x0, [x21, #8]
	bl	_enetc_si_is_pf
	cbz	w0, LBB0_16
; %bb.13:
Lloh2:
	adrp	x21, _enetc_port_counters@GOTPAGE
Lloh3:
	ldr	x21, [x21, _enetc_port_counters@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_16
; %bb.14:
	mov	x23, #0
	add	x20, x20, w22, uxtw #2
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	lsl	x22, x23, #2
	ldr	w1, [x8, x22]
	mov	x0, x19
	bl	_enetc_port_rd
	str	w0, [x20, x22]
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	x23, w0, sxtw
	b.lt	LBB0_15
LBB0_16:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_enetc_si_counters,8,3          ; @enetc_si_counters
	.comm	_enetc_port_counters,8,3        ; @enetc_port_counters
	.no_dead_strip	_enetc_get_ethtool_stats
.subsections_via_symbols
