A man watches a board showing the graphs of stock prices at a brokerage office in Beijing, China, July 6, 2015. REUTERS/Kim Kyung-Hoon As long as mainland China's largest stock market, the Shanghai Composite Index, continues to tumble, the country's plan to liberalize and overhaul its economy is screwed.

"The Chinese government should have no appetite for either equity-market bubbles or an equity-market crash," Societe Generale analyst Wei Yao wrote in a recent note. "The equity market is deemed the best venue for financing for restructuring moribund state-owned enterprises.

"The ideal situation would be several years of a steady bull market to cover the restructuring phase. Conversely, the worst-case scenario would be a stock-market crash before restructuring has even begun. After China's stock market crashed in mid-2007, there was little sign of life for seven years afterwards. This time, China cannot wait that long for debt restructuring."

So it's either do or die.

For over a year Chinese President Xi Jinping has told his people that they need to expect slower growth as the government restructures a financial system bloated with debt and inefficiency.

That, according to Communist Party leaders, is the best way to move China's economy from one based on foreign investment and government intervention to one based on domestic consumption.

A rising stock market was integral to this plan to modernize the economy. It was supposed to provide the cash for debt-laden corporates as they restructured.

The Shanghai Composite Index year to date. Yahoo Finance, Business Insider

But since June 12 the Shanghai Composite has not complied, falling almost 30% after an astounding yearlong 150% surge. This, combined with a slowing economy, has spurred the government to action. Beijing cut rates for the fourth time since November, promised to go after manipulators in the market, suspended IPOs to create demand, and more.

On Saturday, 21 brokerages pledged $19 billion to try to stop the slide, but as one investor told Bloomberg, that kind of money "won't last for an hour in this market."

Much has been made of the sheer volume of individual investors in the market. Images of farmers day trading in remote villages, and reports of violence and suicide after levered investors realize losses, seem bad enough to cause concern — but these are short-term consequences.

At least, they are when you compare them with the consequences of China's plan for reform going off the rails.

"If, in response to the market volatility, the government had chosen to set back financial-market liberalization, the trust of investors would be hard to rebuild, and equity financing, one of the critical elements of China's debt-restructuring plan, would stall," Societe Generale wrote.

If the stock market crashes, though, and it shaves 0.5% to 1% off gross domestic product as Societe Generale estimates it could, then the government has no choice but to stall the machine.

Chinese President Xi Jinping at a welcome ceremony for President Thein Sein of Myanmar in Beijing. Ng Han Guan/AP The government knows it is in a confusing mess, and in the messages it sends through state-media outlets, it vacillates between being steadfast in its commitment to allow the market to correct itself and reassuring its people that if push comes to shove, it will step in.

Here's an example from state digest The People's Daily:

"Some investors have insisted that the government is the one who can least tolerate a market stumble, and therefore it will definitely take action before the market gets even worse. Such expectations are one of the reasons the market often goes out of control — its own self-adjustment capability has become sluggish," an editorial published Saturday said.

"We believe the government's management of the stock market should be based on market measures that are consistent with international practices. The government will not be able to babysit the market forever."

From the sound of that, it seems China is ready to face the reality of the market and let the pain set in.

Except that one paragraph later there's this: "Of course, if the market shows signs of getting out of control, the government will have to resolutely step in," the editorial went on to say.

That's the contradiction, and Chinese leaders know it. If the government steps in, its stock-market solution will have become part of the problem. Possibly a bigger problem than it imagined.