package C0;

import I0.H0;

/* JADX INFO: renamed from: C0.g, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0106g extends kotlin.jvm.internal.p implements J4.c {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final /* synthetic */ kotlin.jvm.internal.y f601b;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C0106g(B b5, l0.f fVar, kotlin.jvm.internal.y yVar) {
        super(1);
        this.f601b = yVar;
    }

    @Override // J4.c
    public final Object invoke(Object obj) {
        switch (this.f600a) {
            case 0:
                if (((AbstractC0108i) obj).f604c) {
                    this.f601b.f20130a = false;
                }
                break;
            default:
                l0.f fVar = (l0.f) obj;
                if (fVar.isAttached()) {
                    if (fVar.f20141b != null) {
                        F0.a.b("DragAndDropTarget self reference must be null at the start of a drag and drop session");
                    }
                    fVar.f20141b = null;
                    kotlin.jvm.internal.y yVar = this.f601b;
                    yVar.f20130a = yVar.f20130a;
                }
                break;
        }
        return H0.f2196a;
    }

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C0106g(kotlin.jvm.internal.y yVar) {
        super(1);
        this.f601b = yVar;
    }
}
