	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lbs_mesh_ethtool_get_stats     ## -- Begin function lbs_mesh_ethtool_get_stats
	.p2align	4, 0x90
_lbs_mesh_ethtool_get_stats:            ## @lbs_mesh_ethtool_get_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	(%rdi), %rbx
	movq	_CMD_ACT_MESH_GET_STATS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-24(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_lbs_mesh_access
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_MESH_STATS_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$3, %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_memset
	jmp	LBB0_3
LBB0_2:
	movq	-24(%rbp), %rax
	movl	(%rax), %edi
	callq	_le32_to_cpu
	movq	%rax, 56(%rbx)
	movq	-24(%rbp), %rax
	movl	4(%rax), %edi
	callq	_le32_to_cpu
	movq	%rax, 48(%rbx)
	movq	-24(%rbp), %rax
	movl	8(%rax), %edi
	callq	_le32_to_cpu
	movq	%rax, 40(%rbx)
	movq	-24(%rbp), %rax
	movl	12(%rax), %edi
	callq	_le32_to_cpu
	movq	%rax, 32(%rbx)
	movq	-24(%rbp), %rax
	movl	16(%rax), %edi
	callq	_le32_to_cpu
	movq	%rax, 24(%rbx)
	movq	-24(%rbp), %rax
	movl	20(%rax), %edi
	callq	_le32_to_cpu
	movq	%rax, 16(%rbx)
	movq	-24(%rbp), %rax
	movl	24(%rax), %edi
	callq	_le32_to_cpu
	movq	%rax, 8(%rbx)
	movq	-24(%rbp), %rax
	movl	28(%rax), %edi
	callq	_le32_to_cpu
	movq	%rax, (%rbx)
	movq	56(%rbx), %rax
	movq	%rax, (%r14)
	movq	48(%rbx), %rax
	movq	%rax, 8(%r14)
	movq	40(%rbx), %rax
	movq	%rax, 16(%r14)
	movq	32(%rbx), %rax
	movq	%rax, 24(%r14)
	movq	24(%rbx), %rax
	movq	%rax, 32(%r14)
	movq	16(%rbx), %rax
	movq	%rax, 40(%r14)
	movq	8(%rbx), %rax
	movq	%rax, 48(%r14)
	movq	(%rbx), %rax
	movq	%rax, 56(%r14)
LBB0_3:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_ACT_MESH_GET_STATS,4,2     ## @CMD_ACT_MESH_GET_STATS
	.comm	_MESH_STATS_NUM,4,2             ## @MESH_STATS_NUM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lbs_mesh_ethtool_get_stats     ; -- Begin function lbs_mesh_ethtool_get_stats
	.p2align	2
_lbs_mesh_ethtool_get_stats:            ; @lbs_mesh_ethtool_get_stats
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _CMD_ACT_MESH_GET_STATS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_ACT_MESH_GET_STATS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_lbs_mesh_access
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MESH_STATS_NUM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MESH_STATS_NUM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	w2, w8, #3
	mov	x0, x19
	mov	w1, #0
	bl	_memset
	b	LBB0_3
LBB0_2:
	ldr	x8, [sp, #8]
	ldr	w0, [x8]
	bl	_le32_to_cpu
	str	x0, [x20, #56]
	ldr	x8, [sp, #8]
	ldr	w0, [x8, #4]
	bl	_le32_to_cpu
	str	x0, [x20, #48]
	ldr	x8, [sp, #8]
	ldr	w0, [x8, #8]
	bl	_le32_to_cpu
	str	x0, [x20, #40]
	ldr	x8, [sp, #8]
	ldr	w0, [x8, #12]
	bl	_le32_to_cpu
	str	x0, [x20, #32]
	ldr	x8, [sp, #8]
	ldr	w0, [x8, #16]
	bl	_le32_to_cpu
	str	x0, [x20, #24]
	ldr	x8, [sp, #8]
	ldr	w0, [x8, #20]
	bl	_le32_to_cpu
	str	x0, [x20, #16]
	ldr	x8, [sp, #8]
	ldr	w0, [x8, #24]
	bl	_le32_to_cpu
	str	x0, [x20, #8]
	ldr	x8, [sp, #8]
	ldr	w0, [x8, #28]
	bl	_le32_to_cpu
	str	x0, [x20]
	ldr	x8, [x20, #56]
	str	x8, [x19]
	ldr	x8, [x20, #48]
	str	x8, [x19, #8]
	ldr	x8, [x20, #40]
	str	x8, [x19, #16]
	ldr	x8, [x20, #32]
	str	x8, [x19, #24]
	ldr	x8, [x20, #24]
	str	x8, [x19, #32]
	ldr	x8, [x20, #16]
	str	x8, [x19, #40]
	ldr	x8, [x20, #8]
	str	x8, [x19, #48]
	ldr	x8, [x20]
	str	x8, [x19, #56]
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_ACT_MESH_GET_STATS,4,2     ; @CMD_ACT_MESH_GET_STATS
	.comm	_MESH_STATS_NUM,4,2             ; @MESH_STATS_NUM
.subsections_via_symbols
