NIM811 prevents mitochondrial dysfunction, attenuates liver injury, and stimulates liver regeneration after massive hepatectomy.