use new regspec_decode and fu.get_iospec functions