Just wanted to give you an encouraging word, since I was in your shoes about a year ago. When I was laid off by Weatherford, I was mildly put panicking. By then I have been with the company for nearly two decades and I honestly believed I'd retire there, which means I was completely unprepared. I feared layoffs constantly, but I never really did anything about it because in the back of my mind I thought I was safe.
Well, fast forward a year later and I have a new job where I earn nearly the same I did at Weatherford, and I don't have to worry about layoffs every single day. I also have a chance of being promoted soon, something that was a pipe dream at Weatherford.
My point is that even if you are laid off and it looks really bad at that moment, you'll be okay.