package c.i.a.f.e.k; import android.accounts.Account; import android.content.Context; import android.os.IInterface; import android.os.Looper; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import c.i.a.f.e.h.a; import c.i.a.f.e.h.j.f; import c.i.a.f.e.h.j.l; import com.google.android.gms.common.GoogleApiAvailability; import com.google.android.gms.common.api.Scope; import java.util.Collections; import java.util.Objects; import java.util.Set; /* compiled from: com.google.android.gms:play-services-base@@17.3.0 */ public abstract class d extends b implements a.f { /* renamed from: x reason: collision with root package name */ public final c f1051x; /* renamed from: y reason: collision with root package name */ public final Set f1052y; @Nullable /* renamed from: z reason: collision with root package name */ public final Account f1053z; /* JADX WARNING: Illegal instructions before constructor call */ public d(Context context, Looper looper, int i, c cVar, f fVar, l lVar) { super(context, looper, r3, r4, i, new r(fVar), new q(lVar), cVar.f); e a = e.a(context); Object obj = GoogleApiAvailability.f2285c; GoogleApiAvailability googleApiAvailability = GoogleApiAvailability.d; Objects.requireNonNull(fVar, "null reference"); Objects.requireNonNull(lVar, "null reference"); this.f1051x = cVar; this.f1053z = cVar.a; Set set = cVar.f1049c; for (Scope scope : set) { if (!set.contains(scope)) { throw new IllegalStateException("Expanding scopes is not permitted, use implied scopes instead"); } } this.f1052y = set; } @Override // c.i.a.f.e.h.a.f @NonNull public Set a() { return o() ? this.f1052y : Collections.emptySet(); } @Override // c.i.a.f.e.k.b @Nullable public final Account s() { return this.f1053z; } @Override // c.i.a.f.e.k.b public final Set u() { return this.f1052y; } }