#include <inttypes.h>

int16_t int16_bitmod_mask(int16_t x,int16_t y)
{
  x >>= y & 15;
  return -(1 & x);
}