[ excerpt from 'The Gateless Gate' by Chinese Ch'an master Wu-men Hui-hai (1183-1260) ]
Case 42 The Girl Comes out of Samadhi
Once, in the old days, in the time of the World-honored One, Manjusri went to the assembly of the Buddhas and found that everyone had departed to his original dwelling place. Only a girl remained, sitting in samadhi close to the Buddha's throne. Manjusri asked Shakyamuni Buddha, "Why can the girl get near the Buddha's throne, while I cannot?" Shakyamuni Buddha said, "Bring her out of her samadhi and ask her yourself." Manjusri walked around the girl three times, snapped his fingers once, took her to the Brahma heaven, and exerted all his miraculous powers to bring her out of her meditation, but in vain. The World-honored One said, "Even a hundred thousand Manjusris cannot make her wake up. But down below, past twelve hundred million lands as innumerable as the sands of Ganges, there is a Bodhisattva Mõmyõ. He will be able to rouse her from her samadhi." Instantly the Bodhisattva Mõmyõ emerged from the earth and made a bow to the World-honored One, who gave him his imperial order. The Bodhisattva went over to the girl and snapped his fingers once. At this she came out of her samadhi.
出得出不得 One was successful, the other was not;
渠儂得自由 Both secured freedom of mind.
神頭并鬼面 One in a god-mask, the other in a devil-mask;
敗闕當風流 Even in defeat, a beautiful performance.
[ english translation by late Zen master Katsuki Sekida (Two Zen Classics 26-137) ]