package z; import android.os.IBinder; import android.os.Parcel; import cn.asus.push.DataBuffer; public final class g implements d { /* renamed from: b reason: collision with root package name */ public static d f160145b; /* renamed from: a reason: collision with root package name */ public IBinder f160146a; public g(IBinder iBinder) { this.f160146a = iBinder; } public final IBinder asBinder() { return this.f160146a; } @Override // z.d public final void d0(DataBuffer dataBuffer, b bVar) { Parcel obtain = Parcel.obtain(); try { obtain.writeInterfaceToken("cn.asus.push.IAIDLInvoke"); if (dataBuffer != null) { obtain.writeInt(1); dataBuffer.writeToParcel(obtain, 0); } else { obtain.writeInt(0); } obtain.writeStrongBinder(bVar != null ? bVar.asBinder() : null); if (this.f160146a.transact(2, obtain, null, 1) || c.j1() == null) { obtain.recycle(); } else { c.j1().d0(dataBuffer, bVar); } } finally { obtain.recycle(); } } }