Ok… I suspected that because of your i94 expiry and you did not write about it earlier.
Check i797A for most recent i94
Anyway, the second thing is that when you got your H1B transfer approved, you would have got a new i94.
Where is that new i94 and what’s it’s validity?
Check the i797A form, the new i94 would be attached to it at the bottom.
Ok… so, this i94 is your most recent i94 that should be counted.
H1B amendment denial - you cannot work at new location
Based on your current situation, you can ONLY work with your current employer at a work location that was approved in previous H1B I. E. Before H1B amendment.
Return to Old work location
You can return to that old location and other conditions mentioned in that H1B application and work.
Or if you can’t, then, you cannot work as your amendment has been denied.
Out of status - if not working
You will be counted as ‘out of status’ if you stay in US without working as per your H1B conditions.
File H1B amendment again or H1B transfer
You can file H1B Transfer at this time or file another amendment.