package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Pg0 extends AbstractC2220q90 {
    public final AbstractC2220q90 e;
    public final boolean f;
    public final boolean g;
    public OC h;
    public final long i;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public Pg0(AbstractC2220q90 abstractC2220q90, OC oc, boolean z, boolean z2) {
        OC ocE;
        super(0L, C2599u90.p);
        C2694v90 c2694v90 = AbstractC2884x90.a;
        this.e = abstractC2220q90;
        this.f = z;
        this.g = z2;
        this.h = AbstractC2884x90.l(oc, (abstractC2220q90 == null || (ocE = abstractC2220q90.e()) == null) ? AbstractC2884x90.j.e : ocE, z);
        this.i = AbstractC2539te.v();
    }

    @Override // o.AbstractC2220q90
    public final void c() {
        AbstractC2220q90 abstractC2220q90;
        this.c = true;
        if (!this.g || (abstractC2220q90 = this.e) == null) {
            return;
        }
        abstractC2220q90.c();
    }

    @Override // o.AbstractC2220q90
    public final C2599u90 d() {
        return v().d();
    }

    @Override // o.AbstractC2220q90
    public final OC e() {
        return this.h;
    }

    @Override // o.AbstractC2220q90
    public final boolean f() {
        return v().f();
    }

    @Override // o.AbstractC2220q90
    public final long g() {
        return v().g();
    }

    @Override // o.AbstractC2220q90
    public final OC i() {
        return null;
    }

    @Override // o.AbstractC2220q90
    public final void k() {
        AbstractC0249Jp.g0();
        throw null;
    }

    @Override // o.AbstractC2220q90
    public final void l() {
        AbstractC0249Jp.g0();
        throw null;
    }

    @Override // o.AbstractC2220q90
    public final void m() {
        v().m();
    }

    @Override // o.AbstractC2220q90
    public final void n(Ga0 ga0) {
        v().n(ga0);
    }

    @Override // o.AbstractC2220q90
    public final AbstractC2220q90 u(OC oc) {
        OC ocL = AbstractC2884x90.l(oc, this.h, true);
        return !this.f ? AbstractC2884x90.h(v().u(null), ocL, true) : v().u(ocL);
    }

    public final AbstractC2220q90 v() {
        AbstractC2220q90 abstractC2220q90 = this.e;
        return abstractC2220q90 == null ? AbstractC2884x90.j : abstractC2220q90;
    }
}
