package o; /* loaded from: classes2.dex */ public final class BsA implements SqB { final String a; final int c; final Object[] d; final vAr e; public BsA(vAr var, String str, Object[] objArr) { this.e = var; this.a = str; this.d = objArr; char charAt = str.charAt(0); if (charAt < 55296) { this.c = charAt; return; } int i = charAt & 8191; int i2 = 1; int i3 = 13; while (true) { char charAt2 = str.charAt(i2); if (charAt2 < 55296) { this.c = i | (charAt2 << i3); return; } else { i |= (charAt2 & 8191) << i3; i3 += 13; i2++; } } } @Override // o.SqB public final unv c() { return (this.c & 1) == 1 ? unv.PROTO2 : unv.PROTO3; } @Override // o.SqB public final boolean e() { return (this.c & 2) == 2; } @Override // o.SqB public final vAr a() { return this.e; } }