/* Generated with C2C (Cedar To C)*/
/* Copyright (C) 1993 by Xerox Corporation.  All rights reserved. */
/* time: April 19, 1993 10:44:52 am PDT */
/* C2C version: March 29, 1993 (sun4) */
/* ref-counting: off */
/* file: XlBitmapWindowImpl, module: XlBitmapWindowImpl */ 
/* switches: bcfhklnouw */ 
#include <cedar/InstallationSupport.h>
#include <cedar/CedarExtra.h>
static char versionStamp[] = "@(#)mob←version [231843130,2604793833] XlBitmapWindowImpl";
typedef unsigned word, *ptr;
typedef unsigned char byte, *bPt;
typedef unsigned short half, *hPt;
typedef word (*fPt)();
typedef struct {word f0, f1, f2, f3;} W4;
typedef struct {word f0, f1;} W2;
typedef W2 *W2Pt;
typedef W4 *W4Pt;
typedef struct {word f0, f1, f2, f3, f4, f5;} W6;
typedef struct {word f0, f1, f2, f3, f4, f5, f6, f7;} W8;
typedef struct {word f0, f1, f2;} W3;
typedef struct {W8 f; W3 r;} W11;
typedef struct {W8 f; word r;} W9;
typedef struct {W8 f; W2 r;} W10;
typedef struct {word f0, f1, f2, f3, f4;} W5;
typedef struct {W8 f; W8 r;} W16;
typedef struct {W16 f; W8 r;} W24;
typedef W24 *W24Pt;
typedef struct {W16 f; W2 r;} W18;
#define SOURCE(p, l) /* source p, l */
#define SGNCK(i) ((int) (word) (i) < 0 ? XR←RaiseArithmeticFault(): i )
#define IOP2(op, x, y)  ( (word) ((x) op (y)) )
#define IABS(i) ( ((int)(word)(i) > 0) ? (i) : (word)(-(int)(word)(i)) )
static void NoName←Q7320();
static void XlBitmapWindowImpl←P0();
static void SetDebuggingTrue←P60();
static void SetDebuggingFalse←P120();
static void DebugNormalPaint←P180();
static void DebugInvert←P240();
static void DebugInvertAndFlush←P300();
static void DebugInvertAndPause←P360();
static void DebugSetSyncTrue←P420();
static void DebugSetSyncFalse←P480();
static word DebugPrintNormalErrors←P540();
static word DebugPrintNastyErrors←P600();
static word DebugPrintRequestCount←P660();
static word DebugPrintActualPaintCount←P720();
static word DebugPrintProcessStartCount←P780();
static void DebugResetCounters←P840();
static void DebugWaitBeforeFlushTrue←P900();
static void DebugWaitBeforeFlushFalse←P960();
static void DebugYieldBeforeFlushTrue←P1020();
static void DebugYieldBeforeFlushFalse←P1080();
static word DebugSmallerShmFLeniance←P1140();
static word DebugLargerShmFLeniance←P1200();
static void Union←P1320();
static word Similar←P1380();
static void InternalRefresh←P1440();
static void RemoveRect←P1560();
static void ShortWait←P1620();
static void HandleError←P1740();
static word ShouldRetryPainter←P3588();
static word NoName←Q7380();
static word AlIDone←P1800();
static void PainterProcess←P1860();
static word NoName←Q7440();
static word NoName←Q7500();
static void SetInterception←P1920();
static void EventProc←P1980();
static void EntryDestroyEvent←P3996();
static void EntryUnmapEvent←P4056();
static void EntryMapEvent←P4116();
static void InternalSetVisible←P2040();
static word CreateHandle←P2100();
static void DestroyHandle←P2160();
static word NoName←Q7560();
static void ProtectedDestroyHandle←P4512();
static word NoName←Q7620();
static word InitAssocProp←P2220();
static word GetAssocTable←P2280();
static void SetWindow←P2340();
static void ProtectedSetWindow←P4668();
static word NoName←Q7680();
static void ClearOutsideAreas←P2400();
static word NoName←Q7740();
static void SetNoWindow←P2460();
static void ProtectedSetNoWindow←P4920();
static void SetBitmap←P2520();
static void ProtectedSetBitmap←P5028();
static word NoName←Q7800();
static void SetNoBitmap←P2580();
static void ProtectedSetNoBitmap←P5136();
static word NoName←Q7860();
static void EntryCancelRefreshs←P2640();
static void CancelRefreshs←P2760();
static void NotifyBufferEmpty←P2820();
static void WaitForBuffer←P2880();
static void Wait←P2940();
static void InterceptedPreRefresh←P3000();
static void InterceptedRefresh←P3060();
static void PaintUnfinishedActions←P3120();
static void RememberPixmap←P3180();
static void DestroyOldPixmap←P3240();
static void RegisterReportRefreshs←P3300();
static void Reg←P5532();
static void FlushSoon←P3360();
static void EntryFlushSoon←P5592();
static void Init←P3420();
static void NoName←Q7920();
static void NoName←Q7980();
static void NoName←Q8040();
static void NoName←Q8100();
static void NoName←Q8160();
static void NoName←Q8220();
static void NoName←Q8280();
static void NoName←Q8340();
static void NoName←Q8400();
static struct {unsigned f; char r[4];} string1 = {65540, "\251\000\000"};
static struct {unsigned f; char r[4];} string2 = {131076, "\216\251\000"};
static struct {unsigned f; char r[4];} string3 = {65537, "\001\000\000"};
static struct {unsigned f; char r[48];} string4 = {2883632, "\260\006\005\146\151\162\163\164\216\257\300\056\334\160\133\300\164\036\323\215\100\214\005\004\162\145\163\164\214\216\257\300\056\334\160\133\300\164\036\323\215\100\214\261\000\000\000"};
static struct {unsigned f; char r[4];} string5 = {131074, "\004\003\000"};
static struct {unsigned f; char r[16];} string6 = {851984, "\257\300\056\334\160\133\300\164\036\323\215\100\164\000\000"};
static struct {unsigned f; char r[20];} string7 = {1048592, "\006\005\020\001\100\224\001\104\240\001\104\244\001\104\250\001\000\000\000"};
static struct {unsigned f; char r[16];} string8 = {851984, "\257\300\056\334\160\133\300\164\036\323\215\100\214\000\000"};
static struct {unsigned f; char r[4];} string9 = {131074, "\003\001\000"};
static struct {unsigned f; char r[16];} string10 = {851984, "\257\300\056\334\160\133\300\164\036\323\215\100\260\000\000"};
static struct {unsigned f; char r[16];} string11 = {851984, "\257\300\234\044\244\054\300\127\232\312\057\100\164\000\000"};
static struct {unsigned f; char r[16];} string12 = {851984, "\257\300\072\360\037\045\300\374\044\132\334\100\164\000\000"};
static struct {unsigned f; char r[4];} string13 = {131074, "\003\004\000"};
static struct {unsigned f; char r[16];} string14 = {851984, "\257\300\056\334\160\133\300\164\036\323\215\100\244\000\000"};
static struct {unsigned f; char r[20];} string15 = {1048592, "\006\006\000\001\044\001\060\001\064\001\100\130\001\100\134\001\000\000\000"};
static struct {unsigned f; char r[16];} string16 = {851984, "\257\300\351\276\264\273\300\115\104\320\264\107\320\000\000"};
static struct {unsigned f; char r[4];} string17 = {131074, "\004\016\000"};
static struct {unsigned f; char r[8];} string18 = {327688, "Assoc\000\000"};
static struct {unsigned f; char r[16];} string19 = {917520, "XlBitmapWindow\000"};
static struct {unsigned f; char r[4];} string20 = {65540, "x\000\000"};
static struct {unsigned f; char r[16];} string21 = {851984, "\257\300\015\321\245\072\300\233\101\377\351\100\200\000\000"};
static struct {unsigned f; char r[24];} string22 = {1376277, "\006\006\100\134\001\100\140\001\100\144\001\100\154\001\100\160\001\100\340\004\007\000\000"};
static struct {unsigned f; char r[16];} string23 = {851984, "\257\300\263\064\342\215\300\063\160\325\023\100\150\000\000"};
static struct {unsigned f; char r[16];} string24 = {851984, "\257\300\015\277\004\146\300\034\367\146\045\100\164\000\000"};
static struct {unsigned f; char r[16];} string25 = {851984, "\257\300\240\236\274\315\300\111\163\325\023\100\150\000\000"};
static struct {unsigned f; char r[16];} string26 = {851984, "\257\300\275\320\070\317\300\004\110\363\366\100\150\000\000"};
static struct {unsigned f; char r[16];} string27 = {851984, "\257\300\243\162\130\311\300\344\000\142\023\100\150\000\000"};
static struct {unsigned f; char r[16];} string28 = {851984, "\257\300\351\276\264\273\300\115\104\320\264\100\164\000\000"};
static struct {unsigned f; char r[16];} string29 = {851984, "\257\300\072\360\037\045\300\374\044\132\334\100\150\000\000"};
static struct {unsigned f; char r[16];} string30 = {851984, "\257\300\256\061\211\265\300\052\170\134\271\100\150\000\000"};
static struct {unsigned f; char r[16];} string31 = {851984, "\257\300\337\070\153\303\300\227\216\321\214\100\150\000\000"};
static struct {unsigned f; char r[16];} string32 = {851984, "\257\300\122\362\040\033\300\221\350\241\274\100\150\000\000"};
static struct {unsigned f; char r[16];} string33 = {851984, "\257\300\313\043\035\351\300\322\261\377\170\100\150\000\000"};
static struct {unsigned f; char r[16];} string34 = {851984, "\257\300\244\037\307\153\300\075\246\262\264\100\150\000\000"};
static struct {unsigned f; char r[16];} string35 = {851984, "\257\300\234\044\244\054\300\127\232\312\057\100\150\000\000"};
static struct {unsigned f; char r[24];} string36 = {1310744, "\211\010\007\111\155\160\154\122\145\160\300\234\044\244\054\300\127\232\312\057\000\000\000"};
static struct {
   word f0[21]; word f21; word f22[37]; word f59; 
   word f60; word f61; word f62; word f63; 
   word f64; word f65; word f66; word f67; 
   word f68; word f69; word f70; word f71; 
   word f72; word f73; word f74; word f75; 
   word f76; word f77; word f78; word f79; 
   word f80; word f81; word f82; word f83; 
   word f84; word f85; word f86; word f87; 
   word f88; word f89; word f90; word f91; 
   word f92; word f93; word f94; word f95; 
   word f96; word f97; word f98; word f99; 
   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[13]; 
   } globalframe = {
   {0}, (word) 1, {0}, (word) Init←P3420, 
   0, (word) FlushSoon←P3360, 0, (word) RegisterReportRefreshs←P3300, 
   0, (word) DestroyOldPixmap←P3240, 0, (word) RememberPixmap←P3180, 
   0, (word) PaintUnfinishedActions←P3120, 0, (word) InterceptedRefresh←P3060, 
   0, (word) InterceptedPreRefresh←P3000, 0, (word) Wait←P2940, 
   0, (word) WaitForBuffer←P2880, 0, (word) NotifyBufferEmpty←P2820, 
   0, (word) CancelRefreshs←P2760, 0, (word) EntryCancelRefreshs←P2640, 
   0, (word) SetNoBitmap←P2580, 0, (word) SetBitmap←P2520, 
   0, (word) SetNoWindow←P2460, 0, (word) ClearOutsideAreas←P2400, 
   0, (word) SetWindow←P2340, 0, (word) GetAssocTable←P2280, 
   0, (word) InitAssocProp←P2220, 0, (word) DestroyHandle←P2160, 
   0, (word) CreateHandle←P2100, 0, (word) InternalSetVisible←P2040, 
   0, (word) EventProc←P1980, 0, (word) SetInterception←P1920, 
   0, (word) PainterProcess←P1860, 0, (word) AlIDone←P1800, 
   0, (word) HandleError←P1740, 0, (word) ShortWait←P1620, 
   0, (word) RemoveRect←P1560, 0, (word) InternalRefresh←P1440, 
   0, (word) Similar←P1380, 0, (word) Union←P1320, 
   0, (word) DebugLargerShmFLeniance←P1200, 0, (word) DebugSmallerShmFLeniance←P1140, 
   0, (word) DebugYieldBeforeFlushFalse←P1080, 0, (word) DebugYieldBeforeFlushTrue←P1020, 
   0, (word) DebugWaitBeforeFlushFalse←P960, 0, (word) DebugWaitBeforeFlushTrue←P900, 
   0, (word) DebugResetCounters←P840, 0, (word) DebugPrintProcessStartCount←P780, 
   0, (word) DebugPrintActualPaintCount←P720, 0, (word) DebugPrintRequestCount←P660, 
   0, (word) DebugPrintNastyErrors←P600, 0, (word) DebugPrintNormalErrors←P540, 
   0, (word) DebugSetSyncFalse←P480, 0, (word) DebugSetSyncTrue←P420, 
   0, (word) DebugInvertAndPause←P360, 0, (word) DebugInvertAndFlush←P300, 
   0, (word) DebugInvert←P240, 0, (word) DebugNormalPaint←P180, 
   0, (word) SetDebuggingFalse←P120, 0, (word) SetDebuggingTrue←P60, 
   0, (word) XlBitmapWindowImpl←P0, 0, (word) 4294959296, 
   (word) 4294959296, (word) 8000, (word) 8000, {0}
   };

static void NoName←Q7320()
   {
   register ptr gf←c0402 =  (ptr) &globalframe;
   word var←c49788;
   (* (( (ptr) gf←c0402)+29) ) = (word) XR←GetTypeIndexS((word) (&string1));
   (* (( (ptr) gf←c0402)+30) ) = (word) XR←GetTypeIndex((word) &string2, 0, (word) &string3);
   (* (( (ptr) gf←c0402)+31) ) = (word) XR←GetTypeIndex((word) &string4, 0, (word) &string5);
   (* (( (ptr) gf←c0402)+32) ) = (word) XR←GetTypeIndex((word) &string6, 0, (word) &string7);
   (* (( (ptr) gf←c0402)+33) ) = (word) XR←GetTypeIndex((word) &string8, 0, (word) &string9);
   (* (( (ptr) gf←c0402)+34) ) = (word) XR←GetTypeIndex((word) &string10, 0, (word) &string9);
   (* (( (ptr) gf←c0402)+40) ) = (word) XR←GetTypeIndex((word) &string11, 0, (word) &string3);
   (* (( (ptr) gf←c0402)+47) ) = (word) XR←GetTypeIndex((word) &string12, 0, (word) &string13);
   (* (( (ptr) gf←c0402)+48) ) = (word) XR←GetTypeIndex((word) &string14, 0, (word) &string15);
   (* (( (ptr) gf←c0402)+54) ) = (word) XR←GetTypeIndex((word) &string16, 0, (word) &string17);
   (*  (ptr) (( (bPt) gf←c0402)+224) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0402)+30) ), (word) &string18);
   (*  (ptr) (( (bPt) gf←c0402)+228) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0402)+30) ), (word) &string19);
   (*  (ptr) (( (bPt) gf←c0402)+232) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0402)+30) ), (word) &string20);
   (void) XR←DeclareGlobalFrame((word) "XlBitmapWindowImpl", &globalframe, (word) XR←GetTypeIndex((word) &string21, 0, (word) &string22)
      , (word) (( (bPt) gf←c0402)+660)/* var←c46652 */ );
   var←c49788 = (word) XR←ImportInterface((word) "ForkOps", (word) XR←GetTypeIndexS((word) (&string23)), 4);
   (* (( (ptr) gf←c0402)+173)/* var←c47260 */  ) = var←c49788;
   (void) XR←ImportProcS(var←c49788, 1049092);
   (void) XR←ImportProcS(var←c49788, 1048836);
   (void) XR←ImportProcS(var←c49788, 786435);
   var←c49788 = (word) XR←ImportInterface((word) "IO", (word) XR←GetTypeIndexS((word) (&string24)), 103);
   (* (( (ptr) gf←c0402)+175)/* var←c47388 */  ) = var←c49788;
   var←c49788 = (word) XR←ImportInterface((word) "Process", (word) XR←GetTypeIndexS((word) (&string25)), 22);
   (* (( (ptr) gf←c0402)+174)/* var←c47324 */  ) = var←c49788;
   (void) XR←ImportProcS(var←c49788, 67371521);
   (void) XR←ImportProcS(var←c49788, 525570);
   (void) XR←ImportProcS(var←c49788, 4864);
   (void) XR←ImportProcS(var←c49788, 266753);
   var←c49788 = (word) XR←ImportInterface((word) "RuntimeError", (word) XR←GetTypeIndexS((word) (&string26)), 27);
   (* (( (ptr) gf←c0402)+176)/* var←c47420 */  ) = var←c49788;
   var←c49788 = (word) XR←ImportInterface((word) "SF", (word) XR←GetTypeIndexS((word) (&string27)), 19);
   (* (( (ptr) gf←c0402)+172)/* var←c47228 */  ) = var←c49788;
   (void) XR←ImportProcS(var←c49788, 270535426);
   (void) XR←ImportProcS(var←c49788, 69210370);
   var←c49788 = (word) XR←ImportInterface((word) "Xl", (word) XR←GetTypeIndexS((word) (&string28)), 218);
   (* (( (ptr) gf←c0402)+171)/* var←c46748 */  ) = var←c49788;
   (void) XR←ImportProcS(var←c49788, 810243);
   (void) XR←ImportProcS(var←c49788, 2138630);
   (void) XR←ImportProcS(var←c49788, 67405825);
   (void) XR←ImportProcS(var←c49788, 822787);
   (void) XR←ImportProcS(var←c49788, 563970);
   (void) XR←ImportProcS(var←c49788, 67668226);
   (void) XR←ImportProcS(var←c49788, 67654914);
   (void) XR←ImportProcS(var←c49788, 67901699);
   (void) XR←ImportProcS(var←c49788, 805123);
   (void) XR←ImportProcS(var←c49788, 534530);
   (void) XR←ImportProcS(var←c49788, 3450891);
   (void) XR←ImportProcS(var←c49788, 2925320);
   (void) XR←ImportProcS(var←c49788, 3187721);
   (void) XR←ImportProcS(var←c49788, 2139398);
   (void) XR←ImportProcS(var←c49788, 534274);
   (void) XR←ImportProcS(var←c49788, 68207876);
   (void) XR←ImportProcS(var←c49788, 67910403);
   var←c49788 = (word) XR←ImportInterface((word) "XlAssoc", (word) XR←GetTypeIndexS((word) (&string29)), 12);
   (* (( (ptr) gf←c0402)+180)/* var←c48316 */  ) = var←c49788;
   (void) XR←ImportProcS(var←c49788, 201852930);
   (void) XR←ImportProcS(var←c49788, 67897603);
   (void) XR←ImportProcS(var←c49788, 68158724);
   (void) XR←ImportProcS(var←c49788, 67371777);
   (void) XR←ImportProcS(var←c49788, 67634946);
   var←c49788 = (word) XR←ImportInterface((word) "XlBitmap", (word) XR←GetTypeIndexS((word) (&string30)), 14);
   (* (( (ptr) gf←c0402)+179)/* var←c48092 */  ) = var←c49788;
   (void) XR←ImportProcS(var←c49788, 268699393);
   (void) XR←ImportProcS(var←c49788, 67372545);
   (void) XR←ImportProcS(var←c49788, 1051140);
   (void) XR←ImportProcS(var←c49788, 527106);
   var←c49788 = (word) XR←ImportInterface((word) "XlDetails", (word) XR←GetTypeIndexS((word) (&string31)), 4);
   (* (( (ptr) gf←c0402)+182)/* var←c49564 */  ) = var←c49788;
   var←c49788 = (word) XR←ImportInterface((word) "XlDispatch", (word) XR←GetTypeIndexS((word) (&string32)), 18);
   (* (( (ptr) gf←c0402)+181)/* var←c48796 */  ) = var←c49788;
   (void) XR←ImportProcS(var←c49788, 1312517);
   var←c49788 = (word) XR←ImportInterface((word) "XlShmPixmaps", (word) XR←GetTypeIndexS((word) (&string33)), 5);
   (* (( (ptr) gf←c0402)+177)/* var←c47740 */  ) = var←c49788;
   (void) XR←ImportProcS(var←c49788, 67371265);
   (void) XR←ImportProcS(var←c49788, 67372033);
   (void) XR←ImportProcS(var←c49788, 67895811);
   var←c49788 = (word) XR←ImportInterface((word) "XlSpeedHacks", (word) XR←GetTypeIndexS((word) (&string34)), 4);
   (* (( (ptr) gf←c0402)+178)/* var←c48060 */  ) = var←c49788;
   (void) XR←ImportProcS(var←c49788, 787203);
   (void) XR←ImportProcS(var←c49788, 67633666);
   var←c49788 = (word) XR←ExportInterface((word) "XlBitmapWindow", (word) XR←GetTypeIndexS((word) (&string35)), 10);
   (* (( (ptr) gf←c0402)+183)/* var←c49820 */  ) = var←c49788;
   (void) XR←ExportType((word) "ImplRep", (word) XR←GetTypeIndexS((word) (&string36)), (word) XR←GetTypeIndex((word) &string6, 0, (word) &string7)
      );
   (void) XR←ExportProcS(var←c49788, (word) (( (bPt) gf←c0402)+404)/* var←c45628 */ , 67109120);
   (void) XR←ExportProcS(var←c49788, (word) (( (bPt) gf←c0402)+396)/* var←c45596 */ , 524802);
   (void) XR←ExportProcS(var←c49788, (word) (( (bPt) gf←c0402)+348)/* var←c45404 */ , 2622214);
   (void) XR←ExportProcS(var←c49788, (word) (( (bPt) gf←c0402)+372)/* var←c45500 */ , 1311749);
   (void) XR←ExportProcS(var←c49788, (word) (( (bPt) gf←c0402)+356)/* var←c45436 */ , 263425);
   (void) XR←ExportProcS(var←c49788, (word) (( (bPt) gf←c0402)+324)/* var←c45308 */ , 263681);
   (void) XR←ExportProcS(var←c49788, (word) (( (bPt) gf←c0402)+300)/* var←c45212 */ , 526082);
   (void) XR←ExportProcS(var←c49788, (word) (( (bPt) gf←c0402)+244)/* var←c44988 */ , 264193);
   (void) XR←ExportProcS(var←c49788, (word) (( (bPt) gf←c0402)+252)/* var←c45020 */ , 788739);
   }

