Which process goes first 4.2 or 5.1?

 On the PMBOK 5 page 73 the scope management plan is used (output from other processes) as input for the project management plan. However on page 107 the project management plan is used as input for the scope management plan. What process goes first the chicken (project management plan) or the egg (scope management plan)?