herdir is a word (compound noun) in Sindarin meaning ‘(male) master “hîr” + “dîr”’.
(male) master “hîr” + “dîr”