The "rational middle ground" is to secure the borders first and to crack down on those who employ illegals, and only then to consider anything like a guest worker program.
Crack down on businesses that hire illegals.
This should do it without a wall. You've removed the magnet attracting them.
We simply need to enforce existing law.