Postdoc in reputed university vs Assistant professor in below average university
A good boss (both personally and scientifically) is everything. Try to find out where you will get the best (direct) supervisor/professor because that is where you will most likely be both happier and more productive.