As i found in jisho dictionary here
This word "国分寺" means "state-supported provincial temple"
国 means "state or region" and i understand why it is in the word
寺 means "temple" and of course it must be part of this word
But what is the function of 分 here?