She asked me if I was okay.

Literal

She [topic-は] me [to-に] okay [question-か] [quotative-と] asked.

An embedded yes/no question with two register-lifting choices. The quotative と explicitly links 大丈夫か to the verb of asking, and 尋ねる ('to inquire') replaces the everyday 聞く. 尋ねる is the more careful, written-feeling verb for 'ask, inquire' — common in news, formal writing, and polite speech where 聞く would feel too casual. Japanese can move along a register dial via small lexical and particle choices without changing the core meaning.