Republic of Reir (1364-1569)