We analyzed the data for nearly 20,000 active foreign-worker visas at the most valuable technology companies —Apple, Microsoft, Amazon, Google, and Facebook — to find corporate counsel salaries.