Primitive of Reciprocal of a squared minus x squared

Also see

 * Primitive of Reciprocal of $x^2 + a^2$
 * Primitive of Reciprocal of $x^2 - a^2$ for the case $x^2 > a^2$