Preoperative respiratory muscle dysfunction is a predictor of prolonged invasive mechanical ventilation in cardiorespiratory complications after heart valve surgery.