reg_get_obj
(ec = reg_get_obj(&obj, &pgt[0], &op, &op_len)) == 0 &&
int reg_get_obj(
ec = reg_get_obj(p, pgt, op, op_len);