package com.google.android.gms.measurement.internal; import java.util.List; /* loaded from: classes.dex */ final class zzfk implements com.google.android.gms.internal.measurement.zzr { final zzfm zza; @Override // com.google.android.gms.internal.measurement.zzr public final void zza(int i, String str, List list, boolean z, boolean z2) { zzej zzc; int i2 = i - 1; if (i2 == 0) { zzc = this.zza.zzs.zzay().zzc(); } else if (i2 != 1) { if (i2 == 3) { zzc = this.zza.zzs.zzay().zzj(); } else if (i2 != 4) { zzc = this.zza.zzs.zzay().zzi(); } else if (z) { zzc = this.zza.zzs.zzay().zzm(); } else if (!z2) { zzc = this.zza.zzs.zzay().zzl(); } else { zzc = this.zza.zzs.zzay().zzk(); } } else if (z) { zzc = this.zza.zzs.zzay().zzh(); } else if (!z2) { zzc = this.zza.zzs.zzay().zze(); } else { zzc = this.zza.zzs.zzay().zzd(); } int size = list.size(); if (size == 1) { zzc.zzb(str, list.get(0)); return; } if (size == 2) { zzc.zzc(str, list.get(0), list.get(1)); } else if (size == 3) { zzc.zzd(str, list.get(0), list.get(1), list.get(2)); } else { zzc.zza(str); } } /* JADX INFO: Access modifiers changed from: package-private */ public zzfk(zzfm zzfmVar) { this.zza = zzfmVar; } }