`-(lfsr & 0x1)` should be `~lfsr`, I'll swap that out later.