package com.bytedance.android.livesdkapi.depend.model.live;

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

public final class _Skin_ProtoDecoder implements 0SJ<Skin> {
    static {
        Covode.recordClassIndex(22305);
    }

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

    public static Skin LIZ(0SP r5) {
        Skin skin = new Skin();
        long LIZ = r5.LIZ();
        while (true) {
            int LIZIZ = r5.LIZIZ();
            if (LIZIZ == -1) {
                r5.LIZ(LIZ);
                return skin;
            } else if (LIZIZ == 1) {
                skin.account = _SkinHostAccount_ProtoDecoder.LIZ(r5);
            } else if (LIZIZ != 2) {
                0SQ.LIZJ(r5);
            } else {
                skin.drawerEntrance = _SkinDrawerEntrance_ProtoDecoder.LIZ(r5);
            }
        }
    }
}
