package com.google.android.libraries.places.internal; /* loaded from: classes2.dex */ final class zzagq implements zzagd { private final zzagg zza; private final String zzb; private final Object[] zzc; private final int zzd; /* JADX INFO: Access modifiers changed from: package-private */ public zzagq(zzagg zzaggVar, String str, Object[] objArr) { this.zza = zzaggVar; this.zzb = str; this.zzc = objArr; char charAt = str.charAt(0); if (charAt < 55296) { this.zzd = charAt; return; } int i = charAt & 8191; int i2 = 13; int i3 = 1; while (true) { char charAt2 = str.charAt(i3); if (charAt2 < 55296) { this.zzd = i | (charAt2 << i2); return; } else { i |= (charAt2 & 8191) << i2; i2 += 13; i3++; } } } /* JADX INFO: Access modifiers changed from: package-private */ public final Object[] zze() { return this.zzc; } /* JADX INFO: Access modifiers changed from: package-private */ public final String zzd() { return this.zzb; } @Override // com.google.android.libraries.places.internal.zzagd public final int zzc() { return (this.zzd & 1) == 1 ? 1 : 2; } @Override // com.google.android.libraries.places.internal.zzagd public final boolean zzb() { return (this.zzd & 2) == 2; } @Override // com.google.android.libraries.places.internal.zzagd public final zzagg zza() { return this.zza; } }