Tyson posts record earnings for quarter