A compound of Formula IA: or a pharmaceutically acceptable salt thereof, wherein A is CH 2 or C=O; R 1 is H, C 1 -C 6 -alkyl, C 1 -C 6 -alkenyl, C 1 -C 6 -alkyl-OH, or C 1 -C 6 -haloalkyl; R 2 is, at each occurrence, independently selected from -OH, halo, C 1 -C 6 -alkyl, C 1 -C 6 -alkylene, C 0 -C 6 -alkyl-C 3 -C 6 -cycloalkyl, C 0 -C 6 -alkyl-C 2 -C 6 -heterocycloalkyl, C 0 -C 6 -alkyl-OR 6, C 0 -C 6 -alkyl-N(R 7) 2, C 0 -C 6 -alkyl-SR 8, C 0 -C 6 -alkyl-S R 8, C 0 -C 6 -alkylS 2 R 8, C 0 -C 6 -alkyl-C OR 9, C 0 -C 6 -alkyl-OC R 9, C 0 -C 6 -alkyl-OC OR 9, C 0 -C 6 -alkyl-OC N(R 7) 2, and C 0 -C 6 -alkyl-C N(R 7) 2, wherein alkyl, alkylene, cycloalkyl, and heterocycloalkyl are optionally substituted with 1, 2, or 3 groups, each independently selected from -OH and halo; or two R 2 groups together form a C 3 -C 6 spiro cycloalkyl, wherein the cyloalkyl is optionally substituted with 1, 2, or 3 groups, each individually selected from -OH and halo; R 3 is, at each occurrence, independently selected from -OH, halo, C 1 -C 6 -alkyl, C 1 -C 6 -haloalkyl, -O-C 1 -C 6 -alkyl, and C 1 -C 6 -alkyl-OH; R 4 is selected from (CR a R b) p -C 1 -C 9 -heteroaryl, (CR a R b) p -C 6 -C 12 -aryl, (CR a R b) p -C 3 -C 7 -cycloalkyl, and (CR a R b) p -C 2 -C 6 -heterocycloalkyl, wherein heteroaryl, aryl, cycloalkyl, and heterocycloalkyl are optionally substituted with 1, 2, 3, or 4 groups, each independently selected from -OH, halo, -CN, -SF 5, C 1 -C 6 -alkyl, C 1 -C 6 -haloalkyl, -O-C 1 -C 6 -alkyl, and C 1 -C 6 -alkyl-OH; R 5 is selected from H, C 1 -C 6 -alkyl, and C 1 -C 6 -alkyl-OH; R 6 is selected from H, C 1 -C 6 -alkyl, C 1 -C 6 -haloalkyl, C 1 -C 6 -alkenyl, and C 0 -C 6 -alkyl-C 3 -C 6 -cycloalkyl; R 7 is, at each occurrence, independently selected from H, C 1 -C 6 -alkyl, C 1 -C 6 -haloalkyl, C C 1 -C 6 -alkyl and C 1 -C 6 -alkyl-OH; R 8 is selected from H and C 1 -C 6 -alkyl; R 9 is selected from H and C 1 -C 6 -alkyl; R a is, at each occurrence, independently selected from H, -OH, halo, C 1 -C 6 -alkyl, C 1 -C 6 -haloalkyl, -O-C 1 -C 6 -alkyl, and C 1 -C 6 -alkyl-OH; R b is, at each occurrence, independently selected from H and C 1 -C 6 -alkyl; m is 0, 1, 2, 3, or 4; n is 0, 1, 2, 3, or 4; p is 0, 1, 2, 3, or 4; q is 0 or 1; and a ---- line denotes an optionally double bond. A is CH 2 or C=O; R 1 is H, C 1 -C 6 -alkyl, C 1 -C 6 -alkenyl, C 1 -C 6 -alkyl-OH, or C 1 -C 6 -haloalkyl; R 2 is, at each occurrence, independently selected from -OH, halo, C 1 -C 6 -alkyl, C 1 -C 6 -alkylene, C 0 -C 6 -alkyl-C 3 -C 6 -cycloalkyl, C 0 -C 6 -alkyl-C 2 -C 6 -heterocycloalkyl, C 0 -C 6 -alkyl-OR 6, C 0 -C 6 -alkyl-N(R 7) 2, C 0 -C 6 -alkyl-SR 8, C 0 -C 6 -alkyl-S R 8, C 0 -C 6 -alkylS 2 R 8, C 0 -C 6 -alkyl-C OR 9, C 0 -C 6 -alkyl-OC R 9, C 0 -C 6 -alkyl-OC OR 9, C 0 -C 6 -alkyl-OC N(R 7) 2, and C 0 -C 6 -alkyl-C N(R 7) 2, wherein alkyl, alkylene, cycloalkyl, and heterocycloalkyl are optionally substituted with 1, 2, or 3 groups, each independently selected from -OH and halo; or two R 2 groups together form a C 3 -C 6 spiro cycloalkyl, wherein the cyloalkyl is optionally substituted with 1, 2, or 3 groups, each individually selected from -OH and halo; R 3 is, at each occurrence, independently selected from -OH, halo, C 1 -C 6 -alkyl, C 1 -C 6 -haloalkyl, -O-C 1 -C 6 -alkyl, and C 1 -C 6 -alkyl-OH; R 4 is selected from (CR a R b) p -C 1 -C 9 -heteroaryl, (CR a R b) p -C 6 -C 12 -aryl, (CR a R b) p -C 3 -C 7 -cycloalkyl, and (CR a R b) p -C 2 -C 6 -heterocycloalkyl, wherein heteroaryl, aryl, cycloalkyl, and heterocycloalkyl are optionally substituted with 1, 2, 3, or 4 groups, each independently selected from -OH, halo, -CN, -SF 5, C 1 -C 6 -alkyl, C 1 -C 6 -haloalkyl, -O-C 1 -C 6 -alkyl, and C 1 -C 6 -alkyl-OH; R 5 is selected from H, C 1 -C 6 -alkyl, and C 1 -C 6 -alkyl-OH; R 6 is selected from H, C 1 -C 6 -alkyl, C 1 -C 6 -haloalkyl, C 1 -C 6 -alkenyl, and C 0 -C 6 -alkyl-C 3 -C 6 -cycloalkyl; R 7 is, at each occurrence, independently selected from H, C 1 -C 6 -alkyl, C 1 -C 6 -haloalkyl, C C 1 -C 6 -alkyl and C 1 -C 6 -alkyl-OH; R 8 is selected from H and C 1 -C 6 -alkyl; R 9 is selected from H and C 1 -C 6 -alkyl; R a is, at each occurrence, independently selected from H, -OH, halo, C 1 -C 6 -alkyl, C 1 -C 6 -haloalkyl, -O-C 1 -C 6 -alkyl, and C 1 -C 6 -alkyl-OH; R b is, at each occurrence, independently selected from H and C 1 -C 6 -alkyl; m is 0, 1, 2, 3, or 4; n is 0, 1, 2, 3, or 4; p is 0, 1, 2, 3, or 4; q is 0 or 1; and a ---- line denotes an optionally double bond.