ref
Old English cōc (noun), from popular Latin cocus, from Latin coquus .
From cook + -ing. The noun and adjective follow from the verb.