package com.bytedance.android.livesdk.model;

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

public final class _GameTag_ProtoDecoder implements 0SJ<GameTag> {
    static {
        Covode.recordClassIndex(18921);
    }

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

    public static GameTag LIZ(0SP r6) {
        GameTag gameTag = new GameTag();
        gameTag.hashtagList = new ArrayList();
        gameTag.gameCategory = new ArrayList();
        long LIZ = r6.LIZ();
        while (true) {
            int LIZIZ = r6.LIZIZ();
            if (LIZIZ != -1) {
                switch (LIZIZ) {
                    case 1:
                        gameTag.id = Long.valueOf(0SQ.LIZIZ(r6));
                        break;
                    case 2:
                        gameTag.showName = r6.LIZLLL();
                        break;
                    case 3:
                        gameTag.shortName = r6.LIZLLL();
                        break;
                    case 4:
                        gameTag.fullName = r6.LIZLLL();
                        break;
                    case 6:
                        gameTag.hashtagList.add(_Hashtag_ProtoDecoder.LIZ(r6));
                        break;
                    case 7:
                        gameTag.gameCategory.add(_GameTagCategory_ProtoDecoder.LIZ(r6));
                        break;
                    case 8:
                        gameTag.landscape = (int) 0SQ.LIZIZ(r6);
                        break;
                    case 9:
                        gameTag.packageName = r6.LIZLLL();
                        break;
                    case 10:
                        gameTag.bundleId = r6.LIZLLL();
                        break;
                    default:
                        0SQ.LIZJ(r6);
                        break;
                }
            } else {
                r6.LIZ(LIZ);
                return gameTag;
            }
        }
    }
}
