	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function myri10ge_get_ethtool_stats
_myri10ge_get_ethtool_stats:            ## @myri10ge_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, %r13
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	leaq	-48(%rbp), %r12
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_myri10ge_get_stats
	movq	_MYRI10GE_NET_STATS_LEN@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_3
## %bb.1:
	movl	-48(%rbp), %ecx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, (%r13,%rbx,4)
	incq	%rbx
	movslq	(%rax), %rdx
	cmpq	%rdx, %rbx
	jl	LBB0_2
LBB0_3:
	movl	96(%r14), %eax
	movl	%ebx, %r15d
	movl	%eax, (%r13,%r15,4)
	movq	88(%r14), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13,%r15,4)
	movl	80(%r14), %eax
	movl	%eax, 8(%r13,%r15,4)
	movl	72(%r14), %eax
	movl	%eax, 12(%r13,%r15,4)
	movl	64(%r14), %eax
	movl	%eax, 16(%r13,%r15,4)
	movl	56(%r14), %eax
	movl	%eax, 20(%r13,%r15,4)
	movl	48(%r14), %eax
	movl	%eax, 24(%r13,%r15,4)
	movl	40(%r14), %eax
	movl	%eax, 28(%r13,%r15,4)
	movl	32(%r14), %eax
	movl	%eax, 32(%r13,%r15,4)
	movl	16(%r14), %eax
	movl	%eax, 36(%r13,%r15,4)
	movq	8(%r14), %r12
	movq	72(%r12), %rax
	movl	44(%rax), %edi
	callq	_ntohl
	movl	%eax, 40(%r13,%r15,4)
	movq	72(%r12), %rax
	movl	40(%rax), %edi
	callq	_ntohl
	movl	%eax, 44(%r13,%r15,4)
	movq	72(%r12), %rax
	movl	36(%rax), %edi
	callq	_ntohl
	movl	%eax, 48(%r13,%r15,4)
	movq	72(%r12), %rax
	movl	32(%rax), %edi
	callq	_ntohl
	movl	%eax, 52(%r13,%r15,4)
	movq	72(%r12), %rax
	movl	28(%rax), %edi
	callq	_ntohl
	movl	%eax, 56(%r13,%r15,4)
	movq	72(%r12), %rax
	movl	24(%rax), %edi
	callq	_ntohl
	movl	%eax, 60(%r13,%r15,4)
	movq	72(%r12), %rax
	movl	20(%rax), %edi
	callq	_ntohl
	movl	%eax, 64(%r13,%r15,4)
	movq	72(%r12), %rax
	movl	16(%rax), %edi
	callq	_ntohl
	movl	%eax, 68(%r13,%r15,4)
	movq	72(%r12), %rax
	movl	12(%rax), %edi
	callq	_ntohl
	movl	%eax, 72(%r13,%r15,4)
	movq	72(%r12), %rax
	movl	8(%rax), %edi
	callq	_ntohl
	movl	%eax, 76(%r13,%r15,4)
	movq	72(%r12), %rax
	movl	4(%rax), %edi
	callq	_ntohl
	movl	%eax, 80(%r13,%r15,4)
	movq	72(%r12), %rax
	movl	(%rax), %edi
	callq	_ntohl
	movl	%eax, 84(%r13,%r15,4)
	cmpl	$0, (%r14)
	jle	LBB0_6
## %bb.4:
	movq	8(%r14), %rax
	addq	$64, %rax
	leaq	124(,%r15,4), %rcx
	addq	%r13, %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, -36(%rcx)
	movl	-16(%rax), %esi
	movl	%esi, -32(%rcx)
	movl	-24(%rax), %esi
	movl	%esi, -28(%rcx)
	movl	-32(%rax), %esi
	movl	%esi, -24(%rcx)
	movl	-40(%rax), %esi
	movl	%esi, -20(%rcx)
	movl	(%rax), %esi
	movl	%esi, -16(%rcx)
	movl	-8(%rax), %esi
	movl	%esi, -12(%rcx)
	movl	-48(%rax), %esi
	movl	%esi, -8(%rcx)
	movl	-56(%rax), %esi
	movl	%esi, -4(%rcx)
	movl	-64(%rax), %esi
	movl	%esi, (%rcx)
	incq	%rdx
	movslq	(%r14), %rsi
	addq	$88, %rax
	addq	$40, %rcx
	cmpq	%rsi, %rdx
	jl	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MYRI10GE_NET_STATS_LEN,4,2     ## @MYRI10GE_NET_STATS_LEN
	.no_dead_strip	_myri10ge_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 myri10ge_get_ethtool_stats
_myri10ge_get_ethtool_stats:            ; @myri10ge_get_ethtool_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x0
	bl	_netdev_priv
	mov	x19, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x1, sp, #8
	mov	x0, x21
	bl	_myri10ge_get_stats
