package R0;

import O1.C0225a;
import java.util.ArrayDeque;
import java.util.concurrent.Executor;
import u0.C1578n;
import u0.C1579o;

/* JADX INFO: renamed from: R0.c, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0281c {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final x0.q f5869b;

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

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final ArrayDeque f5871d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final C1579o f5872e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public long f5873f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final B f5874g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public final Executor f5875h;
    public t i;

    public C0281c(v vVar, x0.q qVar) {
        this.f5868a = vVar;
        vVar.f5993l = qVar;
        this.f5869b = qVar;
        this.f5870c = new z(new C0225a(11, this), vVar);
        this.f5871d = new ArrayDeque();
        this.f5872e = new C1579o(new C1578n());
        this.f5873f = -9223372036854775807L;
        this.f5874g = B.f5864a;
        this.f5875h = new K1.c(1);
        this.i = new C0279a();
    }

    public final void a(long j8, long j9) {
        if (j8 != this.f5873f) {
            z zVar = this.f5870c;
            long j10 = zVar.f6025g;
            zVar.f6023e.a(j10 == -9223372036854775807L ? 0L : j10 + 1, Long.valueOf(j8));
            this.f5873f = j8;
        }
    }
}
