Bring mirin to a boil in a saucepan over high heat. Reduce heat to medium-low, and simmer for 10 minutes. Pour in soya sauce, rice vinegar, sesame oil, and sugar. Season with garlic, ginger, chilli flakes, and black pepper; simmer an additional 5 minutes. Store in a tightly sealed container in the refrigerator.