Lloh0:
	adrp	x8, _MYRI10GE_NET_STATS_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MYRI10GE_NET_STATS_LEN@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
	ldr	w9, [sp, #8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	w9, [x20, x21, lsl #2]
	add	x21, x21, #1
	ldrsw	x10, [x8]
	cmp	x21, x10
	b.lt	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	w21, #0
LBB0_4:
	add	w8, w21, #1
	ldp	x10, x9, [x19, #88]
	str	w9, [x20, w21, uxtw #2]
	ldr	x9, [x10]
	str	w9, [x20, w8, uxtw #2]
	add	w8, w21, #2
	lsl	x8, x8, #2
	add	w9, w21, #4
	ldur	q0, [x19, #72]
	xtn.2s	v0, v0
	rev64.2s	v0, v0
	str	d0, [x20, x8]
	ldr	x8, [x19, #64]
	add	w10, w21, #5
	str	w8, [x20, w9, uxtw #2]
	ldp	x9, x8, [x19, #48]
	str	w8, [x20, w10, uxtw #2]
	add	w8, w21, #6
	add	w10, w21, #7
	str	w9, [x20, w8, uxtw #2]
	ldp	x9, x8, [x19, #32]
	str	w8, [x20, w10, uxtw #2]
	add	w8, w21, #8
	add	w10, w21, #9
	str	w9, [x20, w8, uxtw #2]
	ldp	x22, x8, [x19, #8]
	str	w8, [x20, w10, uxtw #2]
	add	w23, w21, #10
	ldr	x8, [x22, #72]
	ldr	w0, [x8, #44]
	bl	_ntohl
	add	w24, w21, #11
	str	w0, [x20, w23, uxtw #2]
	ldr	x8, [x22, #72]
	ldr	w0, [x8, #40]
	bl	_ntohl
	add	w23, w21, #12
	str	w0, [x20, w24, uxtw #2]
	ldr	x8, [x22, #72]
	ldr	w0, [x8, #36]
	bl	_ntohl
	add	w24, w21, #13
	str	w0, [x20, w23, uxtw #2]
	ldr	x8, [x22, #72]
	ldr	w0, [x8, #32]
	bl	_ntohl
	add	w23, w21, #14
	str	w0, [x20, w24, uxtw #2]
	ldr	x8, [x22, #72]
	ldr	w0, [x8, #28]
	bl	_ntohl
	add	w24, w21, #15
	str	w0, [x20, w23, uxtw #2]
	ldr	x8, [x22, #72]
	ldr	w0, [x8, #24]
	bl	_ntohl
	add	w23, w21, #16
	str	w0, [x20, w24, uxtw #2]
	ldr	x8, [x22, #72]
	ldr	w0, [x8, #20]
	bl	_ntohl
	add	w24, w21, #17
	str	w0, [x20, w23, uxtw #2]
	ldr	x8, [x22, #72]
	ldr	w0, [x8, #16]
	bl	_ntohl
	add	w23, w21, #18
	str	w0, [x20, w24, uxtw #2]
	ldr	x8, [x22, #72]
	ldr	w0, [x8, #12]
	bl	_ntohl
	add	w24, w21, #19
	str	w0, [x20, w23, uxtw #2]
	ldr	x8, [x22, #72]
	ldr	w0, [x8, #8]
	bl	_ntohl
	add	w23, w21, #20
	str	w0, [x20, w24, uxtw #2]
	ldr	x8, [x22, #72]
	ldr	w0, [x8, #4]
	bl	_ntohl
	add	w24, w21, #21
	str	w0, [x20, w23, uxtw #2]
	ldr	x8, [x22, #72]
	ldr	w0, [x8]
	bl	_ntohl
	str	w0, [x20, w24, uxtw #2]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x8, #0
	mov	w9, w21
	ldr	x10, [x19, #8]
	add	x9, x20, x9, lsl #2
	add	x9, x9, #124
	add	x10, x10, #40
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x10]
	xtn.2s	v0, v0
	rev64.2s	v0, v0
	stur	d0, [x9, #-32]
	ldp	q2, q0, [x10, #-32]
	xtn.2s	v0, v0
	rev64.2s	v0, v0
	stur	d0, [x9, #-24]
	xtn.2s	v0, v1
	rev64.2s	v0, v0
	stur	d0, [x9, #-16]
	stur	w8, [x9, #-36]
	xtn.2s	v0, v2
	rev64.2s	v0, v0
	stur	d0, [x9, #-8]
	ldur	x11, [x10, #-40]
	str	w11, [x9], #40
	add	x8, x8, #1
	ldrsw	x11, [x19]
	add	x10, x10, #88
	cmp	x8, x11
	b.lt	LBB0_6
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MYRI10GE_NET_STATS_LEN,4,2     ; @MYRI10GE_NET_STATS_LEN
	.no_dead_strip	_myri10ge_get_ethtool_stats
.subsections_via_symbols
