package com.bytedance.android.live.base.model.user;

import X.AnonymousClass0SJ;
import X.AnonymousClass0SP;
import X.AnonymousClass0SQ;
import com.bytedance.android.live.base.model.user.User;
import com.bytedance.covode.number.Covode;
import java.util.ArrayList;

public final class _User_OwnRoom_ProtoDecoder implements AnonymousClass0SJ<User.OwnRoom> {
    static {
        Covode.recordClassIndex(4810);
    }

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

    public static User.OwnRoom LIZ(AnonymousClass0SP r6) {
        User.OwnRoom ownRoom = new User.OwnRoom();
        ownRoom.LIZ = new ArrayList();
        long LIZ = r6.LIZ();
        while (true) {
            int LIZIZ = r6.LIZIZ();
            if (LIZIZ == -1) {
                r6.LIZ(LIZ);
                return ownRoom;
            } else if (LIZIZ != 1) {
                AnonymousClass0SQ.LIZJ(r6);
            } else {
                ownRoom.LIZ.add(Long.valueOf(AnonymousClass0SQ.LIZIZ(r6)));
            }
        }
    }
}
