A 78-year-old woman is evaluated for a 2-week history of unintentional weight loss, night sweats, and neck swelling. She has more recently also had difficulty swallowing solid foods and positional shortness of breath. She does not have hoarseness, palpitations, or change in bowel habits. Prior to the development of these symptoms, she had been in her usual state of health with no illnesses. She has hypothyroidism and has been taking levothyroxine for 40 years, with a stable dose for the past 10 years.

On physical examination, temperature is 36.9 °C (98.4 °F), blood pressure is 140/88 mm Hg, pulse rate is 75/min, and respiration rate is 12/min. The thyroid is symmetrically enlarged, firm, and fixed. There is no thyroid bruit.

CT scan of the neck is shown.

Which of the following is the most likely diagnosis?