Where does “thrash” come from?

Words derived from “thrash