From Middle English quarere, from Medieval Latin quarreria (1266), literally a “place where stones are squared”, from Old French quarrière (compare modern French carrière), from Vulgar Latin, from Latin quadrō ("I square"), itself from quadra, from quattuor, ultimately from Proto-Indo-European *kʷetwóres ("four").
From Middle English quyrrey, querre, curee, quirre, from Anglo-Norman quirreie, from Old French cuiriee ("entrails of deer placed on the hide and given to dogs of the chase as a reward") (influenced by cuir, from Latin corium ("a hide")), from coree, from Vulgar Latin corata ("entrails"), from Latin cor ("heart").