Answer:
2: the phrase is meant to qualify the author's actions in relation to his first statement.
Step-by-step explanation:
The purpose of the end phrase separated by the em dash is of taking the place of a colon, which is used do emphasize the conclusion of a sentence. In this case, when the author writes "--no, that was impossible.", he uses this way to qualify or emphasize what he considers at the moment in relation to what he said before.