Can someone help me with this sentence, please?


> もっとも……洞窟の中にいたとしても、冷静に考えりゃ無事にはすまないんだが、それでも外よりはマシだっただろう。

もっとも……洞窟の中にいたとしても would be "Even if you are in the cave..." and
それでも外よりはマシだっただろう be "It would be better than being outside".

But I don't understand this part very well: 冷静に考えりゃ無事にはすまないんだが. I know that
冷静に考えりゃ is "thinking calmly", but 無事にはすまない confuses me. I think "すまない" must be
another word, because "sorry" doesn't make sense, but I don't recognize it
without kanji.




無事 means _safety_ , and 済む is a verb that means _to finish_. 無事に済む is a very
common set phrase that means _to finish without trouble_. In this case it
means something more physical: _to get away without being injured_. 考えりゃ is
考えれば, a colloquial [eba-to-ya
contraction](https://japanese.stackexchange.com/a/12525/5010). This もっとも is
something like _admittedly, though_.

So 洞窟の中にいたとしても冷静に考えりゃ無事にはすまない means "even if we had been in the cave, come to
think of it calmly, we could not have gotten away without getting injured".

