package com.google.android.gms.fitness.request;

import android.os.IBinder;
import android.os.Parcel;
import android.os.Parcelable.Creator;
import com.google.android.gms.common.internal.safeparcel.zza;
import com.google.android.gms.common.internal.safeparcel.zza.zza;
import com.google.android.gms.common.internal.safeparcel.zzb;
import com.google.android.gms.fitness.data.DataSet;

public class zzm
  implements Parcelable.Creator<DataUpdateRequest>
{
  static void zza(DataUpdateRequest paramDataUpdateRequest, Parcel paramParcel, int paramInt)
  {
    int i = zzb.zzav(paramParcel);
    zzb.zza(paramParcel, 1, paramDataUpdateRequest.zzlO());
    zzb.zzc(paramParcel, 1000, paramDataUpdateRequest.getVersionCode());
    zzb.zza(paramParcel, 2, paramDataUpdateRequest.zzud());
    zzb.zza(paramParcel, 3, paramDataUpdateRequest.getDataSet(), paramInt, false);
    zzb.zza(paramParcel, 4, paramDataUpdateRequest.getCallbackBinder(), false);
    zzb.zzI(paramParcel, i);
  }
  
  public DataUpdateRequest zzds(Parcel paramParcel)
  {
    long l1 = 0L;
    IBinder localIBinder = null;
    int j = zza.zzau(paramParcel);
    int i = 0;
    DataSet localDataSet = null;
    long l2 = 0L;
    while (paramParcel.dataPosition() < j)
    {
      int k = zza.zzat(paramParcel);
      switch (zza.zzca(k))
      {
      default: 
        zza.zzb(paramParcel, k);
        break;
      case 1: 
        l2 = zza.zzi(paramParcel, k);
        break;
      case 1000: 
        i = zza.zzg(paramParcel, k);
        break;
      case 2: 
        l1 = zza.zzi(paramParcel, k);
        break;
      case 3: 
        localDataSet = (DataSet)zza.zza(paramParcel, k, DataSet.CREATOR);
        break;
      case 4: 
        localIBinder = zza.zzq(paramParcel, k);
      }
    }
    if (paramParcel.dataPosition() != j) {
      throw new zza.zza("Overread allowed size end=" + j, paramParcel);
    }
    return new DataUpdateRequest(i, l2, l1, localDataSet, localIBinder);
  }
  
  public DataUpdateRequest[] zzfs(int paramInt)
  {
    return new DataUpdateRequest[paramInt];
  }
}


/* Location:              /home/enzo/Documents/hacking/malwares/viking-horde/classes.jar!/com/google/android/gms/fitness/request/zzm.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */