	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmmac_get_ethtool_stats
_stmmac_get_ethtool_stats:              ## @stmmac_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	64(%rax), %rax
	movq	(%rax), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	cmpq	$0, 48(%rbx)
	je	LBB0_6
## %bb.1:
	movq	_STMMAC_SAFETY_FEAT_SIZE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_6
## %bb.2:
	leaq	56(%rbx), %r13
	xorl	%r12d, %r12d
	leaq	-80(%rbp), %r15
	xorl	%r14d, %r14d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%r12d
	movq	_STMMAC_SAFETY_FEAT_SIZE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	movq	%r15, %rcx
	xorl	%r8d, %r8d
	callq	_stmmac_safety_feat_dump
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rax
	movslq	%r14d, %rcx
	incl	%r14d
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rdx,%rcx,8)
	jmp	LBB0_5
LBB0_6:
	leaq	8(%rbx), %r13
	movl	12(%rbx), %ecx
	movq	%rbx, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	callq	_stmmac_dma_diagnostic_fr
	testl	%eax, %eax
	je	LBB0_23
## %bb.7:
	cmpq	$0, 40(%rbx)
	je	LBB0_18
## %bb.8:
	movl	36(%rbx), %esi
	movq	%rbx, %rdx
	addq	$32, %rdx
	movq	%rbx, %rdi
	callq	_stmmac_mmc_read
	movq	_STMMAC_MMC_STATS_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jle	LBB0_18
## %bb.9:
	movq	_stmmac_mmc@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movslq	%r14d, %r14
	leaq	-1(%rdx), %rsi
	movl	%edx, %r8d
	andl	$3, %r8d
	cmpq	$3, %rsi
	jae	LBB0_11
## %bb.10:
	xorl	%esi, %esi
	testq	%r8, %r8
	jne	LBB0_15
	jmp	LBB0_18
LBB0_11:
	andl	$-4, %edx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,8), %rdi
	addq	$24, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rcx,%rsi,8), %rax
	movq	(%rbx,%rax), %rax
	movq	%rax, -24(%rdi,%rsi,8)
	movslq	8(%rcx,%rsi,8), %rax
	movq	(%rbx,%rax), %rax
	movq	%rax, -16(%rdi,%rsi,8)
	movslq	16(%rcx,%rsi,8), %rax
	movq	(%rbx,%rax), %rax
	movq	%rax, -8(%rdi,%rsi,8)
	movslq	24(%rcx,%rsi,8), %rax
	movq	(%rbx,%rax), %rax
	movq	%rax, (%rdi,%rsi,8)
	addq	$4, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_12
## %bb.13:
	addq	%rsi, %r14
	testq	%r8, %r8
	je	LBB0_18
LBB0_15:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r14,8), %rdx
	leaq	(%rcx,%rsi,8), %rsi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rsi,%rcx,8), %rax
	movq	(%rbx,%rax), %rax
	movq	%rax, (%rdx,%rcx,8)
	incq	%rcx
	cmpq	%rcx, %r8
	jne	LBB0_16
## %bb.17:
	addq	%rcx, %r14
LBB0_18:
	cmpq	$0, 24(%rbx)
	je	LBB0_21
## %bb.19:
	movl	16(%rbx), %edi
	callq	_phylink_get_eee_err
	testl	%eax, %eax
	je	LBB0_21
## %bb.20:
	movl	%eax, (%r13)
LBB0_21:
	movq	(%rbx), %rax
	movq	_DWMAC_CORE_3_50@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_23
## %bb.22:
	movl	12(%rbx), %esi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_stmmac_mac_debug
LBB0_23:
	movq	_STMMAC_STATS_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	jle	LBB0_32
## %bb.24:
	movq	_stmmac_gstrings_stats@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movslq	%r14d, %r8
	leaq	-1(%rsi), %rdx
	movl	%esi, %r9d
	andl	$3, %r9d
	cmpq	$3, %rdx
	jae	LBB0_26
## %bb.25:
	xorl	%edi, %edi
	testq	%r9, %r9
	jne	LBB0_30
	jmp	LBB0_32
LBB0_26:
	andl	$-4, %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r8,8), %rdx
	addq	$24, %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rcx,%rdi,8), %rax
	movq	(%rbx,%rax), %rax
	movq	%rax, -24(%rdx,%rdi,8)
	movslq	8(%rcx,%rdi,8), %rax
	movq	(%rbx,%rax), %rax
	movq	%rax, -16(%rdx,%rdi,8)
	movslq	16(%rcx,%rdi,8), %rax
	movq	(%rbx,%rax), %rax
	movq	%rax, -8(%rdx,%rdi,8)
	movslq	24(%rcx,%rdi,8), %rax
	movq	(%rbx,%rax), %rax
	movq	%rax, (%rdx,%rdi,8)
	addq	$4, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_27
## %bb.28:
	addq	%rdi, %r8
	testq	%r9, %r9
	je	LBB0_32
