How would you repair this?

Is the paint chipped or just wrinkled sheet metal? Hard to tell from pics.

It is cracked right on the lip as it curls under for a couple of inches. The rest is wrinkled sheet metal. Only on the drivers side though. The passengers side is not quite as bad and is not cracked.