wmasks
wmasks = &hfgwtr_masks;
wmasks = &hdfgwtr_masks;
wmasks = NULL;
wmasks = NULL;
wmasks = &hfgwtr2_masks;
wmasks = &hdfgwtr2_masks;
wmasks = NULL;
if (wmasks)
wresx = wmasks->res0 | wmasks->res1;
if ((BIT(tc.bit) & rresx) && (!wmasks || (BIT(tc.bit) & wresx)))
if (wmasks) {
wmasks->mask |= BIT(tc.bit) & ~wresx;
wmasks->nmask |= BIT(tc.bit) & ~wresx;