There's a sefer called אפיקי מים where it comments on Sanhedrin 97a, on the following:
ת"ר שבוע שבן דוד בא בו שנה ראשונה מתקיים מקרא זה (עמוס ד, ז) והמטרתי על עיר אחת ועל עיר אחת לא אמטיר שניה חיצי רעב משתלחים שלישית רעב גדול ומתים אנשים ונשים וטף חסידים ואנשי מעשה ותורה משתכחת מלומדיה ברביעית שובע ואינו שובע בחמישית שובע גדול ואוכלין ושותין ושמחין ותורה חוזרת ללומדיה בששית קולות בשביעית מלחמות במוצאי שביעית בן דוד בא The Sages taught in a baraita: With regard to the seven-year period, i.e., the Sabbatical cycle, during which the Messiah, son of David, comes: During the first year, this verse will be fulfilled: “And I will cause it to rain upon one city and cause it not to rain upon another city” (Amos 4:7). During the second year of that period, arrows of famine will be shot, indicating that there will be famine only in certain places. During the third year there will be a great famine, and men, women, children, the pious, and men of action will die, and the Torah is forgotten by those who study it. During the fourth year there will be plenty but not great plenty. During the fifth year there will be great plenty and they will eat, and drink, and rejoice, and the Torah will return to those who study it. During the sixth year, heavenly voices will be heard. During the Sabbatical Year, wars, e.g., the war of Gog and Magog, will be waged involving the Jewish people. During the year after the conclusion of the Sabbatical Year, the son of David will come.
On this Gemara, the author explains (middle line of the page):
הרי שד' שנים הראשונים של הסדר ימי רעה וצרה הם ואילו ג' האחרונים ימי טובה הם וביאור הפלוגתא הוא שלדעת סבי דבי אתונא אין ד' הראשונים שייכים כלל לסדר לידת המשיח מכיון שאין בהם שום שיפור מצב העולם כל ל והרי אין המשיח בא אלא לשפר מצב העולם הקיים ולגלות כוחותיו אל הפועל בלבד וממילא כל שאין בו הטבה ושיפור בפועל ע"כ שאינם בכלל חבלי משיח אכן ריב"ח אמר להם דודאי גם ימי הרעה מצטרפים לסדר ביאתו שהרי לעומקו של דבר הנה לידת המשיח אינה אלא תולדה של ימי הצרה גופייהו כי המשיח בא מכח הרע והטוב גם יחד וזהו הקיום של אז אהפוך כמו שיתבאר לפנינו בענין י"א אשר כל מה שהיה נראה שהוא היפך כבודו ית' לאמיתו של דבר הרי הוא בכלל מהלך הפנימי והעמוק מי ימצאנה וממילא צריכים כל הסדר של ז' שנים להולידו והרי מכיון שאין שום מציאות כ"א רצונו ית' הא ע"כ שגם מהרע מתגלה רצונו
Can someone explain to me what the author means with that the first four, e.g. the first four years in the seven year cycle, do not belong to the order of Mashiach, since there is no improvement in the world. Is that what the author means with:
הרי שד' שנים הראשונים של הסדר ימי רעה וצרה הם ואילו ג' האחרונים ימי טובה הם
Is this a common explanation found in the commentaries?
Also, what does the author means with the last line of the page? It seems the author is talking about childbirth. Does this have something to do with the birthpangs of Mashiach?
Also, what does the author means with:
ושאלו כמה ימי העיבור וא"ל לשב שני כמ"ש סנהדרין ל"ז שבוע שב"ד בא בו שנה ראשונה מתקיים מקרא זה והמטרתי' כו' וזהו התחלתו וגרם של ביאתו כמו העיבור ללידה וז"ש ישעי' כ"ו הרינו חלנו' שהיה לנו כל הצרות אבל ילדנו רוח שלא בא עדיין וכו' כי בכל עת ועת מתעברת י ממשיח ואם היו ישראל כדאי כבר נולד משיח אבל בעוננו מפלת אותו כל פעם ופעם בעבור שאנו מתרפים מד"ת וכו' וידוע שרוב המפילים מפילים לה' וכמ"ש בתז"ח בירחא חמישאה יהיב ליה תוקפא כו' וז"ש שם הא כמה שביעית דהוה כן ולא אתא א"ל אביי בששית קולות בשביעית
Thank you in advance!