static void XlBitmapWindowImpl←P0(formal←c0106, formal←c0104)
   word formal←c0106;
   word formal←c0104;
   {
   register ptr gf←c49852 =  (ptr) &globalframe;
   /* XlBitmapWindowImpl: */ 
SOURCE(195, 21587)
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
SOURCE(2768, 46)
   {
      word pd37;
      pd37 = (* (( (ptr) (* (( (ptr) gf←c49852)+171)/* var←c46748 */  ))+63) );
      (* (( (ptr) gf←c49852)+23)/* sharedTQ←v4316 */  ) = (word) ( *( (fPt) ((*  (ptr) pd37 ))))((* (( (ptr) gf←c49852)+57) ), 0, 0, pd37)
      ;
      };
SOURCE(2849, 92)
   {
      word pd38;
      pd38 = (* (( (ptr) (* (( (ptr) gf←c49852)+171)/* var←c46748 */  ))+201) );
      (* (( (ptr) gf←c49852)+24)/* events←v4344 */  ) = (word) ( *( (fPt) ((*  (ptr) pd38 ))))(12, 18, 19, 17, pd38);
      };
SOURCE(2943, 48)
   {
      word var←c46780;
      var←c46780 = XR←NewObject(4, (* (( (ptr) gf←c49852)+30) ));
      (*  (ptr) var←c46780 ) = (* (( (ptr) gf←c49852)+56) );
      (* (( (ptr) gf←c49852)+25)/* associationTableKey←v4372 */  ) = var←c46780;
      };
SOURCE(3011, 27)
   (* (( (ptr) gf←c49852)+26)/* shmFLeniance←v4400 */  ) = 255;
SOURCE(21776, 6)
   (void) Init←P3420();
   }

static void SetDebuggingTrue←P60()
   {
   register ptr gf←c49884 =  (ptr) &globalframe;
   /* SetDebuggingTrue: */ 
SOURCE(505, 45)
SOURCE(534, 16)
   (* (( (ptr) gf←c49884)+4)/* debugging←v3280 */  ) = 1;
   }

static void SetDebuggingFalse←P120()
   {
   register ptr gf←c49916 =  (ptr) &globalframe;
   /* SetDebuggingFalse: */ 
SOURCE(553, 47)
SOURCE(583, 17)
   (* (( (ptr) gf←c49916)+4)/* debugging←v3280 */  ) = 0;
   }

static void DebugNormalPaint←P180()
   {
   register ptr gf←c49948 =  (ptr) &globalframe;
   /* DebugNormalPaint: */ 
SOURCE(747, 101)
SOURCE(776, 72)
   (* (( (ptr) gf←c49948)+7)/* debugPauseAfterInvert←v3420 */  ) = 0;
   (* (( (ptr) gf←c49948)+6)/* debugFlushAfterInvert←v3392 */  ) = 0;
   (* (( (ptr) gf←c49948)+5)/* debugInvertFirst←v3364 */  ) = 0;
   }

static void DebugInvert←P240()
   {
   register ptr gf←c49980 =  (ptr) &globalframe;
   /* DebugInvert: */ 
SOURCE(851, 102)
SOURCE(875, 23)
   (* (( (ptr) gf←c49980)+5)/* debugInvertFirst←v3364 */  ) = 1;
SOURCE(900, 53)
   (* (( (ptr) gf←c49980)+7)/* debugPauseAfterInvert←v3420 */  ) = 0;
   (* (( (ptr) gf←c49980)+6)/* debugFlushAfterInvert←v3392 */  ) = 0;
   }

static void DebugInvertAndFlush←P300()
   {
   register ptr gf←c50012 =  (ptr) &globalframe;
   /* DebugInvertAndFlush: */ 
SOURCE(956, 110)
SOURCE(988, 47)
   (* (( (ptr) gf←c50012)+6)/* debugFlushAfterInvert←v3392 */  ) = 1;
   (* (( (ptr) gf←c50012)+5)/* debugInvertFirst←v3364 */  ) = 1;
SOURCE(1037, 29)
   (* (( (ptr) gf←c50012)+7)/* debugPauseAfterInvert←v3420 */  ) = 0;
   }

static void DebugInvertAndPause←P360()
   {
   register ptr gf←c50044 =  (ptr) &globalframe;
   /* DebugInvertAndPause: */ 
SOURCE(1069, 139)
SOURCE(1101, 71)
   (* (( (ptr) gf←c50044)+7)/* debugPauseAfterInvert←v3420 */  ) = 1;
   (* (( (ptr) gf←c50044)+6)/* debugFlushAfterInvert←v3392 */  ) = 1;
   (* (( (ptr) gf←c50044)+5)/* debugInvertFirst←v3364 */  ) = 1;
SOURCE(1174, 34)
   (* (( (ptr) gf←c50044)+8)/* debugPauseAfterInvertCount←v3448 */  ) = 10000;
   }

static void DebugSetSyncTrue←P420()
   {
   register ptr gf←c50076 =  (ptr) &globalframe;
   /* DebugSetSyncTrue: */ 
SOURCE(1277, 52)
SOURCE(1306, 23)
   (* (( (ptr) gf←c50076)+9)/* debugSynchronous←v3588 */  ) = 1;
   }

static void DebugSetSyncFalse←P480()
   {
   register ptr gf←c50108 =  (ptr) &globalframe;
   /* DebugSetSyncFalse: */ 
SOURCE(1332, 54)
SOURCE(1362, 24)
   (* (( (ptr) gf←c50108)+9)/* debugSynchronous←v3588 */  ) = 0;
   }

static word DebugPrintNormalErrors←P540()
   {
   register ptr gf←c50140 =  (ptr) &globalframe;
   word var←c5756;
   /* DebugPrintNormalErrors: */ 
SOURCE(1533, 74)
SOURCE(1582, 25)
   {
      word idx39;
      return((
         idx39 = (* (( (ptr) gf←c50140)+17)/* normalErrorCount←v3728 */  ),
         SGNCK(idx39)
         ));
      };
   }

static word DebugPrintNastyErrors←P600()
   {
   register ptr gf←c50172 =  (ptr) &globalframe;
   word var←c5816;
   /* DebugPrintNastyErrors: */ 
SOURCE(1610, 72)
SOURCE(1658, 24)
   {
      word idx40;
      return((
         idx40 = (* (( (ptr) gf←c50172)+16)/* nastyErrorCount←v3700 */  ),
         SGNCK(idx40)
         ));
      };
   }

static word DebugPrintRequestCount←P660()
   {
   register ptr gf←c50204 =  (ptr) &globalframe;
   word var←c5876;
   /* DebugPrintRequestCount: */ 
SOURCE(1685, 77)
SOURCE(1734, 28)
   return((* (( (ptr) gf←c50204)+18)/* requestedPaintCount←v3756 */  ));
   }

static word DebugPrintActualPaintCount←P720()
   {
   register ptr gf←c50236 =  (ptr) &globalframe;
   word var←c5936;
   /* DebugPrintActualPaintCount: */ 
SOURCE(1765, 78)
SOURCE(1818, 25)
   return((* (( (ptr) gf←c50236)+19)/* actualPaintCount←v3784 */  ));
   }

static word DebugPrintProcessStartCount←P780()
   {
   register ptr gf←c50268 =  (ptr) &globalframe;
   word var←c5996;
   /* DebugPrintProcessStartCount: */ 
SOURCE(1846, 82)
SOURCE(1900, 28)
   return((* (( (ptr) gf←c50268)+20)/* processStartedCount←v3812 */  ));
   }

static void DebugResetCounters←P840()
   {
   register ptr gf←c50300 =  (ptr) &globalframe;
   /* DebugResetCounters: */ 
SOURCE(1931, 95)
SOURCE(1962, 64)
   (* (( (ptr) gf←c50300)+20)/* processStartedCount←v3812 */  ) = 0;
   (* (( (ptr) gf←c50300)+19)/* actualPaintCount←v3784 */  ) = 0;
   (* (( (ptr) gf←c50300)+18)/* requestedPaintCount←v3756 */  ) = 0;
   }

static void DebugWaitBeforeFlushTrue←P900()
   {
   register ptr gf←c50332 =  (ptr) &globalframe;
   /* DebugWaitBeforeFlushTrue: */ 
SOURCE(2184, 59)
SOURCE(2221, 22)
   (* (( (ptr) gf←c50332)+21)/* waitBeforeFlush←v4036 */  ) = 1;
   }

static void DebugWaitBeforeFlushFalse←P960()
   {
   register ptr gf←c50364 =  (ptr) &globalframe;
   /* DebugWaitBeforeFlushFalse: */ 
SOURCE(2246, 61)
SOURCE(2284, 23)
   (* (( (ptr) gf←c50364)+21)/* waitBeforeFlush←v4036 */  ) = 0;
   }

static void DebugYieldBeforeFlushTrue←P1020()
   {
   register ptr gf←c50396 =  (ptr) &globalframe;
   /* DebugYieldBeforeFlushTrue: */ 
SOURCE(2386, 61)
SOURCE(2424, 23)
   (* (( (ptr) gf←c50396)+22)/* yieldBeforeFlush←v4120 */  ) = 1;
   }

static void DebugYieldBeforeFlushFalse←P1080()
   {
   register ptr gf←c50428 =  (ptr) &globalframe;
   /* DebugYieldBeforeFlushFalse: */ 
SOURCE(2450, 63)
SOURCE(2489, 24)
   (* (( (ptr) gf←c50428)+22)/* yieldBeforeFlush←v4120 */  ) = 0;
   }

static word DebugSmallerShmFLeniance←P1140()
   {
   register ptr gf←c50460 =  (ptr) &globalframe;
   word var←c6160;
   /* DebugSmallerShmFLeniance: */ 
SOURCE(3040, 95)
SOURCE(3095, 40)
   (* (( (ptr) gf←c50460)+26)/* shmFLeniance←v4400 */  ) = IOP2( / ,  (int)(* (( (ptr) gf←c50460)+26)/* shmFLeniance←v4400 */  ),  (int)2)
   ;
   return((* (( (ptr) gf←c50460)+26)/* shmFLeniance←v4400 */  ));
   }

static word DebugLargerShmFLeniance←P1200()
   {
   register ptr gf←c50492 =  (ptr) &globalframe;
   word var←c6220;
   /* DebugLargerShmFLeniance: */ 
SOURCE(3138, 98)
SOURCE(3192, 44)
   (* (( (ptr) gf←c50492)+26)/* shmFLeniance←v4400 */  ) = (IOP2( * ,  (int)(* (( (ptr) gf←c50492)+26)/* shmFLeniance←v4400 */  ),  (int)2)
    + 1);
   return((* (( (ptr) gf←c50492)+26)/* shmFLeniance←v4400 */  ));
   }

static void Union←P1320(formal←c0121, b1←v6440, b2←v6468)
   word formal←c0121;
   W4 b1←v6440;
   W4 b2←v6468;
   {
   W4 b←v6512;
   /* Union: */ 
SOURCE(3516, 127)
SOURCE(3516, 127)
   b←v6512.f0 = 0;
   b←v6512.f1 = 0;
   b←v6512.f2 = 0;
   b←v6512.f3 = 0;
SOURCE(3569, 36)
   {
      W2 v1←v44880;
      W2 v2←v44908;
      v1←v44880 = (*  (W2Pt) &b2←v6468 );
      v2←v44908 = (*  (W2Pt) &b1←v6440 );
      if (( (int)v1←v44880.f0 <=  (int)v2←v44908.f0)) {
         b←v6512.f0 = v1←v44880.f0;
         }
      else {
         b←v6512.f0 = v2←v44908.f0;
         };
      if (( (int)v1←v44880.f1 <=  (int)v2←v44908.f1)) {
         b←v6512.f1 = v1←v44880.f1;
         }
      else {
         b←v6512.f1 = v2←v44908.f1;
         };
      };
SOURCE(3607, 36)
   {
      W2 v1←v44804;
      W2 v2←v44832;
      v1←v44804 = (*  (W2Pt) (( (ptr) &b2←v6468)+2) );
      v2←v44832 = (*  (W2Pt) (( (ptr) &b1←v6440)+2) );
      if (( (int)v2←v44832.f0 >=  (int)v1←v44804.f0)) {
         b←v6512.f2 = v2←v44832.f0;
         }
      else {
         b←v6512.f2 = v1←v44804.f0;
         };
      if (( (int)v2←v44832.f1 >=  (int)v1←v44804.f1)) {
         b←v6512.f3 = v2←v44832.f1;
         }
      else {
         b←v6512.f3 = v1←v44804.f1;
         };
      };
   /* removed tail goto */ 
   (*  (W4Pt) formal←c0121 ) = b←v6512;
   return;
   }

static word Similar←P1380(i←v6572, j←v6600)
   word i←v6572;
   word j←v6600;
   {
   word var←c6644;
   /* Similar: */ 
SOURCE(3649, 263)
SOURCE(3879, 33)
   {
      word var←c0472;
      {
         word var←c46972;
         word diff←v43940;
SOURCE(3810, 64)
         diff←v43940 = ((i←v6572 - j←v6600) + 2);
SOURCE(3747, 127)
         var←c46972 = diff←v43940;
         var←c0472 =  (unsigned) (var←c46972 < 5);
         };
      return(var←c0472);
      };
   }

static void InternalRefresh←P1440(impl←v6704, box←v6732)
   word impl←v6704;
   W4 box←v6732;
   {
   register ptr gf←c50524 =  (ptr) &globalframe;
   register word idx←v9760 = 0;
   word thisIn←v9788;
   word nextIn←v9816;
   /* InternalRefresh: */ 
SOURCE(3916, 1670)
   (void) (XR←MonitorEntry(impl←v6704));
SOURCE(4002, 27)
   thisIn←v9788 = (* (( (ptr) impl←v6704)+38) );
SOURCE(4031, 45)
   nextIn←v9816 = ((thisIn←v9788 + 1) & 077);
SOURCE(4078, 28)
   if ((0 == (* (( (ptr) impl←v6704)+5) ))) {
SOURCE(4100, 6)
      (void) (XR←MonitorExit(impl←v6704));
      return;
      };
SOURCE(4108, 47)
   {
      W4 var←c47004;
      W4 box2←v44724;
      box2←v44724 = (*  (W4Pt) (( (ptr) impl←v6704)+27) );
      {
         W2 v1←v18828;
         W2 v2←v18860;
         v1←v18828 = (*  (W2Pt) &box2←v44724 );
         v2←v18860 = (*  (W2Pt) &box←v6732 );
         if (( (int)v2←v18860.f0 >=  (int)v1←v18828.f0)) {
            var←c47004.f0 = v2←v18860.f0;
            }
         else {
            var←c47004.f0 = v1←v18828.f0;
            };
         if (( (int)v2←v18860.f1 >=  (int)v1←v18828.f1)) {
            var←c47004.f1 = v2←v18860.f1;
            }
         else {
            var←c47004.f1 = v1←v18828.f1;
            };
         };
      {
         W2 v1←v19120;
         W2 v2←v19152;
         v1←v19120 = (*  (W2Pt) (( (ptr) &box←v6732)+2) );
         v2←v19152 = (*  (W2Pt) (( (ptr) &box2←v44724)+2) );
         if (( (int)v1←v19120.f0 <=  (int)v2←v19152.f0)) {
            var←c47004.f2 = v1←v19120.f0;
            }
         else {
            var←c47004.f2 = v2←v19152.f0;
            };
         if (( (int)v1←v19120.f1 <=  (int)v2←v19152.f1)) {
            var←c47004.f3 = v1←v19120.f1;
            }
         else {
            var←c47004.f3 = v2←v19152.f1;
            };
         };
      box←v6732 = var←c47004;
      };
SOURCE(4157, 34)
   if (( (int)box←v6732.f0 >=  (int)box←v6732.f2) || ( (int)box←v6732.f1 >=  (int)box←v6732.f3)) {
SOURCE(4185, 6)
      (void) (XR←MonitorExit(impl←v6704));
      return;
      };
SOURCE(4194, 43)
   (* (( (ptr) gf←c50524)+18)/* requestedPaintCount←v3756 */  ) = ((* (( (ptr) gf←c50524)+18)/* requestedPaintCount←v3756 */  ) + 
   1);
SOURCE(4239, 869)
   lab←L100009: ;
SOURCE(4304, 804)
SOURCE(4310, 559)
   idx←v9760 = (* (( (ptr) impl←v6704)+39) );
   lab←L100014: ;
   if ((idx←v9760 != thisIn←v9788)) {
      }
   else {
      goto lab←L100011;
      };
   {
      word var←c47196;
      W4 box2←v43864;
      word fLeniance←v43892;
SOURCE(4373, 496)
      box2←v43864 = (* (( (W4Pt) (( (ptr) impl←v6704)+40))+idx←v9760) );
      fLeniance←v43892 = (* (( (ptr) impl←v6704)+26) );
SOURCE(3350, 160)
      if ( (  ( ( (int)box←v6732.f2 >=  (int)(box2←v43864.f0 + 2)) ? ( (int)(box2←v43864.f2 + 2) >=  (int)box←v6732.f0) : 0 )  ? ( (int)(box←v6732.f3 + 
      fLeniance←v43892) >=  (int)box2←v43864.f1) : 0 ) ) {
         var←c47196 =  (unsigned) ( (int)(box2←v43864.f3 + fLeniance←v43892) >=  (int)box←v6732.f1);
         }
      else {
         var←c47196 =  (unsigned) 0;
         };
      if (((0 != var←c47196)
      )) {
SOURCE(4432, 472)
         {
            W4 b←v9860;
SOURCE(4434, 28)
            b←v9860 = (* (( (W4Pt) (( (ptr) impl←v6704)+40))+idx←v9760) );
SOURCE(4464, 46)
            {
               word pd41;
               pd41 = (* (( (ptr) (* (( (ptr) gf←c50524)+172)/* var←c47228 */  ))+21) );
               if ((0 != (word) ( *( (fPt) ((*  (ptr) pd41 ))))(box←v6732, b←v9860, pd41))) {
SOURCE(4504, 6)
                  (void) (XR←MonitorExit(impl←v6704));
                  return;
                  };
               };
SOURCE(4512, 127)
            {
               word pd43;
               if ( ( (0 != (word) Similar←P1380(box←v6732.f2, b←v9860.f2)) ? (0 != (word) Similar←P1380(box←v6732.f0, b←v9860.f0)) : 0 ) ) { goto then042;};
               pd43 = (* (( (ptr) (* (( (ptr) gf←c50524)+172)/* var←c47228 */  ))+21) );
               if ((0 != (word) ( *( (fPt) ((*  (ptr) pd43 ))))(b←v9860, box←v6732, pd43))) {
                  then042: ;
SOURCE(4620, 19)
                  (void) Union←P1320((word) &box←v6732, b←v9860, box←v6732);
SOURCE(4642, 24)
                  goto lab←L100010;
                  };
               };
SOURCE(4671, 198)
            if ((0 != (word) Similar←P1380(box←v6732.f0, b←v9860.f2)) || (0 != (word) Similar←P1380(box←v6732.f2, b←v9860.f0))) {
SOURCE(4740, 129)
               {
                  word tc44;
                  word x45;
                  word idx46;
                  word x47;
                  word idx48;
                  if (( (int)(
                     idx46 = (word) (
                        x45 = (box←v6732.f1 - b←v9860.f1),
                        IABS(x45)
                        ),
                     SGNCK(idx46)
                     ) <=  (int)(* (( (ptr) impl←v6704)+26) ))) {
                     tc44 =  (word) ( (int)(
                        idx48 = (word) (
                           x47 = (box←v6732.f3 - b←v9860.f3),
                           IABS(x47)
                           ),
                        SGNCK(idx48)
                        ) <=  (int)(* (( (ptr) impl←v6704)+26) ));
                     }
                  else {
                     tc44 =  (word) 0;
                     };
                  if (tc44) {
SOURCE(4850, 19)
                     (void) Union←P1320((word) &box←v6732, b←v9860, box←v6732);
SOURCE(4872, 24)
                     goto lab←L100010;
                     };
                  };
               };
            };
         };
      idx←v9760 = ((idx←v9760 + 1) & 077);
      goto lab←L100014;
      lab←L100011: ;
      };
   goto lab←L100016;
   lab←L100010: ;
SOURCE(4964, 63)
   if ((idx←v9760 != (* (( (ptr) impl←v6704)+39) ))) {
SOURCE(4987, 40)
      (* (( (W4Pt) (( (ptr) impl←v6704)+40))+idx←v9760) ) = (* (( (W4Pt) (( (ptr) impl←v6704)+40))+(* (( (ptr) impl←v6704)+39) ))
       );
      };
SOURCE(5033, 36)
   (* (( (ptr) impl←v6704)+39) ) = (((* (( (ptr) impl←v6704)+39) ) + 1) & 077);
SOURCE(5072, 4)
   goto lab←L100009;
   lab←L100016: ;
SOURCE(5113, 66)
   goto lab←L100008;
   /* c2c skipped dead code */ 
   lab←L100008: ;
SOURCE(5181, 148)
   if ((nextIn←v9816 == (* (( (ptr) impl←v6704)+39) ))) {
SOURCE(5252, 39)
      (void) Union←P1320((word) &box←v6732, box←v6732, (* (( (W4Pt) (( (ptr) impl←v6704)+40))+(* (( (ptr) impl←v6704)+39) )) ))
      ;
SOURCE(5293, 36)
      (* (( (ptr) impl←v6704)+39) ) = (((* (( (ptr) impl←v6704)+39) ) + 1) & 077);
      };
SOURCE(5335, 25)
   (* (( (W4Pt) (( (ptr) impl←v6704)+40))+thisIn←v9788) ) = box←v6732;
SOURCE(5362, 16)
   (* (( (ptr) impl←v6704)+38) ) = nextIn←v9816;
SOURCE(5380, 19)
   {
      word impl←v44036;
      impl←v44036 = impl←v6704;
SOURCE(6129, 135)
      if ((0 == (* (( (ptr) impl←v44036)+11) ))) {
SOURCE(6167, 33)
         (* (( (ptr) impl←v44036)+11) ) = 1;
SOURCE(6202, 62)
         {
            word pd49;
            pd49 = (* (( (ptr) (* (( (ptr) gf←c50524)+173)/* var←c47260 */  ))+4) );
            (void) ( *( (fPt) ((*  (ptr) pd49 ))))((word) (( (bPt) gf←c50524)+436)/* var←c45756 */ , impl←v44036, 3, pd49);
            };
         };
      };
SOURCE(5401, 72)
   lab←L100019: ;
   if ( ( (0 != (* (( (ptr) gf←c50524)+9)/* debugSynchronous←v3588 */  )) ? ((* (( (ptr) impl←v6704)+39) ) != (* (( (ptr) impl←v6704)+38)
    )) : 0 ) ) {
      }
   else {
      goto lab←L100017;
      };
SOURCE(5448, 25)
   (void) (XR←Wait(impl←v6704, (word) (( (bPt) gf←c50524)+40)/* debugSynchronousCOND←v3616 */ ));
   goto lab←L100019;
   lab←L100017: ;
SOURCE(5484, 102)
   if ( ( (thisIn←v9788 == (* (( (ptr) impl←v6704)+39) )) ? (0 != (* (( (ptr) impl←v6704)+19) )) : 0 ) ) {
SOURCE(5564, 22)
      (void) (XR←Notify((word) (( (bPt) impl←v6704)+80)));
      };
SOURCE(3916, 1670)
   (void) (XR←MonitorExit(impl←v6704));
   return;
   }

