Efficient Wait-Free Algorithms for Implementing LL/SC Objects