What does "originate" mean under the MLOLA?

“Originate” means, for compensation or gain or the expectation of compensation or gain, taking a residential mortgage loan application or offering or negotiating the terms of a residential mortgage loan.