package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Ls, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0303Ls extends AbstractC0706aK implements OC {
    public final /* synthetic */ int m = 0;
    public final /* synthetic */ C2773w10 n;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C0303Ls(C0247Jn c0247Jn, C0329Ms c0329Ms, C2773w10 c2773w10) {
        super(1);
        this.n = c2773w10;
    }

    @Override // o.OC
    public final Object g(Object obj) {
        switch (this.m) {
            case 0:
                C0329Ms c0329Ms = (C0329Ms) obj;
                if (!c0329Ms.y) {
                    break;
                } else {
                    if (c0329Ms.A != null) {
                        AbstractC2133pH.b("DragAndDropTarget self reference must be null at the start of a drag and drop session");
                    }
                    c0329Ms.A = null;
                    C2773w10 c2773w10 = this.n;
                    c2773w10.l = c2773w10.l;
                    break;
                }
            default:
                if (!((AbstractC2036oF) obj).B) {
                    break;
                } else {
                    this.n.l = false;
                    break;
                }
        }
        return Wg0.l;
    }

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public C0303Ls(C2773w10 c2773w10) {
        super(1);
        this.n = c2773w10;
    }
}
