Here is a davit, or a cargo hose boom. This one design of several different types of devices designed to assist in lifting heavy items. The King Post or Sampson Post or Stanchion is the vertical pipe on the right side of the picture.  The boom (spar) extends to the left, and is supported by a boom rest near the tip, and the boom socket (step) at the base of the king post.