	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function niu_get_rx_stats
_niu_get_rx_stats:                      ## @niu_get_rx_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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	16(%rdi), %edi
	callq	_ACCESS_ONCE
	xorps	%xmm1, %xmm1
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	cmpl	$0, (%r14)
	xorps	%xmm0, %xmm0
	jle	LBB0_5
## %bb.3:
	movq	%rax, %rbx
	xorps	%xmm1, %xmm1
	xorl	%r15d, %r15d
	xorps	%xmm0, %xmm0
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movaps	%xmm0, -48(%rbp)                ## 16-byte Spill
	movaps	%xmm1, -64(%rbp)                ## 16-byte Spill
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_niu_sync_rx_discard_stats
	movdqu	(%rbx), %xmm0
	movdqu	16(%rbx), %xmm1
	pshufd	$78, %xmm1, %xmm1               ## xmm1 = xmm1[2,3,0,1]
	movdqa	-64(%rbp), %xmm2                ## 16-byte Reload
	paddq	%xmm1, %xmm2
	movdqa	%xmm2, -64(%rbp)                ## 16-byte Spill
	movaps	-64(%rbp), %xmm1                ## 16-byte Reload
	pshufd	$78, %xmm0, %xmm0               ## xmm0 = xmm0[2,3,0,1]
	movdqa	-48(%rbp), %xmm2                ## 16-byte Reload
	paddq	%xmm0, %xmm2
	movdqa	%xmm2, -48(%rbp)                ## 16-byte Spill
	movaps	-48(%rbp), %xmm0                ## 16-byte Reload
	incq	%r15
	movslq	(%r14), %rax
	addq	$32, %rbx
	cmpq	%rax, %r15
	jl	LBB0_4
	jmp	LBB0_5
LBB0_1:
	xorps	%xmm0, %xmm0
LBB0_5:
	movq	8(%r14), %rax
	movups	%xmm1, (%rax)
	movups	%xmm0, 16(%rax)
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_niu_get_rx_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function niu_get_rx_stats
_niu_get_rx_stats:                      ; @niu_get_rx_stats
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	w0, [x0, #16]
	bl	_ACCESS_ONCE
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x20, x0
	mov	x25, #0
	mov	x24, #0
	mov	x23, #0
	mov	x22, #0
	mov	x21, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_niu_sync_rx_discard_stats
	ldp	x9, x8, [x20, #16]
	add	x24, x8, x24
	add	x22, x9, x22
	ldp	x9, x8, [x20], #32
	add	x23, x8, x23
	add	x21, x9, x21
	add	x25, x25, #1
	ldrsw	x8, [x19]
	cmp	x25, x8
	b.lt	LBB0_3
	b	LBB0_5
LBB0_4:
	mov	x21, #0
	mov	x22, #0
	mov	x23, #0
	mov	x24, #0
LBB0_5:
	ldr	x8, [x19, #8]
	stp	x24, x22, [x8]
	stp	x23, x21, [x8, #16]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_niu_get_rx_stats
.subsections_via_symbols
