-e^{i\theta_j}}\log zdz,$$ where $C$ is a curve which runs cclw around the ball of radius $R$ around the origin, from angle $-\pi$ to $\pi$, then along the negative $x$-axis from $-R$ to $-r$, then clockwise around the ball of radius $r$ from angle $\pi$ to $-\pi$, and then back along the $x$-axis from $-r$ to $-R$.

The integral around the ball of radius $r$ is $$-\frac1{8\pi^2 i}\int_{\pi}^{-\pi}(-1)^k(1+O(Nr))(\log r+i\theta)id\theta
=\frac{(-1)^k\log r}{4\pi}(1+O(Nr)).$$ The difference between the value of $\log z$ above and below the $x$-axis is $2\pi i$, so that we can combine the two parts of the integral along the $x$-axis into the integral of $$-\frac1{4\pi}\int_{-R}^{-r}\frac1z\prod_{j=0}^{k-1}
\frac{z+e^{i\theta_j}}{z-e^{i\theta_j}}dz.$$ This integral we split into a part from $-R$ to $-\sqrt{N}$, from $-\sqrt{N}$ to $-1/\sqrt{N}$ and from $-1/\sqrt{N}$ to $-r$.

For small $t<0$ we have $$\prod_{j=0}^{k-1}\frac{t+e^{i\theta_j}}{t-e^{i\theta_j}}=
(-1)^ke^{2\sum e^{-i\theta_j}t+O(t^2)}=(-1)^ke^{2(\bar v_1-\bar v_0)t+O(t^2)}$$ so that the integral near the origin is $$-\frac{(-1)^k}{4\pi}
\int_{-1/\sqrt{N}}^{-r}\frac{e^{\bar\alpha t+O(t^2)}}t dt$$ where $\alpha=2(v_1-v_0),$ $$\begin{aligned}
&=&-\frac{(-1)^k}{4\pi}(1+O(\frac1N))
\int_{-\
-e^{i\theta_j}}\log zdz,$$ where $ C$ is a curve which runs cclw around the ball of radius $ R$ around the beginning, from slant $ -\pi$ to $ \pi$, then along the negative $ x$-axis from $ -R$ to $ -r$, then clockwise around the ball of radius $ r$ from slant $ \pi$ to $ -\pi$, and then back along the $ x$-axis from $ -r$ to $ -R$. 

 The integral around the testis of radius $ r$ is $ $ -\frac1{8\pi^2 i}\int_{\pi}^{-\pi}(-1)^k(1+O(Nr))(\log r+i\theta)id\theta 
 = \frac{(-1)^k\log r}{4\pi}(1+O(Nr)).$$ The difference between the value of $ \log z$ above and below the $ x$-axis is $ 2\pi i$, so that we can combine the two region of the integral along the $ x$-axis into the integral of $ $ -\frac1{4\pi}\int_{-R}^{-r}\frac1z\prod_{j=0}^{k-1 } 
 \frac{z+e^{i\theta_j}}{z - e^{i\theta_j}}dz.$$ This integral we divide into a part from $ -R$ to $ -\sqrt{N}$, from $ -\sqrt{N}$ to $ -1/\sqrt{N}$ and from $ -1/\sqrt{N}$ to $ -r$. 

 For small $ t<0 $ we get $ $ \prod_{j=0}^{k-1}\frac{t+e^{i\theta_j}}{t - e^{i\theta_j}}= 
 (-1)^ke^{2\sum e^{-i\theta_j}t+O(t^2)}=(-1)^ke^{2(\bar v_1-\bar v_0)t+O(t^2)}$$ so that the integral near the origin is $ $ -\frac{(-1)^k}{4\pi } 
 \int_{-1/\sqrt{N}}^{-r}\frac{e^{\bar\alpha t+O(t^2)}}t dt$$ where $ \alpha=2(v_1 - v_0),$ $ $ \begin{aligned } 
 & = & -\frac{(-1)^k}{4\pi}(1+O(\frac1N) ) 
 \int_{-\
-e^{i\tjeta_j}}\log zdz,$$ where $C$ is x curve which ronw cclw arouns the baul of radius $R$ around the ormgin, from angle $-\pi$ to $\pi$, then auong the jegative $x$-axms from $-R$ to $-r$, tisn clockwise zvound vhe ball of radlus $r$ from dngle $\pi$ to $-\pi$, avd then back along the $x$-axis from $-r$ tj $-R$.

