package com.bytedance.android.live.wallet.model;

import X.AnonymousClass0SJ;
import X.AnonymousClass0SP;
import X.AnonymousClass0SQ;
import com.apiguard3.APIGuard;
import com.bef.effectsdk.BuildConfig;
import com.bytedance.covode.number.Covode;

public final class _CustomizedDiamond_ProtoDecoder implements AnonymousClass0SJ<CustomizedDiamond> {
    static {
        Covode.recordClassIndex(10901);
    }

    public final /* synthetic */ Object LIZIZ(AnonymousClass0SP r7) {
        CustomizedDiamond customizedDiamond = new CustomizedDiamond();
        long LIZ = r7.LIZ();
        while (true) {
            int LIZIZ = r7.LIZIZ();
            if (LIZIZ != -1) {
                switch (LIZIZ) {
                    case BuildConfig.VERSION_CODE:
                        customizedDiamond.LJFF = Long.valueOf(r7.LJFF());
                        break;
                    case APIGuard.INIT_PROCEED:
                        customizedDiamond.LJI = Integer.valueOf(r7.LJ());
                        break;
                    case 3:
                        customizedDiamond.LJII = Integer.valueOf(r7.LJ());
                        break;
                    case 4:
                        customizedDiamond.LJIIIIZZ = Float.valueOf(Float.intBitsToFloat(r7.LJI()));
                        break;
                    case 5:
                        customizedDiamond.LJIIIZ = Integer.valueOf(r7.LJ());
                        break;
                    case 6:
                        customizedDiamond.LJIIJ = r7.LIZLLL();
                        break;
                    case 7:
                        customizedDiamond.LJIIJJI = r7.LIZLLL();
                        break;
                    default:
                        AnonymousClass0SQ.LIZJ(r7);
                        break;
                }
            } else {
                r7.LIZ(LIZ);
                return customizedDiamond;
            }
        }
    }
}
