package com.bytedance.android.livesdk.model;

import X.0SJ;
import X.0SO;
import X.0SP;
import X.0SQ;
import com.bytedance.android.live.base.model._ImageModel_ProtoDecoder;
import com.bytedance.android.livesdk.livesetting.linkmic.MtCoHostReceiveInviteMessageTimeOutSetting;
import com.bytedance.covode.number.Covode;
import java.util.ArrayList;

public final class _DonationSticker_ProtoDecoder implements 0SJ<DonationSticker> {
    static {
        Covode.recordClassIndex(18912);
    }

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

    public static DonationSticker LIZ(0SP r8) {
        DonationSticker donationSticker = new DonationSticker();
        ArrayList arrayList = new ArrayList();
        long LIZ = r8.LIZ();
        while (true) {
            int LIZIZ = r8.LIZIZ();
            if (LIZIZ != -1) {
                switch (LIZIZ) {
                    case 1:
                        donationSticker.LJII = 0SQ.LIZIZ(r8);
                        break;
                    case 2:
                        donationSticker.LIZ = _ImageModel_ProtoDecoder.LIZ(r8);
                        break;
                    case 3:
                        donationSticker.LJI = (int) 0SQ.LIZIZ(r8);
                        break;
                    case 4:
                        arrayList.add(Integer.valueOf((int) 0SQ.LIZIZ(r8)));
                        break;
                    case 5:
                        donationSticker.LIZJ = (int) 0SQ.LIZIZ(r8);
                        break;
                    case 6:
                        donationSticker.LIZIZ = r8.LIZLLL();
                        break;
                    case 7:
                        donationSticker.LIZLLL = _OrganizationModel_ProtoDecoder.LIZ(r8);
                        break;
                    case 8:
                        donationSticker.LJ = (int) 0SQ.LIZIZ(r8);
                        break;
                    case 9:
                        donationSticker.LJIIL = (int) 0SQ.LIZIZ(r8);
                        break;
                    case 10:
                        donationSticker.LJIIJJI = (int) 0SQ.LIZIZ(r8);
                        break;
                    case 11:
                        donationSticker.LJIIIIZZ = (int) 0SQ.LIZIZ(r8);
                        break;
                    case 12:
                        donationSticker.LJIIJ = (int) 0SQ.LIZIZ(r8);
                        break;
                    case 13:
                        donationSticker.LJIIIZ = (int) 0SQ.LIZIZ(r8);
                        break;
                    case 14:
                        donationSticker.LJIILIIL = (int) 0SQ.LIZIZ(r8);
                        break;
                    case MtCoHostReceiveInviteMessageTimeOutSetting.DEFAULT:
                        donationSticker.LJIILL = Long.valueOf(0SQ.LIZIZ(r8));
                        break;
                    default:
                        0SQ.LIZJ(r8);
                        break;
                }
            } else {
                r8.LIZ(LIZ);
                donationSticker.LJFF = 0SO.LIZ(arrayList);
                return donationSticker;
            }
        }
    }
}
