When gallops are detected, differentiation should be made between the 4th heart sound (S4), which is often present with diastolic dysfunction or myocardial ischemia, and the 3rd heart sound (S3), which is present with systolic dysfunction.