Pave Pius 6. ( 25. december 1717 ? 29. august 1799 ) var pave fra ar 1775 , hvor han blev valgt , frem til sin død i 1799 .