For a certain complex number $c$, the polynomial $$P(x)=(x^2-2x+2)(x^2-cx+4)(x^2-4x+8)$$
has exactly $4$ distinct roots. What is $\mid c\mid$?