package com.discord.hardware_analytics; import android.os.Build; import c.d.b.a.a; import d0.z.d.m; import java.util.Arrays; /* compiled from: BuildInfo.kt */ public final class BuildInfo { public final String a; public final String b; /* renamed from: c reason: collision with root package name */ public final String f2013c; public final String d; public final String e; public final String f; public final boolean g; public BuildInfo() { this(null, null, null, null, null, null, false, 127); } public BuildInfo(String str, String str2, String str3, String str4, String str5, String str6, boolean z2, int i) { String str7; String str8; String str9; String str10; String str11; String str12 = null; if ((i & 1) != 0) { str7 = Build.BOARD; m.checkNotNullExpressionValue(str7, "Build.BOARD"); } else { str7 = null; } if ((i & 2) != 0) { str8 = Build.BRAND; m.checkNotNullExpressionValue(str8, "Build.BRAND"); } else { str8 = null; } if ((i & 4) != 0) { str9 = Build.MANUFACTURER; m.checkNotNullExpressionValue(str9, "Build.MANUFACTURER"); } else { str9 = null; } if ((i & 8) != 0) { str10 = Build.DEVICE; m.checkNotNullExpressionValue(str10, "Build.DEVICE"); } else { str10 = null; } if ((i & 16) != 0) { str11 = Build.PRODUCT; m.checkNotNullExpressionValue(str11, "Build.PRODUCT"); } else { str11 = null; } if ((i & 32) != 0) { str12 = Arrays.toString(Build.SUPPORTED_ABIS); m.checkNotNullExpressionValue(str12, "java.util.Arrays.toString(this)"); } if ((i & 64) != 0) { String[] strArr = Build.SUPPORTED_64_BIT_ABIS; m.checkNotNullExpressionValue(strArr, "Build.SUPPORTED_64_BIT_ABIS"); z2 = !(strArr.length == 0); } m.checkNotNullParameter(str7, "device_board"); m.checkNotNullParameter(str8, "device_brand"); m.checkNotNullParameter(str9, "device_manufacturer"); m.checkNotNullParameter(str10, "device_model"); m.checkNotNullParameter(str11, "device_product"); m.checkNotNullParameter(str12, "device_supported_abis"); this.a = str7; this.b = str8; this.f2013c = str9; this.d = str10; this.e = str11; this.f = str12; this.g = z2; } public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof BuildInfo)) { return false; } BuildInfo buildInfo = (BuildInfo) obj; return m.areEqual(this.a, buildInfo.a) && m.areEqual(this.b, buildInfo.b) && m.areEqual(this.f2013c, buildInfo.f2013c) && m.areEqual(this.d, buildInfo.d) && m.areEqual(this.e, buildInfo.e) && m.areEqual(this.f, buildInfo.f) && this.g == buildInfo.g; } public int hashCode() { String str = this.a; int i = 0; int hashCode = (str != null ? str.hashCode() : 0) * 31; String str2 = this.b; int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31; String str3 = this.f2013c; int hashCode3 = (hashCode2 + (str3 != null ? str3.hashCode() : 0)) * 31; String str4 = this.d; int hashCode4 = (hashCode3 + (str4 != null ? str4.hashCode() : 0)) * 31; String str5 = this.e; int hashCode5 = (hashCode4 + (str5 != null ? str5.hashCode() : 0)) * 31; String str6 = this.f; if (str6 != null) { i = str6.hashCode(); } int i2 = (hashCode5 + i) * 31; boolean z2 = this.g; if (z2) { z2 = true; } int i3 = z2 ? 1 : 0; int i4 = z2 ? 1 : 0; int i5 = z2 ? 1 : 0; return i2 + i3; } public String toString() { StringBuilder L = a.L("BuildInfo(device_board="); L.append(this.a); L.append(", device_brand="); L.append(this.b); L.append(", device_manufacturer="); L.append(this.f2013c); L.append(", device_model="); L.append(this.d); L.append(", device_product="); L.append(this.e); L.append(", device_supported_abis="); L.append(this.f); L.append(", device_is_64_bit="); return a.G(L, this.g, ")"); } }