Laid Off - Relation of H1B revocation with transfer

Hi,

Please help to clarify on my situation,
I got laid off on June 30, 2023 and my employer informed me that they will withdraw the sponsorship for h1b within 30 days which is July 30th, from my last day of separation. Do I need to find a new employer and complete H1 transfer before my employer applies for revocation or still I can find a new employer before the 60 days grace period ends.

Thanks