	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp2_read_stats
_mvpp2_read_stats:                      ## @mvpp2_read_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
	movq	%rdi, %r14
	movq	32(%rdi), %r12
	movq	_mvpp2_ethtool_mib_regs@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rsi
	addq	%r13, %rsi
	movq	%r14, %rdi
	callq	_mvpp2_read_count
	addl	%eax, (%r12)
	addq	$4, %r12
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$8, %r13
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	_mvpp2_ethtool_port_regs@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	24(%r14), %edi
	movq	(%r15), %rax
	movslq	(%r14), %rsi
	shlq	$2, %rsi
	addq	(%rax,%rbx,8), %rsi
	callq	_mvpp2_read
	addl	%eax, (%r12)
	addq	$4, %r12
	incq	%rbx
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	cmpl	$0, 4(%r14)
	jle	LBB0_12
## %bb.7:
	xorl	%ebx, %ebx
	movq	_mvpp2_ethtool_txq_regs@GOTPCREL(%rip), %r13
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	incl	%ebx
	cmpl	4(%r14), %ebx
	jge	LBB0_12
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r14), %edi
	movl	24(%r14), %r15d
	movl	%ebx, %esi
	callq	_MVPP22_CTRS_TX_CTR
	movq	(%r13), %rcx
	movq	(%rcx,%rbx,8), %rdx
	movl	%r15d, %edi
	movq	%rax, %rsi
	callq	_mvpp2_read_index
	addl	%eax, (%r12)
	addq	$4, %r12
	incq	%rbx
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_10
	jmp	LBB0_11
LBB0_12:
	cmpl	$0, 8(%r14)
	jle	LBB0_18
## %bb.13:
	xorl	%r15d, %r15d
	movq	_mvpp2_ethtool_rxq_regs@GOTPCREL(%rip), %r13
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_14 Depth=1
	incl	%r15d
	cmpl	8(%r14), %r15d
	jge	LBB0_18
LBB0_14:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_16 Depth 2
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_16:                                ##   Parent Loop BB0_14 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	24(%r14), %edi
	movq	16(%r14), %rsi
	addq	%rbx, %rsi
	movq	(%r13), %rax
	movq	(%rax,%rbx,8), %rdx
	callq	_mvpp2_read_index
	addl	%eax, (%r12)
	addq	$4, %r12
	incq	%rbx
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_16
	jmp	LBB0_17
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mvpp2_ethtool_mib_regs,8,3     ## @mvpp2_ethtool_mib_regs
	.comm	_mvpp2_ethtool_port_regs,8,3    ## @mvpp2_ethtool_port_regs
	.comm	_mvpp2_ethtool_txq_regs,8,3     ## @mvpp2_ethtool_txq_regs
	.comm	_mvpp2_ethtool_rxq_regs,8,3     ## @mvpp2_ethtool_rxq_regs
	.no_dead_strip	_mvpp2_read_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvpp2_read_stats
_mvpp2_read_stats:                      ; @mvpp2_read_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
	mov	x19, x0
	ldr	x22, [x0, #32]
Lloh0:
	adrp	x20, _mvpp2_ethtool_mib_regs@GOTPAGE
Lloh1:
	ldr	x20, [x20, _mvpp2_ethtool_mib_regs@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x1, x8, x21
	mov	x0, x19
	bl	_mvpp2_read_count
	ldr	w8, [x22]
	add	w8, w8, w0
	str	w8, [x22], #4
	add	x23, x23, #1
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	add	x21, x21, #8
	cmp	x23, w0, sxtw
	b.lt	LBB0_2
LBB0_3:
Lloh2:
	adrp	x20, _mvpp2_ethtool_port_regs@GOTPAGE
Lloh3:
	ldr	x20, [x20, _mvpp2_ethtool_port_regs@GOTPAGEOFF]
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x21, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #24]
	ldr	x8, [x20]
	ldr	x8, [x8, x21, lsl #3]
	ldrsw	x9, [x19]
	add	x1, x8, x9, lsl #2
	bl	_mvpp2_read
	ldr	w8, [x22]
	add	w8, w8, w0
	str	w8, [x22], #4
	add	x21, x21, #1
	ldr	x0, [x20]
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_5
LBB0_6:
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.7:
	mov	w23, #0
Lloh4:
	adrp	x24, _mvpp2_ethtool_txq_regs@GOTPAGE
Lloh5:
	ldr	x24, [x24, _mvpp2_ethtool_txq_regs@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	w23, w23, #1
	ldr	w8, [x19, #4]
	cmp	w23, w8
	b.ge	LBB0_12
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x20, #0
LBB0_11:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w21, [x19, #24]
	ldr	w0, [x19]
	mov	x1, x20
	bl	_MVPP22_CTRS_TX_CTR
	mov	x1, x0
	ldr	x8, [x24]
	ldr	x2, [x8, x20, lsl #3]
	mov	x0, x21
	bl	_mvpp2_read_index
	ldr	w8, [x22]
	add	w8, w8, w0
	str	w8, [x22], #4
	add	x20, x20, #1
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	x20, w0, sxtw
	b.lt	LBB0_11
	b	LBB0_8
LBB0_12:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.13:
	mov	w20, #0
Lloh6:
	adrp	x21, _mvpp2_ethtool_rxq_regs@GOTPAGE
Lloh7:
	ldr	x21, [x21, _mvpp2_ethtool_rxq_regs@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=1
	add	w20, w20, #1
	ldr	w8, [x19, #8]
	cmp	w20, w8
	b.ge	LBB0_18
LBB0_15:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	mov	x23, #0
LBB0_17:                                ;   Parent Loop BB0_15 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w0, [x19, #24]
	ldr	x8, [x19, #16]
	add	x1, x23, x8
	ldr	x8, [x21]
	ldr	x2, [x8, x23, lsl #3]
	bl	_mvpp2_read_index
	ldr	w8, [x22]
	add	w8, w8, w0
	str	w8, [x22], #4
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_ARRAY_SIZE
	cmp	x23, w0, sxtw
	b.lt	LBB0_17
	b	LBB0_14
LBB0_18:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_mvpp2_ethtool_mib_regs,8,3     ; @mvpp2_ethtool_mib_regs
	.comm	_mvpp2_ethtool_port_regs,8,3    ; @mvpp2_ethtool_port_regs
	.comm	_mvpp2_ethtool_txq_regs,8,3     ; @mvpp2_ethtool_txq_regs
	.comm	_mvpp2_ethtool_rxq_regs,8,3     ; @mvpp2_ethtool_rxq_regs
	.no_dead_strip	_mvpp2_read_stats
.subsections_via_symbols
