package com.google.android.gms.common.internal; import android.os.IBinder; import android.os.Parcel; import android.os.RemoteException; /* loaded from: classes.dex */ final class zzac implements IGmsServiceBroker { private final IBinder zza; @Override // com.google.android.gms.common.internal.IGmsServiceBroker public final void getService(IGmsCallbacks iGmsCallbacks, GetServiceRequest getServiceRequest) throws RemoteException { Parcel obtain = Parcel.obtain(); Parcel obtain2 = Parcel.obtain(); try { obtain.writeInterfaceToken("com.google.android.gms.common.internal.IGmsServiceBroker"); obtain.writeStrongBinder(iGmsCallbacks != null ? iGmsCallbacks.asBinder() : null); if (getServiceRequest != null) { obtain.writeInt(1); zzm.zza(getServiceRequest, obtain, 0); } else { obtain.writeInt(0); } this.zza.transact(46, obtain, obtain2, 0); obtain2.readException(); } finally { obtain2.recycle(); obtain.recycle(); } } @Override // android.os.IInterface public final IBinder asBinder() { return this.zza; } /* JADX INFO: Access modifiers changed from: package-private */ public zzac(IBinder iBinder) { this.zza = iBinder; } }