package o;

import java.util.concurrent.Executor;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Yq0 implements Hv0, ST, LT, GT {
    public final /* synthetic */ int l;
    public final Executor m;
    public final Object n;

    /* renamed from: o, reason: collision with root package name */
    public final Object f431o;

    public Yq0(Executor executor, GT gt) {
        this.l = 0;
        this.n = new Object();
        this.m = executor;
        this.f431o = gt;
    }

    @Override // o.Hv0
    public final void a(Pc0 pc0) {
        switch (this.l) {
            case 0:
                if (((Hw0) pc0).d) {
                    synchronized (this.n) {
                    }
                    this.m.execute(new RunnableC2017o3(26, this));
                    return;
                }
                return;
            case 1:
                synchronized (this.n) {
                }
                this.m.execute(new RunnableC0890cD(25, this, pc0, false));
                return;
            case 2:
                if (pc0.h() || ((Hw0) pc0).d) {
                    return;
                }
                synchronized (this.n) {
                }
                this.m.execute(new RunnableC0890cD(29, this, pc0, false));
                return;
            case 3:
                if (pc0.h()) {
                    synchronized (this.n) {
                    }
                    this.m.execute(new Js0(6, this, pc0));
                    return;
                }
                return;
            default:
                this.m.execute(new Js0(13, this, pc0));
                return;
        }
    }

    @Override // o.GT
    public void b() {
        ((Hw0) this.f431o).n();
    }

    @Override // o.LT
    public void d(Exception exc) {
        ((Hw0) this.f431o).l(exc);
    }

    @Override // o.ST
    public void e(Object obj) {
        ((Hw0) this.f431o).m(obj);
    }

    public Yq0(Executor executor, HT ht) {
        this.l = 1;
        this.n = new Object();
        this.m = executor;
        this.f431o = ht;
    }

    public Yq0(Executor executor, LT lt) {
        this.l = 2;
        this.n = new Object();
        this.m = executor;
        this.f431o = lt;
    }

    public Yq0(Executor executor, ST st) {
        this.l = 3;
        this.n = new Object();
        this.m = executor;
        this.f431o = st;
    }

    public Yq0(Executor executor, InterfaceC2439sb0 interfaceC2439sb0, Hw0 hw0) {
        this.l = 4;
        this.m = executor;
        this.n = interfaceC2439sb0;
        this.f431o = hw0;
    }
}
