Will AT&T take a bent iphone 5 trade in?

I have a bent iphone 5 (don't ask me how, google it, happening to a lot of people). Wondering if AT&T will take it as a trade in for a new phone? If so does anyone know how much? I know in perfect condition they offer 300$ trade in, but I'm sure they're going to take a nice chunk off for it (if they'll take it at all)

If they don't take it then trade it in at the Apple store, they will take it even if damaged.