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

import android.content.Context;

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

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

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

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

    public /* synthetic */ x90(y90 y90Var, Throwable th, int i10) {
        this.f18370a = i10;
        this.f18371b = y90Var;
        this.f18372c = th;
    }

    @Override // java.lang.Runnable
    public final void run() {
        int i10 = this.f18370a;
        Throwable th = this.f18372c;
        y90 y90Var = this.f18371b;
        switch (i10) {
            case 0:
                y90Var.getClass();
                boolean zBooleanValue = ((Boolean) n7.y.f31093e.f31096c.b(ao.Ab)).booleanValue();
                Context context = y90Var.f18758a;
                if (!zBooleanValue) {
                    dz.a(context).d("AttributionReportingSampled", th);
                } else {
                    dz.c(context).d("AttributionReporting", th);
                }
                break;
            default:
                y90Var.getClass();
                boolean zBooleanValue2 = ((Boolean) n7.y.f31093e.f31096c.b(ao.Ab)).booleanValue();
                Context context2 = y90Var.f18758a;
                if (!zBooleanValue2) {
                    dz.a(context2).d("AttributionReportingSampled.getUpdatedUrlAndRegisterSource", th);
                } else {
                    dz.c(context2).d("AttributionReporting.getUpdatedUrlAndRegisterSource", th);
                }
                break;
        }
    }
}
