The present invention provides for compounds of formula (I). wherein Rx, Ry, Rx1, L1, G1, A1, A2, A3, and A4 have any of the values defined in the specification, and pharmaceutically acceptable salts thereof, that are useful as agents in the treatment of diseases and conditions, including inflammatory diseases, cancer, and AIDS. Also provided are pharmaceutical compositions comprised of one or more compounds of formula (I).