A quagmire; (occasionally) marshy ground. Also more fully †quawmire.
quaking quaw = quaking bog..
Origin
Late 15th century; earliest use found in Andrew of Wyntoun (c1350–c1422), prior of St Serf's, Lochleven, and historian. Origin uncertain; perhaps ultimately imitative. Perhaps related to the first element of quallmire or quamire; compare discussion at quagmire.