set_state
set_state(struct helper_context * const ctx, int const new)
set_state(int and_bits, int xor_bits)