package m2;

import androidx.media3.common.util.ParsableByteArray;
import com.google.android.gms.internal.ads.p01;
import com.google.android.gms.internal.ads.zv1;

/* JADX INFO: loaded from: classes.dex */
public abstract class k {

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

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

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

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public int f30328d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public int f30329e;

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

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public boolean f30331g;

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public boolean f30332h;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public final f f30333i;

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

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

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

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

    public k(int i10) {
        if (i10 != 1) {
            this.f30333i = new f(0);
            this.f30337m = new xyz.stream.utils.f(2);
        } else {
            this.f30333i = new f(1);
            this.f30337m = new zv1(3);
        }
    }

    public void a(long j10) {
        this.f30327c = j10;
    }

    public abstract long b(ParsableByteArray parsableByteArray);

    public abstract boolean c(ParsableByteArray parsableByteArray, long j10, xyz.stream.utils.f fVar);

    public void d(boolean z10) {
        if (z10) {
            this.f30337m = new xyz.stream.utils.f(2);
            this.f30326b = 0L;
            this.f30328d = 0;
        } else {
            this.f30328d = 1;
        }
        this.f30325a = -1L;
        this.f30327c = 0L;
    }

    public void e(boolean z10) {
        int i10;
        if (z10) {
            this.f30337m = new zv1(3);
            this.f30326b = 0L;
            i10 = 0;
        } else {
            i10 = 1;
        }
        this.f30328d = i10;
        this.f30325a = -1L;
        this.f30327c = 0L;
    }

    public abstract long f(p01 p01Var);

    public abstract boolean g(p01 p01Var, long j10, zv1 zv1Var);

    public void h(long j10) {
        this.f30327c = j10;
    }
}
