package defpackage;

import java.util.Locale;

/* renamed from: ˁᵔ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C0697 {

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public final String f3383;

    /* renamed from: ˎˏʜʾ, reason: contains not printable characters */
    public final int f3384;

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public final int f3385;

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final boolean f3386;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final String f3387;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final String f3388;

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public final int f3389;

    public C0697(int i, int i2, String str, String str2, String str3, boolean z) {
        this.f3387 = str;
        this.f3388 = str2;
        this.f3386 = z;
        this.f3389 = i;
        this.f3383 = str3;
        this.f3385 = i2;
        String upperCase = str2.toUpperCase(Locale.ROOT);
        this.f3384 = AbstractC1789.m5073(upperCase, "INT", false) ? 3 : (AbstractC1789.m5073(upperCase, "CHAR", false) || AbstractC1789.m5073(upperCase, "CLOB", false) || AbstractC1789.m5073(upperCase, "TEXT", false)) ? 2 : AbstractC1789.m5073(upperCase, "BLOB", false) ? 5 : (AbstractC1789.m5073(upperCase, "REAL", false) || AbstractC1789.m5073(upperCase, "FLOA", false) || AbstractC1789.m5073(upperCase, "DOUB", false)) ? 4 : 1;
    }

    public final boolean equals(Object obj) {
        if (this != obj) {
            if (obj instanceof C0697) {
                boolean z = this.f3389 > 0;
                C0697 c0697 = (C0697) obj;
                int i = c0697.f3385;
                if (z == (c0697.f3389 > 0) && ᵲᵝᵪ.ᵹᵝᵶ(this.f3387, c0697.f3387) && this.f3386 == c0697.f3386) {
                    String str = c0697.f3383;
                    int i2 = this.f3385;
                    String str2 = this.f3383;
                    if ((i2 != 1 || i != 2 || str2 == null || ᵩʛʽ.ᵡʠ(str2, str)) && ((i2 != 2 || i != 1 || str == null || ᵩʛʽ.ᵡʠ(str, str2)) && ((i2 == 0 || i2 != i || (str2 == null ? str == null : ᵩʛʽ.ᵡʠ(str2, str))) && this.f3384 == c0697.f3384))) {
                    }
                }
            }
            return false;
        }
        return true;
    }

    public final int hashCode() {
        return (((((this.f3387.hashCode() * 31) + this.f3384) * 31) + (this.f3386 ? 1231 : 1237)) * 31) + this.f3389;
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("\n            |Column {\n            |   name = '");
        sb.append(this.f3387);
        sb.append("',\n            |   type = '");
        sb.append(this.f3388);
        sb.append("',\n            |   affinity = '");
        sb.append(this.f3384);
        sb.append("',\n            |   notNull = '");
        sb.append(this.f3386);
        sb.append("',\n            |   primaryKeyPosition = '");
        sb.append(this.f3389);
        sb.append("',\n            |   defaultValue = '");
        String str = this.f3383;
        if (str == null) {
            str = "undefined";
        }
        sb.append(str);
        sb.append("'\n            |}\n        ");
        return AbstractC3191.m7541(AbstractC3191.m7543(sb.toString()));
    }
}
