Regardless, at one point in the past, the last change in an allele of the genetics of the modern chicken occurred, from some creature that may have looked indistinguishable from a modern chicken, but was not. That creature, may have even laid eggs, and the allele change may have even occurred...