The restrictions of the First Amendment have been made applicable to the states via the Fourteenth Amendment. For the right to assemble, this was recognized in De Jonge v. Oregon, 299 U.S. 353 (1937).
But note that the right only protects peaceable assembly. When it is alleged that improper violence or other properly unlawful action has occurred, the state may make that criminal, and indeed laws against rioting have existed throughout the history of the US. Whether a law is criminalizing peaceful assembly or prohibiting unlawful violence is a question that depends on th wording of the law, and the way it is applied
In the De Jonge opinion the Court wrote:
The broad reach of the statute as thus applied is plain. While defendant was a member of the Communist Party, that membership was not necessary to conviction on such a charge. A like fate might have attended any speaker, although not a member, who "assisted in the conduct" of the meeting. However innocuous the object of the meeting, however lawful the subjects and tenor of the addresses, however reasonable and timely the discussion, all those assisting in the conduct of the meeting would be subject to imprisonment as felons if the meeting were held by the Communist Party.
While the States are entitled to protect themselves from the abuse of the privileges of our institutions through an attempted substitution of force and violence in the place of peaceful political action in order to effect revolutionary changes in government, none of our decisions goes to the length of sustaining such a curtailment of the right of free speech and assembly as the Oregon statute demands in its present application. In Gitlow v. New York, 268 U. S. 652, under the New York statute defining criminal anarchy, the defendant was found to be responsible for a "manifesto" advocating the overthrow of the government by violence and unlawful means. Id. pp. 268 U. S. 656, 268 U. S. 662, 268 U. S. 663. In Whitney v. California, 274 U. S. 357, under the California statute relating to criminal syndicalism, the defendant was found guilty of willfully and deliberately assisting in the forming of an organization for the purpose of carrying on a revolutionary class struggle by criminal methods ...
Freedom of speech and of the press are fundamental rights which are safeguarded by the due process clause of the Fourteenth Amendment of the Federal Constitution. Gitlow v. New York, supra, p. 268 U. S. 666; Stromberg v. California, supra, p. 283 U. S. 368; Near v. Minnesota, 283 U. S. 697, 283 U. S. 707; Grosjean v. American Press Co., 297 U. S. 233, 297 U. S. 243, 297 U. S. 244. The right of peaceable assembly is a right cognate to those of free speech and free press, and is equally fundamental. As this Court said in United States v. Cruikshank, 92 U. S. 542, 92 U. S. 552:
implies a right on the part of its citizens to meet peaceably for consultation in respect to public affairs and to petition for a redress of grievances.
The First Amendment of the Federal Constitution expressly guarantees that right against abridgment by Congress. But explicit mention there does not argue exclusion elsewhere. For the right is one that cannot be denied without violating those fundamental principles of liberty and justice which lie at the base of all civil and political institutions -- principles which the Fourteenth Amendment embodies in the general terms of its due process clause. Hebert v. Louisiana, 272 U. S. 312, 272 U. S. 316; Powell v. Alabama, 287 U. S. 45, 287 U. S. 67; Grosjean v. American Press Co., supra.