Might get a C in a major requirement class, how will this affect my application

I’m a Cognitive Science major and one of my major requirements is taking Discrete Math. Because of a myriad of factors, I have a good chance of receiving a C in it. With how my other classes are going I know I should get an A in all of them except for this. By the time I update grades b/c of this C my GPA will drop to a 3.78. At this point I will have finished all available pre-reqs for my major and will only need one class in the spring to finish my IGETC.

On the Infocenter data the Cognitive Science admit range at UC Berkeley for the 26-75 percentile is from 3.61 to 3.87. I think I will be decently competitive with my GPA. The fact that I will be finished with my pre-reqs this fall and have most of my IGETC completed means that even if I get a C in a major requirement class should not “destroy” my chances. That said I would greatly appreciate second opinions on how well I would fair because of this C in a major requirement class.

Thank you all so much!