package com.facetec.sdk; import java.net.InetSocketAddress; import java.net.Proxy; import java.util.ArrayList; import java.util.Collections; import java.util.List; /* loaded from: classes.dex */ public final class lb { List a; final jo b; final jx c; final kv d; final jj e; int i; List j = Collections.emptyList(); final List g = new ArrayList(); public lb(jj jjVar, kv kvVar, jo joVar, jx jxVar) { List d; this.a = Collections.emptyList(); this.e = jjVar; this.d = kvVar; this.b = joVar; this.c = jxVar; kc b2 = jjVar.b(); Proxy proxy = jjVar.b; if (proxy != null) { d = Collections.singletonList(proxy); } else { List select = jjVar.c().select(b2.e()); if (select != null && !select.isEmpty()) { d = km.e(select); } else { d = km.d(Proxy.NO_PROXY); } } this.a = d; this.i = 0; } public final boolean b() { return c() || !this.g.isEmpty(); } /* JADX INFO: Access modifiers changed from: package-private */ public final boolean c() { return this.i < this.a.size(); } /* loaded from: classes.dex */ public static final class b { final List a; int b = 0; /* JADX INFO: Access modifiers changed from: package-private */ public b(List list) { this.a = list; } public final boolean b() { return this.b < this.a.size(); } } }