Does the word "cut" have the same definition in the next two sentences?

Everyone got a cut of the earnings.

The lawyer took a cut of the profits.
the same meaning