#include <inttypes.h>

int64_t int64_bitmod_mask(int64_t x,int64_t y)
{
  x >>= y & 63;
  return -(1 & x);
}