[Cl:1][C:2]1[CH:3]=[CH:4][C:5]([O:39][CH:40]([F:42])[F:41])=[C:6]([C:8]2[C:12]([NH:13][C:14]([C:16]3[CH:17]=[N:18][N:19]4[CH:24]=[CH:23][CH:22]=[N:21][C:20]=34)=[O:15])=[CH:11][N:10]([CH2:25][C:26]([N:28]3[CH2:33][CH2:32][CH:31]([NH:34][CH2:35][CH2:36][C:37]#[N:38])[CH2:30][CH2:29]3)=[O:27])[N:9]=2)[CH:7]=1.C=O.[C:45](O[BH-](OC(=O)C)OC(=O)C)(=O)C.[Na+]>C(Cl)Cl>[Cl:1][C:2]1[CH:3]=[CH:4][C:5]([O:39][CH:40]([F:41])[F:42])=[C:6]([C:8]2[C:12]([NH:13][C:14]([C:16]3[CH:17]=[N:18][N:19]4[CH:24]=[CH:23][CH:22]=[N:21][C:20]=34)=[O:15])=[CH:11][N:10]([CH2:25][C:26]([N:28]3[CH2:29][CH2:30][CH:31]([N:34]([CH2:35][CH2:36][C:37]#[N:38])[CH3:45])[CH2:32][CH2:33]3)=[O:27])[N:9]=2)[CH:7]=1A solution of pyrazolo[1,5-a]pyrimidine-3-carboxylic acid (3-(5-chloro-2-difluoromethoxy-phenyl)-1-{2-[4-(2-cyano-ethylamino)-piperidin-1-yl]-2-oxo-ethyl}-1H-pyrazol-4-yl)-amide (31.1 g, 52.0 mmol) in DCM (500 mL) was treated with 37% aqueous formaldehyde solution (21.3 mL, 286.2 mmol). On complete addition the reaction was cooled in an ice bath before the addition of sodium triacetoxyborohydride (44.1 g, 208.2 mmol) portionwise. The reaction mixture was warmed to room temperature and stirred for 1.5 hours, after which, the reaction was filtered and the filtrate diluted with methanol. The mixture was diluted with methanol and loaded onto a pad of Isolute® SCX-2 which had been conditioned with MeOH. After flushing with MeOH, the product was eluted with 2M ammonia in MeOH. The basic fractions were combined and evaporated. The resultant residue was purified by flash column chromatography on silica eluting with 0-10% 2M NH3/MeOH in DCM. Appropriate fractions were combined and evaporated. The resultant residue was recrystallized from ethyl acetate to afford the title compound as a pale brown solid (30.7 g, 96%). LCMS (Method 5) [M+H]+=612.2, RT=2.84 min. 1H NMR (400 MHz, DMSO-d6) δ: (ppm) 9.75 (s, 1H), 9.34 (dd, 1H, J=7.0, 1.6 Hz), 8.70-8.67 (m, 1H), 8.68 (s, 1H), 8.32 (s, 1H), 7.63 (dd, 1H, J=8.8, 2.7 Hz), 7.56 (d, 1H, J=2.7 Hz), 7.47 (d, 1H, J=8.8 Hz), 7.29 (dd, 1H, J=7.0, 4.2 Hz), 7.26 (t, 1H, J=73.4 Hz), 5.22-5.24 (m, 2H), 4.38 (d, 1H, J=12.9 Hz), 3.96 (d, 1H, J=13.5 Hz), 3.06 (t, 1H, J=12.7 Hz), 2.62-2.65 (m, 6H), 2.22 (s, 3H), 1.72 (d, 2H, J=11.9 Hz), 1.34-1.40 (m, 2H).