First thing to know is that the multi-function is analytic outside it's hull of zeros (just any contour larger than the branch cut from -1 to 1). So the large black contour in the figure is certainly outside the hull of zeros so we can evaluate it by taking the residue at infinity since the integration is over a function analytic outside of some domain (the hull of zeros). But we can integrate the remaining contours in the figure over this sheet and therefore the value of the contour integrals over the internal contours would be equal to that over the black contour:

Where are the residues at the poles and I included the integrals around the branch points for completeness but these tend to zero as the contour radius around them goes to zero. But that expression is dependent on the direction of the integration (may need some negative signs in there). Also, the residues at each pole are multi-valued since this is a multi-function and therefore are dependent on which sheet the integration is being performed over. So in the case of a square root, the two residues at each pole are just the negative of one another right? So, can you convert that expression into one which contains your real integral?