You're focused on some extremely narrow view that's right on the legal/illegal boundary and thinking that's the whole world.
The easiest way to not go to jail for assault with a deadly weapon is to not assault people. It is very easy to follow this guideline, and the success rate is quite high (most people in the world are not currently in jail).
If you absolutely must assault someone, and you decide to use a weapon, then yes, you will likely want to hire a lawyer to write a bunch of carefully-argued pages about why you shouldn't go to jail.
But it's not like you would just be walking down the street, knocking people out with a tire-iron as one does, and then get ambushed by the complexities of the law.