How much money does the government waste by trying to keep out illegal immigrants?

Please phrase your question more precisely and in a less biased way.

The 2014 budget for Customs and Border Protection (note: this involves a lot more than just "keeping out illegal immigrants") was about 13 billion dollars. Even if that all went directly to "trying to keep out illegal immigrants", how much of it constitutes "waste" is a matter of opinion.