	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lan743x_ethtool_get_ethtool_stats
_lan743x_ethtool_get_ethtool_stats:     ## @lan743x_ethtool_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
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_lan743x_set0_hw_cnt_addr@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	xorl	%r13d, %r13d
	testl	%eax, %eax
	jle	LBB0_1
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax,%r13,8), %rsi
	movq	%r15, %rdi
	callq	_lan743x_csr_read
	movq	%rax, (%r14,%r13,8)
	incq	%r13
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %r13
	jl	LBB0_9
LBB0_1:
	movq	(%r15), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_5
## %bb.2:
	movl	%r13d, %r13d
	leaq	(%r14,%r13,8), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rdi
	movq	(%rdi,%rbx,8), %rax
	movq	%rax, (%r12,%rbx,8)
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_3
## %bb.4:
	addl	%ebx, %r13d
LBB0_5:
	movq	_lan743x_set2_hw_cnt_addr@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_8
## %bb.6:
	movl	%r13d, %eax
	leaq	(%r14,%rax,8), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax,%rbx,8), %rsi
	movq	%r15, %rdi
	callq	_lan743x_csr_read
	movq	%rax, (%r14,%rbx,8)
	incq	%rbx
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lan743x_set0_hw_cnt_addr,8,3   ## @lan743x_set0_hw_cnt_addr
	.comm	_lan743x_set2_hw_cnt_addr,8,3   ## @lan743x_set2_hw_cnt_addr
	.no_dead_strip	_lan743x_ethtool_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 lan743x_ethtool_get_ethtool_stats
_lan743x_ethtool_get_ethtool_stats:     ; @lan743x_ethtool_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	x20, x2
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x22, _lan743x_set0_hw_cnt_addr@GOTPAGE
Lloh1:
	ldr	x22, [x22, _lan743x_set0_hw_cnt_addr@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	lsl	x23, x21, #3
	ldr	x1, [x8, x23]
	mov	x0, x19
	bl	_lan743x_csr_read
	add	x21, x21, #1
	str	x0, [x20, x23]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	x21, w0, sxtw
	b.lt	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w21, #0
LBB0_4:
	ldr	x0, [x19]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.5:
	mov	x22, #0
	mov	w23, w21
	add	x21, x20, w21, uxtw #3
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	lsl	x8, x22, #3
	ldr	x9, [x0, x8]
	str	x9, [x21, x8]
	add	x22, x22, #1
	bl	_ARRAY_SIZE
	cmp	x22, w0, sxtw
	b.lt	LBB0_6
; %bb.7:
	add	w21, w23, w22
LBB0_8:
Lloh2:
	adrp	x22, _lan743x_set2_hw_cnt_addr@GOTPAGE
Lloh3:
	ldr	x22, [x22, _lan743x_set2_hw_cnt_addr@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x23, #0
	add	x20, x20, w21, uxtw #3
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	lsl	x21, x23, #3
	ldr	x1, [x8, x21]
	mov	x0, x19
	bl	_lan743x_csr_read
	str	x0, [x20, x21]
	add	x23, x23, #1
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	x23, w0, sxtw
	b.lt	LBB0_10
LBB0_11:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_lan743x_set0_hw_cnt_addr,8,3   ; @lan743x_set0_hw_cnt_addr
	.comm	_lan743x_set2_hw_cnt_addr,8,3   ; @lan743x_set2_hw_cnt_addr
	.no_dead_strip	_lan743x_ethtool_get_ethtool_stats
.subsections_via_symbols
