	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enetc_get_stats                ## -- Begin function enetc_get_stats
	.p2align	4, 0x90
_enetc_get_stats:                       ## @enetc_get_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movl	(%rax), %esi
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	testl	%esi, %esi
	jle	LBB0_8
## %bb.1:
	movq	16(%rax), %rdx
	leaq	-1(%rsi), %rdi
	movl	%esi, %r8d
	andl	$3, %r8d
	cmpq	$3, %rdi
	jae	LBB0_3
## %bb.2:
	pxor	%xmm1, %xmm1
	xorl	%edi, %edi
	jmp	LBB0_5
LBB0_3:
	andl	$-4, %esi
	pxor	%xmm1, %xmm1
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rdi,8), %rbx
	movq	8(%rdx,%rdi,8), %rcx
	movdqu	(%rbx), %xmm2
	pshufd	$78, %xmm2, %xmm2               ## xmm2 = xmm2[2,3,0,1]
	paddq	%xmm1, %xmm2
	movdqu	(%rcx), %xmm1
	pshufd	$78, %xmm1, %xmm1               ## xmm1 = xmm1[2,3,0,1]
	movq	16(%rdx,%rdi,8), %rcx
	movdqu	(%rcx), %xmm3
	pshufd	$78, %xmm3, %xmm3               ## xmm3 = xmm3[2,3,0,1]
	paddq	%xmm1, %xmm3
	paddq	%xmm2, %xmm3
	movq	24(%rdx,%rdi,8), %rcx
	movdqu	(%rcx), %xmm1
	pshufd	$78, %xmm1, %xmm1               ## xmm1 = xmm1[2,3,0,1]
	paddq	%xmm3, %xmm1
	addq	$4, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_4
LBB0_5:
	testq	%r8, %r8
	je	LBB0_8
## %bb.6:
	leaq	(%rdx,%rdi,8), %rdx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rcx
	movdqu	(%rcx), %xmm2
	pshufd	$78, %xmm2, %xmm2               ## xmm2 = xmm2[2,3,0,1]
	paddq	%xmm2, %xmm1
	incq	%rsi
	cmpq	%rsi, %r8
	jne	LBB0_7
LBB0_8:
	movdqu	%xmm1, (%r14)
	movl	4(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_16
## %bb.9:
	movq	8(%rax), %rcx
	leaq	-1(%rdx), %rsi
	movl	%edx, %eax
	andl	$3, %eax
	cmpq	$3, %rsi
	jae	LBB0_11
## %bb.10:
	pxor	%xmm0, %xmm0
	xorl	%esi, %esi
	jmp	LBB0_13
LBB0_11:
	andl	$-4, %edx
	pxor	%xmm0, %xmm0
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi,8), %rdi
	movq	8(%rcx,%rsi,8), %rbx
	movdqu	(%rdi), %xmm1
	pshufd	$78, %xmm1, %xmm1               ## xmm1 = xmm1[2,3,0,1]
	paddq	%xmm0, %xmm1
	movdqu	(%rbx), %xmm0
	pshufd	$78, %xmm0, %xmm0               ## xmm0 = xmm0[2,3,0,1]
	movq	16(%rcx,%rsi,8), %rdi
	movdqu	(%rdi), %xmm2
	pshufd	$78, %xmm2, %xmm2               ## xmm2 = xmm2[2,3,0,1]
	paddq	%xmm0, %xmm2
	paddq	%xmm1, %xmm2
	movq	24(%rcx,%rsi,8), %rdi
	movdqu	(%rdi), %xmm0
	pshufd	$78, %xmm0, %xmm0               ## xmm0 = xmm0[2,3,0,1]
	paddq	%xmm2, %xmm0
	addq	$4, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_12
LBB0_13:
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	leaq	(%rcx,%rsi,8), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rsi
	movdqu	(%rsi), %xmm1
	pshufd	$78, %xmm1, %xmm1               ## xmm1 = xmm1[2,3,0,1]
	paddq	%xmm1, %xmm0
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_15
LBB0_16:
	movdqu	%xmm0, 16(%r14)
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enetc_get_stats                ; -- Begin function enetc_get_stats
	.p2align	2
_enetc_get_stats:                       ; @enetc_get_stats
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_netdev_priv
	ldr	w8, [x0]
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.1:
	ldr	x9, [x0, #16]
	cmp	w8, #4
	b.hs	LBB0_3
; %bb.2:
	mov	x10, #0
	movi.2d	v1, #0000000000000000
	b	LBB0_6
LBB0_3:
	and	x10, x8, #0xfffffffc
	add	x11, x9, #16
	movi.2d	v1, #0000000000000000
	mov	x12, x10
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x13, x14, [x11, #-16]
	ldp	x15, x16, [x11], #32
	ldr	q5, [x13]
	ldr	q6, [x14]
	ldr	q7, [x15]
	ldr	q16, [x16]
	add.2d	v4, v5, v4
	add.2d	v3, v6, v3
	add.2d	v2, v7, v2
	add.2d	v1, v16, v1
	subs	x12, x12, #4
	b.ne	LBB0_4
; %bb.5:
	add.2d	v3, v3, v4
	add.2d	v2, v2, v3
	add.2d	v1, v1, v2
	cmp	x10, x8
	b.eq	LBB0_8
LBB0_6:
	add	x9, x9, x10, lsl #3
	sub	x8, x8, x10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #8
	ldr	q2, [x10]
	add.2d	v1, v2, v1
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	ext.16b	v1, v1, v1, #8
	str	q1, [x19]
	ldr	w8, [x0, #4]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.9:
	ldr	x9, [x0, #8]
	cmp	w8, #4
	b.hs	LBB0_11
; %bb.10:
	mov	x10, #0
	movi.2d	v0, #0000000000000000
	b	LBB0_14
LBB0_11:
	and	x10, x8, #0xfffffffc
	add	x11, x9, #16
	movi.2d	v0, #0000000000000000
	mov	x12, x10
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldp	x13, x14, [x11, #-16]
	ldp	x15, x16, [x11], #32
	ldr	q4, [x13]
	ldr	q5, [x14]
	ldr	q6, [x15]
	ldr	q7, [x16]
	add.2d	v3, v4, v3
	add.2d	v2, v5, v2
	add.2d	v1, v6, v1
	add.2d	v0, v7, v0
	subs	x12, x12, #4
	b.ne	LBB0_12
; %bb.13:
	add.2d	v2, v2, v3
	add.2d	v1, v1, v2
	add.2d	v0, v0, v1
	cmp	x10, x8
	b.eq	LBB0_16
LBB0_14:
	add	x9, x9, x10, lsl #3
	sub	x8, x8, x10
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #8
	ldr	q1, [x10]
	add.2d	v0, v1, v0
	subs	x8, x8, #1
	b.ne	LBB0_15
LBB0_16:
	ext.16b	v0, v0, v0, #8
	str	q0, [x19, #16]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
