Magnetotransport properties of the kagome magnet TmMn6Sn6