A compound of Formula I: or an N-oxide thereof, or a pharmaceutically acceptable salt of the compound or the N-oxide, wherein: X 1 and X 2 are each independently CH or nitrogen, provided that X 1 and X 2 cannot both be CH; R 1 is selected from the group consisting of halogen, cyano, hydroxy, -SF 5 , nitro, -N(R 6 )(R 7 ), (C 1 -C 6 )alkyl, (C 2 -C 6 )alkenyl, (C 2 -C 6 )alkynyl, (C 1 -C 6 )alkylthio, (C 1 -C 6 )alkoxy, (C 3 -C 6 )cycloalkyl, -O-(4- to 6-membered)heterocycloalkyl, (C 6 -C 10 )aryl, (5- to 10-membered)heteroaryl and (4- to 8-membered)heterocycloalkyl, wherein said (C 1 -C 6 )alkyl, (C 2 -C 6 )alkenyl, (C 2 -C 6 )alkynyl, (C 1 -C 6 )alkylthio, (C 1 -C 6 )alkoxy, (C 3 -C 6 )cycloalkyl, -O-(4- to 6-membered)heterocycloalkyl, (C 6 -C 10 )aryl, (5- to 10-membered)heteroaryl and (4- to 8-membered)heterocycloalkyl are optionally substituted with 1 to 3 substituents selected from the group consisting of halogen, cyano, hydroxy, -N(R 6 )(R 7 ), (C 1 -C 6 )alkyl, (C 1 -C 6 )alkoxy, (C 3 -C 6 )cycloalkyl, and (5- to 6-membered)heteroaryl, wherein said (C 1 -C 6 )alkyl, (C 1 -C 6 )alkoxy, and (5- to 6-membered)heteroaryl are optionally substituted with 1 to 3 substituents selected from the group consisting of halogen, cyano, hydroxy, (C 1 -C 6 )alkyl and (C 1 -C 6 )alkoxy; R 2 is selected from the group consisting of hydrogen, halogen, cyano, hydroxy, -SF 5 , nitro, -N(R 6 )(R 7 ), (C 1 -C 6 )alkyl, and (C 1 -C 6 )alkoxy, wherein said (C 1 -C 6 )alkyl and (C 1 -C 6 )alkoxy are optionally substituted with 1 to 3 halogen; R 6 and R 7 are each independently selected from hydrogen, (C 1 -C 6 )alkyl or C(O)-CH 3 ; m is 1 or 2; and n is 1 or 2. X 1 and X 2 are each independently CH or nitrogen, provided that X 1 and X 2 cannot both be CH; R 1 is selected from the group consisting of halogen, cyano, hydroxy, -SF 5 , nitro, -N(R 6 )(R 7 ), (C 1 -C 6 )alkyl, (C 2 -C 6 )alkenyl, (C 2 -C 6 )alkynyl, (C 1 -C 6 )alkylthio, (C 1 -C 6 )alkoxy, (C 3 -C 6 )cycloalkyl, -O-(4- to 6-membered)heterocycloalkyl, (C 6 -C 10 )aryl, (5- to 10-membered)heteroaryl and (4- to 8-membered)heterocycloalkyl, wherein said (C 1 -C 6 )alkyl, (C 2 -C 6 )alkenyl, (C 2 -C 6 )alkynyl, (C 1 -C 6 )alkylthio, (C 1 -C 6 )alkoxy, (C 3 -C 6 )cycloalkyl, -O-(4- to 6-membered)heterocycloalkyl, (C 6 -C 10 )aryl, (5- to 10-membered)heteroaryl and (4- to 8-membered)heterocycloalkyl are optionally substituted with 1 to 3 substituents selected from the group consisting of halogen, cyano, hydroxy, -N(R 6 )(R 7 ), (C 1 -C 6 )alkyl, (C 1 -C 6 )alkoxy, (C 3 -C 6 )cycloalkyl, and (5- to 6-membered)heteroaryl, wherein said (C 1 -C 6 )alkyl, (C 1 -C 6 )alkoxy, and (5- to 6-membered)heteroaryl are optionally substituted with 1 to 3 substituents selected from the group consisting of halogen, cyano, hydroxy, (C 1 -C 6 )alkyl and (C 1 -C 6 )alkoxy; R 2 is selected from the group consisting of hydrogen, halogen, cyano, hydroxy, -SF 5 , nitro, -N(R 6 )(R 7 ), (C 1 -C 6 )alkyl, and (C 1 -C 6 )alkoxy, wherein said (C 1 -C 6 )alkyl and (C 1 -C 6 )alkoxy are optionally substituted with 1 to 3 halogen; R 6 and R 7 are each independently selected from hydrogen, (C 1 -C 6 )alkyl or C(O)-CH 3 ; m is 1 or 2; and n is 1 or 2. <EOS>