I am trying to do the following stochastic integral
$$ \int_0^T \mu(B_s) dB_s - \frac{\int_0^T (\mu(B_s))^2 ds}{2} $$ where $ \{ B_t \}$ is a standard Brownian motion, and $\mu(x) = \frac{\beta}{2x} (x^2 - \frac{4\gamma}{\sigma^2} - \frac{1}{ \beta})$.
I currently only know how to integrate when the integrands are constant, i.e. $\mu$.is constant function. I was wondering how to integrate under more complicated case as above.
Thanks and regards!