Running xv6 on Apple Silicon Mac

So I was trying to run xv6 ( a popular lightweight os by MIT ) in my m1 macbook. Every tutorial on the internet was failing. So I thought…