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

import androidx.annotation.Nullable;
import java.util.Objects;

/* JADX INFO: loaded from: classes2.dex */
public final class ki2 {

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

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

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

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

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

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

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

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

    public ki2(cp2 cp2Var, long j10, long j11, long j12, long j13, boolean z10, boolean z11, boolean z12) {
        ih1.x(!z12 || z10);
        ih1.x(!z11 || z10);
        this.f13271a = cp2Var;
        this.f13272b = j10;
        this.f13273c = j11;
        this.f13274d = j12;
        this.f13275e = j13;
        this.f13276f = z10;
        this.f13277g = z11;
        this.f13278h = z12;
    }

    public final ki2 a(long j10) {
        return j10 == this.f13272b ? this : new ki2(this.f13271a, j10, this.f13273c, this.f13274d, this.f13275e, this.f13276f, this.f13277g, this.f13278h);
    }

    public final ki2 b(long j10) {
        return j10 == this.f13273c ? this : new ki2(this.f13271a, this.f13272b, j10, this.f13274d, this.f13275e, this.f13276f, this.f13277g, this.f13278h);
    }

    public final boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj != null && ki2.class == obj.getClass()) {
            ki2 ki2Var = (ki2) obj;
            if (this.f13272b == ki2Var.f13272b && this.f13273c == ki2Var.f13273c && this.f13274d == ki2Var.f13274d && this.f13275e == ki2Var.f13275e && this.f13276f == ki2Var.f13276f && this.f13277g == ki2Var.f13277g && this.f13278h == ki2Var.f13278h && Objects.equals(this.f13271a, ki2Var.f13271a)) {
                return true;
            }
        }
        return false;
    }

    public final int hashCode() {
        return ((((((((((((((this.f13271a.hashCode() + 527) * 31) + ((int) this.f13272b)) * 31) + ((int) this.f13273c)) * 31) + ((int) this.f13274d)) * 31) + ((int) this.f13275e)) * 29791) + (this.f13276f ? 1 : 0)) * 31) + (this.f13277g ? 1 : 0)) * 31) + (this.f13278h ? 1 : 0);
    }
}
