Correct answer: She had stayed up late before she fell asleep.
Option A: 'had stayed up' (past perfect) + 'fell asleep' (simple past) = correct past perfect usage showing sequence. B: 'has stayed' = present perfect. C: 'was stayed' = passive voice error. D: 'did stayed' = incorrect double past marking.