	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcmgenet_get_stats
_bcmgenet_get_stats:                    ## @bcmgenet_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
	movq	8(%rax), %r8
	movq	16(%rax), %rdx
	movl	(%r8), %esi
	pxor	%xmm8, %xmm8
	pxor	%xmm9, %xmm9
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.1:
	cmpl	$4, %esi
	jae	LBB0_3
## %bb.2:
	pxor	%xmm9, %xmm9
	xorl	%edi, %edi
	jmp	LBB0_6
LBB0_3:
	movl	%esi, %edi
	andl	$-4, %edi
	movq	%rsi, %rcx
	shlq	$4, %rcx
	andq	$-64, %rcx
	pxor	%xmm2, %xmm2
	xorl	%ebx, %ebx
	pxor	%xmm9, %xmm9
	pxor	%xmm4, %xmm4
	pxor	%xmm3, %xmm3
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rdx,%rbx), %xmm1
	movdqu	16(%rdx,%rbx), %xmm6
	movdqu	32(%rdx,%rbx), %xmm7
	movdqu	48(%rdx,%rbx), %xmm0
	movdqa	%xmm1, %xmm5
	punpcklqdq	%xmm6, %xmm5            ## xmm5 = xmm5[0],xmm6[0]
	paddq	%xmm5, %xmm2
	movdqa	%xmm7, %xmm5
	punpcklqdq	%xmm0, %xmm5            ## xmm5 = xmm5[0],xmm0[0]
	paddq	%xmm5, %xmm9
	punpckhqdq	%xmm6, %xmm1            ## xmm1 = xmm1[1],xmm6[1]
	paddq	%xmm1, %xmm4
	punpckhqdq	%xmm0, %xmm7            ## xmm7 = xmm7[1],xmm0[1]
	paddq	%xmm7, %xmm3
	addq	$64, %rbx
	cmpq	%rbx, %rcx
	jne	LBB0_4
## %bb.5:
	paddq	%xmm4, %xmm3
	paddq	%xmm2, %xmm9
	movdqa	%xmm9, %xmm0
	punpckhqdq	%xmm3, %xmm0            ## xmm0 = xmm0[1],xmm3[1]
	punpcklqdq	%xmm3, %xmm9            ## xmm9 = xmm9[0],xmm3[0]
	paddq	%xmm0, %xmm9
	cmpq	%rsi, %rdi
	je	LBB0_8
LBB0_6:
	subq	%rdi, %rsi
	shlq	$4, %rdi
	addq	%rdx, %rdi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rdi), %xmm0
	paddq	%xmm0, %xmm9
	addq	$16, %rdi
	decq	%rsi
	jne	LBB0_7
LBB0_8:
	movq	_DESC_INDEX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	%rsi, %rcx
	shlq	$4, %rcx
	movdqu	(%rdx,%rcx), %xmm2
	movl	4(%r8), %ebx
	movq	(%rax), %r8
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.10:
	cmpl	$1, %ebx
	jne	LBB0_12
## %bb.11:
	pxor	%xmm8, %xmm8
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	jmp	LBB0_14
LBB0_9:
	xorl	%ecx, %ecx
	jmp	LBB0_16
LBB0_12:
	movl	%ebx, %edx
	andl	$-2, %edx
	leaq	48(%r8), %rax
	pxor	%xmm8, %xmm8
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-32(%rax), %xmm0
	paddq	%xmm8, %xmm0
	movdqu	(%rax), %xmm8
	addq	-40(%rax), %rcx
	addq	-8(%rax), %rcx
	paddq	%xmm0, %xmm8
	addq	$2, %rdi
	addq	$64, %rax
	cmpq	%rdi, %rdx
	jne	LBB0_13
LBB0_14:
	testb	$1, %bl
	je	LBB0_16
## %bb.15:
	shlq	$5, %rdi
	movdqu	16(%r8,%rdi), %xmm0
	paddq	%xmm0, %xmm8
	addq	8(%r8,%rdi), %rcx
LBB0_16:
	paddq	%xmm9, %xmm2
	shlq	$5, %rsi
	addq	8(%r8,%rsi), %rcx
	pshufd	$78, %xmm2, %xmm0               ## xmm0 = xmm2[2,3,0,1]
	movdqu	16(%r8,%rsi), %xmm1
	paddq	%xmm8, %xmm1
	movdqu	%xmm0, (%r14)
	pshufd	$78, %xmm1, %xmm0               ## xmm0 = xmm1[2,3,0,1]
	movdqu	%xmm0, 16(%r14)
	movq	%rcx, 32(%r14)
	movq	%rcx, 40(%r14)
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DESC_INDEX,8,3                 ## @DESC_INDEX
	.no_dead_strip	_bcmgenet_get_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcmgenet_get_stats
_bcmgenet_get_stats:                    ; @bcmgenet_get_stats
	.cfi_startproc
