Wait for your lawyer, he knows more than anyone of us.
But as far as I know, here is the thing.
You should be OK and keep working at your company since you have the employment authorization. But the thing you need to keep in mind is that , if that green card process is denied, your out of status count starts from when OPT is over. If your company is strong, you don’t have to worry about that. but if you are not sure for 100%, find a way to extends your F1.
Try not to do stupid things and stay in U.S until you receive the green card.