TM is the abbreviation of "Trade Mark" in English, which is used for trademarks that have submitted applications but the registration results have not yet come down.
in other words, r refers to a registered trademark, while TM refers to a trademark that has been applied for but has not been audited.