I came across these two sentences, and I'm having trouble deciding whether these 「と」s are conditional, or quotation particles, or otherwise. If they are quotation, I do not understand which verb follows them to make it obvious that they are quotation, and if they are conditional I'm not sure where they go in the English translation, or how they make sense in the original Japanese.
ずっと我慢してきたが、この状態だと⻭医者さんに⾏かざるを得ない。 I tolerated it all this time but in this situation, I can't not go to the dentist.
上司の話を聞くと、どうしても海外に出張をせざるを得ないようです。 Hearing the story from the boss, it seems like I can't not go on a business trip overseas no matter what.
Is there an easy way to differentiate between conditional and quotation 「と」, other than quotation 「と」 being followed by obvious verbs such as 「思う」, 「考える」, 「言う」, etc.?