package o;

import ir.devixor.app.accessibilityservice.AccessibilityService;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Nc, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final /* synthetic */ class RunnableC0339Nc implements Runnable {
    public final /* synthetic */ int l;
    public final /* synthetic */ C0599Xc m;

    public /* synthetic */ RunnableC0339Nc(C0599Xc c0599Xc, int i) {
        this.l = i;
        this.m = c0599Xc;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.l) {
            case 0:
                C0599Xc c0599Xc = this.m;
                c0599Xc.b();
                c0599Xc.f = false;
                c0599Xc.g = null;
                c0599Xc.h = null;
                break;
            default:
                C0599Xc c0599Xc2 = this.m;
                c0599Xc2.getClass();
                if (c0599Xc2.f) {
                    AccessibilityService accessibilityService = c0599Xc2.a;
                    if (accessibilityService == null) {
                        accessibilityService = null;
                    }
                    if (!F3.c(null, accessibilityService.getPackageName())) {
                        c0599Xc2.b();
                        c0599Xc2.f = false;
                        c0599Xc2.g = null;
                        c0599Xc2.h = null;
                        break;
                    }
                }
                break;
        }
    }
}
