package s4;

import ed.j;
import ed.k;
import sd.l;
import xyz.netfly.mobile.plugin.e;
import xyz.stream.utils.a0;

/* JADX INFO: loaded from: classes.dex */
public final class a implements k {

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

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

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

    public a() {
        this.f32659a = 0;
        this.f32661c = null;
    }

    @Override // ed.k
    public final void b() {
        switch (this.f32659a) {
            case 0:
                this.f32660b = null;
                break;
            default:
                ((a0) this.f32660b).f36098a = null;
                break;
        }
    }

    @Override // ed.k
    public final void c(Object obj, j jVar) {
        switch (this.f32659a) {
            case 0:
                this.f32660b = jVar;
                l lVar = (l) this.f32661c;
                if (lVar != null) {
                    lVar.invoke(jVar);
                }
                break;
            default:
                ((a0) this.f32660b).f36098a = jVar;
                break;
        }
    }

    public a(e eVar, a0 a0Var) {
        this.f32659a = 1;
        this.f32661c = eVar;
        this.f32660b = a0Var;
    }
}
