Welcome back to the Wefugees Community and thank you for reaching out to us again.
The rejection of your asylum application or your asylum case in general is not connected to your marriage with a German citizen and both circumstances need to be assessed independently from each other. If your asylum request is denied and the case closed and legally binding, the immigration office will most probably issue a "toleration" (Duldung) for the time being and will ask you to return to your country of origin. However, as you are married to a German citizen, you may apply for a residence permit according to section 28 of the German Residence Act. Maybe you even applied for it already, as you can actually receive it also during your pending asylum application. But this residence permit will not be issued automatically - you need to apply for it and also meet the requirements (clearing your identity, for instance). In the worst case, the immigration office may also ask you to return to your country of origin in order to apply for a family reunification visa at the German embassy. Then, it might be better to consult a lawyer who might help you to convince the immigration office that returning to your country of origin and subsequently being seperated from your partner for a while is not reasonable.
I hope this answer is helpful to you and please don't hesitate to get back to us with any further questions.
All the best,