Id say it depends, how bad is your step 1? Have you/are you doing any aways? Whats the rest of your cv like (research, letters, ECs)?
And then my follow up question is: if you did so poorly on Step 1, why didn't you take Step 2 earlier? You are going to be so late in the game by the time your Step 2 score come back. I also believe it'll take some time for SFmatch to process your application. Programs may not even receive your app til mid October.
If you are really passionate about ophtho and your can't see yourself doing anything else, I think you should consider applying next year. You are already going to miss all the september deadlines (a healthy amount of programs) and if your Step 1 really isn't competitive (elaborate on this) then you need that Step 2 especially as a IMG. Im just starting the app/interview process and it is extremely grueling and expensive so far and interviews don't start for another month at the earliest. Although I've heard it can be very fun, exciting, and rewarding you don't want to have to go through the app and pay for it twice.
Let us know what the rest of your app is like and we might be able to give you better advice.