package V;

import i0.InterfaceC2242f;

/* JADX INFO: renamed from: V.l, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0618l implements l1.B {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final InterfaceC2242f f7118a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final InterfaceC0619m f7119b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public long f7120c = 0;

    public C0618l(InterfaceC2242f interfaceC2242f, InterfaceC0619m interfaceC0619m) {
        this.f7118a = interfaceC2242f;
        this.f7119b = interfaceC0619m;
    }

    @Override // l1.B
    public final long b(h1.k kVar, long j4, h1.m mVar, long j6) {
        long jA = this.f7119b.a();
        if ((9223372034707292159L & jA) == 9205357640488583168L) {
            jA = this.f7120c;
        }
        this.f7120c = jA;
        return h1.j.c(h1.j.c(kVar.c(), W.c.T(jA)), this.f7118a.a(j6, 0L, mVar));
    }
}
