 Freerange egg farming ideally avoids much of this. Yet it still involves killing off young but spent hens and also baby roosters. It often involves painful, stressful trips to industrial slaughterhouses. So, as it is plausible that industrially and freerange farming chickens for meat makes them suffer, so too is it plausible that industrially and freerange farming them for eggs does. The same goes for killing.