Answer:
I think the last answer
Explanation:
Since in the if clause we must use had +p.p and in the main clause would +have +p.p