package com.bytedance.android.livesdk.chatroom.model.interact;

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

public final class _LinkReplyResult_ProtoDecoder implements 0SJ<LinkReplyResult> {
    static {
        Covode.recordClassIndex(13776);
    }

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

    public static LinkReplyResult LIZ(0SP r5) {
        LinkReplyResult linkReplyResult = new LinkReplyResult();
        long LIZ = r5.LIZ();
        while (true) {
            int LIZIZ = r5.LIZIZ();
            if (LIZIZ == -1) {
                r5.LIZ(LIZ);
                return linkReplyResult;
            } else if (LIZIZ == 3) {
                linkReplyResult.LIZIZ = 0SQ.LIZ(r5);
            } else if (LIZIZ == 4) {
                linkReplyResult.LIZJ = r5.LJ();
            } else if (LIZIZ == 5) {
                linkReplyResult.LJ = r5.LIZLLL();
            } else if (LIZIZ == 15) {
                linkReplyResult.LIZ = r5.LIZLLL();
            } else if (LIZIZ != 17) {
                0SQ.LIZJ(r5);
            } else {
                linkReplyResult.LIZLLL = r5.LIZLLL();
            }
        }
    }
}
