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

import X.0SJ;
import X.0SP;
import X.0SQ;
import com.bytedance.android.livesdkapi.message._CommonMessageData_ProtoDecoder;
import com.bytedance.covode.number.Covode;

public final class _RankTextMessage_ProtoDecoder implements 0SJ<RankTextMessage> {
    static {
        Covode.recordClassIndex(19289);
    }

    public final /* synthetic */ Object LIZIZ(0SP r7) {
        RankTextMessage rankTextMessage = new RankTextMessage();
        long LIZ = r7.LIZ();
        while (true) {
            int LIZIZ = r7.LIZIZ();
            if (LIZIZ == -1) {
                r7.LIZ(LIZ);
                return rankTextMessage;
            } else if (LIZIZ == 1) {
                rankTextMessage.LJJJJ = _CommonMessageData_ProtoDecoder.LIZ(r7);
            } else if (LIZIZ == 2) {
                rankTextMessage.LIZJ = r7.LJ();
            } else if (LIZIZ == 3) {
                rankTextMessage.LIZLLL = Long.valueOf(r7.LJFF());
            } else if (LIZIZ != 4) {
                0SQ.LIZJ(r7);
            } else {
                rankTextMessage.LJ = Long.valueOf(r7.LJFF());
            }
        }
    }
}
