Auto Repair at National Dealershiip Out of State

I had my car repaired at a Ford dealership in North Carolina.  But State Farm had totaled my car and I had to send them my title to get paid.  I did as instructed but after having the car repaired and now
in perfect condition, Alabama has issued me a salvage title as SF had totaled it?

I talked to both SF and Ashe County Ford in West Jefferson, NC, I wanted to keep my car as it is in near perfect condition, well maintained and performed flawlessly.  I am reading on the DMV page of Alabama, they will not give me a new title if repaired out of state. I could have had the car repaired and driven it back to Alabama and then ask for my insurance dollars from SF.  I would have still had the original title and this conversation would not be necessary.

I am not rich and am 79 years old and do not need a car payment or problems with someone else's used car.  Car anyone help me...please advise.  Jeff in Birmingham Alabama.