64 lines
1.8 KiB
Java
64 lines
1.8 KiB
Java
package com.google.android.gms.internal.firebase_ml;
|
|
|
|
import com.google.android.gms.internal.firebase_ml.zzue;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* loaded from: classes2.dex */
|
|
public final class zzwd implements zzvm {
|
|
private final int flags;
|
|
private final String info;
|
|
private final Object[] zzbqy;
|
|
private final zzvo zzbrb;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public zzwd(zzvo zzvoVar, String str, Object[] objArr) {
|
|
this.zzbrb = zzvoVar;
|
|
this.info = str;
|
|
this.zzbqy = objArr;
|
|
char charAt = str.charAt(0);
|
|
if (charAt < 55296) {
|
|
this.flags = charAt;
|
|
return;
|
|
}
|
|
int i = charAt & 8191;
|
|
int i2 = 1;
|
|
int i3 = 13;
|
|
while (true) {
|
|
char charAt2 = str.charAt(i2);
|
|
if (charAt2 < 55296) {
|
|
this.flags = i | (charAt2 << i3);
|
|
return;
|
|
} else {
|
|
i |= (charAt2 & 8191) << i3;
|
|
i3 += 13;
|
|
i2++;
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.firebase_ml.zzvm
|
|
public final int zzsh() {
|
|
return (this.flags & 1) == 1 ? zzue.zzf.zzbow : zzue.zzf.zzbox;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public final Object[] zzsr() {
|
|
return this.zzbqy;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public final String zzsq() {
|
|
return this.info;
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.firebase_ml.zzvm
|
|
public final zzvo zzsj() {
|
|
return this.zzbrb;
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.firebase_ml.zzvm
|
|
public final boolean zzsi() {
|
|
return (this.flags & 2) == 2;
|
|
}
|
|
}
|