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

import androidx.annotation.Nullable;

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

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

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

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

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

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

    public cp2(Object obj, int i10, int i11, long j10, int i12) {
        this.f10025a = obj;
        this.f10026b = i10;
        this.f10027c = i11;
        this.f10028d = j10;
        this.f10029e = i12;
    }

    public final cp2 a(Object obj) {
        return this.f10025a.equals(obj) ? this : new cp2(obj, this.f10026b, this.f10027c, this.f10028d, this.f10029e);
    }

    public final boolean b() {
        return this.f10026b != -1;
    }

    public final boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof cp2)) {
            return false;
        }
        cp2 cp2Var = (cp2) obj;
        return this.f10025a.equals(cp2Var.f10025a) && this.f10026b == cp2Var.f10026b && this.f10027c == cp2Var.f10027c && this.f10028d == cp2Var.f10028d && this.f10029e == cp2Var.f10029e;
    }

    public final int hashCode() {
        return ((((((((this.f10025a.hashCode() + 527) * 31) + this.f10026b) * 31) + this.f10027c) * 31) + ((int) this.f10028d)) * 31) + this.f10029e;
    }

    public cp2(Object obj, long j10) {
        this(obj, -1, -1, j10, -1);
    }

    public cp2(Object obj, long j10, int i10) {
        this(obj, -1, -1, j10, i10);
    }
}
