How to calculate shearing force of the bolt?

Could you teach me how to calculate shearing force of the bolt in this figure?

Your pipe joint is subjected to combined stress. Consider how the vertical force N, the horizontal force P, and the bending moment Mt affects the bolts.

Unusual pipe joint (for engineering purposes).
Before applying, try to improve a connection: perhaps using a flange-shaped connection (to avoid a shear stress in bolts from axial force N and becoming a better bending rigidity).
If necessary, check a general stability of pipe (under simultaneusly consideration of all loadings).

Best regards!