#include <inttypes.h>

uint64_t uint64_bitmod_mask(uint64_t x,uint64_t y)
{
  x >>= y & 63;
  return -(1 & x);
}