The advice between attorney and client is governmental speech.
The advice from the attorney to the client and the advocacy by the attorney to the courts cannot be classified as governmental speech even under a generous understanding of the concept.