/* This function computes the bit position of the lowest bit set in the 64-bit value specified by Operand. If Operand is zero, then -1 is returned. Otherwise, a value between 0 and 63 is returned. */
INTN EFIAPI LowBitSet64(IN UINT64 Operand)
/* This function computes the bit position of the lowest bit set in the 64-bit value specified by Operand. If Operand is zero, then -1 is returned. Otherwise, a value between 0 and 63 is returned. */
INTN EFIAPI LowBitSet64(IN UINT64 Operand)
{
  INTN  BitIndex;
  if (Operand == 0) {
    return -1;
  }
  for (BitIndex = 0;
       (Operand & 1) == 0;
       BitIndex++, Operand = RShiftU64 (Operand, 1))
  {
  }
  return BitIndex;
}