Rather than an answer, this is (I believe) an evidence of analyticity boundary along the imaginary axis. Here is a contour plot for the logarithm of the absolute value of $f(x)$:

[![enter image description here][1]][1]

(can be enlarged by clicking twice)

  [1]: https://i.sstatic.net/1F2bt.png