SACRAMENTO — California’s judicial branch could receive a $41 million IOU from the state next week if lawmakers don’t close a $24 billion budget deficit within days, Controller John Chiang said Wednesday.

“Next Wednesday we start a fiscal year with a massively unbalanced spending plan and a cash shortfall not seen since the Great Depression,” Chiang said in a prepared statement.