static void RemoveRect←P1560(formal←c0148, impl←v6896)
   word formal←c0148;
   word impl←v6896;
   {
   register ptr gf←c50556 =  (ptr) &globalframe;
   W4 b←v6940;
   /* RemoveRect: */ 
SOURCE(5682, 231)
   (void) (XR←MonitorEntry(impl←v6896));
SOURCE(5682, 231)
   b←v6940.f0 = 0;
   b←v6940.f1 = 0;
   b←v6940.f2 = 0;
   b←v6940.f3 = 0;
SOURCE(5742, 110)
   if (((* (( (ptr) impl←v6896)+38) ) == (* (( (ptr) impl←v6896)+39) ))) {
SOURCE(5768, 19)
      b←v6940.f0 = 2147483647;
      b←v6940.f1 = 2147483647;
      b←v6940.f2 = 2147483648;
      b←v6940.f3 = 2147483648;
      }
   else {
SOURCE(5789, 25)
      b←v6940 = (* (( (W4Pt) (( (ptr) impl←v6896)+40))+(* (( (ptr) impl←v6896)+39) )) );
SOURCE(5816, 36)
      (* (( (ptr) impl←v6896)+39) ) = (((* (( (ptr) impl←v6896)+39) ) + 1) & 077);
      };
SOURCE(5858, 55)
   if ((0 != (* (( (ptr) gf←c50556)+9)/* debugSynchronous←v3588 */  ))) {
SOURCE(5883, 30)
      (void) (XR←Broadcast((word) (( (bPt) gf←c50556)+40)/* debugSynchronousCOND←v3616 */ ));
      };
   /* removed tail goto */ 
   (void) (XR←MonitorExit(impl←v6896));
   (*  (W4Pt) formal←c0148 ) = b←v6940;
   return;
   }

static void ShortWait←P1620(impl←v7000)
   word impl←v7000;
   {
   /* ShortWait: */ 
SOURCE(5919, 148)
   (void) (XR←MonitorEntry(impl←v7000));
SOURCE(5958, 109)
   if (((* (( (ptr) impl←v7000)+38) ) == (* (( (ptr) impl←v7000)+39) ))) {
SOURCE(5988, 27)
      (* (( (ptr) impl←v7000)+19) ) = 1;
SOURCE(6017, 20)
      (void) (XR←Wait(impl←v7000, (word) (( (bPt) impl←v7000)+80)));
SOURCE(6039, 28)
      (* (( (ptr) impl←v7000)+19) ) = 0;
      };
SOURCE(5919, 148)
   (void) (XR←MonitorExit(impl←v7000));
   return;
   }

static void HandleError←P1740(data←v7120)
   word data←v7120;
   {
   W6 var←c50588;
   register ptr gf←c50620 =  (ptr) &globalframe;
   /* declaration of var←c47292 skipped */ 
   word impl←v9932;
   /* HandleError: */ 
SOURCE(6273, 488)
   {
      word tmpAddr50;
      tmpAddr50 = (word) (( (ptr) &var←c50588)+4)/* var←c47292 */ ;
      (*  (ptr) tmpAddr50 ) = ( ((word)  (fPt) ShouldRetryPainter←P3588) );
      (* (( (ptr) tmpAddr50) + 1) ) = 1;
      };
SOURCE(6530, 25)
   impl←v9932 = XR←Narrow(data←v7120, (* (( (ptr) gf←c50620)+32) ));
SOURCE(6557, 22)
   {
      word pd51;
      pd51 = (* (( (ptr) (* (( (ptr) gf←c50620)+174)/* var←c47324 */  ))+22) );
      (void) ( *( (fPt) ((*  (ptr) pd51 ))))(100, pd51);
      };
SOURCE(6664, 97)
   if ((0 != (word) ShouldRetryPainter←P3588(impl←v9932, (word) (( (bPt) &var←c50588)+16)/* var←c47292 */ ))) {
SOURCE(6699, 62)
      {
         word pd52;
         pd52 = (* (( (ptr) (* (( (ptr) gf←c50620)+173)/* var←c47260 */  ))+4) );
         (void) ( *( (fPt) ((*  (ptr) pd52 ))))((word) (( (bPt) gf←c50620)+436)/* var←c45756 */ , impl←v9932, 3, pd52);
         };
      };
   }

static word ShouldRetryPainter←P3588(formal←c0516, formal←c50684)
   word formal←c0516;
   word formal←c50684;
   {
   W6 var←c50652;
   /* declaration of impl←v10008 skipped */ 
   /* declaration of var←c01 skipped */ 
   word var←c10052;
   formal←c50684 = (formal←c50684 - 16);
   var←c50652.f4/* impl←v10008 */  = formal←c0516;
   var←c50652.f0 = formal←c50684;
   /* ShouldRetryPainter: */ 
SOURCE(6307, 220)
   (void) (XR←MonitorEntry(var←c50652.f4/* impl←v10008 */ ));
SOURCE(6370, 157)
   {
      word var←c02;
      {
         word var←c0473;
         var←c0473 = (word) &var←c50652;
         var←c02 = (word) XR←Enable(( ((word)  (fPt) NoName←Q7380) ), ( ((word)  (fPt) NoName←Q8400) ), var←c0473);
         };
      /* removed trivial cond node */ 
      };
   return(var←c50652.f5/* var←c01 */ );
   }

static word NoName←Q7380(formal←c0428)
   word formal←c0428;
   {
SOURCE(6393, 24)
   (void) InternalSetVisible←P2040((* ((( (ptr) formal←c0428)+4)) ));
SOURCE(6419, 56)
   if ((0 == (* (( (ptr) (* (( (ptr) formal←c0428)+4) ))+5) ))) {
SOURCE(6441, 34)
      (* (( (ptr) (* (( (ptr) formal←c0428)+4) ))+11) ) = 0;
      };
SOURCE(6477, 26)
   (void) (XR←Broadcast((word) (( (bPt) (* (( (ptr) formal←c0428)+4) ))+52)));
SOURCE(6505, 22)
   {
      word var←c47356;
      var←c47356 = (* (( (ptr) (* (( (ptr) formal←c0428)+4) ))+5) );
      (void) (XR←MonitorExit(* (( (ptr) formal←c0428)+4) ));
      (* (( (ptr) formal←c0428)+5) ) = var←c47356;
      return(1);
      };
   /* c2c skipped dead code */ 
   }

static word AlIDone←P1800(impl←v7196)
   word impl←v7196;
   {
   word var←c7240;
   /* AlIDone: */ 
SOURCE(6770, 335)
   (void) (XR←MonitorEntry(impl←v7196));
SOURCE(6770, 335)
   var←c7240 = 0;
SOURCE(6850, 255)
   if (((* (( (ptr) impl←v7196)+38) ) == (* (( (ptr) impl←v7196)+39) ))) {
SOURCE(6880, 63)
      if (( (int)(* (( (ptr) impl←v7196)+12) ) !=  (int)0)) {
SOURCE(6917, 26)
         (void) (XR←Broadcast((word) (( (bPt) impl←v7196)+52)));
         };
SOURCE(6945, 27)
      (* (( (ptr) impl←v7196)+19) ) = 1;
SOURCE(6974, 20)
      (void) (XR←Wait(impl←v7196, (word) (( (bPt) impl←v7196)+80)));
SOURCE(6996, 28)
      (* (( (ptr) impl←v7196)+19) ) = 0;
SOURCE(7026, 79)
      if (((* (( (ptr) impl←v7196)+38) ) == (* (( (ptr) impl←v7196)+39) ))) {
SOURCE(7056, 34)
         (* (( (ptr) impl←v7196)+11) ) = 0;
SOURCE(7092, 13)
         (void) (XR←MonitorExit(impl←v7196));
         return(1);
         };
      };
SOURCE(6770, 335)
   (void) (XR←MonitorExit(impl←v7196));
   return(var←c7240);
   }

static void PainterProcess←P1860(formal←c0517)
   word formal←c0517;
   {
   W11 var←c50716;
   /* declaration of data←v7300 skipped */ 
   (* (( (ptr) &var←c50716)+4)/* data←v7300 */  ) = formal←c0517;
   /* PainterProcess: */ 
SOURCE(7117, 3500)
SOURCE(7152, 3465)
SOURCE(7154, 3426)
   {
      /* declaration of a←v10080 skipped */ 
      /* declaration of box←v10108 skipped */ 
      /* declaration of impl←v10136 skipped */ 
      word var←c09;
      {
         word var←c0474;
         var←c0474 = (word) &var←c50716;
         var←c09 = (word) XR←Enable(( ((word)  (fPt) NoName←Q7440) ), ( ((word)  (fPt) NoName←Q8280) ), var←c0474);
         };
      if ((var←c09 == 3)) {
         goto lab←L100024;
         }
      else {
         if ((var←c09 == 1)) {
            goto lab←L04;
            };
         };
      };
   goto lab←L100039;
   lab←L100024: ;
   lab←L100039: ;
   lab←L04: ;
   return;
   }

static word NoName←Q7440(formal←c0430)
   word formal←c0430;
   {
   W9 var←c0489;
   register ptr gf←c0429 =  (ptr) &globalframe;
   (*  (ptr) &var←c0489 ) = formal←c0430;
SOURCE(7397, 9)
SOURCE(7397, 9)
   (* (( (ptr) formal←c0430)+5) ) = 0;
SOURCE(7408, 11)
   (* (( (ptr) formal←c0430)+6) ) = 0;
   (* (( (ptr) formal←c0430)+7) ) = 0;
   (* (( (ptr) formal←c0430)+8) ) = 0;
   (* (( (ptr) formal←c0430)+9) ) = 0;
SOURCE(7421, 25)
   (* (( (ptr) formal←c0430)+10) ) = XR←Narrow((* (( (ptr) formal←c0430)+4) ), (* (( (ptr) gf←c0429)+32) ));
SOURCE(7448, 44)
   (* (( (ptr) gf←c0429)+20)/* processStartedCount←v3812 */  ) = ((* (( (ptr) gf←c0429)+20)/* processStartedCount←v3812 */  ) + 
   1);
SOURCE(7495, 3085)
   lab←L100029: ;
SOURCE(7495, 3085)
SOURCE(7682, 178)
   if (((* (( (ptr) (* (( (ptr) formal←c0430)+10) ))+38) ) == (* (( (ptr) (* (( (ptr) formal←c0430)+10) ))+39) ))) {
SOURCE(7712, 62)
      if (( (int)(* (( (ptr) (* (( (ptr) formal←c0430)+10) ))+12) ) !=  (int)0)) {
SOURCE(7751, 23)
         (void) NotifyBufferEmpty←P2820((* ((( (ptr) formal←c0430)+10)) ));
         };
SOURCE(7779, 40)
      if ((0 != (* (( (ptr) gf←c0429)+22)/* yieldBeforeFlush←v4120 */  ))) {
SOURCE(7804, 15)
         {
            word pd53;
            pd53 = (* (( (ptr) (* (( (ptr) gf←c0429)+174)/* var←c47324 */  ))+23) );
            (void) ( *( (fPt) ((*  (ptr) pd53 ))))(pd53);
            };
         };
SOURCE(7821, 39)
      if ((0 != (* (( (ptr) gf←c0429)+21)/* waitBeforeFlush←v4036 */  ))) {
SOURCE(7845, 15)
         (void) ShortWait←P1620((* ((( (ptr) formal←c0430)+10)) ));
         };
      };
SOURCE(7865, 134)
   if (((* (( (ptr) (* (( (ptr) formal←c0430)+10) ))+38) ) == (* (( (ptr) (* (( (ptr) formal←c0430)+10) ))+39) ))) {
SOURCE(7895, 69)
      if ((0 != (* (( (ptr) (* (( (ptr) formal←c0430)+10) ))+5) ))) {
SOURCE(7918, 46)
         (* (( (ptr) formal←c0430)+5) ) = (* (( (ptr) (* (( (ptr) formal←c0430)+10) ))+4) );
         if (((* (( (ptr) formal←c0430)+5) ) != 0)) {
SOURCE(7948, 16)
            {
               word pd54;
               pd54 = (* (( (ptr) (* (( (ptr) gf←c0429)+171)/* var←c46748 */  ))+43) );
               (void) ( *( (fPt) ((*  (ptr) pd54 ))))((*  (ptr) (* (( (ptr) formal←c0430)+5) ) ), 0, pd54);
               };
            };
         };
SOURCE(7969, 30)
      if ((0 != (word) AlIDone←P1800((* ((( (ptr) formal←c0430)+10)) )))) {
SOURCE(7991, 8)
         return(1);
         };
      };
SOURCE(8004, 22)
   (void) RemoveRect←P1560((word) (( (bPt) formal←c0430)+24), (* (( (ptr) formal←c0430)+10) ));
SOURCE(8028, 2552)
   {
      word tc55;
      (* (( (ptr) formal←c0430)+5) ) = (* (( (ptr) (* (( (ptr) formal←c0430)+10) ))+4) );
      if (((* (( (ptr) formal←c0430)+5) ) != 0)) {
         tc55 =  (word) (0 != (* (( (ptr) (* (( (ptr) formal←c0430)+10) ))+5) ));
         }
      else {
         tc55 =  (word) 0;
         };
      if (tc55) {
SOURCE(8078, 37)
         (* (( (ptr) gf←c0429)+19)/* actualPaintCount←v3784 */  ) = ((* (( (ptr) gf←c0429)+19)/* actualPaintCount←v3784 */  ) + 1);
SOURCE(8118, 42)
         {
            W4 var←c47484;
            W4 box2←v44532;
            box2←v44532 = (*  (W4Pt) (( (ptr) (* (( (ptr) formal←c0430)+5) ))+16) );
            {
               W2 v1←v44580;
               W2 v2←v44608;
               v1←v44580 = (*  (W2Pt) &box2←v44532 );
               v2←v44608 = (*  (W2Pt) (( (ptr) formal←c0430)+6) );
               if (( (int)v2←v44608.f0 >=  (int)v1←v44580.f0)) {
                  var←c47484.f0 = v2←v44608.f0;
                  }
               else {
                  var←c47484.f0 = v1←v44580.f0;
                  };
               if (( (int)v2←v44608.f1 >=  (int)v1←v44580.f1)) {
                  var←c47484.f1 = v2←v44608.f1;
                  }
               else {
                  var←c47484.f1 = v1←v44580.f1;
                  };
               };
            {
               W2 v1←v44652;
               W2 v2←v44680;
               v1←v44652 = (*  (W2Pt) (( (ptr) formal←c0430)+8) );
               v2←v44680 = (*  (W2Pt) (( (ptr) &box2←v44532)+2) );
               if (( (int)v1←v44652.f0 <=  (int)v2←v44680.f0)) {
                  var←c47484.f2 = v1←v44652.f0;
                  }
               else {
                  var←c47484.f2 = v2←v44680.f0;
                  };
               if (( (int)v1←v44652.f1 <=  (int)v2←v44680.f1)) {
                  var←c47484.f3 = v1←v44652.f1;
                  }
               else {
                  var←c47484.f3 = v2←v44680.f1;
                  };
               };
            (*  (W4Pt) (( (ptr) formal←c0430)+6) ) = var←c47484;
            };
SOURCE(8162, 2418)
         if ( ( ( (int)(* (( (ptr) formal←c0430)+6) ) <  (int)(* (( (ptr) formal←c0430)+8) )) ? ( (int)(* (( (ptr) formal←c0430)+7)
          ) <  (int)(* (( (ptr) formal←c0430)+9) )) : 0 ) ) {
SOURCE(8194, 395)
            if ((0 != (* (( (ptr) gf←c0429)+5)/* debugInvertFirst←v3364 */  ))) {
SOURCE(8221, 170)
               {
                  W2 var←c47676;
                  W2 var←c47708;
                  var←c47676.f0 = ((* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+7) ) + (* (( (ptr) formal←c0430)+7) ));
                  var←c47676.f1 = ((* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+8) ) + (* (( (ptr) formal←c0430)+6) ));
                  var←c47708.f0 = ((* (( (ptr) formal←c0430)+9) ) - (* (( (ptr) formal←c0430)+7) ));
                  var←c47708.f1 = ((* (( (ptr) formal←c0430)+8) ) - (* (( (ptr) formal←c0430)+6) ));
                  {
                     word pd56;
                     pd56 = (* (( (ptr) (* (( (ptr) gf←c0429)+171)/* var←c46748 */  ))+169) );
                     (void) ( *( (fPt) ((*  (ptr) pd56 ))))((*  (ptr) (* (( (ptr) formal←c0430)+5) ) ), (* (( (ptr) (* (( (ptr) formal←c0430)+5)
                            ))+1) ), (* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+9) ), var←c47676, var←c47708, 0, pd56);
                     };
                  };
SOURCE(8393, 196)
               if ((0 != (* (( (ptr) gf←c0429)+6)/* debugFlushAfterInvert←v3392 */  ))) {
SOURCE(8425, 16)
                  {
                     word pd57;
                     pd57 = (* (( (ptr) (* (( (ptr) gf←c0429)+171)/* var←c46748 */  ))+43) );
                     (void) ( *( (fPt) ((*  (ptr) pd57 ))))((*  (ptr) (* (( (ptr) formal←c0430)+5) ) ), 0, pd57);
                     };
SOURCE(8443, 146)
                  if ( ( (0 != (* (( (ptr) gf←c0429)+7)/* debugPauseAfterInvert←v3420 */  )) ? ( (int)(* (( (ptr) gf←c0429)+8)/* debugPauseAfterInvertCount←v3448 */  ) >  (int)0) : 0 ) ) {
SOURCE(8508, 57)
                     (* (( (ptr) gf←c0429)+8)/* debugPauseAfterInvertCount←v3448 */  ) = ((* (( (ptr) gf←c0429)+8)/* debugPauseAfterInvertCount←v3448 */  ) - 1);
SOURCE(8567, 22)
                     {
                        word pd58;
                        pd58 = (* (( (ptr) (* (( (ptr) gf←c0429)+174)/* var←c47324 */  ))+22) );
                        (void) ( *( (fPt) ((*  (ptr) pd58 ))))(100, pd58);
                        };
                     };
                  };
               };
SOURCE(8600, 1715)
            if ((0 != (* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+4) ))) {
SOURCE(8620, 351)
               if (((* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+6) ) == 0)) {
SOURCE(8656, 317)
                  {
                     word p←v10240 = 0;
SOURCE(8688, 205)
                     {
                        /* declaration of var←c03 skipped */ 
                        /* declaration of var←c04 skipped */ 
                        /* declaration of var←c05 skipped */ 
                        /* declaration of var←c06 skipped */ 
                        (* (( (ptr) &var←c0489)+4)/* var←c03 */  ) = (*  (ptr) (* (( (ptr) formal←c0430)+5) ) );
                        (* (( (ptr) &var←c0489)+5)/* var←c04 */  ) = (* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+1) );
                        (* (( (ptr) &var←c0489)+6)/* var←c05 */  ) = (* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+12) );
                        (* (( (ptr) &var←c0489)+7)/* var←c06 */  ) = (* (( (ptr) (* (( (ptr) gf←c0429)+177)/* var←c47740 */  ))+6) );
                        {
                           /* declaration of var←c07 skipped */ 
                           {
/*1*/   word var←c08;
/*1*/   {
/*1*/      word var←c0475;
/*1*/      var←c0475 = (word) &var←c0489;
/*1*/      var←c08 = (word) XR←Enable(( ((word)  (fPt) NoName←Q7500) ), ( ((word)  (fPt) NoName←Q8340) ), var←c0475);
/*1*/      };
/*1*/   if ((var←c08 == 2)) {
/*1*/      goto lab←L100029;
/*1*/      }
/*1*/   else {
/*1*/      if ((var←c08 == 1)) {
/*1*/         return(1);
/*1*/         };
/*1*/      };
/*1*/   };
                           p←v10240 = (* (( (ptr) &var←c0489)+8)/* var←c07 */  );
                           };
                        };
SOURCE(8923, 15)
                     (* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+6) ) = p←v10240;
SOURCE(8940, 31)
                     (void) RememberPixmap←P3180((* (( (ptr) formal←c0430)+10) ), p←v10240, (*  (ptr) (* (( (ptr) formal←c0430)+5) ) ));
                     };
                  };
SOURCE(8976, 481)
               if ((0 != (* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+5) ))) {
SOURCE(8999, 239)
                  {
                     W2 var←c47772;
                     W2 var←c47804;
                     W2 var←c47836;
                     var←c47772.f0 = (* (( (ptr) formal←c0430)+7) );
                     var←c47772.f1 = (* (( (ptr) formal←c0430)+6) );
                     var←c47804.f0 = ((* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+7) ) + (* (( (ptr) formal←c0430)+7) ));
                     var←c47804.f1 = ((* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+8) ) + (* (( (ptr) formal←c0430)+6) ));
                     var←c47836.f0 = ((* (( (ptr) formal←c0430)+9) ) - (* (( (ptr) formal←c0430)+7) ));
                     var←c47836.f1 = ((* (( (ptr) formal←c0430)+8) ) - (* (( (ptr) formal←c0430)+6) ));
                     {
                        word pd59;
                        pd59 = (* (( (ptr) (* (( (ptr) gf←c0429)+171)/* var←c46748 */  ))+168) );
                        (void) ( *( (fPt) ((*  (ptr) pd59 ))))((*  (ptr) (* (( (ptr) formal←c0430)+5) ) ), (* (( (ptr) (* (( (ptr) formal←c0430)+5)
/*1*/    ))+6) ), (* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+1) ), var←c47772, var←c47804, var←c47836
                           , (* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+9) ), 1, 0, pd59);
                        };
                     };
                  }
               else {
SOURCE(9238, 219)
                  {
                     W2 var←c47868;
                     W2 var←c47900;
                     W2 var←c47932;
                     var←c47868.f0 = (* (( (ptr) formal←c0430)+7) );
                     var←c47868.f1 = (* (( (ptr) formal←c0430)+6) );
                     var←c47900.f0 = ((* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+7) ) + (* (( (ptr) formal←c0430)+7) ));
                     var←c47900.f1 = ((* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+8) ) + (* (( (ptr) formal←c0430)+6) ));
                     var←c47932.f0 = ((* (( (ptr) formal←c0430)+9) ) - (* (( (ptr) formal←c0430)+7) ));
                     var←c47932.f1 = ((* (( (ptr) formal←c0430)+8) ) - (* (( (ptr) formal←c0430)+6) ));
                     {
                        word pd60;
                        pd60 = (* (( (ptr) (* (( (ptr) gf←c0429)+171)/* var←c46748 */  ))+167) );
                        (void) ( *( (fPt) ((*  (ptr) pd60 ))))((*  (ptr) (* (( (ptr) formal←c0430)+5) ) ), (* (( (ptr) (* (( (ptr) formal←c0430)+5)
/*1*/    ))+6) ), (* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+1) ), var←c47868, var←c47900, var←c47932
                           , (* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+9) ), 0, pd60);
                        };
                     };
                  };
               }
            else {
SOURCE(9466, 851)
               {
                  word dirtyFix←v10284 = 0;
SOURCE(9487, 504)
                  {
                     word var←c47964;
                     var←c47964 = (* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+14) );
                     switch (var←c47964) {
                        case 1: 
                           break;
                        case 8: 
SOURCE(9530, 26)
                           dirtyFix←v10284 = IOP2( % ,  (int)(* (( (ptr) formal←c0430)+7) ),  (int)4);
SOURCE(9601, 63)
                           if (( (int)((* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+7) ) + (* (( (ptr) formal←c0430)+7) )) <  (int)dirtyFix←v10284)) {
SOURCE(9641, 23)
/*1*/   dirtyFix←v10284 = (dirtyFix←v10284 - 4);
/*1*/   };
                           break;
                        case 4: 
SOURCE(9680, 26)
                           dirtyFix←v10284 = IOP2( % ,  (int)(* (( (ptr) formal←c0430)+7) ),  (int)8);
SOURCE(9751, 63)
                           if (( (int)((* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+7) ) + (* (( (ptr) formal←c0430)+7) )) <  (int)dirtyFix←v10284)) {
SOURCE(9791, 23)
/*1*/   dirtyFix←v10284 = (dirtyFix←v10284 - 8);
/*1*/   };
                           break;
                        case 24: 
SOURCE(9831, 26)
                           dirtyFix←v10284 = IOP2( % ,  (int)(* (( (ptr) formal←c0430)+7) ),  (int)3);
SOURCE(9902, 63)
                           if (( (int)((* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+7) ) + (* (( (ptr) formal←c0430)+7) )) <  (int)dirtyFix←v10284)) {
SOURCE(9942, 23)
/*1*/   dirtyFix←v10284 = (dirtyFix←v10284 - 3);
/*1*/   };
                           break;
                        default: 
SOURCE(9985, 6)
                           return(1);
                        };
                     };
SOURCE(10011, 304)
                  {
                     W2 var←c47996;
                     W2 var←c48028;
                     var←c47996.f0 = (((* (( (ptr) formal←c0430)+9) ) - (* (( (ptr) formal←c0430)+7) )) + dirtyFix←v10284);
                     var←c47996.f1 = ((* (( (ptr) formal←c0430)+8) ) - (* (( (ptr) formal←c0430)+6) ));
                     var←c48028.f0 = (((* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+7) ) + (* (( (ptr) formal←c0430)+7) )) - dirtyFix←v10284);
                     var←c48028.f1 = ((* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+8) ) + (* (( (ptr) formal←c0430)+6) ));
                     {
                        word pd61;
                        pd61 = (* (( (ptr) (* (( (ptr) gf←c0429)+171)/* var←c46748 */  ))+172) );
                        (void) ( *( (fPt) ((*  (ptr) pd61 ))))((*  (ptr) (* (( (ptr) formal←c0430)+5) ) ), (* (( (ptr) (* (( (ptr) formal←c0430)+5)
/*1*/    ))+1) ), (* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+9) ), var←c47996, var←c48028, (* (( (ptr) (* (( (ptr) formal←c0430)+5)
/*1*/    ))+11) )
                           , ((* (( (ptr) formal←c0430)+7) ) - dirtyFix←v10284), (* (( (ptr) formal←c0430)+6) ), (* (( (ptr) (* (( (ptr) formal←c0430)+5)
/*1*/    ))+10) ), (* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+14) ), 0, pd61);
                        };
                     };
                  };
               };
SOURCE(10320, 8)
SOURCE(7525, 110)
            {
               register word rl←v10372;
               rl←v10372 = (* (( (ptr) (* (( (ptr) formal←c0430)+10) ))+37) );
               lab←L100038: ;
               if ((rl←v10372 != 0)) {
                  }
               else {
                  goto lab←L100035;
                  };
SOURCE(7594, 41)
               {
                  word pd62;
                  pd62 = (*  (ptr) (*  (ptr) rl←v10372 ) );
                  (void) ( *( (fPt) ((*  (ptr) pd62 ))))((*  (W4Pt) (( (ptr) formal←c0430)+6) ), (* (( (ptr) (*  (ptr) rl←v10372 ))+1) ), pd62)
                  ;
                  };
               rl←v10372 = (* (( (ptr) rl←v10372)+1) );
               goto lab←L100038;
               lab←L100035: ;
               };
SOURCE(10330, 31)
            (* (( (ptr) (* (( (ptr) formal←c0430)+10) ))+10) ) = ((* (( (ptr) (* (( (ptr) formal←c0430)+10) ))+10) ) + 1);
SOURCE(10363, 217)
            if (( (int)(* (( (ptr) (* (( (ptr) formal←c0430)+10) ))+10) ) >=  (int)(* (( (ptr) (* (( (ptr) formal←c0430)+10) ))+9) ))) {
SOURCE(10405, 177)
               {
                  word newSeq←v10328;
SOURCE(10407, 62)
                  {
                     word pd63;
                     pd63 = (* (( (ptr) (* (( (ptr) gf←c0429)+178)/* var←c48060 */  ))+6) );
                     newSeq←v10328 = (word) ( *( (fPt) ((*  (ptr) pd63 ))))((*  (ptr) (* (( (ptr) formal←c0430)+5) ) ), 1, pd63);
                     };
SOURCE(10471, 70)
                  if (((* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+21) ) != 0)) {
SOURCE(10491, 50)
                     {
                        word pd64;
                        pd64 = (* (( (ptr) (* (( (ptr) gf←c0429)+178)/* var←c48060 */  ))+7) );
                        (void) ( *( (fPt) ((*  (ptr) pd64 ))))((*  (ptr) (* (( (ptr) formal←c0430)+5) ) ), (* (( (ptr) (* (( (ptr) formal←c0430)+5)
/*1*/    ))+21) ), 0, pd64);
                        };
                     };
SOURCE(10543, 18)
                  (* (( (ptr) (* (( (ptr) formal←c0430)+5) ))+21) ) = newSeq←v10328;
SOURCE(10563, 17)
                  (* (( (ptr) (* (( (ptr) formal←c0430)+10) ))+10) ) = 0;
                  };
               };
            };
         };
      };
   goto lab←L100029;
   /* c2c skipped dead code */ 
   }

static word NoName←Q7500(formal←c0431)
   word formal←c0431;
   {
SOURCE(8688, 205)
   {
      word pd65;
      pd65 = (* (( (ptr) formal←c0431)+7) );
      (* (( (ptr) formal←c0431)+8) ) = (word) ( *( (fPt) ((*  (ptr) pd65 ))))((* (( (ptr) formal←c0431)+4) ), (* (( (ptr) formal←c0431)+5)
          ), (* (( (ptr) formal←c0431)+6) ), pd65);
      };
   return(0);
   }

static void SetInterception←P1920(impl←v7372, newBm←v7400)
   word impl←v7372;
   word newBm←v7400;
   {
   register ptr gf←c50748 =  (ptr) &globalframe;
   word oldBm←v10496;
   /* SetInterception: */ 
SOURCE(10621, 385)
SOURCE(10693, 47)
   oldBm←v10496 = (* (( (ptr) impl←v7372)+296) );
SOURCE(10742, 264)
   if ((oldBm←v10496 != newBm←v7400)) {
SOURCE(10764, 95)
      if ((oldBm←v10496 != 0)) {
SOURCE(10784, 28)
         (* (( (ptr) impl←v7372)+296) ) = 0;
SOURCE(10814, 45)
         {
            word pd66;
            pd66 = (* (( (ptr) (* (( (ptr) gf←c50748)+179)/* var←c48092 */  ))+15) );
            (void) ( *( (fPt) ((*  (ptr) pd66 ))))(oldBm←v10496, impl←v7372, pd66);
            };
         };
SOURCE(10864, 142)
      if ((newBm←v7400 != 0)) {
SOURCE(10884, 30)
         (* (( (ptr) impl←v7372)+296) ) = newBm←v7400;
SOURCE(10916, 90)
         {
            word pd67;
            pd67 = (* (( (ptr) (* (( (ptr) gf←c50748)+179)/* var←c48092 */  ))+14) );
            (void) ( *( (fPt) ((*  (ptr) pd67 ))))(newBm←v7400, (word) (( (bPt) gf←c50748)+284)/* var←c45148 */ , (word) (( (bPt) gf←c50748)+292)
               /* var←c45180 */ , impl←v7372, pd67);
            };
         };
      };
   }

static void EventProc←P1980(event←v17288, clientData←v17316, tq←v17344)
   word event←v17288;
   word clientData←v17316;
   word tq←v17344;
   {
   W10 var←c50780;
   register ptr gf←c50812 =  (ptr) &globalframe;
   /* declaration of var←c48124 skipped */ 
   /* declaration of var←c48156 skipped */ 
   /* declaration of var←c48188 skipped */ 
   /* EventProc: */ 
SOURCE(11018, 1336)
   {
      word tmpAddr68;
      tmpAddr68 = (word) (( (ptr) &var←c50780)+4)/* var←c48124 */ ;
      (*  (ptr) tmpAddr68 ) = ( ((word)  (fPt) EntryMapEvent←P4116) );
      (* (( (ptr) tmpAddr68) + 1) ) = 1;
      };
   {
      word tmpAddr69;
      tmpAddr69 = (word) (( (ptr) &var←c50780)+6)/* var←c48156 */ ;
      (*  (ptr) tmpAddr69 ) = ( ((word)  (fPt) EntryUnmapEvent←P4056) );
      (* (( (ptr) tmpAddr69) + 1) ) = 1;
      };
   {
      word tmpAddr70;
      tmpAddr70 = (word) (( (ptr) &var←c50780)+8)/* var←c48188 */ ;
      (*  (ptr) tmpAddr70 ) = ( ((word)  (fPt) EntryDestroyEvent←P3996) );
      (* (( (ptr) tmpAddr70) + 1) ) = 1;
      };
SOURCE(11590, 764)
   {
      word var←c48220;
      var←c48220 = clientData←v17316;
      if ((var←c48220 == 0)) {
         goto lab←L100040;
         };
      if (((* (( (ptr) gf←c50812)+40) ) == XR←GetReferentType(var←c48220))) {
         {
            word handle←v10904;
            handle←v10904 = var←c48220;
SOURCE(11636, 740)
            {
               word impl←v10948;
SOURCE(11638, 24)
               impl←v10948 = (*  (ptr) handle←v10904 );
SOURCE(11664, 690)
               {
                  word var←c48252;
                  var←c48252 = (* (( (ptr) event←v17288)+4) );
                  switch (var←c48252) {
                     case 12: 
SOURCE(11697, 241)
                        {
                           word e←v10992;
                           word a←v11020;
SOURCE(11699, 33)
                           if ((event←v17288 == 0)) {
/*1*/   goto lab←L100041;
/*1*/   };
                           if (((* (( (ptr) event←v17288)+4) ) == 12)) {
/*1*/   goto lab←L100041;
/*1*/   };
                           (void) XR←RaiseError(XR←NarrowFault, 0);
                           lab←L100041: ;
                           e←v10992 = event←v17288;
SOURCE(11734, 23)
                           a←v11020 = (* (( (ptr) impl←v10948)+4) );
SOURCE(11759, 176)
                           if ((a←v11020 != 0)) {
SOURCE(11775, 160)
/*1*/   {
/*1*/      W4 var←c48284;
/*1*/      var←c48284.f0 = ((* (( (ptr) e←v10992)+8) ) - (* (( (ptr) a←v11020)+8) ));
/*1*/      var←c48284.f1 = ((* (( (ptr) e←v10992)+7) ) - (* (( (ptr) a←v11020)+7) ));
/*1*/      var←c48284.f2 = (((* (( (ptr) e←v10992)+8) ) + (* (( (ptr) e←v10992)+10) )) - (* (( (ptr) a←v11020)+8) ));
/*1*/      var←c48284.f3 = (((* (( (ptr) e←v10992)+7) ) + (* (( (ptr) e←v10992)+9) )) - (* (( (ptr) a←v11020)+7) ));
/*1*/      (void) InternalRefresh←P1440(impl←v10948, var←c48284);
/*1*/      };
/*1*/   };
                           };
                        break;
                     case 19: 
SOURCE(11954, 73)
                        {
                           word mn←v11064;
SOURCE(11956, 37)
                           if ((event←v17288 == 0)) {
/*1*/   goto lab←L100042;
/*1*/   };
                           if (((* (( (ptr) event←v17288)+4) ) == 19)) {
/*1*/   goto lab←L100042;
/*1*/   };
                           (void) XR←RaiseError(XR←NarrowFault, 0);
                           lab←L100042: ;
                           mn←v11064 = event←v17288;
SOURCE(11995, 30)
                           (void) EntryMapEvent←P4116(impl←v10948, (* (( (ptr) mn←v11064)+7) ), (word) (( (bPt) &var←c50780)+16)/* var←c48124 */ );
                           };
                        break;
                     case 18: 
SOURCE(12045, 77)
                        {
                           word un←v11108;
SOURCE(12047, 39)
                           if ((event←v17288 == 0)) {
/*1*/   goto lab←L100043;
/*1*/   };
                           if (((* (( (ptr) event←v17288)+4) ) == 18)) {
/*1*/   goto lab←L100043;
/*1*/   };
                           (void) XR←RaiseError(XR←NarrowFault, 0);
                           lab←L100043: ;
                           un←v11108 = event←v17288;
SOURCE(12088, 32)
                           (void) EntryUnmapEvent←P4056(impl←v10948, (* (( (ptr) un←v11108)+7) ), (word) (( (bPt) &var←c50780)+24)/* var←c48156 */ )
                           ;
                           };
                        break;
                     case 17: 
SOURCE(12142, 216)
                        {
                           word dn←v11152;
SOURCE(12144, 41)
                           if ((event←v17288 == 0)) {
/*1*/   goto lab←L100044;
/*1*/   };
                           if (((* (( (ptr) event←v17288)+4) ) == 17)) {
/*1*/   goto lab←L100044;
/*1*/   };
                           (void) XR←RaiseError(XR←NarrowFault, 0);
                           lab←L100044: ;
                           dn←v11152 = event←v17288;
SOURCE(12187, 34)
                           (void) EntryDestroyEvent←P3996(impl←v10948, (* (( (ptr) dn←v11152)+7) ), (word) (( (bPt) &var←c50780)+32)/* var←c48188 */ )
                           ;
SOURCE(12223, 131)
                           if (((* (( (ptr) dn←v11152)+7) ) != 0)) {
SOURCE(12255, 101)
/*1*/   {
/*1*/      word table←v11196;
SOURCE(12258, 51)
/*1*/      table←v11196 = (word) GetAssocTable←P2280((* ((( (ptr) dn←v11152)+2)) ));
SOURCE(12311, 43)
/*1*/      {
/*1*/         word var←c48348;
/*1*/         word pd71;
/*1*/         pd71 = (* (( (ptr) (* (( (ptr) gf←c50812)+180)/* var←c48316 */  ))+11) );
/*1*/         var←c48348 = (word) ( *( (fPt) ((*  (ptr) pd71 ))))(table←v11196, (* (( (ptr) dn←v11152)+7) ), pd71);
/*1*/         };
/*1*/      };
/*1*/   };
                           };
                        break;
                     };
                  };
               };
            };
         }
      else {
         lab←L100040: ;
         };
      };
   }

static void EntryDestroyEvent←P3996(impl←v10672, w←v10700, formal←c50844)
   word impl←v10672;
   word w←v10700;
   word formal←c50844;
   {
   word a←v11240;
   formal←c50844 = (formal←c50844 - 32);
   /* EntryDestroyEvent: */ 
SOURCE(11050, 203)
   (void) (XR←MonitorEntry(impl←v10672));
SOURCE(11111, 23)
   a←v11240 = (* (( (ptr) impl←v10672)+4) );
SOURCE(11136, 117)
   if ( ( (a←v11240 != 0) ? ((* (( (ptr) a←v11240)+1) ) == w←v10700) : 0 ) ) {
SOURCE(11167, 21)
      (* (( (ptr) a←v11240)+20) ) = 0;
SOURCE(11190, 22)
      (* (( (ptr) impl←v10672)+6) ) = 0;
SOURCE(11214, 20)
      (* (( (ptr) impl←v10672)+5) ) = 0;
SOURCE(11236, 17)
      (* (( (ptr) impl←v10672)+4) ) = 0;
      };
SOURCE(11050, 203)
   (void) (XR←MonitorExit(impl←v10672));
   return;
   }

static void EntryUnmapEvent←P4056(impl←v10760, w←v10788, formal←c50876)
   word impl←v10760;
   word w←v10788;
   word formal←c50876;
   {
   word a←v11284;
   formal←c50876 = (formal←c50876 - 24);
   /* EntryUnmapEvent: */ 
SOURCE(11261, 156)
   (void) (XR←MonitorEntry(impl←v10760));
SOURCE(11320, 23)
   a←v11284 = (* (( (ptr) impl←v10760)+4) );
SOURCE(11345, 72)
   if ( ( (a←v11284 != 0) ? ((* (( (ptr) a←v11284)+1) ) == w←v10788) : 0 ) ) {
SOURCE(11376, 19)
      (* (( (ptr) impl←v10760)+7) ) = 0;
SOURCE(11397, 20)
      (* (( (ptr) impl←v10760)+5) ) = 0;
      };
SOURCE(11261, 156)
   (void) (XR←MonitorExit(impl←v10760));
   return;
   }

static void EntryMapEvent←P4116(impl←v10848, w←v10876, formal←c50908)
   word impl←v10848;
   word w←v10876;
   word formal←c50908;
   {
   word a←v11328;
   formal←c50908 = (formal←c50908 - 16);
   /* EntryMapEvent: */ 
SOURCE(11425, 157)
   (void) (XR←MonitorEntry(impl←v10848));
SOURCE(11482, 23)
   a←v11328 = (* (( (ptr) impl←v10848)+4) );
SOURCE(11507, 75)
   if ( ( (a←v11328 != 0) ? ((* (( (ptr) a←v11328)+1) ) == w←v10876) : 0 ) ) {
SOURCE(11538, 18)
      (* (( (ptr) impl←v10848)+7) ) = 1;
SOURCE(11558, 24)
      (void) InternalSetVisible←P2040(impl←v10848);
      };
SOURCE(11425, 157)
   (void) (XR←MonitorExit(impl←v10848));
   return;
   }

static void InternalSetVisible←P2040(impl←v7460)
   word impl←v7460;
   {
   register ptr gf←c50940 =  (ptr) &globalframe;
   word a←v11372;
   /* InternalSetVisible: */ 
SOURCE(12398, 354)
SOURCE(12449, 23)
   a←v11372 = (* (( (ptr) impl←v7460)+4) );
SOURCE(12474, 278)
   if ((a←v11372 == 0)) {
SOURCE(12489, 26)
      (* (( (ptr) impl←v7460)+5) ) = 0;
      }
   else {
SOURCE(12517, 103)
      if ( (  (  ( (0 != (* (( (ptr) impl←v7460)+7) )) ? (0 != (* (( (ptr) impl←v7460)+6) )) : 0 )  ? (0 != (* (( (ptr) impl←v7460)+8)
       )) : 0 )  ? (0 != (* (( (ptr) a←v11372)+20) )) : 0 ) ) {
         {
            word var←c48380;
            word c←v44484;
            c←v44484 = (*  (ptr) a←v11372 );
            if ((c←v44484 != 0)) {
               var←c48380 =  (unsigned) (0 != (* (( (ptr) c←v44484)+15) ));
               }
            else {
               var←c48380 =  (unsigned) 0;
               };
            (* (( (ptr) impl←v7460)+5) ) =  (unsigned) (0 != var←c48380);
            };
         }
      else {
         (* (( (ptr) impl←v7460)+5) ) =  (unsigned) 0;
         };
SOURCE(12622, 130)
      if ((0 != (* (( (ptr) a←v11372)+4) ))) {
SOURCE(12642, 29)
         (* (( (ptr) impl←v7460)+26) ) = (* (( (ptr) gf←c50940)+26)/* shmFLeniance←v4400 */  );
SOURCE(12673, 24)
         (* (( (ptr) impl←v7460)+9) ) = 128;
         }
      else {
SOURCE(12708, 19)
         (* (( (ptr) impl←v7460)+26) ) = 15;
SOURCE(12729, 23)
         (* (( (ptr) impl←v7460)+9) ) = 32;
         };
      };
   }

static word CreateHandle←P2100()
   {
   register ptr gf←c50972 =  (ptr) &globalframe;
   word handle←v7520;
   /* CreateHandle: */ 
SOURCE(12764, 281)
SOURCE(12764, 281)
   handle←v7520 = 0;
SOURCE(12822, 61)
   {
      word var←c48412;
      word var←c48476;
      {
         word var←c48444;
         var←c48444 = XR←NewObject(1196, (* (( (ptr) gf←c50972)+32) ));
         (* (( (ptr) var←c48444)+9) ) = 48;
         (* (( (ptr) var←c48444)+26) ) = 16;
         (* (( (ptr) var←c48444)+27) ) = 2147483647;
         (* (( (ptr) var←c48444)+28) ) = 2147483647;
         (* (( (ptr) var←c48444)+29) ) = 2147483648;
         (* (( (ptr) var←c48444)+30) ) = 2147483648;
         (* (( (ptr) var←c48444)+31) ) = 2147483647;
         (* (( (ptr) var←c48444)+32) ) = 2147483647;
         (* (( (ptr) var←c48444)+33) ) = 2147483648;
         (* (( (ptr) var←c48444)+34) ) = 2147483648;
         var←c48412 = var←c48444;
         };
      var←c48476 = XR←NewObject(4, (* (( (ptr) gf←c50972)+40) ));
      (*  (ptr) var←c48476 ) = var←c48412;
      handle←v7520 = var←c48476;
      };
SOURCE(12893, 72)
SOURCE(12894, 71)
   {
      word var←c48508;
      {
         word pd72;
         pd72 = (* (( (ptr) (* (( (ptr) gf←c50972)+174)/* var←c47324 */  ))+6) );
         var←c48508 = (word) ( *( (fPt) ((*  (ptr) pd72 ))))(1000, pd72);
         };
      {
         word pd73;
         pd73 = (* (( (ptr) (* (( (ptr) gf←c50972)+174)/* var←c47324 */  ))+9) );
         (void) ( *( (fPt) ((*  (ptr) pd73 ))))((word) (( (bPt) (*  (ptr) handle←v7520 ))+52), var←c48508, pd73);
         };
      };
SOURCE(12976, 69)
SOURCE(12977, 68)
   {
      word var←c48540;
      {
         word pd74;
         pd74 = (* (( (ptr) (* (( (ptr) gf←c50972)+174)/* var←c47324 */  ))+6) );
         var←c48540 = (word) ( *( (fPt) ((*  (ptr) pd74 ))))(20, pd74);
         };
      {
         word pd75;
         pd75 = (* (( (ptr) (* (( (ptr) gf←c50972)+174)/* var←c47324 */  ))+9) );
         (void) ( *( (fPt) ((*  (ptr) pd75 ))))((word) (( (bPt) (*  (ptr) handle←v7520 ))+80), var←c48540, pd75);
         };
      };
SOURCE(12764, 281)
   return(handle←v7520);
   }

static void DestroyHandle←P2160(handle←v7580, formal←c0518)
   word handle←v7580;
   word formal←c0518;
   {
   W9 var←c51004;
   /* declaration of destroyWindow←v7608 skipped */ 
   /* declaration of var←c48572 skipped */ 
   word impl←v11416;
   /* declaration of con←v11444 skipped */ 
   /* declaration of destroyW←v11472 skipped */ 
   (* (( (ptr) &var←c51004)+4)/* destroyWindow←v7608 */  ) = formal←c0518;
   /* DestroyHandle: */ 
SOURCE(13052, 828)
   {
      word tmpAddr76;
      tmpAddr76 = (word) (( (ptr) &var←c51004)+5)/* var←c48572 */ ;
      (*  (ptr) tmpAddr76 ) = ( ((word)  (fPt) ProtectedDestroyHandle←P4512) );
      (* (( (ptr) tmpAddr76) + 1) ) = 1;
      };
SOURCE(13129, 24)
   impl←v11416 = (*  (ptr) handle←v7580 );
SOURCE(13155, 18)
   (* (( (ptr) &var←c51004)+7)/* con←v11444 */  ) = 0;
SOURCE(13175, 35)
   (* (( (ptr) &var←c51004)+8)/* destroyW←v11472 */  ) = 0;
SOURCE(13530, 37)
   (* (( (ptr) impl←v11416)+8) ) = 0;
   (* (( (ptr) impl←v11416)+5) ) = 0;
SOURCE(13569, 22)
   (void) CancelRefreshs←P2760(handle←v7580);
SOURCE(13593, 28)
   (void) ProtectedDestroyHandle←P4512(impl←v11416, (word) (( (bPt) &var←c51004)+20)/* var←c48572 */ );
SOURCE(13623, 40)
   (void) RememberPixmap←P3180(impl←v11416, 0, 0);
SOURCE(13665, 215)
   if ( (  ( ((* (( (ptr) &var←c51004)+7)/* con←v11444 */  ) != 0) ? (0 != (* (( (ptr) (* (( (ptr) &var←c51004)+7)/* con←v11444 */  ))+15)
    )) : 0 )  ? ((* (( (ptr) &var←c51004)+8)/* destroyW←v11472 */  ) != 0) : 0 ) ) {
SOURCE(13714, 166)
SOURCE(13716, 145)
      {
         word var←c010;
         {
            word var←c0476;
            var←c0476 = (word) &var←c51004;
            var←c010 = (word) XR←Enable(( ((word)  (fPt) NoName←Q7560) ), ( ((word)  (fPt) NoName←Q8220) ), var←c0476);
            };
         if ((var←c010 == 4)) {
            goto lab←L100046;
            };
         };
      goto lab←L100049;
      lab←L100046: ;
      lab←L100049: ;
      };
   }

static word NoName←Q7560(formal←c0440)
   word formal←c0440;
   {
   register ptr gf←c0439 =  (ptr) &globalframe;
SOURCE(13747, 17)
   {
      word pd77;
      pd77 = (* (( (ptr) (* (( (ptr) gf←c0439)+171)/* var←c46748 */  ))+44) );
      (void) ( *( (fPt) ((*  (ptr) pd77 ))))((* (( (ptr) formal←c0440)+7) ), 0, pd77);
      };
SOURCE(13809, 31)
   {
      word pd78;
      pd78 = (* (( (ptr) (* (( (ptr) gf←c0439)+171)/* var←c46748 */  ))+77) );
      (void) ( *( (fPt) ((*  (ptr) pd78 ))))((* (( (ptr) formal←c0440)+7) ), (* (( (ptr) formal←c0440)+8) ), 0, pd78);
      };
SOURCE(13842, 19)
   {
      word pd79;
      pd79 = (* (( (ptr) (* (( (ptr) gf←c0439)+171)/* var←c46748 */  ))+43) );
      (void) ( *( (fPt) ((*  (ptr) pd79 ))))((* (( (ptr) formal←c0440)+7) ), 1, pd79);
      };
   return(0);
   }

static void ProtectedDestroyHandle←P4512(formal←c0519, formal←c51068)
   word formal←c0519;
   word formal←c51068;
   {
   W5 var←c51036;
   /* declaration of impl←v11576 skipped */ 
   formal←c51068 = (formal←c51068 - 20);
   var←c51036.f4/* impl←v11576 */  = formal←c0519;
   var←c51036.f0 = formal←c51068;
   /* ProtectedDestroyHandle: */ 
SOURCE(13212, 310)
   (void) (XR←MonitorEntry(var←c51036.f4/* impl←v11576 */ ));
SOURCE(13264, 258)
   {
      word var←c011;
      {
         word var←c0477;
         var←c0477 = (word) &var←c51036;
         var←c011 = (word) XR←Enable(( ((word)  (fPt) NoName←Q7620) ), ( ((word)  (fPt) NoName←Q8160) ), var←c0477);
         };
      if ((var←c011 == 1)) {
         goto lab←L08;
         };
      };
SOURCE(13212, 310)
   (void) (XR←MonitorExit(var←c51036.f4/* impl←v11576 */ ));
   return;
   lab←L08: ;
   return;
   }

static word NoName←Q7620(formal←c0442)
   word formal←c0442;
   {
SOURCE(13287, 19)
   {
      word bm←v11604 = 0;
      word a←v11632;
SOURCE(13308, 23)
      a←v11632 = (* (( (ptr) (* (( (ptr) formal←c0442)+4) ))+4) );
SOURCE(13333, 26)
      (void) SetInterception←P1920((* (( (ptr) formal←c0442)+4) ), 0);
SOURCE(13361, 20)
      if ((a←v11632 == 0)) {
SOURCE(13375, 6)
         (void) (XR←MonitorExit(* (( (ptr) formal←c0442)+4) ));
         return(1);
         };
SOURCE(13383, 12)
      (* (( (ptr) (*  (ptr) formal←c0442 ))+7) ) = (*  (ptr) a←v11632 );
SOURCE(13398, 9)
      bm←v11604 = (* (( (ptr) a←v11632)+13) );
SOURCE(13410, 112)
      if ( ( (0 != (* (( (ptr) (*  (ptr) formal←c0442 ))+4) )) ? (0 != (* (( (ptr) a←v11632)+20) )) : 0 ) ) {
SOURCE(13452, 19)
         (* (( (ptr) (*  (ptr) formal←c0442 ))+8) ) = (* (( (ptr) a←v11632)+1) );
SOURCE(13475, 21)
         (* (( (ptr) a←v11632)+20) ) = 0;
SOURCE(13498, 24)
         (* (( (ptr) a←v11632)+1) ) = 0;
         };
      };
   return(0);
   }

static word InitAssocProp←P2220(c←v17404, key←v17432)
   word c←v17404;
   word key←v17432;
   {
   register ptr gf←c51100 =  (ptr) &globalframe;
   word val←v17476;
   /* InitAssocProp: */ 
SOURCE(13887, 63)
SOURCE(13887, 63)
   val←v17476 = (* (( (ptr) gf←c51100)+58) );
SOURCE(13928, 22)
   {
      word pd80;
      pd80 = (* (( (ptr) (* (( (ptr) gf←c51100)+180)/* var←c48316 */  ))+7) );
      val←v17476 = (word) ( *( (fPt) ((*  (ptr) pd80 ))))(17, pd80);
      };
SOURCE(13887, 63)
   return(val←v17476);
   }

static word GetAssocTable←P2280(c←v7668)
   word c←v7668;
   {
   register ptr gf←c51132 =  (ptr) &globalframe;
   word table←v7712;
   /* GetAssocTable: */ 
SOURCE(13956, 196)
SOURCE(13956, 196)
   table←v7712 = 0;
SOURCE(14030, 122)
   {
      word var←c48604;
      {
         word pd81;
         pd81 = (* (( (ptr) (* (( (ptr) gf←c51132)+171)/* var←c46748 */  ))+29) );
         var←c48604 = (word) ( *( (fPt) ((*  (ptr) pd81 ))))(c←v7668, (* (( (ptr) gf←c51132)+25)/* associationTableKey←v4372 */  ), (word) (
               ( (bPt) gf←c51132)+388)/* var←c45564 */ , pd81);
         };
      if ((var←c48604 == 0)) {
         goto lab←L100052;
         };
      if (((* (( (ptr) gf←c51132)+47) ) == XR←GetReferentType(var←c48604))) {
         {
            word table←v11676;
            table←v11676 = var←c48604;
SOURCE(14138, 14)
            return(table←v11676);
            };
         }
      else {
         lab←L100052: ;
SOURCE(14165, 5)
         (void) XR←RaiseUnnamedError();
         };
      };
   }

static void SetWindow←P2340(formal←c0520, formal←c0521, formal←c0522, immediateRefresh←v7856, formal←c0523)
   word formal←c0520;
   word formal←c0521;
   word formal←c0522;
   word immediateRefresh←v7856;
   word formal←c0523;
   {
   W11 var←c51164;
   /* declaration of handle←v7772 skipped */ 
   /* declaration of c←v7800 skipped */ 
   /* declaration of w←v7828 skipped */ 
   /* declaration of retainRefreshs←v7884 skipped */ 
   register ptr gf←c51196 =  (ptr) &globalframe;
   /* declaration of var←c48636 skipped */ 
   word impl←v11720;
   /* declaration of mustRoundTrip←v11748 skipped */ 
   (* (( (ptr) &var←c51164)+4)/* handle←v7772 */  ) = formal←c0520;
   (* (( (ptr) &var←c51164)+5)/* c←v7800 */  ) = formal←c0521;
   (* (( (ptr) &var←c51164)+6)/* w←v7828 */  ) = formal←c0522;
   (* (( (ptr) &var←c51164)+7)/* retainRefreshs←v7884 */  ) = formal←c0523;
   /* SetWindow: */ 
SOURCE(14176, 1467)
   {
      word tmpAddr82;
      tmpAddr82 = (word) (( (ptr) &var←c51164)+8)/* var←c48636 */ ;
      (*  (ptr) tmpAddr82 ) = ( ((word)  (fPt) ProtectedSetWindow←P4668) );
      (* (( (ptr) tmpAddr82) + 1) ) = 1;
      };
SOURCE(14335, 24)
   impl←v11720 = (*  (ptr) (* (( (ptr) &var←c51164)+4)/* handle←v7772 */  ) );
SOURCE(14361, 27)
   (* (( (ptr) &var←c51164)+10)/* mustRoundTrip←v11748 */  ) = 0;
SOURCE(15466, 46)
   if ((((* (( (ptr) &var←c51164)+5)/* c←v7800 */  ) == 0) || (0 == (* (( (ptr) (* (( (ptr) &var←c51164)+5)/* c←v7800 */  ))+15)
    ))) || ((* (( (ptr) &var←c51164)+6)/* w←v7828 */  ) == 0)) {
SOURCE(15506, 6)
      return;
      };
SOURCE(15514, 24)
   (void) ProtectedSetWindow←P4668(impl←v11720, (word) (( (bPt) &var←c51164)+32)/* var←c48636 */ );
SOURCE(15540, 64)
   if ((0 != immediateRefresh←v7856)) {
SOURCE(15565, 39)
      (void) InternalRefresh←P1440(impl←v11720, (*  (W4Pt) (( (ptr) gf←c51196)+167)/* var←c46716 */  ));
      };
SOURCE(15606, 37)
   if ((0 != (* (( (ptr) &var←c51164)+10)/* mustRoundTrip←v11748 */  ))) {
SOURCE(15628, 15)
      {
         word pd83;
         pd83 = (* (( (ptr) (* (( (ptr) gf←c51196)+171)/* var←c46748 */  ))+44) );
         (void) ( *( (fPt) ((*  (ptr) pd83 ))))((* (( (ptr) &var←c51164)+5)/* c←v7800 */  ), 0, pd83);
         };
      };
   }

static void ProtectedSetWindow←P4668(formal←c0524, formal←c51260)
   word formal←c0524;
   word formal←c51260;
   {
   W5 var←c51228;
   /* declaration of impl←v11852 skipped */ 
   formal←c51260 = (formal←c51260 - 32);
   var←c51228.f4/* impl←v11852 */  = formal←c0524;
   var←c51228.f0 = formal←c51260;
   /* ProtectedSetWindow: */ 
SOURCE(14391, 1070)
   (void) (XR←MonitorEntry(var←c51228.f4/* impl←v11852 */ ));
SOURCE(14439, 1022)
   {
      word var←c0478;
      var←c0478 = (word) &var←c51228;
       (void) (word) XR←Enable(( ((word)  (fPt) NoName←Q7680) ), ( ((word)  (fPt) NoName←Q8100) ), var←c0478);
      };
SOURCE(14391, 1070)
   (void) (XR←MonitorExit(var←c51228.f4/* impl←v11852 */ ));
   return;
   }

static word NoName←Q7680(formal←c0448)
   word formal←c0448;
   {
   register ptr gf←c0447 =  (ptr) &globalframe;
SOURCE(14462, 20)
   {
      word table←v11880 = 0;
      word old←v11908;
      word a←v11936;
SOURCE(14484, 25)
      old←v11908 = (* (( (ptr) (* (( (ptr) formal←c0448)+4) ))+4) );
SOURCE(14511, 26)
      a←v11936 = XR←NewObject(96, (* (( (ptr) gf←c0447)+48) ));
      (* (( (ptr) a←v11936)+14) ) = 1;
      (* (( (ptr) a←v11936)+15) ) = 32;
      (* (( (ptr) a←v11936)+16) ) = 2147483647;
      (* (( (ptr) a←v11936)+17) ) = 2147483647;
      (* (( (ptr) a←v11936)+18) ) = 2147483648;
      (* (( (ptr) a←v11936)+19) ) = 2147483648;
      (* (( (ptr) a←v11936)+20) ) = 1;
SOURCE(14539, 52)
      if ((0 == (* (( (ptr) (*  (ptr) formal←c0448 ))+7) ))) {
SOURCE(14563, 28)
         {
            word impl←v44292;
            impl←v44292 = (* (( (ptr) formal←c0448)+4) );
SOURCE(18533, 18)
            (* (( (ptr) impl←v44292)+39) ) = (* (( (ptr) impl←v44292)+38) );
SOURCE(18553, 27)
            (void) (XR←Broadcast((word) (( (bPt) impl←v44292)+52)));
            };
         };
SOURCE(14593, 25)
      if ((old←v11908 != 0)) {
SOURCE(14609, 9)
         (*  (W24Pt) a←v11936 ) = (*  (W24Pt) old←v11908 );
         };
SOURCE(14620, 12)
      (* (( (ptr) a←v11936)+1) ) = (* (( (ptr) (*  (ptr) formal←c0448 ))+6) );
SOURCE(14634, 10)
      (*  (ptr) a←v11936 ) = (* (( (ptr) (*  (ptr) formal←c0448 ))+5) );
SOURCE(14646, 24)
      table←v11880 = (word) GetAssocTable←P2280((* ((( (ptr) (*  (ptr) formal←c0448 ))+5)) ));
SOURCE(14672, 512)
      {
         word pd84;
         pd84 = (* (( (ptr) (* (( (ptr) gf←c0447)+180)/* var←c48316 */  ))+9) );
         if ((0 != (word) ( *( (fPt) ((*  (ptr) pd84 ))))(table←v11880, (* (( (ptr) (*  (ptr) formal←c0448 ))+6) ), 0, 0, pd84))) {
SOURCE(14712, 404)
            {
               word screen←v11980;
SOURCE(14714, 40)
               {
                  word pd85;
                  pd85 = (* (( (ptr) (* (( (ptr) gf←c0447)+171)/* var←c46748 */  ))+89) );
                  screen←v11980 = (word) ( *( (fPt) ((*  (ptr) pd85 ))))((* (( (ptr) (*  (ptr) formal←c0448 ))+5) ), (* (( (ptr) (*  (ptr) formal←c0448 ))+6)
                      ), pd85);
                  };
SOURCE(14756, 37)
               {
                  word pd86;
                  pd86 = (* (( (ptr) (* (( (ptr) gf←c0447)+171)/* var←c46748 */  ))+141) );
                  (* (( (ptr) a←v11936)+9) ) = (word) ( *( (fPt) ((*  (ptr) pd86 ))))((* (( (ptr) (*  (ptr) formal←c0448 ))+5) ), (* (( (ptr) (*  (ptr) formal←c0448 ))+6)
                      ), pd86);
                  };
SOURCE(14795, 38)
               {
                  word pd87;
                  pd87 = (* (( (ptr) (* (( (ptr) gf←c0447)+171)/* var←c46748 */  ))+159) );
                  (void) ( *( (fPt) ((*  (ptr) pd87 ))))((* (( (ptr) a←v11936)+9) ), 0, pd87);
                  };
SOURCE(14835, 87)
               {
                  word pd88;
                  pd88 = (* (( (ptr) (* (( (ptr) gf←c0447)+171)/* var←c46748 */  ))+146) );
                  (void) ( *( (fPt) ((*  (ptr) pd88 ))))((* (( (ptr) a←v11936)+9) ), (* (( (ptr) screen←v11980)+3) ), (* (( (ptr) screen←v11980)+2)
                      ), pd88);
                  };
SOURCE(14924, 39)
               {
                  word var←c48700;
                  word pd89;
                  pd89 = (* (( (ptr) (* (( (ptr) gf←c0447)+180)/* var←c48316 */  ))+13) );
                  var←c48700 = (word) ( *( (fPt) ((*  (ptr) pd89 ))))(table←v11880, (* (( (ptr) (*  (ptr) formal←c0448 ))+6) ), (* (( (ptr) a←v11936)+9)
                      ), pd89);
                  };
SOURCE(14965, 149)
               {
                  word var←c48732;
                  {
                     word var←c48764;
                     var←c48764 = XR←NewObject(16, (* (( (ptr) gf←c0447)+54) ));
                     (*  (ptr) var←c48764 ) = (word) (( (bPt) gf←c0447)+420)/* var←c45692 */ ;
                     (* (( (ptr) var←c48764)+1) ) = (* (( (ptr) gf←c0447)+24)/* events←v4344 */  );
                     (* (( (ptr) var←c48764)+2) ) = (* (( (ptr) gf←c0447)+23)/* sharedTQ←v4316 */  );
                     (* (( (ptr) var←c48764)+3) ) = (* (( (ptr) (*  (ptr) formal←c0448 ))+4) );
                     var←c48732 = var←c48764;
                     };
                  {
                     word pd90;
                     pd90 = (* (( (ptr) (* (( (ptr) gf←c0447)+181)/* var←c48796 */  ))+11) );
                     (void) ( *( (fPt) ((*  (ptr) pd90 ))))((* (( (ptr) (*  (ptr) formal←c0448 ))+5) ), (* (( (ptr) (*  (ptr) formal←c0448 ))+6)
                         ), var←c48732, 163840, 0, pd90);
                     };
                  };
               };
            }
         else {
SOURCE(15126, 58)
            {
               W3 var←c0258;
               word var←c48828;
               {
                  word pd91;
                  pd91 = (* (( (ptr) (* (( (ptr) gf←c0447)+180)/* var←c48316 */  ))+12) );
                  (void) ( *( (fPt) ((*  (ptr) pd91 ))))((word) &var←c0258, table←v11880, (* (( (ptr) (*  (ptr) formal←c0448 ))+6) ), pd91)
                  ;
                  };
               var←c48828 = var←c0258.f2;
               {
                  word pd92;
                  pd92 = (* (( (ptr) (* (( (ptr) gf←c0447)+171)/* var←c46748 */  ))+140) );
                  (* (( (ptr) a←v11936)+9) ) = (word) ( *( (fPt) ((*  (ptr) pd92 ))))(var←c48828, pd92);
                  };
               };
            };
         };
SOURCE(15189, 53)
      {
         word pd93;
         pd93 = (* (( (ptr) (* (( (ptr) gf←c0447)+177)/* var←c47740 */  ))+8) );
         (* (( (ptr) a←v11936)+2) ) = (word) ( *( (fPt) ((*  (ptr) pd93 ))))((* ((( (ptr) (*  (ptr) formal←c0448 ))+5)) ), pd93);
         };
SOURCE(15244, 34)
      if ((0 != (* (( (ptr) a←v11936)+2) ))) {
         (* (( (ptr) a←v11936)+4) ) =  (unsigned) (0 != (* (( (ptr) a←v11936)+3) ));
         }
      else {
         (* (( (ptr) a←v11936)+4) ) =  (unsigned) 0;
         };
SOURCE(15280, 15)
      (* (( (ptr) (* (( (ptr) formal←c0448)+4) ))+4) ) = a←v11936;
SOURCE(15297, 18)
      (* (( (ptr) (* (( (ptr) formal←c0448)+4) ))+7) ) = 1;
SOURCE(15356, 21)
      (* (( (ptr) (* (( (ptr) formal←c0448)+4) ))+6) ) = 1;
SOURCE(15379, 56)
      if ( ( (old←v11908 != 0) ? (0 == (* (( (ptr) (*  (ptr) formal←c0448 ))+7) )) : 0 ) ) {
SOURCE(15415, 20)
         (* (( (ptr) (*  (ptr) formal←c0448 ))+10) ) = 1;
         };
SOURCE(15437, 24)
      (void) InternalSetVisible←P2040((* ((( (ptr) formal←c0448)+4)) ));
      };
   return(0);
   }

static void ClearOutsideAreas←P2400(formal←c0525)
   word formal←c0525;
   {
   W5 var←c51292;
   /* declaration of impl←v7944 skipped */ 
   var←c51292.f4/* impl←v7944 */  = formal←c0525;
   /* ClearOutsideAreas: */ 
SOURCE(15649, 612)
SOURCE(15688, 573)
SOURCE(15690, 548)
   {
      word var←c012;
      {
         word var←c0479;
         var←c0479 = (word) &var←c51292;
         var←c012 = (word) XR←Enable(( ((word)  (fPt) NoName←Q7740) ), ( ((word)  (fPt) NoName←Q8040) ), var←c0479);
         };
      if ((var←c012 == 5)) {
         goto lab←L100055;
         };
      };
   goto lab←L100059;
   lab←L100055: ;
   lab←L100059: ;
   }

static word NoName←Q7740(formal←c0450)
   word formal←c0450;
   {
   register ptr gf←c0449 =  (ptr) &globalframe;
SOURCE(15715, 23)
   {
      word a←v12024;
      word var←c48860;
      word c←v44436;
SOURCE(15715, 23)
      a←v12024 = (* (( (ptr) (* (( (ptr) formal←c0450)+4) ))+4) );
SOURCE(15740, 498)
      {
         word tc94;
         word tc95;
         if ((a←v12024 != 0)) {
            c←v44436 = (*  (ptr) a←v12024 );
            if ((c←v44436 != 0)) {
               var←c48860 =  (unsigned) (0 != (* (( (ptr) c←v44436)+15) ));
               }
            else {
               var←c48860 =  (unsigned) 0;
               };
            tc95 =  (word) (0 != var←c48860);
            }
         else {
            tc95 =  (word) 0;
            };
         if (tc95) {
            tc94 =  (word) ((* (( (ptr) a←v12024)+1) ) != 0);
            }
         else {
            tc94 =  (word) 0;
            };
         if (tc94) {
SOURCE(15802, 438)
            {
               W4 r←v12096;
SOURCE(15826, 23)
               r←v12096 = (*  (W4Pt) (( (ptr) a←v12024)+16) );
SOURCE(15851, 85)
               if (( (int)(* (( (ptr) a←v12024)+7) ) >  (int)0)) {
SOURCE(15874, 62)
                  {
                     W2 var←c48892;
                     W2 var←c48924;
                     var←c48892.f0 = 0;
                     var←c48892.f1 = 0;
                     var←c48924.f0 = (* (( (ptr) a←v12024)+7) );
                     var←c48924.f1 = 9999;
                     {
                        word pd96;
                        pd96 = (* (( (ptr) (* (( (ptr) gf←c0449)+171)/* var←c46748 */  ))+166) );
                        (void) ( *( (fPt) ((*  (ptr) pd96 ))))((*  (ptr) a←v12024 ), (* (( (ptr) a←v12024)+1) ), var←c48892, var←c48924, 0, 0, pd96)
                        ;
                        };
                     };
                  };
SOURCE(15941, 94)
               if (( (int)(* (( (ptr) a←v12024)+8) ) >  (int)0)) {
SOURCE(15964, 71)
                  {
                     W2 var←c48956;
                     W2 var←c48988;
                     var←c48956.f0 = (* (( (ptr) a←v12024)+7) );
                     var←c48956.f1 = 0;
                     var←c48988.f0 = 9999;
                     var←c48988.f1 = (* (( (ptr) a←v12024)+8) );
                     {
                        word pd97;
                        pd97 = (* (( (ptr) (* (( (ptr) gf←c0449)+171)/* var←c46748 */  ))+166) );
                        (void) ( *( (fPt) ((*  (ptr) pd97 ))))((*  (ptr) a←v12024 ), (* (( (ptr) a←v12024)+1) ), var←c48956, var←c48988, 0, 0, pd97)
                        ;
                        };
                     };
                  };
SOURCE(16040, 86)
               {
                  W2 var←c49020;
                  W2 var←c49052;
                  var←c49020.f0 = (r←v12096.f3 + (* (( (ptr) a←v12024)+7) ));
                  var←c49020.f1 = (* (( (ptr) a←v12024)+8) );
                  var←c49052.f0 = 9999;
                  var←c49052.f1 = 9999;
                  {
                     word pd98;
                     pd98 = (* (( (ptr) (* (( (ptr) gf←c0449)+171)/* var←c46748 */  ))+166) );
                     (void) ( *( (fPt) ((*  (ptr) pd98 ))))((*  (ptr) a←v12024 ), (* (( (ptr) a←v12024)+1) ), var←c49020, var←c49052, 0, 0, pd98)
                     ;
                     };
                  };
SOURCE(16128, 86)
               {
                  W2 var←c49084;
                  W2 var←c49116;
                  var←c49084.f0 = (* (( (ptr) a←v12024)+7) );
                  var←c49084.f1 = (r←v12096.f2 + (* (( (ptr) a←v12024)+8) ));
                  var←c49116.f0 = 9999;
                  var←c49116.f1 = 9999;
                  {
                     word pd99;
                     pd99 = (* (( (ptr) (* (( (ptr) gf←c0449)+171)/* var←c46748 */  ))+166) );
                     (void) ( *( (fPt) ((*  (ptr) pd99 ))))((*  (ptr) a←v12024 ), (* (( (ptr) a←v12024)+1) ), var←c49084, var←c49116, 0, 0, pd99)
                     ;
                     };
                  };
SOURCE(16216, 22)
               {
                  word pd100;
                  pd100 = (* (( (ptr) (* (( (ptr) gf←c0449)+171)/* var←c46748 */  ))+43) );
                  (void) ( *( (fPt) ((*  (ptr) pd100 ))))((*  (ptr) a←v12024 ), 1, pd100);
                  };
               };
            };
         };
      };
   return(0);
   }

static void SetNoWindow←P2460(handle←v8004)
   word handle←v8004;
   {
   W6 var←c51324;
   /* declaration of var←c49148 skipped */ 
   word impl←v12140;
   /* SetNoWindow: */ 
SOURCE(16265, 339)
   {
      word tmpAddr101;
      tmpAddr101 = (word) (( (ptr) &var←c51324)+4)/* var←c49148 */ ;
      (*  (ptr) tmpAddr101 ) = ( ((word)  (fPt) ProtectedSetNoWindow←P4920) );
      (* (( (ptr) tmpAddr101) + 1) ) = 1;
      };
SOURCE(16311, 24)
   impl←v12140 = (*  (ptr) handle←v8004 );
SOURCE(16556, 20)
   (* (( (ptr) impl←v12140)+5) ) = 0;
SOURCE(16578, 26)
   (void) ProtectedSetNoWindow←P4920(impl←v12140, (word) (( (bPt) &var←c51324)+16)/* var←c49148 */ );
   }

static void ProtectedSetNoWindow←P4920(impl←v12244, formal←c51356)
   word impl←v12244;
   word formal←c51356;
   {
   word a←v12272;
   formal←c51356 = (formal←c51356 - 16);
   /* ProtectedSetNoWindow: */ 
SOURCE(16337, 214)
   (void) (XR←MonitorEntry(impl←v12244));
SOURCE(16387, 23)
   a←v12272 = (* (( (ptr) impl←v12244)+4) );
SOURCE(16412, 42)
   if ((a←v12272 != 0)) {
SOURCE(16426, 28)
      (* (( (ptr) a←v12272)+2) ) = 0;
      (* (( (ptr) a←v12272)+4) ) = 0;
      };
SOURCE(16456, 37)
   (* (( (ptr) impl←v12244)+5) ) = 0;
   (* (( (ptr) impl←v12244)+6) ) = 0;
SOURCE(16495, 26)
   (void) SetInterception←P1920(impl←v12244, 0);
SOURCE(16523, 28)
   {
      word impl←v44244;
      impl←v44244 = impl←v12244;
SOURCE(18533, 18)
      (* (( (ptr) impl←v44244)+39) ) = (* (( (ptr) impl←v44244)+38) );
SOURCE(18553, 27)
      (void) (XR←Broadcast((word) (( (bPt) impl←v44244)+52)));
      };
SOURCE(16337, 214)
   (void) (XR←MonitorExit(impl←v12244));
   return;
   }

static void SetBitmap←P2520(handle←v8064, formal←c0526, formal←c0527, formal←c0528, formal←c0529, formal←c0530)
   word handle←v8064;
   word formal←c0526;
   W4 formal←c0527;
   W2 formal←c0528;
   word formal←c0529;
   word formal←c0530;
   {
   W18 var←c51388;
   /* declaration of bitmap←v8092 skipped */ 
   /* declaration of restrict←v8120 skipped */ 
   /* declaration of origin←v8148 skipped */ 
   /* declaration of immediateRefresh←v8176 skipped */ 
   /* declaration of retainRefreshs←v8204 skipped */ 
   register ptr gf←c51420 =  (ptr) &globalframe;
   /* declaration of var←c49180 skipped */ 
   (* (( (ptr) &var←c51388)+4)/* bitmap←v8092 */  ) = formal←c0526;
   (*  (W4Pt) (( (ptr) &var←c51388)+5)/* restrict←v8120 */  ) = formal←c0527;
   (*  (W2Pt) (( (ptr) &var←c51388)+9)/* origin←v8148 */  ) = formal←c0528;
   (* (( (ptr) &var←c51388)+11)/* immediateRefresh←v8176 */  ) = formal←c0529;
   (* (( (ptr) &var←c51388)+12)/* retainRefreshs←v8204 */  ) = formal←c0530;
   /* SetBitmap: */ 
SOURCE(16610, 1459)
   {
      word tmpAddr102;
      tmpAddr102 = (word) (( (ptr) &var←c51388)+13)/* var←c49180 */ ;
      (*  (ptr) tmpAddr102 ) = ( ((word)  (fPt) ProtectedSetBitmap←P5028) );
      (* (( (ptr) tmpAddr102) + 1) ) = 1;
      };
SOURCE(16797, 1272)
   if (((* (( (ptr) &var←c51388)+4)/* bitmap←v8092 */  ) == 0)) {
SOURCE(16816, 26)
      (void) SetNoBitmap←P2580(handle←v8064);
      }
   else {
SOURCE(16842, 1229)
      {
         word impl←v12344;
         /* declaration of rsm←v12372 skipped */ 
         /* declaration of base←v12400 skipped */ 
SOURCE(17571, 24)
         impl←v12344 = (*  (ptr) handle←v8064 );
SOURCE(17597, 66)
         {
            word pd103;
            pd103 = (* (( (ptr) (* (( (ptr) gf←c51420)+179)/* var←c48092 */  ))+10) );
            (* (( (ptr) &var←c51388)+15)/* rsm←v12372 */  ) = (word) ( *( (fPt) ((*  (ptr) pd103 ))))((* ((( (ptr) &var←c51388)+4)/* bitmap←v8092 */ ) ), pd103)
            ;
            };
SOURCE(17665, 57)
         (*  (W2Pt) (( (ptr) &var←c51388)+16)/* base←v12400 */  ) = (*  (W2Pt) (( (ptr) (* (( (ptr) &var←c51388)+15)/* rsm←v12372 */  ))+8)
          );
SOURCE(17724, 90)
         {
            W4 var←c49212;
            {
               W4 var←c49244;
               {
                  word pd104;
                  pd104 = (* (( (ptr) (* (( (ptr) gf←c51420)+179)/* var←c48092 */  ))+11) );
                  (void) ( *( (fPt) ((*  (ptr) pd104 ))))((word) &var←c49244, (* (( (ptr) &var←c51388)+4)/* bitmap←v8092 */  ), pd104);
                  };
               {
                  W4 var←c0291;
                  {
                     word pd105;
                     pd105 = (* (( (ptr) (* (( (ptr) gf←c51420)+172)/* var←c47228 */  ))+15) );
                     (void) ( *( (fPt) ((*  (ptr) pd105 ))))((word) &var←c0291, (*  (W4Pt) (( (ptr) gf←c51420)+167)/* var←c46716 */  ), var←c49244, pd105)
                     ;
                     };
                  var←c49212 = var←c0291;
                  };
               };
            {
               W4 var←c0292;
               {
                  word pd106;
                  pd106 = (* (( (ptr) (* (( (ptr) gf←c51420)+172)/* var←c47228 */  ))+15) );
                  (void) ( *( (fPt) ((*  (ptr) pd106 ))))((word) &var←c0292, (*  (W4Pt) (( (ptr) &var←c51388)+5)/* restrict←v8120 */  ), var←c49212, pd106)
                  ;
                  };
               (*  (W4Pt) (( (ptr) &var←c51388)+5)/* restrict←v8120 */  ) = var←c0292;
               };
            };
SOURCE(17816, 51)
         if (( (int)IOP2( % ,  (int)(* (( (ptr) (* (( (ptr) &var←c51388)+15)/* rsm←v12372 */  ))+7) ),  (int)8) !=  (int)0)) {
SOURCE(17867, 5)
            (void) XR←RaiseUnnamedError();
            };
SOURCE(17874, 37)
         if (( (int)(* (( (ptr) &var←c51388)+9) ) <  (int)4294959296) || ( (int)(* (( (ptr) &var←c51388)+9) ) >  (int)8000)) {
SOURCE(17911, 5)
            (void) XR←RaiseUnnamedError();
            };
SOURCE(17918, 37)
         if (( (int)(* (( (ptr) &var←c51388)+10) ) <  (int)4294959296) || ( (int)(* (( (ptr) &var←c51388)+10) ) >  (int)8000)) {
SOURCE(17955, 5)
            (void) XR←RaiseUnnamedError();
            };
SOURCE(17962, 24)
         (void) ProtectedSetBitmap←P5028(impl←v12344, (word) (( (bPt) &var←c51388)+52)/* var←c49180 */ );
SOURCE(17988, 23)
         (void) ClearOutsideAreas←P2400(impl←v12344);
SOURCE(18013, 56)
         if ((0 != (* (( (ptr) &var←c51388)+11)/* immediateRefresh←v8176 */  ))) {
SOURCE(18038, 31)
            (void) InternalRefresh←P1440(impl←v12344, (*  (W4Pt) (( (ptr) &var←c51388)+5)/* restrict←v8120 */  ));
            };
         };
      };
   }

static void ProtectedSetBitmap←P5028(formal←c0531, formal←c51484)
   word formal←c0531;
   word formal←c51484;
   {
   W5 var←c51452;
   /* declaration of impl←v12476 skipped */ 
   formal←c51484 = (formal←c51484 - 52);
   var←c51452.f4/* impl←v12476 */  = formal←c0531;
   var←c51452.f0 = formal←c51484;
   /* ProtectedSetBitmap: */ 
SOURCE(16844, 32)
   (void) (XR←MonitorEntry(var←c51452.f4/* impl←v12476 */ ));
SOURCE(16892, 674)
   {
      word var←c0480;
      var←c0480 = (word) &var←c51452;
       (void) (word) XR←Enable(( ((word)  (fPt) NoName←Q7800) ), ( ((word)  (fPt) NoName←Q7980) ), var←c0480);
      };
SOURCE(16844, 32)
   (void) (XR←MonitorExit(var←c51452.f4/* impl←v12476 */ ));
   return;
   }

static word NoName←Q7800(formal←c0455)
   word formal←c0455;
   {
   register ptr gf←c0454 =  (ptr) &globalframe;
SOURCE(16915, 25)
   {
      word old←v12504;
      word a←v12532;
SOURCE(16915, 25)
      old←v12504 = (* (( (ptr) (* (( (ptr) formal←c0455)+4) ))+4) );
SOURCE(16942, 26)
      a←v12532 = XR←NewObject(96, (* (( (ptr) gf←c0454)+48) ));
      (* (( (ptr) a←v12532)+14) ) = 1;
      (* (( (ptr) a←v12532)+15) ) = 32;
      (* (( (ptr) a←v12532)+16) ) = 2147483647;
      (* (( (ptr) a←v12532)+17) ) = 2147483647;
      (* (( (ptr) a←v12532)+18) ) = 2147483648;
      (* (( (ptr) a←v12532)+19) ) = 2147483648;
      (* (( (ptr) a←v12532)+20) ) = 1;
SOURCE(16970, 72)
      if ((0 == (* (( (ptr) (*  (ptr) formal←c0455 ))+12) )) || (0 != (* (( (ptr) (*  (ptr) formal←c0455 ))+11) ))) {
SOURCE(17014, 28)
         {
            word impl←v44196;
            impl←v44196 = (* (( (ptr) formal←c0455)+4) );
SOURCE(18533, 18)
            (* (( (ptr) impl←v44196)+39) ) = (* (( (ptr) impl←v44196)+38) );
SOURCE(18553, 27)
            (void) (XR←Broadcast((word) (( (bPt) impl←v44196)+52)));
            };
         };
SOURCE(17044, 26)
      if ((old←v12504 != 0)) {
SOURCE(17061, 9)
         (*  (W24Pt) a←v12532 ) = (*  (W24Pt) old←v12504 );
         };
SOURCE(17073, 10)
      (* (( (ptr) a←v12532)+12) ) = (* (( (ptr) (*  (ptr) formal←c0455 ))+15) );
SOURCE(17085, 13)
      (* (( (ptr) a←v12532)+13) ) = (* (( (ptr) (*  (ptr) formal←c0455 ))+4) );
SOURCE(17100, 17)
      (*  (W2Pt) (( (ptr) a←v12532)+7) ) = (*  (W2Pt) (( (ptr) (*  (ptr) formal←c0455 ))+9) );
SOURCE(17120, 51)
      (* (( (ptr) a←v12532)+10) ) = IOP2( / ,  (int)(* (( (ptr) (* (( (ptr) (*  (ptr) formal←c0455 ))+15) ))+7) ),  (int)8);
SOURCE(17173, 28)
      (* (( (ptr) a←v12532)+11) ) = (* (( (ptr) (*  (ptr) formal←c0455 ))+16) );
SOURCE(17204, 51)
      {
         word var←c49308;
         word map←v44340;
         map←v44340 = (* (( (ptr) (*  (ptr) formal←c0455 ))+15) );
         var←c49308 = (* (( (ptr) map←v44340)+5) );
         (* (( (ptr) a←v12532)+14) ) = var←c49308;
         };
SOURCE(17257, 63)
      {
         word var←c49340;
         {
            word pd107;
            if (((* (( (ptr) (*  (ptr) formal←c0455 ))+15) ) != 0)) {
               pd107 = (* (( (ptr) (* (( (ptr) gf←c0454)+177)/* var←c47740 */  ))+5) );
               var←c49340 =  (unsigned) (0 != (word) ( *( (fPt) ((*  (ptr) pd107 ))))((* ((( (ptr) (*  (ptr) formal←c0455 ))+15)) ), pd107)
               );
               }
            else {
               var←c49340 =  (unsigned) 0;
               };
            };
         (* (( (ptr) a←v12532)+3) ) = var←c49340;
         };
SOURCE(17322, 27)
      (* (( (ptr) a←v12532)+6) ) = 0;
SOURCE(17351, 33)
      (* (( (ptr) a←v12532)+5) ) =  (unsigned) ((* (( (ptr) a←v12532)+14) ) == 1);
SOURCE(17386, 34)
      if ((0 != (* (( (ptr) a←v12532)+3) ))) {
         (* (( (ptr) a←v12532)+4) ) =  (unsigned) (0 != (* (( (ptr) a←v12532)+2) ));
         }
      else {
         (* (( (ptr) a←v12532)+4) ) =  (unsigned) 0;
         };
SOURCE(17422, 41)
      {
         W4 var←c49372;
         var←c49372 = (*  (W4Pt) (( (ptr) (*  (ptr) formal←c0455 ))+5) );
         (*  (W4Pt) (( (ptr) a←v12532)+16) ) = (*  (W4Pt) (( (ptr) (*  (ptr) formal←c0455 ))+5) );
         (*  (W4Pt) (( (ptr) (* (( (ptr) formal←c0455)+4) ))+27) ) = var←c49372;
         };
SOURCE(17465, 15)
      (* (( (ptr) (* (( (ptr) formal←c0455)+4) ))+4) ) = a←v12532;
SOURCE(17482, 27)
      (* (( (ptr) (* (( (ptr) formal←c0455)+4) ))+8) ) =  (unsigned) ((* (( (ptr) (*  (ptr) formal←c0455 ))+4) ) != 0);
SOURCE(17511, 24)
      (void) InternalSetVisible←P2040((* ((( (ptr) formal←c0455)+4)) ));
SOURCE(17537, 29)
      (void) SetInterception←P1920((* (( (ptr) formal←c0455)+4) ), (* (( (ptr) (*  (ptr) formal←c0455 ))+4) ));
      };
   return(0);
   }

static void SetNoBitmap←P2580(handle←v8264)
   word handle←v8264;
   {
   W6 var←c51516;
   /* declaration of var←c49404 skipped */ 
   /* SetNoBitmap: */ 
SOURCE(18077, 305)
   {
      word tmpAddr108;
      tmpAddr108 = (word) (( (ptr) &var←c51516)+4)/* var←c49404 */ ;
      (*  (ptr) tmpAddr108 ) = ( ((word)  (fPt) ProtectedSetNoBitmap←P5136) );
      (* (( (ptr) tmpAddr108) + 1) ) = 1;
      };
SOURCE(18349, 33)
   (void) ProtectedSetNoBitmap←P5136((*  (ptr) handle←v8264 ), (word) (( (bPt) &var←c51516)+16)/* var←c49404 */ );
   }

static void ProtectedSetNoBitmap←P5136(formal←c0532, formal←c51580)
   word formal←c0532;
   word formal←c51580;
   {
   W5 var←c51548;
   /* declaration of impl←v12652 skipped */ 
   formal←c51580 = (formal←c51580 - 16);
   var←c51548.f4/* impl←v12652 */  = formal←c0532;
   var←c51548.f0 = formal←c51580;
   /* ProtectedSetNoBitmap: */ 
SOURCE(18116, 228)
   (void) (XR←MonitorEntry(var←c51548.f4/* impl←v12652 */ ));
SOURCE(18166, 178)
   {
      word var←c0481;
      var←c0481 = (word) &var←c51548;
       (void) (word) XR←Enable(( ((word)  (fPt) NoName←Q7860) ), ( ((word)  (fPt) NoName←Q7920) ), var←c0481);
      };
SOURCE(18116, 228)
   (void) (XR←MonitorExit(var←c51548.f4/* impl←v12652 */ ));
   return;
   }

static word NoName←Q7860(formal←c0457)
   word formal←c0457;
   {
SOURCE(18189, 25)
   {
      word old←v12680;
SOURCE(18189, 25)
      old←v12680 = (* (( (ptr) (* (( (ptr) formal←c0457)+4) ))+4) );
SOURCE(18216, 17)
      (* (( (ptr) (* (( (ptr) formal←c0457)+4) ))+4) ) = 0;
SOURCE(18235, 27)
      (* (( (ptr) (* (( (ptr) formal←c0457)+4) ))+27) ) = 2147483647;
      (* (( (ptr) (* (( (ptr) formal←c0457)+4) ))+28) ) = 2147483647;
      (* (( (ptr) (* (( (ptr) formal←c0457)+4) ))+29) ) = 2147483648;
      (* (( (ptr) (* (( (ptr) formal←c0457)+4) ))+30) ) = 2147483648;
SOURCE(18264, 22)
      (* (( (ptr) (* (( (ptr) formal←c0457)+4) ))+8) ) = 0;
SOURCE(18288, 28)
      {
         word impl←v44148;
         impl←v44148 = (* (( (ptr) formal←c0457)+4) );
SOURCE(18533, 18)
         (* (( (ptr) impl←v44148)+39) ) = (* (( (ptr) impl←v44148)+38) );
SOURCE(18553, 27)
         (void) (XR←Broadcast((word) (( (bPt) impl←v44148)+52)));
         };
SOURCE(18318, 26)
      (void) SetInterception←P1920((* (( (ptr) formal←c0457)+4) ), 0);
      };
   return(0);
   }

static void EntryCancelRefreshs←P2640(impl←v8324)
   word impl←v8324;
   {
   /* EntryCancelRefreshs: */ 
SOURCE(18388, 77)
   (void) (XR←MonitorEntry(impl←v8324));
SOURCE(18437, 28)
   {
      word impl←v44100;
      impl←v44100 = impl←v8324;
SOURCE(18533, 18)
      (* (( (ptr) impl←v44100)+39) ) = (* (( (ptr) impl←v44100)+38) );
SOURCE(18553, 27)
      (void) (XR←Broadcast((word) (( (bPt) impl←v44100)+52)));
      };
SOURCE(18388, 77)
   (void) (XR←MonitorExit(impl←v8324));
   return;
   }

static void CancelRefreshs←P2760(handle←v8444)
   word handle←v8444;
   {
   /* CancelRefreshs: */ 
SOURCE(18584, 81)
SOURCE(18633, 32)
   (void) EntryCancelRefreshs←P2640((*  (ptr) (handle←v8444) ));
   }

static void NotifyBufferEmpty←P2820(impl←v8504)
   word impl←v8504;
   {
   /* NotifyBufferEmpty: */ 
SOURCE(18670, 74)
   (void) (XR←MonitorEntry(impl←v8504));
SOURCE(18717, 27)
   (void) (XR←Broadcast((word) (( (bPt) impl←v8504)+52)));
SOURCE(18670, 74)
   (void) (XR←MonitorExit(impl←v8504));
   return;
   }

static void WaitForBuffer←P2880(impl←v8564)
   word impl←v8564;
   {
   /* WaitForBuffer: */ 
SOURCE(18748, 400)
   (void) (XR←MonitorEntry(impl←v8564));
SOURCE(18791, 57)
   (* (( (ptr) impl←v8564)+12) ) = ((* (( (ptr) impl←v8564)+12) ) + 1);
SOURCE(18850, 72)
   lab←L100067: ;
   if ( ( ((* (( (ptr) impl←v8564)+38) ) != (* (( (ptr) impl←v8564)+39) )) ? (0 != (* (( (ptr) impl←v8564)+5) )) : 0 ) ) {
      }
   else {
      goto lab←L100065;
      };
SOURCE(18893, 29)
   (void) (XR←Wait(impl←v8564, (word) (( (bPt) impl←v8564)+52)));
   goto lab←L100067;
   lab←L100065: ;
SOURCE(19091, 57)
   (* (( (ptr) impl←v8564)+12) ) = ((* (( (ptr) impl←v8564)+12) ) - 1);
SOURCE(18748, 400)
   (void) (XR←MonitorExit(impl←v8564));
   return;
   }

static void Wait←P2940(handle←v8624, server←v8652)
   word handle←v8624;
   word server←v8652;
   {
   register ptr gf←c51612 =  (ptr) &globalframe;
   /* Wait: */ 
SOURCE(19154, 538)
SOURCE(19207, 465)
   if ((0 != server←v8652)) {
SOURCE(19223, 414)
      {
         word impl←v12724;
         word a←v12752;
SOURCE(19225, 24)
         impl←v12724 = (*  (ptr) handle←v8624 );
SOURCE(19251, 23)
         a←v12752 = (* (( (ptr) impl←v12724)+4) );
SOURCE(19276, 169)
         if ((0 == (* (( (ptr) impl←v12724)+6) ))) {
SOURCE(19302, 125)
            {
               register word i←v12796 = 0;
               if (( (int)i←v12796 >  (int)19)) {
                  goto lab←L100068;
                  };
               lab←L100071: ;
SOURCE(19328, 42)
               if ((0 == (* (( (ptr) impl←v12724)+11) ))) {
SOURCE(19364, 6)
                  return;
                  };
SOURCE(19372, 55)
               if (( (int)i←v12796 <  (int)10)) {
SOURCE(19385, 21)
                  {
                     word pd109;
                     pd109 = (* (( (ptr) (* (( (ptr) gf←c51612)+174)/* var←c47324 */  ))+23) );
                     (void) ( *( (fPt) ((*  (ptr) pd109 ))))(pd109);
                     };
                  }
               else {
SOURCE(19406, 21)
                  {
                     word pd110;
                     pd110 = (* (( (ptr) (* (( (ptr) gf←c51612)+174)/* var←c47324 */  ))+22) );
                     (void) ( *( (fPt) ((*  (ptr) pd110 ))))(50, pd110);
                     };
                  };
               if (( (int)i←v12796 >=  (int)19)) {
                  goto lab←L100068;
                  };
               i←v12796 = (i←v12796 + 1);
               goto lab←L100071;
               lab←L100068: ;
               };
SOURCE(19438, 7)
            return;
            };
SOURCE(19448, 181)
         if ((a←v12752 != 0)) {
SOURCE(19462, 172)
            {
               word c←v12840;
SOURCE(19464, 25)
               c←v12840 = (*  (ptr) a←v12752 );
SOURCE(19491, 138)
               if ( ( (c←v12840 != 0) ? (0 != (* (( (ptr) c←v12840)+15) )) : 0 ) ) {
SOURCE(19511, 120)
                  {
                     word seq←v12884;
SOURCE(19513, 54)
                     {
                        word pd111;
                        pd111 = (* (( (ptr) (* (( (ptr) gf←c51612)+178)/* var←c48060 */  ))+6) );
                        seq←v12884 = (word) ( *( (fPt) ((*  (ptr) pd111 ))))(c←v12840, 1, pd111);
                        };
SOURCE(19569, 19)
                     (void) WaitForBuffer←P2880(impl←v12724);
SOURCE(19590, 39)
                     {
                        word pd112;
                        pd112 = (* (( (ptr) (* (( (ptr) gf←c51612)+178)/* var←c48060 */  ))+7) );
                        (void) ( *( (fPt) ((*  (ptr) pd112 ))))(c←v12840, seq←v12884, 0, pd112);
                        };
                     };
                  };
               };
            };
         };
      }
   else {
SOURCE(19646, 26)
      (void) WaitForBuffer←P2880((*  (ptr) (handle←v8624) ));
      };
SOURCE(19677, 15)
   {
      word pd113;
      pd113 = (* (( (ptr) (* (( (ptr) gf←c51612)+174)/* var←c47324 */  ))+23) );
      (void) ( *( (fPt) ((*  (ptr) pd113 ))))(pd113);
      };
   }

static void InterceptedPreRefresh←P3000(box←v8712, data←v8740, delayOk←v8768)
   W4 box←v8712;
   word data←v8740;
   word delayOk←v8768;
   {
   register ptr gf←c51644 =  (ptr) &globalframe;
   word impl←v12928;
   /* InterceptedPreRefresh: */ 
SOURCE(19730, 156)
SOURCE(19810, 25)
   impl←v12928 = XR←Narrow(data←v8740, (* (( (ptr) gf←c51644)+32) ));
SOURCE(19837, 24)
   (*  (W4Pt) (( (ptr) impl←v12928)+31) ) = box←v8712;
SOURCE(19863, 23)
   (* (( (ptr) gf←c51644)+27)/* anUnfinishedImpl←v5296 */  ) = impl←v12928;
   }

static void InterceptedRefresh←P3060(box←v8840, data←v8868, delayOk←v8896)
   W4 box←v8840;
   word data←v8868;
   word delayOk←v8896;
   {
   register ptr gf←c51676 =  (ptr) &globalframe;
   word impl←v12972;
   /* InterceptedRefresh: */ 
SOURCE(19892, 226)
SOURCE(19969, 25)
   impl←v12972 = XR←Narrow(data←v8868, (* (( (ptr) gf←c51676)+32) ));
SOURCE(19996, 49)
   (* (( (ptr) impl←v12972)+35) ) = ((* (( (ptr) impl←v12972)+35) ) + 1);
SOURCE(20068, 22)
   (* (( (ptr) gf←c51676)+27)/* anUnfinishedImpl←v5296 */  ) = 0;
SOURCE(20092, 26)
   (void) InternalRefresh←P1440(impl←v12972, box←v8840);
   }

static void PaintUnfinishedActions←P3120(x←v8968)
   word x←v8968;
   {
   register ptr gf←c51708 =  (ptr) &globalframe;
   W4 box←v13016;
   word impl←v13044;
   /* PaintUnfinishedActions: */ 
SOURCE(20150, 434)
SOURCE(20192, 11)
   box←v13016.f0 = 0;
   box←v13016.f1 = 0;
   box←v13016.f2 = 0;
   box←v13016.f3 = 0;
SOURCE(20205, 29)
   impl←v13044 = (* (( (ptr) gf←c51708)+27)/* anUnfinishedImpl←v5296 */  );
SOURCE(20236, 318)
   if ((impl←v13044 != 0)) {
SOURCE(20254, 245)
      if ((impl←v13044 == (* (( (ptr) gf←c51708)+28)/* lastPeriodicalImpl←v5380 */  ))) {
SOURCE(20288, 24)
         box←v13016 = (*  (W4Pt) (( (ptr) impl←v13044)+31) );
SOURCE(20314, 185)
         if ( (  ( ( (int)(* (( (ptr) impl←v13044)+36) ) ==  (int)(* (( (ptr) impl←v13044)+35) )) ? XR←EqualWords(&box←v13016, (( (ptr) impl←v13044)+31)
            , 4) : 0 )  ? ((* (( (ptr) impl←v13044)+38) ) == (* (( (ptr) impl←v13044)+39) )) : 0 ) ) {
SOURCE(20419, 82)
            {
               word a←v13088;
SOURCE(20421, 23)
               a←v13088 = (* (( (ptr) impl←v13044)+4) );
SOURCE(20446, 53)
               if ( ( (a←v13088 != 0) ? (0 != (* (( (ptr) a←v13088)+4) )) : 0 ) ) {
SOURCE(20473, 26)
                  (void) InternalRefresh←P1440(impl←v13044, box←v13016);
                  };
               };
            };
         };
SOURCE(20507, 47)
      (* (( (ptr) impl←v13044)+36) ) = (* (( (ptr) impl←v13044)+35) );
      };
SOURCE(20559, 25)
   (* (( (ptr) gf←c51708)+28)/* lastPeriodicalImpl←v5380 */  ) = impl←v13044;
   }

static void RememberPixmap←P3180(impl←v9040, p←v9068, c←v9096)
   word impl←v9040;
   word p←v9068;
   word c←v9096;
   {
   register ptr gf←c51740 =  (ptr) &globalframe;
   /* RememberPixmap: */ 
SOURCE(20590, 316)
   (void) (XR←MonitorEntry(impl←v9040));
SOURCE(20688, 137)
   if (((* (( (ptr) impl←v9040)+297) ) != 0)) {
SOURCE(20727, 66)
      {
         word pd114;
         pd114 = (* (( (ptr) (* (( (ptr) gf←c51740)+173)/* var←c47260 */  ))+5) );
         (void) ( *( (fPt) ((*  (ptr) pd114 ))))(0, (word) (( (bPt) gf←c51740)+260)/* var←c45052 */ , (* (( (ptr) impl←v9040)+297)
             ), 2, pd114);
         };
SOURCE(20795, 30)
      (* (( (ptr) impl←v9040)+297) ) = 0;
      };
SOURCE(20830, 76)
   if ((c←v9096 != 0)) {
SOURCE(20846, 60)
      {
         word var←c49468;
         var←c49468 = XR←NewObject(8, (* (( (ptr) gf←c51740)+34) ));
         (*  (ptr) var←c49468 ) = p←v9068;
         (* (( (ptr) var←c49468)+1) ) = c←v9096;
         (* (( (ptr) impl←v9040)+297) ) = var←c49468;
         };
      };
SOURCE(20590, 316)
   (void) (XR←MonitorExit(impl←v9040));
   return;
   }

static void DestroyOldPixmap←P3240(x←v9156)
   word x←v9156;
   {
   register ptr gf←c51772 =  (ptr) &globalframe;
   /* DestroyOldPixmap: */ 
SOURCE(20915, 189)
SOURCE(20955, 149)
   {
      word var←c49500;
      var←c49500 = x←v9156;
      if ((var←c49500 == 0)) {
         goto lab←L100072;
         };
      if (((* (( (ptr) gf←c51772)+34) ) == XR←GetReferentType(var←c49500))) {
         {
            word pc←v13132;
            word var←c49532;
            word c←v44388;
            pc←v13132 = var←c49500;
SOURCE(21007, 97)
            {
               word tc115;
               if (((*  (ptr) pc←v13132 ) != 0)) {
                  c←v44388 = (* (( (ptr) pc←v13132)+1) );
                  if ((c←v44388 != 0)) {
                     var←c49532 =  (unsigned) (0 != (* (( (ptr) c←v44388)+15) ));
                     }
                  else {
                     var←c49532 =  (unsigned) 0;
                     };
                  tc115 =  (word) (0 != var←c49532);
                  }
               else {
                  tc115 =  (word) 0;
                  };
               if (tc115) {
SOURCE(21055, 49)
                  {
                     word pd116;
                     pd116 = (* (( (ptr) (* (( (ptr) gf←c51772)+171)/* var←c46748 */  ))+97) );
                     (void) ( *( (fPt) ((*  (ptr) pd116 ))))((* (( (ptr) pc←v13132)+1) ), (*  (ptr) pc←v13132 ), (*  (ptr) (* (( (ptr) (* (( (ptr) gf←c51772)+182)
                           /* var←c49564 */  ))+5) ) ), pd116);
                     };
                  };
               };
            };
         }
      else {
         lab←L100072: ;
         };
      };
   }

static void RegisterReportRefreshs←P3300(handle←v9228, proc←v9256, data←v9284)
   word handle←v9228;
   word proc←v9256;
   word data←v9284;
   {
   W6 var←c51804;
   register ptr gf←c51836 =  (ptr) &globalframe;
   /* declaration of var←c49596 skipped */ 
   /* RegisterReportRefreshs: */ 
SOURCE(21131, 234)
   {
      word tmpAddr117;
      tmpAddr117 = (word) (( (ptr) &var←c51804)+4)/* var←c49596 */ ;
      (*  (ptr) tmpAddr117 ) = ( ((word)  (fPt) Reg←P5532) );
      (* (( (ptr) tmpAddr117) + 1) ) = 1;
      };
SOURCE(21318, 47)
   {
      word var←c49628;
      {
         word var←c49660;
         var←c49660 = XR←NewObject(8, (* (( (ptr) gf←c51836)+33) ));
         (*  (ptr) var←c49660 ) = XR←CheckProc(proc←v9256);
         (* (( (ptr) var←c49660)+1) ) = data←v9284;
         var←c49628 = var←c49660;
         };
      (void) Reg←P5532((*  (ptr) handle←v9228 ), var←c49628, (word) (( (bPt) &var←c51804)+16)/* var←c49596 */ );
      };
   }

static void Reg←P5532(impl←v13264, rep←v13292, formal←c51900)
   word impl←v13264;
   word rep←v13292;
   word formal←c51900;
   {
   register ptr gf←c51868 =  (ptr) &globalframe;
   formal←c51900 = (formal←c51900 - 16);
   /* Reg: */ 
SOURCE(21224, 89)
   (void) (XR←MonitorEntry(impl←v13264));
SOURCE(21277, 36)
   {
      word var←c49692;
      var←c49692 = XR←NewObject(8, (* (( (ptr) gf←c51868)+31) ));
      (*  (ptr) var←c49692 ) = rep←v13292;
      (* (( (ptr) var←c49692)+1) ) = (* (( (ptr) impl←v13264)+37) );
      (* (( (ptr) impl←v13264)+37) ) = var←c49692;
      };
SOURCE(21224, 89)
   (void) (XR←MonitorExit(impl←v13264));
   return;
   }

static void FlushSoon←P3360(handle←v9456)
   word handle←v9456;
   {
   W6 var←c51932;
   /* declaration of var←c49724 skipped */ 
   word impl←v13360;
   /* FlushSoon: */ 
SOURCE(21371, 239)
   {
      word tmpAddr118;
      tmpAddr118 = (word) (( (ptr) &var←c51932)+4)/* var←c49724 */ ;
      (*  (ptr) tmpAddr118 ) = ( ((word)  (fPt) EntryFlushSoon←P5592) );
      (* (( (ptr) tmpAddr118) + 1) ) = 1;
      };
SOURCE(21536, 24)
   impl←v13360 = (*  (ptr) handle←v9456 );
SOURCE(21562, 48)
   if (((* (( (ptr) impl←v13360)+38) ) == (* (( (ptr) impl←v13360)+39) ))) {
SOURCE(21590, 20)
      (void) EntryFlushSoon←P5592(impl←v13360, (word) (( (bPt) &var←c51932)+16)/* var←c49724 */ );
      };
   }

static void EntryFlushSoon←P5592(impl←v13436, formal←c51996)
   word impl←v13436;
   word formal←c51996;
   {
   register ptr gf←c51964 =  (ptr) &globalframe;
   formal←c51996 = (formal←c51996 - 16);
   /* EntryFlushSoon: */ 
SOURCE(21415, 116)
   (void) (XR←MonitorEntry(impl←v13436));
SOURCE(21459, 19)
   {
      word impl←v43988;
      impl←v43988 = impl←v13436;
SOURCE(6129, 135)
      if ((0 == (* (( (ptr) impl←v43988)+11) ))) {
SOURCE(6167, 33)
         (* (( (ptr) impl←v43988)+11) ) = 1;
SOURCE(6202, 62)
         {
            word pd119;
            pd119 = (* (( (ptr) (* (( (ptr) gf←c51964)+173)/* var←c47260 */  ))+4) );
            (void) ( *( (fPt) ((*  (ptr) pd119 ))))((word) (( (bPt) gf←c51964)+436)/* var←c45756 */ , impl←v43988, 3, pd119);
            };
         };
      };
SOURCE(21480, 51)
   if ((0 != (* (( (ptr) impl←v13436)+19) ))) {
SOURCE(21509, 22)
      (void) (XR←Notify((word) (( (bPt) impl←v13436)+80)));
      };
SOURCE(21415, 116)
   (void) (XR←MonitorExit(impl←v13436));
   return;
   }

static void Init←P3420()
   {
   register ptr gf←c52028 =  (ptr) &globalframe;
   /* Init: */ 
SOURCE(21616, 154)
SOURCE(21642, 68)
SOURCE(21643, 67)
   {
      word var←c49756;
      {
         word pd120;
         pd120 = (* (( (ptr) (* (( (ptr) gf←c52028)+174)/* var←c47324 */  ))+6) );
         var←c49756 = (word) ( *( (fPt) ((*  (ptr) pd120 ))))(100, pd120);
         };
      {
         word pd121;
         pd121 = (* (( (ptr) (* (( (ptr) gf←c52028)+174)/* var←c47324 */  ))+9) );
         (void) ( *( (fPt) ((*  (ptr) pd121 ))))((word) (( (bPt) gf←c52028)+40)/* debugSynchronousCOND←v3616 */ , var←c49756, pd121)
         ;
         };
      };
SOURCE(21713, 57)
   {
      word pd122;
      pd122 = (* (( (ptr) (* (( (ptr) gf←c52028)+173)/* var←c47260 */  ))+6) );
      (void) ( *( (fPt) ((*  (ptr) pd122 ))))(40, (word) (( (bPt) gf←c52028)+276)/* var←c45116 */ , 0, 2, pd122);
      };
   }

static void NoName←Q7920(formal←c0358, formal←c200032, formal←c200033, formal←c200034, formal←c200035)
   word formal←c0358;
   word formal←c200032;
   word formal←c200033;
   word formal←c200034;
   word formal←c200035;
   {
   if ((formal←c200033 == XR←Unwind)) {
      (void) (XR←MonitorExit(* (( (ptr) formal←c200032)+4) ));
      };
   (*  (ptr) formal←c0358 ) = 0;
   (* (( (ptr) formal←c0358)+1) ) = 0;
   return;
   }

static void NoName←Q7980(formal←c0363, formal←c200028, formal←c200029, formal←c200030, formal←c200031)
   word formal←c0363;
   word formal←c200028;
   word formal←c200029;
   word formal←c200030;
   word formal←c200031;
   {
   if ((formal←c200029 == XR←Unwind)) {
      (void) (XR←MonitorExit(* (( (ptr) formal←c200028)+4) ));
      };
   (*  (ptr) formal←c0363 ) = 0;
   (* (( (ptr) formal←c0363)+1) ) = 0;
   return;
   }

static void NoName←Q8040(formal←c0368, formal←c200024, formal←c200025, formal←c200026, formal←c200027)
   word formal←c0368;
   word formal←c200024;
   word formal←c200025;
   word formal←c200026;
   word formal←c200027;
   {
SOURCE(15704, 9)
   (*  (ptr) formal←c0368 ) = 2;
   (* (( (ptr) formal←c0368)+1) ) = 5;
   return;
   /* c2c skipped dead code */ 
   }

static void NoName←Q8100(formal←c0373, formal←c200020, formal←c200021, formal←c200022, formal←c200023)
   word formal←c0373;
   word formal←c200020;
   word formal←c200021;
   word formal←c200022;
   word formal←c200023;
   {
   if ((formal←c200021 == XR←Unwind)) {
      (void) (XR←MonitorExit(* (( (ptr) formal←c200020)+4) ));
      };
   (*  (ptr) formal←c0373 ) = 0;
   (* (( (ptr) formal←c0373)+1) ) = 0;
   return;
   }

static void NoName←Q8160(formal←c0378, formal←c200016, formal←c200017, formal←c200018, formal←c200019)
   word formal←c0378;
   word formal←c200016;
   word formal←c200017;
   word formal←c200018;
   word formal←c200019;
   {
   if ((formal←c200017 == XR←Unwind)) {
      (void) (XR←MonitorExit(* (( (ptr) formal←c200016)+4) ));
      };
   (*  (ptr) formal←c0378 ) = 0;
   (* (( (ptr) formal←c0378)+1) ) = 0;
   return;
   }

static void NoName←Q8220(formal←c0384, formal←c200012, formal←c200013, formal←c200014, formal←c200015)
   word formal←c0384;
   word formal←c200012;
   word formal←c200013;
   word formal←c200014;
   word formal←c200015;
   {
   register ptr gf←c0470 =  (ptr) &globalframe;
   if ((formal←c200013 == (* (( (ptr) (* (( (ptr) gf←c0470)+171)/* var←c46748 */  ))+4) ))) {
      {
         word err←v36232;
         err←v36232 = (*  (ptr) formal←c200015 );
SOURCE(13736, 9)
         (*  (ptr) formal←c0384 ) = 2;
         (* (( (ptr) formal←c0384)+1) ) = 4;
         return;
         };
      };
   (*  (ptr) formal←c0384 ) = 0;
   (* (( (ptr) formal←c0384)+1) ) = 0;
   return;
   }

static void NoName←Q8280(formal←c0391, formal←c200004, formal←c200005, formal←c200006, formal←c200007)
   word formal←c0391;
   word formal←c200004;
   word formal←c200005;
   word formal←c200006;
   word formal←c200007;
   {
   register ptr gf←c0471 =  (ptr) &globalframe;
   if (((formal←c200005 == (* (( (ptr) (* (( (ptr) gf←c0471)+171)/* var←c46748 */  ))+4) )) || (formal←c200005 == (* (( (ptr) (* (
         ( (ptr) gf←c0471)+175)/* var←c47388 */  ))+5) ))) || (formal←c200005 == (* (( (ptr) (* (( (ptr) gf←c0471)+175)/* var←c47388 */  ))+4)
    ))) {
SOURCE(7204, 37)
      (* (( (ptr) gf←c0471)+17)/* normalErrorCount←v3728 */  ) = ((* (( (ptr) gf←c0471)+17)/* normalErrorCount←v3728 */  ) + 1);
SOURCE(7243, 17)
      (void) HandleError←P1740((* ((( (ptr) formal←c200004)+4)) ));
SOURCE(7262, 9)
      (*  (ptr) formal←c0391 ) = 2;
      (* (( (ptr) formal←c0391)+1) ) = 3;
      return;
      }
   else {
      if ((formal←c200005 == (* (( (ptr) (* (( (ptr) gf←c0471)+176)/* var←c47420 */  ))+22) ))) {
         {
            word signal←v21428;
            word parameters←v21456;
            signal←v21428 = (*  (ptr) formal←c200007 );
            parameters←v21456 = (* (( (ptr) formal←c200007)+1) );
SOURCE(7303, 35)
            (* (( (ptr) gf←c0471)+16)/* nastyErrorCount←v3700 */  ) = ((* (( (ptr) gf←c0471)+16)/* nastyErrorCount←v3700 */  ) + 1);
SOURCE(7340, 37)
            if ((0 == (* (( (ptr) gf←c0471)+4)/* debugging←v3280 */  ))) {
SOURCE(7360, 17)
               (void) HandleError←P1740((* ((( (ptr) formal←c200004)+4)) ));
SOURCE(7379, 9)
               (*  (ptr) formal←c0391 ) = 2;
               (* (( (ptr) formal←c0391)+1) ) = 3;
               return;
               };
            };
         };
      };
   (*  (ptr) formal←c0391 ) = 0;
   (* (( (ptr) formal←c0391)+1) ) = 0;
   return;
   }

static void NoName←Q8340(formal←c0396, formal←c200008, formal←c200009, formal←c200010, formal←c200011)
   word formal←c0396;
   word formal←c200008;
   word formal←c200009;
   word formal←c200010;
   word formal←c200011;
   {
SOURCE(8784, 16)
   (* (( (ptr) (* (( (ptr) (*  (ptr) formal←c200008 ))+5) ))+4) ) = 0;
SOURCE(8802, 17)
   (* (( (ptr) (* (( (ptr) (*  (ptr) formal←c200008 ))+5) ))+3) ) = 0;
SOURCE(8821, 19)
   (* (( (ptr) (* (( (ptr) (*  (ptr) formal←c200008 ))+10) ))+26) ) = 15;
SOURCE(8842, 23)
   (* (( (ptr) (* (( (ptr) (*  (ptr) formal←c200008 ))+10) ))+9) ) = 32;
SOURCE(8867, 26)
   (void) InternalRefresh←P1440((* (( (ptr) (*  (ptr) formal←c200008 ))+10) ), (*  (W4Pt) (( (ptr) (*  (ptr) formal←c200008 ))+6)
       ));
SOURCE(8913, 4)
   (*  (ptr) formal←c0396 ) = 2;
   (* (( (ptr) formal←c0396)+1) ) = 2;
   return;
   /* c2c skipped dead code */ 
   }

static void NoName←Q8400(formal←c0401, formal←c200000, formal←c200001, formal←c200002, formal←c200003)
   word formal←c0401;
   word formal←c200000;
   word formal←c200001;
   word formal←c200002;
   word formal←c200003;
   {
   if ((formal←c200001 == XR←Unwind)) {
      (void) (XR←MonitorExit(* (( (ptr) formal←c200000)+4) ));
      };
   (*  (ptr) formal←c0401 ) = 0;
   (* (( (ptr) formal←c0401)+1) ) = 0;
   return;
   }

/* file: XlBitmapWindowImpl, module: XlBitmapWindowImpl, compiled at: April 19, 1993 10:44:50 am PDT */ 
extern void XR←install←XlBitmapWindowImpl() {
   NoName←Q7320();
   }
extern void XR←run←XlBitmapWindowImpl() { XR←Start(&globalframe); }