China wants to avoid a crackdown on Hong Kong. That doesn’t mean it won’t happen.
China is probably willing to use force, and take a big hit to its international standing, if it deems the protest a threat to the Communist Party and the system. But the cost would be substantial at a time when China can ill afford it.