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

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

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

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

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

    public /* synthetic */ fq1(gq1 gq1Var, Runnable runnable, int i10) {
        this.f11363a = i10;
        this.f11364b = gq1Var;
        this.f11365c = runnable;
    }

    @Override // java.lang.Runnable
    public final /* synthetic */ void run() {
        int i10 = this.f11363a;
        gq1 gq1Var = this.f11364b;
        Runnable runnable = this.f11365c;
        switch (i10) {
            case 0:
                gq1Var.a(runnable);
                break;
            default:
                gq1Var.getClass();
                try {
                    runnable.run();
                } catch (RuntimeException e10) {
                    gq1Var.f11838c.zzc("error caused by ", e10);
                }
                break;
        }
    }
}
