when can the government pass laws that restrict speech
They cannot as it is unconstitutional according to the first amendment people have the right to freedom of speech.