Put 4 blackberries and 2 sprigs of rosemary in a cocktail shaker; crush gently with a muddler or back of a wooden spoon. Add ice cubes, tequila, lime juice, and 4 teaspoons simple syrup. Cover and shake until very cold. Strain into an ice-filled glass. Garnish with more blackberries and remaining rosemary sprig.