	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fe_get_ethtool_stats
_fe_get_ethtool_stats:                  ## @fe_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r12
	callq	_netdev_priv
	movq	%rax, %r15
	movq	(%rax), %r13
	movq	%r12, %rdi
	callq	_netif_running
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%r12, %rdi
	callq	_netif_device_present
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	leaq	8(%r13), %r12
	movq	%r12, %rdi
	callq	_spin_trylock
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_fe_stats_update
	movq	%r12, %rdi
	callq	_spin_unlock
LBB0_4:
	movq	_fe_gdma_str@GOTPCREL(%rip), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_u64_stats_fetch_retry_irq
	testq	%rax, %rax
	je	LBB0_9
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	%r13, %rdi
	callq	_u64_stats_fetch_begin_irq
	movl	%eax, %r15d
	movl	(%r12), %edi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	4(%r13,%rbx,4), %eax
	movl	%eax, (%r14,%rbx,4)
	movl	(%r12), %edi
	callq	_ARRAY_SIZE
	incq	%rbx
	cmpl	%eax, %ebx
	jl	LBB0_7
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fe_gdma_str,4,2                ## @fe_gdma_str
	.no_dead_strip	_fe_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 fe_get_ethtool_stats
_fe_get_ethtool_stats:                  ; @fe_get_ethtool_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, x2
	mov	x22, x0
	bl	_netdev_priv
	mov	x21, x0
	ldr	x20, [x0]
	mov	x0, x22
	bl	_netif_running
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x22
	bl	_netif_device_present
	cbz	x0, LBB0_4
; %bb.2:
	add	x22, x20, #8
	mov	x0, x22
	bl	_spin_trylock
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_fe_stats_update
	mov	x0, x22
	bl	_spin_unlock
LBB0_4:
	add	x22, x20, #4
Lloh0:
	adrp	x23, _fe_gdma_str@GOTPAGE
Lloh1:
	ldr	x23, [x23, _fe_gdma_str@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	mov	x1, x21
	bl	_u64_stats_fetch_retry_irq
	cbz	x0, LBB0_9
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x0, x20
	bl	_u64_stats_fetch_begin_irq
	mov	x21, x0
	ldr	w0, [x23]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x24, #0
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	x8, x24, #2
	ldr	w9, [x22, x8]
	str	w9, [x19, x8]
	ldr	w0, [x23]
	bl	_ARRAY_SIZE
	add	x24, x24, #1
	cmp	w24, w0
	b.lt	LBB0_8
	b	LBB0_5
LBB0_9:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_fe_gdma_str,4,2                ; @fe_gdma_str
	.no_dead_strip	_fe_get_ethtool_stats
.subsections_via_symbols