LBB0_30:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r8,8), %rdx
	leaq	(%rcx,%rdi,8), %rcx
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_31:                                ## =>This Inner Loop Header: Depth=1
	movslq	(%rcx,%rsi,8), %rax
	movq	(%rbx,%rax), %rax
	movq	%rax, (%rdx,%rsi,8)
	incq	%rsi
	cmpq	%rsi, %r9
	jne	LBB0_31
LBB0_32:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STMMAC_SAFETY_FEAT_SIZE,4,2    ## @STMMAC_SAFETY_FEAT_SIZE
	.comm	_STMMAC_MMC_STATS_LEN,4,2       ## @STMMAC_MMC_STATS_LEN
	.comm	_stmmac_mmc,8,3                 ## @stmmac_mmc
	.comm	_DWMAC_CORE_3_50,8,3            ## @DWMAC_CORE_3_50
	.comm	_STMMAC_STATS_LEN,4,2           ## @STMMAC_STATS_LEN
	.comm	_stmmac_gstrings_stats,8,3      ## @stmmac_gstrings_stats
	.no_dead_strip	_stmmac_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 stmmac_get_ethtool_stats
_stmmac_get_ethtool_stats:              ; @stmmac_get_ethtool_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x24, x0
	bl	_netdev_priv
	mov	x19, x0
	ldr	x8, [x0, #64]
	ldp	x21, x22, [x8]
	ldr	x8, [x0, #48]
Lloh0:
	adrp	x27, _STMMAC_SAFETY_FEAT_SIZE@GOTPAGE
Lloh1:
	ldr	x27, [x27, _STMMAC_SAFETY_FEAT_SIZE@GOTPAGEOFF]
	ldr	w9, [x27]
	cmp	x8, #0
	ccmp	w9, #1, #8, ne
	b.ge	LBB0_16
; %bb.1:
	mov	w26, #0
LBB0_2:
	add	x23, x19, #8
	ldr	w3, [x19, #12]
	mov	x0, x19
	mov	x1, x24
	mov	x2, x23
	bl	_stmmac_dma_diagnostic_fr
	cbz	w0, LBB0_12
; %bb.3:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	w1, [x19, #36]
	add	x2, x19, #32
	mov	x0, x19
	bl	_stmmac_mmc_read
Lloh2:
	adrp	x8, _STMMAC_MMC_STATS_LEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STMMAC_MMC_STATS_LEN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
Lloh5:
	adrp	x9, _stmmac_mmc@GOTPAGE
Lloh6:
	ldr	x9, [x9, _stmmac_mmc@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	add	x10, x20, w26, sxtw #3
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x11, [x9], #8
	ldr	x11, [x19, x11]
	str	x11, [x10], #8
	add	w26, w26, #1
	subs	x8, x8, #1
	b.ne	LBB0_6
LBB0_7:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_10
; %bb.8:
	ldr	w0, [x19, #16]
	bl	_phylink_get_eee_err
	cbz	w0, LBB0_10
; %bb.9:
	str	w0, [x23]
LBB0_10:
	ldr	x8, [x19]
Lloh8:
	adrp	x9, _DWMAC_CORE_3_50@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DWMAC_CORE_3_50@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_12
; %bb.11:
	ldr	w1, [x19, #12]
	mov	x0, x19
	mov	x2, x23
	mov	x3, x21
	mov	x4, x22
	bl	_stmmac_mac_debug
LBB0_12:
Lloh11:
	adrp	x8, _STMMAC_STATS_LEN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _STMMAC_STATS_LEN@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.13:
Lloh14:
	adrp	x9, _stmmac_gstrings_stats@GOTPAGE
Lloh15:
	ldr	x9, [x9, _stmmac_gstrings_stats@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x10, x20, w26, sxtw #3
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldrsw	x11, [x9], #8
	ldr	x11, [x19, x11]
	str	x11, [x10], #8
	subs	x8, x8, #1
	b.ne	LBB0_14
LBB0_15:
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_16:
	mov	w23, #0
	mov	w26, #0
	add	x25, x19, #56
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=1
	add	w23, w23, #1
	ldr	w8, [x27]
	cmp	w23, w8
	b.ge	LBB0_2
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x25
	mov	x2, x23
	mov	x4, #0
	bl	_stmmac_safety_feat_dump
	cbnz	w0, LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldr	x8, [sp, #8]
	str	x8, [x20, w26, sxtw #3]
	add	w26, w26, #1
	b	LBB0_17
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_STMMAC_SAFETY_FEAT_SIZE,4,2    ; @STMMAC_SAFETY_FEAT_SIZE
	.comm	_STMMAC_MMC_STATS_LEN,4,2       ; @STMMAC_MMC_STATS_LEN
	.comm	_stmmac_mmc,8,3                 ; @stmmac_mmc
	.comm	_DWMAC_CORE_3_50,8,3            ; @DWMAC_CORE_3_50
	.comm	_STMMAC_STATS_LEN,4,2           ; @STMMAC_STATS_LEN
	.comm	_stmmac_gstrings_stats,8,3      ; @stmmac_gstrings_stats
	.no_dead_strip	_stmmac_get_ethtool_stats
.subsections_via_symbols
