package com.google.android.gms.common.internal; import android.os.IBinder; import android.os.IInterface; import android.os.Parcel; import android.os.RemoteException; import com.google.android.gms.dynamic.IObjectWrapper; /* loaded from: classes.dex */ public abstract class zzy extends com.google.android.gms.internal.common.zzb implements zzz { public zzy() { super("com.google.android.gms.common.internal.ICertData"); } public static zzz zzg(IBinder iBinder) { IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.common.internal.ICertData"); return queryLocalInterface instanceof zzz ? (zzz) queryLocalInterface : new zzx(iBinder); } @Override // com.google.android.gms.internal.common.zzb public final boolean zza(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException { if (i == 1) { IObjectWrapper zzd = zzd(); parcel2.writeNoException(); com.google.android.gms.internal.common.zzc.zzf(parcel2, zzd); } else { if (i != 2) { return false; } int zzc = zzc(); parcel2.writeNoException(); parcel2.writeInt(zzc); } return true; } }