The onhegral around jhe bsjl or radius $r$ is $$-\frac1{8\pi^2 i}\int_{\pi}^{-\pi}(-1)^k(1+O(Nr))(\lkg r+i\thtta)id\theta
=\frac{(-1)^k\log r}{4\pi}(1+O(Nr)).$$ The difference betaeen the value of $\log x$ above and beljq the $x$-axis ks $2\pi i$, so that we can combine the two parts of the ivtegrcl along thg $s$-adhs into the intedral of $$-\frac1{4\ip}\int_{-R}^{-r}\fsac1z\proc_{j=0}^{k-1}
\frac{z+e^{i\thets_j}}{z-x^{i\thwta_j}}dz.$$ This integral xe split into a part from $-R$ tm $-\aqrt{N}$, from $-\sqrt{N}$ ro $-1/\sqrt{T}$ ang frun $-1/\sdrt{H}$ vo $-d$.

For slalm $t<0$ we havs $$\prod_{j=0}^{k-1}\frax{t+e^{i\theta_j}}{t-e^{i\theta_j}}=
(-1)^le^{2\flk e^{-i\theta_j}t+O(f^2)}=(-1)^ke^{2(\bar v_1-\far v_0)t+O(t^2)}$$ so that the integral near the mrifin is $$-\frac{(-1)^k}{4\pi}
\int_{-1/\sqrt{N}}^{-r}\drac{e^{\bar\alpha t+O(t^2)}}t dt$$ where $\al[ha=2(v_1-v_0),$ $$\begin{aligned}
&=&-\frac{(-1)^k}{4\pi}(1+O(\frac1N))
\int_{-\
-e^{i\theta_j}}\log zdz,$$ where $C$ is a curve cclw the ball radius $R$ around to then along the $x$-axis from $-R$ $-r$, then clockwise around the ball radius $r$ from angle $\pi$ to $-\pi$, and then back along the $x$-axis $-r$ to $-R$. The integral around the ball of radius $r$ is $$-\frac1{8\pi^2 r+i\theta)id\theta r}{4\pi}(1+O(Nr)).$$ difference the value of $\log z$ above and below the $x$-axis is $2\pi i$, so that we combine the two parts of the integral along $x$-axis into the integral $$-\frac1{4\pi}\int_{-R}^{-r}\frac1z\prod_{j=0}^{k-1} \frac{z+e^{i\theta_j}}{z-e^{i\theta_j}}dz.$$ This integral we into part from to from to $-1/\sqrt{N}$ and $-1/\sqrt{N}$ to $-r$. For small $t<0$ we have $$\prod_{j=0}^{k-1}\frac{t+e^{i\theta_j}}{t-e^{i\theta_j}}= (-1)^ke^{2\sum e^{-i\theta_j}t+O(t^2)}=(-1)^ke^{2(\bar v_1-\bar v_0)t+O(t^2)}$$ so that the integral the origin \int_{-1/\sqrt{N}}^{-r}\frac{e^{\bar\alpha t+O(t^2)}}t where $$\begin{aligned} \int_{-\
-e^{i\theta_j}}\log zdz,$$ where $C$ is a cuRve which ruNs cclW arOunD tHe baLl of Radius $R$ around tHE oriGin, from angle $-\pi$ to $\pi$, then Along ThE NegaTIvE $x$-axiS from $-R$ tO $-R$, tHEN clOcKwIse ArOUnD the bAll Of radiuS $r$ from anglE $\pi$ To $-\Pi$, and then bacK AlOng the $x$-axiS frOm $-r$ to $-R$.

The intEgrAl arouNd The BAll of RadIus $r$ iS $$-\frac1{8\pI^2 I}\int_{\pi}^{-\Pi}(-1)^k(1+O(Nr))(\log R+i\THeta)id\THeta
=\fraC{(-1)^K\LoG r}{4\pi}(1+o(Nr)).$$ The difference bETwEEn the value of $\loG z$ abovE aND bELOw tHe $x$-Axis is $2\pi i$, sO tHat we CAn combiNE tHE TWo pARts of the integRal along the $X$-AxiS into tHe IntEGral of $$-\Frac1{4\pI}\iNT_{-R}^{-r}\Frac1z\prod_{j=0}^{k-1}
\Frac{Z+e^{i\theta_j}}{Z-e^{i\theTA_j}}dz.$$ ThiS IntegraL we splIt iNto A parT FrOm $-r$ to $-\SqRT{N}$, fROm $-\SqrT{n}$ to $-1/\Sqrt{N}$ and FrOm $-1/\Sqrt{N}$ To $-r$.

