It's informal. It means give , but there was allegedly quite some effort that he made to do it. A good salesman will pretend that he really had to go out on a limb to get you a "special" discount, but that is just a good sales ploy to make you a happy customer.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.