package o; import java.nio.ByteBuffer; import java.nio.charset.Charset; import java.util.List; import java.util.RandomAccess; import org.bouncycastle.i18n.LocalizedMessage; /* loaded from: classes2.dex */ public final class oZe { public static final byte[] d; static final Charset c = Charset.forName("US-ASCII"); public static final Charset b = Charset.forName("UTF-8"); /* loaded from: classes2.dex */ public interface HBt extends tOB { @Override // o.oZe.tOB, o.oZe.jbe /* renamed from: b, reason: merged with bridge method [inline-methods] */ HBt c(int i); } /* loaded from: classes2.dex */ public interface IeS extends tOB { @Override // o.oZe.tOB, o.oZe.jbe /* renamed from: a, reason: merged with bridge method [inline-methods] */ IeS c(int i); } /* loaded from: classes2.dex */ public interface LWm { int a(); } /* loaded from: classes2.dex */ public interface RVV { boolean a(); } /* loaded from: classes2.dex */ public interface Sts { } /* loaded from: classes2.dex */ public interface jbe extends tOB { @Override // /* renamed from: a, reason: merged with bridge method [inline-methods] */ jbe c(int i); } /* loaded from: classes2.dex */ public interface ojQ extends tOB { @Override // o.oZe.tOB, o.oZe.jbe /* renamed from: e, reason: merged with bridge method [inline-methods] */ ojQ c(int i); } /* loaded from: classes2.dex */ public interface saX extends tOB { @Override // o.oZe.tOB, o.oZe.jbe /* renamed from: a, reason: merged with bridge method [inline-methods] */ saX c(int i); } /* loaded from: classes2.dex */ public interface tOB extends List, RandomAccess { boolean a(); tOB c(int i); void d(); } /* JADX INFO: Access modifiers changed from: package-private */ public static T c(T t) { return t; } public static int e(long j) { return (int) (j ^ (j >>> 32)); } public static int e(boolean z) { return z ? 1231 : 1237; } static { Charset.forName(LocalizedMessage.DEFAULT_ENCODING); byte[] bArr = new byte[0]; d = bArr; ByteBuffer.wrap(bArr); SXg.e(bArr, 0, 0, false); } /* JADX INFO: Access modifiers changed from: package-private */ public static T a(T t, String str) { if (t != null) { return t; } throw new NullPointerException(str); } public static boolean e(byte[] bArr) { return iEH.a(bArr); } public static String d(byte[] bArr) { return new String(bArr, b); } public static int c(byte[] bArr) { int length = bArr.length; for (byte b2 : bArr) { length = (length * 31) + b2; } if (length == 0) { return 1; } return length; } /* JADX INFO: Access modifiers changed from: package-private */ public static int e(int i, byte[] bArr, int i2, int i3) { for (int i4 = i2; i4 < i2 + i3; i4++) { i = (i * 31) + bArr[i4]; } return i; } /* JADX INFO: Access modifiers changed from: package-private */ public static Object a(Object obj, Object obj2) { return ((vAr) obj).r().a((vAr) obj2).f(); } }