A 75-year-old male with coronary artery disease (CAD) experiences occasional palpitations and chest tightness. The electrocardiogram (ECG) shows absence of P waves, replaced by f waves at an average rate of 380/min, with irregular QRS intervals. The ECG diagnosis is: