#include <inttypes.h>

int32_t int32_bitmod_mask(int32_t x,int32_t y)
{
  x >>= y & 31;
  return -(1 & x);
}