package o; /* JADX INFO: Access modifiers changed from: package-private */ /* loaded from: classes2.dex */ public final class rAJ implements InterfaceC16924sSR { final int a; final Object[] b; final InterfaceC16581pUl d; final String e; /* JADX INFO: Access modifiers changed from: package-private */ public rAJ(InterfaceC16581pUl interfaceC16581pUl, String str, Object[] objArr) { this.d = interfaceC16581pUl; this.e = str; this.b = objArr; char charAt = str.charAt(0); if (charAt < 55296) { this.a = charAt; return; } int i = charAt & 8191; int i2 = 1; int i3 = 13; while (true) { char charAt2 = str.charAt(i2); if (charAt2 < 55296) { this.a = i | (charAt2 << i3); return; } else { i |= (charAt2 & 8191) << i3; i3 += 13; i2++; } } } @Override // o.InterfaceC16924sSR public final OaP a() { return (this.a & 1) == 1 ? OaP.PROTO2 : OaP.PROTO3; } @Override // o.InterfaceC16924sSR public final boolean b() { return (this.a & 2) == 2; } @Override // o.InterfaceC16924sSR public final InterfaceC16581pUl c() { return this.d; } }