Reaction SMILES: [CH3:1][S:2]([O:5][CH2:6][C@@H:7]([NH:9][C:10]([O:12][C:13]([CH3:16])([CH3:15])[CH3:14])=[O:11])[CH3:8])(=[O:4])=[O:3].CC(N([C@H](C)CO)C(=O)[O-])(C)C.C(N(CC)CC)C.CS(Cl)(=O)=O>C(Cl)Cl.O>[CH3:1][S:2]([O:5][CH2:6][C@H:7]([NH:9][C:10]([O:12][C:13]([CH3:14])([CH3:16])[CH3:15])=[O:11])[CH3:8])(=[O:4])=[O:3]
Reactant: C[C@@H](COS(C)(=O)=O)NC(=O)OC(C)(C)C
Agent: CS(=O)(=O)Cl
Agent: C[C@H](CO)N(C(=O)[O-])C(C)(C)C
Solvent: ClCCl
Solvent: CCN(CC)CC
Solvent: O
Product: C[C@H](COS(C)(=O)=O)NC(=O)OC(C)(C)C
Reaction time: 0.33 h
Yield: 98 %

Procedure:
(2S)-2-({[(1,1-Dimethylethyl)oxy]carbonyl}amino)propyl methanesulfonate. To a stirred solution of 1,1-dimethylethyl[(1R)-2-hydroxy-1-methylethyl]carbamate (5.00 g, 28.5 mmol) and triethylamine (5.92 mL, 42.9 mmol) in CH2Cl2 (30 mL) cooled to 0° C. and under a nitrogen atmosphere was added dropwise a solution of methanesulfonyl chloride (2.43 mL, 31.5 mmol) in CH2Cl2 (25 mL). Stirring was continued for 20 minutes at 0° C., after which time the reaction was judged complete by TLC analysis (1:1 hexanes/EtOAc). The solution was poured into water and the layers were separated. The organic phase was washed with 0.1 N HCl and then with 5% NaHCO3, dried over Na2SO4, filtered and concentrated to give (2R)-2-({[(1,1-dimethylethyl)oxy]carbonyl}amino)propyl methanesulfonate (7.08 g, 98%) as a white solid, 1H NMR (4.00 MHz, CDCl3) δ 1.23 (d, J=6.8 Hz, 3H), 1.44 (s, 9H), 3.03 (s, 3H), 3.97 (m, 1H), 4.15 (dd, J=4.2, 9.8 Hz, 1H), 4.21 (m 1H), 4.61 (br s, 1H). b) 1,1-Dimethylethyl[(1R)-2-cyano-1-methylethyl]carbamate. To a stirred solution of (2R)-2-({[(1,1-dimethylethyl)oxy]carbonyl}amino)propyl methanesulfonate (7.08 g, 27.9 mmol) in DMSO (50 mL) was added NaCN (3.78 g, 84.0 mmol). The solution was stirred at 70° C. for 2 hours, over which time the formation of a precipitate was observed. After cooling at room temperature, water was added and the mixture was extracted with Et2O. The ethereal layers were washed with a brine solution, dried over Na2SO4, filtered and concentrated to give 1,1-dimethylethyl [(1R)-2-cyano-1-methylethyl]carbamate (3.81 g, 73%) as a pale yellow solid. 1H NMR (400 MHz, CDCl3) δ 1.30 (d, J=6.8 Hz, 3H), 1.42 (s, 9H), 2.51 (dd, J=3.8, 16.6 Hz, 2.73 (m, 1H), 3.93 (m, 1H), 4.63 (br s, 1H). c) 1,1-Dimethylethyl[(1R)-3-amino-1-methylpropyl]carbamate. A solution of 1,1-dimethylethyl[(1R)-2-cyano-1-methylethyl]carbamate (1.30 g, 7.1 mmol) in ethanol saturated with anhydrous ammonia was treated with Raney-Ni (1.5 mL of 50% aq. Suspension) and 55 psi of H2 overnight. The mixture was filtered through Celite and the filtrate was concentrated in vacuo. The residue was purified by flash chromatography (80:19:1 CH2Cl2/MeOH/NH4OH (37%) gradient elution) through a short plug of silica gel to give 1,1-dimethylethyl [(1R)-3-amino-1-methylpropyl]carbamate (1.37 g, 100%) as a clear oil that solidified. 1H NMR (4.00 MHz, CDCla) δ 1.14 J=6.8 Hz, 3H), 1.43-1.62 (m, 13H), 2.76 (m, 2H), 3.77 (m, 1H), 4.57 (m, 1H). d) 1,1-Dimethylethyl {(1R)-1-methyl-3-[(2-methylpropyl)amino]propyl}carbamate, 1,1-dimethylethyl[(1R)-3-amino-1-methylpropyl]carbamate (0.320 g, 1.70 mmol), isobutyraldehyde (150 μL, 1.62 mmol), and sodium triacetoxyborohydride (0.512 g, 2.42 mmol) were stirred in anhydrous dichloroethane (10 mL) at ambient temperature overnight. The reaction was quenched by the addition of saturated NaHCO3 and then extracted with dichloromethane. The combined extracts were washed with water, dried over Na2SO4, filtered and concentrated. The residue was purified by flash chromatography (80:19:1 CH2Cl2/MeOH/NH4OH (37%) gradient elution) through a short plug of silica gel to afford 1,1-dimethylethyl {(1R)-1-methyl-3-[(2-methylpropyl)amino]propyl}carbamate (0.158 g, 40%) as a clear oil. 1H NMR (400 MHz, CDCl3) δ 0.90 (d, J=6.4 Hz, 6H), 1.13 (d, J=6.4 Hz, 3H), 1.42-1.51 (m, 11H), 1.67-1.75 (m, 2H), 2.33-2.42 (m, 2H), 2.58-2.72 (m, 2H), 3.72 (m, 1H), 5.20 (m, 1H). e) [(3R)-3-Aminobutyl](2-methylpropyl)amine. An ice cold solution of 1,1-dimethylethyl {(1R)-1-methyl-3-[(2-methylpropyl)amino]propyl}carbamate (0.7.58 g, 0.65 mmol) in THF was treated with 4 N HCl (aq) mL) and then stirred at room temperature for 2 h. The mixture was concentrated in vacuo to give [(3R)-3-aminobutyl](2-methylpropyl)amine dihydrochloride. The HCl salt was then dissolved in dichloromethane and a minimal amount of methanol and treated with solid supported carbonate resin (MP-Carbonate, Argonaut Technologies). After 30 minutes, the solution was filtered through a fritted tube and the solvents removed carefully in vacuo to give [(3R)-3-aminobutyl](2-methylpropyl)amine (65 mg). 1H NMR (400 MHz, CDCl3) δ 0.88 (d, J=6.0 Hz, 6H), 1.06 (d, J=5.6 Hz, 3H), 1.23-1.53 (m, 5H), 1.71-1.74 (m, 1H), 2.39 (m, 2H), 2.65 (m, 2H), 2.97 (m, 1H). f) (4R,12aR)—N-[(4-Fluorophenyl)methyl]-7-hydroxy-4-methyl-1-(2-methylpropyl)-6,8-dioxo-1,2,3,4,6,8,12,12a-octahydropyrido[1′,2′:4,5]pyrazino[1,2-a]pyrimidine-9-carboxamide. The title compound was made in two steps using a similar process to that described in example Z-2, 16 (40 mg, 0.09 mmol) and [(3R)-3-aminobutyl](2-methylpropyl)amine (65 mg, 0.45 mmol) were reacted in dichloromethane (2 mL) with acetic acid to give (4R,12aR)—N-[(4-fluorophenyl)methyl]-4-methyl-1-(2 methylpropyl)-6,8-dioxo-7-[(phenylmethyl)oxy]1,2,3,4,6,8,12,12a-octahydropyrido[1′,2′:4,5]pyrazino[1,2-a]pyrimidine-9-carboxamide (29 mg, 60%). This material was hydrogenated in a second step as described in example Z-2 to give (4R,12aR)—N-[(4-fluorophenyl)methyl]-7-hydroxy-4-methyl-1-(2-methylpropyl)-6,8-dioxo-1,2,3,4,6,8,12,12a-octahydropyrido[1′,2′:4,5]pyrazino[1,2-d]pyrimidine-9-carboxamide (18 mg, 75%) as a tan solid. 1H NMR (400 MHz, CDCl3) δ 0.77 (d, J=6.4 Hz, 3H), 0.84 (d, J=6.4 Hz, 3H), 1.32 (d, J=7.2 Hz), 1.45-1.4.9 (m, 1H), 1.57-1.67 (m, 1H), 2.03-2.12 (m, 2H), 2.21-2.27 (m, 1H), 2.73-2.79 (m, 1H), 2.87-2.92 (m, 1H), 4.16-4.24 (m, 2H), 4.45 (s, 1H), 4.54-4.64 (m, 2H), 4.96-4.99 (m, 1H), 6.96-7.00 (m, 2H), 7.20-7.32 (m, 2H), 8.27 (s, 1H), 10.46 (s, 1H), 12.55 (s, 1H); ES+ MS: 456 (M+1).