/* This function swaps the bytes in a 64-bit unsigned value to switch the value from little endian to big endian or vice versa. The byte swapped value is returned. */
UINT64 EFIAPI InternalMathSwapBytes64(IN UINT64 Operand)
/* This function swaps the bytes in a 64-bit unsigned value to switch the value from little endian to big endian or vice versa. The byte swapped value is returned. */
UINT64 EFIAPI InternalMathSwapBytes64(IN UINT64 Operand)
{
  _asm {
    mov     eax, dword ptr [Operand + 4]
    mov     edx, dword ptr [Operand + 0]
    bswap   eax
    bswap   edx
  }
}