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

import androidx.annotation.Nullable;

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

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public static final h11 f11978c = new h11(-1, -1);

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

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

    static {
        new h11(0, 0);
        String str = bb1.f9474a;
        Integer.toString(0, 36);
        Integer.toString(1, 36);
    }

    public h11(int i10, int i11) {
        boolean z10 = false;
        if ((i10 == -1 || i10 >= 0) && (i11 == -1 || i11 >= 0)) {
            z10 = true;
        }
        ih1.x(z10);
        this.f11979a = i10;
        this.f11980b = i11;
    }

    public final boolean equals(@Nullable Object obj) {
        if (obj == null) {
            return false;
        }
        if (this == obj) {
            return true;
        }
        if (obj instanceof h11) {
            h11 h11Var = (h11) obj;
            if (this.f11979a == h11Var.f11979a && this.f11980b == h11Var.f11980b) {
                return true;
            }
        }
        return false;
    }

    public final int hashCode() {
        int i10 = this.f11979a;
        return ((i10 >>> 16) | (i10 << 16)) ^ this.f11980b;
    }

    public final String toString() {
        int i10 = this.f11979a;
        int length = String.valueOf(i10).length();
        int i11 = this.f11980b;
        StringBuilder sb = new StringBuilder(length + 1 + String.valueOf(i11).length());
        sb.append(i10);
        sb.append("x");
        sb.append(i11);
        return sb.toString();
    }
}
