package x2;

import androidx.media3.extractor.z0;
import com.google.android.gms.internal.ads.u3;

/* JADX INFO: loaded from: classes.dex */
public final class s {

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

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

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

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

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

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

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

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

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

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

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

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

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

    public final void a(int i10) {
        long j10 = this.f34624k;
        if (j10 != -9223372036854775807L) {
            long j11 = this.f34614a;
            long j12 = this.f34623j;
            if (j11 == j12) {
                return;
            }
            boolean z10 = this.f34625l;
            ((z0) this.f34626m).sampleMetadata(j10, z10 ? 1 : 0, (int) (j11 - j12), i10, null);
        }
    }

    public final void b(int i10) {
        long j10 = this.f34624k;
        if (j10 != -9223372036854775807L) {
            long j11 = this.f34614a;
            long j12 = this.f34623j;
            if (j11 == j12) {
                return;
            }
            ((u3) this.f34626m).zze(j10, this.f34625l ? 1 : 0, (int) (j11 - j12), i10, null);
        }
    }
}
