package com.bytedance.android.livesdk.model;

import X.0SJ;
import X.0SP;
import X.0SQ;
import com.bytedance.android.livesdkapi.depend.model.live._Room_ProtoDecoder;
import com.bytedance.covode.number.Covode;

public final class _FeedItem_ProtoDecoder implements 0SJ<FeedItem> {
    static {
        Covode.recordClassIndex(18918);
    }

    public final /* synthetic */ Object LIZIZ(0SP r7) {
        FeedItem feedItem = new FeedItem();
        long LIZ = r7.LIZ();
        while (true) {
            int LIZIZ = r7.LIZIZ();
            if (LIZIZ == -1) {
                r7.LIZ(LIZ);
                feedItem.init();
                return feedItem;
            } else if (LIZIZ == 1) {
                feedItem.type = (int) r7.LJFF();
            } else if (LIZIZ == 2) {
                feedItem.resId = r7.LIZLLL();
            } else if (LIZIZ == 3) {
                feedItem.room = _Room_ProtoDecoder.LIZ(r7);
            } else if (LIZIZ == 6) {
                feedItem.bannerContainer = _FeedBannerContainer_ProtoDecoder.LIZ(r7);
            } else if (LIZIZ == 9) {
                feedItem.isRecommendCard = 0SQ.LIZ(r7);
            } else if (LIZIZ == 13) {
                feedItem.liveReason = r7.LIZLLL();
            } else if (LIZIZ == 16) {
                feedItem.debugInfo = r7.LIZLLL();
            } else if (LIZIZ != 17) {
                0SQ.LIZJ(r7);
            } else {
                feedItem.flareInfo = _FlareInfo_ProtoDecoder.LIZ(r7);
            }
        }
    }
}
