Same here, MBP M1 2020, macOS 12.2 (21D49), struggling with this problem for the entire day, Mac had panicked three times (!) on the way likely due to high pressure on the file system (I was actively using the Mac). I see progress in Console:
8:23PM
ASDAppQuery.resultsDidChange 497799835: <NSProgress: 0x600003712b20> : Parent: 0x0 (portion: 0) / Fraction completed: 0.8030 / Completed: 803 of 1000
8:33PM
ASDAppQuery.resultsDidChange 497799835: <NSProgress: 0x600003712b20> : Parent: 0x0 (portion: 0) / Fraction completed: 0.8310 / Completed: 831 of 1000
So, 10 fractions in 10 minutes. Probably, better leave the Mac be until it finishes this process.