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

/* JADX INFO: loaded from: classes2.dex */
public final class r2 implements Runnable {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ long f21885b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ boolean f21886c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final /* synthetic */ Object f21887d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final /* synthetic */ Object f21888e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final /* synthetic */ x0 f21889f;

    public r2(g2 g2Var, b2 b2Var, long j10, boolean z10, b2 b2Var2) {
        this.f21887d = b2Var;
        this.f21885b = j10;
        this.f21886c = z10;
        this.f21888e = b2Var2;
        this.f21889f = g2Var;
    }

    @Override // java.lang.Runnable
    public final void run() {
        int i10 = this.f21884a;
        Object obj = this.f21888e;
        Object obj2 = this.f21887d;
        x0 x0Var = this.f21889f;
        switch (i10) {
            case 0:
                g2 g2Var = (g2) x0Var;
                b2 b2Var = (b2) obj2;
                g2Var.J(b2Var);
                g2.L(g2Var, b2Var, this.f21885b, false, this.f21886c);
                g2.M(g2Var, b2Var, (b2) obj);
                break;
            default:
                ((w2) x0Var).K((x2) obj2, (x2) obj, this.f21885b, this.f21886c, null);
                break;
        }
    }

    public r2(w2 w2Var, x2 x2Var, x2 x2Var2, long j10, boolean z10) {
        this.f21887d = x2Var;
        this.f21888e = x2Var2;
        this.f21885b = j10;
        this.f21886c = z10;
        this.f21889f = w2Var;
    }
}
