package com.google.android.gms.internal.clearcut; import java.nio.ByteBuffer; import java.nio.charset.Charset; import org.bouncycastle.i18n.LocalizedMessage; /* loaded from: classes2.dex */ public final class zzci { public static final byte[] zzkt; private static final ByteBuffer zzku; private static final zzbk zzkv; static final Charset UTF_8 = Charset.forName("UTF-8"); private static final Charset ISO_8859_1 = Charset.forName(LocalizedMessage.DEFAULT_ENCODING); public static int zzc(boolean z) { return z ? 1231 : 1237; } /* JADX INFO: Access modifiers changed from: package-private */ public static boolean zzf(zzdo zzdoVar) { return false; } public static int zzl(long j) { return (int) (j ^ (j >>> 32)); } public static String zzf(byte[] bArr) { return new String(bArr, UTF_8); } public static boolean zze(byte[] bArr) { return zzff.zze(bArr); } /* JADX INFO: Access modifiers changed from: package-private */ public static T zza(T t, String str) { if (t != null) { return t; } throw new NullPointerException(str); } /* JADX INFO: Access modifiers changed from: package-private */ public static Object zza(Object obj, Object obj2) { return ((zzdo) obj).zzbc().zza((zzdo) obj2).zzbi(); } /* JADX INFO: Access modifiers changed from: package-private */ public static int zza(int i, byte[] bArr, int i2, int i3) { for (int i4 = i2; i4 < i2 + i3; i4++) { i = (i * 31) + bArr[i4]; } return i; } public static int hashCode(byte[] bArr) { int length = bArr.length; int zza = zza(length, bArr, 0, length); if (zza == 0) { return 1; } return zza; } /* JADX INFO: Access modifiers changed from: package-private */ public static T checkNotNull(T t) { t.getClass(); return t; } static { byte[] bArr = new byte[0]; zzkt = bArr; zzku = ByteBuffer.wrap(bArr); zzkv = zzbk.zza(bArr, 0, 0, false); } }