Adagio and Allegro in F minor for a mechanical organ, K. 594, is a composition by Wolfgang Amadeus Mozart, completed in late 1790. It was originally written as a funeral mass to be played on a mechanical organ clock for Field Marshal Gideon Baron of Laudon, but was later rededicated to Count Joseph Deym's Müllersche Kunstgalerie in Vienna.