package com.bytedance.android.livesdkapi.depend.model.live;

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

public final class _EnterRegionMatch_ProtoDecoder implements 0SJ<EnterRegionMatch> {
    static {
        Covode.recordClassIndex(22271);
    }

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

    public static EnterRegionMatch LIZ(0SP r5) {
        EnterRegionMatch enterRegionMatch = new EnterRegionMatch();
        enterRegionMatch.LIZLLL = new ArrayList();
        enterRegionMatch.LIZJ = new ArrayList();
        long LIZ = r5.LIZ();
        while (true) {
            int LIZIZ = r5.LIZIZ();
            if (LIZIZ == -1) {
                r5.LIZ(LIZ);
                return enterRegionMatch;
            } else if (LIZIZ == 1) {
                enterRegionMatch.LIZIZ = Long.valueOf(0SQ.LIZIZ(r5));
            } else if (LIZIZ == 2) {
                enterRegionMatch.LIZJ.add(r5.LIZLLL());
            } else if (LIZIZ != 3) {
                0SQ.LIZJ(r5);
            } else {
                enterRegionMatch.LIZLLL.add(r5.LIZLLL());
            }
        }
    }
}
