package F;

import J0.A0;
import android.view.ActionMode;
import androidx.compose.runtime.Composition;
import androidx.compose.runtime.DisposableEffectResult;
import androidx.compose.runtime.snapshots.SnapshotStateObserver;
import e.C1947a;
import e.C1952f;
import e.C1958l;
import g.C2054h;
import h3.C2230z2;
import java.util.concurrent.atomic.AtomicReference;
import w4.C3137A;

/* JADX INFO: renamed from: F.w, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0168w implements DisposableEffectResult {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ Object f1349b;

    public /* synthetic */ C0168w(Object obj, int i6) {
        this.f1348a = i6;
        this.f1349b = obj;
    }

    /* JADX WARN: Multi-variable type inference failed */
    @Override // androidx.compose.runtime.DisposableEffectResult
    public final void dispose() {
        C3137A c3137a;
        switch (this.f1348a) {
            case 0:
                ((C0169x) this.f1349b).f1353d = null;
                return;
            case 1:
                Q q6 = (Q) this.f1349b;
                E3.j jVar = q6.f1221c;
                if (jVar != null) {
                    jVar.f1151b = false;
                }
                q6.f1221c = null;
                return;
            case 2:
                ((L) this.f1349b).f1213f = true;
                return;
            case 3:
                ((A0) this.f1349b).f2779b.invoke();
                return;
            case 4:
                ((V.i0) this.f1349b).q();
                return;
            case 5:
                P.h hVar = (P.h) this.f1349b;
                SnapshotStateObserver snapshotStateObserver = hVar.f5556e;
                snapshotStateObserver.stop();
                snapshotStateObserver.clear();
                ActionMode actionMode = hVar.f5559h;
                if (actionMode != null) {
                    actionMode.finish();
                }
                hVar.f5559h = null;
                return;
            case 6:
                R.b bVar = (R.b) ((R.d) this.f1349b).f5999c.getValue();
                if (bVar != null) {
                    bVar.close();
                    return;
                }
                return;
            case 7:
                ((AtomicReference) this.f1349b).set(null);
                return;
            case 8:
                C2054h c2054h = ((C1947a) this.f1349b).f16228a;
                if (c2054h != null) {
                    c2054h.b();
                    c3137a = C3137A.f25453a;
                } else {
                    c3137a = null;
                }
                if (c3137a == null) {
                    throw new IllegalStateException("Launcher has not been initialized");
                }
                return;
            case 9:
                ((C1952f) this.f1349b).e();
                return;
            case 10:
                ((C1958l) this.f1349b).e();
                return;
            case 11:
                J4.c cVar = (J4.c) this.f1349b;
                if (cVar != null) {
                    cVar.invoke(C2230z2.f18768a);
                    return;
                }
                return;
            case 12:
                l1.w wVar = (l1.w) this.f1349b;
                wVar.dismiss();
                wVar.f20223j.disposeComposition();
                return;
            case 13:
                l1.y yVar = (l1.y) this.f1349b;
                yVar.disposeComposition();
                yVar.getClass();
                androidx.lifecycle.X.i(yVar, null);
                yVar.f20236j.removeViewImmediate(yVar);
                return;
            default:
                ((Composition) this.f1349b).dispose();
                return;
        }
    }
}
