Well, in a pinch there is the old standby of manure and poop. Again, in a pinch.
Maybe we can quit using corn for fuel?
Manure is still used. Just not enough to go around.
About half of the world's food supply depends on manmade fertilizer, mostly from natural gas.