	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cas_get_stats
_cas_get_stats:                         ## @cas_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	%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
	callq	_netdev_priv
	movq	24(%rax), %r15
	cmpl	$0, 16(%rax)
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	_N_TX_RINGS@GOTPCREL(%rip), %r13
	movslq	(%r13), %rdi
	shlq	$2, %rdi
	addq	(%rax), %rdi
	callq	_spin_lock_irqsave
	movq	_REG_MAC_FCS_ERR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movzwl	%ax, %eax
	movslq	(%r13), %rcx
	shlq	$7, %rcx
	addq	%rax, 64(%r15,%rcx)
	movq	_REG_MAC_ALIGN_ERR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movzwl	%ax, %eax
	movslq	(%r13), %rcx
	shlq	$7, %rcx
	addq	%rax, 104(%r15,%rcx)
	movq	_REG_MAC_LEN_ERR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movzwl	%ax, %eax
	movslq	(%r13), %rcx
	shlq	$7, %rcx
	addq	%rax, 72(%r15,%rcx)
	movq	_REG_MAC_COLL_EXCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movzwl	%ax, %r12d
	movq	_REG_MAC_COLL_LATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rbx), %rdi
	callq	_readl
	movq	%rbx, %r14
	movzwl	%ax, %ebx
	addl	%r12d, %ebx
	movslq	(%r13), %rax
	shlq	$7, %rax
	addq	%rbx, 88(%r15,%rax)
	movq	_REG_MAC_COLL_NORMAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%r14), %rdi
	callq	_readl
	movzwl	%ax, %eax
	addl	%ebx, %eax
	movq	%r14, %rbx
	movslq	(%r13), %rcx
	shlq	$7, %rcx
	addq	%rax, 120(%r15,%rcx)
	movq	%r14, %rdi
	callq	_cas_clear_mac_err
	movq	(%r14), %rdi
	callq	_spin_lock
	movslq	(%r13), %rax
	shlq	$7, %rax
	movdqu	112(%r15), %xmm0
	movdqu	80(%r15,%rax), %xmm1
	movdqu	96(%r15,%rax), %xmm2
	movdqu	112(%r15,%rax), %xmm3
	paddq	%xmm0, %xmm3
	movdqu	%xmm3, 112(%r15,%rax)
	movdqu	96(%r15), %xmm0
	paddq	%xmm2, %xmm0
	movdqu	%xmm0, 96(%r15,%rax)
	movdqu	80(%r15), %xmm0
	paddq	%xmm1, %xmm0
	movdqu	%xmm0, 80(%r15,%rax)
	movq	(%r14), %rdi
	callq	_spin_unlock
	movl	(%r13), %eax
	testl	%eax, %eax
	jle	LBB0_5
## %bb.2:
	xorl	%r13d, %r13d
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rbx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	addq	%r13, %rdi
	callq	_spin_lock
	movq	_N_TX_RINGS@GOTPCREL(%rip), %r14
	movslq	(%r14), %rax
	shlq	$7, %rax
	movdqu	64(%rbx), %xmm0
	movdqu	64(%r15,%rax), %xmm1
	paddq	%xmm0, %xmm1
	movdqu	%xmm1, 64(%r15,%rax)
	movdqu	48(%rbx), %xmm0
	movdqu	(%r15,%rax), %xmm1
	movdqu	16(%r15,%rax), %xmm2
	movdqu	32(%r15,%rax), %xmm3
	movdqu	48(%r15,%rax), %xmm4
	paddq	%xmm0, %xmm4
	movdqu	%xmm4, 48(%r15,%rax)
	movdqu	32(%rbx), %xmm0
	paddq	%xmm3, %xmm0
	movdqu	%xmm0, 32(%r15,%rax)
	movdqu	16(%rbx), %xmm0
	paddq	%xmm2, %xmm0
	movdqu	%xmm0, 16(%r15,%rax)
	movdqu	(%rbx), %xmm0
	paddq	%xmm1, %xmm0
	movdqu	%xmm0, (%r15,%rax)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$128, %edx
	callq	_memset
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	addq	%r13, %rdi
	callq	_spin_unlock
	incq	%r12
	movslq	(%r14), %rax
	addq	$4, %r13
	subq	$-128, %rbx
	cmpq	%rax, %r12
	jl	LBB0_3
## %bb.4:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_5:
	movslq	%eax, %rdi
	shlq	$2, %rdi
	addq	(%rbx), %rdi
	callq	_spin_unlock_irqrestore
LBB0_6:
	movq	_N_TX_RINGS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	shlq	$7, %rax
	addq	%rax, %r15
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_N_TX_RINGS,4,2                 ## @N_TX_RINGS
	.comm	_REG_MAC_FCS_ERR,8,3            ## @REG_MAC_FCS_ERR
	.comm	_REG_MAC_ALIGN_ERR,8,3          ## @REG_MAC_ALIGN_ERR
	.comm	_REG_MAC_LEN_ERR,8,3            ## @REG_MAC_LEN_ERR
	.comm	_REG_MAC_COLL_EXCESS,8,3        ## @REG_MAC_COLL_EXCESS
	.comm	_REG_MAC_COLL_LATE,8,3          ## @REG_MAC_COLL_LATE
	.comm	_REG_MAC_COLL_NORMAL,8,3        ## @REG_MAC_COLL_NORMAL
	.no_dead_strip	_cas_get_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cas_get_stats
