package com.google.android.gms.internal.auth;

import java.io.Serializable;

/* loaded from: classes3.dex */
public final class zzdk {
    public static <T> zzdg<T> zza(zzdg<T> zzdgVar) {
        return ((zzdgVar instanceof zzdi) || (zzdgVar instanceof zzdh)) ? zzdgVar : zzdgVar instanceof Serializable ? new zzdh(zzdgVar) : new zzdi(zzdgVar);
    }

    public static <T> zzdg<T> zzb(T t10) {
        return new zzdj(t10);
    }
}
