The US has room for improvement, no doubt. But, the US isn't "all that" with regards to what can be found in Iran. The US is light years ahead of Iran, or any muslim nation for that matter, in it's tolerance for women's rights, homosexuals, and religious/non-religious minorities.
I work with two very openly Gay individuals, while I myself am a Christian with very traditional views concerning sexuality. Yet, not only do I peaceably coexist with these two, I consider them extremely good friends of mine. If anyone was to try to harm them, even if they proclaimed to do so under the umbrella of my own faith, I'd do what I could to protect my friends.
Furthermore, in all the years I've worked with them, we've yet to have religious authorities attempt to hang them. Nor does the State attempt to block them from University, or from high-income employment. Additionally, I've attended school with blacks, muslims, Jews, atheists, and Christians. Try being an open evangelical Christian, Bahai's, Mandaean, or a convert away from Islam (apostate) attempting to attend University in Iran. You won't...
Again, the US could still use some work. But to even equate the two, the US and Iran, is absurd. And it does a disservice to religious minorities and homosexuals living in Iran.