package com.google.android.libraries.places.internal; import java.util.HashMap; import java.util.Map; /* loaded from: classes2.dex */ public final class zzkm { private static final zzkq zza = new zzkj(); private static final zzkp zzb = new zzkk(); private final zzkq zze; private final Map zzc = new HashMap(); private final Map zzd = new HashMap(); private zzkp zzf = null; public final zzkr zzd() { return new zzko(this, null); } public final void zzg(zzkd zzkdVar) { zzma.zza(zzkdVar, "key"); if (zzkdVar.zzb()) { zzkp zzkpVar = zzb; zzma.zza(zzkdVar, "key"); if (zzkdVar.zzb()) { this.zzc.remove(zzkdVar); this.zzd.put(zzkdVar, zzkpVar); return; } throw new IllegalArgumentException("key must be repeating"); } zzkq zzkqVar = zza; zzma.zza(zzkdVar, "key"); this.zzd.remove(zzkdVar); this.zzc.put(zzkdVar, zzkqVar); } public final zzkm zza(zzkp zzkpVar) { this.zzf = zzkpVar; return this; } }