_cas_get_stats:                         ; @cas_get_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
	bl	_netdev_priv
	ldr	x21, [x0, #24]
	ldr	w8, [x0, #16]
Lloh0:
	adrp	x22, _N_TX_RINGS@GOTPAGE
Lloh1:
	ldr	x22, [x22, _N_TX_RINGS@GOTPAGEOFF]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	ldrsw	x9, [x22]
	add	x0, x8, x9, lsl #2
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, _REG_MAC_FCS_ERR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _REG_MAC_FCS_ERR@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	and	w8, w0, #0xffff
	ldrsw	x9, [x22]
	add	x9, x21, x9, lsl #7
	ldr	x10, [x9, #64]
	add	x8, x10, x8
	str	x8, [x9, #64]
	ldr	x8, [x19, #8]
Lloh5:
	adrp	x9, _REG_MAC_ALIGN_ERR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _REG_MAC_ALIGN_ERR@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	and	w8, w0, #0xffff
	ldrsw	x9, [x22]
	add	x9, x21, x9, lsl #7
	ldr	x10, [x9, #104]
	add	x8, x10, x8
	str	x8, [x9, #104]
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x9, _REG_MAC_LEN_ERR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _REG_MAC_LEN_ERR@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	and	w8, w0, #0xffff
	ldrsw	x9, [x22]
	add	x9, x21, x9, lsl #7
	ldr	x10, [x9, #72]
	add	x8, x10, x8
	str	x8, [x9, #72]
	ldr	x8, [x19, #8]
Lloh11:
	adrp	x9, _REG_MAC_COLL_EXCESS@GOTPAGE
Lloh12:
	ldr	x9, [x9, _REG_MAC_COLL_EXCESS@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x20, x0
	ldr	x8, [x19, #8]
Lloh14:
	adrp	x9, _REG_MAC_COLL_LATE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _REG_MAC_COLL_LATE@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	and	w8, w0, #0xffff
	add	w20, w8, w20, uxth
	ldrsw	x8, [x22]
	add	x8, x21, x8, lsl #7
	ldr	x9, [x8, #88]
	add	x9, x9, x20
	str	x9, [x8, #88]
	ldr	x8, [x19, #8]
Lloh17:
	adrp	x9, _REG_MAC_COLL_NORMAL@GOTPAGE
Lloh18:
	ldr	x9, [x9, _REG_MAC_COLL_NORMAL@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	add	w8, w20, w0, uxth
	ldrsw	x9, [x22]
	add	x9, x21, x9, lsl #7
	ldr	x10, [x9, #120]
	add	x8, x10, x8
	str	x8, [x9, #120]
	mov	x0, x19
	bl	_cas_clear_mac_err
	ldr	x0, [x19]
	bl	_spin_lock
	ldrsw	x8, [x22]
	add	x8, x21, x8, lsl #7
	ldr	q0, [x21, #112]
	ldp	q2, q1, [x8, #96]
	add.2d	v4, v1, v0
	ldp	q1, q0, [x21, #80]
	ldr	q3, [x8, #80]
	add.2d	v0, v2, v0
	add.2d	v1, v3, v1
	stp	q0, q4, [x8, #96]
	str	q1, [x8, #80]
	ldr	x0, [x19]
	bl	_spin_unlock
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x23, #0
	mov	x24, #0
	mov	x20, x21
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	add	x0, x8, x23
	bl	_spin_lock
	ldrsw	x8, [x22]
	add	x8, x21, x8, lsl #7
	ldr	q0, [x20, #64]
	ldr	q1, [x8, #64]
	add.2d	v0, v1, v0
	str	q0, [x8, #64]
	ldr	q0, [x20, #48]
	ldp	q2, q1, [x8, #32]
	add.2d	v0, v1, v0
	str	q0, [x8, #48]
	ldr	q0, [x20, #32]
	add.2d	v0, v2, v0
	str	q0, [x8, #32]
	ldr	q0, [x20, #16]
	ldp	q2, q1, [x8]
	add.2d	v0, v1, v0
	str	q0, [x8, #16]
	ldr	q0, [x20]
	add.2d	v0, v2, v0
	str	q0, [x8]
	mov	x0, x20
	mov	w1, #0
	mov	w2, #128
	bl	_memset
	ldr	x8, [x19]
	add	x0, x8, x23
	bl	_spin_unlock
	add	x24, x24, #1
	ldrsw	x8, [x22]
	add	x23, x23, #4
	add	x20, x20, #128
	cmp	x24, x8
	b.lt	LBB0_3
LBB0_4:
	ldr	x9, [x19]
	add	x0, x9, w8, sxtw #2
	bl	_spin_unlock_irqrestore
LBB0_5:
	ldrsw	x8, [x22]
	add	x0, x21, x8, lsl #7
	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 AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_N_TX_RINGS,4,2                 ; @N_TX_RINGS
	.comm	_REG_MAC_FCS_ERR,8,3            ; @REG_MAC_FCS_ERR
	.comm	_REG_MAC_ALIGN_ERR,8,3          ; @REG_MAC_ALIGN_ERR
	.comm	_REG_MAC_LEN_ERR,8,3            ; @REG_MAC_LEN_ERR
	.comm	_REG_MAC_COLL_EXCESS,8,3        ; @REG_MAC_COLL_EXCESS
	.comm	_REG_MAC_COLL_LATE,8,3          ; @REG_MAC_COLL_LATE
	.comm	_REG_MAC_COLL_NORMAL,8,3        ; @REG_MAC_COLL_NORMAL
	.no_dead_strip	_cas_get_stats
.subsections_via_symbols
