	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s6gmac_stats
_s6gmac_stats:                          ## @s6gmac_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	%rax, %r12
	movq	%rax, %r14
	addq	$16, %r14
	movq	_statinf@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	8(%r12), %rax
	movl	(%rax), %eax
	movq	_S6_GMAC_STAT_SIZE_MIN@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	decb	%cl
	shll	%cl, %eax
	movq	(%r12), %rcx
	movl	%eax, (%rcx)
	movq	(%r13), %rax
	movq	(%rax), %rsi
	movq	%r12, %rdi
	callq	_s6gmac_stats_collect
	movq	(%r13), %rax
	movq	8(%rax), %rsi
	movq	%r12, %rdi
	callq	_s6gmac_stats_collect
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_s6gmac_stats_pending
	movl	%eax, %r15d
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_s6gmac_stats_pending
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
	orl	%r15d, %ebx
	jne	LBB0_1
## %bb.2:
	movq	32(%r12), %rax
	addq	40(%r12), %rax
	addq	24(%r12), %rax
	addq	16(%r12), %rax
	movq	%rax, 48(%r12)
	movl	(%r12), %eax
	addl	%eax, 8(%r12)
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S6_GMAC_STAT_SIZE_MIN,4,2      ## @S6_GMAC_STAT_SIZE_MIN
	.comm	_statinf,8,3                    ## @statinf
	.no_dead_strip	_s6gmac_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s6gmac_stats
_s6gmac_stats:                          ; @s6gmac_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
	mov	x19, x0
	add	x20, x0, #16
Lloh0:
	adrp	x22, _S6_GMAC_STAT_SIZE_MIN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _S6_GMAC_STAT_SIZE_MIN@GOTPAGEOFF]
Lloh2:
	adrp	x23, _statinf@GOTPAGE
Lloh3:
	ldr	x23, [x23, _statinf@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_spin_lock_irqsave
	ldp	x9, x8, [x19]
	ldr	w8, [x8]
	ldr	w10, [x22]
	sub	w10, w10, #1
	lsl	w8, w8, w10
	str	w8, [x9]
	ldr	x8, [x23]
	ldr	x1, [x8]
	mov	x0, x19
	bl	_s6gmac_stats_collect
	ldr	x8, [x23]
	ldr	x1, [x8, #8]
	mov	x0, x19
	bl	_s6gmac_stats_collect
	mov	x0, x19
	mov	w1, #0
	bl	_s6gmac_stats_pending
	mov	x21, x0
	mov	x0, x19
	mov	w1, #1
	bl	_s6gmac_stats_pending
	orr	w21, w0, w21
	mov	x0, x20
	bl	_spin_unlock_irqrestore
	cbnz	w21, LBB0_1
; %bb.2:
	ldp	x9, x8, [x19, #32]
	ldp	x11, x10, [x19, #16]
	add	x8, x9, x8
	add	x8, x8, x10
	add	x8, x8, x11
	str	x8, [x19, #48]
	ldr	w8, [x19]
	ldr	w9, [x19, #8]
	add	w8, w9, w8
	str	w8, [x19, #8]
	mov	x0, x19
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_S6_GMAC_STAT_SIZE_MIN,4,2      ; @S6_GMAC_STAT_SIZE_MIN
	.comm	_statinf,8,3                    ; @statinf
	.no_dead_strip	_s6gmac_stats
.subsections_via_symbols
