extra virgin olive oil, divided • onion, diced • mcintosh apples or other sweet variety, peeled, cored, and diced • balsamic vinegar • water • pork tenderloins, cut into medallions, about 3/4 inches thick • dried rosemary • salt and freshly ground pepper