You can easily get the M9 in California. It is the M9A1 that presents a challenge.
Wasn't that the original discussion?
As far as AR15's go, the only way to get a real one in California over a counter top and not out of some thug's trunk that I know of is to purchase the lower reciever, bolt carrier, and upper reciever groups seprately from a supplier that also has a location in another state where AR15's are legal.
Highly recommend you don't do this.