#include <inttypes.h>

int32_t int32_negative_mask(int32_t x)
{
  return x >> 31;
}