private void checkReceived() {
		OnDemandData onDemandData;
		synchronized (aClass19_1370) {
			onDemandData = (OnDemandData) aClass19_1370.popHead();
		}
		while (onDemandData != null) {
			waiting = true;
			byte abyte0[] = null;
			if (clientInstance.caches[0] != null)
				abyte0 = clientInstance.caches[onDemandData.dataType + 1]
						.decompress(onDemandData.id);
			if (!crcMatches(versions[onDemandData.dataType][onDemandData.id],
					crcs[onDemandData.dataType][onDemandData.id], abyte0))
				abyte0 = null;
			synchronized (aClass19_1370) {
				if (abyte0 == null) {
					aClass19_1368.insertHead(onDemandData);
				} else {
					onDemandData.buffer = abyte0;
					synchronized (aClass19_1358) {
						aClass19_1358.insertHead(onDemandData);
					}
				}
				onDemandData = (OnDemandData) aClass19_1370.popHead();
			}
		}
	}