//go:build (amd64 || arm64 || riscv64) && linux

// Note: This expression is not the same as compiler support, even if it looks
// similar. Platform functions here are used in interpreter mode as well.

package sys

import (
	
	
)

const sysParseable = true

func statFromFileInfo( fs.FileInfo) Stat_t {
	if ,  := .Sys().(*syscall.Stat_t);  {
		 := Stat_t{}
		.Dev = uint64(.Dev)
		.Ino = uint64(.Ino)
		.Mode = .Mode()
		.Nlink = uint64(.Nlink)
		.Size = .Size
		 := .Atim
		.Atim = .Sec*1e9 + .Nsec
		 := .Mtim
		.Mtim = .Sec*1e9 + .Nsec
		 := .Ctim
		.Ctim = .Sec*1e9 + .Nsec
		return 
	}
	return defaultStatFromFileInfo()
}