I have an M2 SSD and Ryzen 7 laptop it wasnt slow until a couple months ago, still runs slow even after cleaning, reapplying thermal paste and even unistalling software and files that could be making it slower.
i know i could also reset windows, but i want to leave it as a last resort, really...