Lucy has already left. If you had wanted to see her. You should have arrived earlier.

선생님 이 문장에서 had wanted 과거완료를 썼는데요. 그럼
그가 그녀를 보기를 원치 않았기 때문에 과거완료를 쓴건가요??