In your mixer's bowl, add the yeast mixture, butter, sugar, salt, rosemary, and 3½ cups of flour.
Mix on low using a dough hook attachment.
Slowly add more flour until the dough starts to pull away from the sides of the bowl.
Increase the speed of the mixer to knead the dough for about five minutes. The dough should no longer be sticky to the touch. If it still sticks, add a little more flour and continue to knead.
Knead for an additional 2-3 minutes.
Lightly oil a mixing bowl. Transfer the dough to the bowl, flipping to coat in oil. Cover the dough bowl with a towel and let rise until doubled in size, about 45 minutes.