package com.bytedance.android.livesdk.model;

import X.0SJ;
import X.0SP;
import X.0SQ;
import com.bytedance.android.live.base.model._ImageModel_ProtoDecoder;
import com.bytedance.covode.number.Covode;
import com.bytedance.ugc.glue.monitor.UGCMonitor;
import java.util.ArrayList;

public final class _UserHonor_ProtoDecoder implements 0SJ<UserHonor> {
    static {
        Covode.recordClassIndex(18959);
    }

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

    public static UserHonor LIZ(0SP r6) {
        UserHonor userHonor = new UserHonor();
        userHonor.LJIILIIL = new ArrayList();
        long LIZ = r6.LIZ();
        while (true) {
            int LIZIZ = r6.LIZIZ();
            if (LIZIZ == -1) {
                r6.LIZ(LIZ);
                return userHonor;
            } else if (LIZIZ != 1001) {
                switch (LIZIZ) {
                    case 1:
                        userHonor.LJFF = 0SQ.LIZIZ(r6);
                        break;
                    case 2:
                        userHonor.LIZ = _ImageModel_ProtoDecoder.LIZ(r6);
                        break;
                    case UGCMonitor.STATUS_RESPONSE /*3*/:
                        userHonor.LJ = r6.LIZLLL();
                        break;
                    case UGCMonitor.STATUS_FINISH /*4*/:
                        userHonor.LIZIZ = _ImageModel_ProtoDecoder.LIZ(r6);
                        break;
                    case 5:
                        userHonor.LIZLLL = r6.LIZLLL();
                        break;
                    case 6:
                        userHonor.LJIIL = (int) 0SQ.LIZIZ(r6);
                        break;
                    case 7:
                        userHonor.LIZJ = _ImageModel_ProtoDecoder.LIZ(r6);
                        break;
                    default:
                        switch (LIZIZ) {
                            case 9:
                                userHonor.LJI = 0SQ.LIZIZ(r6);
                                break;
                            case 10:
                                userHonor.LJIILLIIL = 0SQ.LIZIZ(r6);
                                break;
                            case 11:
                                userHonor.LJIILL = 0SQ.LIZIZ(r6);
                                break;
                            default:
                                switch (LIZIZ) {
                                    case 13:
                                        userHonor.LJIILJJIL = r6.LIZLLL();
                                        break;
                                    case 14:
                                        userHonor.LJIILIIL.add(_GradeIcon_ProtoDecoder.LIZ(r6));
                                        break;
                                    case 15:
                                        userHonor.LJJ = 0SQ.LIZIZ(r6);
                                        break;
                                    case 16:
                                        userHonor.LJII = _ImageModel_ProtoDecoder.LIZ(r6);
                                        break;
                                    case 17:
                                        userHonor.LJIIIIZZ = _ImageModel_ProtoDecoder.LIZ(r6);
                                        break;
                                    case 18:
                                        userHonor.LJIIJ = _ImageModel_ProtoDecoder.LIZ(r6);
                                        break;
                                    case 19:
                                        userHonor.LJIIIZ = _ImageModel_ProtoDecoder.LIZ(r6);
                                        break;
                                    case 20:
                                        userHonor.LJIIJJI = _ImageModel_ProtoDecoder.LIZ(r6);
                                        break;
                                    case 21:
                                        userHonor.LJIJI = 0SQ.LIZIZ(r6);
                                        break;
                                    case 22:
                                        userHonor.LJIJJLI = r6.LIZLLL();
                                        break;
                                    case 23:
                                        userHonor.LJIIZILJ = _ImageModel_ProtoDecoder.LIZ(r6);
                                        break;
                                    case 24:
                                        userHonor.LJIJ = _ImageModel_ProtoDecoder.LIZ(r6);
                                        break;
                                    case 25:
                                        userHonor.LJIL = 0SQ.LIZIZ(r6);
                                        break;
                                    default:
                                        0SQ.LIZJ(r6);
                                        break;
                                }
                        }
                }
            } else {
                userHonor.LJIJJ = r6.LIZLLL();
            }
        }
    }
}
