the top tube dent is just fine. that's cosmetic.
the down tube dent is questionable -- it looks like it's more of crumple.
with dents in steel, keep an eye out for cracks. failure will probably not be instantaneous and catastrophic until cracks show up.