package com.google.android.gms.internal.firebase_ml; import java.io.IOException; /* loaded from: classes2.dex */ public final class zzvg { private final V value; private final zzvh zzbqm; private final K zzbqn; private zzvg(zzxl zzxlVar, K k, zzxl zzxlVar2, V v) { this.zzbqm = new zzvh<>(zzxlVar, k, zzxlVar2, v); this.zzbqn = k; this.value = v; } public static zzvg zza(zzxl zzxlVar, K k, zzxl zzxlVar2, V v) { return new zzvg<>(zzxlVar, k, zzxlVar2, v); } /* JADX INFO: Access modifiers changed from: package-private */ public static void zza(zztl zztlVar, zzvh zzvhVar, K k, V v) throws IOException { zztw.zza(zztlVar, zzvhVar.zzbqo, 1, k); zztw.zza(zztlVar, zzvhVar.zzbqq, 2, v); } /* JADX INFO: Access modifiers changed from: package-private */ public static int zza(zzvh zzvhVar, K k, V v) { return zztw.zza(zzvhVar.zzbqo, 1, k) + zztw.zza(zzvhVar.zzbqq, 2, v); } public final int zzc(int i, K k, V v) { return zztl.zzcu(i) + zztl.zzdb(zza(this.zzbqm, k, v)); } /* JADX INFO: Access modifiers changed from: package-private */ public final zzvh zzsa() { return this.zzbqm; } }