I set up in textbook mode the integral of 1/sqrt(2*x-x^2) expecting arcsin (x-1).

Instead, I get a convoluted answer with imaginary numbers when using none for simplification. Same for minimum simplification. The real oddity is that it reboots if I try the integral in maximum simplification mode.

Any thoughts?