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

import android.text.TextUtils;
import androidx.annotation.Nullable;

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

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

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

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

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

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

    public vg2(String str, zn2 zn2Var, zn2 zn2Var2, int i10, int i11) {
        boolean z10;
        if (i10 != 0) {
            z10 = false;
            if (i11 == 0) {
                i11 = 0;
                z10 = true;
            }
        } else {
            z10 = true;
        }
        ih1.x(z10);
        ih1.x(true ^ TextUtils.isEmpty(str));
        this.f17628a = str;
        this.f17629b = zn2Var;
        zn2Var2.getClass();
        this.f17630c = zn2Var2;
        this.f17631d = i10;
        this.f17632e = i11;
    }

    public final boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj != null && vg2.class == obj.getClass()) {
            vg2 vg2Var = (vg2) obj;
            if (this.f17631d == vg2Var.f17631d && this.f17632e == vg2Var.f17632e && this.f17628a.equals(vg2Var.f17628a) && this.f17629b.equals(vg2Var.f17629b) && this.f17630c.equals(vg2Var.f17630c)) {
                return true;
            }
        }
        return false;
    }

    public final int hashCode() {
        return this.f17630c.hashCode() + ((this.f17629b.hashCode() + ((this.f17628a.hashCode() + ((((this.f17631d + 527) * 31) + this.f17632e) * 31)) * 31)) * 31);
    }
}