; %bb.0:
	stp	d11, d10, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	.cfi_offset b10, -56
	.cfi_offset b11, -64
	mov	x19, x0
	bl	_netdev_priv
	ldp	x13, x11, [x0, #8]
	ldr	w10, [x13]
	cbz	w10, LBB0_3
; %bb.1:
	cmp	w10, #8
	b.hs	LBB0_4
; %bb.2:
	mov	x12, #0
	mov	x9, #0
	mov	x8, #0
	b	LBB0_7
LBB0_3:
	mov	x8, #0
	mov	x9, #0
	b	LBB0_9
LBB0_4:
	movi.2d	v0, #0000000000000000
	and	x12, x10, #0xfffffff8
	movi.2d	v1, #0000000000000000
	add	x8, x11, #64
	mov	x9, x12
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
	movi.2d	v5, #0000000000000000
	movi.2d	v6, #0000000000000000
	movi.2d	v7, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	x14, x8, #64
	ld2.2d	{ v16, v17 }, [x14]
	sub	x14, x8, #32
	ld2.2d	{ v18, v19 }, [x14]
	mov	x14, x8
	ld2.2d	{ v20, v21 }, [x14], #32
	ld2.2d	{ v22, v23 }, [x14]
	add.2d	v4, v17, v4
	add.2d	v5, v19, v5
	add.2d	v6, v21, v6
	add.2d	v7, v23, v7
	add.2d	v0, v16, v0
	add.2d	v1, v18, v1
	add.2d	v2, v20, v2
	add.2d	v3, v22, v3
	add	x8, x8, #128
	subs	x9, x9, #8
	b.ne	LBB0_5
; %bb.6:
	add.2d	v4, v5, v4
	add.2d	v4, v6, v4
	add.2d	v4, v7, v4
	addp.2d	d4, v4
	fmov	x8, d4
	add.2d	v0, v1, v0
	add.2d	v0, v2, v0
	add.2d	v0, v3, v0
	addp.2d	d0, v0
	fmov	x9, d0
	cmp	x12, x10
	b.eq	LBB0_9
LBB0_7:
	add	x14, x11, x12, lsl #4
	add	x14, x14, #8
	sub	x10, x10, x12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x14]
	add	x8, x12, x8
	ldur	x12, [x14, #-8]
	add	x9, x12, x9
	add	x14, x14, #16
	subs	x10, x10, #1
	b.ne	LBB0_8
LBB0_9:
Lloh0:
	adrp	x10, _DESC_INDEX@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DESC_INDEX@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	add	x12, x11, x10, lsl #4
	ldp	x12, x11, [x12]
	ldr	w14, [x13, #4]
	ldr	x13, [x0]
	cbz	w14, LBB0_12
; %bb.10:
	cmp	w14, #9
	b.hs	LBB0_13
; %bb.11:
	mov	x15, #0
	mov	x0, #0
	mov	x17, #0
	mov	x16, #0
	b	LBB0_16
LBB0_12:
	mov	x16, #0
	mov	x17, #0
	mov	x0, #0
	b	LBB0_18
LBB0_13:
	ands	x15, x14, #0x7
	movi.2d	v0, #0000000000000000
	movi.2d	v1, #0000000000000000
	mov	w16, #8
	movi.2d	v2, #0000000000000000
	csel	x15, x16, x15, eq
	movi.2d	v3, #0000000000000000
	sub	x15, x14, x15
	movi.2d	v4, #0000000000000000
	add	x16, x13, #136
	movi.2d	v5, #0000000000000000
	mov	x17, x15
	movi.2d	v6, #0000000000000000
	movi.2d	v7, #0000000000000000
	movi.2d	v16, #0000000000000000
	movi.2d	v17, #0000000000000000
	movi.2d	v18, #0000000000000000
	movi.2d	v19, #0000000000000000
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	sub	x0, x16, #128
	sub	x1, x16, #64
	ld4.2d	{ v20, v21, v22, v23 }, [x0]
	ld4.2d	{ v24, v25, v26, v27 }, [x1]
	mov	x0, x16
	ld4.2d	{ v28, v29, v30, v31 }, [x0], #64
	ld4.2d	{ v8, v9, v10, v11 }, [x0]
	add.2d	v16, v22, v16
	add.2d	v17, v26, v17
	add.2d	v18, v30, v18
	add.2d	v19, v10, v19
	add.2d	v4, v21, v4
	add.2d	v5, v25, v5
	add.2d	v6, v29, v6
	add.2d	v7, v9, v7
	add.2d	v0, v20, v0
	add.2d	v1, v24, v1
	add.2d	v2, v28, v2
	add.2d	v3, v8, v3
	add	x16, x16, #256
	subs	x17, x17, #8
	b.ne	LBB0_14
; %bb.15:
	add.2d	v16, v17, v16
	add.2d	v16, v18, v16
	add.2d	v16, v19, v16
	addp.2d	d16, v16
	fmov	x16, d16
	add.2d	v4, v5, v4
	add.2d	v4, v6, v4
	add.2d	v4, v7, v4
	addp.2d	d4, v4
	fmov	x17, d4
	add.2d	v0, v1, v0
	add.2d	v0, v2, v0
	add.2d	v0, v3, v0
	addp.2d	d0, v0
	fmov	x0, d0
LBB0_16:
	add	x1, x13, x15, lsl #5
	add	x1, x1, #24
	sub	x14, x14, x15
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x15, [x1]
	add	x16, x15, x16
	ldp	x2, x15, [x1, #-16]
	add	x17, x15, x17
	add	x0, x2, x0
	add	x1, x1, #32
	subs	x14, x14, #1
	b.ne	LBB0_17
LBB0_18:
	add	x9, x12, x9
	add	x8, x11, x8
	add	x10, x13, x10, lsl #5
	ldp	x12, x11, [x10, #16]
	add	x11, x11, x16
	ldr	x10, [x10, #8]
	add	x12, x12, x17
	add	x10, x10, x0
	stp	x8, x9, [x19]
	stp	x11, x12, [x19, #16]
	stp	x10, x10, [x19, #32]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DESC_INDEX,8,3                 ; @DESC_INDEX
	.no_dead_strip	_bcmgenet_get_stats
.subsections_via_symbols
