The California Corporations Code provides:
17704.04. (a) Any distributions made by a limited liability company before its dissolution and winding up shall be among the members in accordance with the operating agreement. If the operating agreement does not otherwise provide, distributions shall be on the basis of the value, as stated in the required records when the limited liability company decides to make the distribution, of the contributions the limited liability company has received from each member, except to the extent necessary to comply with any transfer effective under Section 17705.02 and any charging order in effect under Section 17705.03.
17707.05. (a) Except as otherwise provided in the articles of organization or the written operating agreement, after determining that all the known debts and liabilities of a limited liability company in the process of winding up, including, without limitation, debts and liabilities to members who are creditors of the limited liability company, have been paid or adequately provided for, the remaining assets shall be distributed among the members according to their respective rights and preferences as follows:
(1) To members in satisfaction of liabilities for distributions pursuant to Sections 17704.04, 17704.05, and 17704.06.
(2) To members of the limited liability company for the return of their contributions.
(3) To members in the proportions in which those members share in distributions.