package com.bytedance.android.livesdk.gift.model;

import X.0SJ;
import X.0SP;
import X.0SQ;
import com.bytedance.covode.number.Covode;

public final class _DriveItem_ProtoDecoder implements 0SJ<DriveItem> {
    static {
        Covode.recordClassIndex(16441);
    }

    public final /* synthetic */ Object LIZIZ(0SP r2) {
        return LIZ(r2);
    }

    public static DriveItem LIZ(0SP r6) {
        DriveItem driveItem = new DriveItem();
        long LIZ = r6.LIZ();
        while (true) {
            int LIZIZ = r6.LIZIZ();
            if (LIZIZ == -1) {
                r6.LIZ(LIZ);
                return driveItem;
            } else if (LIZIZ == 1) {
                driveItem.LIZLLL = Integer.valueOf(r6.LJ());
            } else if (LIZIZ == 2) {
                driveItem.LJ = Integer.valueOf(r6.LJ());
            } else if (LIZIZ != 3) {
                0SQ.LIZJ(r6);
            } else {
                driveItem.LJFF = Long.valueOf(r6.LJFF());
            }
        }
    }
}
