Title: Polynomial endomorphisms of the Cuntz algebras arising from permutations. III, branching laws and automata