This is a context from a movie called "The Deer Hunter"
Person 1 What, are you thinking of going deer hunting tonight? No, not tonight. I'm getting married tonight, and you fu#$%ng guys are going deer hunting?
Person 2 Hey, first we get you legal, tuck you into bed with Angela.
These are some definitions from thefreedictionary but none of them fits here, I think: a. A person who is legally authorized to live and work in a country. b. A person or department providing legal assistance. 2. A legal notice, especially an advertisement.