package com.kofax.mobile.sdk.w; import bolts.CancellationToken; import com.kofax.mobile.sdk.extract.id.DataField; import java.util.Arrays; import java.util.List; /* loaded from: classes3.dex */ public class ab extends ae { private final a Qj; private final com.kofax.mobile.sdk._internal.extraction.id.c Qk; /* loaded from: classes3.dex */ public interface a { void b(com.kofax.mobile.sdk.e.a aVar, List list, Exception exc); List> x(com.kofax.mobile.sdk.e.a aVar); List> y(com.kofax.mobile.sdk.e.a aVar); } @Override // com.kofax.mobile.sdk.w.ae, com.kofax.mobile.sdk.e.c public /* bridge */ /* synthetic */ void a(Object obj, CancellationToken cancellationToken) { super.a(obj, cancellationToken); } public ab(com.kofax.mobile.sdk._internal.extraction.id.c cVar, a aVar) { this.Qk = cVar; this.Qj = aVar; } @Override // com.kofax.mobile.sdk.w.ae public void a(com.kofax.mobile.sdk.e.a aVar) { List list = null; e = null; try { List list2 = null; for (List> list3 : Arrays.asList(this.Qj.x(aVar), this.Qj.y(aVar))) { try { if (list3 != null && list3.size() > 0) { for (List list4 : list3) { if (list4 != null && list4.size() > 0) { list2 = this.Qk.a(list2, list4); } } } } catch (Exception e) { e = e; } } e = e; list = list2; } catch (Exception e2) { e = e2; } this.Qj.b(aVar, list, e); } }