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

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

public final class _PollOptionInfo_ProtoDecoder implements 0SJ<PollOptionInfo> {
    static {
        Covode.recordClassIndex(19269);
    }

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

    public static PollOptionInfo LIZ(0SP r7) {
        PollOptionInfo pollOptionInfo = new PollOptionInfo();
        long LIZ = r7.LIZ();
        while (true) {
            int LIZIZ = r7.LIZIZ();
            if (LIZIZ == -1) {
                r7.LIZ(LIZ);
                return pollOptionInfo;
            } else if (LIZIZ == 1) {
                pollOptionInfo.LIZ = r7.LJFF();
            } else if (LIZIZ == 2) {
                pollOptionInfo.LIZIZ = r7.LIZLLL();
            } else if (LIZIZ != 3) {
                0SQ.LIZJ(r7);
            } else {
                pollOptionInfo.LIZJ = (int) r7.LJFF();
            }
        }
    }
}
