נדה ג:ה · Niddah 3:5

הַמַּפֶּלֶת טֻמְטוּם, וְאַנְדְּרוֹגִינוֹס, תֵּשֵׁב לְזָכָר וְלִנְקֵבָה. טֻמְטוּם וְזָכָר, אַנְדְּרוֹגִינוֹס וְזָכָר, תֵּשֵׁב לְזָכָר וְלִנְקֵבָה. טֻמְטוּם וּנְקֵבָה, אַנְדְּרוֹגִינוֹס וּנְקֵבָה, תֵּשֵׁב לִנְקֵבָה בִלְבָד. יָצָא מְחֻתָּךְ אוֹ מְסֹרָס, מִשֶּׁיָּצָא רֻבּוֹ, הֲרֵי הוּא כְיָלוּד. יָצָא כְדַרְכּוֹ, עַד שֶׁיֵּצֵא רֹב רֹאשׁוֹ. וְאֵיזֶהוּ רֹב רֹאשׁוֹ, מִשֶּׁתֵּצֵא פַדַּחְתּוֹ:
A woman who discharges or gives birth to a tumtum , whose sexual organs are obscured, or to a hermaphrodite [ ve’androginos ], who has both male and female sexual organs, shall observe the strictures of a woman who gave birth both to a male and to a female. She is impure for fourteen days like a woman who gave birth to a female, but blood that she sees thereafter is pure only until forty days after birth, like for a woman who gave birth to a male. In a case where she gave birth to twins, if they are a tumtum and a male, or a hermaphrodite and a male, she observes the strictures of a woman who gave birth both to a male and to a female. But if the twins are a tumtum and a female, or a hermaphrodite and a female, she shall observe the periods of purity and impurity established by the Torah for a woman who gives birth to a female alone. Regardless of the status of the tumtum and the hermaphrodite, the woman’s seven days of impurity and her succeeding thirty-three days of purity are subsumed in the fourteen days of impurity and sixty-six days of purity for a female. If the fetus emerged in pieces, or if it emerged reversed, i.e., feetfirst rather than headfirst, when most of its limbs emerge, its status is like that of a child born, with regard to the impurity of a woman after childbirth. If the fetus emerged in the usual manner, headfirst, it is not considered born until most of its head emerges. And what is considered most of its head? It is from when its forehead emerges.

Word-by-word Breakdown (מילים ושרשים)

הַמַּפֶּלֶת → A woman who discharges [נ - פ - ל]טֻמְטוּם → a tumtum [ט - מ - ט]וְאַנְדְּרוֹגִינוֹס → or a hermaphrodite תֵּשֵׁב → shall observe [י - ש - ב]לְזָכָר → like a male [ז - כ - ר]וְלִנְקֵבָה → and like a female [נ - ק - ב]טֻמְטוּם → a tumtum [ט - מ - ט]וְזָכָר → and a male [ז - כ - ר]אַנְדְּרוֹגִינוֹס → a hermaphrodite וְזָכָר → and a male [ז - כ - ר]תֵּשֵׁב → shall observe [י - ש - ב]לְזָכָר → like a male [ז - כ - ר]וְלִנְקֵבָה → and like a female [נ - ק - ב]טֻמְטוּם → a tumtum [ט - מ - ט]וּנְקֵבָה → and a female [נ - ק - ב]אַנְדְּרוֹגִינוֹס → a hermaphrodite וּנְקֵבָה → and a female [נ - ק - ב]תֵּשֵׁב → shall observe [י - ש - ב]לִנְקֵבָה → like a female [נ - ק - ב]בִלְבָד → alone [ב - ל - ד]יָצָא → If it emerged [י - צ - א]מְחֻתָּךְ → in pieces [ח - ת - ך]אוֹ → or מְסֹרָס → reversed [ס - ר - ס]מִשֶּׁיָּצָא → once there emerged [י - צ - א]רֻבּוֹ → most of it [ר - ב - ב]הֲרֵי → it is [ה - ר - ה]הוּא → it [ה - ו - ה]כְיָלוּד → like a born child [י - ל - ד]יָצָא → If it emerged [י - צ - א]כְדַרְכּוֹ → in its usual manner [ד - ר - כ]עַד → until [ע - ד - ד]שֶׁיֵּצֵא → there will emerge [י - צ - א]רֹב → most of [ר - ב - ב]רֹאשׁוֹ → its head [ר - א - ש]