package com.bytedance.android.livesdk.model;

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

public final class _ShortTouchItem_ProtoDecoder implements 0SJ<ShortTouchItem> {
    static {
        Covode.recordClassIndex(18952);
    }

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

    public static ShortTouchItem LIZ(0SP r5) {
        ShortTouchItem shortTouchItem = new ShortTouchItem();
        long LIZ = r5.LIZ();
        while (true) {
            int LIZIZ = r5.LIZIZ();
            if (LIZIZ != -1) {
                switch (LIZIZ) {
                    case 1:
                        shortTouchItem.schema = r5.LIZLLL();
                        break;
                    case 2:
                        shortTouchItem.width = r5.LJFF();
                        break;
                    case 3:
                        shortTouchItem.height = r5.LJFF();
                        break;
                    case 4:
                        shortTouchItem.topMargin = r5.LJFF();
                        break;
                    case 5:
                        shortTouchItem.leftMargin = r5.LJFF();
                        break;
                    case 6:
                        shortTouchItem.fcSecond = r5.LJFF();
                        break;
                    case 7:
                        shortTouchItem.name = r5.LIZLLL();
                        break;
                    case 8:
                        shortTouchItem.previewSetting = _ShortTouchPreviewSetting_ProtoDecoder.LIZ(r5);
                        break;
                    default:
                        0SQ.LIZJ(r5);
                        break;
                }
            } else {
                r5.LIZ(LIZ);
                return shortTouchItem;
            }
        }
    }
}
