If you _______ me, I would have told you the truth.
If you _______ me, I would have told you the truth.
Explanation
If you had asked me, I would have told you the truth.
This sentence uses the third conditional.
It referring to a hypothetical past event and its possible result.