Somehow we have the same feelings about Pakistan as we do Iran for most things in geopolitics, but we let Pakistan have a nuclear program. You know, the nation literally harboring Bin Laden.
Pakistan / US relations are much, much less strained than Iran / US relations. I'd say Pakistan is more of an ally. Iran is clearly an adversary, its current government declaring the US an enemy and literally Satan.