FOR SMAll $t<0$ We hAve $$\pRod_{j=0}^{k-1}\Frac{t+e^{i\theta_j}}{T-e^{i\ThetA_J}}=
(-1)^ke^{2\Sum e^{-i\Theta_J}t+O(t^2)}=(-1)^Ke^{2(\Bar v_1-\bAr v_0)t+O(t^2)}$$ So thaT tHe integral near tHe orIgin is $$-\fraC{(-1)^k}{4\pI}
\iNt_{-1/\sQrT{N}}^{-r}\frAC{e^{\bar\aLphA t+O(T^2)}}t dt$$ wheRe $\alpha=2(V_1-V_0),$ $$\beGiN{ALIgNed}
&=&-\frac{(-1)^k}{4\pi}(1+O(\frac1N))
\inT_{-\
-e^{i\theta_j}}\log zdz,$$  where $C$  is a  cu rve  w hich  run s cclw aroundt he b all of radius $R$ arou nd th eo rigi n ,fromangle $ - \p i $  to  $ \p i$,  t h en  alon g t he nega tive $x$-a xis  f rom $-R$ to$ -r $, then cl ock wise aroundthe  ballof  ra d ius $ r$fromangle$ \pi$ t o $-\pi$,  a n d then back al o n gthe$x$-axis from $-r $  t o  $-R$.

The in tegral  a r ou n d  th e b all of rad iu s $r$ is $$-\ f ra c 1 { 8\p i ^2 i}\int_{\p i}^{-\pi}(- 1 )^k (1+O(N r) )(\ l og r+i \thet a) i d\t heta
=\frac {(-1 )^k\log r }{4\pi } (1+O(Nr ) ).$$ Th e diff ere nce  bet w ee nthe  v a lue of  $\ l ogz$ above  a nd  belo w th e $ x $-ax isis $ 2\pii$, so that w e c an c o mbi ne th e two  par ts  of t he int egral  a long the $x$-ax is i nto the i nte gr alof  $$-\ f rac1{4 \pi }\i nt_{-R} ^{-r}\f r ac1 z\ p r o d_ {j=0}^{k-1}
\frac{ z+ e ^ {i \theta_j }}{z-e ^ {i \t h eta_j}}d z. $$This i ntegr al w e  s plit int o a pa r tfr om $-R$  t o $-\s qr t{N }$,  from $-\s qrt{N} $ to $-1 /\sqr t {N}$ and from$ -1/\sqrt{N}$t o$ - r$ . 

Fo r s mall $t<0$we h a ve $ $\pr o d_ {j= 0 }^{k- 1}\fr ac { t+ e ^{i\theta_j}}{t-e^{ i\ theta_ j}}=(-1)^ke^{2\su m e^{-i\th e t a _j}t+O(t ^2)} = (- 1 )^ke^{2(\bar v _1-\b ar v_0)t+O ( t^2)}$$so th at the i ntegral n e a r the or igi n i s $ $-\ f r ac {(-1)^k}{4\pi } \int _{ -1/\sqr t{N }}^{-r} \fr ac{ e^{ \ba r\ alpha t+O (t^2)}}t  d t$ $wh ere  $\al p ha=2(v_1 -v _0) ,$  $$ \begi n {align ed}
& =&-\ fr ac { (-1 )^k}{4\ p i} ( 1 +O(\ fr ac 1N)) 
\i nt _{-\
-e^{i\theta_j}}\log zdz,$$_where $C$_is a curve which_runs cclw_around_the ball_of_radius $R$ around_the origin, from_angle $-\pi$ to $\pi$,_then along the_negative_$x$-axis from $-R$ to $-r$, then clockwise around the ball of radius $r$ from_angle_$\pi$ to_$-\pi$,_and_then back along the $x$-axis_from $-r$ to $-R$.

The integral_around the_ball of radius $r$ is $$-\frac1{8\pi^2 i}\int_{\pi}^{-\pi}(-1)^k(1+O(Nr))(\log r+i\theta)id\theta
=\frac{(-1)^k\log_r}{4\pi}(1+O(Nr)).$$_The difference between_the value of $\log z$ above and below the_$x$-axis is $2\pi i$, so that_we can combine_the_two_parts of the integral_along the $x$-axis into the integral_of $$-\frac1{4\pi}\int_{-R}^{-r}\frac1z\prod_{j=0}^{k-1}
\frac{z+e^{i\theta_j}}{z-e^{i\theta_j}}dz.$$ This integral we split_into a part from $-R$ to $-\sqrt{N}$,_from $-\sqrt{N}$ to $-1/\sqrt{N}$ and from_$-1/\sqrt{N}$ to $-r$.

For small $t<0$_we have_$$\prod_{j=0}^{k-1}\frac{t+e^{i\theta_j}}{t-e^{i\theta_j}}=
(-1)^ke^{2\sum e^{-i\theta_j}t+O(t^2)}=(-1)^ke^{2(\bar v_1-\bar v_0)t+O(t^2)}$$ so_that the integral_near the_origin is $$-\frac{(-1)^k}{4\pi}
\int_{-1/\sqrt{N}}^{-r}\frac{e^{\bar\alpha_t+O(t^2)}}t dt$$ where $\alpha=2(v_1-v_0),$ $$\begin{aligned}
&=&-\frac{(-1)^k}{4\pi}(1+O(\frac1N))
\int_{-\