Dear @Treyy,
I'd recommend you take a lawyer or, if you cannot affort (note: you can pay monthly rates to lawywers): There is the refugee law clinic who gives legal advice to refugees for free. See here https://rlc-deutschland.de/
And yes, you have to take back your application for asylum (if it hasn't been cancelled by the german authorities anyway) before getting a residence permit.
Regards
mbeon-Ruth
I hope my answers were helpful. I'm a consultant at the app “mbeon” and I‘ll be glad to help you over a longer period of time. Mbeon is an online advice for migrants via the mbeon app, which you can install on your smartphone for free. Download it from App Store or Google Play Store. ” and get confidential one-to-one advice in a secure virtual space without other people reading our conversation. Further information: ***.mbeon.de.