package com.google.android.gms.internal.ads;

import androidx.annotation.Nullable;
import java.util.ArrayList;
import java.util.List;

/* JADX INFO: loaded from: classes2.dex */
public final class x5 implements z9 {

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

    public x5(ArrayList arrayList) {
        this.f18318a = arrayList;
        boolean z10 = false;
        if (!arrayList.isEmpty()) {
            long j10 = ((w5) arrayList.get(0)).f17867b;
            int i10 = 1;
            while (true) {
                if (i10 >= arrayList.size()) {
                    break;
                }
                if (((w5) arrayList.get(i10)).f17866a < j10) {
                    z10 = true;
                    break;
                } else {
                    j10 = ((w5) arrayList.get(i10)).f17867b;
                    i10++;
                }
            }
        }
        ih1.x(!z10);
    }

    public final boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || x5.class != obj.getClass()) {
            return false;
        }
        return this.f18318a.equals(((x5) obj).f18318a);
    }

    public final int hashCode() {
        return this.f18318a.hashCode();
    }

    public final String toString() {
        return "SlowMotion: segments=".concat(this.f18318a.toString());
    }
}
