If a function is non-continuously differentiable at a point $c$, then it has a derivative at $c$, but the derivative is not continuous at $c$. This makes no sense to me. It is seemingly the conjunction of two contradictory statements:
$$\lim_{x \rightarrow c} \frac{f(x) - f(c)}{x-c} \in \Bbb R \tag1$$
$$$$
$$\lim_{x \rightarrow c}\lim_{x \rightarrow c} \frac{f(x) - f(c)}{x-c} \not\in \Bbb R \tag2$$
The second statement is true, because $f'(x)$ is discontinuous at $c$. Thus, either the left- and right-hand limits are not equal, or, the limit does not exist at all, both of which are captured by $(2)$. But composing limits is idempotent, so $(1)$ and $(2)$ are contradicting each other.
What am I missing?