package androidx.fragment.app;

import android.view.View;
import p0.AbstractC0928a;
import r4.AbstractC0983h;

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

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

    /* JADX INFO: renamed from: l, reason: collision with root package name */
    public final /* synthetic */ C0285q f4137l;

    /* JADX INFO: renamed from: m, reason: collision with root package name */
    public final /* synthetic */ E0 f4138m;

    public /* synthetic */ C0(C0285q c0285q, E0 e02, int i) {
        this.f4136k = i;
        this.f4137l = c0285q;
        this.f4138m = e02;
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.f4136k) {
            case 0:
                C0285q c0285q = this.f4137l;
                AbstractC0983h.e("this$0", c0285q);
                E0 e02 = this.f4138m;
                if (c0285q.f4355b.contains(e02)) {
                    int i = e02.f4148a;
                    View view = e02.f4150c.mView;
                    AbstractC0983h.d("operation.fragment.mView", view);
                    AbstractC0928a.a(i, view, c0285q.f4354a);
                }
                break;
            case 1:
                C0285q c0285q2 = this.f4137l;
                AbstractC0983h.e("this$0", c0285q2);
                E0 e03 = this.f4138m;
                AbstractC0983h.e("$operation", e03);
                c0285q2.a(e03);
                break;
            default:
                C0285q c0285q3 = this.f4137l;
                AbstractC0983h.e("this$0", c0285q3);
                E0 e04 = this.f4138m;
                c0285q3.f4355b.remove(e04);
                c0285q3.f4356c.remove(e04);
                break;
        }
    }
}
