package androidx.emoji2.text;

import android.os.Trace;
import com.google.android.gms.internal.measurement.d5;

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

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

    public /* synthetic */ x(int i10) {
        this.f2287a = i10;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.f2287a) {
            case 0:
                try {
                    int i10 = m0.k.f30289a;
                    Trace.beginSection("EmojiCompat.EmojiCompatInitializer.run");
                    if (t.d()) {
                        t.a().e();
                        break;
                    }
                    Trace.endSection();
                    return;
                } catch (Throwable th) {
                    int i11 = m0.k.f30289a;
                    Trace.endSection();
                    throw th;
                }
            case 1:
                d5.f20156j.incrementAndGet();
                return;
            default:
                return;
        }
    }

    /* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ x() {
        this(2);
        this.f2287a = 2;
    }
}
