Welcome back to the Wefugees Community and thank you for reaching out to us again.
If you are holding a so-called "Aufenthaltsgestattung", your asylum procedure is still pending, right? In this case, you may be granted a humanitarian residence permit, which will also allow you to work in Germany.
If your asylum application gets rejected and you either don't appeal in court or the court confirms the BAMF's decision, you could receive a Duldung. A Duldung is a so-called "temporary suspension of the deportation" and is issued if there are reasons which de facto prevent a deportation. After holding the Duldung for a certain period and fulfilling the respective requirements, people may apply for an "Ausbildungsduldung" or "Beschäftigungsduldung". Please follow the links for more information.
I hope this helps and please don't hesitate to get back to us with any further questions.
All the best,