	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vsc73xx_get_ethtool_stats
_vsc73xx_get_ethtool_stats:             ## @vsc73xx_get_ethtool_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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %r12
	movq	_VSC73XX_RXOCT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	_VSC73XX_C_RX0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movq	_VSC73XX_C_RX1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	_VSC73XX_C_RX2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	_VSC73XX_TXOCT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_VSC73XX_C_TX0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	_VSC73XX_C_TX1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_VSC73XX_C_TX2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	leaq	-80(%rbp), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	leaq	-84(%rbp), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_VSC73XX_BLOCK_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-80(%rbp,%rbx,4), %ecx
	movq	%r12, %rdi
	movl	%r15d, %edx
	movq	%r13, %r8
	callq	_vsc73xx_read
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	-84(%rbp), %eax
	movl	%eax, (%r14,%rbx,4)
	incq	%rbx
	leaq	-80(%rbp), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_dev_err
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_VSC73XX_RXOCT,4,2              ## @VSC73XX_RXOCT
	.comm	_VSC73XX_C_RX0,4,2              ## @VSC73XX_C_RX0
	.comm	_VSC73XX_C_RX1,4,2              ## @VSC73XX_C_RX1
	.comm	_VSC73XX_C_RX2,4,2              ## @VSC73XX_C_RX2
	.comm	_VSC73XX_TXOCT,4,2              ## @VSC73XX_TXOCT
	.comm	_VSC73XX_C_TX0,4,2              ## @VSC73XX_C_TX0
	.comm	_VSC73XX_C_TX1,4,2              ## @VSC73XX_C_TX1
	.comm	_VSC73XX_C_TX2,4,2              ## @VSC73XX_C_TX2
	.comm	_VSC73XX_BLOCK_MAC,4,2          ## @VSC73XX_BLOCK_MAC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error reading counter %d\n"

	.no_dead_strip	_vsc73xx_get_ethtool_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vsc73xx_get_ethtool_stats
_vsc73xx_get_ethtool_stats:             ; @vsc73xx_get_ethtool_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x2
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	ldr	x21, [x0]
Lloh3:
	adrp	x8, _VSC73XX_RXOCT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VSC73XX_RXOCT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _VSC73XX_C_RX0@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VSC73XX_C_RX0@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #8]
Lloh9:
	adrp	x8, _VSC73XX_C_RX1@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VSC73XX_C_RX1@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _VSC73XX_C_RX2@GOTPAGE
Lloh13:
	ldr	x9, [x9, _VSC73XX_C_RX2@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
Lloh15:
	adrp	x8, _VSC73XX_TXOCT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VSC73XX_TXOCT@GOTPAGEOFF]
Lloh17:
	adrp	x9, _VSC73XX_C_TX0@GOTPAGE
Lloh18:
	ldr	x9, [x9, _VSC73XX_C_TX0@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #24]
Lloh21:
	adrp	x8, _VSC73XX_C_TX1@GOTPAGE
Lloh22:
	ldr	x8, [x8, _VSC73XX_C_TX1@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _VSC73XX_C_TX2@GOTPAGE
Lloh25:
	ldr	x9, [x9, _VSC73XX_C_TX2@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #32]
	add	x23, sp, #8
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x22, #0
Lloh27:
	adrp	x24, _VSC73XX_BLOCK_MAC@GOTPAGE
Lloh28:
	ldr	x24, [x24, _VSC73XX_BLOCK_MAC@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	ldr	w3, [x23, x22, lsl #2]
	add	x4, sp, #4
	mov	x0, x21
	mov	x2, x20
	bl	_vsc73xx_read
	cbnz	w0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [sp, #4]
	str	w8, [x19, x22, lsl #2]
	add	x22, x22, #1
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	cmp	x22, w0, sxtw
	b.lt	LBB0_2
	b	LBB0_5
LBB0_4:
	ldr	w0, [x21]
Lloh29:
	adrp	x1, l_.str@PAGE
Lloh30:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	bl	_dev_err
LBB0_5:
	ldr	x8, [sp, #40]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_VSC73XX_RXOCT,4,2              ; @VSC73XX_RXOCT
	.comm	_VSC73XX_C_RX0,4,2              ; @VSC73XX_C_RX0
	.comm	_VSC73XX_C_RX1,4,2              ; @VSC73XX_C_RX1
	.comm	_VSC73XX_C_RX2,4,2              ; @VSC73XX_C_RX2
	.comm	_VSC73XX_TXOCT,4,2              ; @VSC73XX_TXOCT
	.comm	_VSC73XX_C_TX0,4,2              ; @VSC73XX_C_TX0
	.comm	_VSC73XX_C_TX1,4,2              ; @VSC73XX_C_TX1
	.comm	_VSC73XX_C_TX2,4,2              ; @VSC73XX_C_TX2
	.comm	_VSC73XX_BLOCK_MAC,4,2          ; @VSC73XX_BLOCK_MAC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error reading counter %d\n"

	.no_dead_strip	_vsc73xx_get_ethtool_stats
.subsections_via_symbols
