	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function niu_get_stats_count
_niu_get_stats_count:                   ## @niu_get_stats_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_netdev_priv
	movq	_NIU_FLAGS_XMAC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_NUM_BMAC_STAT_KEYS@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_NUM_XMAC_STAT_KEYS@GOTPCREL(%rip), %rcx
LBB0_3:
	movq	_NUM_RXCHAN_STAT_KEYS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	imull	4(%rax), %edx
	addl	(%rcx), %edx
	movq	_NUM_TXCHAN_STAT_KEYS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	8(%rax), %ecx
	addl	%edx, %ecx
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIU_FLAGS_XMAC,4,2             ## @NIU_FLAGS_XMAC
	.comm	_NUM_XMAC_STAT_KEYS,4,2         ## @NUM_XMAC_STAT_KEYS
	.comm	_NUM_BMAC_STAT_KEYS,4,2         ## @NUM_BMAC_STAT_KEYS
	.comm	_NUM_RXCHAN_STAT_KEYS,4,2       ## @NUM_RXCHAN_STAT_KEYS
	.comm	_NUM_TXCHAN_STAT_KEYS,4,2       ## @NUM_TXCHAN_STAT_KEYS
	.no_dead_strip	_niu_get_stats_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function niu_get_stats_count
_niu_get_stats_count:                   ; @niu_get_stats_count
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_netdev_priv
Lloh0:
	adrp	x8, _NIU_FLAGS_XMAC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIU_FLAGS_XMAC@GOTPAGEOFF]
Lloh2:
	adrp	x9, _NUM_XMAC_STAT_KEYS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NUM_XMAC_STAT_KEYS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldp	w10, w11, [x0]
	tst	w8, w10
Lloh5:
	adrp	x8, _NUM_BMAC_STAT_KEYS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NUM_BMAC_STAT_KEYS@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _NUM_RXCHAN_STAT_KEYS@GOTPAGE
Lloh8:
	ldr	x9, [x9, _NUM_RXCHAN_STAT_KEYS@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	madd	w8, w9, w11, w8
	ldr	w9, [x0, #8]
Lloh10:
	adrp	x10, _NUM_TXCHAN_STAT_KEYS@GOTPAGE
Lloh11:
	ldr	x10, [x10, _NUM_TXCHAN_STAT_KEYS@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	madd	w0, w10, w9, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_NIU_FLAGS_XMAC,4,2             ; @NIU_FLAGS_XMAC
	.comm	_NUM_XMAC_STAT_KEYS,4,2         ; @NUM_XMAC_STAT_KEYS
	.comm	_NUM_BMAC_STAT_KEYS,4,2         ; @NUM_BMAC_STAT_KEYS
	.comm	_NUM_RXCHAN_STAT_KEYS,4,2       ; @NUM_RXCHAN_STAT_KEYS
	.comm	_NUM_TXCHAN_STAT_KEYS,4,2       ; @NUM_TXCHAN_STAT_KEYS
	.no_dead_strip	_niu_get_stats_count
.subsections_via_symbols
