What S(m) = T(2^m)$S(m) = T(2^m)$ means is that S, T$S$ and $T$ are two different functions which produce the same result while taking inputs as m$m$ and 2^m$2^m$ respectively.
Function S$S$ can be considered as an operator with two internal steps (otherwise, composition of functions):
S'$S'$ operator: Input:m$m$, Output:2^m$2^m$
T$T$ operator(original function): Input:output of first part, Output: As defined originally.
Therefore then transitions are:
m->2^m->T(2^m) = S(m)
(m/2)->(2^(m/2))->T(2^(m/2)) = S(m/2)$$m\to 2^m\to T(2^m) = S(m)$$ $$\tfrac{m}2\to2^{m/2}\to T(2^{m/2}) = S(\tfrac{m}2)\,.$$