working efi suddenly wont boot: io platform panic action applesmc

I dont understand whats going on. Ive had my mac partition working for a few weeks now. Yesterday i was using it as normal, closed the lid and when i came back my pc had rebooted into my windows partition. When i try to boot into mac partiton i bearly start loading then it restarts. I booted up my backup EFI on my USB and enabled verbos. From that i got 100 lines of io platform panic action applesmc. Does anyone know how to fix it? I can boot into recovery, i tried running first aid, but no luck.

I have a dell latitude e7440 swapped wifi card for DW 1550

Im on OC 0.7.0 and macos 11.5.2 is installed.

submitted by /u/t0mmenhansen
[link] [comments]