package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.ws, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2852ws extends AbstractC0992dJ {
    public final /* synthetic */ int p;
    public final Object q;

    public /* synthetic */ C2852ws(int i, Object obj) {
        this.p = i;
        this.q = obj;
    }

    @Override // o.AbstractC0992dJ
    public final boolean j() {
        switch (this.p) {
        }
        return false;
    }

    @Override // o.AbstractC0992dJ
    public final void k(Throwable th) {
        switch (this.p) {
            case 0:
                ((InterfaceC2567ts) this.q).a();
                break;
            case 1:
                ((OC) this.q).g(th);
                break;
            default:
                C1087eJ c1087eJ = (C1087eJ) this.q;
                C1375hJ c1375hJ = this.f489o;
                if (c1375hJ == null) {
                    c1375hJ = null;
                }
                c1375hJ.getClass();
                Object obj = C1375hJ.l.get(c1375hJ);
                if (!(obj instanceof C2075oj)) {
                    c1087eJ.resumeWith(AbstractC2841wm0.K(obj));
                    break;
                } else {
                    c1087eJ.resumeWith(new H20(((C2075oj) obj).a));
                    break;
                }
        }
    }
}
