Goldman Sachs Group Inc is considering selling billions of dollars in stock to investors to help repay a $10 billion loan from the federal government, people familiar with the matter told the Wall Street Journal.

The move could be announced as early as next week, although executives at the firm have not determined exactly the size of the offering, people told the Journal. It is expected to be at least several billion dollars, however.

The Journal said the decision will be based partly on market conditions.

Goldman Sachs is set to report its quarterly earnings next Tuesday.