Rewritten Regs_t struct functions