package w8;

import com.google.android.gms.common.api.internal.v0;
import java.util.concurrent.Executor;

/* JADX INFO: loaded from: classes2.dex */
public final class o implements r, f, e, c {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final /* synthetic */ int f34239a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final Executor f34240b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final b f34241c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final t f34242d;

    public /* synthetic */ o(Executor executor, b bVar, t tVar, int i10) {
        this.f34239a = i10;
        this.f34240b = executor;
        this.f34241c = bVar;
        this.f34242d = tVar;
    }

    @Override // w8.c
    public final void a() {
        this.f34242d.l();
    }

    @Override // w8.r
    public final void b(h hVar) {
        int i10 = this.f34239a;
        Executor executor = this.f34240b;
        switch (i10) {
            case 0:
                executor.execute(new v0(this, hVar, 2));
                break;
            default:
                executor.execute(new v0(this, hVar, 3));
                break;
        }
    }

    @Override // w8.e
    public final void onFailure(Exception exc) {
        this.f34242d.k(exc);
    }

    @Override // w8.f
    public final void onSuccess(Object obj) {
        this.f34242d.zzb(obj);
    }
}
