Stock transfer from joint to single brokerage account cost bases

My wife has  joint  brokerage account with her mother and mother is primary account holder.

If we tranfer some stock to my wife's individual account what will be cost bases of the stock will it be FMV or actual cost note these stocks are currently in loss?