TikTok’s survival in the US may depend on an appeals court ruling this December.