package com.google.android.gms.internal.ads;

/* JADX INFO: loaded from: classes2.dex */
public final class pc1 {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final ic1 f15366a;

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public boolean f15368c = false;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public boolean f15369d = false;

    public pc1(xb1 xb1Var, dh0 dh0Var, ic1 ic1Var) {
        this.f15366a = ic1Var;
        dh0Var.getClass();
        z81 z81Var = (z81) ic1Var;
        com.google.common.util.concurrent.w wVarZzb = ((y81) ((o91) dh0Var.f10402b)).zzb(z81Var.f19137b, z81Var.f19136a, null);
        w90 w90Var = new w90(this, dh0Var, xb1Var, ic1Var, 7);
        z81 z81Var2 = (z81) ic1Var;
        this.f15367b = ih1.W0(ih1.e1(wVarZzb, w90Var, z81Var2.f19140e), Exception.class, new nv(this, dh0Var, 15), z81Var2.f19140e);
    }

    public final synchronized tt1 a(ic1 ic1Var) {
        if (!this.f15369d && !this.f15368c) {
            ic1 ic1Var2 = this.f15366a;
            if (((z81) ic1Var2).f19142g != null && ((z81) ic1Var).f19142g != null && ((z81) ic1Var2).f19142g.equals(((z81) ic1Var).f19142g)) {
                this.f15368c = true;
                return this.f15367b;
            }
        }
        return null;
    }
}
