package V4;

import m3.AbstractC2467b;

/* JADX INFO: loaded from: classes3.dex */
public final class Q extends AbstractC0771l0 {

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

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final Object f8264f;

    public /* synthetic */ Q(Object obj, int i6) {
        this.f8263e = i6;
        this.f8264f = obj;
    }

    @Override // V4.AbstractC0771l0
    public final boolean i() {
        switch (this.f8263e) {
        }
        return false;
    }

    @Override // V4.AbstractC0771l0
    public final void j(Throwable th) {
        switch (this.f8263e) {
            case 0:
                ((P) this.f8264f).dispose();
                return;
            case 1:
                ((J4.c) this.f8264f).invoke(th);
                return;
            case 2:
                u0 u0Var = (u0) this.f8264f;
                u0Var.getClass();
                Object obj = u0.f8337a.get(u0Var);
                if (!(obj instanceof C0784w)) {
                    E.F(obj);
                }
                throw null;
            default:
                Object obj2 = u0.f8337a.get(h());
                boolean z6 = obj2 instanceof C0784w;
                C0773m0 c0773m0 = (C0773m0) this.f8264f;
                if (z6) {
                    c0773m0.resumeWith(AbstractC2467b.d(((C0784w) obj2).f8346a));
                    return;
                } else {
                    c0773m0.resumeWith(E.F(obj2));
                    return;
                }
        }
    }

    public Q(u0 u0Var) {
        this.f8263e = 2;
        this.f8264f = u0Var;
    }
}
