package O2;

import android.os.Trace;
import c0.C0572i;
import com.google.android.gms.internal.measurement.I1;
import java.lang.reflect.Method;
import n4.u0;

/* JADX INFO: loaded from: classes.dex */
public final class p implements Runnable {

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

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.f5135q) {
            case u0.f15495q /* 0 */:
                throw null;
            case 1:
                try {
                    Method method = I.g.f3185b;
                    Trace.beginSection("EmojiCompat.EmojiCompatInitializer.run");
                    if (C0572i.f9288j != null) {
                        C0572i.a().c();
                        break;
                    }
                    Trace.endSection();
                    return;
                } catch (Throwable th) {
                    Method method2 = I.g.f3185b;
                    Trace.endSection();
                    throw th;
                }
            default:
                I1.i.incrementAndGet();
                return;
        }
    }

    public p(q qVar) {
        this.f5135q = 0;
    }
}
