Cigarettes are a product that is sold. Many operating systems are free. I use several that are small projects entirely produced by hobbyists.
Even if they stack the courts with muppets who ignore the obvious first amendment angle to get this passed, I will never comply with this and I will happily help others defy it.
So if I hand out free cigarettes, I’d be in the clear.
I pledge to defy it.