/* Generated with C2C (Cedar To C)*/ /* Copyright (C) 1993 by Xerox Corporation. All rights reserved. */ /* time: October 19, 1993 1:32:41 pm PDT */ /* C2C version: April 20, 1993 (sun4) */ /* ref-counting: off */ /* file: TiogaImagerImpl, module: TiogaImagerImpl */ /* switches: bcfhklnouw */ #include <cedar/InstallationSupport.h> #include <cedar/CedarExtra.h> static char versionStamp[] = "@(#)mob←version [3656452601,945081506] TiogaImagerImpl"; typedef unsigned word, *ptr; typedef unsigned char byte, *bPt; typedef unsigned short half, *hPt; typedef struct {word f0, f1;} W2; typedef word (*fPt)(); typedef struct {word f0, f1, f2, f3;} W4; typedef W4 *W4Pt; typedef struct {word f0, f1, f2, f3, f4, f5, f6, f7;} W8; typedef struct {W8 f; W2 r;} W10; typedef struct {W8 f; W8 r;} W16; typedef struct {word f0, f1, f2, f3, f4, f5, f6;} W7; typedef struct {W8 f; W7 r;} W15; typedef struct {W16 f; W15 r;} W31; typedef struct {word f0, f1, f2;} W3; typedef W2 *W2Pt; typedef struct {W8 f; W4 r;} W12; typedef W12 *W12Pt; typedef struct {word f0, f1, f2, f3, f4, f5;} W6; typedef W3 *W3Pt; typedef struct {W16 f; W16 r;} W32; typedef struct {W32 f; W8 r;} W40; typedef struct {word f0, f1, f2, f3, f4;} W5; typedef W5 *W5Pt; #define SOURCE(p, l) /* source p, l */ static float fc105 = 2147483647.0; #define MAX(cast, x, y) ( ( cast x) > ( cast y) ? (x) : (y) ) static float fc123 = 0.0; #define FMIN(x, y, tx, ty) ( (tx=((float) x)) <= (ty=((float) y)) ? tx : ty ) #define SGNCK(i) ((int) (word) (i) < 0 ? XR←RaiseArithmeticFault(): i ) #define FMAX(x, y, tx, ty) ( (tx=((float) x)) >= (ty=((float) y)) ? tx : ty ) #define BCK(idx, lim) ( ((unsigned) idx) >= ((unsigned) lim) ? (XR←RaiseBoundsFault()) : (idx) ) static float fc260 = 36.0; static float fc284 = 1.0; static float fc289 = 1.5; #define IOP2(op, x, y) ( (word) ((x) op (y)) ) #define FABS(f, t) ( ((t=(f)) >= (float) 0.0) ? (t) : (- (t)) ) #define INEG(x) ( (word) ( - ((int) (word) (x)) ) ) static float fc340 = 0.1; static float fc379 = 1.0e-10; static float fc385 = -1.0; static void NoName←Q5880(); static void TiogaImagerImpl←P0(); static word FormatLine←P60(); static word InsertIDFromRope←P120(); static void Msg←P180(); static word GetStyleParam←P240(); static word NoName←Q5940(); static void FormatNodes←P300(); static void NextNode←P2856(); static word HeightOfSep←P2916(); static void InsertSep←P2976(); static word GetNodeStyle←P360(); static word GetMarkAtom←P420(); static void FormatPage←P480(); static word GetSeparator←P3660(); static word GetStylePoints←P3720(); static void myFilter←P3780(); static void markFilter←P4308(); static word CatMarks←P3840(); static word HeadersAndFooters←P3900(); static void titleFilter←P4008(); static void TiogaRender←P540(); static void Action←P4896(); static void TiogaResolve←P600(); static void TiogaDestroy←P660(); static word EmptyBox←P720(); static word BoxFromChar←P780(); static word BoxFromXChar←P840(); static void XCharRender←P900(); static word BoxFromRope←P960(); static void RopeRender←P1020(); static word CalculateExpansion←P1080(); static void Advance←P1140(); static word CopyList←P1200(); static word BoxFromList←P1260(); static word ListUnBox←P1320(); static void ListRender←P1380(); static word InBox←P1440(); static void ListResolve←P1500(); static void ListDestroy←P1560(); static word Overlay←P1620(); static void OverlayRender←P1680(); static void OverlayResolve←P1740(); static void OverlayDestroy←P1800(); static word Composite←P1860(); static word UnBox←P1920(); static word ModifyBox←P1980(); static word ModifiedComposite←P2040(); static word ModifiedUnBox←P2100(); static void ModifiedRender←P2160(); static void proc←P5484(); static void ModifiedResolve←P2220(); static void ModifiedDestroy←P2280(); static void Render←P2340(); static void Resolve←P2400(); static void FirstLocWithin←P2460(); static void Destroy←P2520(); static void Duplicate←P2580(); static void AppendList←P2640(); static void AppendBox←P2700(); static void NoName←Q6000(); static struct {unsigned f; char r[24];} string1 = {1310744, "\260\006\005\146\151\162\163\164\216\251\005\004\162\145\163\164\214\216\251\261\000\000\000"}; static struct {unsigned f; char r[4];} string2 = {131074, "\004\003\000"}; static struct {unsigned f; char r[4];} string3 = {131076, "\216\251\000"}; static struct {unsigned f; char r[4];} string4 = {65537, "\001\000\000"}; static struct {unsigned f; char r[16];} string5 = {851984, "\257\300\331\361\011\371\300\070\124\314\242\104\020\000\000"}; static struct {unsigned f; char r[16];} string6 = {851984, "\257\300\331\361\011\371\300\070\124\314\242\103\200\000\000"}; static struct {unsigned f; char r[16];} string7 = {851984, "\257\300\331\361\011\371\300\070\124\314\242\102\140\000\000"}; static struct {unsigned f; char r[16];} string8 = {851984, "\257\300\331\361\011\371\300\070\124\314\242\102\060\000\000"}; static struct {unsigned f; char r[16];} string9 = {851984, "\257\300\353\351\362\137\300\156\374\044\211\100\164\000\000"}; static struct {unsigned f; char r[24];} string10 = {1441814, "\006\011\000\001\004\001\010\001\014\001\020\001\024\001\034\001\100\124\001\100\130\001\000"}; static struct {unsigned f; char r[48];} string11 = {2883632, "\260\006\005\146\151\162\163\164\216\257\300\237\240\030\300\300\003\120\067\262\100\164\005\004\162\145\163\164\214\216\257\300\237\240\030\300\300\003\120\067\262\100\164\261\000\000\000"}; static struct {unsigned f; char r[16];} string12 = {851984, "\257\300\373\225\000\071\300\362\156\307\320\100\230\000\000"}; static struct {unsigned f; char r[4];} string13 = {196611, "\004@\177"}; static struct {unsigned f; char r[16];} string14 = {917520, "\216\257\300\363\223\326\161\300\017\164\046\072\104\350\000"}; static struct {unsigned f; char r[16];} string15 = {851984, "\257\300\363\223\326\161\300\017\164\046\072\104\304\000\000"}; static struct {unsigned f; char r[24];} string16 = {1376277, "\007\000\001\002\007\020\001\002\000\007\036\002\004\003\002\004\014\016\015\003\001\000\000"}; static struct {unsigned f; char r[16];} string17 = {851984, "\257\300\237\240\030\300\300\003\120\067\262\100\164\000\000"}; static struct {unsigned f; char r[12];} string18 = {589833, "\006\003\064\001\074\001\100\100\001\000\000"}; static struct {unsigned f; char r[16];} string19 = {851984, "\257\300\237\240\030\300\300\003\120\067\262\102\344\000\000"}; static struct {unsigned f; char r[24];} string20 = {1441816, "\260\006\005\146\151\162\163\164\214\216\251\005\004\162\145\163\164\214\214\216\251\261\000"}; static struct {unsigned f; char r[20];} string21 = {1114132, "centerRectoFooter\000\000"}; static struct {unsigned f; char r[20];} string22 = {1114132, "insideRectoFooter\000\000"}; static struct {unsigned f; char r[16];} string23 = {851984, "outsideHeader\000\000"}; static struct {unsigned f; char r[16];} string24 = {786448, "centerHeader\000\000\000"}; static struct {unsigned f; char r[16];} string25 = {786448, "insideHeader\000\000\000"}; static struct {unsigned f; char r[20];} string26 = {1179668, "outsideVersoHeader\000"}; static struct {unsigned f; char r[20];} string27 = {1114132, "insideVersoHeader\000\000"}; static struct {unsigned f; char r[20];} string28 = {1114132, "centerVersoHeader\000\000"}; static struct {unsigned f; char r[20];} string29 = {1179668, "outsideRectoHeader\000"}; static struct {unsigned f; char r[20];} string30 = {1114132, "centerRectoHeader\000\000"}; static struct {unsigned f; char r[20];} string31 = {1114132, "insideRectoHeader\000\000"}; static struct {unsigned f; char r[12];} string32 = {589836, "invisible\000\000"}; static struct {unsigned f; char r[20];} string33 = {1179668, "outsideRectoFooter\000"}; static struct {unsigned f; char r[8];} string34 = {262152, "PAGE\000\000\000"}; static struct {unsigned f; char r[12];} string35 = {589836, "DROPFOLIO\000\000"}; static struct {unsigned f; char r[20];} string36 = {1179668, "outsideVersoFooter\000"}; static struct {unsigned f; char r[20];} string37 = {1114132, "centerVersoFooter\000\000"}; static struct {unsigned f; char r[20];} string38 = {1114132, "insideVersoFooter\000\000"}; static struct {unsigned f; char r[16];} string39 = {786448, "insideFooter\000\000\000"}; static struct {unsigned f; char r[16];} string40 = {786448, "centerFooter\000\000\000"}; static struct {unsigned f; char r[16];} string41 = {851984, "outsideFooter\000\000"}; static struct {unsigned f; char r[4];} string42 = {196612, "top"}; static struct {unsigned f; char r[8];} string43 = {393224, "bottom\000"}; static struct {unsigned f; char r[8];} string44 = {262152, "foot\000\000\000"}; static struct {unsigned f; char r[16];} string45 = {983056, "CommanderHandle"}; static struct {unsigned f; char r[4];} string46 = {131076, " \000"}; static struct {unsigned f; char r[4];} string47 = {65540, "\012\000\000"}; static struct {unsigned f; char r[16];} string48 = {851984, "headSeparator\000\000"}; static struct {unsigned f; char r[12];} string49 = {720908, "TiogaImager"}; static struct {unsigned f; char r[8];} string50 = {327688, "Error\000\000"}; static struct {unsigned f; char r[20];} string51 = {1114132, "TiogaImagerImpl: \000\000"}; static struct {unsigned f; char r[24];} string52 = {1441816, "Undefined StyleParam: \000"}; static struct {unsigned f; char r[8];} string53 = {393224, "Insert\000"}; static struct {unsigned f; char r[16];} string54 = {786448, "topSeparator\000\000\000"}; static struct {unsigned f; char r[8];} string55 = {262152, "keep\000\000\000"}; static struct {unsigned f; char r[12];} string56 = {720908, "keepStretch"}; static struct {unsigned f; char r[20];} string57 = {1048596, "topIndentStretch\000\000\000"}; static struct {unsigned f; char r[20];} string58 = {1245204, "bottomIndentStretch"}; static struct {unsigned f; char r[32];} string59 = {1835040, "Unrecognized mark property \042\000\000\000"}; static struct {unsigned f; char r[4];} string60 = {65540, "\042\000\000"}; static struct {unsigned f; char r[24];} string61 = {1507352, "Obsolete mark property "}; static struct {unsigned f; char r[8];} string62 = {393224, " (Use \000"}; static struct {unsigned f; char r[4];} string63 = {65540, ")\000\000"}; static struct {unsigned f; char r[16];} string64 = {851984, " at location \000\000"}; static struct {unsigned f; char r[12];} string65 = {589836, "columnGap\000\000"}; static struct {unsigned f; char r[12];} string66 = {655372, "firstFolio\000"}; static struct {unsigned f; char r[20];} string67 = {1114132, "firstVisibleFolio\000\000"}; static struct {unsigned f; char r[16];} string68 = {851984, "lastDropFolio\000\000"}; static struct {unsigned f; char r[8];} string69 = {327688, "sided\000\000"}; static struct {unsigned f; char r[16];} string70 = {786448, "firstHeaders\000\000\000"}; static struct {unsigned f; char r[12];} string71 = {655372, "pagenumber\000"}; static struct {unsigned f; char r[8];} string72 = {458760, "default"}; static struct {unsigned f; char r[16];} string73 = {983056, "bottomSeparator"}; static struct {unsigned f; char r[8];} string74 = {262152, "Mark\000\000\000"}; static struct {unsigned f; char r[16];} string75 = {851984, "footSeparator\000\000"}; static struct {unsigned f; char r[8];} string76 = {458760, "headSep"}; static struct {unsigned f; char r[8];} string77 = {393224, "topSep\000"}; static struct {unsigned f; char r[12];} string78 = {589836, "bottomSep\000\000"}; static struct {unsigned f; char r[8];} string79 = {458760, "footSep"}; static struct {unsigned f; char r[16];} string80 = {851984, "\257\300\331\361\011\371\300\070\124\314\242\100\164\000\000"}; static struct {unsigned f; char r[40];} string81 = {2555943, "\006\015\040\001\044\001\050\001\054\001\060\001\064\001\100\100\001\100\104\001\100\110\001\100\114\001\100\120\001\100\124\001\100\244\010\000\004\073\001"}; static struct {unsigned f; char r[16];} string82 = {851984, "\257\300\055\153\222\376\300\327\164\352\142\100\150\000\000"}; static struct {unsigned f; char r[16];} string83 = {851984, "\257\300\255\053\300\023\300\142\135\315\105\100\150\000\000"}; static struct {unsigned f; char r[16];} string84 = {851984, "\257\300\074\177\166\242\300\203\113\217\044\100\150\000\000"}; static struct {unsigned f; char r[16];} string85 = {851984, "\257\300\000\172\225\152\300\104\041\252\375\100\150\000\000"}; static struct {unsigned f; char r[16];} string86 = {851984, "\257\300\046\300\267\143\300\022\215\240\122\100\150\000\000"}; static struct {unsigned f; char r[16];} string87 = {851984, "\257\300\015\277\004\146\300\034\367\146\045\100\164\000\000"}; static struct {unsigned f; char r[16];} string88 = {851984, "\257\300\240\236\274\315\300\111\163\325\023\100\150\000\000"}; static struct {unsigned f; char r[16];} string89 = {851984, "\257\300\314\116\377\204\300\167\024\373\125\100\150\000\000"}; static struct {unsigned f; char r[16];} string90 = {851984, "\257\300\121\117\377\026\300\315\013\026\004\100\150\000\000"}; static struct {unsigned f; char r[16];} string91 = {851984, "\257\300\246\205\220\035\300\344\000\142\023\100\150\000\000"}; static struct {unsigned f; char r[16];} string92 = {851984, "\257\300\363\223\326\161\300\017\164\046\072\100\150\000\000"}; static struct {unsigned f; char r[16];} string93 = {851984, "\257\300\234\060\361\073\300\103\025\207\123\100\150\000\000"}; static struct {unsigned f; char r[16];} string94 = {851984, "\257\300\167\317\044\003\300\277\140\004\026\100\150\000\000"}; static struct {unsigned f; char r[16];} string95 = {851984, "\257\300\112\027\354\153\300\363\134\063\016\100\150\000\000"}; static struct {unsigned f; char r[16];} string96 = {851984, "\257\300\375\366\273\111\300\156\046\321\053\100\150\000\000"}; static struct {unsigned f; char r[16];} string97 = {851984, "\257\300\346\312\312\137\300\332\074\046\072\100\150\000\000"}; static struct {unsigned f; char r[16];} string98 = {851984, "\257\300\353\035\365\325\300\132\075\117\337\100\150\000\000"}; static struct {unsigned f; char r[16];} string99 = {851984, "\257\300\353\351\362\137\300\156\374\044\211\100\150\000\000"}; static struct {unsigned f; char r[16];} string100 = {851984, "\257\300\261\010\310\246\300\337\340\027\051\100\150\000\000"}; static struct {unsigned f; char r[16];} string101 = {851984, "\257\300\042\224\360\026\300\243\254\175\360\100\150\000\000"}; static struct {unsigned f; char r[16];} string102 = {851984, "\257\300\243\004\305\073\300\011\303\367\103\100\150\000\000"}; static struct {unsigned f; char r[16];} string103 = {851984, "\257\300\247\031\224\326\300\123\162\224\023\100\150\000\000"}; static struct {unsigned f; char r[16];} string104 = {851984, "\257\300\237\240\030\300\300\003\120\067\262\100\150\000\000"}; static struct { word f0[4]; word f4; word f5; word f6; word f7; word f8[92]; word f100; word f101; word f102; word f103; word f104; word f105; word f106; word f107; word f108; word f109; word f110; word f111; word f112; word f113; word f114; word f115; word f116; word f117; word f118; word f119; word f120; word f121; word f122; word f123; word f124; word f125; word f126; word f127; word f128; word f129; word f130; word f131; word f132; word f133; word f134; word f135; word f136; word f137; word f138; word f139; word f140; word f141; word f142; word f143; word f144; word f145; word f146; word f147; word f148; word f149; word f150; word f151; word f152; word f153; word f154; word f155; word f156; word f157; word f158; word f159; word f160; word f161; word f162; word f163; word f164; word f165; word f166; word f167; word f168; word f169; word f170; word f171; word f172; word f173; word f174; word f175; word f176; word f177; word f178; word f179; word f180; word f181; word f182; word f183; word f184; word f185; word f186; word f187; word f188; word f189; word f190; word f191[24]; } globalframe = { {0}, (word) 2, (word) 3, (word) 5, (word) 4, {0}, (word) AppendBox←P2700, 0, (word) AppendList←P2640, 0, (word) Duplicate←P2580, 0, (word) Destroy←P2520, 0, (word) FirstLocWithin←P2460, 0, (word) Resolve←P2400, 0, (word) Render←P2340, 0, (word) ModifiedDestroy←P2280, 0, (word) ModifiedResolve←P2220, 0, (word) ModifiedRender←P2160, 0, (word) ModifiedUnBox←P2100, 0, (word) ModifiedComposite←P2040, 0, (word) ModifyBox←P1980, 0, (word) UnBox←P1920, 0, (word) Composite←P1860, 0, (word) OverlayDestroy←P1800, 0, (word) OverlayResolve←P1740, 0, (word) OverlayRender←P1680, 0, (word) Overlay←P1620, 0, (word) ListDestroy←P1560, 0, (word) ListResolve←P1500, 0, (word) InBox←P1440, 0, (word) ListRender←P1380, 0, (word) ListUnBox←P1320, 0, (word) BoxFromList←P1260, 0, (word) CopyList←P1200, 0, (word) Advance←P1140, 0, (word) CalculateExpansion←P1080, 0, (word) RopeRender←P1020, 0, (word) BoxFromRope←P960, 0, (word) XCharRender←P900, 0, (word) BoxFromXChar←P840, 0, (word) BoxFromChar←P780, 0, (word) EmptyBox←P720, 0, (word) TiogaDestroy←P660, 0, (word) TiogaResolve←P600, 0, (word) TiogaRender←P540, 0, (word) FormatPage←P480, 0, (word) GetMarkAtom←P420, 0, (word) GetNodeStyle←P360, 0, (word) FormatNodes←P300, 0, (word) GetStyleParam←P240, 0, (word) Msg←P180, 0, (word) InsertIDFromRope←P120, 0, (word) FormatLine←P60, 0, (word) TiogaImagerImpl←P0, {0} }; static void NoName←Q5880() { register ptr gf←c0666 = (ptr) &globalframe; word var←c56640; (* (( (ptr) gf←c0666)+23) ) = (word) XR←GetTypeIndex((word) &string1, 0, (word) &string2); (* (( (ptr) gf←c0666)+24) ) = (word) XR←GetTypeIndex((word) &string3, 0, (word) &string4); (* (( (ptr) gf←c0666)+25) ) = (word) XR←GetTypeIndex((word) &string5, 0, (word) &string2); (* (( (ptr) gf←c0666)+27) ) = (word) XR←GetTypeIndex((word) &string6, 0, (word) &string2); (* (( (ptr) gf←c0666)+28) ) = (word) XR←GetTypeIndex((word) &string7, 0, (word) &string2); (* (( (ptr) gf←c0666)+29) ) = (word) XR←GetTypeIndex((word) &string8, 0, (word) &string4); (* (( (ptr) gf←c0666)+30) ) = (word) XR←GetTypeIndex((word) &string9, 0, (word) &string10); (* (( (ptr) gf←c0666)+31) ) = (word) XR←GetTypeIndex((word) &string11, 0, (word) &string2); (* (( (ptr) gf←c0666)+33) ) = (word) XR←GetTypeIndex((word) &string12, 0, (word) &string13); (* (( (ptr) gf←c0666)+34) ) = (word) XR←GetTypeIndex((word) &string14, 0, (word) &string4); (* (( (ptr) gf←c0666)+35) ) = (word) XR←GetTypeIndex((word) &string15, 0, (word) &string16); (* (( (ptr) gf←c0666)+37) ) = (word) XR←GetTypeIndex((word) &string17, 0, (word) &string18); (* (( (ptr) gf←c0666)+39) ) = (word) XR←GetTypeIndexS((word) (&string19)); (* (( (ptr) gf←c0666)+40) ) = (word) XR←GetTypeIndex((word) &string20, 0, (word) &string2); (* (ptr) (( (bPt) gf←c0666)+164) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string21); (* (ptr) (( (bPt) gf←c0666)+168) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string22); (* (ptr) (( (bPt) gf←c0666)+172) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string23); (* (ptr) (( (bPt) gf←c0666)+176) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string24); (* (ptr) (( (bPt) gf←c0666)+180) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string25); (* (ptr) (( (bPt) gf←c0666)+184) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string26); (* (ptr) (( (bPt) gf←c0666)+188) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string27); (* (ptr) (( (bPt) gf←c0666)+192) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string28); (* (ptr) (( (bPt) gf←c0666)+196) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string29); (* (ptr) (( (bPt) gf←c0666)+200) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string30); (* (ptr) (( (bPt) gf←c0666)+204) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string31); (* (ptr) (( (bPt) gf←c0666)+208) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string32); (* (ptr) (( (bPt) gf←c0666)+212) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string33); (* (ptr) (( (bPt) gf←c0666)+216) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string34); (* (ptr) (( (bPt) gf←c0666)+220) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string35); (* (ptr) (( (bPt) gf←c0666)+224) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string36); (* (ptr) (( (bPt) gf←c0666)+228) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string37); (* (ptr) (( (bPt) gf←c0666)+232) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string38); (* (ptr) (( (bPt) gf←c0666)+236) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string39); (* (ptr) (( (bPt) gf←c0666)+240) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string40); (* (ptr) (( (bPt) gf←c0666)+244) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string41); (* (ptr) (( (bPt) gf←c0666)+248) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+34) ), (word) &string42); (* (ptr) (( (bPt) gf←c0666)+252) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+34) ), (word) &string43); (* (ptr) (( (bPt) gf←c0666)+256) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+34) ), (word) &string44); (* (ptr) (( (bPt) gf←c0666)+260) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string45); (* (ptr) (( (bPt) gf←c0666)+264) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+34) ), (word) &string46); (* (ptr) (( (bPt) gf←c0666)+268) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+34) ), (word) &string47); (* (ptr) (( (bPt) gf←c0666)+272) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string48); (* (ptr) (( (bPt) gf←c0666)+276) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string49); (* (ptr) (( (bPt) gf←c0666)+280) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string50); (* (ptr) (( (bPt) gf←c0666)+284) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+34) ), (word) &string51); (* (ptr) (( (bPt) gf←c0666)+288) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+34) ), (word) &string52); (* (ptr) (( (bPt) gf←c0666)+292) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string53); (* (ptr) (( (bPt) gf←c0666)+296) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string54); (* (ptr) (( (bPt) gf←c0666)+300) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string55); (* (ptr) (( (bPt) gf←c0666)+304) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string56); (* (ptr) (( (bPt) gf←c0666)+308) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string57); (* (ptr) (( (bPt) gf←c0666)+312) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string58); (* (ptr) (( (bPt) gf←c0666)+316) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+34) ), (word) &string59); (* (ptr) (( (bPt) gf←c0666)+320) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+34) ), (word) &string60); (* (ptr) (( (bPt) gf←c0666)+324) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+34) ), (word) &string61); (* (ptr) (( (bPt) gf←c0666)+328) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+34) ), (word) &string62); (* (ptr) (( (bPt) gf←c0666)+332) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+34) ), (word) &string63); (* (ptr) (( (bPt) gf←c0666)+336) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+34) ), (word) &string64); (* (ptr) (( (bPt) gf←c0666)+340) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string65); (* (ptr) (( (bPt) gf←c0666)+344) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string66); (* (ptr) (( (bPt) gf←c0666)+348) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string67); (* (ptr) (( (bPt) gf←c0666)+352) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string68); (* (ptr) (( (bPt) gf←c0666)+356) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string69); (* (ptr) (( (bPt) gf←c0666)+360) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string70); (* (ptr) (( (bPt) gf←c0666)+364) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string71); (* (ptr) (( (bPt) gf←c0666)+368) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string72); (* (ptr) (( (bPt) gf←c0666)+372) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string73); (* (ptr) (( (bPt) gf←c0666)+376) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string74); (* (ptr) (( (bPt) gf←c0666)+380) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string75); (* (ptr) (( (bPt) gf←c0666)+384) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string76); (* (ptr) (( (bPt) gf←c0666)+388) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string77); (* (ptr) (( (bPt) gf←c0666)+392) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string78); (* (ptr) (( (bPt) gf←c0666)+396) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0666)+24) ), (word) &string79); (void) XR←DeclareGlobalFrame((word) "TiogaImagerImpl", &globalframe, (word) XR←GetTypeIndex((word) &string80, 0, (word) &string81) , (word) (( (bPt) gf←c0666)+760)/* var←c48512 */ ); var←c56640 = (word) XR←ImportInterface((word) "Atom", (word) XR←GetTypeIndexS((word) (&string82)), 16); (* (( (ptr) gf←c0666)+202)/* var←c50784 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 67897859); (void) XR←ImportProcS(var←c56640, 67635202); (void) XR←ImportProcS(var←c56640, 67372289); var←c56640 = (word) XR←ImportInterface((word) "Convert", (word) XR←GetTypeIndexS((word) (&string83)), 73); (* (( (ptr) gf←c0666)+206)/* var←c52288 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 67901187); var←c56640 = (word) XR←ImportInterface((word) "Imager", (word) XR←GetTypeIndexS((word) (&string84)), 84); (* (( (ptr) gf←c0666)+209)/* var←c54336 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 526850); (void) XR←ImportProcS(var←c56640, 790018); (void) XR←ImportProcS(var←c56640, 526338); (void) XR←ImportProcS(var←c56640, 1319429); (void) XR←ImportProcS(var←c56640, 532482); (void) XR←ImportProcS(var←c56640, 530946); (void) XR←ImportProcS(var←c56640, 536066); (void) XR←ImportProcS(var←c56640, 797442); (void) XR←ImportProcS(var←c56640, 797698); (void) XR←ImportProcS(var←c56640, 790786); var←c56640 = (word) XR←ImportInterface((word) "ImagerBox", (word) XR←GetTypeIndexS((word) (&string85)), 7); (* (( (ptr) gf←c0666)+211)/* var←c54848 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 269484289); (void) XR←ImportProcS(var←c56640, 269484033); (void) XR←ImportProcS(var←c56640, 270533890); (void) XR←ImportProcS(var←c56640, 269484545); var←c56640 = (word) XR←ImportInterface((word) "ImagerFont", (word) XR←GetTypeIndexS((word) (&string86)), 26); (* (( (ptr) gf←c0666)+210)/* var←c54720 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 135533829); (void) XR←ImportProcS(var←c56640, 269752325); (void) XR←ImportProcS(var←c56640, 268963074); (void) XR←ImportProcS(var←c56640, 67635970); (void) XR←ImportProcS(var←c56640, 134744578); var←c56640 = (word) XR←ImportInterface((word) "IO", (word) XR←GetTypeIndexS((word) (&string87)), 103); (* (( (ptr) gf←c0666)+198)/* var←c50592 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 1071364); var←c56640 = (word) XR←ImportInterface((word) "Process", (word) XR←GetTypeIndexS((word) (&string88)), 22); (* (( (ptr) gf←c0666)+193)/* var←c50272 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 3584); var←c56640 = (word) XR←ImportInterface((word) "ProcessProps", (word) XR←GetTypeIndexS((word) (&string89)), 6); (* (( (ptr) gf←c0666)+197)/* var←c50528 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 67371777); var←c56640 = (word) XR←ImportInterface((word) "ImagerTransformation", (word) XR←GetTypeIndexS((word) (&string90)), 55); (* (( (ptr) gf←c0666)+213)/* var←c55936 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 135013634); (void) XR←ImportProcS(var←c56640, 135013378); (void) XR←ImportProcS(var←c56640, 269756930); (void) XR←ImportProcS(var←c56640, 67635458); var←c56640 = (word) XR←ImportInterface((word) "Real", (word) XR←GetTypeIndexS((word) (&string91)), 11); (* (( (ptr) gf←c0666)+207)/* var←c52576 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 67371521); var←c56640 = (word) XR←ImportInterface((word) "Rope", (word) XR←GetTypeIndexS((word) (&string92)), 43); (* (( (ptr) gf←c0666)+196)/* var←c50496 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 67373825); (void) XR←ImportProcS(var←c56640, 68419845); (void) XR←ImportProcS(var←c56640, 67633666); (void) XR←ImportProcS(var←c56640, 67896323); var←c56640 = (word) XR←ImportInterface((word) "NodeProps", (word) XR←GetTypeIndexS((word) (&string93)), 28); (* (( (ptr) gf←c0666)+204)/* var←c50976 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 67633410); var←c56640 = (word) XR←ImportInterface((word) "NodeStyle", (word) XR←GetTypeIndexS((word) (&string94)), 41); (* (( (ptr) gf←c0666)+195)/* var←c50400 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 67635458); (void) XR←ImportProcS(var←c56640, 67635202); var←c56640 = (word) XR←ImportInterface((word) "NodeStyleFont", (word) XR←GetTypeIndexS((word) (&string95)), 2); (* (( (ptr) gf←c0666)+208)/* var←c52768 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 68419845); var←c56640 = (word) XR←ImportInterface((word) "NodeStyleOps", (word) XR←GetTypeIndexS((word) (&string96)), 23); (* (( (ptr) gf←c0666)+200)/* var←c50656 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 1051908); (void) XR←ImportProcS(var←c56640, 262913); (void) XR←ImportProcS(var←c56640, 789251); (void) XR←ImportProcS(var←c56640, 67109376); (void) XR←ImportProcS(var←c56640, 68162308); var←c56640 = (word) XR←ImportInterface((word) "Scaled", (word) XR←GetTypeIndexS((word) (&string97)), 19); (* (( (ptr) gf←c0666)+194)/* var←c50336 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 67375105); (void) XR←ImportProcS(var←c56640, 67371777); var←c56640 = (word) XR←ImportInterface((word) "SimpleFeedback", (word) XR←GetTypeIndexS((word) (&string98)), 7); (* (( (ptr) gf←c0666)+199)/* var←c50624 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 1048580); var←c56640 = (word) XR←ImportInterface((word) "TEditFormat", (word) XR←GetTypeIndexS((word) (&string99)), 17); (* (( (ptr) gf←c0666)+192)/* var←c50240 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 263937); (void) XR←ImportProcS(var←c56640, 336069378); (void) XR←ImportProcS(var←c56640, 524802); (void) XR←ImportProcS(var←c56640, 1573126); (void) XR←ImportProcS(var←c56640, 67110400); var←c56640 = (word) XR←ImportInterface((word) "TextEdit", (word) XR←GetTypeIndexS((word) (&string100)), 39); (* (( (ptr) gf←c0666)+203)/* var←c50912 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 67371521); var←c56640 = (word) XR←ImportInterface((word) "TextNode", (word) XR←GetTypeIndexS((word) (&string101)), 34); (* (( (ptr) gf←c0666)+205)/* var←c51168 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 67373569); (void) XR←ImportProcS(var←c56640, 67372289); (void) XR←ImportProcS(var←c56640, 68162307); (void) XR←ImportProcS(var←c56640, 134481921); (void) XR←ImportProcS(var←c56640, 67374081); var←c56640 = (word) XR←ImportInterface((word) "TJaM", (word) XR←GetTypeIndexS((word) (&string102)), 101); (* (( (ptr) gf←c0666)+201)/* var←c50688 */ ) = var←c56640; var←c56640 = (word) XR←ImportInterface((word) "Vector2", (word) XR←GetTypeIndexS((word) (&string103)), 22); (* (( (ptr) gf←c0666)+212)/* var←c55200 */ ) = var←c56640; (void) XR←ImportProcS(var←c56640, 135266818); (void) XR←ImportProcS(var←c56640, 135266306); var←c56640 = (word) XR←ExportInterface((word) "TiogaImager", (word) XR←GetTypeIndexS((word) (&string104)), 19); (* (( (ptr) gf←c0666)+214)/* var←c56672 */ ) = var←c56640; (void) XR←ExportProcS(var←c56640, (word) (( (bPt) gf←c0666)+752)/* var←c48480 */ , 68157443, (word) "FormatLine"); (void) XR←ExportProcS(var←c56640, (word) (( (bPt) gf←c0666)+720)/* var←c48352 */ , 203161861, (word) "FormatNodes"); (void) XR←ExportProcS(var←c56640, (word) (( (bPt) gf←c0666)+696)/* var←c48256 */ , 337117701, (word) "FormatPage"); (void) XR←ExportProcS(var←c56640, (word) (( (bPt) gf←c0666)+664)/* var←c48128 */ , 68682499, (word) "EmptyBox"); (void) XR←ExportProcS(var←c56640, (word) (( (bPt) gf←c0666)+656)/* var←c48096 */ , 67634178, (word) "BoxFromChar"); (void) XR←ExportProcS(var←c56640, (word) (( (bPt) gf←c0666)+648)/* var←c48064 */ , 67634434, (word) "BoxFromXChar"); (void) XR←ExportProcS(var←c56640, (word) (( (bPt) gf←c0666)+632)/* var←c48000 */ , 67634690, (word) "BoxFromRope"); (void) XR←ExportProcS(var←c56640, (word) (( (bPt) gf←c0666)+592)/* var←c47840 */ , 68421379, (word) "BoxFromList"); (void) XR←ExportProcS(var←c56640, (word) (( (bPt) gf←c0666)+544)/* var←c47648 */ , 68159491, (word) "Overlay"); (void) XR←ExportProcS(var←c56640, (word) (( (bPt) gf←c0666)+512)/* var←c47520 */ , 67373313, (word) "Composite"); (void) XR←ExportProcS(var←c56640, (word) (( (bPt) gf←c0666)+504)/* var←c47488 */ , 67373569, (word) "UnBox"); (void) XR←ExportProcS(var←c56640, (word) (( (bPt) gf←c0666)+496)/* var←c47456 */ , 67635970, (word) "ModifyBox"); (void) XR←ExportProcS(var←c56640, (word) (( (bPt) gf←c0666)+448)/* var←c47264 */ , 1051651, (word) "Render"); (void) XR←ExportProcS(var←c56640, (word) (( (bPt) gf←c0666)+440)/* var←c47232 */ , 135007490, (word) "Resolve"); (void) XR←ExportProcS(var←c56640, (word) (( (bPt) gf←c0666)+432)/* var←c47200 */ , 134483457, (word) "FirstLocWithin"); (void) XR←ExportProcS(var←c56640, (word) (( (bPt) gf←c0666)+424)/* var←c47168 */ , 265985, (word) "Destroy"); (void) XR←ExportProcS(var←c56640, (word) (( (bPt) gf←c0666)+416)/* var←c47136 */ , 266241, (word) "Duplicate"); (void) XR←ExportProcS(var←c56640, (word) (( (bPt) gf←c0666)+408)/* var←c47104 */ , 135008514, (word) "AppendList"); (void) XR←ExportProcS(var←c56640, (word) (( (bPt) gf←c0666)+400)/* var←c47072 */ , 135008770, (word) "AppendBox"); } static void TiogaImagerImpl←P0(formal←c0134, formal←c093) word formal←c0134; word formal←c093; { register ptr gf←c56704 = (ptr) &globalframe; /* TiogaImagerImpl: */ SOURCE(1440, 30323) SOURCE(4287, 67) /* moved to installation proc */ /* moved to installation proc */ /* moved to installation proc */ /* moved to installation proc */ SOURCE(10008, 12) { word var←c48544; word var←c48576; var←c48544 = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = var←c48544; (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+52) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+51) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+50) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+49) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+48) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+47) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+46) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+45) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+44) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+43) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+42) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+41) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+53) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+56) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+57) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+58) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+59) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+60) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+61) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+68) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+74) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+93) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+95) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+96) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+97) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+98) ); (* (( (ptr) var←c48576)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48576 = (* (( (ptr) var←c48576)+1) ); (* (ptr) var←c48576 ) = (* (( (ptr) gf←c56704)+99) ); (* (( (ptr) gf←c56704)+8)/* validMarks←v4428 */ ) = var←c48544; }; SOURCE(11357, 15) { word var←c48608; word var←c48640; var←c48608 = XR←NewObject(8, (* (( (ptr) gf←c56704)+40) )); var←c48640 = var←c48608; { word var←c48704; word var←c48736; var←c48704 = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48736 = var←c48704; (* (ptr) var←c48736 ) = (* (( (ptr) gf←c56704)+46) ); (* (( (ptr) var←c48736)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48736 = (* (( (ptr) var←c48736)+1) ); (* (ptr) var←c48736 ) = (* (( (ptr) gf←c56704)+43) ); (* (( (ptr) var←c48736)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48736 = (* (( (ptr) var←c48736)+1) ); (* (ptr) var←c48736 ) = (* (( (ptr) gf←c56704)+54) ); (* (ptr) var←c48640 ) = var←c48704; }; (* (( (ptr) var←c48640)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+40) )); var←c48640 = (* (( (ptr) var←c48640)+1) ); { word var←c48800; word var←c48832; var←c48800 = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48832 = var←c48800; (* (ptr) var←c48832 ) = (* (( (ptr) gf←c56704)+48) ); (* (( (ptr) var←c48832)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48832 = (* (( (ptr) var←c48832)+1) ); (* (ptr) var←c48832 ) = (* (( (ptr) gf←c56704)+44) ); (* (ptr) var←c48640 ) = var←c48800; }; (* (( (ptr) var←c48640)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+40) )); var←c48640 = (* (( (ptr) var←c48640)+1) ); { word var←c48896; word var←c48928; var←c48896 = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48928 = var←c48896; (* (ptr) var←c48928 ) = (* (( (ptr) gf←c56704)+47) ); (* (( (ptr) var←c48928)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c48928 = (* (( (ptr) var←c48928)+1) ); (* (ptr) var←c48928 ) = (* (( (ptr) gf←c56704)+45) ); (* (ptr) var←c48640 ) = var←c48896; }; (* (( (ptr) gf←c56704)+9)/* topVersoItems←v4484 */ ) = var←c48608; }; SOURCE(11536, 15) { word var←c48960; word var←c48992; var←c48960 = XR←NewObject(8, (* (( (ptr) gf←c56704)+40) )); var←c48992 = var←c48960; { word var←c49056; word var←c49088; var←c49056 = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49088 = var←c49056; (* (ptr) var←c49088 ) = (* (( (ptr) gf←c56704)+54) ); (* (( (ptr) var←c49088)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49088 = (* (( (ptr) var←c49088)+1) ); (* (ptr) var←c49088 ) = (* (( (ptr) gf←c56704)+56) ); (* (( (ptr) var←c49088)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49088 = (* (( (ptr) var←c49088)+1) ); (* (ptr) var←c49088 ) = (* (( (ptr) gf←c56704)+61) ); (* (ptr) var←c48992 ) = var←c49056; }; (* (( (ptr) var←c48992)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+40) )); var←c48992 = (* (( (ptr) var←c48992)+1) ); { word var←c49152; word var←c49184; var←c49152 = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49184 = var←c49152; (* (ptr) var←c49184 ) = (* (( (ptr) gf←c56704)+55) ); (* (( (ptr) var←c49184)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49184 = (* (( (ptr) var←c49184)+1) ); (* (ptr) var←c49184 ) = (* (( (ptr) gf←c56704)+57) ); (* (( (ptr) var←c49184)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49184 = (* (( (ptr) var←c49184)+1) ); (* (ptr) var←c49184 ) = (* (( (ptr) gf←c56704)+60) ); (* (ptr) var←c48992 ) = var←c49152; }; (* (( (ptr) var←c48992)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+40) )); var←c48992 = (* (( (ptr) var←c48992)+1) ); { word var←c49248; word var←c49280; var←c49248 = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49280 = var←c49248; (* (ptr) var←c49280 ) = (* (( (ptr) gf←c56704)+58) ); (* (( (ptr) var←c49280)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49280 = (* (( (ptr) var←c49280)+1) ); (* (ptr) var←c49280 ) = (* (( (ptr) gf←c56704)+59) ); (* (ptr) var←c48992 ) = var←c49248; }; (* (( (ptr) gf←c56704)+10)/* botVersoItems←v4512 */ ) = var←c48960; }; SOURCE(11727, 15) { word var←c49312; word var←c49344; var←c49312 = XR←NewObject(8, (* (( (ptr) gf←c56704)+40) )); var←c49344 = var←c49312; { word var←c49408; word var←c49440; var←c49408 = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49440 = var←c49408; (* (ptr) var←c49440 ) = (* (( (ptr) gf←c56704)+51) ); (* (( (ptr) var←c49440)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49440 = (* (( (ptr) var←c49440)+1) ); (* (ptr) var←c49440 ) = (* (( (ptr) gf←c56704)+45) ); (* (ptr) var←c49344 ) = var←c49408; }; (* (( (ptr) var←c49344)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+40) )); var←c49344 = (* (( (ptr) var←c49344)+1) ); { word var←c49504; word var←c49536; var←c49504 = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49536 = var←c49504; (* (ptr) var←c49536 ) = (* (( (ptr) gf←c56704)+50) ); (* (( (ptr) var←c49536)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49536 = (* (( (ptr) var←c49536)+1) ); (* (ptr) var←c49536 ) = (* (( (ptr) gf←c56704)+44) ); (* (ptr) var←c49344 ) = var←c49504; }; (* (( (ptr) var←c49344)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+40) )); var←c49344 = (* (( (ptr) var←c49344)+1) ); { word var←c49600; word var←c49632; var←c49600 = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49632 = var←c49600; (* (ptr) var←c49632 ) = (* (( (ptr) gf←c56704)+49) ); (* (( (ptr) var←c49632)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49632 = (* (( (ptr) var←c49632)+1) ); (* (ptr) var←c49632 ) = (* (( (ptr) gf←c56704)+43) ); (* (( (ptr) var←c49632)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49632 = (* (( (ptr) var←c49632)+1) ); (* (ptr) var←c49632 ) = (* (( (ptr) gf←c56704)+54) ); (* (ptr) var←c49344 ) = var←c49600; }; (* (( (ptr) gf←c56704)+11)/* topRectoItems←v4540 */ ) = var←c49312; }; SOURCE(11906, 15) { word var←c49664; word var←c49696; var←c49664 = XR←NewObject(8, (* (( (ptr) gf←c56704)+40) )); var←c49696 = var←c49664; { word var←c49760; word var←c49792; var←c49760 = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49792 = var←c49760; (* (ptr) var←c49792 ) = (* (( (ptr) gf←c56704)+42) ); (* (( (ptr) var←c49792)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49792 = (* (( (ptr) var←c49792)+1) ); (* (ptr) var←c49792 ) = (* (( (ptr) gf←c56704)+59) ); (* (ptr) var←c49696 ) = var←c49760; }; (* (( (ptr) var←c49696)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+40) )); var←c49696 = (* (( (ptr) var←c49696)+1) ); { word var←c49856; word var←c49888; var←c49856 = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49888 = var←c49856; (* (ptr) var←c49888 ) = (* (( (ptr) gf←c56704)+55) ); (* (( (ptr) var←c49888)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49888 = (* (( (ptr) var←c49888)+1) ); (* (ptr) var←c49888 ) = (* (( (ptr) gf←c56704)+41) ); (* (( (ptr) var←c49888)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49888 = (* (( (ptr) var←c49888)+1) ); (* (ptr) var←c49888 ) = (* (( (ptr) gf←c56704)+60) ); (* (ptr) var←c49696 ) = var←c49856; }; (* (( (ptr) var←c49696)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+40) )); var←c49696 = (* (( (ptr) var←c49696)+1) ); { word var←c49952; word var←c49984; var←c49952 = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49984 = var←c49952; (* (ptr) var←c49984 ) = (* (( (ptr) gf←c56704)+54) ); (* (( (ptr) var←c49984)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49984 = (* (( (ptr) var←c49984)+1) ); (* (ptr) var←c49984 ) = (* (( (ptr) gf←c56704)+53) ); (* (( (ptr) var←c49984)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c56704)+23) )); var←c49984 = (* (( (ptr) var←c49984)+1) ); (* (ptr) var←c49984 ) = (* (( (ptr) gf←c56704)+61) ); (* (ptr) var←c49696 ) = var←c49952; }; (* (( (ptr) gf←c56704)+12)/* botRectoItems←v4568 */ ) = var←c49664; }; SOURCE(19764, 133) { word var←c50016; var←c50016 = XR←NewObject(24, (* (( (ptr) gf←c56704)+39) )); (* (( (ptr) var←c50016)+2) ) = (word) (( (bPt) gf←c56704)+688)/* var←c48224 */ ; (* (( (ptr) var←c50016)+3) ) = (word) (( (bPt) gf←c56704)+680)/* var←c48192 */ ; (* (( (ptr) var←c50016)+5) ) = (word) (( (bPt) gf←c56704)+672)/* var←c48160 */ ; (* (( (ptr) gf←c56704)+13)/* tiogaClass←v4624 */ ) = var←c50016; }; SOURCE(19900, 23) (* (( (ptr) gf←c56704)+14)/* useCorrect←v4652 */ ) = 1; SOURCE(20789, 33) (* (( (ptr) gf←c56704)+15)/* realInteger←v4708 */ ) = (* (ptr) &fc105 ); SOURCE(21525, 91) (* (( (ptr) gf←c56704)+16)/* emptyClass←v4820 */ ) = XR←NewObject(24, (* (( (ptr) gf←c56704)+39) )); SOURCE(22222, 99) { word var←c50080; var←c50080 = XR←NewObject(24, (* (( (ptr) gf←c56704)+39) )); (* (( (ptr) var←c50080)+2) ) = (word) (( (bPt) gf←c56704)+640)/* var←c48032 */ ; (* (( (ptr) gf←c56704)+17)/* xCharClass←v4932 */ ) = var←c50080; }; SOURCE(22973, 113) { word var←c50112; var←c50112 = XR←NewObject(24, (* (( (ptr) gf←c56704)+39) )); (* (( (ptr) var←c50112)+2) ) = (word) (( (bPt) gf←c56704)+624)/* var←c47968 */ ; (* (( (ptr) gf←c56704)+18)/* ropeClass←v5044 */ ) = var←c50112; }; SOURCE(25452, 138) { word var←c50144; var←c50144 = XR←NewObject(24, (* (( (ptr) gf←c56704)+39) )); (* (( (ptr) var←c50144)+1) ) = (word) (( (bPt) gf←c56704)+584)/* var←c47808 */ ; (* (( (ptr) var←c50144)+2) ) = (word) (( (bPt) gf←c56704)+576)/* var←c47776 */ ; (* (( (ptr) var←c50144)+3) ) = (word) (( (bPt) gf←c56704)+560)/* var←c47712 */ ; (* (( (ptr) var←c50144)+5) ) = (word) (( (bPt) gf←c56704)+552)/* var←c47680 */ ; (* (( (ptr) gf←c56704)+19)/* listBoxClass←v5212 */ ) = var←c50144; }; SOURCE(27116, 144) { word var←c50176; var←c50176 = XR←NewObject(24, (* (( (ptr) gf←c56704)+39) )); (* (( (ptr) var←c50176)+2) ) = (word) (( (bPt) gf←c56704)+536)/* var←c47616 */ ; (* (( (ptr) var←c50176)+3) ) = (word) (( (bPt) gf←c56704)+528)/* var←c47584 */ ; (* (( (ptr) var←c50176)+5) ) = (word) (( (bPt) gf←c56704)+520)/* var←c47552 */ ; (* (( (ptr) gf←c56704)+20)/* overlayBoxClass←v5408 */ ) = var←c50176; }; SOURCE(29095, 172) { word var←c50208; var←c50208 = XR←NewObject(24, (* (( (ptr) gf←c56704)+39) )); (* (ptr) var←c50208 ) = (word) (( (bPt) gf←c56704)+488)/* var←c47424 */ ; (* (( (ptr) var←c50208)+1) ) = (word) (( (bPt) gf←c56704)+480)/* var←c47392 */ ; (* (( (ptr) var←c50208)+2) ) = (word) (( (bPt) gf←c56704)+472)/* var←c47360 */ ; (* (( (ptr) var←c50208)+3) ) = (word) (( (bPt) gf←c56704)+464)/* var←c47328 */ ; (* (( (ptr) var←c50208)+5) ) = (word) (( (bPt) gf←c56704)+456)/* var←c47296 */ ; (* (( (ptr) gf←c56704)+21)/* modifiedBoxClass←v5688 */ ) = var←c50208; }; SOURCE(30924, 22) (* (( (ptr) gf←c56704)+22)/* doDestroy←v5940 */ ) = 1; } static word FormatLine←P60(start←v6236, lineWidth←v6264, style←v6292) W2 start←v6236; word lineWidth←v6264; word style←v6292; { register ptr gf←c56736 = (ptr) &globalframe; word box←v6336; word lineInfo←v13432; W4 bounds←v13460; word xOffset←v13488; /* FormatLine: */ SOURCE(2416, 1840) SOURCE(2416, 1840) box←v6336 = 0; SOURCE(2529, 55) { word pd106; pd106 = (* (( (ptr) (* (( (ptr) gf←c56736)+192)/* var←c50240 */ ))+10) ); lineInfo←v13432 = (word) ( *( (fPt) ((* (ptr) pd106 ))))(pd106); }; SOURCE(2621, 23) { word pd107; pd107 = (* (( (ptr) (* (( (ptr) gf←c56736)+193)/* var←c50272 */ ))+18) ); (void) ( *( (fPt) ((* (ptr) pd107 ))))(pd107); }; SOURCE(2646, 1610) { word var←c50304; { word pd108; pd108 = (* (( (ptr) (* (( (ptr) gf←c56736)+194)/* var←c50336 */ ))+7) ); var←c50304 = (word) ( *( (fPt) ((* (ptr) pd108 ))))(lineWidth←v6264, pd108); }; { word pd109; word x110; pd109 = (* (( (ptr) (* (( (ptr) gf←c56736)+192)/* var←c50240 */ ))+5) ); (void) ( *( (fPt) ((* (ptr) pd109 ))))(lineInfo←v13432, start←v6236.f0, (x110 = start←v6236.f1, MAX((int)(word), x110, 0)), style←v6292, var←c50304, 1, pd109); }; }; SOURCE(2820, 23) { word pd111; pd111 = (* (( (ptr) (* (( (ptr) gf←c56736)+193)/* var←c50272 */ ))+18) ); (void) ( *( (fPt) ((* (ptr) pd111 ))))(pd111); }; SOURCE(2845, 1411) { float tf112; bounds←v13460.f0 = ( tf112 = (float)(int)(* (( (ptr) lineInfo←v13432)+10) ), *(word*)&tf112 ); }; { float tf113; bounds←v13460.f1 = ( tf113 = (float)(int)(* (( (ptr) lineInfo←v13432)+11) ), *(word*)&tf113 ); }; { float tf114; bounds←v13460.f2 = ( tf114 = (float)(int)(* (( (ptr) lineInfo←v13432)+12) ), *(word*)&tf114 ); }; { float tf115; bounds←v13460.f3 = ( tf115 = (float)(int)(* (( (ptr) lineInfo←v13432)+13) ), *(word*)&tf115 ); }; SOURCE(2940, 1316) { word pd116; pd116 = (* (( (ptr) (* (( (ptr) gf←c56736)+194)/* var←c50336 */ ))+20) ); xOffset←v13488 = (word) ( *( (fPt) ((* (ptr) pd116 ))))((* ((( (ptr) lineInfo←v13432)+9)) ), pd116); }; SOURCE(2982, 35) { word x117; word x118; *(float*)&bounds←v13460.f0 = ( x117 = bounds←v13460.f0, *(float*)&x117 ) + ( x118 = xOffset←v13488, *(float*)&x118 ); }; SOURCE(3019, 35) { word x119; word x120; *(float*)&bounds←v13460.f2 = ( x119 = bounds←v13460.f2, *(float*)&x119 ) + ( x120 = xOffset←v13488, *(float*)&x120 ); }; SOURCE(3056, 1200) { word var←c50368; word var←c50432; { word pd121; word x122; pd121 = (* (( (ptr) (* (( (ptr) gf←c56736)+195)/* var←c50400 */ ))+12) ); *(float*)&var←c50368 = - ( x122 = (word) ( *( (fPt) ((* (ptr) pd121 ))))(style←v6292, 22, pd121), *(float*)&x122 ); }; var←c50432 = XR←NewObject(68, (* (( (ptr) gf←c56736)+37) )); (* (ptr) var←c50432 ) = (* (( (ptr) lineInfo←v13432)+14) ); (* (W4Pt) (( (ptr) var←c50432)+1) ) = bounds←v13460; (* (( (ptr) var←c50432)+5) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c50432)+6) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c50432)+7) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c50432)+8) ) = var←c50368; (* (( (ptr) var←c50432)+9) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c50432)+10) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c50432)+11) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c50432)+12) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c50432)+13) ) = (* (( (ptr) gf←c56736)+13)/* tiogaClass←v4624 */ ); (* (( (ptr) var←c50432)+15) ) = lineInfo←v13432; box←v6336 = var←c50432; }; SOURCE(2416, 1840) return(box←v6336); } static word InsertIDFromRope←P120(rope←v6396) word rope←v6396; { register ptr gf←c56768 = (ptr) &globalframe; word var←c6440; /* InsertIDFromRope: */ SOURCE(3265, 266) SOURCE(3324, 207) { word pd125; word pd126; word pd127; word pd128; pd125 = (* (( (ptr) (* (( (ptr) gf←c56768)+196)/* var←c50496 */ ))+8) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd125 ))))(rope←v6396, (* (( (ptr) gf←c56768)+62) ), 0, pd125))) { return(2); }; pd126 = (* (( (ptr) (* (( (ptr) gf←c56768)+196)/* var←c50496 */ ))+8) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd126 ))))(rope←v6396, 0, 0, pd126))) { return(3); }; pd127 = (* (( (ptr) (* (( (ptr) gf←c56768)+196)/* var←c50496 */ ))+8) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd127 ))))(rope←v6396, (* (( (ptr) gf←c56768)+63) ), 0, pd127))) { return(4); }; pd128 = (* (( (ptr) (* (( (ptr) gf←c56768)+196)/* var←c50496 */ ))+8) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd128 ))))(rope←v6396, (* (( (ptr) gf←c56768)+64) ), 0, pd128))) { return(5); }; return(0); }; } static void Msg←P180(rope←v6500) word rope←v6500; { register ptr gf←c56800 = (ptr) &globalframe; /* Msg: */ SOURCE(3535, 721) SOURCE(3562, 694) { word var←c50560; { word pd129; pd129 = (* (( (ptr) (* (( (ptr) gf←c56800)+197)/* var←c50528 */ ))+7) ); var←c50560 = (word) ( *( (fPt) ((* (ptr) pd129 ))))((* ((( (ptr) gf←c56800)+65)) ), pd129); }; if ((var←c50560 == 0)) { goto lab←L100000; }; if (((* (( (ptr) gf←c56800)+33) ) == XR←GetReferentType(var←c50560))) { { word cmd←v13532; cmd←v13532 = var←c50560; SOURCE(3643, 121) { word msgStream←v13576; SOURCE(3645, 30) msgStream←v13576 = (* (( (ptr) cmd←v13532)+2) ); SOURCE(3677, 27) { word pd130; pd130 = (* (( (ptr) (* (( (ptr) gf←c56800)+198)/* var←c50592 */ ))+93) ); (void) ( *( (fPt) ((* (ptr) pd130 ))))(msgStream←v13576, (* (( (ptr) gf←c56800)+66) ), 0, 2147483647, pd130); }; SOURCE(3706, 27) { word pd131; pd131 = (* (( (ptr) (* (( (ptr) gf←c56800)+198)/* var←c50592 */ ))+93) ); (void) ( *( (fPt) ((* (ptr) pd131 ))))(msgStream←v13576, rope←v6500, 0, 2147483647, pd131); }; SOURCE(3735, 27) { word pd132; pd132 = (* (( (ptr) (* (( (ptr) gf←c56800)+198)/* var←c50592 */ ))+93) ); (void) ( *( (fPt) ((* (ptr) pd132 ))))(msgStream←v13576, (* (( (ptr) gf←c56800)+67) ), 0, 2147483647, pd132); }; }; }; } else { lab←L100000: ; SOURCE(3780, 71) { word pd133; pd133 = (* (( (ptr) (* (( (ptr) gf←c56800)+199)/* var←c50624 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd133 ))))((* (( (ptr) gf←c56800)+69) ), 1, (* (( (ptr) gf←c56800)+70) ), (* (( (ptr) gf←c56800)+71) ), pd133); }; SOURCE(3853, 54) { word pd134; pd134 = (* (( (ptr) (* (( (ptr) gf←c56800)+199)/* var←c50624 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd134 ))))((* (( (ptr) gf←c56800)+69) ), 3, (* (( (ptr) gf←c56800)+70) ), rope←v6500, pd134) ; }; }; }; } static word GetStyleParam←P240(formal←c0738, formal←c0739, default←v6616, formal←c0740) word formal←c0738; word formal←c0739; word default←v6616; word formal←c0740; { W10 var←c56832; /* declaration of style←v6560 skipped */ /* declaration of param←v6588 skipped */ /* declaration of kind←v6644 skipped */ register ptr gf←c56864 = (ptr) &globalframe; word var←c6688; word val←v13620; (* (( (ptr) &var←c56832)+4)/* style←v6560 */ ) = formal←c0738; (* (( (ptr) &var←c56832)+5)/* param←v6588 */ ) = formal←c0739; (* (( (ptr) &var←c56832)+6)/* kind←v6644 */ ) = formal←c0740; /* GetStyleParam: */ SOURCE(3916, 367) SOURCE(4033, 19) val←v13620 = default←v6616; SOURCE(4054, 202) SOURCE(4054, 202) { /* declaration of var←c01 skipped */ /* declaration of var←c02 skipped */ (* (( (ptr) &var←c56832)+7)/* var←c01 */ ) = (* (( (ptr) (* (( (ptr) &var←c56832)+4)/* style←v6560 */ ))+5) ); (* (( (ptr) &var←c56832)+8)/* var←c02 */ ) = (* (( (ptr) (* (( (ptr) gf←c56864)+200)/* var←c50656 */ ))+23) ); { /* declaration of var←c03 skipped */ { word var←c04; { word var←c0725; var←c0725 = (word) &var←c56832; var←c04 = (word) XR←Enable(( ((word) (fPt) NoName←Q5940) ), ( ((word) (fPt) NoName←Q6000) ), var←c0725); }; if ((var←c04 == 2)) { goto lab←L100002; }; }; val←v13620 = (* (( (ptr) &var←c56832)+9)/* var←c03 */ ); }; }; lab←L100002: ; SOURCE(4270, 13) return(val←v13620); } static word NoName←Q5940(formal←c0672) word formal←c0672; { SOURCE(4054, 202) { word pd135; pd135 = (* (( (ptr) formal←c0672)+8) ); (* (( (ptr) formal←c0672)+9) ) = (word) ( *( (fPt) ((* (ptr) pd135 ))))((* (( (ptr) formal←c0672)+4) ), (* (( (ptr) formal←c0672)+5) ), (* (( (ptr) formal←c0672)+7) ), (* (( (ptr) formal←c0672)+6) ), pd135); }; return(0); } static void FormatNodes←P300(formal←c0225, start←v6784, bounds←v6812, formal←c0741, filter←v6868, formal←c0742) word formal←c0225; W2 start←v6784; W2 bounds←v6812; word formal←c0741; word filter←v6868; word formal←c0742; { W31 var←c56896; /* declaration of styleKind←v6840 skipped */ /* declaration of sep←v6896 skipped */ register ptr gf←c56928 = (ptr) &globalframe; W3 var←c6940; /* declaration of var←c50816 skipped */ /* declaration of var←c50848 skipped */ /* declaration of var←c50880 skipped */ /* declaration of loc←v13664 skipped */ /* declaration of nodeSize←v13692 skipped */ /* declaration of nodeStyle←v13720 skipped */ /* declaration of insertID←v13748 skipped */ /* declaration of boxes←v13804 skipped */ W6 lastNode←v13832; W2 result←v13860; /* declaration of h←v13888 skipped */ /* declaration of level←v13916 skipped */ word stopper←v13944 = 10000; word firstTime←v13972 = 1; word kind←v14056; word keepStretch←v14084; word box←v14112 = 0; word boxToStretch←v14140 = 0; word maxVerticalExpansion←v14168; (* (( (ptr) &var←c56896)+4)/* styleKind←v6840 */ ) = formal←c0741; (* (( (ptr) &var←c56896)+5)/* sep←v6896 */ ) = formal←c0742; /* FormatNodes: */ SOURCE(4357, 5454) { word tmpAddr136; tmpAddr136 = (word) (( (ptr) &var←c56896)+6)/* var←c50816 */ ; (* (ptr) tmpAddr136 ) = ( ((word) (fPt) InsertSep←P2976) ); (* (( (ptr) tmpAddr136) + 1) ) = 1; }; { word tmpAddr137; tmpAddr137 = (word) (( (ptr) &var←c56896)+8)/* var←c50848 */ ; (* (ptr) tmpAddr137 ) = ( ((word) (fPt) HeightOfSep←P2916) ); (* (( (ptr) tmpAddr137) + 1) ) = 1; }; { word tmpAddr138; tmpAddr138 = (word) (( (ptr) &var←c56896)+10)/* var←c50880 */ ; (* (ptr) tmpAddr138 ) = ( ((word) (fPt) NextNode←P2856) ); (* (( (ptr) tmpAddr138) + 1) ) = 1; }; SOURCE(4529, 30) (* (W2Pt) (( (ptr) &var←c56896)+12)/* loc←v13664 */ ) = start←v6784; SOURCE(4561, 39) { word pd139; pd139 = (* (( (ptr) (* (( (ptr) gf←c56928)+203)/* var←c50912 */ ))+6) ); (* (( (ptr) &var←c56896)+14)/* nodeSize←v13692 */ ) = (word) ( *( (fPt) ((* (ptr) pd139 ))))((* ((( (ptr) &var←c56896)+12) ) ), pd139); }; SOURCE(4602, 47) { word pd140; pd140 = (* (( (ptr) (* (( (ptr) gf←c56928)+200)/* var←c50656 */ ))+6) ); (* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ) = (word) ( *( (fPt) ((* (ptr) pd140 ))))(pd140); }; SOURCE(4651, 83) { word var←c50944; { word var←c51008; { word pd141; pd141 = (* (( (ptr) (* (( (ptr) gf←c56928)+204)/* var←c50976 */ ))+5) ); var←c51008 = XR←Narrow((word) ( *( (fPt) ((* (ptr) pd141 ))))((* (( (ptr) &var←c56896)+12) ), (* (( (ptr) gf←c56928)+73) ), pd141), (* (( (ptr) gf←c56928)+35) )); }; if ((var←c51008 == 0)) { goto lab←L100006; }; if (( (unsigned) (*(int*)var←c51008<0) == 0)) { goto lab←L100006; }; (void) XR←RaiseError(XR←NarrowFault, 0); lab←L100006: ; var←c50944 = var←c51008; }; (* (( (ptr) &var←c56896)+16)/* insertID←v13748 */ ) = (word) InsertIDFromRope←P120(var←c50944); }; SOURCE(5096, 48) { W2 var←c51072; var←c51072.f0 = 0; var←c51072.f1 = 0; XR←FillLongWords(&(* (W12Pt) ((( (ptr) &var←c56896)+17)/* boxes←v13804 */ )), &var←c51072, 2, 6); }; SOURCE(5146, 51) XR←FillWords(&lastNode←v13832, 6, 0); SOURCE(5199, 26) result←v13860.f0 = 0; result←v13860.f1 = 0; SOURCE(5227, 13) (* (( (ptr) &var←c56896)+29)/* h←v13888 */ ) = (* (ptr) &fc123 ); SOURCE(5242, 37) { word pd142; pd142 = (* (( (ptr) (* (( (ptr) gf←c56928)+205)/* var←c51168 */ ))+16) ); (* (( (ptr) &var←c56896)+30)/* level←v13916 */ ) = (word) ( *( (fPt) ((* (ptr) pd142 ))))((* ((( (ptr) &var←c56896)+12) ) ), pd142); }; SOURCE(5879, 37) kind←v14056 = (* (( (ptr) &var←c56896)+4)/* styleKind←v6840 */ ); SOURCE(5918, 23) keepStretch←v14084 = (* (ptr) &fc123 ); SOURCE(5984, 30) maxVerticalExpansion←v14168 = (* (ptr) &fc123 ); SOURCE(6016, 48) { word pd143; pd143 = (* (( (ptr) (* (( (ptr) gf←c56928)+200)/* var←c50656 */ ))+15) ); (void) ( *( (fPt) ((* (ptr) pd143 ))))((* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ), (* (( (ptr) &var←c56896)+12) ), kind←v14056, pd143); }; SOURCE(6066, 74) { word pd144; pd144 = (* (( (ptr) (* (( (ptr) gf←c56928)+195)/* var←c50400 */ ))+12) ); maxVerticalExpansion←v14168 = (word) ( *( (fPt) ((* (ptr) pd144 ))))((* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ), 78, pd144) ; }; SOURCE(6142, 5) (* (( (ptr) &var←c56896)+29)/* h←v13888 */ ) = (* (ptr) &fc123 ); SOURCE(6149, 2692) lab←L100009: ; { word x145; word x146; if ((0 != firstTime←v13972) || ( ((* (( (ptr) &var←c56896)+12) ) != 0) ? (( x145 = (* (( (ptr) &var←c56896)+29)/* h←v13888 */ ), *(float*)&x145 ) <= ( x146 = bounds←v6812.f1, *(float*)&x146 )) : 0 ) ) { } else { goto lab←L100007; }; }; { word skip←v14424 = 0; word stop←v14452 = 0; word xbound←v14480 = 2139095039; SOURCE(6267, 69) if ((filter←v6868 != 0)) { SOURCE(6286, 50) { W3 var←c51232; { W3 var←c0190; { W2 var←c51200; var←c51200.f0 = (* (ptr) &fc123 ); { word x147; *(float*)&var←c51200.f1 = - ( x147 = (* (( (ptr) &var←c56896)+29)/* h←v13888 */ ), *(float*)&x147 ); }; (void) ( *( (fPt) ((* (ptr) filter←v6868 ))))((word) &var←c0190, (* (W2Pt) (( (ptr) &var←c56896)+12)/* loc←v13664 */ ), (* ( ( (ptr) &var←c56896)+30)/* level←v13916 */ ), var←c51200, filter←v6868); }; var←c51232 = var←c0190; }; xbound←v14480 = var←c51232.f2; stop←v14452 = var←c51232.f1; skip←v14424 = var←c51232.f0; }; }; SOURCE(6338, 61) if ((0 != stop←v14452)) { SOURCE(6352, 47) if ((0 != skip←v14424) || ( (int)(* (( (ptr) &var←c56896)+13) ) == (int)(* (( (ptr) &var←c56896)+14)/* nodeSize←v13692 */ ))) { SOURCE(6389, 10) (void) NextNode←P2856((word) ((( (bPt) &var←c56896)+40)/* var←c50880 */ )); }; SOURCE(6401, 4) goto lab←L100008; }; SOURCE(6408, 222) if ( ( ( (0 == skip←v14424) ? (0 == firstTime←v13972) : 0 ) ? ( (int)(* (( (ptr) &var←c56896)+13) ) == (int)0) : 0 ) ) { SOURCE(6461, 180) { word keep←v14524; SOURCE(6463, 53) keep←v14524 = (word) GetStyleParam←P240((* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ), (* (( (ptr) gf←c56928)+75) ), (* (ptr) &fc123 ), kind←v14056); SOURCE(6518, 112) { word x148; word x149; word x150; if ((( x148 = (* (( (ptr) &var←c56896)+29)/* h←v13888 */ ), *(float*)&x148 ) + ( x149 = keep←v14524, *(float*)&x149 ) > ( x150 = bounds←v6812.f1, *(float*)&x150 ))) { SOURCE(6548, 82) keepStretch←v14084 = (word) GetStyleParam←P240((* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ), (* (( (ptr) gf←c56928)+76) ), (* (ptr) (* (( (ptr) (* (( (ptr) gf←c56928)+195)/* var←c50400 */ ))+9) ) ), kind←v14056); SOURCE(6632, 4) goto lab←L100008; }; }; }; }; SOURCE(6644, 2126) if ((0 == skip←v14424)) { SOURCE(6661, 2111) { word lineBox←v14568; SOURCE(6663, 64) { word x151; float tf152; float tf153; word x154; float tf155; lineBox←v14568 = (word) FormatLine←P60((* (W2Pt) (( (ptr) &var←c56896)+12)/* loc←v13664 */ ), ( tf155 = FMIN(( x151 = bounds←v6812.f0, *(float*)&x151 ), ( x154 = xbound←v14480, *(float*)&x154 ), tf152, tf153), *(word*)&tf155 ), (* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ )); }; SOURCE(6729, 65) { word var←c51264; { word pd156; word x157; pd156 = (* (( (ptr) (* (( (ptr) gf←c56928)+195)/* var←c50400 */ ))+12) ); *(float*)&var←c51264 = - ( x157 = (word) ( *( (fPt) ((* (ptr) pd156 ))))((* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ), 23, pd156), *(float*)&x157 ); }; (* (( (ptr) lineBox←v14568)+10) ) = var←c51264; }; SOURCE(6796, 63) { word var←c51296; { word pd158; word x159; pd158 = (* (( (ptr) (* (( (ptr) gf←c56928)+195)/* var←c50400 */ ))+12) ); *(float*)&var←c51296 = - ( x159 = (word) ( *( (fPt) ((* (ptr) pd158 ))))((* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ), 24, pd158), *(float*)&x159 ); }; (* (( (ptr) lineBox←v14568)+12) ) = var←c51296; }; SOURCE(6861, 21) stopper←v13944 = SGNCK((stopper←v13944 - 1)); SOURCE(6884, 1360) if (((* (( (W2Pt) (( (ptr) &var←c56896)+17)/* boxes←v13804 */ )+(* (( (ptr) &var←c56896)+16)/* insertID←v13748 */ )) ).f0 == 0)) { SOURCE(6919, 752) { word topIndent←v14612; word topIndentStretch←v14640; SOURCE(6921, 57) { word pd160; pd160 = (* (( (ptr) (* (( (ptr) gf←c56928)+195)/* var←c50400 */ ))+12) ); topIndent←v14612 = (word) ( *( (fPt) ((* (ptr) pd160 ))))((* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ), 19, pd160) ; }; SOURCE(6980, 77) topIndentStretch←v14640 = (word) GetStyleParam←P240((* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ), (* (( (ptr) gf←c56928)+77) ), (* (ptr) &fc123 ), kind←v14056); SOURCE(7059, 467) if (((* (( (ptr) &var←c56896)+5)/* sep←v6896 */ ) != 0)) { SOURCE(7075, 456) { word hTemp←v14684; SOURCE(7077, 50) { word x161; word x162; word x163; *(float*)&hTemp←v14684 = (( /*1*/ x161 = (* (( (ptr) &var←c56896)+29)/* h←v13888 */ ), *(float*)&x161 /*1*/ ) + ( /*1*/ x162 = topIndent←v14612, *(float*)&x162 /*1*/ )) - ( /*1*/ x163 = (* (( (ptr) lineBox←v14568)+8) ), *(float*)&x163 /*1*/ ); }; SOURCE(7129, 88) if (((* (( (ptr) &var←c56896)+16)/* insertID←v13748 */ ) != 3) || ((* (( (ptr) &var←c56896)+21) ) != 0)) { SOURCE(7180, 37) { /*1*/ word x164; /*1*/ word x165; /*1*/ *(float*)&hTemp←v14684 = ( /*1*/ x164 = hTemp←v14684, *(float*)&x164 /*1*/ ) + ( /*1*/ x165 = (word) HeightOfSep←P2916((* (( (ptr) &var←c56896)+16)/* insertID←v13748 */ ), (word) (( (bPt) &var←c56896)+32)/* var←c50848 */ ) /*1*/ , *(float*)&x165 /*1*/ ); /*1*/ }; }; SOURCE(7219, 87) if ( ( ((* (( (ptr) &var←c56896)+16)/* insertID←v13748 */ ) == 2) ? ((* (( (ptr) &var←c56896)+23) ) != 0) : 0 ) ) { SOURCE(7271, 35) { /*1*/ word x166; /*1*/ word x167; /*1*/ *(float*)&hTemp←v14684 = ( /*1*/ x166 = hTemp←v14684, *(float*)&x166 /*1*/ ) + ( /*1*/ x167 = (word) HeightOfSep←P2916(3, (word) (( (bPt) &var←c56896)+32)/* var←c50848 */ ), *(float*)&x167 /*1*/ ); /*1*/ }; }; SOURCE(7308, 43) { word x168; word x169; if ( ( (( /*1*/ x168 = hTemp←v14684, *(float*)&x168 /*1*/ ) > ( /*1*/ x169 = bounds←v6812.f1, *(float*)&x169 /*1*/ )) ? (0 == firstTime←v13972) : 0 ) ) { SOURCE(7351, 4) /*1*/ goto lab←L100008; /*1*/ }; }; SOURCE(7357, 169) { word x170; word x171; if ((( /*1*/ x170 = hTemp←v14684, *(float*)&x170 /*1*/ ) <= ( /*1*/ x171 = bounds←v6812.f1, *(float*)&x171 /*1*/ ))) { SOURCE(7385, 70) /*1*/ if (((* (( (ptr) &var←c56896)+16)/* insertID←v13748 */ ) != 3) || ((* (( (ptr) &var←c56896)+21) ) != 0)) { SOURCE(7436, 19) /*1*/ (void) InsertSep←P2976((* (( (ptr) &var←c56896)+16)/* insertID←v13748 */ ), (word) (( (bPt) &var←c56896)+24)/* var←c50816 */ ) /*1*/ ; /*1*/ }; SOURCE(7457, 69) /*1*/ if ( ( ((* (( (ptr) &var←c56896)+16)/* insertID←v13748 */ ) == 2) ? ((* (( (ptr) &var←c56896)+23) ) != 0) : 0 ) ) { SOURCE(7509, 17) /*1*/ (void) InsertSep←P2976(3, (word) (( (bPt) &var←c56896)+24)/* var←c50816 */ ); /*1*/ }; /*1*/ }; }; }; }; SOURCE(7534, 116) { W2 var←c51328; { word var←c51360; { W2 var←c51392; W2 var←c51424; W2 var←c51456; var←c51392.f0 = (* (ptr) &fc123 ); { /*1*/ word x172; /*1*/ *(float*)&var←c51392.f1 = - ( /*1*/ x172 = topIndent←v14612, *(float*)&x172 /*1*/ ); /*1*/ }; var←c51424.f0 = (* (ptr) &fc123 ); { /*1*/ word x173; /*1*/ *(float*)&var←c51424.f1 = - ( /*1*/ x173 = topIndentStretch←v14640, *(float*)&x173 /*1*/ ); /*1*/ }; var←c51456.f0 = (* (ptr) &fc123 ); var←c51456.f1 = (* (ptr) &fc123 ); var←c51360 = (word) EmptyBox←P720(var←c51392, var←c51424, var←c51456); }; { W2 var←c0203; (void) AppendBox←P2700((word) &var←c0203, (* (( (W2Pt) (( (ptr) &var←c56896)+17)/* boxes←v13804 */ )+(* (( (ptr) &var←c56896)+16) /*1*/ /* insertID←v13748 */ )) ), var←c51360); var←c51328 = var←c0203; }; }; (* (( (W2Pt) (( (ptr) &var←c56896)+17)/* boxes←v13804 */ )+(* (( (ptr) &var←c56896)+16)/* insertID←v13748 */ )) ) = var←c51328; }; SOURCE(7652, 17) { word x174; word x175; *(float*)(( (ptr) &var←c56896)+29)/* h←v13888 */ = ( x174 = (* (( (ptr) &var←c56896)+29)/* h←v13888 */ ), *(float*)&x174 ) + ( x175 = topIndent←v14612, *(float*)&x175 ); }; }; } else { SOURCE(7678, 566) if (( (int)(* (( (ptr) &var←c56896)+13) ) == (int)0)) { SOURCE(7700, 546) { word prevBox←v14728; word prevSkip←v14756; word newSkip←v14784; SOURCE(7702, 41) prevBox←v14728 = (* (ptr) (* (( (W2Pt) (( (ptr) &var←c56896)+17)/* boxes←v13804 */ )+(* (( (ptr) &var←c56896)+16)/* insertID←v13748 */ )) ).f1 ); SOURCE(7745, 38) { word x176; *(float*)&prevSkip←v14756 = - ( x176 = (* (( (ptr) prevBox←v14728)+8) ), *(float*)&x176 ); }; SOURCE(7785, 71) { word x177; float tf178; float tf179; word pd180; word x181; float tf182; pd180 = (* (( (ptr) (* (( (ptr) gf←c56928)+195)/* var←c50400 */ ))+12) ); newSkip←v14784 = ( tf182 = FMAX(( /*1*/ x177 = prevSkip←v14756, *(float*)&x177 /*1*/ ), ( /*1*/ x181 = (word) ( *( (fPt) ((* (ptr) pd180 ))))((* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ), 25, pd180), *(float*)&x181 /*1*/ ), tf178, tf179), *(word*)&tf182 ); }; SOURCE(7858, 83) { word x183; word x184; word x185; word x186; word x187; if ( ( ((( x183 = (* (( (ptr) &var←c56896)+29)/* h←v13888 */ ), *(float*)&x183 ) - ( x184 = (* (( (ptr) lineBox←v14568)+8) ), *(float*)&x184 )) + (( x185 = newSkip←v14784, *(float*)&x185 ) - ( x186 = prevSkip←v14756, *(float*)&x186 )) > ( x187 = bounds←v6812.f1, *(float*)&x187 )) ? (0 == firstTime←v13972) : 0 ) ) { SOURCE(7941, 4) goto lab←L100008; }; }; SOURCE(7947, 26) { word x188; word x189; word x190; *(float*)(( (ptr) &var←c56896)+29)/* h←v13888 */ = ( x188 = (* (( (ptr) &var←c56896)+29)/* h←v13888 */ ), *(float*)&x188 ) + (( x189 = newSkip←v14784, *(float*)&x189 ) - ( x190 = prevSkip←v14756, *(float*)&x190 )); }; SOURCE(7975, 31) { word x191; *(float*)(( (ptr) prevBox←v14728)+8) = - ( x191 = newSkip←v14784, *(float*)&x191 ); }; SOURCE(8008, 82) { word var←c51488; { word x192; word pd193; word x194; pd193 = (* (( (ptr) (* (( (ptr) gf←c56928)+195)/* var←c50400 */ ))+12) ); *(float*)&var←c51488 = ( /*1*/ x192 = (* (( (ptr) prevBox←v14728)+12) ), *(float*)&x192 /*1*/ ) - ( /*1*/ x194 = (word) ( *( (fPt) ((* (ptr) pd193 ))))((* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ), 27, pd193), *(float*)&x194 /*1*/ ); }; (* (( (ptr) prevBox←v14728)+12) ) = var←c51488; }; SOURCE(8092, 85) { word var←c51520; { word x195; word pd196; word x197; pd196 = (* (( (ptr) (* (( (ptr) gf←c56928)+195)/* var←c50400 */ ))+12) ); *(float*)&var←c51520 = ( /*1*/ x195 = (* (( (ptr) prevBox←v14728)+10) ), *(float*)&x195 /*1*/ ) - ( /*1*/ x197 = (word) ( *( (fPt) ((* (ptr) pd196 ))))((* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ), 26, pd196), *(float*)&x197 /*1*/ ); }; (* (( (ptr) prevBox←v14728)+10) ) = var←c51520; }; SOURCE(8179, 65) { word var←c51552; { word pd198; word x199; pd198 = (* (( (ptr) (* (( (ptr) gf←c56928)+195)/* var←c50400 */ ))+12) ); *(float*)&var←c51552 = - ( /*1*/ x199 = (word) ( *( (fPt) ((* (ptr) pd198 ))))((* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ), 23, pd198), *(float*)&x199 /*1*/ ); }; (* (( (ptr) lineBox←v14568)+10) ) = var←c51552; }; }; }; }; SOURCE(8249, 62) { word x200; word x201; word x202; if ( ( (( x200 = (* (( (ptr) &var←c56896)+29)/* h←v13888 */ ), *(float*)&x200 ) - ( x201 = (* (( (ptr) lineBox←v14568)+8) ), *(float*)&x201 ) > ( x202 = bounds←v6812.f1, *(float*)&x202 )) ? (0 == firstTime←v13972) : 0 ) ) { SOURCE(8311, 4) goto lab←L100008; }; }; SOURCE(8318, 44) if ( ( ( (int)(* (ptr) lineBox←v14568 ) == (int)0) ? ( (int)(* (( (ptr) &var←c56896)+14)/* nodeSize←v13692 */ ) > (int)0) : 0 ) ) { SOURCE(8362, 5) (void) XR←RaiseUnnamedError(); }; SOURCE(8369, 38) (* (( (ptr) &var←c56896)+13) ) = ((* (( (ptr) &var←c56896)+13) ) + (* (ptr) lineBox←v14568 )); SOURCE(8409, 242) if (( (int)(* (( (ptr) &var←c56896)+13) ) == (int)(* (( (ptr) &var←c56896)+14)/* nodeSize←v13692 */ ))) { SOURCE(8440, 67) { word var←c51584; { word pd203; word x204; pd203 = (* (( (ptr) (* (( (ptr) gf←c56928)+195)/* var←c50400 */ ))+12) ); *(float*)&var←c51584 = - ( x204 = (word) ( *( (fPt) ((* (ptr) pd203 ))))((* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ), 28, pd203), *(float*)&x204 ); }; (* (( (ptr) lineBox←v14568)+8) ) = var←c51584; }; SOURCE(8509, 69) { word var←c51616; { word pd205; word x206; pd205 = (* (( (ptr) (* (( (ptr) gf←c56928)+195)/* var←c50400 */ ))+12) ); *(float*)&var←c51616 = - ( x206 = (word) ( *( (fPt) ((* (ptr) pd205 ))))((* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ), 30, pd205), *(float*)&x206 ); }; (* (( (ptr) lineBox←v14568)+12) ) = var←c51616; }; SOURCE(8580, 71) { word var←c51648; { word pd207; word x208; pd207 = (* (( (ptr) (* (( (ptr) gf←c56928)+195)/* var←c50400 */ ))+12) ); *(float*)&var←c51648 = - ( x208 = (word) ( *( (fPt) ((* (ptr) pd207 ))))((* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ), 29, pd207), *(float*)&x208 ); }; (* (( (ptr) lineBox←v14568)+10) ) = var←c51648; }; }; SOURCE(8656, 53) { W2 var←c51680; (void) AppendBox←P2700((word) &var←c51680, (* (( (W2Pt) (( (ptr) &var←c56896)+17)/* boxes←v13804 */ )+(* (( (ptr) &var←c56896)+16) /* insertID←v13748 */ )) ), lineBox←v14568); (* (( (W2Pt) (( (ptr) &var←c56896)+17)/* boxes←v13804 */ )+(* (( (ptr) &var←c56896)+16)/* insertID←v13748 */ )) ) = var←c51680; }; SOURCE(8711, 29) (* (( (ptr) &lastNode←v13832)+(* (( (ptr) &var←c56896)+16)/* insertID←v13748 */ )) ) = (* (( (ptr) &var←c56896)+12) ); SOURCE(8742, 28) { word x209; word x210; *(float*)(( (ptr) &var←c56896)+29)/* h←v13888 */ = ( x209 = (* (( (ptr) &var←c56896)+29)/* h←v13888 */ ), *(float*)&x209 ) - ( x210 = (* (( (ptr) lineBox←v14568)+8) ), *(float*)&x210 ); }; }; }; SOURCE(8775, 47) if ((0 != skip←v14424) || ( (int)(* (( (ptr) &var←c56896)+13) ) == (int)(* (( (ptr) &var←c56896)+14)/* nodeSize←v13692 */ ))) { SOURCE(8812, 10) (void) NextNode←P2856((word) ((( (bPt) &var←c56896)+40)/* var←c50880 */ )); }; SOURCE(8824, 17) firstTime←v13972 = 0; }; goto lab←L100009; lab←L100007: ; lab←L100008: ; SOURCE(8852, 75) if (((* (( (ptr) &var←c56896)+12) ) == 0)) { SOURCE(8877, 50) { word x211; word x212; *(float*)&keepStretch←v14084 = ( x211 = keepStretch←v14084, *(float*)&x211 ) + ( x212 = (* (ptr) (* (( (ptr) (* (( (ptr) gf←c56928)+195)/* var←c50400 */ ))+9) ) ), *(float*)&x212 ); }; }; SOURCE(8932, 549) { register word insertNumber←v14828 = 0; lab←L100013: ; { word i←v14872; SOURCE(8985, 39) i←v14872 = (* ((( (ptr) gf←c56928)+4)/* insertOrder←v4344 */ +BCK(insertNumber←v14828, 4)) ); SOURCE(9026, 408) { word tc213; if (((* (( (W2Pt) (( (ptr) &var←c56896)+17)/* boxes←v13804 */ )+i←v14872) ).f1 != 0)) { tc213 = (word) ((* (( (ptr) &lastNode←v13832)+i←v14872) ) != 0); } else { tc213 = (word) 0; }; if (tc213) { SOURCE(9076, 360) { word lastBox←v14916; SOURCE(9078, 34) lastBox←v14916 = (* (ptr) (* (( (W2Pt) (( (ptr) &var←c56896)+17)/* boxes←v13804 */ )+i←v14872) ).f1 ); SOURCE(9114, 51) { word pd214; pd214 = (* (( (ptr) (* (( (ptr) gf←c56928)+200)/* var←c50656 */ ))+15) ); (void) ( *( (fPt) ((* (ptr) pd214 ))))((* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ), (* (( (ptr) &lastNode←v13832)+i←v14872) ), kind←v14056, pd214); }; SOURCE(9167, 66) { word var←c51712; { word pd215; word x216; pd215 = (* (( (ptr) (* (( (ptr) gf←c56928)+195)/* var←c50400 */ ))+12) ); *(float*)&var←c51712 = - ( x216 = (word) ( *( (fPt) ((* (ptr) pd215 ))))((* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ), 20, pd215), *(float*)&x216 ); }; (* (( (ptr) lastBox←v14916)+8) ) = var←c51712; }; SOURCE(9235, 76) { word var←c51744; { word x217; *(float*)&var←c51744 = - ( x217 = (word) GetStyleParam←P240((* (( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ), (* (( (ptr) gf←c56928)+78) ), (* (ptr) &fc123 ), kind←v14056) , *(float*)&x217 ); }; (* (( (ptr) lastBox←v14916)+10) ) = var←c51744; }; SOURCE(9313, 96) if ((i←v14872 == 3)) { SOURCE(9334, 51) { word x218; word x219; *(float*)(( (ptr) lastBox←v14916)+10) = ( x218 = (* (( (ptr) lastBox←v14916)+10) ), *(float*)&x218 ) - ( x219 = keepStretch←v14084, *(float*)&x219 ); }; SOURCE(9387, 22) boxToStretch←v14140 = lastBox←v14916; }; SOURCE(9414, 20) (* (( (ptr) lastBox←v14916)+12) ) = (* (ptr) &fc123 ); }; }; }; SOURCE(9439, 42) (void) AppendList←P2640((word) &result←v13860, result←v13860, (* (( (W2Pt) (( (ptr) &var←c56896)+17)/* boxes←v13804 */ )+i←v14872) ).f0); }; if ((insertNumber←v14828 >= 3)) { goto lab←L100010; }; insertNumber←v14828 = (insertNumber←v14828 + 1); goto lab←L100013; lab←L100010: ; }; SOURCE(9492, 53) { W2 var←c51776; W2 var←c51808; var←c51776.f0 = 0; var←c51776.f1 = (* (ptr) &fc123 ); var←c51808.f0 = 1; { word x220; *(float*)&var←c51808.f1 = - ( x220 = bounds←v6812.f1, *(float*)&x220 ); }; box←v14112 = (word) BoxFromList←P1260(result←v13860.f0, var←c51776, var←c51808); }; SOURCE(9547, 197) { word x221; word x222; if ( ( (( x221 = (* (( (ptr) box←v14112)+6) ), *(float*)&x221 ) > ( x222 = maxVerticalExpansion←v14168, *(float*)&x222 )) ? (boxToStretch←v14140 != 0) : 0 ) ) { SOURCE(9617, 72) { word x223; word x224; *(float*)(( (ptr) boxToStretch←v14140)+10) = ( x223 = (* (( (ptr) boxToStretch←v14140)+10) ), *(float*)&x223 ) - ( x224 = (* (ptr) (* (( (ptr) (* (( (ptr) gf←c56928)+195)/* var←c50400 */ ))+9) ) ), *(float*)&x224 ); }; SOURCE(9691, 53) { W2 var←c51840; W2 var←c51872; var←c51840.f0 = 0; var←c51840.f1 = (* (ptr) &fc123 ); var←c51872.f0 = 1; { word x225; *(float*)&var←c51872.f1 = - ( x225 = bounds←v6812.f1, *(float*)&x225 ); }; box←v14112 = (word) BoxFromList←P1260(result←v13860.f0, var←c51840, var←c51872); }; }; }; SOURCE(9749, 28) { word pd226; pd226 = (* (( (ptr) (* (( (ptr) gf←c56928)+200)/* var←c50656 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd226 ))))((* ((( (ptr) &var←c56896)+15)/* nodeStyle←v13720 */ ) ), pd226); }; SOURCE(9779, 32) var←c6940.f0 = box←v14112; (* (W2Pt) (( (ptr) &var←c6940)+1) ) = (* (W2Pt) (( (ptr) &var←c56896)+12)/* loc←v13664 */ ); /* removed tail goto */ (* (W3Pt) formal←c0225 ) = var←c6940; return; } static void NextNode←P2856(formal←c56992) word formal←c56992; { register ptr gf←c56960 = (ptr) &globalframe; word nx←v14960 = 0; word levelDelta←v14988; formal←c56992 = (formal←c56992 - 40); /* NextNode: */ SOURCE(4736, 352) SOURCE(4794, 45) { W2 var←c51936; { word pd227; pd227 = (* (( (ptr) (* (( (ptr) gf←c56960)+205)/* var←c51168 */ ))+12) ); (void) ( *( (fPt) ((* (ptr) pd227 ))))((word) &var←c51936, (* (( (ptr) formal←c56992)+12) ), pd227); }; levelDelta←v14988 = var←c51936.f1; nx←v14960 = var←c51936.f0; }; SOURCE(4841, 26) (* (( (ptr) formal←c56992)+30) ) = ((* (( (ptr) formal←c56992)+30) ) + levelDelta←v14988); SOURCE(4869, 13) (* (( (ptr) formal←c56992)+12) ) = nx←v14960; SOURCE(4884, 13) (* (( (ptr) formal←c56992)+13) ) = 0; SOURCE(4899, 34) { word pd228; pd228 = (* (( (ptr) (* (( (ptr) gf←c56960)+203)/* var←c50912 */ ))+6) ); (* (( (ptr) formal←c56992)+14) ) = (word) ( *( (fPt) ((* (ptr) pd228 ))))((* ((( (ptr) formal←c56992)+12)) ), pd228); }; SOURCE(4935, 153) if (((* (( (ptr) formal←c56992)+12) ) != 0)) { SOURCE(4960, 53) { word pd229; pd229 = (* (( (ptr) (* (( (ptr) gf←c56960)+200)/* var←c50656 */ ))+15) ); (void) ( *( (fPt) ((* (ptr) pd229 ))))((* (( (ptr) formal←c56992)+15) ), (* (( (ptr) formal←c56992)+12) ), (* (( (ptr) formal←c56992)+4) ), pd229); }; SOURCE(5015, 73) { word var←c51968; { word var←c52000; { word pd230; pd230 = (* (( (ptr) (* (( (ptr) gf←c56960)+204)/* var←c50976 */ ))+5) ); var←c52000 = XR←Narrow((word) ( *( (fPt) ((* (ptr) pd230 ))))((* (( (ptr) formal←c56992)+12) ), (* (( (ptr) gf←c56960)+73) ), pd230), (* (( (ptr) gf←c56960)+35) )); }; if ((var←c52000 == 0)) { goto lab←L100014; }; if (( (unsigned) (*(int*)var←c52000<0) == 0)) { goto lab←L100014; }; (void) XR←RaiseError(XR←NarrowFault, 0); lab←L100014: ; var←c51968 = var←c52000; }; (* (( (ptr) formal←c56992)+16) ) = (word) InsertIDFromRope←P120(var←c51968); }; }; } static word HeightOfSep←P2916(id←v14292, formal←c57024) word id←v14292; word formal←c57024; { word var←c14336; word hTemp←v15032; word b←v15060; formal←c57024 = (formal←c57024 - 32); /* HeightOfSep: */ SOURCE(5400, 204) SOURCE(5452, 17) hTemp←v15032 = (* (ptr) &fc123 ); SOURCE(5471, 3) { word pd231; pd231 = (* (( (ptr) formal←c57024)+5) ); b←v15060 = (word) ( *( (fPt) ((* (ptr) pd231 ))))(id←v14292, pd231); }; SOURCE(5497, 82) { register word p←v15188; p←v15188 = b←v15060; lab←L100018: ; if ((p←v15188 != 0)) { } else { goto lab←L100015; }; SOURCE(5543, 36) { word x232; word x233; *(float*)&hTemp←v15032 = ( x232 = hTemp←v15032, *(float*)&x232 ) - ( x233 = (* (( (ptr) (* (ptr) p←v15188 ))+8) ), *(float*)&x233 ); }; p←v15188 = (* (( (ptr) p←v15188)+1) ); goto lab←L100018; lab←L100015: ; }; SOURCE(5590, 14) return(hTemp←v15032); } static void InsertSep←P2976(id←v14396, formal←c57056) word id←v14396; word formal←c57056; { word b←v15316; W2 bxs←v15344; formal←c57056 = (formal←c57056 - 24); /* InsertSep: */ SOURCE(5609, 265) SOURCE(5644, 3) { word pd234; pd234 = (* (( (ptr) formal←c57056)+5) ); b←v15316 = (word) ( *( (fPt) ((* (ptr) pd234 ))))(id←v14396, pd234); }; SOURCE(5670, 23) bxs←v15344.f0 = 0; bxs←v15344.f1 = 0; SOURCE(5695, 125) { register word p←v15472; p←v15472 = b←v15316; lab←L100022: ; if ((p←v15472 != 0)) { } else { goto lab←L100019; }; SOURCE(5741, 18) (void) Duplicate←P2580((* (ptr) (p←v15472) )); SOURCE(5761, 29) (void) AppendBox←P2700((word) &bxs←v15344, bxs←v15344, (* (ptr) p←v15472 )); SOURCE(5792, 28) { word x235; word x236; *(float*)(( (ptr) formal←c57056)+29) = ( x235 = (* (( (ptr) formal←c57056)+29) ), *(float*)&x235 ) - ( x236 = (* (( (ptr) (* (ptr) p←v15472 ))+8) ), *(float*)&x236 ); }; p←v15472 = (* (( (ptr) p←v15472)+1) ); goto lab←L100022; lab←L100019: ; }; SOURCE(5831, 43) { W2 var←c52064; (void) AppendList←P2640((word) &var←c52064, bxs←v15344, (* (( (W2Pt) (( (ptr) formal←c57056)+17))+id←v14396) ).f0); (* (( (W2Pt) (( (ptr) formal←c57056)+17))+id←v14396) ) = var←c52064; }; } static word GetNodeStyle←P360(node←v7000, kind←v7028) word node←v7000; word kind←v7028; { register ptr gf←c57088 = (ptr) &globalframe; word nodeStyle←v7072; /* GetNodeStyle: */ SOURCE(9817, 185) SOURCE(9817, 185) nodeStyle←v7072 = 0; SOURCE(9924, 32) { word pd237; pd237 = (* (( (ptr) (* (( (ptr) gf←c57088)+200)/* var←c50656 */ ))+6) ); nodeStyle←v7072 = (word) ( *( (fPt) ((* (ptr) pd237 ))))(pd237); }; SOURCE(9958, 44) { word pd238; pd238 = (* (( (ptr) (* (( (ptr) gf←c57088)+200)/* var←c50656 */ ))+15) ); (void) ( *( (fPt) ((* (ptr) pd238 ))))(nodeStyle←v7072, node←v7000, kind←v7028, pd238); }; SOURCE(9817, 185) return(nodeStyle←v7072); } static word GetMarkAtom←P420(mark←v7216, location←v7244) word mark←v7216; W2 location←v7244; { register ptr gf←c57120 = (ptr) &globalframe; word var←c7288; word atom←v15600 = 0; word realAtom←v15628 = 0; /* GetMarkAtom: */ SOURCE(10498, 855) SOURCE(10617, 307) { register word p←v15672; p←v15672 = (* (( (ptr) gf←c57120)+8)/* validMarks←v4428 */ ); lab←L100026: ; if ((p←v15672 != 0)) { } else { goto lab←L100023; }; { word var←c52096; SOURCE(10675, 14) atom←v15600 = (* (ptr) p←v15672 ); SOURCE(10691, 212) { word pd240; { word pd239; pd239 = (* (( (ptr) (* (( (ptr) gf←c57120)+202)/* var←c50784 */ ))+9) ); var←c52096 = (word) ( *( (fPt) ((* (ptr) pd239 ))))(atom←v15600, pd239); }; pd240 = (* (( (ptr) (* (( (ptr) gf←c57120)+196)/* var←c50496 */ ))+8) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd240 ))))(var←c52096, mark←v7216, 0, pd240))) { SOURCE(10746, 157) { word var←c52128; var←c52128 = atom←v15600; if ((var←c52128 == (* (( (ptr) gf←c57120)+96) ))) { realAtom←v15628 = (* (( (ptr) gf←c57120)+68) ); goto endif0241; }; if ((var←c52128 == (* (( (ptr) gf←c57120)+97) ))) { realAtom←v15628 = (* (( (ptr) gf←c57120)+74) ); goto endif0241; }; if ((var←c52128 == (* (( (ptr) gf←c57120)+98) ))) { realAtom←v15628 = (* (( (ptr) gf←c57120)+93) ); goto endif0241; }; if ((var←c52128 == (* (( (ptr) gf←c57120)+99) ))) { realAtom←v15628 = (* (( (ptr) gf←c57120)+95) ); goto endif0241; }; realAtom←v15628 = atom←v15600; goto endif0241; endif0241: ; }; SOURCE(10905, 4) goto lab←L100024; }; }; SOURCE(10914, 10) atom←v15600 = 0; }; p←v15672 = (* (( (ptr) p←v15672)+1) ); goto lab←L100026; lab←L100023: ; lab←L100024: ; }; SOURCE(10935, 395) if ((realAtom←v15628 == 0) || (realAtom←v15628 != atom←v15600)) { SOURCE(10977, 355) { word msg←v15800 = 0; SOURCE(10996, 210) if ((realAtom←v15628 == 0)) { SOURCE(11021, 58) { word pd242; pd242 = (* (( (ptr) (* (( (ptr) gf←c57120)+196)/* var←c50496 */ ))+5) ); msg←v15800 = (word) ( *( (fPt) ((* (ptr) pd242 ))))(msg←v15800, (* (( (ptr) gf←c57120)+79) ), mark←v7216, (* (( (ptr) gf←c57120)+80) ), 0, pd242); }; } else { SOURCE(11090, 61) { word var←c52160; { word pd243; pd243 = (* (( (ptr) (* (( (ptr) gf←c57120)+202)/* var←c50784 */ ))+9) ); var←c52160 = (word) ( *( (fPt) ((* (ptr) pd243 ))))(atom←v15600, pd243); }; { word pd244; pd244 = (* (( (ptr) (* (( (ptr) gf←c57120)+196)/* var←c50496 */ ))+5) ); msg←v15800 = (word) ( *( (fPt) ((* (ptr) pd244 ))))(msg←v15800, (* (( (ptr) gf←c57120)+81) ), var←c52160, 0, 0, pd244); }; }; SOURCE(11153, 53) { word var←c52192; { word pd245; pd245 = (* (( (ptr) (* (( (ptr) gf←c57120)+202)/* var←c50784 */ ))+9) ); var←c52192 = (word) ( *( (fPt) ((* (ptr) pd245 ))))(realAtom←v15628, pd245); }; { word pd246; pd246 = (* (( (ptr) (* (( (ptr) gf←c57120)+196)/* var←c50496 */ ))+5) ); msg←v15800 = (word) ( *( (fPt) ((* (ptr) pd246 ))))(msg←v15800, (* (( (ptr) gf←c57120)+82) ), var←c52192, (* (( (ptr) gf←c57120)+83) ), 0, pd246); }; }; }; SOURCE(11211, 109) { word var←c52224; { word var←c52256; { word pd247; pd247 = (* (( (ptr) (* (( (ptr) gf←c57120)+205)/* var←c51168 */ ))+23) ); var←c52256 = (word) ( *( (fPt) ((* (ptr) pd247 ))))(location←v7244, 1, 1, pd247); }; { word pd248; pd248 = (* (( (ptr) (* (( (ptr) gf←c57120)+206)/* var←c52288 */ ))+27) ); var←c52224 = (word) ( *( (fPt) ((* (ptr) pd248 ))))(var←c52256, 8, 1, pd248); }; }; { word pd249; pd249 = (* (( (ptr) (* (( (ptr) gf←c57120)+196)/* var←c50496 */ ))+5) ); msg←v15800 = (word) ( *( (fPt) ((* (ptr) pd249 ))))(msg←v15800, (* (( (ptr) gf←c57120)+84) ), var←c52224, 0, 0, pd249); }; }; SOURCE(11322, 8) (void) Msg←P180(msg←v15800); }; }; SOURCE(11335, 18) return(realAtom←v15628); } static void FormatPage←P480(formal←c0333, formal←c0743, startLoc←v8048, formal←c0744, marks←v8104, formal←c0745) word formal←c0333; word formal←c0743; W2 startLoc←v8048; word formal←c0744; word marks←v8104; word formal←c0745; { W40 var←c57152; /* declaration of pageCounter←v8020 skipped */ /* declaration of filter←v8076 skipped */ /* declaration of styleKind←v8132 skipped */ register ptr gf←c57184 = (ptr) &globalframe; W5 var←c8176; /* declaration of var←c52320 skipped */ /* declaration of var←c52352 skipped */ /* declaration of var←c52384 skipped */ /* declaration of var←c52416 skipped */ /* declaration of var←c52448 skipped */ /* declaration of var←c52480 skipped */ /* declaration of pageNeedsNumber←v15844 skipped */ word topMarks←v15872; /* declaration of botMarks←v15900 skipped */ word root←v15956; /* declaration of nodeStyle←v15984 skipped */ W2 loc←v16040; word leftMargin←v16068; word rightMargin←v16096; word bindingMargin←v16124; /* declaration of topMargin←v16152 skipped */ /* declaration of headerMargin←v16180 skipped */ /* declaration of bottomMargin←v16208 skipped */ /* declaration of footerMargin←v16236 skipped */ word nColumns←v16264; word columnGap←v16292; word pageWidth←v16320; /* declaration of pageLength←v16348 skipped */ /* declaration of totalWidth←v16376 skipped */ /* declaration of lineWidth←v16404 skipped */ /* declaration of pageBodyHeight←v16432 skipped */ word bodyHeight←v16460; /* declaration of firstFolio←v16488 skipped */ /* declaration of firstVisibleFolio←v16516 skipped */ /* declaration of lastDropFolio←v16544 skipped */ /* declaration of twoSided←v16572 skipped */ /* declaration of firstHeaders←v16600 skipped */ /* declaration of leftMarg←v16684 skipped */ W2 pageList←v16740; word pageTitleBox←v16768 = 0; word pageBox←v16796 = 0; /* declaration of pageNumberFont←v16824 skipped */ /* declaration of pageNumberTopIndent←v16852 skipped */ /* declaration of pageNumberBotIndent←v16880 skipped */ (* (( (ptr) &var←c57152)+4)/* pageCounter←v8020 */ ) = formal←c0743; (* (( (ptr) &var←c57152)+5)/* filter←v8076 */ ) = formal←c0744; (* (( (ptr) &var←c57152)+6)/* styleKind←v8132 */ ) = formal←c0745; /* FormatPage: */ SOURCE(12097, 7662) { word tmpAddr250; tmpAddr250 = (word) (( (ptr) &var←c57152)+7)/* var←c52320 */ ; (* (ptr) tmpAddr250 ) = ( ((word) (fPt) titleFilter←P4008) ); (* (( (ptr) tmpAddr250) + 1) ) = 1; }; { word tmpAddr251; tmpAddr251 = (word) (( (ptr) &var←c57152)+9)/* var←c52352 */ ; (* (ptr) tmpAddr251 ) = ( ((word) (fPt) HeadersAndFooters←P3900) ); (* (( (ptr) tmpAddr251) + 1) ) = 1; }; { word tmpAddr252; tmpAddr252 = (word) (( (ptr) &var←c57152)+11)/* var←c52384 */ ; (* (ptr) tmpAddr252 ) = ( ((word) (fPt) CatMarks←P3840) ); (* (( (ptr) tmpAddr252) + 1) ) = 1; }; { word tmpAddr253; tmpAddr253 = (word) (( (ptr) &var←c57152)+13)/* var←c52416 */ ; (* (ptr) tmpAddr253 ) = ( ((word) (fPt) myFilter←P3780) ); (* (( (ptr) tmpAddr253) + 1) ) = 1; }; { word tmpAddr254; tmpAddr254 = (word) (( (ptr) &var←c57152)+15)/* var←c52448 */ ; (* (ptr) tmpAddr254 ) = ( ((word) (fPt) GetStylePoints←P3720) ); (* (( (ptr) tmpAddr254) + 1) ) = 1; }; { word tmpAddr255; tmpAddr255 = (word) (( (ptr) &var←c57152)+17)/* var←c52480 */ ; (* (ptr) tmpAddr255 ) = ( ((word) (fPt) GetSeparator←P3660) ); (* (( (ptr) tmpAddr255) + 1) ) = 1; }; SOURCE(12275, 28) (* (( (ptr) &var←c57152)+19)/* pageNeedsNumber←v15844 */ ) = 1; SOURCE(12305, 31) topMarks←v15872 = marks←v8104; SOURCE(12338, 31) (* (( (ptr) &var←c57152)+20)/* botMarks←v15900 */ ) = marks←v8104; SOURCE(12652, 49) { word pd256; pd256 = (* (( (ptr) (* (( (ptr) gf←c57184)+205)/* var←c51168 */ ))+9) ); root←v15956 = (word) ( *( (fPt) ((* (ptr) pd256 ))))(startLoc←v8048.f0, pd256); }; SOURCE(12703, 56) (* (( (ptr) &var←c57152)+21)/* nodeStyle←v15984 */ ) = (word) GetNodeStyle←P360(root←v15956, (* (( (ptr) &var←c57152)+6) /* styleKind←v8132 */ )); SOURCE(12878, 99) if ((startLoc←v8048.f0 == root←v15956)) { { W2 var←c52512; { word pd257; pd257 = (* (( (ptr) (* (( (ptr) gf←c57184)+205)/* var←c51168 */ ))+14) ); var←c52512.f0 = (word) ( *( (fPt) ((* (ptr) pd257 ))))(root←v15956, pd257); }; var←c52512.f1 = 0; loc←v16040 = var←c52512; }; } else { loc←v16040 = startLoc←v8048; }; SOURCE(12979, 45) leftMargin←v16068 = (word) GetStylePoints←P3720(40, (word) (( (bPt) &var←c57152)+60)/* var←c52448 */ ); SOURCE(13026, 47) rightMargin←v16096 = (word) GetStylePoints←P3720(41, (word) (( (bPt) &var←c57152)+60)/* var←c52448 */ ); SOURCE(13075, 51) bindingMargin←v16124 = (word) GetStylePoints←P3720(46, (word) (( (bPt) &var←c57152)+60)/* var←c52448 */ ); SOURCE(13128, 43) (* (( (ptr) &var←c57152)+22)/* topMargin←v16152 */ ) = (word) GetStylePoints←P3720(42, (word) (( (bPt) &var←c57152)+60)/* var←c52448 */ ) ; SOURCE(13173, 49) (* (( (ptr) &var←c57152)+23)/* headerMargin←v16180 */ ) = (word) GetStylePoints←P3720(44, (word) (( (bPt) &var←c57152)+60) /* var←c52448 */ ); SOURCE(13224, 49) (* (( (ptr) &var←c57152)+24)/* bottomMargin←v16208 */ ) = (word) GetStylePoints←P3720(43, (word) (( (bPt) &var←c57152)+60) /* var←c52448 */ ); SOURCE(13275, 49) (* (( (ptr) &var←c57152)+25)/* footerMargin←v16236 */ ) = (word) GetStylePoints←P3720(45, (word) (( (bPt) &var←c57152)+60) /* var←c52448 */ ); SOURCE(13326, 60) { word pd258; word x259; pd258 = (* (( (ptr) (* (( (ptr) gf←c57184)+195)/* var←c50400 */ ))+13) ); nColumns←v16264 = (x259 = (word) ( *( (fPt) ((* (ptr) pd258 ))))((* (( (ptr) &var←c57152)+21)/* nodeStyle←v15984 */ ), 48, pd258) , MAX((int)(word), x259, 1)); }; SOURCE(13388, 69) columnGap←v16292 = (word) GetStyleParam←P240((* (( (ptr) &var←c57152)+21)/* nodeStyle←v15984 */ ), (* (( (ptr) gf←c57184)+85) ), (* (ptr) &fc260 ), (* (( (ptr) &var←c57152)+6)/* styleKind←v8132 */ )); SOURCE(13459, 43) pageWidth←v16320 = (word) GetStylePoints←P3720(38, (word) (( (bPt) &var←c57152)+60)/* var←c52448 */ ); SOURCE(13504, 45) (* (( (ptr) &var←c57152)+26)/* pageLength←v16348 */ ) = (word) GetStylePoints←P3720(39, (word) (( (bPt) &var←c57152)+60) /* var←c52448 */ ); SOURCE(13551, 75) { word x261; word x262; word x263; word x264; float tf265; float tf266; word x267; float tf268; (* (( (ptr) &var←c57152)+27)/* totalWidth←v16376 */ ) = ( tf268 = FMAX((((( x261 = pageWidth←v16320, *(float*)&x261 ) - ( x262 = leftMargin←v16068, *(float*)&x262 )) - ( x263 = rightMargin←v16096, *(float*)&x263 )) - ( x264 = bindingMargin←v16124, *(float*)&x264 )), ( x267 = (* (ptr) &fc123 ), *(float*)&x267 ), tf265, tf266), *(word*)&tf268 ); }; SOURCE(13628, 72) { word x269; word x270; float tf271; float tf272; word x273; float tf274; (* (( (ptr) &var←c57152)+28)/* lineWidth←v16404 */ ) = ( tf274 = FMAX(((( x269 = (* (( (ptr) &var←c57152)+27)/* totalWidth←v16376 */ ), *(float*)&x269 ) - ((float)(int)(nColumns←v16264 - 1) * ( x270 = columnGap←v16292, *(float*)&x270 ))) / (float)(int)nColumns←v16264), ( x273 = (* (ptr) &fc123 ), *(float*)&x273 ), tf271, tf272), *(word*)&tf274 ); }; SOURCE(13702, 92) { word x275; word x276; word x277; word x278; word x279; float tf280; float tf281; word x282; float tf283; (* (( (ptr) &var←c57152)+29)/* pageBodyHeight←v16432 */ ) = ( tf283 = FMAX(((((( x275 = (* (( (ptr) &var←c57152)+26)/* pageLength←v16348 */ ), *(float*)&x275 ) - ( x276 = (* (( (ptr) &var←c57152)+22)/* topMargin←v16152 */ ), *(float*)&x276 )) - ( x277 = (* (( (ptr) &var←c57152)+24)/* bottomMargin←v16208 */ ), *(float*)&x277 )) - ( x278 = (* (( (ptr) &var←c57152)+23)/* headerMargin←v16180 */ ), *(float*)&x278 )) - ( x279 = (* (( (ptr) &var←c57152)+25)/* footerMargin←v16236 */ ), *(float*)&x279 )), ( x282 = (* (ptr) &fc123 ), *(float*)&x282 ), tf280, tf281), *(word*)&tf283 ); }; SOURCE(13796, 33) bodyHeight←v16460 = (* (( (ptr) &var←c57152)+29)/* pageBodyHeight←v16432 */ ); SOURCE(13831, 81) { word var←c52544; var←c52544 = (word) GetStyleParam←P240((* (( (ptr) &var←c57152)+21)/* nodeStyle←v15984 */ ), (* (( (ptr) gf←c57184)+86) ), (* (ptr) &fc284 ), (* ( ( (ptr) &var←c57152)+6)/* styleKind←v8132 */ )); { word pd285; pd285 = (* (( (ptr) (* (( (ptr) gf←c57184)+207)/* var←c52576 */ ))+6) ); (* (( (ptr) &var←c57152)+30)/* firstFolio←v16488 */ ) = (word) ( *( (fPt) ((* (ptr) pd285 ))))(var←c52544, pd285); }; }; SOURCE(13914, 95) { word var←c52608; var←c52608 = (word) GetStyleParam←P240((* (( (ptr) &var←c57152)+21)/* nodeStyle←v15984 */ ), (* (( (ptr) gf←c57184)+87) ), (* (ptr) &fc284 ), (* ( ( (ptr) &var←c57152)+6)/* styleKind←v8132 */ )); { word pd286; pd286 = (* (( (ptr) (* (( (ptr) gf←c57184)+207)/* var←c52576 */ ))+6) ); (* (( (ptr) &var←c57152)+31)/* firstVisibleFolio←v16516 */ ) = (word) ( *( (fPt) ((* (ptr) pd286 ))))(var←c52608, pd286) ; }; }; SOURCE(14011, 87) { word var←c52640; var←c52640 = (word) GetStyleParam←P240((* (( (ptr) &var←c57152)+21)/* nodeStyle←v15984 */ ), (* (( (ptr) gf←c57184)+88) ), (* (ptr) &fc123 ), (* ( ( (ptr) &var←c57152)+6)/* styleKind←v8132 */ )); { word pd287; pd287 = (* (( (ptr) (* (( (ptr) gf←c57184)+207)/* var←c52576 */ ))+6) ); (* (( (ptr) &var←c57152)+32)/* lastDropFolio←v16544 */ ) = (word) ( *( (fPt) ((* (ptr) pd287 ))))(var←c52640, pd287); }; }; SOURCE(14100, 71) { word x288; word x290; (* (( (ptr) &var←c57152)+33)/* twoSided←v16572 */ ) = (unsigned) (( x288 = (word) GetStyleParam←P240((* (( (ptr) &var←c57152)+21)/* nodeStyle←v15984 */ ), (* (( (ptr) gf←c57184)+89) ), (* (ptr) &fc284 ), (* ( ( (ptr) &var←c57152)+6)/* styleKind←v8132 */ )), *(float*)&x288 ) > ( x290 = (* (ptr) &fc289 ), *(float*)&x290 )); }; SOURCE(14173, 87) { word var←c52672; var←c52672 = (word) GetStyleParam←P240((* (( (ptr) &var←c57152)+21)/* nodeStyle←v15984 */ ), (* (( (ptr) gf←c57184)+90) ), (* (ptr) &fc123 ), (* ( ( (ptr) &var←c57152)+6)/* styleKind←v8132 */ )); { word pd291; pd291 = (* (( (ptr) (* (( (ptr) gf←c57184)+207)/* var←c52576 */ ))+6) ); (* (( (ptr) &var←c57152)+34)/* firstHeaders←v16600 */ ) = (word) ( *( (fPt) ((* (ptr) pd291 ))))(var←c52672, pd291); }; }; SOURCE(16973, 117) { word x292; word x293; *(float*)(( (ptr) &var←c57152)+35)/* leftMarg←v16684 */ = ( x292 = leftMargin←v16068, *(float*)&x292 ) + ( x293 = ( ((0 == (* (( (ptr) &var←c57152)+33)/* twoSided←v16572 */ )) || ( (int)IOP2( % , (int)((* (( (ptr) &var←c57152)+4) /* pageCounter←v8020 */ ) + (* (( (ptr) &var←c57152)+30)/* firstFolio←v16488 */ )), (int)2) == (int)1)) ? bindingMargin←v16124 : (* (ptr) &fc123 ) ) , *(float*)&x293 ); }; SOURCE(17725, 28) pageList←v16740.f0 = 0; pageList←v16740.f1 = 0; SOURCE(17800, 26) (* (( (ptr) &var←c57152)+36)/* pageNumberFont←v16824 */ ) = 0; SOURCE(17828, 29) (* (( (ptr) &var←c57152)+37)/* pageNumberTopIndent←v16852 */ ) = (* (ptr) &fc123 ); SOURCE(17859, 29) (* (( (ptr) &var←c57152)+38)/* pageNumberBotIndent←v16880 */ ) = (* (ptr) &fc123 ); SOURCE(17890, 69) { word pd294; pd294 = (* (( (ptr) (* (( (ptr) gf←c57184)+200)/* var←c50656 */ ))+17) ); (void) ( *( (fPt) ((* (ptr) pd294 ))))((* (( (ptr) &var←c57152)+21)/* nodeStyle←v15984 */ ), (* (( (ptr) gf←c57184)+91) ), (* (( (ptr) gf←c57184)+92) ), (* (( (ptr) &var←c57152)+6)/* styleKind←v8132 */ ), pd294); }; SOURCE(17961, 230) { word var←c52736; { word pd295; pd295 = (* (( (ptr) (* (( (ptr) gf←c57184)+195)/* var←c50400 */ ))+12) ); var←c52736 = (word) ( *( (fPt) ((* (ptr) pd295 ))))((* (( (ptr) &var←c57152)+21)/* nodeStyle←v15984 */ ), 1, pd295); }; { word pd296; pd296 = (* (( (ptr) (* (( (ptr) gf←c57184)+208)/* var←c52768 */ ))+5) ); (* (( (ptr) &var←c57152)+36)/* pageNumberFont←v16824 */ ) = (word) ( *( (fPt) ((* (ptr) pd296 ))))((* (( (ptr) (* (( (ptr) &var←c57152)+21) /* nodeStyle←v15984 */ ))+6) ), (* (( (ptr) (* (( (ptr) &var←c57152)+21)/* nodeStyle←v15984 */ ))+7) ), (unsigned) (((unsigned)(* (bPt) (* ( ( (ptr) &var←c57152)+21)/* nodeStyle←v15984 */ ) ) << 26) >> 30), var←c52736, (unsigned) (((unsigned)(* (bPt) (* (( (ptr) &var←c57152)+21) /* nodeStyle←v15984 */ ) ) << 28) >> 30), pd296); }; }; SOURCE(18193, 61) { word pd297; pd297 = (* (( (ptr) (* (( (ptr) gf←c57184)+195)/* var←c50400 */ ))+12) ); (* (( (ptr) &var←c57152)+37)/* pageNumberTopIndent←v16852 */ ) = (word) ( *( (fPt) ((* (ptr) pd297 ))))((* (( (ptr) &var←c57152)+21) /* nodeStyle←v15984 */ ), 19, pd297); }; SOURCE(18256, 64) { word pd298; pd298 = (* (( (ptr) (* (( (ptr) gf←c57184)+195)/* var←c50400 */ ))+12) ); (* (( (ptr) &var←c57152)+38)/* pageNumberBotIndent←v16880 */ ) = (word) ( *( (fPt) ((* (ptr) pd298 ))))((* (( (ptr) &var←c57152)+21) /* nodeStyle←v15984 */ ), 20, pd298); }; SOURCE(18322, 682) if (( (int)nColumns←v16264 > (int)1)) { SOURCE(18343, 666) { /* declaration of haveTitle←v17548 skipped */ W3 formattedTitle←v17604; SOURCE(18345, 23) (* (( (ptr) &var←c57152)+39)/* haveTitle←v17548 */ ) = 0; SOURCE(18639, 152) { W3 var←c0314; { W2 var←c52800; var←c52800.f0 = (* (( (ptr) &var←c57152)+27)/* totalWidth←v16376 */ ); var←c52800.f1 = bodyHeight←v16460; (void) FormatNodes←P300((word) &var←c0314, loc←v16040, var←c52800, (* (( (ptr) &var←c57152)+6)/* styleKind←v8132 */ ), (word) ( ( (bPt) &var←c57152)+28)/* var←c52320 */ , (word) (( (bPt) &var←c57152)+68)/* var←c52480 */ ); }; formattedTitle←v17604 = var←c0314; }; SOURCE(18793, 211) if ((0 != (* (( (ptr) &var←c57152)+39)/* haveTitle←v17548 */ ))) { SOURCE(18811, 195) { word boxes←v17648; word rebox←v17676; SOURCE(18813, 7) boxes←v17648 = (word) UnBox←P1920(formattedTitle←v17604.f0); SOURCE(18861, 31) { W2 var←c52832; W2 var←c52864; var←c52832.f0 = 0; var←c52832.f1 = (* (ptr) &fc123 ); var←c52864.f0 = 0; var←c52864.f1 = (* (ptr) &fc123 ); rebox←v17676 = (word) BoxFromList←P1260(boxes←v17648, var←c52832, var←c52864); }; SOURCE(18894, 20) pageTitleBox←v16768 = rebox←v17676; SOURCE(18916, 59) { word x299; float tf300; word x301; float tf302; float tf303; word x304; float tf305; bodyHeight←v16460 = ( tf305 = FMAX((( x299 = bodyHeight←v16460, *(float*)&x299 ) - FABS(( /*1*/ x301 = (* (( (ptr) rebox←v17676)+8) ), *(float*)&x301 /*1*/ ), tf300)), ( x304 = (* (ptr) &fc123 ), *(float*)&x304 ), tf302, tf303), *(word*)&tf305 ); }; SOURCE(18977, 27) loc←v16040 = (* (W2Pt) (( (ptr) &formattedTitle←v17604)+1) ); }; }; }; }; SOURCE(19012, 28) { word pd306; pd306 = (* (( (ptr) (* (( (ptr) gf←c57184)+200)/* var←c50656 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd306 ))))((* ((( (ptr) &var←c57152)+21)/* nodeStyle←v15984 */ ) ), pd306); }; SOURCE(19042, 15) (* (( (ptr) &var←c57152)+21)/* nodeStyle←v15984 */ ) = 0; SOURCE(19059, 319) { register word c←v17804 = 0; if (( (int)c←v17804 >= (int)nColumns←v16264)) { goto lab←L100028; }; lab←L100031: ; if ((loc←v16040.f0 != 0)) { } else { goto lab←L100028; }; { W3 formatted←v17848; SOURCE(19111, 143) { W3 var←c0322; { W2 var←c52896; var←c52896.f0 = (* (( (ptr) &var←c57152)+28)/* lineWidth←v16404 */ ); var←c52896.f1 = bodyHeight←v16460; (void) FormatNodes←P300((word) &var←c0322, loc←v16040, var←c52896, (* (( (ptr) &var←c57152)+6)/* styleKind←v8132 */ ), (word) ( ( (bPt) &var←c57152)+52)/* var←c52416 */ , (word) (( (bPt) &var←c57152)+68)/* var←c52480 */ ); }; formatted←v17848 = var←c0322; }; SOURCE(19256, 51) { word x307; word x308; *(float*)(( (ptr) formatted←v17848.f0)+7) = ( x307 = (* (( (ptr) &var←c57152)+28)/* lineWidth←v16404 */ ), *(float*)&x307 ) + ( x308 = columnGap←v16292, *(float*)&x308 ); }; (* (( (ptr) formatted←v17848.f0)+8) ) = (* (ptr) &fc123 ); SOURCE(19309, 45) (void) AppendBox←P2700((word) &pageList←v16740, pageList←v16740, formatted←v17848.f0); SOURCE(19356, 22) loc←v16040 = (* (W2Pt) (( (ptr) &formatted←v17848)+1) ); }; c←v17804 = (c←v17804 + 1); if (( (int)c←v17804 < (int)nColumns←v16264)) { goto lab←L100031; }; lab←L100028: ; }; SOURCE(19389, 36) { W2 var←c52928; W2 var←c52960; var←c52928.f0 = 0; var←c52928.f1 = (* (ptr) &fc123 ); var←c52960.f0 = 0; var←c52960.f1 = (* (ptr) &fc123 ); pageBox←v16796 = (word) BoxFromList←P1260(pageList←v16740.f0, var←c52928, var←c52960); }; SOURCE(19427, 140) if ((pageTitleBox←v16768 != 0)) { SOURCE(19454, 115) { W2 t←v17892; SOURCE(19456, 21) t←v17892.f0 = 0; t←v17892.f1 = 0; SOURCE(19479, 30) (void) AppendBox←P2700((word) &t←v17892, t←v17892, pageTitleBox←v16768); SOURCE(19511, 25) (void) AppendBox←P2700((word) &t←v17892, t←v17892, pageBox←v16796); SOURCE(19538, 29) { W2 var←c53024; W2 var←c53056; var←c53024.f0 = 0; var←c53024.f1 = (* (ptr) &fc123 ); var←c53056.f0 = 0; var←c53056.f1 = (* (ptr) &fc123 ); pageBox←v16796 = (word) BoxFromList←P1260(t←v17892.f0, var←c53024, var←c53056); }; }; }; SOURCE(19572, 94) { word var←c53088; var←c53088 = (word) HeadersAndFooters←P3900((word) ((( (bPt) &var←c57152)+36)/* var←c52352 */ )); { W2 var←c53120; var←c53120.f0 = (* (( (ptr) &var←c57152)+35)/* leftMarg←v16684 */ ); { word x309; word x310; word x311; *(float*)&var←c53120.f1 = (( x309 = (* (( (ptr) &var←c57152)+26)/* pageLength←v16348 */ ), *(float*)&x309 ) - ( x310 = (* (( (ptr) &var←c57152)+22)/* topMargin←v16152 */ ), *(float*)&x310 )) - ( x311 = (* (( (ptr) &var←c57152)+23)/* headerMargin←v16180 */ ), *(float*)&x311 ); }; pageBox←v16796 = (word) Overlay←P1620(var←c53088, pageBox←v16796, var←c53120); }; }; SOURCE(19668, 91) var←c8176.f0 = pageBox←v16796; (* (W2Pt) (( (ptr) &var←c8176)+1) ) = loc←v16040; var←c8176.f3 = (* (( (ptr) &var←c57152)+20)/* botMarks←v15900 */ ); var←c8176.f4 = ((* (( (ptr) &var←c57152)+4)/* pageCounter←v8020 */ ) + (* (( (ptr) &var←c57152)+30)/* firstFolio←v16488 */ )); /* removed tail goto */ (* (W5Pt) formal←c0333 ) = var←c8176; return; } static word GetSeparator←P3660(i←v16956, formal←c57248) word i←v16956; word formal←c57248; { register ptr gf←c57216 = (ptr) &globalframe; word var←c17000; word key←v17936; formal←c57248 = (formal←c57248 - 68); /* GetSeparator: */ SOURCE(12371, 278) SOURCE(12371, 278) var←c17000 = 0; SOURCE(12436, 140) { word var←c53184; var←c53184 = i←v16956; switch (var←c53184) { case 2: key←v17936 = (* (( (ptr) gf←c57216)+68) ); break; case 3: key←v17936 = (* (( (ptr) gf←c57216)+74) ); break; case 4: key←v17936 = (* (( (ptr) gf←c57216)+93) ); break; case 5: key←v17936 = (* (( (ptr) gf←c57216)+95) ); break; default: key←v17936 = 0; break; }; }; SOURCE(12578, 71) if ((key←v17936 != 0)) { SOURCE(12596, 53) { word pd312; pd312 = (* (( (ptr) (* (( (ptr) gf←c57216)+202)/* var←c50784 */ ))+12) ); return(XR←Narrow((word) ( *( (fPt) ((* (ptr) pd312 ))))((* (( (ptr) formal←c57248)+20) ), key←v17936, pd312), (* (( (ptr) gf←c57216)+31) ))); }; }; SOURCE(12371, 278) return(var←c17000); } static word GetStylePoints←P3720(param←v17144, formal←c57312) word param←v17144; word formal←c57312; { register ptr gf←c57280 = (ptr) &globalframe; word var←c17188; formal←c57312 = (formal←c57312 - 60); /* GetStylePoints: */ SOURCE(12761, 114) SOURCE(12830, 45) { word pd313; pd313 = (* (( (ptr) (* (( (ptr) gf←c57280)+195)/* var←c50400 */ ))+12) ); return((word) ( *( (fPt) ((* (ptr) pd313 ))))((* (( (ptr) formal←c57312)+21) ), param←v17144, pd313)); }; } static void myFilter←P3780(formal←c0362, node←v44828, level←v44856, position←v44884, formal←c57408) word formal←c0362; W2 node←v44828; word level←v44856; W2 position←v44884; word formal←c57408; { W8 var←c57344; register ptr gf←c57376 = (ptr) &globalframe; word skip←v44928; word stop←v44956; word maxLineLength←v44984; /* declaration of var←c53280 skipped */ formal←c57408 = (formal←c57408 - 52); var←c57344.f0 = formal←c57408; /* myFilter: */ SOURCE(14262, 1510) { word tmpAddr314; tmpAddr314 = (word) (( (ptr) &var←c57344)+4)/* var←c53280 */ ; (* (ptr) tmpAddr314 ) = ( ((word) (fPt) markFilter←P4308) ); (* (( (ptr) tmpAddr314) + 1) ) = 1; }; SOURCE(14262, 1510) skip←v44928 = 0; SOURCE(14262, 1510) stop←v44956 = 0; SOURCE(14262, 1510) maxLineLength←v44984 = 2139095039; SOURCE(14287, 107) if (((* (( (ptr) formal←c57408)+5) ) != 0)) { SOURCE(14308, 86) { W3 var←c53312; { word pd315; pd315 = (* (( (ptr) formal←c57408)+5) ); (void) ( *( (fPt) ((* (ptr) pd315 ))))((word) &var←c53312, node←v44828, level←v44856, position←v44884, pd315); }; maxLineLength←v44984 = var←c53312.f2; stop←v44956 = var←c53312.f1; skip←v44928 = var←c53312.f0; }; }; SOURCE(14396, 1376) if ((0 == skip←v44928)) { SOURCE(14413, 1364) { /* declaration of filterStart←v17980 skipped */ word markProp←v18036; SOURCE(14415, 37) (* (W2Pt) (( (ptr) &var←c57344)+6)/* filterStart←v17980 */ ) = node←v44828; SOURCE(14531, 60) { word pd316; pd316 = (* (( (ptr) (* (( (ptr) gf←c57376)+204)/* var←c50976 */ ))+5) ); markProp←v18036 = XR←Narrow((word) ( *( (fPt) ((* (ptr) pd316 ))))(node←v44828.f0, (* (( (ptr) gf←c57376)+94) ), pd316), (* ( ( (ptr) gf←c57376)+35) )); }; if ((markProp←v18036 == 0)) { goto lab←L100033; }; if (( (unsigned) (*(int*)markProp←v18036<0) == 0)) { goto lab←L100033; }; (void) XR←RaiseError(XR←NarrowFault, 0); lab←L100033: ; SOURCE(14593, 1179) { word pd317; pd317 = (* (( (ptr) (* (( (ptr) gf←c57376)+196)/* var←c50496 */ ))+15) ); if (( (int)(word) ( *( (fPt) ((* (ptr) pd317 ))))(markProp←v18036, pd317) != (int)0)) { SOURCE(14623, 1151) { word markAtom←v18080; word inColumn←v18108; word width←v18136; word height←v18164; SOURCE(14625, 51) markAtom←v18080 = (word) GetMarkAtom←P420(markProp←v18036, (* (W2Pt) (( (ptr) &var←c57344)+6)/* filterStart←v17980 */ )) ; SOURCE(14678, 126) { word var←c53376; var←c53376 = markAtom←v18080; if ((((var←c53376 == (* (( (ptr) gf←c57376)+68) )) || (var←c53376 == (* (( (ptr) gf←c57376)+74) ))) || (var←c53376 == (* ( ( (ptr) gf←c57376)+93) ))) || (var←c53376 == (* (( (ptr) gf←c57376)+95) ))) { inColumn←v18108 = 1; } else { inColumn←v18108 = 0; }; }; SOURCE(14806, 56) width←v18136 = ( (0 != inColumn←v18108) ? (* (( (ptr) formal←c57408)+28) ) : (* (( (ptr) formal←c57408)+27) ) ) ; SOURCE(14864, 433) { word var←c53408; var←c53408 = markAtom←v18080; if (((((((((var←c53408 == (* (( (ptr) gf←c57376)+51) )) || (var←c53408 == (* (( (ptr) gf←c57376)+50) ))) || (var←c53408 == (* ( ( (ptr) gf←c57376)+49) ))) || (var←c53408 == (* (( (ptr) gf←c57376)+48) ))) || (var←c53408 == (* (( (ptr) gf←c57376)+47) ))) || (var←c53408 == (* ( ( (ptr) gf←c57376)+46) ))) || (var←c53408 == (* (( (ptr) gf←c57376)+45) ))) || (var←c53408 == (* (( (ptr) gf←c57376)+44) ))) || (var←c53408 == (* ( ( (ptr) gf←c57376)+43) ))) { height←v18164 = (* (( (ptr) formal←c57408)+23) ); } else { if (((((((((var←c53408 == (* (( (ptr) gf←c57376)+42) )) || (var←c53408 == (* (( (ptr) gf←c57376)+41) ))) || (var←c53408 == (* ( ( (ptr) gf←c57376)+53) ))) || (var←c53408 == (* (( (ptr) gf←c57376)+56) ))) || (var←c53408 == (* (( (ptr) gf←c57376)+57) ))) || (var←c53408 == (* ( ( (ptr) gf←c57376)+58) ))) || (var←c53408 == (* (( (ptr) gf←c57376)+59) ))) || (var←c53408 == (* (( (ptr) gf←c57376)+60) ))) || (var←c53408 == (* ( ( (ptr) gf←c57376)+61) ))) { height←v18164 = (* (( (ptr) formal←c57408)+25) ); } else { height←v18164 = (* (( (ptr) formal←c57408)+29) ); }; }; }; SOURCE(15299, 454) if ((markAtom←v18080 != 0)) { SOURCE(15324, 429) { word pd318; pd318 = (* (( (ptr) (* (( (ptr) gf←c57376)+203)/* var←c50912 */ ))+6) ); if (( (int)(word) ( *( (fPt) ((* (ptr) pd318 ))))(node←v44828.f0, pd318) == (int)0)) { SOURCE(15363, 54) { /*1*/ word pd319; /*1*/ pd319 = (* (( (ptr) (* (( (ptr) gf←c57376)+202)/* var←c50784 */ ))+14) ); /*1*/ (* (( (ptr) formal←c57408)+20) ) = (word) ( *( (fPt) ((* (ptr) pd319 ))))((* (( (ptr) formal←c57408)+20) ), markAtom←v18080, 0, pd319) /*1*/ ; /*1*/ }; } else { SOURCE(15426, 329) { /*1*/ word bx←v18208; /*1*/ W3 var←c0359; /*1*/ word mark←v18236; SOURCE(15428, 115) /*1*/ { /*1*/ W2 var←c53440; /*1*/ var←c53440.f0 = width←v18136; /*1*/ var←c53440.f1 = height←v18164; /*1*/ (void) FormatNodes←P300((word) &var←c0359, node←v44828, var←c53440, (* (( (ptr) formal←c57408)+6) ), (word) (( (bPt) &var←c57344)+16) /*1*/ /* var←c53280 */ , 0); /*1*/ }; /*1*/ bx←v18208 = var←c0359.f0; SOURCE(15545, 6) /*1*/ mark←v18236 = (word) UnBox←P1920(bx←v18208); SOURCE(15576, 13) /*1*/ (void) Duplicate←P2580(bx←v18208); SOURCE(15591, 96) /*1*/ { /*1*/ register word p←v18364; /*1*/ p←v18364 = mark←v18236; /*1*/ lab←L100037: ; /*1*/ if ((p←v18364 != 0)) { /*1*/ } /*1*/ else { /*1*/ goto lab←L100034; /*1*/ }; SOURCE(15640, 22) /*1*/ if (((* (ptr) p←v18364 ) == 0)) { SOURCE(15662, 5) /*1*/ (void) XR←RaiseUnnamedError(); /*1*/ }; SOURCE(15669, 18) /*1*/ (void) Duplicate←P2580((* (ptr) (p←v18364) )); /*1*/ p←v18364 = (* (( (ptr) p←v18364)+1) ); /*1*/ goto lab←L100037; /*1*/ lab←L100034: ; /*1*/ }; SOURCE(15698, 55) /*1*/ { /*1*/ word pd320; /*1*/ pd320 = (* (( (ptr) (* (( (ptr) gf←c57376)+202)/* var←c50784 */ ))+14) ); /*1*/ (* (( (ptr) formal←c57408)+20) ) = (word) ( *( (fPt) ((* (ptr) pd320 ))))((* (( (ptr) formal←c57408)+20) ), markAtom←v18080, mark←v18236, pd320) /*1*/ ; /*1*/ }; /*1*/ }; }; }; }; SOURCE(15761, 11) skip←v44928 = 1; }; }; }; }; }; /* removed tail goto */ (* (ptr) formal←c0362 ) = skip←v44928; (* (( (ptr) formal←c0362)+1) ) = stop←v44956; (* (( (ptr) formal←c0362)+2) ) = maxLineLength←v44984; return; } static void markFilter←P4308(formal←c0369, node←v45484, level←v45512, position←v45540, formal←c57440) word formal←c0369; W2 node←v45484; word level←v45512; W2 position←v45540; word formal←c57440; { word skip←v45584; word stop←v45612; word maxLineLength←v45640; formal←c57440 = (formal←c57440 - 16); /* markFilter: */ SOURCE(14454, 25) SOURCE(14454, 25) skip←v45584 = 0; SOURCE(14454, 25) stop←v45612 = 0; SOURCE(14454, 25) maxLineLength←v45640 = 2139095039; SOURCE(14481, 45) if ( ! XR←EqualWords(&node←v45484, (( (ptr) formal←c57440)+6), 2)) { SOURCE(14508, 18) stop←v45612 = 1; skip←v45584 = 1; }; /* removed tail goto */ (* (ptr) formal←c0369 ) = skip←v45584; (* (( (ptr) formal←c0369)+1) ) = stop←v45612; (* (( (ptr) formal←c0369)+2) ) = maxLineLength←v45640; return; } static word CatMarks←P3840(items←v17248, formal←c57504) word items←v17248; word formal←c57504; { register ptr gf←c57472 = (ptr) &globalframe; word var←c17460; word pageNumber←v18492; W2 boxes←v18520; word result←v18548 = 0; word pageKey←v18576; formal←c57504 = (formal←c57504 - 44); /* CatMarks: */ SOURCE(15783, 1187) SOURCE(15846, 40) pageNumber←v18492 = ((* (( (ptr) formal←c57504)+4) ) + (* (( (ptr) formal←c57504)+30) )); SOURCE(15888, 17) boxes←v18520.f0 = 0; boxes←v18520.f1 = 0; SOURCE(15926, 73) pageKey←v18576 = ( ( (int)pageNumber←v18492 <= (int)(* (( (ptr) formal←c57504)+32) )) ? (* (( (ptr) gf←c57472)+55) ) : (* ( ( (ptr) gf←c57472)+54) ) ) ; SOURCE(16001, 819) { register word p←v18620; p←v18620 = items←v17248; lab←L100042: ; if ((p←v18620 != 0)) { } else { goto lab←L100039; }; { word b←v18832 = 0; SOURCE(16074, 623) { register word q←v18876; q←v18876 = (* (ptr) p←v18620 ); lab←L100046: ; if ( ( (b←v18832 == 0) ? (q←v18876 != 0) : 0 ) ) { } else { goto lab←L100043; }; { word key←v19004; SOURCE(16140, 19) key←v19004 = (* (ptr) q←v18876 ); SOURCE(16161, 536) if ( ( ( (key←v19004 == pageKey←v18576) ? (0 != (* (( (ptr) formal←c57504)+19) )) : 0 ) ? ( (int)pageNumber←v18492 >= (int)(* ( ( (ptr) formal←c57504)+31) )) : 0 ) ) { SOURCE(16239, 289) { word pageFigure←v19048; SOURCE(16241, 50) { word pd321; pd321 = (* (( (ptr) (* (( (ptr) gf←c57472)+206)/* var←c52288 */ ))+27) ); pageFigure←v19048 = (word) ( *( (fPt) ((* (ptr) pd321 ))))(pageNumber←v18492, 8, 1, pd321); }; SOURCE(16293, 43) b←v18832 = (word) BoxFromRope←P960((* (( (ptr) formal←c57504)+36) ), pageFigure←v19048); SOURCE(16338, 40) (* (( (ptr) b←v18832)+7) ) = (* (ptr) &fc123 ); { word x322; *(float*)(( (ptr) b←v18832)+8) = - ( x322 = (* (( (ptr) formal←c57504)+38) ), *(float*)&x322 ); }; SOURCE(16380, 80) { word var←c53504; { word var←c53536; word var←c53568; var←c53536 = XR←NewObject(8, (* (( (ptr) gf←c57472)+31) )); var←c53568 = var←c53536; { /*1*/ W2 var←c53632; /*1*/ W2 var←c53664; /*1*/ W2 var←c53696; /*1*/ var←c53632.f0 = (* (ptr) &fc123 ); /*1*/ { /*1*/ word x323; /*1*/ *(float*)&var←c53632.f1 = - ( /*1*/ x323 = (* (( (ptr) formal←c57504)+37) ), *(float*)&x323 /*1*/ ); /*1*/ }; /*1*/ var←c53664.f0 = (* (ptr) &fc123 ); /*1*/ var←c53664.f1 = (* (ptr) &fc123 ); /*1*/ var←c53696.f0 = (* (ptr) &fc123 ); /*1*/ var←c53696.f1 = (* (ptr) &fc123 ); /*1*/ (* (ptr) var←c53568 ) = (word) EmptyBox←P720(var←c53632, var←c53664, var←c53696); /*1*/ }; (* (( (ptr) var←c53568)+1) ) = XR←NewObject(8, (* (( (ptr) gf←c57472)+31) )); var←c53568 = (* (( (ptr) var←c53568)+1) ); (* (ptr) var←c53568 ) = b←v18832; var←c53504 = var←c53536; }; { W2 var←c53728; W2 var←c53760; var←c53728.f0 = 0; var←c53728.f1 = (* (ptr) &fc123 ); var←c53760.f0 = 0; var←c53760.f1 = (* (ptr) &fc123 ); b←v18832 = (word) BoxFromList←P1260(var←c53504, var←c53728, var←c53760); }; }; SOURCE(16462, 39) (* (( (ptr) b←v18832)+7) ) = (* (( (ptr) b←v18832)+3) ); (* (( (ptr) b←v18832)+8) ) = (* (ptr) &fc123 ); SOURCE(16503, 23) (* (( (ptr) formal←c57504)+19) ) = 0; }; } else { SOURCE(16535, 167) { word list←v19092; SOURCE(16537, 6) { word pd324; pd324 = (* (( (ptr) (* (( (ptr) gf←c57472)+202)/* var←c50784 */ ))+12) ); list←v19092 = XR←Narrow((word) ( *( (fPt) ((* (ptr) pd324 ))))((* (( (ptr) formal←c57504)+20) ), key←v19004, pd324), (* ( /*1*/ ( (ptr) gf←c57472)+31) )); }; SOURCE(16602, 95) if ((list←v19092 != 0)) { SOURCE(16621, 21) { W2 var←c53824; W2 var←c53856; var←c53824.f0 = 0; var←c53824.f1 = (* (ptr) &fc123 ); var←c53856.f0 = 0; var←c53856.f1 = (* (ptr) &fc123 ); b←v18832 = (word) BoxFromList←P1260(list←v19092, var←c53824, var←c53856); }; SOURCE(16644, 12) (void) Duplicate←P2580(b←v18832); SOURCE(16658, 39) (* (( (ptr) b←v18832)+7) ) = (* (( (ptr) b←v18832)+3) ); (* (( (ptr) b←v18832)+8) ) = (* (ptr) &fc123 ); }; }; }; }; q←v18876 = (* (( (ptr) q←v18876)+1) ); goto lab←L100046; lab←L100043: ; }; SOURCE(16714, 30) if ((b←v18832 == 0)) { SOURCE(16730, 14) { W2 var←c53920; W2 var←c53952; W2 var←c53984; var←c53920.f0 = (* (ptr) &fc123 ); var←c53920.f1 = (* (ptr) &fc123 ); var←c53952.f0 = (* (ptr) &fc123 ); var←c53952.f1 = (* (ptr) &fc123 ); var←c53984.f0 = (* (ptr) &fc123 ); var←c53984.f1 = (* (ptr) &fc123 ); b←v18832 = (word) EmptyBox←P720(var←c53920, var←c53952, var←c53984); }; }; SOURCE(16746, 45) (* (( (ptr) b←v18832)+9) ) = (* (ptr) (* (( (ptr) (* (( (ptr) gf←c57472)+195)/* var←c50400 */ ))+9) ) ); (* (( (ptr) b←v18832)+10) ) = (* (ptr) &fc123 ); SOURCE(16793, 27) (void) AppendBox←P2700((word) &boxes←v18520, boxes←v18520, b←v18832); }; p←v18620 = (* (( (ptr) p←v18620)+1) ); goto lab←L100042; lab←L100039: ; }; SOURCE(16831, 55) if ((boxes←v18520.f1 != 0)) { SOURCE(16856, 30) (* (( (ptr) (* (ptr) boxes←v18520.f1 ))+9) ) = (* (ptr) &fc123 ); }; SOURCE(16888, 64) { W2 var←c54016; W2 var←c54048; var←c54016.f0 = 1; var←c54016.f1 = (* (( (ptr) formal←c57504)+27) ); var←c54048.f0 = 0; var←c54048.f1 = (* (ptr) &fc123 ); result←v18548 = (word) BoxFromList←P1260(boxes←v18520.f0, var←c54016, var←c54048); }; SOURCE(16954, 16) return(result←v18548); } static word HeadersAndFooters←P3900(formal←c57568) word formal←c57568; { register ptr gf←c57536 = (ptr) &globalframe; word var←c17520; word topItems←v19220; word botItems←v19248; word b←v19276; formal←c57568 = (formal←c57568 - 36); /* HeadersAndFooters: */ SOURCE(17092, 628) SOURCE(17134, 10) topItems←v19220 = (* (( (ptr) gf←c57536)+11)/* topRectoItems←v4540 */ ); SOURCE(17182, 10) botItems←v19248 = (* (( (ptr) gf←c57536)+12)/* botRectoItems←v4568 */ ); SOURCE(17230, 19) { W2 var←c54080; W2 var←c54112; W2 var←c54144; var←c54080.f0 = (* (ptr) &fc123 ); var←c54080.f1 = (* (ptr) &fc123 ); var←c54112.f0 = (* (ptr) &fc123 ); var←c54112.f1 = (* (ptr) &fc123 ); var←c54144.f0 = (* (ptr) &fc123 ); var←c54144.f1 = (* (ptr) &fc123 ); b←v19276 = (word) EmptyBox←P720(var←c54080, var←c54112, var←c54144); }; SOURCE(17251, 175) if ((0 != (* (( (ptr) formal←c57568)+33) ))) { SOURCE(17268, 158) { word var←c54176; var←c54176 = IOP2( % , (int)((* (( (ptr) formal←c57568)+4) ) + (* (( (ptr) formal←c57568)+30) )), (int)2); if (( (int)var←c54176 == (int)0)) { SOURCE(17317, 24) topItems←v19220 = (* (( (ptr) gf←c57536)+9)/* topVersoItems←v4484 */ ); SOURCE(17343, 24) botItems←v19248 = (* (( (ptr) gf←c57536)+10)/* botVersoItems←v4512 */ ); } else { if (( (int)var←c54176 == (int)1)) { SOURCE(17376, 24) topItems←v19220 = (* (( (ptr) gf←c57536)+11)/* topRectoItems←v4540 */ ); SOURCE(17402, 24) botItems←v19248 = (* (( (ptr) gf←c57536)+12)/* botRectoItems←v4568 */ ); } else { }; }; }; }; SOURCE(17446, 259) if (( (int)((* (( (ptr) formal←c57568)+4) ) + (* (( (ptr) formal←c57568)+30) )) >= (int)(* (( (ptr) formal←c57568)+34) ))) { SOURCE(17495, 212) { word headerBox←v19656; word footerBox←v19684; SOURCE(17497, 35) headerBox←v19656 = (word) CatMarks←P3840(topItems←v19220, (word) (( (bPt) formal←c57568)+44)); SOURCE(17534, 35) footerBox←v19684 = (word) CatMarks←P3840(botItems←v19248, (word) (( (bPt) formal←c57568)+44)); SOURCE(17571, 73) { W2 var←c54208; var←c54208.f0 = (* (( (ptr) formal←c57568)+35) ); { word x325; word x326; *(float*)&var←c54208.f1 = ( x325 = (* (( (ptr) formal←c57568)+24) ), *(float*)&x325 ) - ( x326 = (* (( (ptr) footerBox←v19684)+2) ), *(float*)&x326 ); }; b←v19276 = (word) Overlay←P1620(b←v19276, footerBox←v19684, var←c54208); }; SOURCE(17646, 59) { W2 var←c54240; var←c54240.f0 = (* (( (ptr) formal←c57568)+35) ); { word x327; word x328; *(float*)&var←c54240.f1 = ( x327 = (* (( (ptr) formal←c57568)+26) ), *(float*)&x327 ) - ( x328 = (* (( (ptr) formal←c57568)+22) ), *(float*)&x328 ); }; b←v19276 = (word) Overlay←P1620(b←v19276, headerBox←v19656, var←c54240); }; }; }; SOURCE(17710, 10) return(b←v19276); } static void titleFilter←P4008(formal←c0420, node←v45268, level←v45296, position←v45324, formal←c57632) word formal←c0420; W2 node←v45268; word level←v45296; W2 position←v45324; word formal←c57632; { register ptr gf←c57600 = (ptr) &globalframe; word skip←v45368; word stop←v45396; word maxLineLength←v45424; formal←c57632 = (formal←c57632 - 28); /* titleFilter: */ SOURCE(18370, 26) SOURCE(18370, 26) skip←v45368 = 0; SOURCE(18370, 26) stop←v45396 = 0; SOURCE(18370, 26) maxLineLength←v45424 = 2139095039; SOURCE(18398, 54) { word pd329; pd329 = (* (( (ptr) (* (( (ptr) gf←c57600)+200)/* var←c50656 */ ))+15) ); (void) ( *( (fPt) ((* (ptr) pd329 ))))((* (( (ptr) formal←c57632)+21) ), node←v45268.f0, (* (( (ptr) formal←c57632)+6) ), pd329) ; }; SOURCE(18454, 71) { word pd330; pd330 = (* (( (ptr) (* (( (ptr) gf←c57600)+195)/* var←c50400 */ ))+13) ); if (( (int)(word) ( *( (fPt) ((* (ptr) pd330 ))))((* (( (ptr) formal←c57632)+21) ), 48, pd330) != (int)1)) { SOURCE(18505, 11) stop←v45396 = 1; SOURCE(18518, 7) goto lab←L100047; }; }; SOURCE(18528, 61) { W3 var←c54272; (void) myFilter←P3780((word) &var←c54272, node←v45268, level←v45296, position←v45324, (word) (( (bPt) formal←c57632)+52)) ; maxLineLength←v45424 = var←c54272.f2; stop←v45396 = var←c54272.f1; skip←v45368 = var←c54272.f0; }; SOURCE(18591, 43) if ( ( (0 == skip←v45368) ? (0 == stop←v45396) : 0 ) ) { SOURCE(18618, 16) (* (( (ptr) formal←c57632)+39) ) = 1; }; /* removed tail goto */ lab←L100047: ; (* (ptr) formal←c0420 ) = skip←v45368; (* (( (ptr) formal←c0420)+1) ) = stop←v45396; (* (( (ptr) formal←c0420)+2) ) = maxLineLength←v45424; return; } static void TiogaRender←P540(box←v8236, formal←c0746, position←v8292) word box←v8236; word formal←c0746; W2 position←v8292; { W8 var←c57664; /* declaration of context←v8264 skipped */ register ptr gf←c57696 = (ptr) &globalframe; /* declaration of var←c54304 skipped */ /* declaration of lineInfo←v19728 skipped */ var←c57664.f4/* context←v8264 */ = formal←c0746; /* TiogaRender: */ SOURCE(19926, 854) { word tmpAddr331; tmpAddr331 = (word) (( (ptr) &var←c57664)+5)/* var←c54304 */ ; (* (ptr) tmpAddr331 ) = ( ((word) (fPt) Action←P4896) ); (* (( (ptr) tmpAddr331) + 1) ) = 1; }; SOURCE(19992, 49) var←c57664.f7/* lineInfo←v19728 */ = XR←Narrow((* (( (ptr) box←v8236)+15) ), (* (( (ptr) gf←c57696)+30) )); SOURCE(20043, 56) { word x332; word pd333; word x334; pd333 = (* (( (ptr) (* (( (ptr) gf←c57696)+194)/* var←c50336 */ ))+20) ); *(float*)&position←v8292.f0 = ( x332 = position←v8292.f0, *(float*)&x332 ) + ( x334 = (word) ( *( (fPt) ((* (ptr) pd333 ))))((* ((( (ptr) var←c57664.f7/* lineInfo←v19728 */ )+9)) ), pd333), *(float*)&x334 ); }; SOURCE(20101, 31) { word pd335; pd335 = (* (( (ptr) (* (( (ptr) gf←c57696)+209)/* var←c54336 */ ))+21) ); (void) ( *( (fPt) ((* (ptr) pd335 ))))(var←c57664.f4/* context←v8264 */ , position←v8292, pd335); }; SOURCE(20134, 646) { word x336; word x337; if ( ( ( ( (0 != (* (( (ptr) gf←c57696)+14)/* useCorrect←v4652 */ )) ? ((* (( (ptr) var←c57664.f7/* lineInfo←v19728 */ )+3) ) == 0) : 0 ) ? (( x336 = (* (( (ptr) var←c57664.f7/* lineInfo←v19728 */ )+18) ), *(float*)&x336 ) != ( x337 = (* (ptr) &fc284 ), *(float*)&x337 )) : 0 ) ? ((* (( (ptr) var←c57664.f7/* lineInfo←v19728 */ )+19) ) <= (* (( (ptr) var←c57664.f7/* lineInfo←v19728 */ )+14) )) : 0 ) ) { SOURCE(20267, 468) { word w←v19800 = 0; word nChars←v19828; SOURCE(20357, 108) { word idx338; nChars←v19828 = ( idx338 = (word) ((* (( (ptr) var←c57664.f7/* lineInfo←v19728 */ )+14) ) + ( ((* (( (ptr) var←c57664.f7/* lineInfo←v19728 */ )+15) ) == 2147483647) ? 1 : INEG((* (( (ptr) var←c57664.f7/* lineInfo←v19728 */ )+15) )) ) ), SGNCK(idx338) ); }; SOURCE(20467, 75) { register word i←v19888 = 0; if ((i←v19888 >= nChars←v19828)) { goto lab←L100048; }; lab←L100051: ; SOURCE(20496, 46) { word var←c54400; word b←v47008; word var←c54432; { word limit339; var←c54432 = (* (ptr) var←c57664.f7/* lineInfo←v19728 */ ); b←v47008 = (* (( (W3Pt) (( (ptr) var←c54432)+1))+( limit339 = (* (ptr) var←c54432 ), BCK(i←v19888, limit339) )) ).f2; }; { word i←v33612; i←v33612 = (w←v19800 + b←v47008); var←c54400 = i←v33612; }; w←v19800 = var←c54400; }; i←v19888 = (i←v19888 + 1); if ((i←v19888 < nChars←v19828)) { goto lab←L100051; }; lab←L100048: ; }; SOURCE(20553, 59) { W2 var←c54528; var←c54528.f0 = (* (ptr) &fc340 ); var←c54528.f1 = (* (ptr) &fc340 ); { word pd341; pd341 = (* (( (ptr) (* (( (ptr) gf←c57696)+209)/* var←c54336 */ ))+48) ); (void) ( *( (fPt) ((* (ptr) pd341 ))))(var←c57664.f4/* context←v8264 */ , var←c54528, pd341); }; }; SOURCE(20614, 69) { word var←c54560; { word pd342; pd342 = (* (( (ptr) (* (( (ptr) gf←c57696)+194)/* var←c50336 */ ))+20) ); var←c54560 = (word) ( *( (fPt) ((* (ptr) pd342 ))))(w←v19800, pd342); }; { W2 var←c54592; var←c54592.f0 = var←c54560; var←c54592.f1 = (* (ptr) &fc123 ); { word pd343; pd343 = (* (( (ptr) (* (( (ptr) gf←c57696)+209)/* var←c54336 */ ))+47) ); (void) ( *( (fPt) ((* (ptr) pd343 ))))(var←c57664.f4/* context←v8264 */ , var←c54592, pd343); }; }; }; SOURCE(20685, 48) { word pd344; pd344 = (* (( (ptr) (* (( (ptr) gf←c57696)+209)/* var←c54336 */ ))+50) ); (void) ( *( (fPt) ((* (ptr) pd344 ))))(var←c57664.f4/* context←v8264 */ , (word) (( (bPt) &var←c57664)+20)/* var←c54304 */ , pd344) ; }; }; } else { SOURCE(20744, 36) { word pd345; pd345 = (* (( (ptr) (* (( (ptr) gf←c57696)+192)/* var←c50240 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd345 ))))(var←c57664.f7/* lineInfo←v19728 */ , var←c57664.f4/* context←v8264 */ , pd345); }; }; }; } static void Action←P4896(formal←c57760) word formal←c57760; { register ptr gf←c57728 = (ptr) &globalframe; formal←c57760 = (formal←c57760 - 20); /* Action: */ SOURCE(20269, 15) SOURCE(20286, 37) { word pd346; pd346 = (* (( (ptr) (* (( (ptr) gf←c57728)+192)/* var←c50240 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd346 ))))((* (( (ptr) formal←c57760)+7) ), (* (( (ptr) formal←c57760)+4) ), pd346); }; } static void TiogaResolve←P600(formal←c0442, box←v8352, p←v8380) word formal←c0442; word box←v8352; W2 p←v8380; { register ptr gf←c57792 = (ptr) &globalframe; W2 loc←v8424; word lineInfo←v19932; /* TiogaResolve: */ SOURCE(20824, 277) SOURCE(20824, 277) loc←v8424.f0 = 0; loc←v8424.f1 = (word) -1; SOURCE(20923, 49) lineInfo←v19932 = XR←Narrow((* (( (ptr) box←v8352)+15) ), (* (( (ptr) gf←c57792)+30) )); { word var←c54624; W5 var←c0441; SOURCE(20974, 32) if ((0 == (word) InBox←P1440(p←v8380, box←v8352))) { SOURCE(21000, 6) goto lab←L100054; }; SOURCE(21008, 93) { word pd347; word x348; float tf349; float tf350; word x351; float tf352; float tf353; word x354; float tf355; pd347 = (* (( (ptr) (* (( (ptr) gf←c57792)+207)/* var←c52576 */ ))+6) ); var←c54624 = (word) ( *( (fPt) ((* (ptr) pd347 ))))(( tf355 = FMIN(FMAX(( x348 = p←v8380.f0, *(float*)&x348 ), ( - ( x351 = (* (( (ptr) gf←c57792)+15)/* realInteger←v4708 */ ), *(float*)&x351 )), tf349, tf350), ( x354 = (* (( (ptr) gf←c57792)+15)/* realInteger←v4708 */ ), *(float*)&x354 ), tf352, tf353), *(word*)&tf355 ), pd347); }; { word pd356; pd356 = (* (( (ptr) (* (( (ptr) gf←c57792)+192)/* var←c50240 */ ))+7) ); (void) ( *( (fPt) ((* (ptr) pd356 ))))((word) &var←c0441, lineInfo←v19932, var←c54624, pd356); }; loc←v8424 = (* (W2Pt) &var←c0441 ); }; /* removed tail goto */ lab←L100054: ; (* (W2Pt) formal←c0442 ) = loc←v8424; return; } static void TiogaDestroy←P660(box←v8484) word box←v8484; { register ptr gf←c57824 = (ptr) &globalframe; word lineInfo←v19976; /* TiogaDestroy: */ SOURCE(21107, 130) SOURCE(21141, 49) lineInfo←v19976 = XR←Narrow((* (( (ptr) box←v8484)+15) ), (* (( (ptr) gf←c57824)+30) )); SOURCE(21192, 14) (* (( (ptr) box←v8484)+15) ) = 0; SOURCE(21208, 29) { word pd357; pd357 = (* (( (ptr) (* (( (ptr) gf←c57824)+192)/* var←c50240 */ ))+11) ); (void) ( *( (fPt) ((* (ptr) pd357 ))))(lineInfo←v19976, pd357); }; } static word EmptyBox←P720(escapement←v8544, stretch←v8572, shrink←v8600) W2 escapement←v8544; W2 stretch←v8572; W2 shrink←v8600; { register ptr gf←c57856 = (ptr) &globalframe; word box←v8644; /* EmptyBox: */ SOURCE(21243, 276) SOURCE(21243, 276) box←v8644 = 0; SOURCE(21357, 162) { word var←c54656; var←c54656 = XR←NewObject(68, (* (( (ptr) gf←c57856)+37) )); (* (( (ptr) var←c54656)+1) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c54656)+2) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c54656)+3) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c54656)+4) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c54656)+5) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c54656)+6) ) = (* (ptr) &fc123 ); (* (W2Pt) (( (ptr) var←c54656)+7) ) = escapement←v8544; (* (W2Pt) (( (ptr) var←c54656)+9) ) = stretch←v8572; (* (W2Pt) (( (ptr) var←c54656)+11) ) = shrink←v8600; (* (( (ptr) var←c54656)+13) ) = (* (( (ptr) gf←c57856)+16)/* emptyClass←v4820 */ ); box←v8644 = var←c54656; }; SOURCE(21243, 276) return(box←v8644); } static word BoxFromChar←P780(font←v8704, char←v8732) word font←v8704; word char←v8732; { word var←c8776; /* BoxFromChar: */ SOURCE(21619, 114) SOURCE(21687, 46) return((word) BoxFromXChar←P840(font←v8704, char←v8732)); } static word BoxFromXChar←P840(font←v8836, xchar←v8864) word font←v8836; word xchar←v8864; { register ptr gf←c57888 = (ptr) &globalframe; word box←v8908; W2 w←v20020; W2 flex←v20048; /* BoxFromXChar: */ SOURCE(21737, 420) SOURCE(21737, 420) box←v8908 = 0; SOURCE(21813, 43) { word pd358; pd358 = (* (( (ptr) (* (( (ptr) gf←c57888)+210)/* var←c54720 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd358 ))))((word) &w←v20020, font←v8836, xchar←v8864, pd358); }; SOURCE(21858, 67) { word pd359; pd359 = (* (( (ptr) (* (( (ptr) gf←c57888)+210)/* var←c54720 */ ))+15) ); if ((0 != (word) ( *( (fPt) ((* (ptr) pd359 ))))(font←v8836, xchar←v8864, pd359))) { flex←v20048 = w←v20020; } else { flex←v20048.f0 = (* (ptr) &fc123 ); flex←v20048.f1 = (* (ptr) &fc123 ); }; }; SOURCE(21927, 230) { W4 var←c54784; word var←c54880; word var←c54944; { W4 var←c54816; { word pd360; pd360 = (* (( (ptr) (* (( (ptr) gf←c57888)+210)/* var←c54720 */ ))+17) ); (void) ( *( (fPt) ((* (ptr) pd360 ))))((word) &var←c54816, font←v8836, xchar←v8864, pd360); }; { W4 var←c0463; { word pd361; pd361 = (* (( (ptr) (* (( (ptr) gf←c57888)+211)/* var←c54848 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd361 ))))((word) &var←c0463, var←c54816, pd361); }; var←c54784 = var←c0463; }; }; { word var←c54912; var←c54912 = XR←NewObject(8, (* (( (ptr) gf←c57888)+29) )); (* (ptr) var←c54912 ) = font←v8836; (* (( (ptr) var←c54912)+1) ) = xchar←v8864; var←c54880 = var←c54912; }; var←c54944 = XR←NewObject(68, (* (( (ptr) gf←c57888)+37) )); (* (ptr) var←c54944 ) = 1; (* (W4Pt) (( (ptr) var←c54944)+1) ) = var←c54784; (* (( (ptr) var←c54944)+5) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c54944)+6) ) = (* (ptr) &fc123 ); (* (W2Pt) (( (ptr) var←c54944)+7) ) = w←v20020; (* (W2Pt) (( (ptr) var←c54944)+9) ) = flex←v20048; (* (W2Pt) (( (ptr) var←c54944)+11) ) = flex←v20048; (* (( (ptr) var←c54944)+13) ) = (* (( (ptr) gf←c57888)+17)/* xCharClass←v4932 */ ); (* (( (ptr) var←c54944)+15) ) = var←c54880; box←v8908 = var←c54944; }; SOURCE(21737, 420) return(box←v8908); } static void XCharRender←P900(box←v9040, context←v9068, position←v9096) word box←v9040; word context←v9068; W2 position←v9096; { register ptr gf←c57920 = (ptr) &globalframe; word data←v20092; /* XCharRender: */ SOURCE(22324, 218) SOURCE(22390, 44) data←v20092 = XR←Narrow((* (( (ptr) box←v9040)+15) ), (* (( (ptr) gf←c57920)+29) )); SOURCE(22436, 34) { word pd362; pd362 = (* (( (ptr) (* (( (ptr) gf←c57920)+209)/* var←c54336 */ ))+30) ); (void) ( *( (fPt) ((* (ptr) pd362 ))))(context←v9068, (* (ptr) data←v20092 ), pd362); }; SOURCE(22472, 31) { word pd363; pd363 = (* (( (ptr) (* (( (ptr) gf←c57920)+209)/* var←c54336 */ ))+21) ); (void) ( *( (fPt) ((* (ptr) pd363 ))))(context←v9068, position←v9096, pd363); }; SOURCE(22505, 37) { word pd364; pd364 = (* (( (ptr) (* (( (ptr) gf←c57920)+209)/* var←c54336 */ ))+36) ); (void) ( *( (fPt) ((* (ptr) pd364 ))))(context←v9068, (* (( (ptr) data←v20092)+1) ), pd364); }; } static word BoxFromRope←P960(font←v9156, rope←v9184) word font←v9156; word rope←v9184; { register ptr gf←c57952 = (ptr) &globalframe; word box←v9228; /* BoxFromRope: */ SOURCE(22548, 362) SOURCE(22548, 362) box←v9228 = 0; SOURCE(22626, 284) { word var←c54976; W4 var←c55008; W2 var←c55072; word var←c55104; word var←c55168; { word pd365; pd365 = (* (( (ptr) (* (( (ptr) gf←c57952)+196)/* var←c50496 */ ))+15) ); var←c54976 = (word) ( *( (fPt) ((* (ptr) pd365 ))))(rope←v9184, pd365); }; { W4 var←c55040; { word pd366; pd366 = (* (( (ptr) (* (( (ptr) gf←c57952)+210)/* var←c54720 */ ))+28) ); (void) ( *( (fPt) ((* (ptr) pd366 ))))((word) &var←c55040, font←v9156, rope←v9184, 0, 2147483647, (* (ptr) &fc284 ), pd366) ; }; { W4 var←c0478; { word pd367; pd367 = (* (( (ptr) (* (( (ptr) gf←c57952)+211)/* var←c54848 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd367 ))))((word) &var←c0478, var←c55040, pd367); }; var←c55008 = var←c0478; }; }; { word pd368; pd368 = (* (( (ptr) (* (( (ptr) gf←c57952)+210)/* var←c54720 */ ))+25) ); (void) ( *( (fPt) ((* (ptr) pd368 ))))((word) &var←c55072, font←v9156, rope←v9184, 0, 2147483647, (* (ptr) &fc284 ), pd368) ; }; { word var←c55136; var←c55136 = XR←NewObject(8, (* (( (ptr) gf←c57952)+28) )); (* (ptr) var←c55136 ) = font←v9156; (* (( (ptr) var←c55136)+1) ) = rope←v9184; var←c55104 = var←c55136; }; var←c55168 = XR←NewObject(68, (* (( (ptr) gf←c57952)+37) )); (* (ptr) var←c55168 ) = var←c54976; (* (W4Pt) (( (ptr) var←c55168)+1) ) = var←c55008; (* (( (ptr) var←c55168)+5) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c55168)+6) ) = (* (ptr) &fc123 ); (* (W2Pt) (( (ptr) var←c55168)+7) ) = var←c55072; (* (( (ptr) var←c55168)+9) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c55168)+10) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c55168)+11) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c55168)+12) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c55168)+13) ) = (* (( (ptr) gf←c57952)+18)/* ropeClass←v5044 */ ); (* (( (ptr) var←c55168)+15) ) = var←c55104; box←v9228 = var←c55168; }; SOURCE(22548, 362) return(box←v9228); } static void RopeRender←P1020(box←v9360, context←v9388, position←v9416) word box←v9360; word context←v9388; W2 position←v9416; { register ptr gf←c57984 = (ptr) &globalframe; word data←v20148; /* RopeRender: */ SOURCE(23089, 214) SOURCE(23154, 43) data←v20148 = XR←Narrow((* (( (ptr) box←v9360)+15) ), (* (( (ptr) gf←c57984)+28) )); SOURCE(23199, 34) { word pd369; pd369 = (* (( (ptr) (* (( (ptr) gf←c57984)+209)/* var←c54336 */ ))+30) ); (void) ( *( (fPt) ((* (ptr) pd369 ))))(context←v9388, (* (ptr) data←v20148 ), pd369); }; SOURCE(23235, 31) { word pd370; pd370 = (* (( (ptr) (* (( (ptr) gf←c57984)+209)/* var←c54336 */ ))+21) ); (void) ( *( (fPt) ((* (ptr) pd370 ))))(context←v9388, position←v9416, pd370); }; SOURCE(23268, 35) { word pd371; pd371 = (* (( (ptr) (* (( (ptr) gf←c57984)+209)/* var←c54336 */ ))+38) ); (void) ( *( (fPt) ((* (ptr) pd371 ))))(context←v9388, (* (( (ptr) data←v20148)+1) ), 0, 2147483647, 0, pd371); }; } static word CalculateExpansion←P1080(fix←v9476, w←v9504, stretch←v9532, shrink←v9560) W2 fix←v9476; word w←v9504; word stretch←v9532; word shrink←v9560; { word e←v9604; /* CalculateExpansion: */ SOURCE(23309, 299) SOURCE(23393, 189) if ((fix←v9476.f0 == 0)) { SOURCE(23422, 19) e←v9604 = fix←v9476.f1; } else { SOURCE(23441, 143) { word denom←v20204; SOURCE(23443, 76) { word x372; word x373; word x374; word x375; word x376; denom←v20204 = ( ((( x372 = fix←v9476.f1, *(float*)&x372 ) == ( x373 = (* (ptr) &fc123 ), *(float*)&x373 )) || (( x374 = w←v9504, *(float*)&x374 ) / ( x375 = fix←v9476.f1, *(float*)&x375 ) > ( x376 = (* (ptr) &fc284 ), *(float*)&x376 ))) ? shrink←v9560 : stretch←v9532 ) ; }; SOURCE(23521, 61) { float tf377; word x378; word x380; word x381; word x382; word x383; if ((FABS(( x378 = denom←v20204, *(float*)&x378 ), tf377) > ( x380 = (* (ptr) &fc379 ), *(float*)&x380 ))) { *(float*)&e←v9604 = (( x381 = fix←v9476.f1, *(float*)&x381 ) - ( x382 = w←v9504, *(float*)&x382 )) / ( x383 = denom←v20204, *(float*)&x383 ); } else { e←v9604 = (* (ptr) &fc123 ); }; }; }; }; SOURCE(23587, 21) { word x384; word x386; if ((( x384 = e←v9604, *(float*)&x384 ) < ( x386 = (* (ptr) &fc385 ), *(float*)&x386 ))) { SOURCE(23602, 6) e←v9604 = (* (ptr) &fc385 ); }; }; SOURCE(23309, 299) return(e←v9604); } static void Advance←P1140(formal←c0501, w←v9664, by←v9692, expansion←v9720) word formal←c0501; W2 w←v9664; word by←v9692; W2 expansion←v9720; { register ptr gf←c58016 = (ptr) &globalframe; W2 var←c9764; /* Advance: */ SOURCE(23614, 399) SOURCE(23679, 24) { word pd387; pd387 = (* (( (ptr) (* (( (ptr) gf←c58016)+212)/* var←c55200 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd387 ))))((word) &w←v9664, w←v9664, (* (W2Pt) (( (ptr) by←v9692)+7) ), pd387); }; SOURCE(23705, 130) { word var←c55232; var←c55232 = expansion←v9720.f0; { word x389; word x390; word x391; word x392; word x396; word x397; if ((( x389 = var←c55232, *(float*)&x389 ) == ( x390 = (* (ptr) &fc123 ), *(float*)&x390 ))) { goto endif0388; }; if ((( x391 = var←c55232, *(float*)&x391 ) < ( x392 = (* (ptr) &fc123 ), *(float*)&x392 ))) { SOURCE(23753, 35) { word x393; word x394; word x395; *(float*)&w←v9664.f0 = ( x393 = w←v9664.f0, *(float*)&x393 ) + (( x394 = expansion←v9720.f0, *(float*)&x394 ) * ( x395 = (* (( (ptr) by←v9692)+11) ), *(float*)&x395 )); }; goto endif0388; }; if ((( x396 = var←c55232, *(float*)&x396 ) > ( x397 = (* (ptr) &fc123 ), *(float*)&x397 ))) { SOURCE(23799, 36) { word x398; word x399; word x400; *(float*)&w←v9664.f0 = ( x398 = w←v9664.f0, *(float*)&x398 ) + (( x399 = expansion←v9720.f0, *(float*)&x399 ) * ( x400 = (* (( (ptr) by←v9692)+9) ), *(float*)&x400 )); }; goto endif0388; }; goto endif0388; endif0388: ; }; }; SOURCE(23854, 130) { word var←c55264; var←c55264 = expansion←v9720.f1; { word x402; word x403; word x404; word x405; word x409; word x410; if ((( x402 = var←c55264, *(float*)&x402 ) == ( x403 = (* (ptr) &fc123 ), *(float*)&x403 ))) { goto endif0401; }; if ((( x404 = var←c55264, *(float*)&x404 ) < ( x405 = (* (ptr) &fc123 ), *(float*)&x405 ))) { SOURCE(23902, 35) { word x406; word x407; word x408; *(float*)&w←v9664.f1 = ( x406 = w←v9664.f1, *(float*)&x406 ) + (( x407 = expansion←v9720.f1, *(float*)&x407 ) * ( x408 = (* (( (ptr) by←v9692)+12) ), *(float*)&x408 )); }; goto endif0401; }; if ((( x409 = var←c55264, *(float*)&x409 ) > ( x410 = (* (ptr) &fc123 ), *(float*)&x410 ))) { SOURCE(23948, 36) { word x411; word x412; word x413; *(float*)&w←v9664.f1 = ( x411 = w←v9664.f1, *(float*)&x411 ) + (( x412 = expansion←v9720.f1, *(float*)&x412 ) * ( x413 = (* (( (ptr) by←v9692)+10) ), *(float*)&x413 )); }; goto endif0401; }; goto endif0401; endif0401: ; }; }; SOURCE(24003, 10) var←c9764 = w←v9664; /* removed tail goto */ (* (W2Pt) formal←c0501 ) = var←c9764; return; } static word CopyList←P1200(list←v9824) word list←v9824; { word var←c9952; W2 boxes←v20248; /* CopyList: */ SOURCE(24019, 225) SOURCE(24080, 25) boxes←v20248.f0 = 0; boxes←v20248.f1 = 0; SOURCE(24107, 107) { register word p←v20292; p←v20292 = list←v9824; lab←L100059: ; if ((p←v20292 != 0)) { } else { goto lab←L100056; }; SOURCE(24161, 18) (void) Duplicate←P2580((* (ptr) (p←v20292) )); SOURCE(24181, 33) (void) AppendBox←P2700((word) &boxes←v20248, boxes←v20248, (* (ptr) p←v20292 )); p←v20292 = (* (( (ptr) list←v9824)+1) ); goto lab←L100059; lab←L100056: ; }; SOURCE(24225, 19) return(boxes←v20248.f0); } static word BoxFromList←P1260(list←v10096, xFix←v10124, yFix←v10152) word list←v10096; W2 xFix←v10124; W2 yFix←v10152; { register ptr gf←c58048 = (ptr) &globalframe; word box←v10280; W2 w←v20420; W2 min←v20448; W2 max←v20476; W2 stretch←v20504; W2 shrink←v20532; W2 expansion←v20560; /* BoxFromList: */ SOURCE(24250, 1196) SOURCE(24250, 1196) box←v10280 = 0; SOURCE(24350, 15) w←v20420.f0 = (* (ptr) &fc123 ); w←v20420.f1 = (* (ptr) &fc123 ); SOURCE(24367, 51) min←v20448.f0 = 2139095039; min←v20448.f1 = 2139095039; SOURCE(24420, 53) { word x414; *(float*)&max←v20476.f0 = - ( x414 = 2139095039, *(float*)&x414 ); }; { word x415; *(float*)&max←v20476.f1 = - ( x415 = 2139095039, *(float*)&x415 ); }; SOURCE(24475, 21) stretch←v20504.f0 = (* (ptr) &fc123 ); stretch←v20504.f1 = (* (ptr) &fc123 ); SOURCE(24498, 20) shrink←v20532.f0 = (* (ptr) &fc123 ); shrink←v20532.f1 = (* (ptr) &fc123 ); SOURCE(24520, 23) expansion←v20560.f0 = (* (ptr) &fc123 ); expansion←v20560.f1 = (* (ptr) &fc123 ); SOURCE(24545, 155) { register word p←v20604; p←v20604 = list←v10096; lab←L100063: ; if ((p←v20604 != 0)) { } else { goto lab←L100060; }; SOURCE(24594, 29) { word pd416; pd416 = (* (( (ptr) (* (( (ptr) gf←c58048)+212)/* var←c55200 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd416 ))))((word) &w←v20420, w←v20420, (* (W2Pt) (( (ptr) (* (ptr) p←v20604 ))+7) ), pd416) ; }; SOURCE(24625, 38) { word pd417; pd417 = (* (( (ptr) (* (( (ptr) gf←c58048)+212)/* var←c55200 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd417 ))))((word) &stretch←v20504, stretch←v20504, (* (W2Pt) (( (ptr) (* (ptr) p←v20604 ))+9) ), pd417); }; SOURCE(24665, 35) { word pd418; pd418 = (* (( (ptr) (* (( (ptr) gf←c58048)+212)/* var←c55200 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd418 ))))((word) &shrink←v20532, shrink←v20532, (* (W2Pt) (( (ptr) (* (ptr) p←v20604 ))+11) ), pd418); }; p←v20604 = (* (( (ptr) p←v20604)+1) ); goto lab←L100063; lab←L100060: ; }; SOURCE(24711, 116) expansion←v20560.f0 = (word) CalculateExpansion←P1080(xFix←v10124, w←v20420.f0, stretch←v20504.f0, shrink←v20532.f0); expansion←v20560.f1 = (word) CalculateExpansion←P1080(yFix←v10152, w←v20420.f1, stretch←v20504.f1, shrink←v20532.f1); SOURCE(24829, 10) w←v20420.f0 = (* (ptr) &fc123 ); w←v20420.f1 = (* (ptr) &fc123 ); SOURCE(24841, 271) { register word p←v20732; p←v20732 = list←v10096; lab←L100067: ; if ((p←v20732 != 0)) { } else { goto lab←L100064; }; SOURCE(24890, 45) { word x419; float tf420; float tf421; word x422; word x423; float tf424; min←v20448.f0 = ( tf424 = FMIN(( x419 = min←v20448.f0, *(float*)&x419 ), (( x422 = w←v20420.f0, *(float*)&x422 ) + ( x423 = (* (( (ptr) (* (ptr) p←v20732 ))+1) ), *(float*)&x423 )), tf420, tf421), *(word*)&tf424 ); }; SOURCE(24937, 45) { word x425; float tf426; float tf427; word x428; word x429; float tf430; min←v20448.f1 = ( tf430 = FMIN(( x425 = min←v20448.f1, *(float*)&x425 ), (( x428 = w←v20420.f1, *(float*)&x428 ) + ( x429 = (* (( (ptr) (* (ptr) p←v20732 ))+2) ), *(float*)&x429 )), tf426, tf427), *(word*)&tf430 ); }; SOURCE(24984, 45) { word x431; float tf432; float tf433; word x434; word x435; float tf436; max←v20476.f0 = ( tf436 = FMAX(( x431 = max←v20476.f0, *(float*)&x431 ), (( x434 = w←v20420.f0, *(float*)&x434 ) + ( x435 = (* (( (ptr) (* (ptr) p←v20732 ))+3) ), *(float*)&x435 )), tf432, tf433), *(word*)&tf436 ); }; SOURCE(25031, 45) { word x437; float tf438; float tf439; word x440; word x441; float tf442; max←v20476.f1 = ( tf442 = FMAX(( x437 = max←v20476.f1, *(float*)&x437 ), (( x440 = w←v20420.f1, *(float*)&x440 ) + ( x441 = (* (( (ptr) (* (ptr) p←v20732 ))+4) ), *(float*)&x441 )), tf438, tf439), *(word*)&tf442 ); }; SOURCE(25078, 34) (void) Advance←P1140((word) &w←v20420, w←v20420, (* (ptr) p←v20732 ), expansion←v20560); p←v20732 = (* (( (ptr) p←v20732)+1) ); goto lab←L100067; lab←L100064: ; }; SOURCE(25123, 37) if ((list←v10096 == 0)) { SOURCE(25142, 18) { W2 var←c55520; var←c55520.f0 = (* (ptr) &fc123 ); var←c55520.f1 = (* (ptr) &fc123 ); max←v20476 = var←c55520; min←v20448 = var←c55520; }; }; SOURCE(25162, 41) if ((xFix←v10124.f0 == 1)) { SOURCE(25187, 16) w←v20420.f0 = xFix←v10124.f1; }; SOURCE(25205, 41) if ((yFix←v10152.f0 == 1)) { SOURCE(25230, 16) w←v20420.f1 = yFix←v10152.f1; }; SOURCE(25248, 198) { word var←c55552; var←c55552 = XR←NewObject(68, (* (( (ptr) gf←c58048)+37) )); (* (( (ptr) var←c55552)+1) ) = min←v20448.f0; (* (( (ptr) var←c55552)+2) ) = min←v20448.f1; (* (( (ptr) var←c55552)+3) ) = max←v20476.f0; (* (( (ptr) var←c55552)+4) ) = max←v20476.f1; (* (W2Pt) (( (ptr) var←c55552)+5) ) = expansion←v20560; (* (W2Pt) (( (ptr) var←c55552)+7) ) = w←v20420; (* (( (ptr) var←c55552)+9) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c55552)+10) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c55552)+11) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c55552)+12) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c55552)+13) ) = (* (( (ptr) gf←c58048)+19)/* listBoxClass←v5212 */ ); (* (( (ptr) var←c55552)+15) ) = list←v10096; box←v10280 = var←c55552; }; SOURCE(24250, 1196) return(box←v10280); } static word ListUnBox←P1320(box←v10340) word box←v10340; { register ptr gf←c58080 = (ptr) &globalframe; word list←v10384; /* ListUnBox: */ SOURCE(25593, 82) SOURCE(25593, 82) list←v10384 = 0; SOURCE(25652, 23) list←v10384 = XR←Narrow((* (( (ptr) box←v10340)+15) ), (* (( (ptr) gf←c58080)+31) )); SOURCE(25593, 82) return(list←v10384); } static void ListRender←P1380(box←v10528, context←v10556, position←v10584) word box←v10528; word context←v10556; W2 position←v10584; { register ptr gf←c58112 = (ptr) &globalframe; W2 w←v20860; W2 expansion←v20888; /* ListRender: */ SOURCE(25681, 240) SOURCE(25746, 17) w←v20860 = position←v10584; SOURCE(25765, 30) expansion←v20888 = (* (W2Pt) (( (ptr) box←v10528)+5) ); SOURCE(25797, 124) { register word p←v20932; p←v20932 = XR←Narrow((* (( (ptr) box←v10528)+15) ), (* (( (ptr) gf←c58112)+31) )); lab←L100071: ; if ((p←v20932 != 0)) { } else { goto lab←L100068; }; SOURCE(25858, 27) (void) Render←P2340((* (ptr) p←v20932 ), context←v10556, w←v20860); SOURCE(25887, 34) (void) Advance←P1140((word) &w←v20860, w←v20860, (* (ptr) p←v20932 ), expansion←v20888); p←v20932 = (* (( (ptr) p←v20932)+1) ); goto lab←L100071; lab←L100068: ; }; } static word InBox←P1440(p←v10644, box←v10672) W2 p←v10644; word box←v10672; { word var←c10716; /* InBox: */ SOURCE(25936, 147) SOURCE(25986, 97) { word tc443; word x444; word x445; word x446; word x447; word x448; word x449; word x450; word x451; if ( ( (( x444 = p←v10644.f0, *(float*)&x444 ) >= ( x445 = (* (( (ptr) box←v10672)+1) ), *(float*)&x445 )) ? (( x446 = p←v10644.f0, *(float*)&x446 ) <= ( x447 = (* (( (ptr) box←v10672)+3) ), *(float*)&x447 )) : 0 ) ) { if ((( x448 = p←v10644.f1, *(float*)&x448 ) >= ( x449 = (* (( (ptr) box←v10672)+2) ), *(float*)&x449 ))) { tc443 = (word) (unsigned) (( x450 = p←v10644.f1, *(float*)&x450 ) <= ( x451 = (* (( (ptr) box←v10672)+4) ), *(float*)&x451 )); } else { tc443 = (word) (unsigned) 0; }; } else { tc443 = (word) (unsigned) 0; }; return(tc443); }; } static void ListResolve←P1500(formal←c0549, box←v10776, p←v10804) word formal←c0549; word box←v10776; W2 p←v10804; { register ptr gf←c58144 = (ptr) &globalframe; W2 loc←v10848; W2 w←v21060; W2 expansion←v21088; word list←v21116; /* ListResolve: */ SOURCE(26087, 423) SOURCE(26087, 423) loc←v10848.f0 = 0; loc←v10848.f1 = (word) -1; SOURCE(26185, 15) w←v21060.f0 = (* (ptr) &fc123 ); w←v21060.f1 = (* (ptr) &fc123 ); SOURCE(26202, 30) expansion←v21088 = (* (W2Pt) (( (ptr) box←v10776)+5) ); SOURCE(26234, 6) list←v21116 = XR←Narrow((* (( (ptr) box←v10776)+15) ), (* (( (ptr) gf←c58144)+31) )); SOURCE(26272, 32) if ((0 == (word) InBox←P1440(p←v10804, box←v10776))) { SOURCE(26298, 6) goto lab←L100072; }; SOURCE(26306, 23) list←v21116 = XR←Narrow((* (( (ptr) box←v10776)+15) ), (* (( (ptr) gf←c58144)+31) )); SOURCE(26331, 179) { register word l←v21244; l←v21244 = list←v21116; lab←L100076: ; if ((l←v21244 != 0)) { } else { goto lab←L100073; }; { W2 pRel←v21372; W2 var←c55616; SOURCE(26380, 20) { word pd452; pd452 = (* (( (ptr) (* (( (ptr) gf←c58144)+212)/* var←c55200 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd452 ))))((word) &pRel←v21372, p←v10804, w←v21060, pd452); }; SOURCE(26402, 28) (void) Resolve←P2400((word) &loc←v10848, (* (ptr) l←v21244 ), pRel←v21372); SOURCE(26432, 42) var←c55616.f0 = 0; var←c55616.f1 = (word) -1; if ( ! XR←EqualWords(&loc←v10848, &var←c55616, 2)) { SOURCE(26468, 6) goto lab←L100072; }; SOURCE(26476, 34) (void) Advance←P1140((word) &w←v21060, w←v21060, (* (ptr) l←v21244 ), expansion←v21088); }; l←v21244 = (* (( (ptr) l←v21244)+1) ); goto lab←L100076; lab←L100073: ; }; /* removed tail goto */ lab←L100072: ; (* (W2Pt) formal←c0549 ) = loc←v10848; return; } static void ListDestroy←P1560(box←v10908) word box←v10908; { register ptr gf←c58176 = (ptr) &globalframe; word list←v21416; word rest←v21444 = 0; /* ListDestroy: */ SOURCE(26525, 219) SOURCE(26558, 6) list←v21416 = XR←Narrow((* (( (ptr) box←v10908)+15) ), (* (( (ptr) gf←c58176)+31) )); SOURCE(26621, 14) (* (( (ptr) box←v10908)+15) ) = 0; SOURCE(26637, 107) { register word l←v21656; l←v21656 = list←v21416; lab←L100080: ; if ((l←v21656 != 0)) { } else { goto lab←L100077; }; SOURCE(26684, 16) (void) Destroy←P2520((* (ptr) (l←v21656) )); SOURCE(26702, 13) rest←v21444 = (* (( (ptr) l←v21656)+1) ); SOURCE(26717, 13) (* (ptr) l←v21656 ) = 0; SOURCE(26732, 12) (* (( (ptr) l←v21656)+1) ) = 0; l←v21656 = rest←v21444; goto lab←L100080; lab←L100077: ; }; } static word Overlay←P1620(base←v10968, new←v10996, offset←v11024) word base←v10968; word new←v10996; W2 offset←v11024; { register ptr gf←c58208 = (ptr) &globalframe; word var←c11068; word data←v21784; /* Overlay: */ SOURCE(26759, 351) SOURCE(26828, 61) data←v21784 = XR←NewObject(16, (* (( (ptr) gf←c58208)+27) )); (* (ptr) data←v21784 ) = base←v10968; (* (( (ptr) data←v21784)+1) ) = new←v10996; (* (W2Pt) (( (ptr) data←v21784)+2) ) = offset←v11024; SOURCE(26891, 219) { W4 var←c0560; W4 var←c55712; word var←c55744; { word pd453; pd453 = (* (( (ptr) (* (( (ptr) gf←c58208)+211)/* var←c54848 */ ))+9) ); (void) ( *( (fPt) ((* (ptr) pd453 ))))((word) &var←c0560, (* (W4Pt) (( (ptr) base←v10968)+1) ), (* (W4Pt) (( (ptr) new←v10996)+1) ), pd453); }; var←c55712 = var←c0560; var←c55744 = XR←NewObject(68, (* (( (ptr) gf←c58208)+37) )); (* (W4Pt) (( (ptr) var←c55744)+1) ) = var←c55712; (* (( (ptr) var←c55744)+5) ) = (* (ptr) &fc123 ); (* (( (ptr) var←c55744)+6) ) = (* (ptr) &fc123 ); (* (W2Pt) (( (ptr) var←c55744)+7) ) = (* (W2Pt) (( (ptr) base←v10968)+7) ); (* (W2Pt) (( (ptr) var←c55744)+9) ) = (* (W2Pt) (( (ptr) base←v10968)+9) ); (* (W2Pt) (( (ptr) var←c55744)+11) ) = (* (W2Pt) (( (ptr) base←v10968)+11) ); (* (( (ptr) var←c55744)+13) ) = (* (( (ptr) gf←c58208)+20)/* overlayBoxClass←v5408 */ ); (* (( (ptr) var←c55744)+15) ) = data←v21784; return(var←c55744); }; } static void OverlayRender←P1680(box←v11240, context←v11268, position←v11296) word box←v11240; word context←v11268; W2 position←v11296; { register ptr gf←c58240 = (ptr) &globalframe; word data←v21828; /* OverlayRender: */ SOURCE(27366, 205) SOURCE(27434, 36) data←v21828 = XR←Narrow((* (( (ptr) box←v11240)+15) ), (* (( (ptr) gf←c58240)+27) )); SOURCE(27472, 36) (void) Render←P2340((* (ptr) data←v21828 ), context←v11268, position←v11296); SOURCE(27510, 61) { W2 var←c55776; { word pd454; pd454 = (* (( (ptr) (* (( (ptr) gf←c58240)+212)/* var←c55200 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd454 ))))((word) &var←c55776, position←v11296, (* (W2Pt) (( (ptr) data←v21828)+2) ), pd454) ; }; (void) Render←P2340((* (( (ptr) data←v21828)+1) ), context←v11268, var←c55776); }; } static void OverlayResolve←P1740(formal←c0576, box←v11356, p←v11384) word formal←c0576; word box←v11356; W2 p←v11384; { register ptr gf←c58272 = (ptr) &globalframe; W2 loc←v11428; word data←v21872; /* OverlayResolve: */ SOURCE(27577, 243) SOURCE(27577, 243) loc←v11428.f0 = 0; loc←v11428.f1 = (word) -1; SOURCE(27678, 36) data←v21872 = XR←Narrow((* (( (ptr) box←v11356)+15) ), (* (( (ptr) gf←c58272)+27) )); SOURCE(27716, 52) { W2 var←c55808; { word pd455; pd455 = (* (( (ptr) (* (( (ptr) gf←c58272)+212)/* var←c55200 */ ))+6) ); (void) ( *( (fPt) ((* (ptr) pd455 ))))((word) &var←c55808, p←v11384, (* (W2Pt) (( (ptr) data←v21872)+2) ), pd455); }; { W2 var←c0574; (void) Resolve←P2400((word) &var←c0574, (* (( (ptr) data←v21872)+1) ), var←c55808); loc←v11428 = var←c0574; }; }; SOURCE(27770, 50) if ((loc←v11428.f0 == 0)) { SOURCE(27793, 27) (void) Resolve←P2400((word) &loc←v11428, (* (ptr) data←v21872 ), p←v11384); }; /* removed tail goto */ (* (W2Pt) formal←c0576 ) = loc←v11428; return; } static void OverlayDestroy←P1800(box←v11488) word box←v11488; { register ptr gf←c58304 = (ptr) &globalframe; word data←v21916; /* OverlayDestroy: */ SOURCE(27826, 160) SOURCE(27862, 36) data←v21916 = XR←Narrow((* (( (ptr) box←v11488)+15) ), (* (( (ptr) gf←c58304)+27) )); SOURCE(27900, 17) (void) Destroy←P2520((* ((( (ptr) data←v21916)+1)) )); SOURCE(27919, 18) (void) Destroy←P2520((* (ptr) (data←v21916) )); SOURCE(27939, 14) (* (( (ptr) data←v21916)+1) ) = 0; SOURCE(27955, 15) (* (ptr) data←v21916 ) = 0; SOURCE(27972, 14) (* (( (ptr) box←v11488)+15) ) = 0; } static word Composite←P1860(box←v11548) word box←v11548; { word var←c11592; /* Composite: */ SOURCE(27992, 150) SOURCE(28045, 97) { word pd456; if (((* (ptr) (* (( (ptr) box←v11548)+13) ) ) == 0)) { return( (unsigned) ((* (( (ptr) (* (( (ptr) box←v11548)+13) ))+1) ) != 0)); } else { pd456 = (* (ptr) (* (( (ptr) box←v11548)+13) ) ); return((word) ( *( (fPt) ((* (ptr) pd456 ))))(box←v11548, pd456)); }; }; } static word UnBox←P1920(box←v11652) word box←v11652; { word list←v11696; /* UnBox: */ SOURCE(28146, 128) SOURCE(28146, 128) list←v11696 = 0; SOURCE(28208, 66) { word pd457; if (((* (( (ptr) (* (( (ptr) box←v11652)+13) ))+1) ) != 0)) { pd457 = (* (( (ptr) (* (( (ptr) box←v11652)+13) ))+1) ); list←v11696 = (word) ( *( (fPt) ((* (ptr) pd457 ))))(box←v11652, pd457); } else { list←v11696 = 0; }; }; SOURCE(28146, 128) return(list←v11696); } static word ModifyBox←P1980(box←v11840, m←v11868) word box←v11840; word m←v11868; { register ptr gf←c58336 = (ptr) &globalframe; word new←v11912; word data←v21960; /* ModifyBox: */ SOURCE(28280, 744) SOURCE(28280, 744) new←v11912 = 0; SOURCE(28356, 65) data←v21960 = XR←NewObject(8, (* (( (ptr) gf←c58336)+25) )); (* (ptr) data←v21960 ) = box←v11840; (* (( (ptr) data←v21960)+1) ) = m←v11868; SOURCE(28423, 140) { word var←c55904; var←c55904 = (* (( (ptr) box←v11840)+15) ); if ((var←c55904 == 0)) { goto lab←L100082; }; if (((* (( (ptr) gf←c58336)+25) ) == XR←GetReferentType(var←c55904))) { { word modified←v22016; modified←v22016 = var←c55904; SOURCE(28487, 23) (* (ptr) data←v21960 ) = (* (ptr) modified←v22016 ); SOURCE(28512, 51) { word pd458; pd458 = (* (( (ptr) (* (( (ptr) gf←c58336)+213)/* var←c55936 */ ))+13) ); (* (( (ptr) data←v21960)+1) ) = (word) ( *( (fPt) ((* (ptr) pd458 ))))((* (( (ptr) modified←v22016)+1) ), m←v11868, pd458) ; }; }; } else { lab←L100082: ; }; }; SOURCE(28585, 439) { W4 var←c55968; W2 var←c56064; W2 var←c56096; W2 var←c56128; word var←c56160; word var←c56224; { W4 var←c56000; { W4 var←c56032; { word pd459; pd459 = (* (( (ptr) (* (( (ptr) gf←c58336)+211)/* var←c54848 */ ))+5) ); (void) ( *( (fPt) ((* (ptr) pd459 ))))((word) &var←c56032, (* (W4Pt) (( (ptr) box←v11840)+1) ), pd459); }; { W4 var←c0593; { word pd460; pd460 = (* (( (ptr) (* (( (ptr) gf←c58336)+213)/* var←c55936 */ ))+46) ); (void) ( *( (fPt) ((* (ptr) pd460 ))))((word) &var←c0593, m←v11868, var←c56032, pd460); }; var←c56000 = var←c0593; }; }; { W4 var←c0594; { word pd461; pd461 = (* (( (ptr) (* (( (ptr) gf←c58336)+211)/* var←c54848 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd461 ))))((word) &var←c0594, var←c56000, pd461); }; var←c55968 = var←c0594; }; }; { word pd462; pd462 = (* (( (ptr) (* (( (ptr) gf←c58336)+213)/* var←c55936 */ ))+40) ); (void) ( *( (fPt) ((* (ptr) pd462 ))))((word) &var←c56064, m←v11868, (* (W2Pt) (( (ptr) box←v11840)+7) ), pd462); }; { word pd463; pd463 = (* (( (ptr) (* (( (ptr) gf←c58336)+213)/* var←c55936 */ ))+40) ); (void) ( *( (fPt) ((* (ptr) pd463 ))))((word) &var←c56096, m←v11868, (* (W2Pt) (( (ptr) box←v11840)+9) ), pd463); }; { word pd464; pd464 = (* (( (ptr) (* (( (ptr) gf←c58336)+213)/* var←c55936 */ ))+40) ); (void) ( *( (fPt) ((* (ptr) pd464 ))))((word) &var←c56128, m←v11868, (* (W2Pt) (( (ptr) box←v11840)+11) ), pd464); }; { word var←c56192; var←c56192 = XR←NewObject(8, (* (( (ptr) gf←c58336)+25) )); (* (ptr) var←c56192 ) = box←v11840; (* (( (ptr) var←c56192)+1) ) = m←v11868; var←c56160 = var←c56192; }; var←c56224 = XR←NewObject(68, (* (( (ptr) gf←c58336)+37) )); (* (ptr) var←c56224 ) = (* (ptr) box←v11840 ); (* (W4Pt) (( (ptr) var←c56224)+1) ) = var←c55968; (* (W2Pt) (( (ptr) var←c56224)+5) ) = (* (W2Pt) (( (ptr) box←v11840)+5) ); (* (W2Pt) (( (ptr) var←c56224)+7) ) = var←c56064; (* (W2Pt) (( (ptr) var←c56224)+9) ) = var←c56096; (* (W2Pt) (( (ptr) var←c56224)+11) ) = var←c56128; (* (( (ptr) var←c56224)+13) ) = (* (( (ptr) gf←c58336)+21)/* modifiedBoxClass←v5688 */ ); (* (( (ptr) var←c56224)+15) ) = var←c56160; new←v11912 = var←c56224; }; SOURCE(28280, 744) return(new←v11912); } static word ModifiedComposite←P2040(box←v12044) word box←v12044; { register ptr gf←c58368 = (ptr) &globalframe; word var←c12088; word modified←v22072; /* ModifiedComposite: */ SOURCE(29270, 140) SOURCE(29324, 51) modified←v22072 = XR←Narrow((* (( (ptr) box←v12044)+15) ), (* (( (ptr) gf←c58368)+25) )); SOURCE(29377, 33) return((word) Composite←P1860((* (ptr) (modified←v22072) ))); } static word ModifiedUnBox←P2100(box←v12148) word box←v12148; { register ptr gf←c58400 = (ptr) &globalframe; word var←c12192; word modified←v22128; word m←v22156; W2 b←v22184; word unmodified←v22212; /* ModifiedUnBox: */ SOURCE(29414, 334) SOURCE(29471, 51) modified←v22128 = XR←Narrow((* (( (ptr) box←v12148)+15) ), (* (( (ptr) gf←c58400)+25) )); SOURCE(29524, 30) m←v22156 = (* (( (ptr) modified←v22128)+1) ); SOURCE(29556, 21) b←v22184.f0 = 0; b←v22184.f1 = 0; SOURCE(29579, 12) unmodified←v22212 = (word) UnBox←P1920((* (ptr) (modified←v22128) )); SOURCE(29626, 96) { register word p←v22352; p←v22352 = unmodified←v22212; lab←L100086: ; if ((p←v22352 != 0)) { } else { goto lab←L100083; }; SOURCE(29683, 39) { word var←c56320; var←c56320 = (word) ModifyBox←P1980((* (ptr) p←v22352 ), m←v22156); (void) AppendBox←P2700((word) &b←v22184, b←v22184, var←c56320); }; p←v22352 = (* (( (ptr) p←v22352)+1) ); goto lab←L100086; lab←L100083: ; }; SOURCE(29733, 15) return(b←v22184.f0); } static void ModifiedRender←P2160(box←v12336, formal←c0747, formal←c0748) word box←v12336; word formal←c0747; W2 formal←c0748; { W10 var←c58432; /* declaration of context←v12364 skipped */ /* declaration of position←v12392 skipped */ register ptr gf←c58464 = (ptr) &globalframe; /* declaration of var←c56352 skipped */ /* declaration of modified←v22480 skipped */ (* (( (ptr) &var←c58432)+4)/* context←v12364 */ ) = formal←c0747; (* (W2Pt) (( (ptr) &var←c58432)+5)/* position←v12392 */ ) = formal←c0748; /* ModifiedRender: */ SOURCE(29754, 282) { word tmpAddr465; tmpAddr465 = (word) (( (ptr) &var←c58432)+7)/* var←c56352 */ ; (* (ptr) tmpAddr465 ) = ( ((word) (fPt) proc←P5484) ); (* (( (ptr) tmpAddr465) + 1) ) = 1; }; SOURCE(29823, 51) (* (( (ptr) &var←c58432)+9)/* modified←v22480 */ ) = XR←Narrow((* (( (ptr) box←v12336)+15) ), (* (( (ptr) gf←c58464)+25) )); SOURCE(30008, 28) { word pd466; pd466 = (* (( (ptr) (* (( (ptr) gf←c58464)+209)/* var←c54336 */ ))+12) ); (void) ( *( (fPt) ((* (ptr) pd466 ))))((* (( (ptr) &var←c58432)+4)/* context←v12364 */ ), (word) (( (bPt) &var←c58432)+28) /* var←c56352 */ , pd466); }; } static void proc←P5484(formal←c58528) word formal←c58528; { register ptr gf←c58496 = (ptr) &globalframe; formal←c58528 = (formal←c58528 - 28); /* proc: */ SOURCE(29876, 127) SOURCE(29891, 36) { word pd467; pd467 = (* (( (ptr) (* (( (ptr) gf←c58496)+209)/* var←c54336 */ ))+18) ); (void) ( *( (fPt) ((* (ptr) pd467 ))))((* (( (ptr) formal←c58528)+4) ), (* (W2Pt) (( (ptr) formal←c58528)+5) ), pd467); }; SOURCE(29929, 35) { word pd468; pd468 = (* (( (ptr) (* (( (ptr) gf←c58496)+209)/* var←c54336 */ ))+14) ); (void) ( *( (fPt) ((* (ptr) pd468 ))))((* (( (ptr) formal←c58528)+4) ), (* (( (ptr) (* (( (ptr) formal←c58528)+9) ))+1) ), pd468) ; }; SOURCE(29966, 37) { W2 var←c56384; var←c56384.f0 = (* (ptr) &fc123 ); var←c56384.f1 = (* (ptr) &fc123 ); (void) Render←P2340((* (ptr) (* (( (ptr) formal←c58528)+9) ) ), (* (( (ptr) formal←c58528)+4) ), var←c56384); }; } static void ModifiedResolve←P2220(formal←c0630, box←v12452, p←v12480) word formal←c0630; word box←v12452; W2 p←v12480; { register ptr gf←c58560 = (ptr) &globalframe; W2 loc←v12524; word modified←v22580; /* ModifiedResolve: */ SOURCE(30042, 240) SOURCE(30042, 240) loc←v12524.f0 = 0; loc←v12524.f1 = (word) -1; SOURCE(30144, 51) modified←v22580 = XR←Narrow((* (( (ptr) box←v12452)+15) ), (* (( (ptr) gf←c58560)+25) )); SOURCE(30197, 85) { W2 var←c56480; { W2 var←c56448; { word pd469; pd469 = (* (( (ptr) (* (( (ptr) gf←c58560)+213)/* var←c55936 */ ))+41) ); (void) ( *( (fPt) ((* (ptr) pd469 ))))((word) &var←c56448, (* (( (ptr) modified←v22580)+1) ), p←v12480, pd469); }; { W2 var←c0629; (void) Resolve←P2400((word) &var←c0629, (* (ptr) modified←v22580 ), var←c56448); var←c56480 = var←c0629; }; }; loc←v12524 = var←c56480; /* removed tail goto */ }; (* (W2Pt) formal←c0630 ) = loc←v12524; return; } static void ModifiedDestroy←P2280(box←v12584) word box←v12584; { register ptr gf←c58592 = (ptr) &globalframe; word modified←v22636; /* ModifiedDestroy: */ SOURCE(30286, 131) SOURCE(30323, 51) modified←v22636 = XR←Narrow((* (( (ptr) box←v12584)+15) ), (* (( (ptr) gf←c58592)+25) )); SOURCE(30376, 21) (void) Destroy←P2520((* (ptr) (modified←v22636) )); SOURCE(30399, 18) (* (ptr) modified←v22636 ) = 0; } static void Render←P2340(box←v12644, context←v12672, position←v12700) word box←v12644; word context←v12672; W2 position←v12700; { /* Render: */ SOURCE(30423, 139) SOURCE(30491, 71) if (((* (( (ptr) (* (( (ptr) box←v12644)+13) ))+2) ) != 0)) { SOURCE(30522, 40) { word pd470; pd470 = (* (( (ptr) (* (( (ptr) box←v12644)+13) ))+2) ); (void) ( *( (fPt) ((* (ptr) pd470 ))))(box←v12644, context←v12672, position←v12700, pd470); }; }; } static void Resolve←P2400(formal←c0641, box←v12760, p←v12788) word formal←c0641; word box←v12760; W2 p←v12788; { W2 loc←v12832; /* Resolve: */ SOURCE(30568, 167) SOURCE(30568, 167) loc←v12832.f0 = 0; loc←v12832.f1 = 0; SOURCE(30645, 90) if (((* (( (ptr) (* (( (ptr) box←v12760)+13) ))+3) ) != 0)) { { W2 var←c0639; { word pd471; pd471 = (* (( (ptr) (* (( (ptr) box←v12760)+13) ))+3) ); (void) ( *( (fPt) ((* (ptr) pd471 ))))((word) &var←c0639, box←v12760, p←v12788, pd471); }; loc←v12832 = var←c0639; }; } else { loc←v12832.f0 = 0; loc←v12832.f1 = (word) -1; }; /* removed tail goto */ (* (W2Pt) formal←c0641 ) = loc←v12832; return; } static void FirstLocWithin←P2460(formal←c0646, box←v12892) word formal←c0646; word box←v12892; { W2 loc←v12936; /* FirstLocWithin: */ SOURCE(30741, 177) SOURCE(30741, 177) loc←v12936.f0 = 0; loc←v12936.f1 = 0; SOURCE(30817, 101) if (((* (( (ptr) (* (( (ptr) box←v12892)+13) ))+4) ) != 0)) { { W2 var←c0644; { word pd472; pd472 = (* (( (ptr) (* (( (ptr) box←v12892)+13) ))+4) ); (void) ( *( (fPt) ((* (ptr) pd472 ))))((word) &var←c0644, box←v12892, pd472); }; loc←v12936 = var←c0644; }; } else { loc←v12936.f0 = 0; loc←v12936.f1 = (word) -1; }; /* removed tail goto */ (* (W2Pt) formal←c0646 ) = loc←v12936; return; } static void Destroy←P2520(box←v12996) word box←v12996; { register ptr gf←c58624 = (ptr) &globalframe; /* Destroy: */ SOURCE(30948, 146) SOURCE(30984, 110) if ( ( ( ( (0 != (* (( (ptr) gf←c58624)+22)/* doDestroy←v5940 */ )) ? ((* (( (ptr) box←v12996)+13) ) != 0) : 0 ) ? ((* ( ( (ptr) (* (( (ptr) box←v12996)+13) ))+5) ) != 0) : 0 ) ? (0 == (* (( (ptr) box←v12996)+14) )) : 0 ) ) { SOURCE(31072, 22) { word pd473; pd473 = (* (( (ptr) (* (( (ptr) box←v12996)+13) ))+5) ); (void) ( *( (fPt) ((* (ptr) pd473 ))))(box←v12996, pd473); }; }; } static void Duplicate←P2580(box←v13056) word box←v13056; { /* Duplicate: */ SOURCE(31099, 76) SOURCE(31137, 38) if ((box←v13056 != 0)) { SOURCE(31155, 20) (* (( (ptr) box←v13056)+14) ) = 1; }; } static void AppendList←P2640(formal←c0652, boxes←v13116, list←v13144) word formal←c0652; W2 boxes←v13116; word list←v13144; { W2 var←c13272; /* AppendList: */ SOURCE(31181, 315) SOURCE(31259, 148) if ((list←v13144 == 0)) { SOURCE(31278, 20) var←c13272 = boxes←v13116; goto lab←L100090; } else { SOURCE(31298, 109) if ((boxes←v13116.f0 == 0)) { SOURCE(31323, 23) boxes←v13116.f0 = list←v13144; } else { SOURCE(31348, 30) if (((* (( (ptr) boxes←v13116.f1)+1) ) != 0)) { SOURCE(31378, 5) (void) XR←RaiseUnnamedError(); }; SOURCE(31385, 22) (* (( (ptr) boxes←v13116.f1)+1) ) = list←v13144; }; }; SOURCE(31412, 49) lab←L100093: ; if (((* (( (ptr) list←v13144)+1) ) != 0)) { } else { goto lab←L100091; }; SOURCE(31437, 24) list←v13144 = (* (( (ptr) list←v13144)+1) ); goto lab←L100093; lab←L100091: ; SOURCE(31463, 17) boxes←v13116.f1 = list←v13144; SOURCE(31482, 14) var←c13272 = boxes←v13116; /* removed tail goto */ lab←L100090: ; (* (W2Pt) formal←c0652 ) = var←c13272; return; } static void AppendBox←P2700(formal←c0658, boxes←v13332, box←v13360) word formal←c0658; W2 boxes←v13332; word box←v13360; { register ptr gf←c58656 = (ptr) &globalframe; W2 var←c13404; word list←v22692; /* AppendBox: */ SOURCE(31502, 261) SOURCE(31570, 6) { word var←c56608; list←v22692 = XR←NewObject(8, (* (( (ptr) gf←c58656)+31) )); var←c56608 = list←v22692; (* (ptr) var←c56608 ) = box←v13360; }; SOURCE(31601, 143) if ((boxes←v13332.f0 == 0)) { SOURCE(31626, 38) boxes←v13332.f0 = list←v22692; boxes←v13332.f1 = list←v22692; } else { SOURCE(31666, 30) if (((* (( (ptr) boxes←v13332.f1)+1) ) != 0)) { SOURCE(31696, 5) (void) XR←RaiseUnnamedError(); }; SOURCE(31703, 22) (* (( (ptr) boxes←v13332.f1)+1) ) = list←v22692; SOURCE(31727, 17) boxes←v13332.f1 = list←v22692; }; SOURCE(31749, 14) var←c13404 = boxes←v13332; /* removed tail goto */ (* (W2Pt) formal←c0658 ) = var←c13404; return; } static void NoName←Q6000(formal←c0665, formal←c200000, formal←c200001, formal←c200002, formal←c200003) word formal←c0665; word formal←c200000; word formal←c200001; word formal←c200002; word formal←c200003; { register ptr gf←c0724 = (ptr) &globalframe; if ((formal←c200001 == (* (( (ptr) (* (( (ptr) gf←c0724)+201)/* var←c50688 */ ))+94) )) || (formal←c200001 == (* (( (ptr) (* ( ( (ptr) gf←c0724)+200)/* var←c50656 */ ))+22) ))) { SOURCE(4192, 64) { word var←c50720; { word var←c50752; { word pd474; pd474 = (* (( (ptr) (* (( (ptr) gf←c0724)+202)/* var←c50784 */ ))+9) ); var←c50752 = (word) ( *( (fPt) ((* (ptr) pd474 ))))((* ((( (ptr) formal←c200000)+5)) ), pd474); }; { word pd475; pd475 = (* (( (ptr) (* (( (ptr) gf←c0724)+196)/* var←c50496 */ ))+6) ); var←c50720 = (word) ( *( (fPt) ((* (ptr) pd475 ))))((* (( (ptr) gf←c0724)+72) ), var←c50752, pd475); }; }; (void) Msg←P180(var←c50720); }; SOURCE(4258, 8) (* (ptr) formal←c0665 ) = 2; (* (( (ptr) formal←c0665)+1) ) = 2; return; }; (* (ptr) formal←c0665 ) = 0; (* (( (ptr) formal←c0665)+1) ) = 0; return; } /* file: TiogaImagerImpl, module: TiogaImagerImpl, compiled at: October 19, 1993 1:32:38 pm PDT */ extern void XR←install←TiogaImagerImpl() { NoName←Q5880(); } extern void XR←run←TiogaImagerImpl() { XR←Start(&globalframe); }