func average(x, y, lo uint64) uint64 { var ( twice = x & y once = x ^ y isolated = once & lo ) return twice + isolated>>1 }
To receive a hint, submit unfixed code.