Yikes…
Looks like maybe someone was trying to fashion an early M16 style muzzle brake?

What rifle is it from?

Matt.