Text this: Atomistic mechanisms for frictional energy dissipation during continuous sliding