Rule reminder
Modal verbs in the condizionale passato: avrei dovuto (should have), avrei potuto (could have / was able to), avrei voluto (would have wanted to). All use avere as auxiliary.
Se avesse voluto, ___ (potere) finire prima.
More in this section