package u0;

import P2.C0253j;
import android.net.Uri;
import d5.AbstractC0844a;
import java.util.Collections;
import java.util.List;
import java.util.Objects;

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

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public static final Object f17182q = new Object();

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public static final C1588y f17183r;

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

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

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

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

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

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

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

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

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

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

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

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

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

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public Object f17184a = f17182q;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public C1588y f17186c = f17183r;

    static {
        L4.h hVar = new L4.h();
        C3.E e8 = C3.G.f1197r;
        C3.W w4 = C3.W.f1225u;
        List list = Collections.EMPTY_LIST;
        C3.W w6 = C3.W.f1225u;
        C1582s c1582s = new C1582s();
        C1585v c1585v = C1585v.f17389a;
        Uri uri = Uri.EMPTY;
        f17183r = new C1588y("androidx.media3.common.Timeline", new r(hVar), uri != null ? new C1584u(uri, null, null, list, w6, -9223372036854775807L) : null, new C1583t(c1582s), B.f17123B, c1585v);
        AbstractC0844a.r(1, 2, 3, 4, 5);
        AbstractC0844a.r(6, 7, 8, 9, 10);
        x0.v.G(11);
        x0.v.G(12);
        x0.v.G(13);
    }

    public final boolean a() {
        return this.f17192j != null;
    }

    public final void b(C1588y c1588y, C0253j c0253j, long j8, long j9, long j10, boolean z8, boolean z9, C1583t c1583t, long j11, long j12, long j13) {
        this.f17184a = f17182q;
        this.f17186c = c1588y != null ? c1588y : f17183r;
        if (c1588y != null) {
            C1584u c1584u = c1588y.f17396b;
        }
        this.f17185b = null;
        this.f17187d = c0253j;
        this.f17188e = j8;
        this.f17189f = j9;
        this.f17190g = j10;
        this.f17191h = z8;
        this.i = z9;
        this.f17192j = c1583t;
        this.f17194l = j11;
        this.f17195m = j12;
        this.f17196n = 0;
        this.f17197o = 0;
        this.f17198p = j13;
        this.f17193k = false;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || !Q.class.equals(obj.getClass())) {
            return false;
        }
        Q q8 = (Q) obj;
        return Objects.equals(this.f17184a, q8.f17184a) && Objects.equals(this.f17186c, q8.f17186c) && Objects.equals(this.f17187d, q8.f17187d) && Objects.equals(this.f17192j, q8.f17192j) && this.f17188e == q8.f17188e && this.f17189f == q8.f17189f && this.f17190g == q8.f17190g && this.f17191h == q8.f17191h && this.i == q8.i && this.f17193k == q8.f17193k && this.f17194l == q8.f17194l && this.f17195m == q8.f17195m && this.f17196n == q8.f17196n && this.f17197o == q8.f17197o && this.f17198p == q8.f17198p;
    }

    public final int hashCode() {
        int iHashCode = (this.f17186c.hashCode() + ((this.f17184a.hashCode() + 217) * 31)) * 31;
        C0253j c0253j = this.f17187d;
        int iHashCode2 = (iHashCode + (c0253j == null ? 0 : c0253j.hashCode())) * 31;
        C1583t c1583t = this.f17192j;
        int iHashCode3 = (iHashCode2 + (c1583t != null ? c1583t.hashCode() : 0)) * 31;
        long j8 = this.f17188e;
        int i = (iHashCode3 + ((int) (j8 ^ (j8 >>> 32)))) * 31;
        long j9 = this.f17189f;
        int i5 = (i + ((int) (j9 ^ (j9 >>> 32)))) * 31;
        long j10 = this.f17190g;
        int i8 = (((((((i5 + ((int) (j10 ^ (j10 >>> 32)))) * 31) + (this.f17191h ? 1 : 0)) * 31) + (this.i ? 1 : 0)) * 31) + (this.f17193k ? 1 : 0)) * 31;
        long j11 = this.f17194l;
        int i9 = (i8 + ((int) (j11 ^ (j11 >>> 32)))) * 31;
        long j12 = this.f17195m;
        int i10 = (((((i9 + ((int) (j12 ^ (j12 >>> 32)))) * 31) + this.f17196n) * 31) + this.f17197o) * 31;
        long j13 = this.f17198p;
        return i10 + ((int) (j13 ^ (j13 >>> 32)));
    }
}
