package com.bytedance.android.live.base.model.user;

import X.AnonymousClass0SJ;
import X.AnonymousClass0SP;
import X.AnonymousClass0SQ;
import com.bytedance.covode.number.Covode;

public final class _StringBadge_ProtoDecoder implements AnonymousClass0SJ<StringBadge> {
    static {
        Covode.recordClassIndex(4805);
    }

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

    public static StringBadge LIZ(AnonymousClass0SP r5) {
        StringBadge stringBadge = new StringBadge();
        long LIZ = r5.LIZ();
        while (true) {
            int LIZIZ = r5.LIZIZ();
            if (LIZIZ == -1) {
                r5.LIZ(LIZ);
                return stringBadge;
            } else if (LIZIZ == 1) {
                stringBadge.LIZ = r5.LJ();
            } else if (LIZIZ != 2) {
                AnonymousClass0SQ.LIZJ(r5);
            } else {
                stringBadge.LIZIZ = r5.LIZLLL();
            }
        }
    }
}
