package J0;

import android.os.Build;
import com.google.android.datatransport.runtime.scheduling.jobscheduling.AlarmManagerSchedulerBroadcastReceiver;
import com.google.firebase.crashlytics.internal.concurrency.CrashlyticsWorker;
import m3.AbstractC2467b;

/* JADX INFO: renamed from: J0.m, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class RunnableC0371m implements Runnable {

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

    public /* synthetic */ RunnableC0371m(int i6) {
        this.f3034a = i6;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.f3034a) {
            case 0:
                n.J j4 = A.f2698Q0;
                synchronized (j4) {
                    try {
                        int i6 = 0;
                        if (Build.VERSION.SDK_INT < 30) {
                            Object[] objArr = j4.f21376a;
                            int i7 = j4.f21377b;
                            while (i6 < i7) {
                                A a6 = (A) objArr[i6];
                                boolean showLayoutBounds = a6.getShowLayoutBounds();
                                Class cls = A.f2695N0;
                                a6.setShowLayoutBounds(O.n());
                                if (showLayoutBounds != a6.getShowLayoutBounds()) {
                                    A.m(a6.getRoot());
                                }
                                i6++;
                            }
                        } else {
                            Object[] objArr2 = j4.f21376a;
                            int i8 = j4.f21377b;
                            while (i6 < i8) {
                                A.m(((A) objArr2[i6]).getRoot());
                                i6++;
                            }
                        }
                    } catch (Throwable th) {
                        throw th;
                    }
                }
                return;
            case 1:
                try {
                    N2.c.b();
                    return;
                } catch (Throwable th2) {
                    AbstractC2467b.d(th2);
                    return;
                }
            case 2:
                try {
                    X2.j.a();
                    return;
                } catch (Throwable th3) {
                    AbstractC2467b.d(th3);
                    return;
                }
            case 3:
                CrashlyticsWorker.lambda$await$6();
                return;
            default:
                int i9 = AlarmManagerSchedulerBroadcastReceiver.f13574a;
                return;
        }
    }
}
