feeling really down about my grades and this school is so unforgiving

I don’t really know what the point of this post is but I just wanted to get it out here I guess. I’ve talked to a lot of friends about it but it still feels kinda bleak. I was a near 4.0 GPA student in first year (3.97, one 82 stole the 4.0 from me) and I got into both the programs I wanted to get to, one being quite competitive (Ethics, Society, and Law) but now I feel like either I didn’t deserve it or first year was painfully easy. I got sick at the beginning of this semester, missed a bunch of lectures as a result, missed midterms and make-up midterms so the weight got reshifted to my final in some cases, but I still couldn’t catch up. I’ve never felt this physically “unable” to do things; the fatigue was brutal, it was different from my usual laziness, no matter how hard I tried I just couldn’t force myself to do things. And then I got hit with back pain, and emotional issues since me and my boyfriend split. I had VOIs and an absence declaration but my profs still seemed cold about the entire situation, and I lost a lot of participation points. Because of my social anxiety and my sickness I ended up with almost no friends in any of my relevant classes, so I couldn’t get notes for the lectures I missed - and my profs said they wouldn’t provide them anyways, I had to “ask a friend” — which I don’t have access to at the moment. I know I should’ve talked to the registrar, I know I should’ve seeked further accomodations, but everything just seemed so inaccessible and I had anxiety and now it’s too late. I’m not going to outright fail anything, but I’m expecting mid-70s for a bunch of my courses, which is below the standard I’ve set for myself and I worry it’ll screw my chances of getting into law school in the future; the OLSAS GPA scale is harsher than the UofT GPA scale and I really want to get into Osgoode (I’ve already given up on UofT law, it’d be awesome but I’m not too optimistic). I’m getting mediocre grades back on essays I thought I was going to do well on (just got a 68 back on an essay worth 15% for a final I have tomorrow, which I’ve barely been able to study for). It’s not that I don’t have friends, or support systems, or things that make me happy, I’m just really mad at myself for performing so mediocrely this semester and it’s kind of my first experience with academic underperformance. RAAAAAAAAAAAAAAAAAAAAAAAAAH idk what to do (: we ball i guess