factor the common code out of mpi_intr and mpi_complete. they were basically identical apart from the conditions they looped on.
factor the common code out of mpi_intr and mpi_complete. they were
basically identical apart from the conditions they looped on.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars