/* Generated with C2C (Cedar To C)*/
/* Copyright (C) 1993 by Xerox Corporation.  All rights reserved. */
/* time: October 19, 1993 3:41:01 pm PDT */
/* C2C version: April 20, 1993 (sun4) */
/* ref-counting: off */
/* file: XlImplMainLoop, module: XlImplMainLoop */ 
/* switches: bcfhklnouw */ 
#include <cedar/InstallationSupport.h>
#include <cedar/CedarExtra.h>
static char versionStamp[] = "@(#)mob←version [4024525825,3104034231] XlImplMainLoop";
typedef unsigned word, *ptr;
typedef unsigned char byte, *bPt;
typedef unsigned short half, *hPt;
typedef word (*fPt)();
typedef struct {word f0, f1, f2, f3, f4;} W5;
typedef W5 *W5Pt;
typedef struct {word f0, f1, f2, f3, f4, f5;} W6;
typedef struct {word f0, f1;} W2;
typedef struct {word f0, f1, f2;} W3;
typedef struct {word f0, f1, f2, f3, f4, f5, f6, f7;} W8;
typedef W8 *W8Pt;
#define SOURCE(p, l) /* source p, l */
#define BCK(idx, lim) ( ((unsigned) idx) >= ((unsigned) lim) ? (XR←RaiseBoundsFault()) : (idx) )
#define SGNCK(i) ((int) (word) (i) < 0 ? XR←RaiseArithmeticFault(): i )
#define MAX(cast, x, y)  ( ( cast x) > ( cast y) ? (x) : (y) )
#define NCK(p) ( (void) p)
#define IOP2(op, x, y)  ( (word) ((x) op (y)) )
static void NoName←Q13896();
static void XlImplMainLoop←P0();
static word RRead16←P60();
static word RRead32←P120();
static word ReadWindow←P240();
static word ReadINT16←P420();
static void ReadGeometry←P480();
static void FreeExts←P600();
static void NewExt←P660();
static void DisposeReply←P720();
static void FreeVarpart←P5076();
static word SafeNewReply←P780();
static void DispatchDead←P900();
static void MarkDead←P960();
static word HandleKeyPress←P1020();
static word HandleKeyRelease←P1080();
static word HandleButtonPress←P1140();
static word HandleButtonRelease←P1200();
static word HandleEnterNotify←P1260();
static word HandleLeaveNotify←P1320();
static word HandleFocusIn←P1380();
static word HandleFocusOut←P1440();
static word HandleKeymapNotify←P1500();
static word HandleExpose←P1560();
static word HandleGraphicsExposure←P1620();
static word HandleNoExposure←P1680();
static word HandleVisibilityNotify←P1740();
static word HandleCreateNotify←P1800();
static word HandleDestroyNotify←P1860();
static word HandleUnmapNotify←P1920();
static word HandleMapNotify←P1980();
static word HandleMapRequest←P2040();
static word HandleReparentNotify←P2100();
static word HandleConfigureNotify←P2160();
static word HandleConfigureRequest←P2220();
static word HandleGravityNotify←P2280();
static word HandleResizeRequest←P2340();
static word HandleCirculateNotify←P2400();
static word HandleCirculateRequest←P2460();
static word HandlePropertyNotify←P2520();
static word HandleSelectionClear←P2580();
static word HandleSelectionRequest←P2640();
static word HandleSelectionNotify←P2700();
static word HandleColormapNotify←P2760();
static word HandleClientMessage←P2820();
static word HandleMapping←P2880();
static void ConnectionReader←P2940();
static word NoName←Q13956();
static void QueueError←P3000();
static void KillReplies←P3060();
static word NewReplyStuff←P3120();
static word ReportedSequenceNumber←P3360();
static void WaitInitiatedRange←P3420();
static void Wait←P6288();
static void Flush←P6348();
static word InitiateRoundTrip←P3480();
static word NewAcceptor←P3540();
static void FreeAcceptor←P3600();
static void ActivateAcceptor←P3660();
static void DeActivateAcceptor←P3720();
static word WaitForReplies←P3780();
static void DontWaitForReplies←P3840();
static word NewFakeErrorReply←P4020();
static word FinishWithReply←P4080();
static word DebugFinishWithReply←P4140();
static void DebugNotExpectedRepliesTRUE←P4200();
static void DebugNotExpectedRepliesFALSE←P4260();
static void ExpectedReply←P4320();
static void AbsenceOfReply←P4380();
static void UnexpectedReplyOrError←P4440();
static void QueueReply←P4500();
static void FinishWithMultipleReplies←P4560();
static word FinishWithPartialDetailsNoErrors←P4620();
static word InlineFinishWithDetailsNoErrors←P4680();
static word FinishWithDetailsNoErrors←P4740();
static void FinishWithDetails←P4800();
static word FinishSynchToCheckForErrors←P4860();
static void StartMainLoop←P4920();
static void NoName←Q14016();
static word NoName←Q14076();
static struct {unsigned f; char r[16];} string1 = {851984, "\257\300\351\276\264\273\300\115\104\320\264\123\320\000\000"};
static struct {unsigned f; char r[60];} string2 = {3801146, "\007\100\200\040\047\004\100\354\004\200\140\054\004\014\015\015\015\015\015\015\015\015\004\140\014\015\015\015\015\015\015\015\015\015\015\015\015\015\015\015\015\015\015\015\015\015\015\015\013\004\100\114\004\102\354\004\100\314\000"};
static struct {unsigned f; char r[16];} string3 = {851984, "\257\300\357\341\144\001\300\271\003\315\267\105\154\000\000"};
static struct {unsigned f; char r[4];} string4 = {196611, "\004A\377"};
static struct {unsigned f; char r[4];} string5 = {65540, "\242\000\000"};
static struct {unsigned f; char r[16];} string6 = {851984, "\257\300\227\306\253\223\300\107\163\142\023\101\130\000\000"};
static struct {unsigned f; char r[16];} string7 = {851984, "\257\300\304\042\023\266\300\315\144\243\337\103\260\000\000"};
static struct {unsigned f; char r[4];} string8 = {131074, "\003\010\000"};
static struct {unsigned f; char r[4];} string9 = {131076, "\216\251\000"};
static struct {unsigned f; char r[4];} string10 = {65537, "\001\000\000"};
static struct {unsigned f; char r[12];} string11 = {720908, "\205\210\242\000\117\237\210\241\000\100\377"};
static struct {unsigned f; char r[16];} string12 = {851984, "\257\300\015\277\004\146\300\034\367\146\045\112\064\000\000"};
static struct {unsigned f; char r[4];} string13 = {131074, "\004\037\000"};
static struct {unsigned f; char r[12];} string14 = {720908, "\254\205\210\242\000\037\210\241\000\100\377"};
static struct {unsigned f; char r[16];} string15 = {851984, "\257\300\351\276\264\273\300\115\104\320\264\126\304\000\000"};
static struct {unsigned f; char r[60];} string16 = {3735609, "\006\023\040\001\070\001\100\100\001\100\104\001\100\110\001\100\140\001\100\144\001\100\150\001\100\154\001\100\160\001\100\164\001\100\170\001\100\174\001\100\200\001\100\224\001\100\234\001\100\240\001\100\244\001\100\250\001\000\000"};
static struct {unsigned f; char r[16];} string17 = {851984, "\257\300\357\341\144\001\300\271\003\315\267\105\204\000\000"};
static struct {unsigned f; char r[16];} string18 = {851981, "\006\005\000\001\060\001\064\001\070\001\100\100\001\000\000"};
static struct {unsigned f; char r[16];} string19 = {917520, "\216\257\300\363\223\326\161\300\017\164\046\072\104\350\000"};
static struct {unsigned f; char r[20];} string20 = {1245204, "x11PrivatePMappings"};
static struct {unsigned f; char r[8];} string21 = {327688, "gotit\000\000"};
static struct {unsigned f; char r[8];} string22 = {458760, "XlDebug"};
static struct {unsigned f; char r[12];} string23 = {589836, "XlDebugSP\000\000"};
static struct {unsigned f; char r[8];} string24 = {458760, "noreply"};
static struct {unsigned f; char r[20];} string25 = {1245204, "x11PrivateKMappings"};
static struct {unsigned f; char r[12];} string26 = {524300, "XlDebug0\000\000\000"};
static struct {unsigned f; char r[12];} string27 = {524300, "XlDebug1\000\000\000"};
static struct {unsigned f; char r[12];} string28 = {524300, "XlDebug2\000\000\000"};
static struct {unsigned f; char r[20];} string29 = {1245204, "x11PrivateMMappings"};
static struct {unsigned f; char r[12];} string30 = {524300, "XlDebug3\000\000\000"};
static struct {unsigned f; char r[12];} string31 = {720908, "DebugStream"};
static struct {unsigned f; char r[8];} string32 = {262152, "dead\000\000\000"};
static struct {unsigned f; char r[24];} string33 = {1507352, "un-expected reply\012text:"};
static struct {unsigned f; char r[4];} string34 = {196612, " %g"};
static struct {unsigned f; char r[24];} string35 = {1310744, "\012sequencenumber %g \012\000\000\000"};
static struct {unsigned f; char r[28];} string36 = {1638428, "request codes:  %g %g %g\012\000\000"};
static struct {unsigned f; char r[16];} string37 = {917520, "ConnectionDead\000"};
static struct {unsigned f; char r[8];} string38 = {393224, "XlImpl\000"};
static struct {unsigned f; char r[24];} string39 = {1441816, "SignalReplyNotExpected\000"};
static struct {unsigned f; char r[16];} string40 = {851984, "\257\300\357\341\144\001\300\271\003\315\267\100\200\000\000"};
static struct {unsigned f; char r[20];} string41 = {1114129, "\006\005\024\001\030\001\034\001\050\001\101\024\010\000\004\024\001\000\000"};
static struct {unsigned f; char r[16];} string42 = {851984, "\257\300\055\153\222\376\300\327\164\352\142\100\150\000\000"};
static struct {unsigned f; char r[16];} string43 = {851984, "\257\300\263\064\342\215\300\063\160\325\023\100\150\000\000"};
static struct {unsigned f; char r[16];} string44 = {851984, "\257\300\015\277\004\146\300\034\367\146\045\100\164\000\000"};
static struct {unsigned f; char r[16];} string45 = {851984, "\257\300\240\236\274\315\300\111\163\325\023\100\150\000\000"};
static struct {unsigned f; char r[16];} string46 = {851984, "\257\300\275\320\070\317\300\004\110\363\366\100\150\000\000"};
static struct {unsigned f; char r[16];} string47 = {851984, "\257\300\277\374\326\303\300\302\136\022\175\100\150\000\000"};
static unsigned string48 = 1483472896;
static struct {unsigned f; char r[16];} string49 = {851984, "\257\300\351\276\264\273\300\115\104\320\264\100\164\000\000"};
static struct {unsigned f; char r[16];} string50 = {851984, "\257\300\122\362\040\033\300\221\350\241\274\100\150\000\000"};
static struct {unsigned f; char r[16];} string51 = {851984, "\257\300\305\130\130\253\300\227\246\357\266\100\150\000\000"};
static struct {unsigned f; char r[8];} string52 = {1483493490, "ivate"};
static struct {unsigned f; char r[16];} string53 = {851984, "\257\300\304\042\023\266\300\315\144\243\337\100\150\000\000"};
static struct {unsigned f; char r[16];} string54 = {851984, "\257\300\212\247\207\172\300\123\222\237\073\100\150\000\000"};
static struct {unsigned f; char r[16];} string55 = {851984, "\257\300\324\170\077\160\300\025\257\222\122\100\150\000\000"};
static struct {unsigned f; char r[16];} string56 = {851984, "\257\300\126\372\175\303\300\214\014\321\126\100\150\000\000"};
static struct {unsigned f; char r[32];} string57 = {1966112, "\211\022\021\103\157\156\156\145\143\164\151\157\156\120\162\151\166\141\164\145\300\351\276\264\273\300\115\104\320\264\000"};
static struct {unsigned f; char r[16];} string58 = {851984, "\257\300\012\063\155\016\300\130\140\234\375\100\164\000\000"};
static struct {unsigned f; char r[40];} string59 = {2424869, "\006\016\000\001\004\001\010\001\014\001\020\001\024\001\030\001\034\001\040\001\044\001\060\001\070\010\000\004\100\100\001\101\070\001\101\074\001\000\000"};
static struct {unsigned f; char r[28];} string60 = {1703964, "\211\016\015\122\145\160\154\171\123\164\165\146\146\122\145\160\300\351\276\264\273\300\115\104\320\264\000"};
static struct {unsigned f; char r[16];} string61 = {851984, "\257\300\244\037\307\153\300\075\246\262\264\100\150\000\000"};
static struct {unsigned f; char r[16];} string62 = {851984, "\257\300\234\252\236\205\300\126\010\241\274\100\150\000\000"};
static struct {unsigned f; char r[16];} string63 = {851984, "\257\300\212\106\356\031\300\251\101\347\131\100\150\000\000"};
static struct {
   word f0[91]; 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; word f172; word f173; 
   word f174; word f175; word f176; word f177; 
   word f178; word f179; word f180; word f181; 
   word f182; word f183; word f184; word f185; 
   word f186; word f187; word f188; word f189; 
   word f190; word f191; word f192; word f193; 
   word f194; word f195; word f196; word f197; 
   word f198; word f199; word f200; word f201; 
   word f202; word f203; word f204; word f205; 
   word f206; word f207; word f208; word f209; 
   word f210; word f211; word f212; word f213; 
   word f214; word f215; word f216; word f217; 
   word f218; word f219; word f220; word f221; 
   word f222; word f223; word f224; word f225; 
   word f226; word f227; word f228; word f229; 
   word f230; word f231; word f232; word f233; 
   word f234; word f235; word f236[16]; 
   } globalframe = {
   {0}, (word) StartMainLoop←P4920, 0, (word) FinishSynchToCheckForErrors←P4860, 
   0, (word) FinishWithDetails←P4800, 0, (word) FinishWithDetailsNoErrors←P4740, 
   0, (word) InlineFinishWithDetailsNoErrors←P4680, 0, (word) FinishWithPartialDetailsNoErrors←P4620, 
   0, (word) FinishWithMultipleReplies←P4560, 0, (word) QueueReply←P4500, 
   0, (word) UnexpectedReplyOrError←P4440, 0, (word) AbsenceOfReply←P4380, 
   0, (word) ExpectedReply←P4320, 0, (word) DebugNotExpectedRepliesFALSE←P4260, 
   0, (word) DebugNotExpectedRepliesTRUE←P4200, 0, (word) DebugFinishWithReply←P4140, 
   0, (word) FinishWithReply←P4080, 0, (word) NewFakeErrorReply←P4020, 
   0, (word) DontWaitForReplies←P3840, 0, (word) WaitForReplies←P3780, 
   0, (word) DeActivateAcceptor←P3720, 0, (word) ActivateAcceptor←P3660, 
   0, (word) FreeAcceptor←P3600, 0, (word) NewAcceptor←P3540, 
   0, (word) InitiateRoundTrip←P3480, 0, (word) WaitInitiatedRange←P3420, 
   0, (word) ReportedSequenceNumber←P3360, 0, (word) NewReplyStuff←P3120, 
   0, (word) KillReplies←P3060, 0, (word) QueueError←P3000, 
   0, (word) ConnectionReader←P2940, 0, (word) HandleMapping←P2880, 
   0, (word) HandleClientMessage←P2820, 0, (word) HandleColormapNotify←P2760, 
   0, (word) HandleSelectionNotify←P2700, 0, (word) HandleSelectionRequest←P2640, 
   0, (word) HandleSelectionClear←P2580, 0, (word) HandlePropertyNotify←P2520, 
   0, (word) HandleCirculateRequest←P2460, 0, (word) HandleCirculateNotify←P2400, 
   0, (word) HandleResizeRequest←P2340, 0, (word) HandleGravityNotify←P2280, 
   0, (word) HandleConfigureRequest←P2220, 0, (word) HandleConfigureNotify←P2160, 
   0, (word) HandleReparentNotify←P2100, 0, (word) HandleMapRequest←P2040, 
   0, (word) HandleMapNotify←P1980, 0, (word) HandleUnmapNotify←P1920, 
   0, (word) HandleDestroyNotify←P1860, 0, (word) HandleCreateNotify←P1800, 
   0, (word) HandleVisibilityNotify←P1740, 0, (word) HandleNoExposure←P1680, 
   0, (word) HandleGraphicsExposure←P1620, 0, (word) HandleExpose←P1560, 
   0, (word) HandleKeymapNotify←P1500, 0, (word) HandleFocusOut←P1440, 
   0, (word) HandleFocusIn←P1380, 0, (word) HandleLeaveNotify←P1320, 
   0, (word) HandleEnterNotify←P1260, 0, (word) HandleButtonRelease←P1200, 
   0, (word) HandleButtonPress←P1140, 0, (word) HandleKeyRelease←P1080, 
   0, (word) HandleKeyPress←P1020, 0, (word) MarkDead←P960, 
   0, (word) DispatchDead←P900, 0, (word) SafeNewReply←P780, 
   0, (word) DisposeReply←P720, 0, (word) NewExt←P660, 
   0, (word) FreeExts←P600, 0, (word) ReadGeometry←P480, 
   0, (word) ReadINT16←P420, 0, (word) ReadWindow←P240, 
   0, (word) RRead32←P120, 0, (word) RRead16←P60, 
   0, (word) XlImplMainLoop←P0, {0}
   };

static void NoName←Q13896()
   {
   register ptr gf←c0821 =  (ptr) &globalframe;
   word var←c74208;
   (* (( (ptr) gf←c0821)+12) ) = (word) XR←GetTypeIndex((word) &string1, 0, (word) &string2);
   (* (( (ptr) gf←c0821)+47) ) = (word) XR←GetTypeIndex((word) &string3, 0, (word) &string4);
   (* (( (ptr) gf←c0821)+48) ) = (word) XR←GetTypeIndexS((word) (&string5));
   (* (( (ptr) gf←c0821)+50) ) = (word) XR←GetTypeIndexS((word) (&string6));
   (* (( (ptr) gf←c0821)+51) ) = (word) XR←GetTypeIndex((word) &string7, 0, (word) &string8);
   (* (( (ptr) gf←c0821)+54) ) = (word) XR←GetTypeIndex((word) &string9, 0, (word) &string10);
   (* (( (ptr) gf←c0821)+55) ) = (word) XR←GetTypeIndexS((word) (&string11));
   (* (( (ptr) gf←c0821)+57) ) = (word) XR←GetTypeIndex((word) &string12, 0, (word) &string13);
   (* (( (ptr) gf←c0821)+60) ) = (word) XR←GetTypeIndexS((word) (&string14));
   (* (( (ptr) gf←c0821)+62) ) = (word) XR←GetTypeIndex((word) &string15, 0, (word) &string16);
   (* (( (ptr) gf←c0821)+66) ) = (word) XR←GetTypeIndex((word) &string17, 0, (word) &string18);
   (* (( (ptr) gf←c0821)+68) ) = (word) XR←GetTypeIndex((word) &string19, 0, (word) &string10);
   (*  (ptr) (( (bPt) gf←c0821)+276) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+54) ), (word) &string20);
   (*  (ptr) (( (bPt) gf←c0821)+280) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+54) ), (word) &string21);
   (*  (ptr) (( (bPt) gf←c0821)+284) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+54) ), (word) &string22);
   (*  (ptr) (( (bPt) gf←c0821)+288) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+54) ), (word) &string23);
   (*  (ptr) (( (bPt) gf←c0821)+292) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+54) ), (word) &string24);
   (*  (ptr) (( (bPt) gf←c0821)+296) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+54) ), (word) &string25);
   (*  (ptr) (( (bPt) gf←c0821)+300) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+54) ), (word) &string26);
   (*  (ptr) (( (bPt) gf←c0821)+304) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+54) ), (word) &string27);
   (*  (ptr) (( (bPt) gf←c0821)+308) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+54) ), (word) &string28);
   (*  (ptr) (( (bPt) gf←c0821)+312) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+54) ), (word) &string29);
   (*  (ptr) (( (bPt) gf←c0821)+316) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+54) ), (word) &string30);
   (*  (ptr) (( (bPt) gf←c0821)+320) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+54) ), (word) &string31);
   (*  (ptr) (( (bPt) gf←c0821)+324) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+54) ), (word) &string32);
   (*  (ptr) (( (bPt) gf←c0821)+328) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+68) ), (word) &string33);
   (*  (ptr) (( (bPt) gf←c0821)+332) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+68) ), (word) &string34);
   (*  (ptr) (( (bPt) gf←c0821)+336) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+68) ), (word) &string35);
   (*  (ptr) (( (bPt) gf←c0821)+340) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+68) ), (word) &string36);
   (*  (ptr) (( (bPt) gf←c0821)+344) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+54) ), (word) &string37);
   (*  (ptr) (( (bPt) gf←c0821)+348) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+54) ), (word) &string38);
   (*  (ptr) (( (bPt) gf←c0821)+352) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0821)+54) ), (word) &string39);
   (void) XR←DeclareGlobalFrame((word) "XlImplMainLoop", &globalframe, (word) XR←GetTypeIndex((word) &string40, 0, (word) &string41)
      , (word) (( (bPt) gf←c0821)+940)/* var←c62720 */ );
   var←c74208 = (word) XR←ImportInterface((word) "Atom", (word) XR←GetTypeIndexS((word) (&string42)), 16);
   (* (( (ptr) gf←c0821)+248)/* var←c73280 */  ) = var←c74208;
   (void) XR←ImportProcS(var←c74208, 67634946);
   (void) XR←ImportProcS(var←c74208, 788739);
   var←c74208 = (word) XR←ImportInterface((word) "ForkOps", (word) XR←GetTypeIndexS((word) (&string43)), 4);
   (* (( (ptr) gf←c0821)+249)/* var←c74176 */  ) = var←c74208;
   (void) XR←ImportProcS(var←c74208, 786435);
   var←c74208 = (word) XR←ImportInterface((word) "IO", (word) XR←GetTypeIndexS((word) (&string44)), 103);
   (* (( (ptr) gf←c0821)+241)/* var←c71200 */  ) = var←c74208;
   (void) XR←ImportProcS(var←c74208, 2111493);
   (void) XR←ImportProcS(var←c74208, 1063171);
   (void) XR←ImportProcS(var←c74208, 1071364);
   (void) XR←ImportProcS(var←c74208, 67373825);
   (void) XR←ImportProcS(var←c74208, 68160002);
   var←c74208 = (word) XR←ImportInterface((word) "Process", (word) XR←GetTypeIndexS((word) (&string45)), 22);
   (* (( (ptr) gf←c0821)+237)/* var←c62752 */  ) = var←c74208;
   (void) XR←ImportProcS(var←c74208, 524546);
   (void) XR←ImportProcS(var←c74208, 526081);
   (void) XR←ImportProcS(var←c74208, 67371521);
   var←c74208 = (word) XR←ImportInterface((word) "RuntimeError", (word) XR←GetTypeIndexS((word) (&string46)), 27);
   (* (( (ptr) gf←c0821)+242)/* var←c71232 */  ) = var←c74208;
   var←c74208 = (word) XR←ImportInterface((word) "SafeStorage", (word) XR←GetTypeIndexS((word) (&string47)), 27);
   (* (( (ptr) gf←c0821)+238)/* var←c62816 */  ) = var←c74208;
   (void) XR←ImportProcS(var←c74208, 67109376);
   var←c74208 = (word) XR←ImportInterface((word) &string48, (word) XR←GetTypeIndexS((word) (&string49)), 218);
   (* (( (ptr) gf←c0821)+246)/* var←c72768 */  ) = var←c74208;
   (void) XR←ImportProcS(var←c74208, 67910403);
   (void) XR←ImportProcS(var←c74208, 1063940);
   var←c74208 = (word) XR←ImportInterface((word) "XlDispatch", (word) XR←GetTypeIndexS((word) (&string50)), 18);
   (* (( (ptr) gf←c0821)+239)/* var←c63360 */  ) = var←c74208;
   (void) XR←ImportProcS(var←c74208, 528130);
   (void) XR←ImportProcS(var←c74208, 524802);
   (void) XR←ImportProcS(var←c74208, 67371265);
   var←c74208 = (word) XR←ImportInterface((word) "XlExtensions", (word) XR←GetTypeIndexS((word) (&string51)), 3);
   (* (( (ptr) gf←c0821)+244)/* var←c72672 */  ) = var←c74208;
   (void) XR←ImportProcS(var←c74208, 67371009);
   var←c74208 = (word) XR←ImportInterface((word) &string52, (word) XR←GetTypeIndexS((word) (&string53)), 77);
   (* (( (ptr) gf←c0821)+247)/* var←c73024 */  ) = var←c74208;
   (void) XR←ImportProcS(var←c74208, 1058820);
   (void) XR←ImportProcS(var←c74208, 262145);
   (void) XR←ImportProcS(var←c74208, 1051908);
   (void) XR←ImportProcS(var←c74208, 526594);
   var←c74208 = (word) XR←ImportInterface((word) "XlPrivateErrorHandling", (word) XR←GetTypeIndexS((word) (&string54)), 10);
   (* (( (ptr) gf←c0821)+245)/* var←c72736 */  ) = var←c74208;
   (void) XR←ImportProcS(var←c74208, 263681);
   (void) XR←ImportProcS(var←c74208, 67896579);
   var←c74208 = (word) XR←ImportInterface((word) "XlRecycleMotionEvents", (word) XR←GetTypeIndexS((word) (&string55)), 2);
   (* (( (ptr) gf←c0821)+243)/* var←c71264 */  ) = var←c74208;
   (void) XR←ImportProcS(var←c74208, 67633154);
   var←c74208 = (word) XR←ImportInterface((word) "XlService", (word) XR←GetTypeIndexS((word) (&string56)), 6);
   (* (( (ptr) gf←c0821)+240)/* var←c71104 */  ) = var←c74208;
   (void) XR←ImportProcS(var←c74208, 787203);
   var←c74208 = (word) XR←ExportInterface((word) &string48, (word) XR←GetTypeIndexS((word) (&string49)), 218);
   (* (( (ptr) gf←c0821)+250)/* var←c74240 */  ) = var←c74208;
   (void) XR←ExportType((word) "ConnectionPrivate", (word) XR←GetTypeIndexS((word) (&string57)), (word) XR←GetTypeIndex((word) &string58, 0, (word) &string59)
      );
   (void) XR←ExportType((word) "ReplyStuffRep", (word) XR←GetTypeIndexS((word) (&string60)), (word) XR←GetTypeIndex((word) &string3, 0, (word) &string4)
      );
   var←c74208 = (word) XR←ExportInterface((word) "XlSpeedHacks", (word) XR←GetTypeIndexS((word) (&string61)), 4);
   (* (( (ptr) gf←c0821)+251)/* var←c74272 */  ) = var←c74208;
   (void) XR←ExportProcS(var←c74208, (word) (( (bPt) gf←c0821)+556)/* var←c61184 */ , 67371265, (word) "ReportedSequenceNumber")
   ;
   (void) XR←ExportProcS(var←c74208, (word) (( (bPt) gf←c0821)+540)/* var←c61120 */ , 67633666, (word) "InitiateRoundTrip");
   (void) XR←ExportProcS(var←c74208, (word) (( (bPt) gf←c0821)+548)/* var←c61152 */ , 787203, (word) "WaitInitiatedRange");
   var←c74208 = (word) XR←ExportInterface((word) &string52, (word) XR←GetTypeIndexS((word) (&string53)), 77);
   (* (( (ptr) gf←c0821)+251)/* var←c74272 */  ) = var←c74208;
   (void) XR←ExportProcS(var←c74208, (word) (( (bPt) gf←c0821)+476)/* var←c60864 */ , 67385857, (word) "FinishWithReply");
   (void) XR←ExportProcS(var←c74208, (word) (( (bPt) gf←c0821)+412)/* var←c60608 */ , 801539, (word) "FinishWithMultipleReplies")
   ;
   (void) XR←ExportProcS(var←c74208, (word) (( (bPt) gf←c0821)+380)/* var←c60480 */ , 539650, (word) "FinishWithDetails");
   (void) XR←ExportProcS(var←c74208, (word) (( (bPt) gf←c0821)+388)/* var←c60512 */ , 67648770, (word) "FinishWithDetailsNoErrors")
   ;
   (void) XR←ExportProcS(var←c74208, (word) (( (bPt) gf←c0821)+404)/* var←c60576 */ , 67649026, (word) "FinishWithPartialDetailsNoErrors")
   ;
   (void) XR←ExportProcS(var←c74208, (word) (( (bPt) gf←c0821)+876)/* var←c62464 */ , 540418, (word) "DisposeReply");
   var←c74208 = (word) XR←ExportInterface((word) "XlPrivateSplit", (word) XR←GetTypeIndexS((word) (&string62)), 7);
   (* (( (ptr) gf←c0821)+251)/* var←c74272 */  ) = var←c74208;
   (void) XR←ExportProcS(var←c74208, (word) (( (bPt) gf←c0821)+364)/* var←c60416 */ , 262913, (word) "StartMainLoop");
   (void) XR←ExportProcS(var←c74208, (word) (( (bPt) gf←c0821)+572)/* var←c61248 */ , 525826, (word) "KillReplies");
   var←c74208 = (word) XR←ExportInterface((word) "XlPrivateDebug", (word) XR←GetTypeIndexS((word) (&string63)), 1);
   (* (( (ptr) gf←c0821)+251)/* var←c74272 */  ) = var←c74208;
   (void) XR←ExportProcS(var←c74208, (word) (( (bPt) gf←c0821)+468)/* var←c60832 */ , 67371009, (word) "DebugFinishWithReply")
   ;
   }

static void XlImplMainLoop←P0(formal←c0102, formal←c0101)
   word formal←c0102;
   word formal←c0101;
   {
   register ptr gf←c74304 =  (ptr) &globalframe;
   /* XlImplMainLoop: */ 
SOURCE(277, 39426)
SOURCE(981, 56)
   {
      word pd64;
      pd64 = (* (( (ptr) (* (( (ptr) gf←c74304)+237)/* var←c62752 */  ))+6) );
      (* (( (ptr) gf←c74304)+4)/* replyTimeout←v3560 */  ) = (word) ( *( (fPt) ((*  (ptr) pd64 ))))(10000, pd64);
      };
SOURCE(36450, 36)
   (* (( (ptr) gf←c74304)+10)/* doneWithMultiple←v6108 */  ) = XR←NewObject(4, (* (( (ptr) gf←c74304)+48) ));
SOURCE(39655, 48)
SOURCE(39657, 44)
   {
      word pd65;
      pd65 = (* (( (ptr) (* (( (ptr) gf←c74304)+238)/* var←c62816 */  ))+6) );
      (* (( (ptr) gf←c74304)+5)/* untracedZone←v3588 */  ) = (word) ( *( (fPt) ((*  (ptr) pd65 ))))(pd65);
      };
   }

static word RRead16←P60(r←v6392)
   word r←v6392;
   {
   word var←c6436;
   /* RRead16: */ 
SOURCE(1061, 64)
SOURCE(1107, 18)
   {
      word var←c62880;
      word c←v60192;
      c←v60192 = (((word)  (unsigned) (word) (* (( (bPt) r←v6392)+(* (( (ptr) r←v6392)+10) )) ) << 8) +  (unsigned) (word) (* (
         ( (bPt) r←v6392)+((* (( (ptr) r←v6392)+10) ) + 1)) ));
      (* (( (ptr) r←v6392)+10) ) = ((* (( (ptr) r←v6392)+10) ) + 2);
      var←c62880 = c←v60192;
      return(var←c62880);
      };
   }

static word RRead32←P120(r←v6496)
   word r←v6496;
   {
   word var←c6540;
   /* RRead32: */ 
SOURCE(1131, 65)
SOURCE(1177, 19)
   {
      word var←c62944;
      word four←v59256;
      four←v59256 = (((word) (((word) (((word)  (unsigned) (word) (* (( (bPt) r←v6496)+(* (( (ptr) r←v6496)+10) )) ) << 8) +  (unsigned) (word) (* (
         ( (bPt) r←v6496)+((* (( (ptr) r←v6496)+10) ) + 1)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v6496)+((* (( (ptr) r←v6496)+10)
          ) + 2)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v6496)+((* (( (ptr) r←v6496)+10) ) + 3)) ));
      (* (( (ptr) r←v6496)+10) ) = ((* (( (ptr) r←v6496)+10) ) + 4);
      var←c62944 = four←v59256;
      return(var←c62944);
      };
   }

static word ReadWindow←P240(r←v6732)
   word r←v6732;
   {
   word var←c6776;
   /* ReadWindow: */ 
SOURCE(1318, 83)
SOURCE(1367, 34)
   {
      word var←c63040;
      word id←v58936;
      {
         word four←v59168;
         four←v59168 = (((word) (((word) (((word)  (unsigned) (word) (* (( (bPt) r←v6732)+(* (( (ptr) r←v6732)+10) )) ) << 8) +  (unsigned) (word) (* (
            ( (bPt) r←v6732)+((* (( (ptr) r←v6732)+10) ) + 1)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v6732)+((* (( (ptr) r←v6732)+10)
             ) + 2)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v6732)+((* (( (ptr) r←v6732)+10) ) + 3)) ));
         (* (( (ptr) r←v6732)+10) ) = ((* (( (ptr) r←v6732)+10) ) + 4);
         id←v58936 = four←v59168;
         };
      var←c63040 = id←v58936;
      return(var←c63040);
      };
   }

static word ReadINT16←P420(r←v7044)
   word r←v7044;
   {
   word var←c7088;
   /* ReadINT16: */ 
SOURCE(1605, 83)
SOURCE(1652, 36)
   {
      word var←c0884;
      {
         word var←c0883;
         word var←c63168;
         word c←v60096;
         c←v60096 = (((word)  (unsigned) (word) (* (( (bPt) r←v7044)+(* (( (ptr) r←v7044)+10) )) ) << 8) +  (unsigned) (word) (* (
            ( (bPt) r←v7044)+((* (( (ptr) r←v7044)+10) ) + 1)) ));
         (* (( (ptr) r←v7044)+10) ) = ((* (( (ptr) r←v7044)+10) ) + 2);
         var←c63168 = c←v60096;
         var←c0883 = (var←c0883 & 4294901760) | ((word) ( (((unsigned)(var←c63168
            ) << 16) >> 16) ));
         var←c0884 =  (int) ( short )( (((unsigned)var←c0883 << 16) >> 16) );
         };
      return(var←c0884);
      };
   }

static void ReadGeometry←P480(formal←c0122, r←v7148)
   word formal←c0122;
   word r←v7148;
   {
   W5 g←v7192;
   /* ReadGeometry: */ 
SOURCE(1692, 185)
SOURCE(1692, 185)
   g←v7192.f0 = 2147483648;
   g←v7192.f1 = 2147483648;
   g←v7192.f2 = 2147483648;
   g←v7192.f3 = 2147483648;
   g←v7192.f4 = 2147483648;
SOURCE(1748, 22)
   g←v7192.f0 = (word) ReadINT16←P420(r←v7148);
SOURCE(1772, 22)
   g←v7192.f1 = (word) ReadINT16←P420(r←v7148);
SOURCE(1796, 25)
   g←v7192.f2 = (word) RRead16←P60(r←v7148);
SOURCE(1823, 26)
   g←v7192.f3 = (word) RRead16←P60(r←v7148);
SOURCE(1851, 26)
   g←v7192.f4 = (word) RRead16←P60(r←v7148);
   /* removed tail goto */ 
   (*  (W5Pt) formal←c0122 ) = g←v7192;
   return;
   }

static void FreeExts←P600(replyStuff←v7340)
   word replyStuff←v7340;
   {
   /* FreeExts: */ 
SOURCE(1966, 258)
SOURCE(2021, 203)
   if ((replyStuff←v7340 != 0)) {
SOURCE(2046, 29)
      (* (( (ptr) replyStuff←v7340)+3) ) = 0;
SOURCE(2077, 29)
      (* (( (ptr) replyStuff←v7340)+4) ) = 0;
SOURCE(2108, 29)
      (* (( (ptr) replyStuff←v7340)+5) ) = 0;
SOURCE(2139, 27)
      (*  (ptr) replyStuff←v7340 ) = 0;
SOURCE(2168, 27)
      (* (( (ptr) replyStuff←v7340)+1) ) = 0;
SOURCE(2197, 27)
      (* (( (ptr) replyStuff←v7340)+2) ) = 0;
      };
   }

static void NewExt←P660(replyStuff←v7412, reply←v7440, sz←v7468)
   word replyStuff←v7412;
   word reply←v7440;
   word sz←v7468;
   {
   register ptr gf←c74336 =  (ptr) &globalframe;
   word t←v16480 = 0;
   word leng←v16508;
   word var←c0885;
   word var←c0886;
   word var←c0887;
   /* NewExt: */ 
SOURCE(2234, 808)
SOURCE(2357, 27)
   t←v16480 = (* (( (ptr) replyStuff←v7412)+3) );
SOURCE(2387, 145)
   if ((t←v16480 != 0)) {
SOURCE(2403, 129)
      leng←v16508 = (*  (ptr) t←v16480 );
      var←c0885 = leng←v16508;
      if ((var←c0885 >= sz←v7468)) {
SOURCE(2451, 29)
         (* (( (ptr) replyStuff←v7412)+3) ) = 0;
SOURCE(2482, 22)
         (* (( (ptr) reply←v7440)+9) ) = leng←v16508;
SOURCE(2506, 17)
         (* (( (ptr) reply←v7440)+8) ) = t←v16480;
SOURCE(2525, 7)
         return;
         };
      };
SOURCE(2538, 27)
   t←v16480 = (* (( (ptr) replyStuff←v7412)+4) );
SOURCE(2568, 145)
   if ((t←v16480 != 0)) {
SOURCE(2584, 129)
      leng←v16508 = (*  (ptr) t←v16480 );
      var←c0886 = leng←v16508;
      if ((var←c0886 >= sz←v7468)) {
SOURCE(2632, 29)
         (* (( (ptr) replyStuff←v7412)+4) ) = 0;
SOURCE(2663, 22)
         (* (( (ptr) reply←v7440)+9) ) = leng←v16508;
SOURCE(2687, 17)
         (* (( (ptr) reply←v7440)+8) ) = t←v16480;
SOURCE(2706, 7)
         return;
         };
      };
SOURCE(2719, 27)
   t←v16480 = (* (( (ptr) replyStuff←v7412)+5) );
SOURCE(2749, 145)
   if ((t←v16480 != 0)) {
SOURCE(2765, 129)
      leng←v16508 = (*  (ptr) t←v16480 );
      var←c0887 = leng←v16508;
      if ((var←c0887 >= sz←v7468)) {
SOURCE(2813, 29)
         (* (( (ptr) replyStuff←v7412)+5) ) = 0;
SOURCE(2844, 22)
         (* (( (ptr) reply←v7440)+9) ) = leng←v16508;
SOURCE(2868, 17)
         (* (( (ptr) reply←v7440)+8) ) = t←v16480;
SOURCE(2887, 7)
         return;
         };
      };
SOURCE(2900, 11)
   leng←v16508 = (sz←v7468 + 8);
SOURCE(2962, 55)
   {
      word var←c63200;
      {
         word var←c63232;
         word var←c63264;
         var←c63232 = ((word) ((word) (leng←v16508 + 3) >> 2) << 2);
         {
            word pd66;
            pd66 = (*  (ptr) (* (( (ptr) gf←c74336)+5)/* untracedZone←v3588 */  ) );
            var←c63264 = (word) ( *( (fPt) ((*  (ptr) pd66 ))))((* (( (ptr) gf←c74336)+5)/* untracedZone←v3588 */  ), var←c63232, (* (
                  ( (ptr) gf←c74336)+50) ), pd66);
            };
         var←c63200 = var←c63264;
         };
      (* (( (ptr) reply←v7440)+8) ) = var←c63200;
      };
SOURCE(3020, 22)
   (* (( (ptr) reply←v7440)+9) ) = leng←v16508;
   }

static void DisposeReply←P720(c←v7540, r←v7568)
   word c←v7540;
   word r←v7568;
   {
   W6 var←c74368;
   /* declaration of var←c63296 skipped */ 
   word rp←v16600;
   /* DisposeReply: */ 
SOURCE(3049, 1020)
   {
      word tmpAddr67;
      tmpAddr67 = (word) (( (ptr) &var←c74368)+4)/* var←c63296 */ ;
      (*  (ptr) tmpAddr67 ) = ( ((word)  (fPt) FreeVarpart←P5076) );
      (* (( (ptr) tmpAddr67) + 1) ) = 1;
      };
SOURCE(3105, 40)
   rp←v16600 = (* (( (ptr) c←v7540)+25) );
SOURCE(3147, 922)
   if ((r←v7568 != 0)) {
SOURCE(3161, 925)
      {
         word vp←v16656;
SOURCE(3163, 35)
         vp←v16656 = (* (( (ptr) r←v7568)+8) );
SOURCE(3200, 695)
         if ( ( (vp←v16656 != 0) ? ((* (( (ptr) r←v7568)+9) ) > 3) : 0 ) ) {
SOURCE(3233, 664)
SOURCE(3650, 47)
SOURCE(3652, 45)
            (*  (ptr) vp←v16656 ) = (* (( (ptr) r←v7568)+9) );
            if (((* (( (ptr) rp←v16600)+3) ) == 0)) {
SOURCE(3740, 20)
               (* (( (ptr) rp←v16600)+3) ) = vp←v16656;
               }
            else {
               if (((* (( (ptr) rp←v16600)+4) ) == 0)) {
SOURCE(3785, 20)
                  (* (( (ptr) rp←v16600)+4) ) = vp←v16656;
                  }
               else {
                  if (((* (( (ptr) rp←v16600)+5) ) == 0)) {
SOURCE(3830, 20)
                     (* (( (ptr) rp←v16600)+5) ) = vp←v16656;
                     }
                  else {
SOURCE(3863, 32)
                     (void) FreeVarpart←P5076(rp←v16600, vp←v16656, (* (( (ptr) r←v7568)+9) ), (word) (( (bPt) &var←c74368)+16)/* var←c63296 */ )
                     ;
                     };
                  };
               };
            };
SOURCE(3900, 15)
         (* (( (ptr) r←v7568)+8) ) = 0;
SOURCE(3917, 15)
         (* (( (ptr) r←v7568)+9) ) = 0;
         if (((*  (ptr) rp←v16600 ) == 0)) {
SOURCE(3972, 17)
            (*  (ptr) rp←v16600 ) = r←v7568;
            }
         else {
            if (((* (( (ptr) rp←v16600)+1) ) == 0)) {
SOURCE(4012, 17)
               (* (( (ptr) rp←v16600)+1) ) = r←v7568;
               }
            else {
               if (((* (( (ptr) rp←v16600)+2) ) == 0)) {
SOURCE(4052, 17)
                  (* (( (ptr) rp←v16600)+2) ) = r←v7568;
                  };
               };
            };
         };
      };
   }

static void FreeVarpart←P5076(rp←v16788, vp←v16816, bytes←v16844, formal←c74400)
   word rp←v16788;
   word vp←v16816;
   word bytes←v16844;
   word formal←c74400;
   {
   word t←v16908 = 0;
   formal←c74400 = (formal←c74400 - 16);
   /* FreeVarpart: */ 
SOURCE(3235, 19)
SOURCE(3355, 19)
   t←v16908 = (* (( (ptr) rp←v16788)+5) );
SOURCE(3376, 87)
   if ( ( (t←v16908 != 0) ? ((*  (ptr) t←v16908 ) < bytes←v16844) : 0 ) ) {
SOURCE(3434, 20)
      (* (( (ptr) rp←v16788)+5) ) = vp←v16816;
SOURCE(3456, 7)
      return;
      };
SOURCE(3466, 19)
   t←v16908 = (* (( (ptr) rp←v16788)+4) );
SOURCE(3487, 87)
   if ( ( (t←v16908 != 0) ? ((*  (ptr) t←v16908 ) < bytes←v16844) : 0 ) ) {
SOURCE(3545, 20)
      (* (( (ptr) rp←v16788)+4) ) = vp←v16816;
SOURCE(3567, 7)
      return;
      };
SOURCE(3577, 20)
   (* (( (ptr) rp←v16788)+3) ) = vp←v16816;
   }

static word SafeNewReply←P780()
   {
   register ptr gf←c74432 =  (ptr) &globalframe;
   word r←v7628;
   /* SafeNewReply: */ 
SOURCE(4093, 62)
SOURCE(4093, 62)
   r←v7628 = 0;
SOURCE(4138, 17)
   r←v7628 = XR←NewObject(44, (* (( (ptr) gf←c74432)+51) ));
SOURCE(4093, 62)
   return(r←v7628);
   }

static void DispatchDead←P900(c←v7804)
   word c←v7804;
   {
   register ptr gf←c74464 =  (ptr) &globalframe;
   word dispatchHandle←v16988;
   word ev←v17016;
   /* DispatchDead: */ 
SOURCE(4452, 291)
SOURCE(4491, 75)
   {
      word pd68;
      pd68 = (* (( (ptr) (* (( (ptr) gf←c74464)+239)/* var←c63360 */  ))+5) );
      dispatchHandle←v16988 = (word) ( *( (fPt) ((*  (ptr) pd68 ))))(c←v7804, pd68);
      };
SOURCE(4568, 44)
   ev←v17016 = XR←NewObject(32, (* (( (ptr) gf←c74464)+12) ));
SOURCE(4614, 17)
   (* (( (ptr) ev←v17016)+2) ) = c←v7804;
SOURCE(4633, 16)
   (* (( (ptr) ev←v17016)+5) ) = (* (( (ptr) gf←c74464)+87) );
SOURCE(4651, 24)
   (* (( (ptr) ev←v17016)+6) ) = (* (( (ptr) gf←c74464)+86) );
SOURCE(4677, 25)
   (* (( (ptr) ev←v17016)+7) ) = (* (( (ptr) gf←c74464)+86) );
SOURCE(4704, 39)
   {
      word pd69;
      pd69 = (* (( (ptr) (* (( (ptr) gf←c74464)+239)/* var←c63360 */  ))+6) );
      (void) ( *( (fPt) ((*  (ptr) pd69 ))))(dispatchHandle←v16988, ev←v17016, pd69);
      };
   }

static void MarkDead←P960(c←v7864)
   word c←v7864;
   {
   register ptr gf←c74496 =  (ptr) &globalframe;
   /* MarkDead: */ 
SOURCE(4749, 316)
SOURCE(4784, 281)
   if ((c←v7864 != 0)) {
SOURCE(4798, 304)
      {
         word cPriv←v17072;
SOURCE(4800, 45)
         cPriv←v17072 = (* (( (ptr) c←v7864)+24) );
SOURCE(4847, 22)
         (void) FreeExts←P600((* ((( (ptr) c←v7864)+25)) ));
SOURCE(4871, 15)
         (* (( (ptr) c←v7864)+15) ) = 0;
SOURCE(4888, 45)
         if (((* (( (ptr) c←v7864)+14) ) == 0)) {
SOURCE(4913, 20)
            (* (( (ptr) c←v7864)+14) ) = (* (( (ptr) gf←c74496)+81) );
            };
SOURCE(4935, 80)
         if ((cPriv←v17072 != 0)) {
SOURCE(4953, 64)
            {
               word x←v17128;
SOURCE(4955, 36)
               x←v17128 = (*  (ptr) cPriv←v17072 );
SOURCE(4993, 22)
               if ((x←v17128 != 0)) {
SOURCE(5007, 8)
                  (*  (ptr) x←v17128 ) = 0;
                  };
               };
            };
SOURCE(5028, 37)
SOURCE(5029, 36)
         {
            W2 var←c63424;
            {
               W2 var←c0150;
               word var←c0149;
               var←c0149 = XR←ExtensionAlloc(5);
               {
                  word tmpAddr70;
                  tmpAddr70 = (word) var←c0149;
                  (*  (ptr) tmpAddr70 ) = ( ((word)  (fPt) NoName←Q14076) );
                  (* (( (ptr) tmpAddr70) + 1) ) = 0;
                  (* (( (ptr) tmpAddr70) + 2) ) = (word) (( (bPt) gf←c74496)+860)/* var←c62400 */ ;
                  (* (( (ptr) tmpAddr70) + 3) ) = 0;
                  (* (( (ptr) tmpAddr70) + 4) ) = c←v7864;
                  };
               (void) XR←Fork((word) &var←c0150, var←c0149);
               var←c63424 = var←c0150;
               };
            {
               word pd71;
               pd71 = (* (( (ptr) (* (( (ptr) gf←c74496)+237)/* var←c62752 */  ))+11) );
               (void) ( *( (fPt) ((*  (ptr) pd71 ))))(var←c63424, pd71);
               };
            };
         };
      };
   }

static word HandleKeyPress←P1020(c←v7924, reply←v7952)
   word c←v7924;
   word reply←v7952;
   {
   register ptr gf←c74528 =  (ptr) &globalframe;
   word e←v7996;
   /* HandleKeyPress: */ 
SOURCE(5109, 567)
SOURCE(5109, 567)
   {
      word var←c63456;
      var←c63456 = XR←NewObject(68, (* (( (ptr) gf←c74528)+12) ));
      (* (( (ptr) var←c63456)+4) ) = 2;
      e←v7996 = var←c63456;
      };
SOURCE(5224, 29)
   {
      word var←c63488;
      {
         word var←c63520;
         word b←v58840;
         b←v58840 =  (unsigned) (word) (* (( (bPt) reply←v7952)+(* (( (ptr) reply←v7952)+10) )) );
         (* (( (ptr) reply←v7952)+10) ) = ((* (( (ptr) reply←v7952)+10) ) + 1);
         var←c63520 = b←v58840;
         var←c63488 = var←c63520;
         };
      (* (( (ptr) e←v7996)+5) ) = var←c63488;
      };
SOURCE(5255, 22)
   {
      word var←c63552;
      var←c63552 = (word) RRead16←P60(reply←v7952);
      (* (( (ptr) e←v7996)+6) ) = var←c63552;
      };
SOURCE(5279, 33)
   {
      word var←c63584;
      {
         word var←c63616;
         word t←v54456;
         word c←v54488;
         word r←v54516;
         c←v54488 = c←v7924;
         r←v54516 = reply←v7952;
SOURCE(1276, 15)
         {
            word var←c63648;
            word four←v59212;
            four←v59212 = (((word) (((word) (((word)  (unsigned) (word) (* (( (bPt) r←v54516)+(* (( (ptr) r←v54516)+10) )) ) << 8) + 
             (unsigned) (word) (* (( (bPt) r←v54516)+((* (( (ptr) r←v54516)+10) ) + 1)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v54516)+((* (
                  ( (ptr) r←v54516)+10) ) + 2)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v54516)+((* (( (ptr) r←v54516)+10) ) + 3)) ));
            (* (( (ptr) r←v54516)+10) ) = ((* (( (ptr) r←v54516)+10) ) + 4);
            var←c63648 = four←v59212;
            t←v54456 = var←c63648;
            };
SOURCE(1293, 19)
         (* (( (ptr) c←v54488)+21) ) = t←v54456;
SOURCE(1200, 112)
         var←c63616 = t←v54456;
         var←c63584 = var←c63616;
         };
      (* (( (ptr) e←v7996)+7) ) = var←c63584;
      };
SOURCE(5314, 26)
   (* (( (ptr) e←v7996)+8) ) = (word) ReadWindow←P240(reply←v7952);
SOURCE(5342, 33)
   (* (( (ptr) e←v7996)+9) ) = (word) ReadWindow←P240(reply←v7952);
SOURCE(5377, 43)
   (* (( (ptr) e←v7996)+1) ) = (* (( (ptr) e←v7996)+9) );
SOURCE(5422, 27)
   (* (( (ptr) e←v7996)+10) ) = (word) ReadWindow←P240(reply←v7952);
SOURCE(5451, 28)
   {
      word var←c63712;
      var←c63712 = (word) ReadINT16←P420(reply←v7952);
      (* (( (ptr) e←v7996)+11) ) = var←c63712;
      };
SOURCE(5481, 28)
   {
      word var←c63744;
      var←c63744 = (word) ReadINT16←P420(reply←v7952);
      (* (( (ptr) e←v7996)+12) ) = var←c63744;
      };
SOURCE(5511, 26)
   {
      word var←c63776;
      var←c63776 = (word) ReadINT16←P420(reply←v7952);
      (* (( (ptr) e←v7996)+13) ) = var←c63776;
      };
SOURCE(5539, 26)
   {
      word var←c63808;
      var←c63808 = (word) ReadINT16←P420(reply←v7952);
      (* (( (ptr) e←v7996)+14) ) = var←c63808;
      };
SOURCE(5567, 52)
   {
      word var←c63840;
      {
         word var←c63872;
         word s←v56840;
         word k←v56872;
         {
            word c←v60048;
            c←v60048 = (((word)  (unsigned) (word) (* (( (bPt) reply←v7952)+(* (( (ptr) reply←v7952)+10) )) ) << 8) +  (unsigned) (word) (* (
               ( (bPt) reply←v7952)+((* (( (ptr) reply←v7952)+10) ) + 1)) ));
            (* (( (ptr) reply←v7952)+10) ) = ((* (( (ptr) reply←v7952)+10) ) + 2);
            k←v56872 = c←v60048;
            };
         s←v56840 = 0;
         {
            word long←v38320;
            long←v38320 = k←v56872;
            var←c63872 = long←v38320;
            };
         var←c63840 = var←c63872;
         };
      (* (( (ptr) e←v7996)+15) ) = var←c63840;
      };
SOURCE(5621, 30)
   {
      word var←c63936;
      {
         word var←c63968;
         word b←v58792;
         b←v58792 =  (unsigned) (word) (* (( (bPt) reply←v7952)+(* (( (ptr) reply←v7952)+10) )) );
         (* (( (ptr) reply←v7952)+10) ) = ((* (( (ptr) reply←v7952)+10) ) + 1);
         var←c63968 = b←v58792;
         var←c63936 =  (unsigned) (var←c63968 != 0);
         };
      (* (( (ptr) e←v7996)+16) ) = var←c63936;
      };
SOURCE(5653, 23)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v7952)+10) ) !=  (int)31)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(5109, 567)
   return(e←v7996);
   }

static word HandleKeyRelease←P1080(c←v8068, reply←v8096)
   word c←v8068;
   word reply←v8096;
   {
   register ptr gf←c74560 =  (ptr) &globalframe;
   word e←v8140;
   /* HandleKeyRelease: */ 
SOURCE(5682, 573)
SOURCE(5682, 573)
   {
      word var←c64000;
      var←c64000 = XR←NewObject(68, (* (( (ptr) gf←c74560)+12) ));
      (* (( (ptr) var←c64000)+4) ) = 3;
      e←v8140 = var←c64000;
      };
SOURCE(5803, 29)
   {
      word var←c64032;
      {
         word var←c64064;
         word b←v58744;
         b←v58744 =  (unsigned) (word) (* (( (bPt) reply←v8096)+(* (( (ptr) reply←v8096)+10) )) );
         (* (( (ptr) reply←v8096)+10) ) = ((* (( (ptr) reply←v8096)+10) ) + 1);
         var←c64064 = b←v58744;
         var←c64032 = var←c64064;
         };
      (* (( (ptr) e←v8140)+5) ) = var←c64032;
      };
SOURCE(5834, 22)
   {
      word var←c64096;
      var←c64096 = (word) RRead16←P60(reply←v8096);
      (* (( (ptr) e←v8140)+6) ) = var←c64096;
      };
SOURCE(5858, 33)
   {
      word var←c64128;
      {
         word var←c64160;
         word t←v54348;
         word c←v54380;
         word r←v54408;
         c←v54380 = c←v8068;
         r←v54408 = reply←v8096;
SOURCE(1276, 15)
         {
            word var←c64192;
            word four←v59608;
            four←v59608 = (((word) (((word) (((word)  (unsigned) (word) (* (( (bPt) r←v54408)+(* (( (ptr) r←v54408)+10) )) ) << 8) + 
             (unsigned) (word) (* (( (bPt) r←v54408)+((* (( (ptr) r←v54408)+10) ) + 1)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v54408)+((* (
                  ( (ptr) r←v54408)+10) ) + 2)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v54408)+((* (( (ptr) r←v54408)+10) ) + 3)) ));
            (* (( (ptr) r←v54408)+10) ) = ((* (( (ptr) r←v54408)+10) ) + 4);
            var←c64192 = four←v59608;
            t←v54348 = var←c64192;
            };
SOURCE(1293, 19)
         (* (( (ptr) c←v54380)+21) ) = t←v54348;
SOURCE(1200, 112)
         var←c64160 = t←v54348;
         var←c64128 = var←c64160;
         };
      (* (( (ptr) e←v8140)+7) ) = var←c64128;
      };
SOURCE(5893, 26)
   (* (( (ptr) e←v8140)+8) ) = (word) ReadWindow←P240(reply←v8096);
SOURCE(5921, 33)
   (* (( (ptr) e←v8140)+9) ) = (word) ReadWindow←P240(reply←v8096);
SOURCE(5956, 43)
   (* (( (ptr) e←v8140)+1) ) = (* (( (ptr) e←v8140)+9) );
SOURCE(6001, 27)
   (* (( (ptr) e←v8140)+10) ) = (word) ReadWindow←P240(reply←v8096);
SOURCE(6030, 28)
   {
      word var←c64256;
      var←c64256 = (word) ReadINT16←P420(reply←v8096);
      (* (( (ptr) e←v8140)+11) ) = var←c64256;
      };
SOURCE(6060, 28)
   {
      word var←c64288;
      var←c64288 = (word) ReadINT16←P420(reply←v8096);
      (* (( (ptr) e←v8140)+12) ) = var←c64288;
      };
SOURCE(6090, 26)
   {
      word var←c64320;
      var←c64320 = (word) ReadINT16←P420(reply←v8096);
      (* (( (ptr) e←v8140)+13) ) = var←c64320;
      };
SOURCE(6118, 26)
   {
      word var←c64352;
      var←c64352 = (word) ReadINT16←P420(reply←v8096);
      (* (( (ptr) e←v8140)+14) ) = var←c64352;
      };
SOURCE(6146, 52)
   {
      word var←c64384;
      {
         word var←c64416;
         word s←v56732;
         word k←v56764;
         {
            word c←v60000;
            c←v60000 = (((word)  (unsigned) (word) (* (( (bPt) reply←v8096)+(* (( (ptr) reply←v8096)+10) )) ) << 8) +  (unsigned) (word) (* (
               ( (bPt) reply←v8096)+((* (( (ptr) reply←v8096)+10) ) + 1)) ));
            (* (( (ptr) reply←v8096)+10) ) = ((* (( (ptr) reply←v8096)+10) ) + 2);
            k←v56764 = c←v60000;
            };
         s←v56732 = 0;
         {
            word long←v56796;
            long←v56796 = k←v56764;
            var←c64416 = long←v56796;
            };
         var←c64384 = var←c64416;
         };
      (* (( (ptr) e←v8140)+15) ) = var←c64384;
      };
SOURCE(6200, 30)
   {
      word var←c64480;
      {
         word var←c64512;
         word b←v58696;
         b←v58696 =  (unsigned) (word) (* (( (bPt) reply←v8096)+(* (( (ptr) reply←v8096)+10) )) );
         (* (( (ptr) reply←v8096)+10) ) = ((* (( (ptr) reply←v8096)+10) ) + 1);
         var←c64512 = b←v58696;
         var←c64480 =  (unsigned) (var←c64512 != 0);
         };
      (* (( (ptr) e←v8140)+16) ) = var←c64480;
      };
SOURCE(6232, 23)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v8096)+10) ) !=  (int)31)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(5682, 573)
   return(e←v8140);
   }

static word HandleButtonPress←P1140(c←v8212, reply←v8240)
   word c←v8212;
   word reply←v8240;
   {
   register ptr gf←c74592 =  (ptr) &globalframe;
   word e←v8284;
   /* HandleButtonPress: */ 
SOURCE(6261, 570)
SOURCE(6261, 570)
   {
      word var←c64544;
      var←c64544 = XR←NewObject(68, (* (( (ptr) gf←c74592)+12) ));
      (* (( (ptr) var←c64544)+4) ) = 4;
      e←v8284 = var←c64544;
      };
SOURCE(6385, 23)
   {
      word var←c64576;
      {
         word var←c64608;
         word b←v58648;
         b←v58648 =  (unsigned) (word) (* (( (bPt) reply←v8240)+(* (( (ptr) reply←v8240)+10) )) );
         (* (( (ptr) reply←v8240)+10) ) = ((* (( (ptr) reply←v8240)+10) ) + 1);
         var←c64608 = b←v58648;
         var←c64576 = var←c64608;
         };
      (* (( (ptr) e←v8284)+5) ) = var←c64576;
      };
SOURCE(6410, 22)
   {
      word var←c64640;
      var←c64640 = (word) RRead16←P60(reply←v8240);
      (* (( (ptr) e←v8284)+6) ) = var←c64640;
      };
SOURCE(6434, 33)
   {
      word var←c64672;
      {
         word var←c64704;
         word t←v54240;
         word c←v54272;
         word r←v54300;
         c←v54272 = c←v8212;
         r←v54300 = reply←v8240;
SOURCE(1276, 15)
         {
            word var←c64736;
            word four←v59564;
            four←v59564 = (((word) (((word) (((word)  (unsigned) (word) (* (( (bPt) r←v54300)+(* (( (ptr) r←v54300)+10) )) ) << 8) + 
             (unsigned) (word) (* (( (bPt) r←v54300)+((* (( (ptr) r←v54300)+10) ) + 1)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v54300)+((* (
                  ( (ptr) r←v54300)+10) ) + 2)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v54300)+((* (( (ptr) r←v54300)+10) ) + 3)) ));
            (* (( (ptr) r←v54300)+10) ) = ((* (( (ptr) r←v54300)+10) ) + 4);
            var←c64736 = four←v59564;
            t←v54240 = var←c64736;
            };
SOURCE(1293, 19)
         (* (( (ptr) c←v54272)+21) ) = t←v54240;
SOURCE(1200, 112)
         var←c64704 = t←v54240;
         var←c64672 = var←c64704;
         };
      (* (( (ptr) e←v8284)+7) ) = var←c64672;
      };
SOURCE(6469, 26)
   (* (( (ptr) e←v8284)+8) ) = (word) ReadWindow←P240(reply←v8240);
SOURCE(6497, 33)
   (* (( (ptr) e←v8284)+9) ) = (word) ReadWindow←P240(reply←v8240);
SOURCE(6532, 43)
   (* (( (ptr) e←v8284)+1) ) = (* (( (ptr) e←v8284)+9) );
SOURCE(6577, 27)
   (* (( (ptr) e←v8284)+10) ) = (word) ReadWindow←P240(reply←v8240);
SOURCE(6606, 28)
   {
      word var←c64800;
      var←c64800 = (word) ReadINT16←P420(reply←v8240);
      (* (( (ptr) e←v8284)+11) ) = var←c64800;
      };
SOURCE(6636, 28)
   {
      word var←c64832;
      var←c64832 = (word) ReadINT16←P420(reply←v8240);
      (* (( (ptr) e←v8284)+12) ) = var←c64832;
      };
SOURCE(6666, 26)
   {
      word var←c64864;
      var←c64864 = (word) ReadINT16←P420(reply←v8240);
      (* (( (ptr) e←v8284)+13) ) = var←c64864;
      };
SOURCE(6694, 26)
   {
      word var←c64896;
      var←c64896 = (word) ReadINT16←P420(reply←v8240);
      (* (( (ptr) e←v8284)+14) ) = var←c64896;
      };
SOURCE(6722, 52)
   {
      word var←c64928;
      {
         word var←c64960;
         word s←v56624;
         word k←v56656;
         {
            word c←v59952;
            c←v59952 = (((word)  (unsigned) (word) (* (( (bPt) reply←v8240)+(* (( (ptr) reply←v8240)+10) )) ) << 8) +  (unsigned) (word) (* (
               ( (bPt) reply←v8240)+((* (( (ptr) reply←v8240)+10) ) + 1)) ));
            (* (( (ptr) reply←v8240)+10) ) = ((* (( (ptr) reply←v8240)+10) ) + 2);
            k←v56656 = c←v59952;
            };
         s←v56624 = 0;
         {
            word long←v56688;
            long←v56688 = k←v56656;
            var←c64960 = long←v56688;
            };
         var←c64928 = var←c64960;
         };
      (* (( (ptr) e←v8284)+15) ) = var←c64928;
      };
SOURCE(6776, 30)
   {
      word var←c65024;
      {
         word var←c65056;
         word b←v58600;
         b←v58600 =  (unsigned) (word) (* (( (bPt) reply←v8240)+(* (( (ptr) reply←v8240)+10) )) );
         (* (( (ptr) reply←v8240)+10) ) = ((* (( (ptr) reply←v8240)+10) ) + 1);
         var←c65056 = b←v58600;
         var←c65024 =  (unsigned) (var←c65056 != 0);
         };
      (* (( (ptr) e←v8284)+16) ) = var←c65024;
      };
SOURCE(6808, 23)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v8240)+10) ) !=  (int)31)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(6261, 570)
   return(e←v8284);
   }

static word HandleButtonRelease←P1200(c←v8356, reply←v8384)
   word c←v8356;
   word reply←v8384;
   {
   register ptr gf←c74624 =  (ptr) &globalframe;
   word e←v8428;
   /* HandleButtonRelease: */ 
SOURCE(6837, 576)
SOURCE(6837, 576)
   {
      word var←c65088;
      var←c65088 = XR←NewObject(68, (* (( (ptr) gf←c74624)+12) ));
      (* (( (ptr) var←c65088)+4) ) = 5;
      e←v8428 = var←c65088;
      };
SOURCE(6967, 23)
   {
      word var←c65120;
      {
         word var←c65152;
         word b←v58552;
         b←v58552 =  (unsigned) (word) (* (( (bPt) reply←v8384)+(* (( (ptr) reply←v8384)+10) )) );
         (* (( (ptr) reply←v8384)+10) ) = ((* (( (ptr) reply←v8384)+10) ) + 1);
         var←c65152 = b←v58552;
         var←c65120 = var←c65152;
         };
      (* (( (ptr) e←v8428)+5) ) = var←c65120;
      };
SOURCE(6992, 22)
   {
      word var←c65184;
      var←c65184 = (word) RRead16←P60(reply←v8384);
      (* (( (ptr) e←v8428)+6) ) = var←c65184;
      };
SOURCE(7016, 33)
   {
      word var←c65216;
      {
         word var←c65248;
         word t←v54132;
         word c←v54164;
         word r←v54192;
         c←v54164 = c←v8356;
         r←v54192 = reply←v8384;
SOURCE(1276, 15)
         {
            word var←c65280;
            word four←v59520;
            four←v59520 = (((word) (((word) (((word)  (unsigned) (word) (* (( (bPt) r←v54192)+(* (( (ptr) r←v54192)+10) )) ) << 8) + 
             (unsigned) (word) (* (( (bPt) r←v54192)+((* (( (ptr) r←v54192)+10) ) + 1)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v54192)+((* (
                  ( (ptr) r←v54192)+10) ) + 2)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v54192)+((* (( (ptr) r←v54192)+10) ) + 3)) ));
            (* (( (ptr) r←v54192)+10) ) = ((* (( (ptr) r←v54192)+10) ) + 4);
            var←c65280 = four←v59520;
            t←v54132 = var←c65280;
            };
SOURCE(1293, 19)
         (* (( (ptr) c←v54164)+21) ) = t←v54132;
SOURCE(1200, 112)
         var←c65248 = t←v54132;
         var←c65216 = var←c65248;
         };
      (* (( (ptr) e←v8428)+7) ) = var←c65216;
      };
SOURCE(7051, 26)
   (* (( (ptr) e←v8428)+8) ) = (word) ReadWindow←P240(reply←v8384);
SOURCE(7079, 33)
   (* (( (ptr) e←v8428)+9) ) = (word) ReadWindow←P240(reply←v8384);
SOURCE(7114, 43)
   (* (( (ptr) e←v8428)+1) ) = (* (( (ptr) e←v8428)+9) );
SOURCE(7159, 27)
   (* (( (ptr) e←v8428)+10) ) = (word) ReadWindow←P240(reply←v8384);
SOURCE(7188, 28)
   {
      word var←c65344;
      var←c65344 = (word) ReadINT16←P420(reply←v8384);
      (* (( (ptr) e←v8428)+11) ) = var←c65344;
      };
SOURCE(7218, 28)
   {
      word var←c65376;
      var←c65376 = (word) ReadINT16←P420(reply←v8384);
      (* (( (ptr) e←v8428)+12) ) = var←c65376;
      };
SOURCE(7248, 26)
   {
      word var←c65408;
      var←c65408 = (word) ReadINT16←P420(reply←v8384);
      (* (( (ptr) e←v8428)+13) ) = var←c65408;
      };
SOURCE(7276, 26)
   {
      word var←c65440;
      var←c65440 = (word) ReadINT16←P420(reply←v8384);
      (* (( (ptr) e←v8428)+14) ) = var←c65440;
      };
SOURCE(7304, 52)
   {
      word var←c65472;
      {
         word var←c65504;
         word s←v56516;
         word k←v56548;
         {
            word c←v59904;
            c←v59904 = (((word)  (unsigned) (word) (* (( (bPt) reply←v8384)+(* (( (ptr) reply←v8384)+10) )) ) << 8) +  (unsigned) (word) (* (
               ( (bPt) reply←v8384)+((* (( (ptr) reply←v8384)+10) ) + 1)) ));
            (* (( (ptr) reply←v8384)+10) ) = ((* (( (ptr) reply←v8384)+10) ) + 2);
            k←v56548 = c←v59904;
            };
         s←v56516 = 0;
         {
            word long←v56580;
            long←v56580 = k←v56548;
            var←c65504 = long←v56580;
            };
         var←c65472 = var←c65504;
         };
      (* (( (ptr) e←v8428)+15) ) = var←c65472;
      };
SOURCE(7358, 30)
   {
      word var←c65568;
      {
         word var←c65600;
         word b←v58504;
         b←v58504 =  (unsigned) (word) (* (( (bPt) reply←v8384)+(* (( (ptr) reply←v8384)+10) )) );
         (* (( (ptr) reply←v8384)+10) ) = ((* (( (ptr) reply←v8384)+10) ) + 1);
         var←c65600 = b←v58504;
         var←c65568 =  (unsigned) (var←c65600 != 0);
         };
      (* (( (ptr) e←v8428)+16) ) = var←c65568;
      };
SOURCE(7390, 23)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v8384)+10) ) !=  (int)31)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(6837, 576)
   return(e←v8428);
   }

static word HandleEnterNotify←P1260(c←v8500, reply←v8528)
   word c←v8500;
   word reply←v8528;
   {
   register ptr gf←c74656 =  (ptr) &globalframe;
   word e←v8572;
   word x←v17184;
   /* HandleEnterNotify: */ 
SOURCE(7419, 659)
SOURCE(7419, 659)
   {
      word var←c65632;
      var←c65632 = XR←NewObject(76, (* (( (ptr) gf←c74656)+12) ));
      (* (( (ptr) var←c65632)+4) ) = 7;
      e←v8572 = var←c65632;
      };
SOURCE(7552, 28)
   {
      word var←c65664;
      {
         word var←c65696;
         word b←v58456;
         b←v58456 =  (unsigned) (word) (* (( (bPt) reply←v8528)+(* (( (ptr) reply←v8528)+10) )) );
         (* (( (ptr) reply←v8528)+10) ) = ((* (( (ptr) reply←v8528)+10) ) + 1);
         var←c65696 = b←v58456;
         var←c65664 = BCK(var←c65696, 5);
         };
      (* (( (ptr) e←v8572)+5) ) = var←c65664;
      };
SOURCE(7582, 22)
   {
      word var←c65728;
      var←c65728 = (word) RRead16←P60(reply←v8528);
      (* (( (ptr) e←v8572)+6) ) = var←c65728;
      };
SOURCE(7606, 33)
   {
      word var←c65760;
      {
         word var←c65792;
         word t←v54024;
         word c←v54056;
         word r←v54084;
         c←v54056 = c←v8500;
         r←v54084 = reply←v8528;
SOURCE(1276, 15)
         {
            word var←c65824;
            word four←v59476;
            four←v59476 = (((word) (((word) (((word)  (unsigned) (word) (* (( (bPt) r←v54084)+(* (( (ptr) r←v54084)+10) )) ) << 8) + 
             (unsigned) (word) (* (( (bPt) r←v54084)+((* (( (ptr) r←v54084)+10) ) + 1)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v54084)+((* (
                  ( (ptr) r←v54084)+10) ) + 2)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v54084)+((* (( (ptr) r←v54084)+10) ) + 3)) ));
            (* (( (ptr) r←v54084)+10) ) = ((* (( (ptr) r←v54084)+10) ) + 4);
            var←c65824 = four←v59476;
            t←v54024 = var←c65824;
            };
SOURCE(1293, 19)
         (* (( (ptr) c←v54056)+21) ) = t←v54024;
SOURCE(1200, 112)
         var←c65792 = t←v54024;
         var←c65760 = var←c65792;
         };
      (* (( (ptr) e←v8572)+7) ) = var←c65760;
      };
SOURCE(7641, 26)
   (* (( (ptr) e←v8572)+8) ) = (word) ReadWindow←P240(reply←v8528);
SOURCE(7669, 33)
   (* (( (ptr) e←v8572)+9) ) = (word) ReadWindow←P240(reply←v8528);
SOURCE(7704, 43)
   (* (( (ptr) e←v8572)+1) ) = (* (( (ptr) e←v8572)+9) );
SOURCE(7749, 27)
   (* (( (ptr) e←v8572)+10) ) = (word) ReadWindow←P240(reply←v8528);
SOURCE(7778, 28)
   {
      word var←c65888;
      var←c65888 = (word) ReadINT16←P420(reply←v8528);
      (* (( (ptr) e←v8572)+11) ) = var←c65888;
      };
SOURCE(7808, 28)
   {
      word var←c65920;
      var←c65920 = (word) ReadINT16←P420(reply←v8528);
      (* (( (ptr) e←v8572)+12) ) = var←c65920;
      };
SOURCE(7838, 29)
   {
      word var←c65952;
      var←c65952 = (word) ReadINT16←P420(reply←v8528);
      (* (( (ptr) e←v8572)+13) ) = var←c65952;
      };
SOURCE(7869, 29)
   {
      word var←c65984;
      var←c65984 = (word) ReadINT16←P420(reply←v8528);
      (* (( (ptr) e←v8572)+14) ) = var←c65984;
      };
SOURCE(7900, 52)
   {
      word var←c66016;
      {
         word var←c66048;
         word s←v56408;
         word k←v56440;
         {
            word c←v59856;
            c←v59856 = (((word)  (unsigned) (word) (* (( (bPt) reply←v8528)+(* (( (ptr) reply←v8528)+10) )) ) << 8) +  (unsigned) (word) (* (
               ( (bPt) reply←v8528)+((* (( (ptr) reply←v8528)+10) ) + 1)) ));
            (* (( (ptr) reply←v8528)+10) ) = ((* (( (ptr) reply←v8528)+10) ) + 2);
            k←v56440 = c←v59856;
            };
         s←v56408 = 0;
         {
            word long←v56472;
            long←v56472 = k←v56440;
            var←c66048 = long←v56472;
            };
         var←c66016 = var←c66048;
         };
      (* (( (ptr) e←v8572)+15) ) = var←c66016;
      };
SOURCE(7954, 26)
   {
      word var←c66112;
      {
         word var←c66144;
         word b←v58408;
         b←v58408 =  (unsigned) (word) (* (( (bPt) reply←v8528)+(* (( (ptr) reply←v8528)+10) )) );
         (* (( (ptr) reply←v8528)+10) ) = ((* (( (ptr) reply←v8528)+10) ) + 1);
         var←c66144 = b←v58408;
         var←c66112 = BCK(var←c66144, 3);
         };
      (* (( (ptr) e←v8572)+16) ) = var←c66112;
      };
SOURCE(7982, 16)
   {
      word var←c66176;
      word b←v58360;
      b←v58360 =  (unsigned) (word) (* (( (bPt) reply←v8528)+(* (( (ptr) reply←v8528)+10) )) );
      (* (( (ptr) reply←v8528)+10) ) = ((* (( (ptr) reply←v8528)+10) ) + 1);
      var←c66176 = b←v58360;
      x←v17184 = var←c66176;
      };
SOURCE(8000, 30)
   (* (( (ptr) e←v8572)+17) ) =  (unsigned) ((((word) x←v17184 >> 1) & 1) != 0);
SOURCE(8032, 21)
   (* (( (ptr) e←v8572)+18) ) =  (unsigned) ((x←v17184 & 1) != 0);
SOURCE(8055, 23)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v8528)+10) ) !=  (int)32)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(7419, 659)
   return(e←v8572);
   }

static word HandleLeaveNotify←P1320(c←v8644, reply←v8672)
   word c←v8644;
   word reply←v8672;
   {
   register ptr gf←c74688 =  (ptr) &globalframe;
   word e←v8716;
   word x←v17228;
   /* HandleLeaveNotify: */ 
SOURCE(8084, 659)
SOURCE(8084, 659)
   {
      word var←c66208;
      var←c66208 = XR←NewObject(76, (* (( (ptr) gf←c74688)+12) ));
      (* (( (ptr) var←c66208)+4) ) = 8;
      e←v8716 = var←c66208;
      };
SOURCE(8217, 28)
   {
      word var←c66240;
      {
         word var←c66272;
         word b←v58312;
         b←v58312 =  (unsigned) (word) (* (( (bPt) reply←v8672)+(* (( (ptr) reply←v8672)+10) )) );
         (* (( (ptr) reply←v8672)+10) ) = ((* (( (ptr) reply←v8672)+10) ) + 1);
         var←c66272 = b←v58312;
         var←c66240 = BCK(var←c66272, 5);
         };
      (* (( (ptr) e←v8716)+5) ) = var←c66240;
      };
SOURCE(8247, 22)
   {
      word var←c66304;
      var←c66304 = (word) RRead16←P60(reply←v8672);
      (* (( (ptr) e←v8716)+6) ) = var←c66304;
      };
SOURCE(8271, 33)
   {
      word var←c66336;
      {
         word var←c66368;
         word t←v53916;
         word c←v53948;
         word r←v53976;
         c←v53948 = c←v8644;
         r←v53976 = reply←v8672;
SOURCE(1276, 15)
         {
            word var←c66400;
            word four←v59432;
            four←v59432 = (((word) (((word) (((word)  (unsigned) (word) (* (( (bPt) r←v53976)+(* (( (ptr) r←v53976)+10) )) ) << 8) + 
             (unsigned) (word) (* (( (bPt) r←v53976)+((* (( (ptr) r←v53976)+10) ) + 1)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v53976)+((* (
                  ( (ptr) r←v53976)+10) ) + 2)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v53976)+((* (( (ptr) r←v53976)+10) ) + 3)) ));
            (* (( (ptr) r←v53976)+10) ) = ((* (( (ptr) r←v53976)+10) ) + 4);
            var←c66400 = four←v59432;
            t←v53916 = var←c66400;
            };
SOURCE(1293, 19)
         (* (( (ptr) c←v53948)+21) ) = t←v53916;
SOURCE(1200, 112)
         var←c66368 = t←v53916;
         var←c66336 = var←c66368;
         };
      (* (( (ptr) e←v8716)+7) ) = var←c66336;
      };
SOURCE(8306, 26)
   (* (( (ptr) e←v8716)+8) ) = (word) ReadWindow←P240(reply←v8672);
SOURCE(8334, 33)
   (* (( (ptr) e←v8716)+9) ) = (word) ReadWindow←P240(reply←v8672);
SOURCE(8369, 43)
   (* (( (ptr) e←v8716)+1) ) = (* (( (ptr) e←v8716)+9) );
SOURCE(8414, 27)
   (* (( (ptr) e←v8716)+10) ) = (word) ReadWindow←P240(reply←v8672);
SOURCE(8443, 28)
   {
      word var←c66464;
      var←c66464 = (word) ReadINT16←P420(reply←v8672);
      (* (( (ptr) e←v8716)+11) ) = var←c66464;
      };
SOURCE(8473, 28)
   {
      word var←c66496;
      var←c66496 = (word) ReadINT16←P420(reply←v8672);
      (* (( (ptr) e←v8716)+12) ) = var←c66496;
      };
SOURCE(8503, 29)
   {
      word var←c66528;
      var←c66528 = (word) ReadINT16←P420(reply←v8672);
      (* (( (ptr) e←v8716)+13) ) = var←c66528;
      };
SOURCE(8534, 29)
   {
      word var←c66560;
      var←c66560 = (word) ReadINT16←P420(reply←v8672);
      (* (( (ptr) e←v8716)+14) ) = var←c66560;
      };
SOURCE(8565, 52)
   {
      word var←c66592;
      {
         word var←c66624;
         word s←v56300;
         word k←v56332;
         {
            word c←v59808;
            c←v59808 = (((word)  (unsigned) (word) (* (( (bPt) reply←v8672)+(* (( (ptr) reply←v8672)+10) )) ) << 8) +  (unsigned) (word) (* (
               ( (bPt) reply←v8672)+((* (( (ptr) reply←v8672)+10) ) + 1)) ));
            (* (( (ptr) reply←v8672)+10) ) = ((* (( (ptr) reply←v8672)+10) ) + 2);
            k←v56332 = c←v59808;
            };
         s←v56300 = 0;
         {
            word long←v56364;
            long←v56364 = k←v56332;
            var←c66624 = long←v56364;
            };
         var←c66592 = var←c66624;
         };
      (* (( (ptr) e←v8716)+15) ) = var←c66592;
      };
SOURCE(8619, 26)
   {
      word var←c66688;
      {
         word var←c66720;
         word b←v58264;
         b←v58264 =  (unsigned) (word) (* (( (bPt) reply←v8672)+(* (( (ptr) reply←v8672)+10) )) );
         (* (( (ptr) reply←v8672)+10) ) = ((* (( (ptr) reply←v8672)+10) ) + 1);
         var←c66720 = b←v58264;
         var←c66688 = BCK(var←c66720, 3);
         };
      (* (( (ptr) e←v8716)+16) ) = var←c66688;
      };
SOURCE(8647, 16)
   {
      word var←c66752;
      word b←v58216;
      b←v58216 =  (unsigned) (word) (* (( (bPt) reply←v8672)+(* (( (ptr) reply←v8672)+10) )) );
      (* (( (ptr) reply←v8672)+10) ) = ((* (( (ptr) reply←v8672)+10) ) + 1);
      var←c66752 = b←v58216;
      x←v17228 = var←c66752;
      };
SOURCE(8665, 30)
   (* (( (ptr) e←v8716)+17) ) =  (unsigned) ((((word) x←v17228 >> 1) & 1) != 0);
SOURCE(8697, 21)
   (* (( (ptr) e←v8716)+18) ) =  (unsigned) ((x←v17228 & 1) != 0);
SOURCE(8720, 23)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v8672)+10) ) !=  (int)32)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(8084, 659)
   return(e←v8716);
   }

static word HandleFocusIn←P1380(reply←v8788)
   word reply←v8788;
   {
   register ptr gf←c74720 =  (ptr) &globalframe;
   word e←v8832;
   /* HandleFocusIn: */ 
SOURCE(8749, 286)
SOURCE(8749, 286)
   e←v8832 = 0;
SOURCE(8822, 25)
   {
      word var←c66784;
      var←c66784 = XR←NewObject(36, (* (( (ptr) gf←c74720)+12) ));
      (* (( (ptr) var←c66784)+4) ) = 9;
      e←v8832 = var←c66784;
      };
SOURCE(8849, 28)
   {
      word var←c66816;
      {
         word var←c66848;
         word b←v58168;
         b←v58168 =  (unsigned) (word) (* (( (bPt) reply←v8788)+(* (( (ptr) reply←v8788)+10) )) );
         (* (( (ptr) reply←v8788)+10) ) = ((* (( (ptr) reply←v8788)+10) ) + 1);
         var←c66848 = b←v58168;
         var←c66816 = BCK(var←c66848, 8);
         };
      (* (( (ptr) e←v8832)+5) ) = var←c66816;
      };
SOURCE(8879, 22)
   {
      word var←c66880;
      var←c66880 = (word) RRead16←P60(reply←v8788);
      (* (( (ptr) e←v8832)+6) ) = var←c66880;
      };
SOURCE(8903, 33)
   (* (( (ptr) e←v8832)+7) ) = (word) ReadWindow←P240(reply←v8788);
SOURCE(8938, 43)
   (* (( (ptr) e←v8832)+1) ) = (* (( (ptr) e←v8832)+7) );
SOURCE(8983, 26)
   {
      word var←c66912;
      {
         word var←c66944;
         word b←v58120;
         b←v58120 =  (unsigned) (word) (* (( (bPt) reply←v8788)+(* (( (ptr) reply←v8788)+10) )) );
         (* (( (ptr) reply←v8788)+10) ) = ((* (( (ptr) reply←v8788)+10) ) + 1);
         var←c66944 = b←v58120;
         var←c66912 = BCK(var←c66944, 4);
         };
      (* (( (ptr) e←v8832)+8) ) = var←c66912;
      };
SOURCE(9011, 24)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v8788)+10) ) !=  (int)9)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(8749, 286)
   return(e←v8832);
   }

static word HandleFocusOut←P1440(reply←v8904)
   word reply←v8904;
   {
   register ptr gf←c74752 =  (ptr) &globalframe;
   word e←v8948;
   /* HandleFocusOut: */ 
SOURCE(9041, 286)
SOURCE(9041, 286)
   {
      word var←c66976;
      var←c66976 = XR←NewObject(36, (* (( (ptr) gf←c74752)+12) ));
      (* (( (ptr) var←c66976)+4) ) = 10;
      e←v8948 = var←c66976;
      };
SOURCE(9141, 28)
   {
      word var←c67008;
      {
         word var←c67040;
         word b←v58072;
         b←v58072 =  (unsigned) (word) (* (( (bPt) reply←v8904)+(* (( (ptr) reply←v8904)+10) )) );
         (* (( (ptr) reply←v8904)+10) ) = ((* (( (ptr) reply←v8904)+10) ) + 1);
         var←c67040 = b←v58072;
         var←c67008 = BCK(var←c67040, 8);
         };
      (* (( (ptr) e←v8948)+5) ) = var←c67008;
      };
SOURCE(9171, 22)
   {
      word var←c67072;
      var←c67072 = (word) RRead16←P60(reply←v8904);
      (* (( (ptr) e←v8948)+6) ) = var←c67072;
      };
SOURCE(9195, 33)
   (* (( (ptr) e←v8948)+7) ) = (word) ReadWindow←P240(reply←v8904);
SOURCE(9230, 43)
   (* (( (ptr) e←v8948)+1) ) = (* (( (ptr) e←v8948)+7) );
SOURCE(9275, 26)
   {
      word var←c67104;
      {
         word var←c67136;
         word b←v58024;
         b←v58024 =  (unsigned) (word) (* (( (bPt) reply←v8904)+(* (( (ptr) reply←v8904)+10) )) );
         (* (( (ptr) reply←v8904)+10) ) = ((* (( (ptr) reply←v8904)+10) ) + 1);
         var←c67136 = b←v58024;
         var←c67104 = BCK(var←c67136, 4);
         };
      (* (( (ptr) e←v8948)+8) ) = var←c67104;
      };
SOURCE(9303, 24)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v8904)+10) ) !=  (int)9)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(9041, 286)
   return(e←v8948);
   }

static word HandleKeymapNotify←P1500(reply←v9020, lastEvent←v9048)
   word reply←v9020;
   word lastEvent←v9048;
   {
   register ptr gf←c74784 =  (ptr) &globalframe;
   word e←v9092;
   /* HandleKeymapNotify: */ 
SOURCE(9333, 276)
SOURCE(9333, 276)
   {
      word var←c67168;
      var←c67168 = XR←NewObject(56, (* (( (ptr) gf←c74784)+12) ));
      (* (( (ptr) var←c67168)+4) ) = 11;
      e←v9092 = var←c67168;
      };
SOURCE(9463, 33)
   (* (( (ptr) e←v9092)+1) ) = 0;
SOURCE(9498, 57)
   {
      register word i←v17272 = 1;
      if (( (int)i←v17272 >  (int)31)) {
         goto lab←L100048;
         };
      lab←L100051: ;
SOURCE(9523, 32)
      {
         word var←c67200;
         {
            word var←c67232;
            word b←v57976;
            b←v57976 =  (unsigned) (word) (* (( (bPt) reply←v9020)+(* (( (ptr) reply←v9020)+10) )) );
            (* (( (ptr) reply←v9020)+10) ) = ((* (( (ptr) reply←v9020)+10) ) + 1);
            var←c67232 = b←v57976;
            var←c67200 = var←c67232;
            };
         (* ((( (bPt) e←v9092)+20)+BCK((i←v17272 - 1), 31)) ) = var←c67200;
         };
      if (( (int)i←v17272 >=  (int)31)) {
         goto lab←L100048;
         };
      i←v17272 = (i←v17272 + 1);
      goto lab←L100051;
      lab←L100048: ;
      };
SOURCE(9557, 27)
   (* (( (ptr) e←v9092)+13) ) = lastEvent←v9048;
SOURCE(9586, 23)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v9020)+10) ) !=  (int)32)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(9333, 276)
   return(e←v9092);
   }

static word HandleExpose←P1560(reply←v9164)
   word reply←v9164;
   {
   register ptr gf←c74816 =  (ptr) &globalframe;
   word e←v9208;
   /* HandleExpose: */ 
SOURCE(9615, 376)
SOURCE(9615, 376)
   {
      word var←c67264;
      var←c67264 = XR←NewObject(48, (* (( (ptr) gf←c74816)+12) ));
      (* (( (ptr) var←c67264)+4) ) = 12;
      e←v9208 = var←c67264;
      };
SOURCE(9709, 17)
   {
      word var←c67328;
      {
         word b←v57928;
         b←v57928 =  (unsigned) (word) (* (( (bPt) reply←v9164)+(* (( (ptr) reply←v9164)+10) )) );
         (* (( (ptr) reply←v9164)+10) ) = ((* (( (ptr) reply←v9164)+10) ) + 1);
         var←c67328 = b←v57928;
         };
      };
SOURCE(9728, 22)
   {
      word var←c67360;
      var←c67360 = (word) RRead16←P60(reply←v9164);
      (* (( (ptr) e←v9208)+5) ) = var←c67360;
      };
SOURCE(9752, 28)
   (* (( (ptr) e←v9208)+6) ) = (word) ReadWindow←P240(reply←v9164);
SOURCE(9782, 38)
   (* (( (ptr) e←v9208)+1) ) = (* (( (ptr) e←v9208)+6) );
SOURCE(9822, 26)
   {
      word var←c67392;
      var←c67392 = (word) ReadINT16←P420(reply←v9164);
      (* (( (ptr) e←v9208)+7) ) = var←c67392;
      };
SOURCE(9850, 26)
   {
      word var←c67424;
      var←c67424 = (word) ReadINT16←P420(reply←v9164);
      (* (( (ptr) e←v9208)+8) ) = var←c67424;
      };
SOURCE(9878, 29)
   {
      word var←c67456;
      var←c67456 = (word) RRead16←P60(reply←v9164);
      (* (( (ptr) e←v9208)+9) ) = var←c67456;
      };
SOURCE(9909, 30)
   {
      word var←c67488;
      var←c67488 = (word) RRead16←P60(reply←v9164);
      (* (( (ptr) e←v9208)+10) ) = var←c67488;
      };
SOURCE(9941, 24)
   (* (( (ptr) e←v9208)+11) ) = (word) RRead16←P60(reply←v9164);
SOURCE(9967, 24)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v9164)+10) ) !=  (int)18)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(9615, 376)
   return(e←v9208);
   }

static word HandleGraphicsExposure←P1620(reply←v9280)
   word reply←v9280;
   {
   register ptr gf←c74848 =  (ptr) &globalframe;
   word e←v9324;
   /* HandleGraphicsExposure: */ 
SOURCE(9997, 447)
SOURCE(9997, 447)
   {
      word var←c67520;
      var←c67520 = XR←NewObject(56, (* (( (ptr) gf←c74848)+12) ));
      (* (( (ptr) var←c67520)+4) ) = 13;
      e←v9324 = var←c67520;
      };
SOURCE(10121, 14)
   (* (( (ptr) reply←v9280)+10) ) = ((* (( (ptr) reply←v9280)+10) ) + 1);
SOURCE(10137, 22)
   {
      word var←c67552;
      var←c67552 = (word) RRead16←P60(reply←v9280);
      (* (( (ptr) e←v9324)+5) ) = var←c67552;
      };
SOURCE(10161, 50)
   {
      word var←c67584;
      var←c67584 = (word) RRead32←P120(reply←v9280);
      (* (( (ptr) e←v9324)+1) ) = var←c67584;
      (* (( (ptr) e←v9324)+6) ) = var←c67584;
      };
SOURCE(10213, 26)
   {
      word var←c67616;
      var←c67616 = (word) ReadINT16←P420(reply←v9280);
      (* (( (ptr) e←v9324)+7) ) = var←c67616;
      };
SOURCE(10241, 26)
   {
      word var←c67648;
      var←c67648 = (word) ReadINT16←P420(reply←v9280);
      (* (( (ptr) e←v9324)+8) ) = var←c67648;
      };
SOURCE(10269, 29)
   {
      word var←c67680;
      var←c67680 = (word) RRead16←P60(reply←v9280);
      (* (( (ptr) e←v9324)+9) ) = var←c67680;
      };
SOURCE(10300, 30)
   {
      word var←c67712;
      var←c67712 = (word) RRead16←P60(reply←v9280);
      (* (( (ptr) e←v9324)+10) ) = var←c67712;
      };
SOURCE(10332, 30)
   (* (( (ptr) e←v9324)+11) ) = (word) RRead16←P60(reply←v9280);
SOURCE(10364, 24)
   (* (( (ptr) e←v9324)+12) ) = (word) RRead16←P60(reply←v9280);
SOURCE(10390, 28)
   {
      word var←c67744;
      {
         word var←c67776;
         word b←v57880;
         b←v57880 =  (unsigned) (word) (* (( (bPt) reply←v9280)+(* (( (ptr) reply←v9280)+10) )) );
         (* (( (ptr) reply←v9280)+10) ) = ((* (( (ptr) reply←v9280)+10) ) + 1);
         var←c67776 = b←v57880;
         var←c67744 = var←c67776;
         };
      (* (( (ptr) e←v9324)+13) ) = var←c67744;
      };
SOURCE(10420, 24)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v9280)+10) ) !=  (int)21)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(9997, 447)
   return(e←v9324);
   }

static word HandleNoExposure←P1680(reply←v9396)
   word reply←v9396;
   {
   register ptr gf←c74880 =  (ptr) &globalframe;
   word e←v9440;
   /* HandleNoExposure: */ 
SOURCE(10450, 284)
SOURCE(10450, 284)
   {
      word var←c67808;
      var←c67808 = XR←NewObject(36, (* (( (ptr) gf←c74880)+12) ));
      (* (( (ptr) var←c67808)+4) ) = 14;
      e←v9440 = var←c67808;
      };
SOURCE(10556, 14)
   (* (( (ptr) reply←v9396)+10) ) = ((* (( (ptr) reply←v9396)+10) ) + 1);
SOURCE(10572, 22)
   {
      word var←c67840;
      var←c67840 = (word) RRead16←P60(reply←v9396);
      (* (( (ptr) e←v9440)+5) ) = var←c67840;
      };
SOURCE(10596, 50)
   {
      word var←c67872;
      var←c67872 = (word) RRead32←P120(reply←v9396);
      (* (( (ptr) e←v9440)+1) ) = var←c67872;
      (* (( (ptr) e←v9440)+6) ) = var←c67872;
      };
SOURCE(10648, 30)
   (* (( (ptr) e←v9440)+7) ) = (word) RRead16←P60(reply←v9396);
SOURCE(10680, 28)
   {
      word var←c67904;
      {
         word var←c67936;
         word b←v57832;
         b←v57832 =  (unsigned) (word) (* (( (bPt) reply←v9396)+(* (( (ptr) reply←v9396)+10) )) );
         (* (( (ptr) reply←v9396)+10) ) = ((* (( (ptr) reply←v9396)+10) ) + 1);
         var←c67936 = b←v57832;
         var←c67904 = var←c67936;
         };
      (* (( (ptr) e←v9440)+8) ) = var←c67904;
      };
SOURCE(10710, 24)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v9396)+10) ) !=  (int)11)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(10450, 284)
   return(e←v9440);
   }

static word HandleVisibilityNotify←P1740(reply←v9512)
   word reply←v9512;
   {
   register ptr gf←c74912 =  (ptr) &globalframe;
   word e←v9556;
   /* HandleVisibilityNotify: */ 
SOURCE(10740, 287)
SOURCE(10740, 287)
   {
      word var←c67968;
      var←c67968 = XR←NewObject(32, (* (( (ptr) gf←c74912)+12) ));
      (* (( (ptr) var←c67968)+4) ) = 15;
      e←v9556 = var←c67968;
      };
SOURCE(10864, 14)
   (* (( (ptr) reply←v9512)+10) ) = ((* (( (ptr) reply←v9512)+10) ) + 1);
SOURCE(10880, 22)
   {
      word var←c68000;
      var←c68000 = (word) RRead16←P60(reply←v9512);
      (* (( (ptr) e←v9556)+5) ) = var←c68000;
      };
SOURCE(10904, 28)
   (* (( (ptr) e←v9556)+6) ) = (word) ReadWindow←P240(reply←v9512);
SOURCE(10934, 38)
   (* (( (ptr) e←v9556)+1) ) = (* (( (ptr) e←v9556)+6) );
SOURCE(10974, 27)
   {
      word var←c68032;
      {
         word var←c68064;
         word b←v57784;
         b←v57784 =  (unsigned) (word) (* (( (bPt) reply←v9512)+(* (( (ptr) reply←v9512)+10) )) );
         (* (( (ptr) reply←v9512)+10) ) = ((* (( (ptr) reply←v9512)+10) ) + 1);
         var←c68064 = b←v57784;
         var←c68032 = BCK(var←c68064, 3);
         };
      (* (( (ptr) e←v9556)+7) ) = var←c68032;
      };
SOURCE(11003, 24)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v9512)+10) ) !=  (int)9)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(10740, 287)
   return(e←v9556);
   }

static word HandleCreateNotify←P1800(reply←v9628)
   word reply←v9628;
   {
   register ptr gf←c74944 =  (ptr) &globalframe;
   word e←v9672;
   /* HandleCreateNotify: */ 
SOURCE(11033, 347)
SOURCE(11033, 347)
   {
      word var←c68096;
      var←c68096 = XR←NewObject(56, (* (( (ptr) gf←c74944)+12) ));
      (* (( (ptr) var←c68096)+4) ) = 16;
      e←v9672 = var←c68096;
      };
SOURCE(11145, 14)
   (* (( (ptr) reply←v9628)+10) ) = ((* (( (ptr) reply←v9628)+10) ) + 1);
SOURCE(11161, 22)
   {
      word var←c68128;
      var←c68128 = (word) RRead16←P60(reply←v9628);
      (* (( (ptr) e←v9672)+5) ) = var←c68128;
      };
SOURCE(11185, 28)
   (* (( (ptr) e←v9672)+6) ) = (word) ReadWindow←P240(reply←v9628);
SOURCE(11216, 38)
   (* (( (ptr) e←v9672)+1) ) = (* (( (ptr) e←v9672)+6) );
SOURCE(11256, 28)
   (* (( (ptr) e←v9672)+7) ) = (word) ReadWindow←P240(reply←v9628);
SOURCE(11286, 32)
   (void) ReadGeometry←P480((word) (( (bPt) e←v9672)+32), reply←v9628);
SOURCE(11320, 35)
   {
      word var←c68160;
      {
         word var←c68192;
         word b←v57736;
         b←v57736 =  (unsigned) (word) (* (( (bPt) reply←v9628)+(* (( (ptr) reply←v9628)+10) )) );
         (* (( (ptr) reply←v9628)+10) ) = ((* (( (ptr) reply←v9628)+10) ) + 1);
         var←c68192 = b←v57736;
         var←c68160 =  (unsigned) (var←c68192 != 0);
         };
      (* (( (ptr) e←v9672)+13) ) = var←c68160;
      };
SOURCE(11357, 23)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v9628)+10) ) !=  (int)23)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(11033, 347)
   return(e←v9672);
   }

static word HandleDestroyNotify←P1860(reply←v9744)
   word reply←v9744;
   {
   register ptr gf←c74976 =  (ptr) &globalframe;
   word dne←v9788;
   /* HandleDestroyNotify: */ 
SOURCE(11386, 301)
SOURCE(11386, 301)
   {
      word var←c68224;
      var←c68224 = XR←NewObject(32, (* (( (ptr) gf←c74976)+12) ));
      (* (( (ptr) var←c68224)+4) ) = 17;
      dne←v9788 = var←c68224;
      };
SOURCE(11503, 14)
   (* (( (ptr) reply←v9744)+10) ) = ((* (( (ptr) reply←v9744)+10) ) + 1);
SOURCE(11519, 24)
   {
      word var←c68256;
      var←c68256 = (word) RRead16←P60(reply←v9744);
      (* (( (ptr) dne←v9788)+5) ) = var←c68256;
      };
SOURCE(11545, 35)
   (* (( (ptr) dne←v9788)+6) ) = (word) ReadWindow←P240(reply←v9744);
SOURCE(11582, 47)
   (* (( (ptr) dne←v9788)+1) ) = (* (( (ptr) dne←v9788)+6) );
SOURCE(11631, 30)
   (* (( (ptr) dne←v9788)+7) ) = (word) ReadWindow←P240(reply←v9744);
SOURCE(11663, 24)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v9744)+10) ) !=  (int)12)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(11386, 301)
   return(dne←v9788);
   }

static word HandleUnmapNotify←P1920(reply←v9860)
   word reply←v9860;
   {
   register ptr gf←c75008 =  (ptr) &globalframe;
   word e←v9904;
   /* HandleUnmapNotify: */ 
SOURCE(11693, 317)
SOURCE(11693, 317)
   {
      word var←c68288;
      var←c68288 = XR←NewObject(36, (* (( (ptr) gf←c75008)+12) ));
      (* (( (ptr) var←c68288)+4) ) = 18;
      e←v9904 = var←c68288;
      };
SOURCE(11802, 14)
   (* (( (ptr) reply←v9860)+10) ) = ((* (( (ptr) reply←v9860)+10) ) + 1);
SOURCE(11818, 22)
   {
      word var←c68320;
      var←c68320 = (word) RRead16←P60(reply←v9860);
      (* (( (ptr) e←v9904)+5) ) = var←c68320;
      };
SOURCE(11842, 33)
   (* (( (ptr) e←v9904)+6) ) = (word) ReadWindow←P240(reply←v9860);
SOURCE(11877, 43)
   (* (( (ptr) e←v9904)+1) ) = (* (( (ptr) e←v9904)+6) );
SOURCE(11922, 28)
   (* (( (ptr) e←v9904)+7) ) = (word) ReadWindow←P240(reply←v9860);
SOURCE(11952, 32)
   {
      word var←c68352;
      {
         word var←c68384;
         word b←v57688;
         b←v57688 =  (unsigned) (word) (* (( (bPt) reply←v9860)+(* (( (ptr) reply←v9860)+10) )) );
         (* (( (ptr) reply←v9860)+10) ) = ((* (( (ptr) reply←v9860)+10) ) + 1);
         var←c68384 = b←v57688;
         var←c68352 =  (unsigned) (var←c68384 != 0);
         };
      (* (( (ptr) e←v9904)+8) ) = var←c68352;
      };
SOURCE(11986, 24)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v9860)+10) ) !=  (int)13)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(11693, 317)
   return(e←v9904);
   }

static word HandleMapNotify←P1980(reply←v9976)
   word reply←v9976;
   {
   register ptr gf←c75040 =  (ptr) &globalframe;
   word e←v10020;
   /* HandleMapNotify: */ 
SOURCE(12016, 314)
SOURCE(12016, 314)
   {
      word var←c68416;
      var←c68416 = XR←NewObject(36, (* (( (ptr) gf←c75040)+12) ));
      (* (( (ptr) var←c68416)+4) ) = 19;
      e←v10020 = var←c68416;
      };
SOURCE(12119, 14)
   (* (( (ptr) reply←v9976)+10) ) = ((* (( (ptr) reply←v9976)+10) ) + 1);
SOURCE(12135, 22)
   {
      word var←c68448;
      var←c68448 = (word) RRead16←P60(reply←v9976);
      (* (( (ptr) e←v10020)+5) ) = var←c68448;
      };
SOURCE(12159, 33)
   (* (( (ptr) e←v10020)+6) ) = (word) ReadWindow←P240(reply←v9976);
SOURCE(12194, 43)
   (* (( (ptr) e←v10020)+1) ) = (* (( (ptr) e←v10020)+6) );
SOURCE(12239, 28)
   (* (( (ptr) e←v10020)+7) ) = (word) ReadWindow←P240(reply←v9976);
SOURCE(12269, 35)
   {
      word var←c68480;
      {
         word var←c68512;
         word b←v57640;
         b←v57640 =  (unsigned) (word) (* (( (bPt) reply←v9976)+(* (( (ptr) reply←v9976)+10) )) );
         (* (( (ptr) reply←v9976)+10) ) = ((* (( (ptr) reply←v9976)+10) ) + 1);
         var←c68512 = b←v57640;
         var←c68480 =  (unsigned) (var←c68512 != 0);
         };
      (* (( (ptr) e←v10020)+8) ) = var←c68480;
      };
SOURCE(12306, 24)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v9976)+10) ) !=  (int)13)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(12016, 314)
   return(e←v10020);
   }

static word HandleMapRequest←P2040(reply←v10092)
   word reply←v10092;
   {
   register ptr gf←c75072 =  (ptr) &globalframe;
   word e←v10136;
   /* HandleMapRequest: */ 
SOURCE(12336, 270)
SOURCE(12336, 270)
   {
      word var←c68544;
      var←c68544 = XR←NewObject(32, (* (( (ptr) gf←c75072)+12) ));
      (* (( (ptr) var←c68544)+4) ) = 20;
      e←v10136 = var←c68544;
      };
SOURCE(12442, 14)
   (* (( (ptr) reply←v10092)+10) ) = ((* (( (ptr) reply←v10092)+10) ) + 1);
SOURCE(12458, 22)
   {
      word var←c68576;
      var←c68576 = (word) RRead16←P60(reply←v10092);
      (* (( (ptr) e←v10136)+5) ) = var←c68576;
      };
SOURCE(12482, 28)
   (* (( (ptr) e←v10136)+6) ) = (word) ReadWindow←P240(reply←v10092);
SOURCE(12512, 38)
   (* (( (ptr) e←v10136)+1) ) = (* (( (ptr) e←v10136)+6) );
SOURCE(12552, 28)
   (* (( (ptr) e←v10136)+7) ) = (word) ReadWindow←P240(reply←v10092);
SOURCE(12582, 24)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v10092)+10) ) !=  (int)12)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(12336, 270)
   return(e←v10136);
   }

static word HandleReparentNotify←P2100(reply←v10208)
   word reply←v10208;
   {
   register ptr gf←c75104 =  (ptr) &globalframe;
   word e←v10252;
   /* HandleReparentNotify: */ 
SOURCE(12612, 415)
SOURCE(12612, 415)
   {
      word var←c68608;
      var←c68608 = XR←NewObject(48, (* (( (ptr) gf←c75104)+12) ));
      (* (( (ptr) var←c68608)+4) ) = 21;
      e←v10252 = var←c68608;
      };
SOURCE(12730, 14)
   (* (( (ptr) reply←v10208)+10) ) = ((* (( (ptr) reply←v10208)+10) ) + 1);
SOURCE(12746, 22)
   {
      word var←c68640;
      var←c68640 = (word) RRead16←P60(reply←v10208);
      (* (( (ptr) e←v10252)+5) ) = var←c68640;
      };
SOURCE(12770, 33)
   (* (( (ptr) e←v10252)+6) ) = (word) ReadWindow←P240(reply←v10208);
SOURCE(12805, 43)
   (* (( (ptr) e←v10252)+1) ) = (* (( (ptr) e←v10252)+6) );
SOURCE(12850, 28)
   (* (( (ptr) e←v10252)+7) ) = (word) ReadWindow←P240(reply←v10208);
SOURCE(12880, 28)
   (* (( (ptr) e←v10252)+8) ) = (word) ReadWindow←P240(reply←v10208);
SOURCE(12910, 26)
   {
      word var←c68672;
      var←c68672 = (word) ReadINT16←P420(reply←v10208);
      (* (( (ptr) e←v10252)+9) ) = var←c68672;
      };
SOURCE(12938, 26)
   {
      word var←c68704;
      var←c68704 = (word) ReadINT16←P420(reply←v10208);
      (* (( (ptr) e←v10252)+10) ) = var←c68704;
      };
SOURCE(12966, 35)
   {
      word var←c68736;
      {
         word var←c68768;
         word b←v57592;
         b←v57592 =  (unsigned) (word) (* (( (bPt) reply←v10208)+(* (( (ptr) reply←v10208)+10) )) );
         (* (( (ptr) reply←v10208)+10) ) = ((* (( (ptr) reply←v10208)+10) ) + 1);
         var←c68768 = b←v57592;
         var←c68736 =  (unsigned) (var←c68768 != 0);
         };
      (* (( (ptr) e←v10252)+11) ) = var←c68736;
      };
SOURCE(13003, 24)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v10208)+10) ) !=  (int)21)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(12612, 415)
   return(e←v10252);
   }

static word HandleConfigureNotify←P2160(reply←v10324)
   word reply←v10324;
   {
   register ptr gf←c75136 =  (ptr) &globalframe;
   word e←v10368;
   /* HandleConfigureNotify: */ 
SOURCE(13033, 399)
SOURCE(13033, 399)
   {
      word var←c68800;
      var←c68800 = XR←NewObject(60, (* (( (ptr) gf←c75136)+12) ));
      (* (( (ptr) var←c68800)+4) ) = 22;
      e←v10368 = var←c68800;
      };
SOURCE(13154, 14)
   (* (( (ptr) reply←v10324)+10) ) = ((* (( (ptr) reply←v10324)+10) ) + 1);
SOURCE(13170, 22)
   {
      word var←c68832;
      var←c68832 = (word) RRead16←P60(reply←v10324);
      (* (( (ptr) e←v10368)+5) ) = var←c68832;
      };
SOURCE(13194, 33)
   (* (( (ptr) e←v10368)+6) ) = (word) ReadWindow←P240(reply←v10324);
SOURCE(13229, 43)
   (* (( (ptr) e←v10368)+1) ) = (* (( (ptr) e←v10368)+6) );
SOURCE(13274, 28)
   (* (( (ptr) e←v10368)+7) ) = (word) ReadWindow←P240(reply←v10324);
SOURCE(13304, 34)
   (* (( (ptr) e←v10368)+8) ) = (word) ReadWindow←P240(reply←v10324);
SOURCE(13340, 32)
   (void) ReadGeometry←P480((word) (( (bPt) e←v10368)+36), reply←v10324);
SOURCE(13374, 33)
   {
      word var←c68864;
      {
         word var←c68896;
         word b←v57544;
         b←v57544 =  (unsigned) (word) (* (( (bPt) reply←v10324)+(* (( (ptr) reply←v10324)+10) )) );
         (* (( (ptr) reply←v10324)+10) ) = ((* (( (ptr) reply←v10324)+10) ) + 1);
         var←c68896 = b←v57544;
         var←c68864 = var←c68896;
         };
      (* (( (ptr) e←v10368)+14) ) = var←c68864;
      };
SOURCE(13409, 23)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v10324)+10) ) !=  (int)27)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(13033, 399)
   return(e←v10368);
   }

static word HandleConfigureRequest←P2220(reply←v10440)
   word reply←v10440;
   {
   register ptr gf←c75168 =  (ptr) &globalframe;
   word cre←v10484;
   /* HandleConfigureRequest: */ 
SOURCE(13438, 419)
SOURCE(13438, 419)
   {
      word var←c68928;
      var←c68928 = XR←NewObject(64, (* (( (ptr) gf←c75168)+12) ));
      (* (( (ptr) var←c68928)+4) ) = 23;
      cre←v10484 = var←c68928;
      };
SOURCE(13564, 33)
   {
      word var←c68960;
      {
         word var←c68992;
         word b←v57496;
         b←v57496 =  (unsigned) (word) (* (( (bPt) reply←v10440)+(* (( (ptr) reply←v10440)+10) )) );
         (* (( (ptr) reply←v10440)+10) ) = ((* (( (ptr) reply←v10440)+10) ) + 1);
         var←c68992 = b←v57496;
         var←c68960 = BCK(var←c68992, 5);
         };
      (* (( (ptr) cre←v10484)+5) ) = var←c68960;
      };
SOURCE(13599, 24)
   {
      word var←c69024;
      var←c69024 = (word) RRead16←P60(reply←v10440);
      (* (( (ptr) cre←v10484)+6) ) = var←c69024;
      };
SOURCE(13625, 30)
   (* (( (ptr) cre←v10484)+7) ) = (word) ReadWindow←P240(reply←v10440);
SOURCE(13657, 42)
   (* (( (ptr) cre←v10484)+1) ) = (* (( (ptr) cre←v10484)+7) );
SOURCE(13701, 30)
   (* (( (ptr) cre←v10484)+8) ) = (word) ReadWindow←P240(reply←v10440);
SOURCE(13733, 31)
   (* (( (ptr) cre←v10484)+9) ) = (word) ReadWindow←P240(reply←v10440);
SOURCE(13766, 34)
   (void) ReadGeometry←P480((word) (( (bPt) cre←v10484)+40), reply←v10440);
SOURCE(13802, 30)
   (* (( (ptr) cre←v10484)+15) ) = (word) RRead16←P60(reply←v10440);
SOURCE(13834, 23)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v10440)+10) ) !=  (int)28)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(13438, 419)
   return(cre←v10484);
   }

static word HandleGravityNotify←P2280(reply←v10556)
   word reply←v10556;
   {
   register ptr gf←c75200 =  (ptr) &globalframe;
   word e←v10600;
   /* HandleGravityNotify: */ 
SOURCE(13863, 345)
SOURCE(13863, 345)
   {
      word var←c69056;
      var←c69056 = XR←NewObject(40, (* (( (ptr) gf←c75200)+12) ));
      (* (( (ptr) var←c69056)+4) ) = 24;
      e←v10600 = var←c69056;
      };
SOURCE(13978, 14)
   (* (( (ptr) reply←v10556)+10) ) = ((* (( (ptr) reply←v10556)+10) ) + 1);
SOURCE(13994, 22)
   {
      word var←c69088;
      var←c69088 = (word) RRead16←P60(reply←v10556);
      (* (( (ptr) e←v10600)+5) ) = var←c69088;
      };
SOURCE(14018, 33)
   (* (( (ptr) e←v10600)+6) ) = (word) ReadWindow←P240(reply←v10556);
SOURCE(14053, 43)
   (* (( (ptr) e←v10600)+1) ) = (* (( (ptr) e←v10600)+6) );
SOURCE(14098, 28)
   (* (( (ptr) e←v10600)+7) ) = (word) ReadWindow←P240(reply←v10556);
SOURCE(14128, 26)
   {
      word var←c69120;
      var←c69120 = (word) ReadINT16←P420(reply←v10556);
      (* (( (ptr) e←v10600)+8) ) = var←c69120;
      };
SOURCE(14156, 26)
   {
      word var←c69152;
      var←c69152 = (word) ReadINT16←P420(reply←v10556);
      (* (( (ptr) e←v10600)+9) ) = var←c69152;
      };
SOURCE(14184, 24)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v10556)+10) ) !=  (int)16)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(13863, 345)
   return(e←v10600);
   }

static word HandleResizeRequest←P2340(reply←v10672)
   word reply←v10672;
   {
   register ptr gf←c75232 =  (ptr) &globalframe;
   word rre←v10716;
   /* HandleResizeRequest: */ 
SOURCE(14214, 326)
SOURCE(14214, 326)
   {
      word var←c69184;
      var←c69184 = XR←NewObject(36, (* (( (ptr) gf←c75232)+12) ));
      (* (( (ptr) var←c69184)+4) ) = 25;
      rre←v10716 = var←c69184;
      };
SOURCE(14331, 14)
   (* (( (ptr) reply←v10672)+10) ) = ((* (( (ptr) reply←v10672)+10) ) + 1);
SOURCE(14347, 24)
   {
      word var←c69216;
      var←c69216 = (word) RRead16←P60(reply←v10672);
      (* (( (ptr) rre←v10716)+5) ) = var←c69216;
      };
SOURCE(14373, 30)
   (* (( (ptr) rre←v10716)+6) ) = (word) ReadWindow←P240(reply←v10672);
SOURCE(14405, 42)
   (* (( (ptr) rre←v10716)+1) ) = (* (( (ptr) rre←v10716)+6) );
SOURCE(14449, 31)
   {
      word var←c69248;
      var←c69248 = (word) RRead16←P60(reply←v10672);
      (* (( (ptr) rre←v10716)+7) ) = var←c69248;
      };
SOURCE(14482, 32)
   {
      word var←c69280;
      var←c69280 = (word) RRead16←P60(reply←v10672);
      (* (( (ptr) rre←v10716)+8) ) = var←c69280;
      };
SOURCE(14516, 24)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v10672)+10) ) !=  (int)12)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(14214, 326)
   return(rre←v10716);
   }

static word HandleCirculateNotify←P2400(reply←v10788)
   word reply←v10788;
   {
   register ptr gf←c75264 =  (ptr) &globalframe;
   word e←v10832;
   /* HandleCirculateNotify: */ 
SOURCE(14546, 348)
SOURCE(14546, 348)
   {
      word var←c69312;
      var←c69312 = XR←NewObject(36, (* (( (ptr) gf←c75264)+12) ));
      (* (( (ptr) var←c69312)+4) ) = 26;
      e←v10832 = var←c69312;
      };
SOURCE(14667, 14)
   (* (( (ptr) reply←v10788)+10) ) = ((* (( (ptr) reply←v10788)+10) ) + 1);
SOURCE(14683, 22)
   {
      word var←c69344;
      var←c69344 = (word) RRead16←P60(reply←v10788);
      (* (( (ptr) e←v10832)+5) ) = var←c69344;
      };
SOURCE(14707, 33)
   (* (( (ptr) e←v10832)+6) ) = (word) ReadWindow←P240(reply←v10788);
SOURCE(14742, 43)
   (* (( (ptr) e←v10832)+1) ) = (* (( (ptr) e←v10832)+6) );
SOURCE(14787, 28)
   (* (( (ptr) e←v10832)+7) ) = (word) ReadWindow←P240(reply←v10788);
SOURCE(14817, 22)
   {
      word var←c69376;
      var←c69376 = (word) ReadWindow←P240(reply←v10788);
      };
SOURCE(14841, 27)
   {
      word var←c69408;
      {
         word var←c69440;
         word b←v57448;
         b←v57448 =  (unsigned) (word) (* (( (bPt) reply←v10788)+(* (( (ptr) reply←v10788)+10) )) );
         (* (( (ptr) reply←v10788)+10) ) = ((* (( (ptr) reply←v10788)+10) ) + 1);
         var←c69440 = b←v57448;
         var←c69408 = BCK(var←c69440, 2);
         };
      (* (( (ptr) e←v10832)+8) ) = var←c69408;
      };
SOURCE(14870, 24)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v10788)+10) ) !=  (int)17)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(14546, 348)
   return(e←v10832);
   }

static word HandleCirculateRequest←P2460(reply←v10904)
   word reply←v10904;
   {
   register ptr gf←c75296 =  (ptr) &globalframe;
   word cre←v10948;
   /* HandleCirculateRequest: */ 
SOURCE(14900, 352)
SOURCE(14900, 352)
   {
      word var←c69472;
      var←c69472 = XR←NewObject(36, (* (( (ptr) gf←c75296)+12) ));
      (* (( (ptr) var←c69472)+4) ) = 27;
      cre←v10948 = var←c69472;
      };
SOURCE(15026, 14)
   (* (( (ptr) reply←v10904)+10) ) = ((* (( (ptr) reply←v10904)+10) ) + 1);
SOURCE(15042, 24)
   {
      word var←c69504;
      var←c69504 = (word) RRead16←P60(reply←v10904);
      (* (( (ptr) cre←v10948)+5) ) = var←c69504;
      };
SOURCE(15068, 30)
   (* (( (ptr) cre←v10948)+6) ) = (word) ReadWindow←P240(reply←v10904);
SOURCE(15100, 42)
   (* (( (ptr) cre←v10948)+1) ) = (* (( (ptr) cre←v10948)+6) );
SOURCE(15144, 30)
   (* (( (ptr) cre←v10948)+7) ) = (word) ReadWindow←P240(reply←v10904);
SOURCE(15176, 19)
   {
      word var←c69536;
      var←c69536 = (word) RRead32←P120(reply←v10904);
      };
SOURCE(15197, 29)
   {
      word var←c69568;
      {
         word var←c69600;
         word b←v57400;
         b←v57400 =  (unsigned) (word) (* (( (bPt) reply←v10904)+(* (( (ptr) reply←v10904)+10) )) );
         (* (( (ptr) reply←v10904)+10) ) = ((* (( (ptr) reply←v10904)+10) ) + 1);
         var←c69600 = b←v57400;
         var←c69568 = BCK(var←c69600, 2);
         };
      (* (( (ptr) cre←v10948)+8) ) = var←c69568;
      };
SOURCE(15228, 24)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v10904)+10) ) !=  (int)17)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(14900, 352)
   return(cre←v10948);
   }

static word HandlePropertyNotify←P2520(reply←v11020)
   word reply←v11020;
   {
   register ptr gf←c75328 =  (ptr) &globalframe;
   word e←v11064;
   /* HandlePropertyNotify: */ 
SOURCE(15258, 340)
SOURCE(15258, 340)
   {
      word var←c69632;
      var←c69632 = XR←NewObject(40, (* (( (ptr) gf←c75328)+12) ));
      (* (( (ptr) var←c69632)+4) ) = 28;
      e←v11064 = var←c69632;
      };
SOURCE(15376, 14)
   (* (( (ptr) reply←v11020)+10) ) = ((* (( (ptr) reply←v11020)+10) ) + 1);
SOURCE(15392, 22)
   {
      word var←c69664;
      var←c69664 = (word) RRead16←P60(reply←v11020);
      (* (( (ptr) e←v11064)+5) ) = var←c69664;
      };
SOURCE(15416, 28)
   (* (( (ptr) e←v11064)+6) ) = (word) ReadWindow←P240(reply←v11020);
SOURCE(15446, 38)
   (* (( (ptr) e←v11064)+1) ) = (* (( (ptr) e←v11064)+6) );
SOURCE(15486, 25)
   (* (( (ptr) e←v11064)+7) ) = (word) RRead32←P120(reply←v11020);
SOURCE(15513, 30)
   (* (( (ptr) e←v11064)+8) ) = (word) RRead32←P120(reply←v11020);
SOURCE(15545, 27)
   {
      word var←c69696;
      {
         word var←c69728;
         word b←v57352;
         b←v57352 =  (unsigned) (word) (* (( (bPt) reply←v11020)+(* (( (ptr) reply←v11020)+10) )) );
         (* (( (ptr) reply←v11020)+10) ) = ((* (( (ptr) reply←v11020)+10) ) + 1);
         var←c69728 = b←v57352;
         var←c69696 = BCK(var←c69728, 2);
         };
      (* (( (ptr) e←v11064)+9) ) = var←c69696;
      };
SOURCE(15574, 24)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v11020)+10) ) !=  (int)17)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(15258, 340)
   return(e←v11064);
   }

static word HandleSelectionClear←P2580(c←v11136, reply←v11164)
   word c←v11136;
   word reply←v11164;
   {
   register ptr gf←c75360 =  (ptr) &globalframe;
   word e←v11208;
   /* HandleSelectionClear: */ 
SOURCE(15604, 332)
SOURCE(15604, 332)
   {
      word var←c69760;
      var←c69760 = XR←NewObject(36, (* (( (ptr) gf←c75360)+12) ));
      (* (( (ptr) var←c69760)+4) ) = 29;
      e←v11208 = var←c69760;
      };
SOURCE(15737, 14)
   (* (( (ptr) reply←v11164)+10) ) = ((* (( (ptr) reply←v11164)+10) ) + 1);
SOURCE(15753, 22)
   {
      word var←c69792;
      var←c69792 = (word) RRead16←P60(reply←v11164);
      (* (( (ptr) e←v11208)+5) ) = var←c69792;
      };
SOURCE(15777, 33)
   {
      word var←c69824;
      {
         word var←c69856;
         word t←v53808;
         word c←v53840;
         word r←v53868;
         c←v53840 = c←v11136;
         r←v53868 = reply←v11164;
SOURCE(1276, 15)
         {
            word var←c69888;
            word four←v59388;
            four←v59388 = (((word) (((word) (((word)  (unsigned) (word) (* (( (bPt) r←v53868)+(* (( (ptr) r←v53868)+10) )) ) << 8) + 
             (unsigned) (word) (* (( (bPt) r←v53868)+((* (( (ptr) r←v53868)+10) ) + 1)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v53868)+((* (
                  ( (ptr) r←v53868)+10) ) + 2)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v53868)+((* (( (ptr) r←v53868)+10) ) + 3)) ));
            (* (( (ptr) r←v53868)+10) ) = ((* (( (ptr) r←v53868)+10) ) + 4);
            var←c69888 = four←v59388;
            t←v53808 = var←c69888;
            };
SOURCE(1293, 19)
         (* (( (ptr) c←v53840)+21) ) = t←v53808;
SOURCE(1200, 112)
         var←c69856 = t←v53808;
         var←c69824 = var←c69856;
         };
      (* (( (ptr) e←v11208)+6) ) = var←c69824;
      };
SOURCE(15812, 27)
   (* (( (ptr) e←v11208)+7) ) = (word) ReadWindow←P240(reply←v11164);
SOURCE(15841, 37)
   (* (( (ptr) e←v11208)+1) ) = (* (( (ptr) e←v11208)+7) );
SOURCE(15880, 30)
   (* (( (ptr) e←v11208)+8) ) = (word) RRead32←P120(reply←v11164);
SOURCE(15912, 24)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v11164)+10) ) !=  (int)16)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(15604, 332)
   return(e←v11208);
   }

static word HandleSelectionRequest←P2640(c←v11280, reply←v11308)
   word c←v11280;
   word reply←v11308;
   {
   register ptr gf←c75392 =  (ptr) &globalframe;
   word e←v11352;
   /* HandleSelectionRequest: */ 
SOURCE(15942, 430)
SOURCE(15942, 430)
   {
      word var←c69952;
      var←c69952 = XR←NewObject(48, (* (( (ptr) gf←c75392)+12) ));
      (* (( (ptr) var←c69952)+4) ) = 30;
      e←v11352 = var←c69952;
      };
SOURCE(16081, 14)
   (* (( (ptr) reply←v11308)+10) ) = ((* (( (ptr) reply←v11308)+10) ) + 1);
SOURCE(16097, 22)
   {
      word var←c69984;
      var←c69984 = (word) RRead16←P60(reply←v11308);
      (* (( (ptr) e←v11352)+5) ) = var←c69984;
      };
SOURCE(16121, 33)
   {
      word var←c70016;
      {
         word var←c70048;
         word t←v53700;
         word c←v53732;
         word r←v53760;
         c←v53732 = c←v11280;
         r←v53760 = reply←v11308;
SOURCE(1276, 15)
         {
            word var←c70080;
            word four←v59344;
            four←v59344 = (((word) (((word) (((word)  (unsigned) (word) (* (( (bPt) r←v53760)+(* (( (ptr) r←v53760)+10) )) ) << 8) + 
             (unsigned) (word) (* (( (bPt) r←v53760)+((* (( (ptr) r←v53760)+10) ) + 1)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v53760)+((* (
                  ( (ptr) r←v53760)+10) ) + 2)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v53760)+((* (( (ptr) r←v53760)+10) ) + 3)) ));
            (* (( (ptr) r←v53760)+10) ) = ((* (( (ptr) r←v53760)+10) ) + 4);
            var←c70080 = four←v59344;
            t←v53700 = var←c70080;
            };
SOURCE(1293, 19)
         (* (( (ptr) c←v53732)+21) ) = t←v53700;
SOURCE(1200, 112)
         var←c70048 = t←v53700;
         var←c70016 = var←c70048;
         };
      (* (( (ptr) e←v11352)+6) ) = var←c70016;
      };
SOURCE(16156, 27)
   (* (( (ptr) e←v11352)+7) ) = (word) ReadWindow←P240(reply←v11308);
SOURCE(16185, 37)
   (* (( (ptr) e←v11352)+1) ) = (* (( (ptr) e←v11352)+7) );
SOURCE(16224, 31)
   (* (( (ptr) e←v11352)+8) ) = (word) ReadWindow←P240(reply←v11308);
SOURCE(16257, 30)
   (* (( (ptr) e←v11352)+9) ) = (word) RRead32←P120(reply←v11308);
SOURCE(16289, 27)
   (* (( (ptr) e←v11352)+10) ) = (word) RRead32←P120(reply←v11308);
SOURCE(16318, 29)
   (* (( (ptr) e←v11352)+11) ) = (word) RRead32←P120(reply←v11308);
SOURCE(16349, 23)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v11308)+10) ) !=  (int)28)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(15942, 430)
   return(e←v11352);
   }

static word HandleSelectionNotify←P2700(c←v11424, reply←v11452)
   word c←v11424;
   word reply←v11452;
   {
   register ptr gf←c75424 =  (ptr) &globalframe;
   word e←v11496;
   /* HandleSelectionNotify: */ 
SOURCE(16378, 402)
SOURCE(16378, 402)
   {
      word var←c70144;
      var←c70144 = XR←NewObject(44, (* (( (ptr) gf←c75424)+12) ));
      (* (( (ptr) var←c70144)+4) ) = 31;
      e←v11496 = var←c70144;
      };
SOURCE(16514, 14)
   (* (( (ptr) reply←v11452)+10) ) = ((* (( (ptr) reply←v11452)+10) ) + 1);
SOURCE(16530, 22)
   {
      word var←c70176;
      var←c70176 = (word) RRead16←P60(reply←v11452);
      (* (( (ptr) e←v11496)+5) ) = var←c70176;
      };
SOURCE(16554, 33)
   {
      word var←c70208;
      {
         word var←c70240;
         word t←v53592;
         word c←v53624;
         word r←v53652;
         c←v53624 = c←v11424;
         r←v53652 = reply←v11452;
SOURCE(1276, 15)
         {
            word var←c70272;
            word four←v59300;
            four←v59300 = (((word) (((word) (((word)  (unsigned) (word) (* (( (bPt) r←v53652)+(* (( (ptr) r←v53652)+10) )) ) << 8) + 
             (unsigned) (word) (* (( (bPt) r←v53652)+((* (( (ptr) r←v53652)+10) ) + 1)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v53652)+((* (
                  ( (ptr) r←v53652)+10) ) + 2)) )) << 8) +  (unsigned) (word) (* (( (bPt) r←v53652)+((* (( (ptr) r←v53652)+10) ) + 3)) ));
            (* (( (ptr) r←v53652)+10) ) = ((* (( (ptr) r←v53652)+10) ) + 4);
            var←c70272 = four←v59300;
            t←v53592 = var←c70272;
            };
SOURCE(1293, 19)
         (* (( (ptr) c←v53624)+21) ) = t←v53592;
SOURCE(1200, 112)
         var←c70240 = t←v53592;
         var←c70208 = var←c70240;
         };
      (* (( (ptr) e←v11496)+6) ) = var←c70208;
      };
SOURCE(16589, 31)
   (* (( (ptr) e←v11496)+7) ) = (word) ReadWindow←P240(reply←v11452);
SOURCE(16622, 41)
   (* (( (ptr) e←v11496)+1) ) = (* (( (ptr) e←v11496)+7) );
SOURCE(16665, 30)
   (* (( (ptr) e←v11496)+8) ) = (word) RRead32←P120(reply←v11452);
SOURCE(16697, 27)
   (* (( (ptr) e←v11496)+9) ) = (word) RRead32←P120(reply←v11452);
SOURCE(16726, 29)
   (* (( (ptr) e←v11496)+10) ) = (word) RRead32←P120(reply←v11452);
SOURCE(16757, 23)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v11452)+10) ) !=  (int)24)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(16378, 402)
   return(e←v11496);
   }

static word HandleColormapNotify←P2760(reply←v11568)
   word reply←v11568;
   {
   register ptr gf←c75456 =  (ptr) &globalframe;
   word e←v11612;
   /* HandleColormapNotify: */ 
SOURCE(16786, 337)
SOURCE(16786, 337)
   {
      word var←c70336;
      var←c70336 = XR←NewObject(40, (* (( (ptr) gf←c75456)+12) ));
      (* (( (ptr) var←c70336)+4) ) = 32;
      e←v11612 = var←c70336;
      };
SOURCE(16904, 14)
   (* (( (ptr) reply←v11568)+10) ) = ((* (( (ptr) reply←v11568)+10) ) + 1);
SOURCE(16920, 22)
   {
      word var←c70368;
      var←c70368 = (word) RRead16←P60(reply←v11568);
      (* (( (ptr) e←v11612)+5) ) = var←c70368;
      };
SOURCE(16944, 28)
   (* (( (ptr) e←v11612)+6) ) = (word) ReadWindow←P240(reply←v11568);
SOURCE(16974, 38)
   (* (( (ptr) e←v11612)+1) ) = (* (( (ptr) e←v11612)+6) );
SOURCE(17014, 29)
   (* (( (ptr) e←v11612)+7) ) = (word) RRead32←P120(reply←v11568);
SOURCE(17045, 22)
   {
      word var←c70400;
      {
         word var←c70432;
         word b←v57304;
         b←v57304 =  (unsigned) (word) (* (( (bPt) reply←v11568)+(* (( (ptr) reply←v11568)+10) )) );
         (* (( (ptr) reply←v11568)+10) ) = ((* (( (ptr) reply←v11568)+10) ) + 1);
         var←c70432 = b←v57304;
         var←c70400 =  (unsigned) (var←c70432 != 0);
         };
      (* (( (ptr) e←v11612)+8) ) = var←c70400;
      };
SOURCE(17069, 28)
   {
      word var←c70464;
      {
         word var←c70496;
         word b←v57256;
         b←v57256 =  (unsigned) (word) (* (( (bPt) reply←v11568)+(* (( (ptr) reply←v11568)+10) )) );
         (* (( (ptr) reply←v11568)+10) ) = ((* (( (ptr) reply←v11568)+10) ) + 1);
         var←c70496 = b←v57256;
         var←c70464 =  (unsigned) (var←c70496 == 1);
         };
      (* (( (ptr) e←v11612)+9) ) = var←c70464;
      };
SOURCE(17099, 24)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v11568)+10) ) !=  (int)14)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(16786, 337)
   return(e←v11612);
   }

static word HandleClientMessage←P2820(reply←v11684)
   word reply←v11684;
   {
   register ptr gf←c75488 =  (ptr) &globalframe;
   word e←v11728;
   /* HandleClientMessage: */ 
SOURCE(17129, 516)
SOURCE(17129, 516)
   {
      word var←c70528;
      var←c70528 = XR←NewObject(56, (* (( (ptr) gf←c75488)+12) ));
      (* (( (ptr) var←c70528)+4) ) = 33;
      e←v11728 = var←c70528;
      };
SOURCE(17246, 23)
   {
      word var←c70560;
      {
         word var←c70592;
         word b←v57208;
         b←v57208 =  (unsigned) (word) (* (( (bPt) reply←v11684)+(* (( (ptr) reply←v11684)+10) )) );
         (* (( (ptr) reply←v11684)+10) ) = ((* (( (ptr) reply←v11684)+10) ) + 1);
         var←c70592 = b←v57208;
         var←c70560 = var←c70592;
         };
      (* (( (ptr) e←v11728)+5) ) = var←c70560;
      };
SOURCE(17271, 22)
   {
      word var←c70624;
      var←c70624 = (word) RRead16←P60(reply←v11684);
      (* (( (ptr) e←v11728)+6) ) = var←c70624;
      };
SOURCE(17295, 28)
   (* (( (ptr) e←v11728)+7) ) = (word) ReadWindow←P240(reply←v11684);
SOURCE(17325, 38)
   (* (( (ptr) e←v11728)+1) ) = (* (( (ptr) e←v11728)+7) );
SOURCE(17365, 29)
   (* (( (ptr) e←v11728)+8) ) = (word) RRead32←P120(reply←v11684);
SOURCE(17396, 224)
   {
      word var←c70656;
      var←c70656 = (* (( (ptr) e←v11728)+5) );
      if ((var←c70656 == 16)) {
SOURCE(17423, 60)
         {
            register word i←v17316 = 0;
            lab←L100078: ;
SOURCE(17452, 31)
            {
               word var←c70688;
               var←c70688 = (word) RRead16←P60(reply←v11684);
               (* ((( (hPt) e←v11728)+18)+i←v17316) ) = var←c70688;
               };
            if ((i←v17316 >= 9)) {
               goto lab←L100075;
               };
            i←v17316 = (i←v17316 + 1);
            goto lab←L100078;
            lab←L100075: ;
            };
         }
      else {
         if ((var←c70656 == 32)) {
SOURCE(17491, 58)
            {
               register word i←v17380 = 0;
               lab←L100082: ;
SOURCE(17518, 31)
               {
                  word var←c70720;
                  var←c70720 = (word) RRead32←P120(reply←v11684);
                  (* ((( (ptr) e←v11728)+9)+i←v17380) ) = var←c70720;
                  };
               if ((i←v17380 >= 4)) {
                  goto lab←L100079;
                  };
               i←v17380 = (i←v17380 + 1);
               goto lab←L100082;
               lab←L100079: ;
               };
            }
         else {
SOURCE(17562, 58)
            {
               register word i←v17444 = 0;
               lab←L100086: ;
SOURCE(17591, 29)
               {
                  word var←c70752;
                  {
                     word var←c70784;
                     word b←v57160;
                     b←v57160 =  (unsigned) (word) (* (( (bPt) reply←v11684)+(* (( (ptr) reply←v11684)+10) )) );
                     (* (( (ptr) reply←v11684)+10) ) = ((* (( (ptr) reply←v11684)+10) ) + 1);
                     var←c70784 = b←v57160;
                     var←c70752 = var←c70784;
                     };
                  (* ((( (bPt) e←v11728)+36)+i←v17444) ) = var←c70752;
                  };
               if ((i←v17444 >= 19)) {
                  goto lab←L100083;
                  };
               i←v17444 = (i←v17444 + 1);
               goto lab←L100086;
               lab←L100083: ;
               };
            };
         };
      };
SOURCE(17622, 23)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v11684)+10) ) !=  (int)32)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(17129, 516)
   return(e←v11728);
   }

static word HandleMapping←P2880(c←v11800, reply←v11828)
   word c←v11800;
   word reply←v11828;
   {
   register ptr gf←c75520 =  (ptr) &globalframe;
   word mne←v11872;
   word cp←v17508;
   /* HandleMapping: */ 
SOURCE(17651, 838)
SOURCE(17651, 838)
   {
      word var←c70816;
      var←c70816 = XR←NewObject(36, (* (( (ptr) gf←c75520)+12) ));
      (* (( (ptr) var←c70816)+4) ) = 34;
      mne←v11872 = var←c70816;
      };
SOURCE(17777, 42)
   cp←v17508 = (* (( (ptr) c←v11800)+24) );
SOURCE(17821, 35)
   (* (( (ptr) mne←v11872)+1) ) = 0;
SOURCE(17858, 14)
   (* (( (ptr) reply←v11828)+10) ) = ((* (( (ptr) reply←v11828)+10) ) + 1);
SOURCE(17874, 24)
   {
      word var←c70848;
      var←c70848 = (word) RRead16←P60(reply←v11828);
      (* (( (ptr) mne←v11872)+5) ) = var←c70848;
      };
SOURCE(17900, 31)
   {
      word var←c70880;
      {
         word var←c70912;
         word b←v57112;
         b←v57112 =  (unsigned) (word) (* (( (bPt) reply←v11828)+(* (( (ptr) reply←v11828)+10) )) );
         (* (( (ptr) reply←v11828)+10) ) = ((* (( (ptr) reply←v11828)+10) ) + 1);
         var←c70912 = b←v57112;
         var←c70880 = BCK(var←c70912, 3);
         };
      (* (( (ptr) mne←v11872)+6) ) = var←c70880;
      };
SOURCE(17933, 31)
   {
      word var←c70944;
      {
         word var←c70976;
         word b←v57064;
         b←v57064 =  (unsigned) (word) (* (( (bPt) reply←v11828)+(* (( (ptr) reply←v11828)+10) )) );
         (* (( (ptr) reply←v11828)+10) ) = ((* (( (ptr) reply←v11828)+10) ) + 1);
         var←c70976 = b←v57064;
         var←c70944 = var←c70976;
         };
      (* (( (ptr) mne←v11872)+7) ) = var←c70944;
      };
SOURCE(17966, 24)
   {
      word var←c71008;
      {
         word var←c71040;
         word b←v57016;
         b←v57016 =  (unsigned) (word) (* (( (bPt) reply←v11828)+(* (( (ptr) reply←v11828)+10) )) );
         (* (( (ptr) reply←v11828)+10) ) = ((* (( (ptr) reply←v11828)+10) ) + 1);
         var←c71040 = b←v57016;
         var←c71008 = var←c71040;
         };
      (* (( (ptr) mne←v11872)+8) ) = var←c71008;
      };
SOURCE(17992, 24)
SOURCE(1935, 20)
   if (( (int)(* (( (ptr) reply←v11828)+10) ) !=  (int)7)) {
SOURCE(1955, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(18018, 471)
   {
      word var←c71072;
      var←c71072 = (* (( (ptr) mne←v11872)+6) );
      switch (var←c71072) {
         case 0: 
SOURCE(18056, 54)
            {
               word pd72;
               pd72 = (* (( (ptr) (* (( (ptr) gf←c75520)+240)/* var←c71104 */  ))+7) );
               (void) ( *( (fPt) ((*  (ptr) pd72 ))))(c←v11800, (* (( (ptr) gf←c75520)+78) ), 0, pd72);
               };
SOURCE(18121, 18)
            (* (( (ptr) cp←v17508)+4) ) = 0;
            break;
         case 1: 
SOURCE(18158, 54)
            {
               word pd73;
               pd73 = (* (( (ptr) (* (( (ptr) gf←c75520)+240)/* var←c71104 */  ))+7) );
               (void) ( *( (fPt) ((*  (ptr) pd73 ))))(c←v11800, (* (( (ptr) gf←c75520)+74) ), 0, pd73);
               };
SOURCE(18223, 18)
            (* (( (ptr) cp←v17508)+3) ) = 0;
            break;
         case 2: 
SOURCE(18324, 54)
            {
               word pd74;
               pd74 = (* (( (ptr) (* (( (ptr) gf←c75520)+240)/* var←c71104 */  ))+7) );
               (void) ( *( (fPt) ((*  (ptr) pd74 ))))(c←v11800, (* (( (ptr) gf←c75520)+74) ), 0, pd74);
               };
SOURCE(18381, 18)
            (* (( (ptr) cp←v17508)+3) ) = 0;
SOURCE(18406, 54)
            {
               word pd75;
               pd75 = (* (( (ptr) (* (( (ptr) gf←c75520)+240)/* var←c71104 */  ))+7) );
               (void) ( *( (fPt) ((*  (ptr) pd75 ))))(c←v11800, (* (( (ptr) gf←c75520)+69) ), 0, pd75);
               };
SOURCE(18471, 18)
            (* (( (ptr) cp←v17508)+5) ) = 0;
            break;
         };
      };
SOURCE(17651, 838)
   return(mne←v11872);
   }

static void ConnectionReader←P2940(formal←c0899)
   word formal←c0899;
   {
   W5 var←c75552;
   /* declaration of data←v11960 skipped */ 
   var←c75552.f4/* data←v11960 */  = formal←c0899;
   /* ConnectionReader: */ 
SOURCE(18608, 5926)
SOURCE(18645, 5889)
SOURCE(18647, 5851)
   {
      word var←c01;
      {
         word var←c0888;
         var←c0888 = (word) &var←c75552;
         var←c01 = (word) XR←Enable(( ((word)  (fPt) NoName←Q13956) ), ( ((word)  (fPt) NoName←Q14016) ), var←c0888);
         };
      if ((var←c01 == 2)) {
         goto lab←L100091;
         };
      };
   goto lab←L100118;
   lab←L100091: ;
   lab←L100118: ;
   }

static word NoName←Q13956(formal←c0861)
   word formal←c0861;
   {
   register ptr gf←c0860 =  (ptr) &globalframe;
SOURCE(19185, 30)
   {
      word c←v17768;
      word dispatchHandle←v17796;
      word event←v17824 = 0;
      word lastEvent←v17852 = 0;
      word reply←v17880;
      word mEventCache←v17908;
      word readyExtEvent←v17936;
SOURCE(19283, 28)
      c←v17768 = XR←Narrow((* (( (ptr) formal←c0861)+4) ), (* (( (ptr) gf←c0860)+62) ));
SOURCE(19313, 75)
      {
         word pd76;
         pd76 = (* (( (ptr) (* (( (ptr) gf←c0860)+239)/* var←c63360 */  ))+5) );
         dispatchHandle←v17796 = (word) ( *( (fPt) ((*  (ptr) pd76 ))))(c←v17768, pd76);
         };
SOURCE(19428, 29)
      reply←v17880 = (word) SafeNewReply←P780();
SOURCE(19459, 101)
      {
         word pd77;
         pd77 = (* (( (ptr) (* (( (ptr) gf←c0860)+243)/* var←c71264 */  ))+4) );
         mEventCache←v17908 = (word) ( *( (fPt) ((*  (ptr) pd77 ))))(c←v17768,  (word) -1, pd77);
         };
SOURCE(19562, 63)
      readyExtEvent←v17936 = XR←NewObject(64, (* (( (ptr) gf←c0860)+12) ));
      (* (( (ptr) readyExtEvent←v17936)+4) ) = 35;
SOURCE(19627, 4871)
      lab←L100096: ;
SOURCE(19639, 198)
      {
         word cnt←v18076;
SOURCE(19641, 77)
         {
            W3 var←c71328;
            var←c71328.f0 = reply←v17880;
            var←c71328.f1 = 0;
            var←c71328.f2 = 32;
            {
               word pd78;
               pd78 = (* (( (ptr) (* (( (ptr) gf←c0860)+241)/* var←c71200 */  ))+14) );
               cnt←v18076 = (word) ( *( (fPt) ((*  (ptr) pd78 ))))((* (( (ptr) c←v17768)+32) ), var←c71328, pd78);
               };
            };
SOURCE(19720, 112)
         if (( (int)cnt←v18076 !=  (int)32)) {
SOURCE(19737, 15)
            (* (( (ptr) c←v17768)+15) ) = 0;
SOURCE(19754, 78)
            {
               word tc79;
               word pd80;
               if (( (int)cnt←v18076 ==  (int)0)) {
                  pd80 = (* (( (ptr) (* (( (ptr) gf←c0860)+241)/* var←c71200 */  ))+15) );
                  tc79 =  (word) (0 != (word) ( *( (fPt) ((*  (ptr) pd80 ))))((* ((( (ptr) c←v17768)+32)) ), pd80));
                  }
               else {
                  tc79 =  (word) 0;
                  };
               if (tc79) {
SOURCE(19790, 22)
                  return(2);
                  }
               else {
SOURCE(19812, 20)
                  (void) XR←RaiseError((word) (( (bPt) gf←c0860)+356), 0);
                  };
               };
            };
         };
SOURCE(19840, 16)
      (* (( (ptr) reply←v17880)+10) ) = 1;
SOURCE(19858, 4501)
      {
         word var←c71360;
         var←c71360 = ( (unsigned) (*  (bPt) reply←v17880 ) & 0177);
         switch (var←c71360) {
            case 1: 
SOURCE(19900, 537)
               {
                  word detached←v18120;
                  word sequenceNumber←v18148;
                  word more←v18176;
SOURCE(19926, 31)
                  {
                     word r←v54764;
SOURCE(19185, 30)
                     r←v54764 = 0;
SOURCE(19237, 9)
                     r←v54764 = reply←v17880;
SOURCE(19248, 30)
                     {
                        word var←c71424;
                        word r←v54564;
                        word rp←v54596;
                        rp←v54596 = (* (( (ptr) c←v17768)+25) );
SOURCE(4162, 283)
                        r←v54564 = 0;
SOURCE(4235, 17)
                        r←v54564 = (*  (ptr) rp←v54596 );
SOURCE(4254, 42)
                        if ((r←v54564 != 0)) {
SOURCE(4269, 19)
                           (*  (ptr) rp←v54596 ) = 0;
SOURCE(4290, 6)
                           var←c71424 = r←v54564;
                           goto lab←L100097;
                           };
SOURCE(4299, 17)
                        r←v54564 = (* (( (ptr) rp←v54596)+1) );
SOURCE(4318, 42)
                        if ((r←v54564 != 0)) {
SOURCE(4333, 19)
                           (* (( (ptr) rp←v54596)+1) ) = 0;
SOURCE(4354, 6)
                           var←c71424 = r←v54564;
                           goto lab←L100097;
                           };
SOURCE(4363, 17)
                        r←v54564 = (* (( (ptr) rp←v54596)+2) );
SOURCE(4382, 42)
                        if ((r←v54564 != 0)) {
SOURCE(4397, 19)
                           (* (( (ptr) rp←v54596)+2) ) = 0;
SOURCE(4418, 6)
                           var←c71424 = r←v54564;
                           goto lab←L100097;
                           };
SOURCE(4427, 18)
                        r←v54564 = (word) SafeNewReply←P780();
SOURCE(4162, 283)
                        var←c71424 = r←v54564;
                        lab←L100097: ;
                        reply←v17880 = var←c71424;
                        };
SOURCE(19185, 30)
                     detached←v18120 = r←v54764;
                     };
SOURCE(19959, 50)
                  sequenceNumber←v18148 = (((word)  (unsigned) (* (( (bPt) detached←v18120)+2) ) << 8) +  (unsigned) (* (( (bPt) detached←v18120)+3)
                   ));
SOURCE(20011, 33)
                  more←v18176 = (((word) (((word) (((word)  (unsigned) (* (( (bPt) detached←v18120)+4) ) << 8) +  (unsigned) (* (( (bPt) detached←v18120)+5)
                   )) << 8) +  (unsigned) (* (( (bPt) detached←v18120)+6) )) << 8) +  (unsigned) (* (( (bPt) detached←v18120)+7) ));
SOURCE(20046, 336)
                  if ((more←v18176 > 0)) {
SOURCE(20061, 327)
                     {
                        word nBytesRead←v18220;
                        word replyBytes←v18248;
SOURCE(20084, 27)
                        replyBytes←v18248 = ((word) more←v18176 << 2);
SOURCE(20113, 42)
                        (void) NewExt←P660((* (( (ptr) c←v17768)+25) ), detached←v18120, replyBytes←v18248);
SOURCE(20165, 127)
SOURCE(20167, 123)
                        {
                           W3 var←c71488;
                           var←c71488.f0 = (* (( (ptr) detached←v18120)+8) );
                           var←c71488.f1 = 0;
                           var←c71488.f2 = SGNCK(replyBytes←v18248);
                           {
/*1*/   word pd81;
/*1*/   word idx82;
/*1*/   pd81 = (* (( (ptr) (* (( (ptr) gf←c0860)+241)/* var←c71200 */  ))+14) );
/*1*/   nBytesRead←v18220 = (
/*1*/      idx82 = (word) ( *( (fPt) ((*  (ptr) pd81 ))))((* (( (ptr) c←v17768)+32) ), var←c71488, pd81),
/*1*/      SGNCK(idx82)
/*1*/      );
/*1*/   };
                           };
SOURCE(20295, 87)
                        if ((nBytesRead←v18220 != replyBytes←v18248)) {
SOURCE(20344, 15)
                           (* (( (ptr) c←v17768)+15) ) = 0;
SOURCE(20362, 20)
                           (void) XR←RaiseError((word) (( (bPt) gf←c0860)+356), 0);
                           };
                        };
                     };
SOURCE(20391, 39)
                  (void) QueueReply←P4500(c←v17768, sequenceNumber←v18148, detached←v18120);
SOURCE(20432, 5)
                  goto lab←L100096;
                  };
            case 6: 
SOURCE(20472, 828)
SOURCE(21271, 27)
               {
                  word var←c71520;
                  word mne←v54828;
                  word reply←v54860;
                  reply←v54860 = reply←v17880;
SOURCE(20490, 20)
                  mne←v54828 = 0;
SOURCE(20576, 20)
                  mne←v54828 = (*  (ptr) mEventCache←v17908 );
SOURCE(20598, 20)
                  (*  (ptr) mEventCache←v17908 ) = 0;
SOURCE(20620, 113)
                  if ((mne←v54828 == 0)) {
SOURCE(20641, 20)
                     mne←v54828 = (* (( (ptr) mEventCache←v17908)+1) );
SOURCE(20663, 20)
                     (* (( (ptr) mEventCache←v17908)+1) ) = 0;
SOURCE(20685, 48)
                     if ((mne←v54828 == 0)) {
SOURCE(20701, 32)
                        {
                           word var←c71552;
                           var←c71552 = XR←NewObject(68, (* (( (ptr) gf←c0860)+12) ));
                           (* (( (ptr) var←c71552)+4) ) = 6;
                           mne←v54828 = var←c71552;
                           };
                        };
                     };
SOURCE(20738, 30)
                  {
                     word var←c71584;
                     {
                        word var←c71616;
                        word b←v56968;
                        b←v56968 =  (unsigned) (word) (* (( (bPt) reply←v54860)+(* (( (ptr) reply←v54860)+10) )) );
                        (* (( (ptr) reply←v54860)+10) ) = ((* (( (ptr) reply←v54860)+10) ) + 1);
                        var←c71616 = b←v56968;
                        var←c71584 = BCK(var←c71616, 2);
                        };
                     (* (( (ptr) mne←v54828)+5) ) = var←c71584;
                     };
SOURCE(20770, 23)
                  {
                     word var←c71648;
                     {
                        word var←c71680;
                        word c←v59760;
                        c←v59760 = (((word)  (unsigned) (word) (* (( (bPt) reply←v54860)+(* (( (ptr) reply←v54860)+10) )) ) << 8) +  (unsigned) (word) (* (
                           ( (bPt) reply←v54860)+((* (( (ptr) reply←v54860)+10) ) + 1)) ));
                        (* (( (ptr) reply←v54860)+10) ) = ((* (( (ptr) reply←v54860)+10) ) + 2);
                        var←c71680 = c←v59760;
                        var←c71648 = var←c71680;
                        };
                     (* (( (ptr) mne←v54828)+6) ) = var←c71648;
                     };
SOURCE(20795, 31)
                  {
                     word var←c71712;
                     {
                        word var←c71744;
                        word four←v59080;
                        four←v59080 = (((word) (((word) (((word)  (unsigned) (word) (* (( (bPt) reply←v54860)+(* (( (ptr) reply←v54860)+10) )) ) << 8) + 
                         (unsigned) (word) (* (( (bPt) reply←v54860)+((* (( (ptr) reply←v54860)+10) ) + 1)) )) << 8) +  (unsigned) (word) (* (( (bPt) reply←v54860)+((* (
/*1*/   ( (ptr) reply←v54860)+10) ) + 2)) )) << 8) +  (unsigned) (word) (* (( (bPt) reply←v54860)+((* (( (ptr) reply←v54860)+10) ) + 
                           3)) ));
                        (* (( (ptr) reply←v54860)+10) ) = ((* (( (ptr) reply←v54860)+10) ) + 4);
                        var←c71744 = four←v59080;
                        var←c71712 = var←c71744;
                        };
                     (* (( (ptr) mne←v54828)+7) ) = var←c71712;
                     };
SOURCE(20828, 34)
                  {
                     word var←c71808;
                     {
                        word var←c71840;
                        word id←v58888;
                        {
                           word four←v59124;
                           four←v59124 = (((word) (((word) (((word)  (unsigned) (word) (* (( (bPt) reply←v54860)+(* (( (ptr) reply←v54860)+10) )) ) << 8) + 
                            (unsigned) (word) (* (( (bPt) reply←v54860)+((* (( (ptr) reply←v54860)+10) ) + 1)) )) << 8) +  (unsigned) (word) (* (( (bPt) reply←v54860)+((* (
/*1*/      ( (ptr) reply←v54860)+10) ) + 2)) )) << 8) +  (unsigned) (word) (* (( (bPt) reply←v54860)+((* (( (ptr) reply←v54860)+10) ) + 
/*1*/   3)) ));
                           (* (( (ptr) reply←v54860)+10) ) = ((* (( (ptr) reply←v54860)+10) ) + 4);
                           id←v58888 = four←v59124;
                           };
                        var←c71840 = id←v58888;
                        var←c71808 = var←c71840;
                        };
                     (* (( (ptr) mne←v54828)+8) ) = var←c71808;
                     };
SOURCE(20864, 41)
                  {
                     word var←c71936;
                     {
                        word var←c71968;
                        word id←v59032;
                        {
                           word four←v36040;
                           four←v36040 = (((word) (((word) (((word)  (unsigned) (word) (* (( (bPt) reply←v54860)+(* (( (ptr) reply←v54860)+10) )) ) << 8) + 
                            (unsigned) (word) (* (( (bPt) reply←v54860)+((* (( (ptr) reply←v54860)+10) ) + 1)) )) << 8) +  (unsigned) (word) (* (( (bPt) reply←v54860)+((* (
/*1*/      ( (ptr) reply←v54860)+10) ) + 2)) )) << 8) +  (unsigned) (word) (* (( (bPt) reply←v54860)+((* (( (ptr) reply←v54860)+10) ) + 
/*1*/   3)) ));
                           (* (( (ptr) reply←v54860)+10) ) = ((* (( (ptr) reply←v54860)+10) ) + 4);
                           id←v59032 = four←v36040;
                           };
                        var←c71968 = id←v59032;
                        var←c71936 = var←c71968;
                        };
                     (* (( (ptr) mne←v54828)+9) ) = var←c71936;
                     };
SOURCE(20907, 47)
                  (* (( (ptr) mne←v54828)+1) ) = (* (( (ptr) mne←v54828)+9) );
SOURCE(20956, 35)
                  {
                     word var←c72064;
                     {
                        word var←c72096;
                        word id←v58984;
                        {
                           word four←v59652;
                           four←v59652 = (((word) (((word) (((word)  (unsigned) (word) (* (( (bPt) reply←v54860)+(* (( (ptr) reply←v54860)+10) )) ) << 8) + 
                            (unsigned) (word) (* (( (bPt) reply←v54860)+((* (( (ptr) reply←v54860)+10) ) + 1)) )) << 8) +  (unsigned) (word) (* (( (bPt) reply←v54860)+((* (
/*1*/      ( (ptr) reply←v54860)+10) ) + 2)) )) << 8) +  (unsigned) (word) (* (( (bPt) reply←v54860)+((* (( (ptr) reply←v54860)+10) ) + 
/*1*/   3)) ));
                           (* (( (ptr) reply←v54860)+10) ) = ((* (( (ptr) reply←v54860)+10) ) + 4);
                           id←v58984 = four←v59652;
                           };
                        var←c72096 = id←v58984;
                        var←c72064 = var←c72096;
                        };
                     (* (( (ptr) mne←v54828)+10) ) = var←c72064;
                     };
SOURCE(20993, 36)
                  {
                     word var←c72192;
                     {
                        word var←c0889;
                        word var←c72224;
                        word c←v60144;
                        c←v60144 = (((word)  (unsigned) (word) (* (( (bPt) reply←v54860)+(* (( (ptr) reply←v54860)+10) )) ) << 8) +  (unsigned) (word) (* (
                           ( (bPt) reply←v54860)+((* (( (ptr) reply←v54860)+10) ) + 1)) ));
                        (* (( (ptr) reply←v54860)+10) ) = ((* (( (ptr) reply←v54860)+10) ) + 2);
                        var←c72224 = c←v60144;
                        var←c0889 = (var←c0889 & 4294901760) | ((word) ( (((unsigned)(var←c72224
                           ) << 16) >> 16) ));
                        var←c72192 =  (int) ( short )( (((unsigned)var←c0889 << 16) >> 16) );
                        };
                     (* (( (ptr) mne←v54828)+11) ) = var←c72192;
                     };
SOURCE(21031, 36)
                  {
                     word var←c72256;
                     {
                        word var←c0890;
                        word var←c72288;
                        word c←v60336;
                        c←v60336 = (((word)  (unsigned) (word) (* (( (bPt) reply←v54860)+(* (( (ptr) reply←v54860)+10) )) ) << 8) +  (unsigned) (word) (* (
                           ( (bPt) reply←v54860)+((* (( (ptr) reply←v54860)+10) ) + 1)) ));
                        (* (( (ptr) reply←v54860)+10) ) = ((* (( (ptr) reply←v54860)+10) ) + 2);
                        var←c72288 = c←v60336;
                        var←c0890 = (var←c0890 & 4294901760) | ((word) ( (((unsigned)(var←c72288
                           ) << 16) >> 16) ));
                        var←c72256 =  (int) ( short )( (((unsigned)var←c0890 << 16) >> 16) );
                        };
                     (* (( (ptr) mne←v54828)+12) ) = var←c72256;
                     };
SOURCE(21069, 34)
                  {
                     word var←c72320;
                     {
                        word var←c0891;
                        word var←c72352;
                        word c←v60288;
                        c←v60288 = (((word)  (unsigned) (word) (* (( (bPt) reply←v54860)+(* (( (ptr) reply←v54860)+10) )) ) << 8) +  (unsigned) (word) (* (
                           ( (bPt) reply←v54860)+((* (( (ptr) reply←v54860)+10) ) + 1)) ));
                        (* (( (ptr) reply←v54860)+10) ) = ((* (( (ptr) reply←v54860)+10) ) + 2);
                        var←c72352 = c←v60288;
                        var←c0891 = (var←c0891 & 4294901760) | ((word) ( (((unsigned)(var←c72352
                           ) << 16) >> 16) ));
                        var←c72320 =  (int) ( short )( (((unsigned)var←c0891 << 16) >> 16) );
                        };
                     (* (( (ptr) mne←v54828)+13) ) = var←c72320;
                     };
SOURCE(21105, 34)
                  {
                     word var←c72384;
                     {
                        word var←c0892;
                        word var←c72416;
                        word c←v60240;
                        c←v60240 = (((word)  (unsigned) (word) (* (( (bPt) reply←v54860)+(* (( (ptr) reply←v54860)+10) )) ) << 8) +  (unsigned) (word) (* (
                           ( (bPt) reply←v54860)+((* (( (ptr) reply←v54860)+10) ) + 1)) ));
                        (* (( (ptr) reply←v54860)+10) ) = ((* (( (ptr) reply←v54860)+10) ) + 2);
                        var←c72416 = c←v60240;
                        var←c0892 = (var←c0892 & 4294901760) | ((word) ( (((unsigned)(var←c72416
                           ) << 16) >> 16) ));
                        var←c72384 =  (int) ( short )( (((unsigned)var←c0892 << 16) >> 16) );
                        };
                     (* (( (ptr) mne←v54828)+14) ) = var←c72384;
                     };
SOURCE(21141, 54)
                  {
                     word var←c72448;
                     {
                        word var←c72480;
                        word s←v56192;
                        word k←v56224;
                        {
                           word c←v59712;
                           c←v59712 = (((word)  (unsigned) (word) (* (( (bPt) reply←v54860)+(* (( (ptr) reply←v54860)+10) )) ) << 8) +  (unsigned) (word) (* (
/*1*/   ( (bPt) reply←v54860)+((* (( (ptr) reply←v54860)+10) ) + 1)) ));
                           (* (( (ptr) reply←v54860)+10) ) = ((* (( (ptr) reply←v54860)+10) ) + 2);
                           k←v56224 = c←v59712;
                           };
                        s←v56192 = 0;
                        {
                           word long←v56256;
                           long←v56256 = k←v56224;
                           var←c72480 = long←v56256;
                           };
                        var←c72448 = var←c72480;
                        };
                     (* (( (ptr) mne←v54828)+15) ) = var←c72448;
                     };
SOURCE(21197, 31)
                  {
                     word var←c72544;
                     {
                        word var←c72576;
                        word b←v56920;
                        b←v56920 =  (unsigned) (word) (* (( (bPt) reply←v54860)+(* (( (ptr) reply←v54860)+10) )) );
                        (* (( (ptr) reply←v54860)+10) ) = ((* (( (ptr) reply←v54860)+10) ) + 1);
                        var←c72576 = b←v56920;
                        var←c72544 =  (unsigned) (var←c72576 != 0);
                        };
                     (* (( (ptr) mne←v54828)+16) ) = var←c72544;
                     };
SOURCE(21230, 23)
SOURCE(1935, 20)
                  if (( (int)(* (( (ptr) reply←v54860)+10) ) !=  (int)31)) {
SOURCE(1955, 5)
                     (void) XR←RaiseUnnamedError();
                     };
SOURCE(21255, 13)
                  var←c71520 = mne←v54828;
                  event←v17824 = var←c71520;
                  };
               break;
            case 2: 
SOURCE(21331, 32)
               event←v17824 = (word) HandleKeyPress←P1020(c←v17768, reply←v17880);
               break;
            case 3: 
SOURCE(21395, 34)
               event←v17824 = (word) HandleKeyRelease←P1080(c←v17768, reply←v17880);
               break;
            case 4: 
SOURCE(21462, 35)
               event←v17824 = (word) HandleButtonPress←P1140(c←v17768, reply←v17880);
               break;
            case 5: 
SOURCE(21532, 37)
               event←v17824 = (word) HandleButtonRelease←P1200(c←v17768, reply←v17880);
               break;
            case 7: 
SOURCE(21602, 35)
               event←v17824 = (word) HandleEnterNotify←P1260(c←v17768, reply←v17880);
               break;
            case 8: 
SOURCE(21670, 35)
               event←v17824 = (word) HandleLeaveNotify←P1320(c←v17768, reply←v17880);
               break;
            case 9: 
SOURCE(21734, 28)
               event←v17824 = (word) HandleFocusIn←P1380(reply←v17880);
               break;
            case 10: 
SOURCE(21792, 29)
               event←v17824 = (word) HandleFocusOut←P1440(reply←v17880);
               break;
            case 11: 
SOURCE(21855, 44)
               event←v17824 = (word) HandleKeymapNotify←P1500(reply←v17880, lastEvent←v17852);
               break;
            case 12: 
SOURCE(21927, 27)
               event←v17824 = (word) HandleExpose←P1560(reply←v17880);
               break;
            case 13: 
SOURCE(21992, 37)
               event←v17824 = (word) HandleGraphicsExposure←P1620(reply←v17880);
               break;
            case 14: 
SOURCE(22061, 31)
               event←v17824 = (word) HandleNoExposure←P1680(reply←v17880);
               break;
            case 15: 
SOURCE(22130, 37)
               event←v17824 = (word) HandleVisibilityNotify←P1740(reply←v17880);
               break;
            case 16: 
SOURCE(22201, 33)
               event←v17824 = (word) HandleCreateNotify←P1800(reply←v17880);
               break;
            case 17: 
SOURCE(22269, 434)
               {
                  word dne←v18452;
SOURCE(22271, 60)
                  dne←v18452 = (word) HandleDestroyNotify←P1860(reply←v17880);
SOURCE(22333, 11)
                  event←v17824 = dne←v18452;
SOURCE(22346, 39)
                  (*  (ptr) event←v17824 ) =  (unsigned) (*  (bPt) reply←v17880 );
SOURCE(22388, 20)
                  (* (( (ptr) event←v17824)+2) ) = c←v17768;
SOURCE(22410, 42)
                  {
                     word pd83;
                     pd83 = (* (( (ptr) (* (( (ptr) gf←c0860)+239)/* var←c63360 */  ))+6) );
                     (void) ( *( (fPt) ((*  (ptr) pd83 ))))(dispatchHandle←v17796, event←v17824, pd83);
                     };
SOURCE(22454, 203)
                  if ( ( ((* (( (ptr) dne←v18452)+7) ) == (* (( (ptr) dne←v18452)+6) )) ? ((*  (ptr) event←v17824 ) == 17) : 0 ) ) {
SOURCE(22619, 38)
                     {
                        word pd84;
                        pd84 = (* (( (ptr) (* (( (ptr) gf←c0860)+239)/* var←c63360 */  ))+19) );
                        (void) ( *( (fPt) ((*  (ptr) pd84 ))))(c←v17768, (* (( (ptr) dne←v18452)+7) ), pd84);
                        };
                     };
SOURCE(22681, 15)
                  lastEvent←v17852 = dne←v18452;
SOURCE(22698, 5)
                  goto lab←L100096;
                  };
            case 18: 
SOURCE(22737, 32)
               event←v17824 = (word) HandleUnmapNotify←P1920(reply←v17880);
               break;
            case 19: 
SOURCE(22800, 30)
               event←v17824 = (word) HandleMapNotify←P1980(reply←v17880);
               break;
            case 20: 
SOURCE(22862, 31)
               event←v17824 = (word) HandleMapRequest←P2040(reply←v17880);
               break;
            case 21: 
SOURCE(22929, 35)
               event←v17824 = (word) HandleReparentNotify←P2100(reply←v17880);
               break;
            case 22: 
SOURCE(23001, 36)
               event←v17824 = (word) HandleConfigureNotify←P2160(reply←v17880);
               break;
            case 23: 
SOURCE(23075, 37)
               event←v17824 = (word) HandleConfigureRequest←P2220(reply←v17880);
               break;
            case 24: 
SOURCE(23147, 34)
               event←v17824 = (word) HandleGravityNotify←P2280(reply←v17880);
               break;
            case 25: 
SOURCE(23216, 34)
               event←v17824 = (word) HandleResizeRequest←P2340(reply←v17880);
               break;
            case 26: 
SOURCE(23287, 36)
               event←v17824 = (word) HandleCirculateNotify←P2400(reply←v17880);
               break;
            case 27: 
SOURCE(23361, 37)
               event←v17824 = (word) HandleCirculateRequest←P2460(reply←v17880);
               break;
            case 28: 
SOURCE(23434, 35)
               event←v17824 = (word) HandlePropertyNotify←P2520(reply←v17880);
               break;
            case 29: 
SOURCE(23505, 38)
               event←v17824 = (word) HandleSelectionClear←P2580(c←v17768, reply←v17880);
               break;
            case 30: 
SOURCE(23581, 40)
               event←v17824 = (word) HandleSelectionRequest←P2640(c←v17768, reply←v17880);
               break;
            case 31: 
SOURCE(23658, 39)
               event←v17824 = (word) HandleSelectionNotify←P2700(c←v17768, reply←v17880);
               break;
            case 32: 
SOURCE(23733, 35)
               event←v17824 = (word) HandleColormapNotify←P2760(reply←v17880);
               break;
            case 33: 
SOURCE(23803, 34)
               event←v17824 = (word) HandleClientMessage←P2820(reply←v17880);
               break;
            case 34: 
SOURCE(23872, 31)
               event←v17824 = (word) HandleMapping←P2880(c←v17768, reply←v17880);
               break;
            case 0: 
SOURCE(23910, 140)
               {
                  word detached←v18508;
                  word sequenceNumber←v18536;
SOURCE(23919, 31)
                  {
                     word r←v54644;
SOURCE(19185, 30)
                     r←v54644 = 0;
SOURCE(19237, 9)
                     r←v54644 = reply←v17880;
SOURCE(19248, 30)
                     {
                        word var←c72640;
                        word r←v54692;
                        word rp←v54720;
                        rp←v54720 = (* (( (ptr) c←v17768)+25) );
SOURCE(4162, 283)
                        r←v54692 = 0;
SOURCE(4235, 17)
                        r←v54692 = (*  (ptr) rp←v54720 );
SOURCE(4254, 42)
                        if ((r←v54692 != 0)) {
SOURCE(4269, 19)
                           (*  (ptr) rp←v54720 ) = 0;
SOURCE(4290, 6)
                           var←c72640 = r←v54692;
                           goto lab←L100116;
                           };
SOURCE(4299, 17)
                        r←v54692 = (* (( (ptr) rp←v54720)+1) );
SOURCE(4318, 42)
                        if ((r←v54692 != 0)) {
SOURCE(4333, 19)
                           (* (( (ptr) rp←v54720)+1) ) = 0;
SOURCE(4354, 6)
                           var←c72640 = r←v54692;
                           goto lab←L100116;
                           };
SOURCE(4363, 17)
                        r←v54692 = (* (( (ptr) rp←v54720)+2) );
SOURCE(4382, 42)
                        if ((r←v54692 != 0)) {
SOURCE(4397, 19)
                           (* (( (ptr) rp←v54720)+2) ) = 0;
SOURCE(4418, 6)
                           var←c72640 = r←v54692;
                           goto lab←L100116;
                           };
SOURCE(4427, 18)
                        r←v54692 = (word) SafeNewReply←P780();
SOURCE(4162, 283)
                        var←c72640 = r←v54692;
                        lab←L100116: ;
                        reply←v17880 = var←c72640;
                        };
SOURCE(19185, 30)
                     detached←v18508 = r←v54644;
                     };
SOURCE(23952, 50)
                  sequenceNumber←v18536 = (((word)  (unsigned) (* (( (bPt) detached←v18508)+2) ) << 8) +  (unsigned) (* (( (bPt) detached←v18508)+3)
                   ));
SOURCE(24004, 39)
                  (void) QueueReply←P4500(c←v17768, sequenceNumber←v18536, detached←v18508);
SOURCE(24045, 5)
                  goto lab←L100096;
                  };
            default: 
SOURCE(24066, 45)
               (* (( (ptr) readyExtEvent←v17936)+1) ) = 0;
SOURCE(24113, 31)
               (*  (W8Pt) (( (ptr) readyExtEvent←v17936)+8) ) = (*  (W8Pt) reply←v17880 );
SOURCE(24146, 47)
               (*  (ptr) readyExtEvent←v17936 ) =  (unsigned) (*  (bPt) reply←v17880 );
SOURCE(24196, 28)
               (* (( (ptr) readyExtEvent←v17936)+2) ) = c←v17768;
SOURCE(24226, 25)
               lastEvent←v17852 = readyExtEvent←v17936;
SOURCE(24253, 106)
               {
                  word pd85;
                  pd85 = (* (( (ptr) (* (( (ptr) gf←c0860)+244)/* var←c72672 */  ))+4) );
                  if ((0 == (word) ( *( (fPt) ((*  (ptr) pd85 ))))(readyExtEvent←v17936, pd85))) {
SOURCE(24320, 39)
                     {
                        word var←c72704;
                        var←c72704 = XR←NewObject(64, (* (( (ptr) gf←c0860)+12) ));
                        (* (( (ptr) var←c72704)+4) ) = 35;
                        readyExtEvent←v17936 = var←c72704;
                        };
                     };
                  };
SOURCE(24364, 4)
               goto lab←L100096;
            };
         };
SOURCE(24373, 39)
      (*  (ptr) event←v17824 ) =  (unsigned) (*  (bPt) reply←v17880 );
SOURCE(24415, 20)
      (* (( (ptr) event←v17824)+2) ) = c←v17768;
SOURCE(24437, 17)
      lastEvent←v17852 = event←v17824;
SOURCE(24456, 42)
      {
         word pd86;
         pd86 = (* (( (ptr) (* (( (ptr) gf←c0860)+239)/* var←c63360 */  ))+6) );
         (void) ( *( (fPt) ((*  (ptr) pd86 ))))(dispatchHandle←v17796, event←v17824, pd86);
         };
      goto lab←L100096;
      };
   /* c2c skipped dead code */ 
   }

static void QueueError←P3000(c←v12036, sequenceNumber←v12064, replyText←v12092)
   word c←v12036;
   word sequenceNumber←v12064;
   word replyText←v12092;
   {
   register ptr gf←c75584 =  (ptr) &globalframe;
   word err←v18580;
   /* QueueError: */ 
SOURCE(24538, 262)
SOURCE(24633, 98)
   {
      word pd87;
      pd87 = (* (( (ptr) (* (( (ptr) gf←c75584)+245)/* var←c72736 */  ))+9) );
      err←v18580 = (word) ( *( (fPt) ((*  (ptr) pd87 ))))(replyText←v12092, c←v12036, sequenceNumber←v12064, pd87);
      };
SOURCE(24733, 67)
   {
      word pd88;
      pd88 = (* (( (ptr) (* (( (ptr) gf←c75584)+246)/* var←c72768 */  ))+64) );
      (void) ( *( (fPt) ((*  (ptr) pd88 ))))((* (( (ptr) (* (( (ptr) c←v12036)+39) ))+2) ), (*  (ptr) (* (( (ptr) c←v12036)+39)
          ) ), (* (( (ptr) (* (( (ptr) c←v12036)+39) ))+3) ), err←v18580, pd88);
      };
   }

static void KillReplies←P3060(c←v12152, wedged←v12180)
   word c←v12152;
   word wedged←v12180;
   {
   word rp←v18636;
   /* KillReplies: */ 
SOURCE(24806, 444)
SOURCE(24880, 40)
   rp←v18636 = (* (( (ptr) c←v12152)+25) );
SOURCE(24922, 328)
   if ((rp←v18636 != 0)) {
SOURCE(24937, 323)
      {
         word p←v18692;
SOURCE(24939, 29)
         p←v18692 = (* (( (ptr) rp←v18636)+8) );
SOURCE(24970, 21)
         (* (( (ptr) rp←v18636)+7) ) = 0;
SOURCE(25043, 21)
         (* (( (ptr) rp←v18636)+8) ) = 0;
SOURCE(25066, 184)
         lab←L100121: ;
         if ((p←v18692 != 0)) {
            }
         else {
            goto lab←L100119;
            };
         {
            word next←v18736;
SOURCE(25081, 23)
            next←v18736 = (*  (ptr) p←v18692 );
SOURCE(25107, 111)
            (* (( (ptr) p←v18692)+14) ) = (word) NewFakeErrorReply←P4020((* (( (ptr) p←v18692)+1) ),  ( (0 != wedged←v12180) ? 254 : 255 ) )
            ;
SOURCE(25220, 20)
            (* (( (ptr) p←v18692)+5) ) = 1;
SOURCE(25242, 8)
            p←v18692 = next←v18736;
            };
         goto lab←L100121;
         lab←L100119: ;
         };
      };
   }

static word NewReplyStuff←P3120()
   {
   register ptr gf←c75616 =  (ptr) &globalframe;
   word rp←v12240;
   /* NewReplyStuff: */ 
SOURCE(25267, 162)
SOURCE(25267, 162)
   rp←v12240 = 0;
SOURCE(25338, 27)
   rp←v12240 = XR←NewObject(68, (* (( (ptr) gf←c75616)+47) ));
SOURCE(25367, 62)
   {
      word pd89;
      pd89 = (* (( (ptr) (* (( (ptr) gf←c75616)+237)/* var←c62752 */  ))+5) );
      (void) ( *( (fPt) ((*  (ptr) pd89 ))))((word) (( (bPt) rp←v12240)+44), (* (( (ptr) gf←c75616)+4)/* replyTimeout←v3560 */  ), pd89)
      ;
      };
SOURCE(25267, 162)
   return(rp←v12240);
   }

static word ReportedSequenceNumber←P3360(c←v12708)
   word c←v12708;
   {
   word var←c12752;
   word rp←v18820;
   /* ReportedSequenceNumber: */ 
SOURCE(26079, 146)
SOURCE(26156, 40)
   rp←v18820 = (* (( (ptr) c←v12708)+25) );
SOURCE(26198, 27)
   return((* (( (ptr) rp←v18820)+10) ));
   }

static void WaitInitiatedRange←P3420(c←v12812, s←v12840, flush←v12868)
   word c←v12812;
   word s←v12840;
   word flush←v12868;
   {
   W8 var←c75648;
   /* declaration of var←c72832 skipped */ 
   /* declaration of var←c72864 skipped */ 
   word rp←v18988;
   word flushed←v19016 = 0;
   /* WaitInitiatedRange: */ 
SOURCE(26229, 735)
   {
      word tmpAddr90;
      tmpAddr90 = (word) (( (ptr) &var←c75648)+4)/* var←c72832 */ ;
      (*  (ptr) tmpAddr90 ) = ( ((word)  (fPt) Flush←P6348) );
      (* (( (ptr) tmpAddr90) + 1) ) = 1;
      };
   {
      word tmpAddr91;
      tmpAddr91 = (word) (( (ptr) &var←c75648)+6)/* var←c72864 */ ;
      (*  (ptr) tmpAddr91 ) = ( ((word)  (fPt) Wait←P6288) );
      (* (( (ptr) tmpAddr91) + 1) ) = 1;
      };
SOURCE(26720, 40)
   rp←v18988 = (* (( (ptr) c←v12812)+25) );
SOURCE(26786, 21)
   if ((rp←v18988 == 0)) {
SOURCE(26801, 6)
      return;
      };
SOURCE(26809, 12)
   {
      word c←v55176;
      word rp←v55204;
      c←v55176 = c←v12812;
      rp←v55204 = rp←v18988;
SOURCE(26809, 12)
      (void) (XR←MonitorEntry(c←v55176));
SOURCE(26388, 39)
      (* (( (ptr) rp←v55204)+9) ) = ((* (( (ptr) rp←v55204)+9) ) + 1);
      (void) (XR←MonitorExit(c←v55176));
      };
SOURCE(26823, 117)
   {
      word var←c72896;
      word rp←v18780;
      word var←c72928;
      word s1←v54956;
      lab←L100125: ;
      {
         word x92;
         word x93;
         word x94;
         rp←v18780 = (* (( (ptr) c←v12812)+25) );
SOURCE(25963, 94)
         s1←v54956 = (* (( (ptr) rp←v18780)+10) );
SOURCE(25599, 84)
         if ((s←v12840 > s1←v54956)) {
SOURCE(25614, 37)
            var←c72928 =  (unsigned) ((s←v12840 - s1←v54956) < 32767);
            }
         else {
SOURCE(25651, 32)
            var←c72928 =  (unsigned) ((s1←v54956 - s←v12840) > 32767);
            };
         if ((0 != var←c72928)) {
SOURCE(26011, 46)
            {
               word var←c72992;
               word s2←v55080;
               s2←v55080 = (* (( (ptr) c←v12812)+13) );
SOURCE(25753, 85)
               if ((s2←v55080 >= s←v12840)) {
SOURCE(25769, 37)
                  var←c72992 =  (unsigned) ((s2←v55080 - s←v12840) < 32767);
                  }
               else {
SOURCE(25806, 32)
                  var←c72992 =  (unsigned) ((s←v12840 - s2←v55080) > 32767);
                  };
               var←c72896 = var←c72992;
               };
            goto lab←L100128;
            };
SOURCE(26060, 15)
         var←c72896 = 0;
         lab←L100128: ;
         x94 =  (word) (0 != var←c72896);
         if (x94) {
            x93 =  (word) (0 != (* (( (ptr) c←v12812)+15) ));
            }
         else {
            x93 =  (word) 0;
            };
         if (x93) {
            x92 =  (word) ((* (( (ptr) c←v12812)+14) ) == 0);
            }
         else {
            x92 =  (word) 0;
            };
         if (x92) {
            }
         else {
            goto lab←L100123;
            };
         };
SOURCE(26888, 38)
      if ((0 != flush←v12868)) {
SOURCE(26903, 8)
         (void) Flush←P6348(c←v12812, (word) (( (bPt) &var←c75648)+16)/* var←c72832 */ );
SOURCE(26913, 13)
         flush←v12868 = 0;
         };
SOURCE(26929, 11)
      (void) Wait←P6288(c←v12812, rp←v18988, (word) (( (bPt) &var←c75648)+24)/* var←c72864 */ );
      goto lab←L100125;
      lab←L100123: ;
      };
SOURCE(26952, 12)
   {
      word c←v55252;
      word rp←v55280;
      c←v55252 = c←v12812;
      rp←v55280 = rp←v18988;
SOURCE(26952, 12)
      (void) (XR←MonitorEntry(c←v55252));
SOURCE(26504, 47)
      {
         word x95;
         (* (( (ptr) rp←v55280)+9) ) = (x95 = ((* (( (ptr) rp←v55280)+9) ) - 1),
            MAX((int)(word), x95, 0));
         };
      (void) (XR←MonitorExit(c←v55252));
      };
   }

static void Wait←P6288(c←v19292, rp←v19320, formal←c75680)
   word c←v19292;
   word rp←v19320;
   word formal←c75680;
   {
   formal←c75680 = (formal←c75680 - 24);
   /* Wait: */ 
SOURCE(26556, 87)
   (void) (XR←MonitorEntry(c←v19292));
SOURCE(26620, 23)
   (void) (XR←Wait(c←v19292, (word) (( (bPt) rp←v19320)+44)));
SOURCE(26556, 87)
   (void) (XR←MonitorExit(c←v19292));
   return;
   }

static void Flush←P6348(c←v19392, formal←c75744)
   word c←v19392;
   word formal←c75744;
   {
   register ptr gf←c75712 =  (ptr) &globalframe;
   formal←c75744 = (formal←c75744 - 16);
   /* Flush: */ 
SOURCE(26649, 66)
   (void) (XR←MonitorEntry(c←v19392));
SOURCE(26687, 28)
   {
      word pd96;
      if (((* (( (ptr) c←v19392)+5) ) != 0) || (0 != (* (( (ptr) c←v19392)+35) ))) {
         pd96 = (* (( (ptr) (* (( (ptr) gf←c75712)+247)/* var←c73024 */  ))+13) );
         (void) ( *( (fPt) ((*  (ptr) pd96 ))))(c←v19392, 0, pd96);
         };
      };
SOURCE(26649, 66)
   (void) (XR←MonitorExit(c←v19392));
   return;
   }

static word InitiateRoundTrip←P3480(c←v12928, flush←v12956)
   word c←v12928;
   word flush←v12956;
   {
   register ptr gf←c75776 =  (ptr) &globalframe;
   word seq←v13000;
   word rp←v19432;
   word p←v19460;
   /* InitiateRoundTrip: */ 
SOURCE(26970, 364)
   (void) (XR←MonitorEntry(c←v12928));
SOURCE(26970, 364)
   seq←v13000 = 0;
SOURCE(27070, 40)
   rp←v19432 = (* (( (ptr) c←v12928)+25) );
SOURCE(27112, 44)
   p←v19460 = (word) NewAcceptor←P3540(rp←v19432, 3);
SOURCE(27158, 18)
   {
      word pd97;
      pd97 = (* (( (ptr) (* (( (ptr) gf←c75776)+247)/* var←c73024 */  ))+17) );
      (void) ( *( (fPt) ((*  (ptr) pd97 ))))(c←v12928, 43, 0, 1, pd97);
      };
SOURCE(27194, 22)
   seq←v13000 = (* (( (ptr) c←v12928)+13) );
SOURCE(27218, 28)
   (void) ActivateAcceptor←P3660(rp←v19432, p←v19460, seq←v13000);
SOURCE(27248, 16)
   {
      word c←v55904;
      c←v55904 = c←v12928;
SOURCE(30462, 70)
      if ((((* (( (ptr) c←v55904)+4) ) + (* (( (ptr) c←v55904)+10) )) != (* (( (ptr) c←v55904)+9) ))) {
SOURCE(30507, 25)
         {
            word pd98;
            pd98 = (* (( (ptr) (* (( (ptr) gf←c75776)+247)/* var←c73024 */  ))+4) );
            (void) ( *( (fPt) ((*  (ptr) pd98 ))))(c←v55904, pd98);
            };
         };
SOURCE(30534, 22)
      (* (( (ptr) c←v55904)+5) ) = (* (( (ptr) c←v55904)+4) );
SOURCE(30558, 21)
      (* (( (ptr) c←v55904)+35) ) = 1;
      };
SOURCE(27266, 42)
   if ((0 != flush←v12956)) {
SOURCE(27280, 28)
      {
         word pd99;
         if (((* (( (ptr) c←v12928)+5) ) != 0) || (0 != (* (( (ptr) c←v12928)+35) ))) {
            pd99 = (* (( (ptr) (* (( (ptr) gf←c75776)+247)/* var←c73024 */  ))+13) );
            (void) ( *( (fPt) ((*  (ptr) pd99 ))))(c←v12928, 0, pd99);
            };
         };
      };
SOURCE(27310, 24)
   (void) DontWaitForReplies←P3840(c←v12928, p←v19460);
SOURCE(26970, 364)
   (void) (XR←MonitorExit(c←v12928));
   return(seq←v13000);
   }

static word NewAcceptor←P3540(i←v13956, case←v13984)
   word i←v13956;
   word case←v13984;
   {
   register ptr gf←c75808 =  (ptr) &globalframe;
   word var←c14040;
   word p←v19516;
   /* NewAcceptor: */ 
SOURCE(28546, 362)
SOURCE(28645, 29)
   p←v19516 = (* (( (ptr) i←v13956)+6) );
SOURCE(28678, 200)
   if ((p←v19516 == 0)) {
SOURCE(28695, 20)
      p←v19516 = XR←NewObject(68, (* (( (ptr) gf←c75808)+66) ));
SOURCE(28725, 56)
SOURCE(28726, 55)
      {
         word pd100;
         pd100 = (* (( (ptr) (* (( (ptr) gf←c75808)+237)/* var←c62752 */  ))+5) );
         (void) ( *( (fPt) ((*  (ptr) pd100 ))))((word) (( (bPt) p←v19516)+24), (* (( (ptr) gf←c75808)+4)/* replyTimeout←v3560 */  ), pd100)
         ;
         };
      }
   else {
SOURCE(28793, 24)
      (* (( (ptr) i←v13956)+6) ) = (*  (ptr) p←v19516 );
SOURCE(28820, 12)
      (*  (ptr) p←v19516 ) = 0;
SOURCE(28834, 21)
      (* (( (ptr) p←v19516)+4) ) = 0;
SOURCE(28857, 21)
      (* (( (ptr) p←v19516)+5) ) = 0;
      };
SOURCE(28883, 13)
   (* (( (ptr) p←v19516)+2) ) = case←v13984;
SOURCE(28898, 10)
   return(p←v19516);
   }

static void FreeAcceptor←P3600(i←v14100, p←v14128)
   word i←v14100;
   word p←v14128;
   {
   /* FreeAcceptor: */ 
SOURCE(28914, 185)
SOURCE(28987, 24)
   (*  (ptr) p←v14128 ) = (* (( (ptr) i←v14100)+6) );
SOURCE(29013, 19)
   (* (( (ptr) i←v14100)+6) ) = p←v14128;
SOURCE(29034, 17)
   (* (( (ptr) p←v14128)+14) ) = 0;
SOURCE(29053, 12)
   (* (( (ptr) p←v14128)+16) ) = 0;
SOURCE(29067, 32)
   (* (( (ptr) p←v14128)+12) ) = 0;
   (* (( (ptr) p←v14128)+13) ) = 0;
   }

static void ActivateAcceptor←P3660(i←v14200, p←v14228, seq←v14256)
   word i←v14200;
   word p←v14228;
   word seq←v14256;
   {
   word prev←v19560;
   /* ActivateAcceptor: */ 
SOURCE(29105, 334)
SOURCE(29201, 31)
   prev←v19560 = (* (( (ptr) i←v14200)+7) );
SOURCE(29234, 37)
   if ((0 != (* (( (ptr) p←v14228)+3) ))) {
SOURCE(29271, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(29278, 38)
   if (((*  (ptr) p←v14228 ) != 0)) {
SOURCE(29316, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(29323, 16)
   (* (( (ptr) p←v14228)+3) ) = 1;
SOURCE(29341, 18)
   (* (( (ptr) p←v14228)+1) ) = seq←v14256;
SOURCE(29361, 58)
   if ((prev←v19560 == 0)) {
SOURCE(29381, 25)
      (* (( (ptr) i←v14200)+8) ) = p←v14228;
      }
   else {
SOURCE(29406, 13)
      (*  (ptr) prev←v19560 ) = p←v14228;
      };
SOURCE(29421, 18)
   (* (( (ptr) i←v14200)+7) ) = p←v14228;
   }

static void DeActivateAcceptor←P3720(i←v14328, p←v14356)
   word i←v14328;
   word p←v14356;
   {
   word var←c73088;
   /* DeActivateAcceptor: */ 
SOURCE(29445, 294)
SOURCE(29524, 38)
   if ((0 == (* (( (ptr) p←v14356)+3) ))) {
SOURCE(29562, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(29569, 44)
   if (((* (( (ptr) i←v14328)+8) ) != p←v14356)) {
SOURCE(29613, 5)
      (void) XR←RaiseUnnamedError();
      };
SOURCE(29620, 17)
   (* (( (ptr) p←v14356)+3) ) = 0;
SOURCE(29639, 58)
   var←c73088 = (*  (ptr) p←v14356 );
   (* (( (ptr) i←v14328)+8) ) = var←c73088;
   if ((var←c73088 == 0)) {
SOURCE(29677, 20)
      (* (( (ptr) i←v14328)+7) ) = 0;
      };
SOURCE(29699, 40)
   if ((0 != (* (( (ptr) p←v14356)+4) ))) {
SOURCE(29721, 18)
      (void) FreeAcceptor←P3600(i←v14328, p←v14356);
      };
   }

static word WaitForReplies←P3780(c←v14428, p←v14456)
   word c←v14428;
   word p←v14456;
   {
   word replyText←v14500;
   /* WaitForReplies: */ 
SOURCE(29745, 393)
SOURCE(29745, 393)
   replyText←v14500 = 0;
SOURCE(29849, 182)
   lab←L100132: ;
   if ( ( (0 == (* (( (ptr) p←v14456)+5) )) ? (0 != (* (( (ptr) c←v14428)+15) )) : 0 ) ) {
      }
   else {
      goto lab←L100130;
      };
SOURCE(29909, 103)
   {
      word i←v19604;
      word var←c73120;
      word s1←v55004;
      word s2←v55032;
SOURCE(29911, 39)
      i←v19604 = (* (( (ptr) c←v14428)+25) );
SOURCE(29952, 54)
      s1←v55004 = (* (( (ptr) p←v14456)+1) );
      s2←v55032 = (* (( (ptr) i←v19604)+10) );
SOURCE(25753, 85)
      if ((s2←v55032 >= s1←v55004)) {
SOURCE(25769, 37)
         var←c73120 =  (unsigned) ((s2←v55032 - s1←v55004) < 32767);
         }
      else {
SOURCE(25806, 32)
         var←c73120 =  (unsigned) ((s1←v55004 - s2←v55032) > 32767);
         };
      if (((0 != var←c73120)
      )) {
SOURCE(30006, 6)
         (void) XR←RaiseUnnamedError();
         };
      };
SOURCE(30015, 16)
   (void) (XR←Wait(c←v14428, (word) (( (bPt) p←v14456)+24)));
   goto lab←L100132;
   lab←L100130: ;
SOURCE(30043, 20)
   (* (( (ptr) p←v14456)+4) ) = 1;
SOURCE(30065, 23)
   replyText←v14500 = (* (( (ptr) p←v14456)+14) );
SOURCE(30090, 48)
   if ((0 == (* (( (ptr) p←v14456)+3) ))) {
SOURCE(30109, 29)
      (void) FreeAcceptor←P3600((* (( (ptr) c←v14428)+25) ), p←v14456);
      };
SOURCE(29745, 393)
   return(replyText←v14500);
   }

static void DontWaitForReplies←P3840(c←v14560, p←v14588)
   word c←v14560;
   word p←v14588;
   {
   /* DontWaitForReplies: */ 
SOURCE(30144, 140)
SOURCE(30214, 20)
   (* (( (ptr) p←v14588)+4) ) = 1;
SOURCE(30236, 48)
   if ((0 == (* (( (ptr) p←v14588)+3) ))) {
SOURCE(30255, 29)
      (void) FreeAcceptor←P3600((* (( (ptr) c←v14560)+25) ), p←v14588);
      };
   }

static word NewFakeErrorReply←P4020(sequenceNumber←v14768, error←v14796)
   word sequenceNumber←v14768;
   word error←v14796;
   {
   word reply←v14840;
   word used←v19660;
   /* NewFakeErrorReply: */ 
SOURCE(30585, 331)
SOURCE(30585, 331)
   reply←v14840 = 0;
SOURCE(30680, 45)
   used←v19660 = ( (((unsigned)sequenceNumber←v14768 << 16) >> 16) );
SOURCE(30727, 22)
   reply←v14840 = (word) SafeNewReply←P780();
SOURCE(30751, 16)
   (*  (bPt) reply←v14840 ) = 0;
SOURCE(30769, 25)
   (* (( (bPt) reply←v14840)+1) ) = error←v14796;
SOURCE(30796, 60)
   (* (( (bPt) reply←v14840)+2) ) = ((word) used←v19660 >> 8);
SOURCE(30858, 58)
   (* (( (bPt) reply←v14840)+3) ) = (used←v19660 & 0377);
SOURCE(30585, 331)
   return(reply←v14840);
   }

static word FinishWithReply←P4080(c←v14900)
   word c←v14900;
   {
   register ptr gf←c75840 =  (ptr) &globalframe;
   word replyText←v14944;
   word rp←v19704;
   word p←v19732;
   /* FinishWithReply: */ 
SOURCE(30923, 307)
SOURCE(30923, 307)
   replyText←v14944 = 0;
SOURCE(31014, 40)
   rp←v19704 = (* (( (ptr) c←v14900)+25) );
SOURCE(31056, 49)
   p←v19732 = (word) NewAcceptor←P3540(rp←v19704, 4);
SOURCE(31107, 41)
   (void) ActivateAcceptor←P3660(rp←v19704, p←v19732, (* (( (ptr) c←v14900)+13) ));
SOURCE(31150, 16)
   {
      word c←v55856;
      c←v55856 = c←v14900;
SOURCE(30462, 70)
      if ((((* (( (ptr) c←v55856)+4) ) + (* (( (ptr) c←v55856)+10) )) != (* (( (ptr) c←v55856)+9) ))) {
SOURCE(30507, 25)
         {
            word pd101;
            pd101 = (* (( (ptr) (* (( (ptr) gf←c75840)+247)/* var←c73024 */  ))+4) );
            (void) ( *( (fPt) ((*  (ptr) pd101 ))))(c←v55856, pd101);
            };
         };
SOURCE(30534, 22)
      (* (( (ptr) c←v55856)+5) ) = (* (( (ptr) c←v55856)+4) );
SOURCE(30558, 21)
      (* (( (ptr) c←v55856)+35) ) = 1;
      };
SOURCE(31168, 28)
   {
      word pd102;
      if (((* (( (ptr) c←v14900)+5) ) != 0) || (0 != (* (( (ptr) c←v14900)+35) ))) {
         pd102 = (* (( (ptr) (* (( (ptr) gf←c75840)+247)/* var←c73024 */  ))+13) );
         (void) ( *( (fPt) ((*  (ptr) pd102 ))))(c←v14900, 0, pd102);
         };
      };
SOURCE(31198, 32)
   replyText←v14944 = (word) WaitForReplies←P3780(c←v14900, p←v19732);
SOURCE(30923, 307)
   return(replyText←v14944);
   }

static word DebugFinishWithReply←P4140(c←v15004)
   word c←v15004;
   {
   register ptr gf←c75872 =  (ptr) &globalframe;
   word replyText←v15048;
   word rp←v19788;
   word p←v19816;
   /* DebugFinishWithReply: */ 
SOURCE(31236, 306)
SOURCE(31236, 306)
   replyText←v15048 = 0;
SOURCE(31332, 40)
   rp←v19788 = (* (( (ptr) c←v15004)+25) );
SOURCE(31374, 43)
   p←v19816 = (word) NewAcceptor←P3540(rp←v19788, 0);
SOURCE(31419, 41)
   (void) ActivateAcceptor←P3660(rp←v19788, p←v19816, (* (( (ptr) c←v15004)+13) ));
SOURCE(31462, 16)
   {
      word c←v55808;
      c←v55808 = c←v15004;
SOURCE(30462, 70)
      if ((((* (( (ptr) c←v55808)+4) ) + (* (( (ptr) c←v55808)+10) )) != (* (( (ptr) c←v55808)+9) ))) {
SOURCE(30507, 25)
         {
            word pd103;
            pd103 = (* (( (ptr) (* (( (ptr) gf←c75872)+247)/* var←c73024 */  ))+4) );
            (void) ( *( (fPt) ((*  (ptr) pd103 ))))(c←v55808, pd103);
            };
         };
SOURCE(30534, 22)
      (* (( (ptr) c←v55808)+5) ) = (* (( (ptr) c←v55808)+4) );
SOURCE(30558, 21)
      (* (( (ptr) c←v55808)+35) ) = 1;
      };
SOURCE(31480, 28)
   {
      word pd104;
      if (((* (( (ptr) c←v15004)+5) ) != 0) || (0 != (* (( (ptr) c←v15004)+35) ))) {
         pd104 = (* (( (ptr) (* (( (ptr) gf←c75872)+247)/* var←c73024 */  ))+13) );
         (void) ( *( (fPt) ((*  (ptr) pd104 ))))(c←v15004, 0, pd104);
         };
      };
SOURCE(31510, 32)
   replyText←v15048 = (word) WaitForReplies←P3780(c←v15004, p←v19816);
SOURCE(31236, 306)
   return(replyText←v15048);
   }

static void DebugNotExpectedRepliesTRUE←P4200()
   {
   register ptr gf←c75904 =  (ptr) &globalframe;
   /* DebugNotExpectedRepliesTRUE: */ 
SOURCE(31846, 76)
SOURCE(31886, 36)
   (* (( (ptr) gf←c75904)+8)/* debugSignalOnNotExpectedReply←v5884 */  ) = 1;
   }

static void DebugNotExpectedRepliesFALSE←P4260()
   {
   register ptr gf←c75936 =  (ptr) &globalframe;
   /* DebugNotExpectedRepliesFALSE: */ 
SOURCE(31925, 78)
SOURCE(31966, 37)
   (* (( (ptr) gf←c75936)+8)/* debugSignalOnNotExpectedReply←v5884 */  ) = 0;
   }

static void ExpectedReply←P4320(c←v15240, p←v15268, replyText←v15296)
   word c←v15240;
   word p←v15268;
   word replyText←v15296;
   {
   register ptr gf←c75968 =  (ptr) &globalframe;
   /* ExpectedReply: */ 
SOURCE(32008, 1218)
SOURCE(32099, 1127)
   {
      word var←c73152;
      var←c73152 = (* (( (ptr) p←v15268)+2) );
      switch (var←c73152) {
         case 0: 
SOURCE(32136, 23)
            (* (( (ptr) p←v15268)+14) ) = replyText←v15296;
SOURCE(32161, 23)
            {
               word p←v55568;
               p←v55568 = p←v15268;
SOURCE(30351, 20)
               (* (( (ptr) p←v55568)+5) ) = 1;
SOURCE(30373, 18)
               (void) (XR←Notify((word) (( (bPt) p←v55568)+24)));
               };
SOURCE(32186, 35)
            (void) DeActivateAcceptor←P3720((* (( (ptr) c←v15240)+25) ), p←v15268);
            break;
         case 2: 
SOURCE(32238, 179)
            {
               word more←v19872;
SOURCE(32252, 41)
               if (((* (( (ptr) p←v15268)+16) ) == (* (( (ptr) gf←c75968)+10)/* doneWithMultiple←v6108 */  ))) {
SOURCE(32286, 7)
                  return;
                  };
SOURCE(32296, 51)
               {
                  word pd105;
                  pd105 = (* (( (ptr) p←v15268)+15) );
                  more←v19872 = (word) ( *( (fPt) ((*  (ptr) pd105 ))))(c←v15240, replyText←v15296, (* (( (ptr) p←v15268)+16) ), pd105);
                  };
SOURCE(32349, 65)
               if ((0 == more←v19872)) {
SOURCE(32364, 25)
                  (* (( (ptr) p←v15268)+16) ) = (* (( (ptr) gf←c75968)+10)/* doneWithMultiple←v6108 */  );
SOURCE(32391, 23)
                  {
                     word p←v55520;
                     p←v55520 = p←v15268;
SOURCE(30351, 20)
                     (* (( (ptr) p←v55520)+5) ) = 1;
SOURCE(30373, 18)
                     (void) (XR←Notify((word) (( (bPt) p←v55520)+24)));
                     };
                  };
               };
            break;
         case 1: 
SOURCE(32437, 424)
            {
               word errorMatch←v19916;
SOURCE(32439, 35)
               errorMatch←v19916 = (* (( (ptr) p←v15268)+12) );
SOURCE(32476, 330)
               if ((errorMatch←v19916 != 0)) {
SOURCE(32499, 309)
                  {
                     word tq←v19960;
                     word err←v19988;
SOURCE(32501, 25)
                     tq←v19960 = (* (( (ptr) errorMatch←v19916)+2) );
SOURCE(32528, 57)
                     err←v19988 = XR←NewObject(60, (* (( (ptr) gf←c75968)+12) ));
                     (* (( (ptr) err←v19988)+4) ) = 1;
SOURCE(32587, 22)
                     (* (( (ptr) err←v19988)+8) ) = (* (( (ptr) p←v15268)+1) );
SOURCE(32611, 18)
                     (* (( (ptr) err←v19988)+2) ) = c←v15240;
SOURCE(32631, 39)
                     (*  (ptr) err←v19988 ) =  (unsigned) (*  (bPt) replyText←v15296 );
SOURCE(32672, 25)
                     (* (( (ptr) err←v19988)+13) ) = replyText←v15296;
SOURCE(32699, 33)
                     if ((tq←v19960 == 0)) {
SOURCE(32714, 18)
                        {
                           word pd106;
                           pd106 = (* (( (ptr) (* (( (ptr) gf←c75968)+246)/* var←c72768 */  ))+63) );
                           tq←v19960 = (word) ( *( (fPt) ((*  (ptr) pd106 ))))(0, 0, 0, pd106);
                           };
                        };
SOURCE(32734, 53)
                     {
                        word pd107;
                        pd107 = (* (( (ptr) (* (( (ptr) gf←c75968)+246)/* var←c72768 */  ))+64) );
                        (void) ( *( (fPt) ((*  (ptr) pd107 ))))(tq←v19960, (*  (ptr) errorMatch←v19916 ), (* (( (ptr) errorMatch←v19916)+3) ), err←v19988, pd107)
                        ;
                        };
SOURCE(32789, 17)
                     (* (( (ptr) p←v15268)+13) ) = 0;
                     };
                  };
SOURCE(32811, 23)
               (* (( (ptr) p←v15268)+14) ) = replyText←v15296;
SOURCE(32836, 23)
               {
                  word p←v55472;
                  p←v55472 = p←v15268;
SOURCE(30351, 20)
                  (* (( (ptr) p←v55472)+5) ) = 1;
SOURCE(30373, 18)
                  (void) (XR←Notify((word) (( (bPt) p←v55472)+24)));
                  };
               };
            break;
         case 3: 
SOURCE(32883, 53)
            if (( (unsigned) (*  (bPt) replyText←v15296 ) == 1)) {
SOURCE(32910, 26)
               (void) DisposeReply←P720(c←v15240, replyText←v15296);
               };
SOURCE(32938, 35)
            (void) DeActivateAcceptor←P3720((* (( (ptr) c←v15240)+25) ), p←v15268);
SOURCE(32975, 23)
            {
               word p←v55424;
               p←v55424 = p←v15268;
SOURCE(30351, 20)
               (* (( (ptr) p←v55424)+5) ) = 1;
SOURCE(30373, 18)
               (void) (XR←Notify((word) (( (bPt) p←v55424)+24)));
               };
            break;
         case 4: 
SOURCE(33027, 129)
            if (((* (( (ptr) p←v15268)+16) ) == (* (( (ptr) gf←c75968)+70) ))) {
SOURCE(33051, 39)
               (* (( (ptr) gf←c75968)+9)/* specialDebugCount←v5996 */  ) = ((* (( (ptr) gf←c75968)+9)/* specialDebugCount←v5996 */  ) + 
               1);
SOURCE(33092, 64)
               {
                  word var←c73216;
                  {
                     word var←c73248;
                     var←c73248 = XR←NewObject(4, (* (( (ptr) gf←c75968)+48) ));
                     (*  (ptr) var←c73248 ) = (* (( (ptr) gf←c75968)+9)/* specialDebugCount←v5996 */  );
                     var←c73216 = var←c73248;
                     };
                  {
                     word pd108;
                     pd108 = (* (( (ptr) (* (( (ptr) gf←c75968)+248)/* var←c73280 */  ))+13) );
                     (void) ( *( (fPt) ((*  (ptr) pd108 ))))((* (( (ptr) gf←c75968)+71) ), (* (( (ptr) gf←c75968)+72) ), var←c73216, pd108);
                     };
                  };
               };
SOURCE(33161, 15)
            (* (( (ptr) p←v15268)+16) ) = (* (( (ptr) gf←c75968)+70) );
SOURCE(33178, 23)
            (* (( (ptr) p←v15268)+14) ) = replyText←v15296;
SOURCE(33203, 23)
            {
               word p←v55376;
               p←v55376 = p←v15268;
SOURCE(30351, 20)
               (* (( (ptr) p←v55376)+5) ) = 1;
SOURCE(30373, 18)
               (void) (XR←Notify((word) (( (bPt) p←v55376)+24)));
               };
            break;
         default: 
SOURCE(33242, 5)
            (void) XR←RaiseUnnamedError();
            break;
         };
      };
   }

static void AbsenceOfReply←P4380(c←v15356, p←v15384)
   word c←v15356;
   word p←v15384;
   {
   register ptr gf←c76000 =  (ptr) &globalframe;
   /* AbsenceOfReply: */ 
SOURCE(33282, 851)
SOURCE(33356, 730)
   {
      word var←c73312;
      var←c73312 = (* (( (ptr) p←v15384)+2) );
      switch (var←c73312) {
         case 3: 
            break;
         case 1: 
SOURCE(33417, 281)
            if (((* (( (ptr) p←v15384)+13) ) != 0)) {
SOURCE(33441, 259)
               {
                  word overMatch←v20044;
                  word tq←v20072;
                  word ev←v20100;
SOURCE(33443, 33)
                  overMatch←v20044 = (* (( (ptr) p←v15384)+13) );
SOURCE(33478, 24)
                  tq←v20072 = (* (( (ptr) overMatch←v20044)+2) );
SOURCE(33504, 50)
                  ev←v20100 = XR←NewObject(32, (* (( (ptr) gf←c76000)+12) ));
SOURCE(33556, 17)
                  (* (( (ptr) ev←v20100)+2) ) = c←v15356;
SOURCE(33575, 17)
                  (* (( (ptr) ev←v20100)+5) ) = (* (( (ptr) gf←c76000)+73) );
SOURCE(33594, 17)
                  (* (( (ptr) ev←v20100)+6) ) = (* (( (ptr) gf←c76000)+73) );
SOURCE(33613, 33)
                  if ((tq←v20072 == 0)) {
SOURCE(33628, 18)
                     {
                        word pd109;
                        pd109 = (* (( (ptr) (* (( (ptr) gf←c76000)+246)/* var←c72768 */  ))+63) );
                        tq←v20072 = (word) ( *( (fPt) ((*  (ptr) pd109 ))))(0, 0, 0, pd109);
                        };
                     };
SOURCE(33648, 50)
                  {
                     word pd110;
                     pd110 = (* (( (ptr) (* (( (ptr) gf←c76000)+246)/* var←c72768 */  ))+64) );
                     (void) ( *( (fPt) ((*  (ptr) pd110 ))))(tq←v20072, (*  (ptr) overMatch←v20044 ), (* (( (ptr) overMatch←v20044)+3) ), ev←v20100, pd110)
                     ;
                     };
                  };
               };
            break;
         case 0: 
SOURCE(33724, 58)
            (* (( (ptr) p←v15384)+14) ) = (word) NewFakeErrorReply←P4020((* (( (ptr) p←v15384)+1) ), 253);
            break;
         case 4: 
SOURCE(33809, 165)
            if (((* (( (ptr) p←v15384)+16) ) == (* (( (ptr) gf←c76000)+70) ))) {
               }
            else {
SOURCE(33916, 58)
               (* (( (ptr) p←v15384)+14) ) = (word) NewFakeErrorReply←P4020((* (( (ptr) p←v15384)+1) ), 253);
               };
            break;
         case 2: 
SOURCE(33994, 92)
            if (((* (( (ptr) p←v15384)+16) ) != (* (( (ptr) gf←c76000)+10)/* doneWithMultiple←v6108 */  ))) {
SOURCE(34028, 58)
               (* (( (ptr) p←v15384)+14) ) = (word) NewFakeErrorReply←P4020((* (( (ptr) p←v15384)+1) ), 253);
               };
            break;
         default: 
SOURCE(34103, 5)
            (void) XR←RaiseUnnamedError();
            break;
         };
      };
SOURCE(34110, 23)
   {
      word p←v55328;
      p←v55328 = p←v15384;
SOURCE(30351, 20)
      (* (( (ptr) p←v55328)+5) ) = 1;
SOURCE(30373, 18)
      (void) (XR←Notify((word) (( (bPt) p←v55328)+24)));
      };
   }

static void UnexpectedReplyOrError←P4440(c←v15444, sequenceNumber←v15472, replyText←v15500)
   word c←v15444;
   word sequenceNumber←v15472;
   word replyText←v15500;
   {
   register ptr gf←c76032 =  (ptr) &globalframe;
   /* UnexpectedReplyOrError: */ 
SOURCE(34139, 1672)
SOURCE(34243, 23)
   if ((0 == (* (( (ptr) c←v15444)+15) ))) {
SOURCE(34260, 6)
      return;
      };
SOURCE(34325, 1352)
   {
      word var←c73376;
      var←c73376 =  (unsigned) (*  (bPt) replyText←v15500 );
      if ((var←c73376 == 0)) {
         }
      else {
         if ((var←c73376 == 1)) {
SOURCE(34384, 1298)
            {
               word cPriv←v20156;
               word fix←v20184;
SOURCE(34402, 45)
               cPriv←v20156 = (* (( (ptr) c←v15444)+24) );
SOURCE(34449, 89)
               fix←v20184 = XR←NewObject(32, (* (( (ptr) gf←c76032)+60) ));
               (*  (W8Pt) fix←v20184 ) = (*  (W8Pt) replyText←v15500 );
SOURCE(34542, 36)
               (* (( (ptr) gf←c76032)+6)/* debugTheNotExpectedReply←v5828 */  ) = replyText←v15500;
SOURCE(34580, 28)
               (* (( (ptr) gf←c76032)+7)/* debugTheNotExpectedFix←v5856 */  ) = fix←v20184;
SOURCE(34610, 36)
               {
                  word pd111;
                  pd111 = (* (( (ptr) (* (( (ptr) gf←c76032)+248)/* var←c73280 */  ))+13) );
                  (void) ( *( (fPt) ((*  (ptr) pd111 ))))((* (( (ptr) gf←c76032)+71) ), (* (( (ptr) gf←c76032)+75) ), c←v15444, pd111);
                  };
SOURCE(34648, 60)
               {
                  word var←c73440;
                  {
                     word var←c73472;
                     var←c73472 = XR←NewObject(4, (* (( (ptr) gf←c76032)+48) ));
                     (*  (ptr) var←c73472 ) = SGNCK(sequenceNumber←v15472);
                     var←c73440 = var←c73472;
                     };
                  {
                     word pd112;
                     pd112 = (* (( (ptr) (* (( (ptr) gf←c76032)+248)/* var←c73280 */  ))+13) );
                     (void) ( *( (fPt) ((*  (ptr) pd112 ))))((* (( (ptr) gf←c76032)+71) ), (* (( (ptr) gf←c76032)+76) ), var←c73440, pd112);
                     };
                  };
SOURCE(34710, 38)
               {
                  word pd113;
                  pd113 = (* (( (ptr) (* (( (ptr) gf←c76032)+248)/* var←c73280 */  ))+13) );
                  (void) ( *( (fPt) ((*  (ptr) pd113 ))))((* (( (ptr) gf←c76032)+71) ), (* (( (ptr) gf←c76032)+77) ), fix←v20184, pd113);
                  };
SOURCE(34750, 732)
               {
                  word var←c73504;
                  var←c73504 = (* (( (ptr) cPriv←v20156)+79) );
                  if ((var←c73504 == 0)) {
                     goto lab←L100134;
                     };
                  if (((* (( (ptr) gf←c76032)+55) ) == XR←GetReferentType(var←c73504))) {
                     {
                        word da←v20324;
                        da←v20324 = var←c73504;
SOURCE(34801, 699)
                        {
                           word copy←v20380;
SOURCE(34803, 38)
                           copy←v20380 = XR←NewObject(16000, (* (( (ptr) gf←c76032)+55) ));
SOURCE(34843, 78)
                           {
/*1*/   register word i←v20436 = 0;
/*1*/   lab←L100138: ;
SOURCE(34895, 26)
/*1*/   (* (( (ptr) (
/*1*/         NCK((*  (bPt) copy←v20380 )),
/*1*/         copy←v20380
/*1*/         ))+i←v20436) ) = (* (( (ptr) (
/*1*/         NCK((*  (bPt) da←v20324 )),
/*1*/         da←v20324
/*1*/         ))+i←v20436) );
/*1*/   if ((i←v20436 >= 3999)) {
/*1*/      goto lab←L100135;
/*1*/      };
/*1*/   i←v20436 = (i←v20436 + 1);
/*1*/   goto lab←L100138;
/*1*/   lab←L100135: ;
/*1*/   };
SOURCE(34923, 39)
                           {
/*1*/   word pd114;
/*1*/   pd114 = (* (( (ptr) (* (( (ptr) gf←c76032)+248)/* var←c73280 */  ))+13) );
/*1*/   (void) ( *( (fPt) ((*  (ptr) pd114 ))))((* (( (ptr) gf←c76032)+71) ), (* (( (ptr) gf←c76032)+79) ), copy←v20380, pd114);
/*1*/   };
SOURCE(34964, 518)
                           {
/*1*/   word var←c73568;
/*1*/   {
/*1*/      word pd115;
/*1*/      pd115 = (* (( (ptr) (* (( (ptr) gf←c76032)+248)/* var←c73280 */  ))+11) );
/*1*/      var←c73568 = (word) ( *( (fPt) ((*  (ptr) pd115 ))))((* (( (ptr) gf←c76032)+71) ), (* (( (ptr) gf←c76032)+80) ), pd115);
/*1*/      };
/*1*/   if ((var←c73568 == 0)) {
/*1*/      goto lab←L100139;
/*1*/      };
/*1*/   if (((* (( (ptr) gf←c76032)+57) ) == XR←GetReferentType(var←c73568))) {
/*1*/      {
/*1*/         word s←v20500;
/*1*/         s←v20500 = var←c73568;
SOURCE(35034, 448)
/*1*/         {
/*1*/            word idx←v20544;
SOURCE(35036, 63)
/*1*/            idx←v20544 = (((word) sequenceNumber←v15472 % 4000) + 8000);
SOURCE(35153, 41)
/*1*/            {
/*1*/               word pd116;
/*1*/               pd116 = (* (( (ptr) (* (( (ptr) gf←c76032)+241)/* var←c71200 */  ))+93) );
/*1*/               (void) ( *( (fPt) ((*  (ptr) pd116 ))))(s←v20500, (* (( (ptr) gf←c76032)+82) ), 0, 2147483647, pd116);
/*1*/               };
SOURCE(35196, 67)
/*1*/            {
/*1*/               register word i←v20588 = 0;
/*1*/               if (( (int)i←v20588 >  (int)31)) {
/*1*/                  goto lab←L100140;
/*1*/                  };
/*1*/               lab←L100143: ;
SOURCE(35221, 42)
/*1*/               {
/*1*/                  W2 var←c73600;
/*1*/                  {
/*1*/                     W2 var←c73632;
/*1*/                     word v←v56144;
/*1*/                     v←v56144 =  (unsigned) (word) (* (( (bPt) fix←v20184)+BCK(i←v20588, 32)) );
/*1*/                     var←c73632.f0 = 5;
/*1*/                     var←c73632.f1 = v←v56144;
/*1*/                     var←c73600 = var←c73632;
/*1*/                     };
/*1*/                  {
/*1*/                     word pd117;
/*1*/                     pd117 = (* (( (ptr) (* (( (ptr) gf←c76032)+241)/* var←c71200 */  ))+61) );
/*1*/                     (void) ( *( (fPt) ((*  (ptr) pd117 ))))(s←v20500, (* (( (ptr) gf←c76032)+83) ), var←c73600, pd117);
/*1*/                     };
/*1*/                  };
/*1*/               if (( (int)i←v20588 >=  (int)31)) {
/*1*/                  goto lab←L100140;
/*1*/                  };
/*1*/               i←v20588 = (i←v20588 + 1);
/*1*/               goto lab←L100143;
/*1*/               lab←L100140: ;
/*1*/               };
SOURCE(35265, 61)
/*1*/            {
/*1*/               W2 var←c73696;
/*1*/               {
/*1*/                  word v←v56096;
/*1*/                  v←v56096 = SGNCK(sequenceNumber←v15472);
/*1*/                  var←c73696.f0 = 5;
/*1*/                  var←c73696.f1 = v←v56096;
/*1*/                  };
/*1*/               {
/*1*/                  word pd118;
/*1*/                  pd118 = (* (( (ptr) (* (( (ptr) gf←c76032)+241)/* var←c71200 */  ))+61) );
/*1*/                  (void) ( *( (fPt) ((*  (ptr) pd118 ))))(s←v20500, (* (( (ptr) gf←c76032)+84) ), var←c73696, pd118);
/*1*/                  };
/*1*/               };
SOURCE(35328, 154)
/*1*/            {
/*1*/               W2 var←c73792;
/*1*/               W2 var←c73888;
/*1*/               W2 var←c73984;
/*1*/               {
/*1*/                  W2 var←c73824;
/*1*/                  word v←v56048;
/*1*/                  {
/*1*/                     word idx119;
/*1*/                     v←v56048 = (* (( (ptr) (
/*1*/                           NCK((*  (bPt) da←v20324 )),
/*1*/                           da←v20324
/*1*/                           ))+(
/*1*/                           idx119 = (word) IOP2( % ,  (int)(idx←v20544 - 1),  (int)4000),
/*1*/                           BCK(idx119, 4000)
/*1*/                           )) );
/*1*/                     };
/*1*/                  var←c73824.f0 = 5;
/*1*/                  var←c73824.f1 = v←v56048;
/*1*/                  var←c73792 = var←c73824;
/*1*/                  };
/*1*/               {
/*1*/                  W2 var←c73920;
/*1*/                  word v←v56000;
/*1*/                  {
/*1*/                     word idx120;
/*1*/                     v←v56000 = (* (( (ptr) (
/*1*/                           NCK((*  (bPt) da←v20324 )),
/*1*/                           da←v20324
/*1*/                           ))+(
/*1*/                           idx120 = (word) IOP2( % ,  (int)idx←v20544,  (int)4000),
/*1*/                           BCK(idx120, 4000)
/*1*/                           )) );
/*1*/                     };
/*1*/                  var←c73920.f0 = 5;
/*1*/                  var←c73920.f1 = v←v56000;
/*1*/                  var←c73888 = var←c73920;
/*1*/                  };
/*1*/               {
/*1*/                  W2 var←c74016;
/*1*/                  word v←v55952;
/*1*/                  {
/*1*/                     word idx121;
/*1*/                     v←v55952 = (* (( (ptr) (
/*1*/                           NCK((*  (bPt) da←v20324 )),
/*1*/                           da←v20324
/*1*/                           ))+(
/*1*/                           idx121 = (word) IOP2( % ,  (int)(idx←v20544 + 1),  (int)4000),
/*1*/                           BCK(idx121, 4000)
/*1*/                           )) );
/*1*/                     };
/*1*/                  var←c74016.f0 = 5;
/*1*/                  var←c74016.f1 = v←v55952;
/*1*/                  var←c73984 = var←c74016;
/*1*/                  };
/*1*/               {
/*1*/                  word pd122;
/*1*/                  pd122 = (* (( (ptr) (* (( (ptr) gf←c76032)+241)/* var←c71200 */  ))+60) );
/*1*/                  (void) ( *( (fPt) ((*  (ptr) pd122 ))))(s←v20500, (* (( (ptr) gf←c76032)+85) ), var←c73792, var←c73888, var←c73984, pd122)
/*1*/                  ;
/*1*/                  };
/*1*/               };
/*1*/            };
/*1*/         };
/*1*/      }
/*1*/   else {
/*1*/      lab←L100139: ;
/*1*/      };
/*1*/   };
                           };
                        };
                     }
                  else {
                     lab←L100134: ;
                     };
                  };
SOURCE(35552, 125)
               {
                  word pd124;
                  if ((0 != (* (( (ptr) gf←c76032)+8)/* debugSignalOnNotExpectedReply←v5884 */  ))) { goto then0123;};
                  pd124 = (* (( (ptr) (* (( (ptr) gf←c76032)+248)/* var←c73280 */  ))+11) );
                  if (((word) ( *( (fPt) ((*  (ptr) pd124 ))))((* (( (ptr) gf←c76032)+71) ), (* (( (ptr) gf←c76032)+88) ), pd124) != 0)) {
                     then0123: ;
SOURCE(35649, 28)
                     (void) (XR←RaiseSignal((word) (( (bPt) gf←c76032)+360), 0, 0));
                     };
                  };
               };
            }
         else {
SOURCE(35696, 5)
            (void) XR←RaiseUnnamedError();
            };
         };
      };
SOURCE(35771, 40)
   (void) QueueError←P3000(c←v15444, sequenceNumber←v15472, replyText←v15500);
   }

static void QueueReply←P4500(c←v15560, sequenceNumber←v15588, replyText←v15616)
   word c←v15560;
   word sequenceNumber←v15588;
   word replyText←v15616;
   {
   word i←v20632;
   /* QueueReply: */ 
SOURCE(35817, 619)
   (void) (XR←MonitorEntry(c←v15560));
SOURCE(35914, 39)
   i←v20632 = (* (( (ptr) c←v15560)+25) );
SOURCE(35955, 33)
   (* (( (ptr) i←v20632)+10) ) = sequenceNumber←v15588;
SOURCE(35990, 54)
   if (( (int)(* (( (ptr) i←v20632)+9) ) >  (int)0)) {
SOURCE(36017, 27)
      (void) (XR←Broadcast((word) (( (bPt) i←v20632)+44)));
      };
SOURCE(36046, 390)
   lab←L100151: ;
SOURCE(36046, 390)
   {
      word p←v20688;
      word var←c74080;
      word s2←v54908;
SOURCE(36049, 28)
      p←v20688 = (* (( (ptr) i←v20632)+8) );
SOURCE(36079, 77)
      if ((p←v20688 == 0)) {
SOURCE(36095, 52)
         (void) UnexpectedReplyOrError←P4440(c←v15560, sequenceNumber←v15588, replyText←v15616);
SOURCE(36149, 7)
         (void) (XR←MonitorExit(c←v15560));
         return;
         };
SOURCE(36159, 108)
      if (((* (( (ptr) p←v20688)+1) ) == sequenceNumber←v15588)) {
SOURCE(36197, 30)
         (void) ExpectedReply←P4320(c←v15560, p←v20688, replyText←v15616);
SOURCE(36260, 7)
         (void) (XR←MonitorExit(c←v15560));
         return;
         };
SOURCE(36270, 117)
      s2←v54908 = (* (( (ptr) p←v20688)+1) );
SOURCE(25599, 84)
      if ((s2←v54908 > sequenceNumber←v15588)) {
SOURCE(25614, 37)
         var←c74080 =  (unsigned) ((s2←v54908 - sequenceNumber←v15588) < 32767);
         }
      else {
SOURCE(25651, 32)
         var←c74080 =  (unsigned) ((sequenceNumber←v15588 - s2←v54908) > 32767);
         };
      if ((0 != var←c74080)) {
SOURCE(36326, 52)
         (void) UnexpectedReplyOrError←P4440(c←v15560, sequenceNumber←v15588, replyText←v15616);
SOURCE(36380, 7)
         (void) (XR←MonitorExit(c←v15560));
         return;
         };
SOURCE(36390, 20)
      (void) AbsenceOfReply←P4380(c←v15560, p←v20688);
SOURCE(36412, 24)
      (void) DeActivateAcceptor←P3720(i←v20632, p←v20688);
      };
   goto lab←L100151;
   }

static void FinishWithMultipleReplies←P4560(c←v15688, callback←v15716, data←v15744)
   word c←v15688;
   word callback←v15716;
   word data←v15744;
   {
   register ptr gf←c76064 =  (ptr) &globalframe;
   word rp←v20732;
   word p←v20760;
   /* FinishWithMultipleReplies: */ 
SOURCE(36489, 367)
SOURCE(36607, 40)
   rp←v20732 = (* (( (ptr) c←v15688)+25) );
SOURCE(36649, 39)
   p←v20760 = (word) NewAcceptor←P3540(rp←v20732, 2);
SOURCE(36690, 33)
   (* (( (ptr) p←v20760)+15) ) = callback←v15716;
SOURCE(36725, 13)
   (* (( (ptr) p←v20760)+16) ) = data←v15744;
SOURCE(36740, 41)
   (void) ActivateAcceptor←P3660(rp←v20732, p←v20760, (* (( (ptr) c←v15688)+13) ));
SOURCE(36783, 16)
   {
      word c←v55760;
      c←v55760 = c←v15688;
SOURCE(30462, 70)
      if ((((* (( (ptr) c←v55760)+4) ) + (* (( (ptr) c←v55760)+10) )) != (* (( (ptr) c←v55760)+9) ))) {
SOURCE(30507, 25)
         {
            word pd125;
            pd125 = (* (( (ptr) (* (( (ptr) gf←c76064)+247)/* var←c73024 */  ))+4) );
            (void) ( *( (fPt) ((*  (ptr) pd125 ))))(c←v55760, pd125);
            };
         };
SOURCE(30534, 22)
      (* (( (ptr) c←v55760)+5) ) = (* (( (ptr) c←v55760)+4) );
SOURCE(30558, 21)
      (* (( (ptr) c←v55760)+35) ) = 1;
      };
SOURCE(36801, 28)
   {
      word pd126;
      if (((* (( (ptr) c←v15688)+5) ) != 0) || (0 != (* (( (ptr) c←v15688)+35) ))) {
         pd126 = (* (( (ptr) (* (( (ptr) gf←c76064)+247)/* var←c73024 */  ))+13) );
         (void) ( *( (fPt) ((*  (ptr) pd126 ))))(c←v15688, 0, pd126);
         };
      };
SOURCE(36831, 25)
   {
      word var←c74112;
      var←c74112 = (word) WaitForReplies←P3780(c←v15688, p←v20760);
      };
   }

static word FinishWithPartialDetailsNoErrors←P4620(c←v15816, details←v15844)
   word c←v15816;
   word details←v15844;
   {
   register ptr gf←c76096 =  (ptr) &globalframe;
   word errors←v15888;
   /* FinishWithPartialDetailsNoErrors: */ 
SOURCE(36862, 586)
SOURCE(36862, 586)
   errors←v15888 = 0;
SOURCE(37013, 16)
   {
      word c←v55712;
      c←v55712 = c←v15816;
SOURCE(30462, 70)
      if ((((* (( (ptr) c←v55712)+4) ) + (* (( (ptr) c←v55712)+10) )) != (* (( (ptr) c←v55712)+9) ))) {
SOURCE(30507, 25)
         {
            word pd127;
            pd127 = (* (( (ptr) (* (( (ptr) gf←c76096)+247)/* var←c73024 */  ))+4) );
            (void) ( *( (fPt) ((*  (ptr) pd127 ))))(c←v55712, pd127);
            };
         };
SOURCE(30534, 22)
      (* (( (ptr) c←v55712)+5) ) = (* (( (ptr) c←v55712)+4) );
SOURCE(30558, 21)
      (* (( (ptr) c←v55712)+35) ) = 1;
      };
SOURCE(37031, 417)
   if ((details←v15844 != 0)) {
SOURCE(37054, 37)
      (*  (ptr) details←v15844 ) = (* (( (ptr) c←v15816)+13) );
SOURCE(37093, 76)
      if ((0 != (* (( (ptr) details←v15844)+1) ))) {
SOURCE(37122, 39)
         errors←v15888 = (word) FinishSynchToCheckForErrors←P4860(c←v15816);
SOURCE(37163, 6)
         return(errors←v15888);
         };
SOURCE(37172, 201)
      if (((* (( (ptr) details←v15844)+3) ) != 0)) {
SOURCE(37203, 172)
         {
            word p←v20816;
SOURCE(37205, 54)
            p←v20816 = (word) NewAcceptor←P3540((* (( (ptr) c←v15816)+25) ), 1);
SOURCE(37261, 33)
            (* (( (ptr) p←v20816)+12) ) = (* (( (ptr) details←v15844)+3) );
SOURCE(37296, 51)
            (void) ActivateAcceptor←P3660((* (( (ptr) c←v15816)+25) ), p←v20816, (* (( (ptr) c←v15816)+13) ));
SOURCE(37349, 24)
            (void) DontWaitForReplies←P3840(c←v15816, p←v20816);
            };
         };
      }
   else {
SOURCE(37386, 62)
      if (((* (( (ptr) c←v15816)+23) ) > 0)) {
SOURCE(37409, 39)
         errors←v15888 = (word) FinishSynchToCheckForErrors←P4860(c←v15816);
         };
      };
SOURCE(36862, 586)
   return(errors←v15888);
   }

static word InlineFinishWithDetailsNoErrors←P4680(c←v15960, details←v15988)
   word c←v15960;
   word details←v15988;
   {
   register ptr gf←c76128 =  (ptr) &globalframe;
   word errors←v16032;
   /* InlineFinishWithDetailsNoErrors: */ 
SOURCE(37457, 704)
SOURCE(37457, 704)
   errors←v16032 = 0;
SOURCE(37611, 16)
   {
      word c←v55664;
      c←v55664 = c←v15960;
SOURCE(30462, 70)
      if ((((* (( (ptr) c←v55664)+4) ) + (* (( (ptr) c←v55664)+10) )) != (* (( (ptr) c←v55664)+9) ))) {
SOURCE(30507, 25)
         {
            word pd128;
            pd128 = (* (( (ptr) (* (( (ptr) gf←c76128)+247)/* var←c73024 */  ))+4) );
            (void) ( *( (fPt) ((*  (ptr) pd128 ))))(c←v55664, pd128);
            };
         };
SOURCE(30534, 22)
      (* (( (ptr) c←v55664)+5) ) = (* (( (ptr) c←v55664)+4) );
SOURCE(30558, 21)
      (* (( (ptr) c←v55664)+35) ) = 1;
      };
SOURCE(37629, 532)
   if ((details←v15988 != 0)) {
SOURCE(37652, 37)
      (*  (ptr) details←v15988 ) = (* (( (ptr) c←v15960)+13) );
SOURCE(37691, 76)
      if ((0 != (* (( (ptr) details←v15988)+1) ))) {
SOURCE(37720, 39)
         errors←v16032 = (word) FinishSynchToCheckForErrors←P4860(c←v15960);
SOURCE(37761, 6)
         return(errors←v16032);
         };
SOURCE(37770, 259)
      if (((* (( (ptr) details←v15988)+3) ) != 0) || ((* (( (ptr) details←v15988)+4) ) != 0)) {
SOURCE(37826, 205)
         {
            word p←v20860;
SOURCE(37828, 54)
            p←v20860 = (word) NewAcceptor←P3540((* (( (ptr) c←v15960)+25) ), 1);
SOURCE(37884, 33)
            (* (( (ptr) p←v20860)+12) ) = (* (( (ptr) details←v15988)+3) );
SOURCE(37919, 31)
            (* (( (ptr) p←v20860)+13) ) = (* (( (ptr) details←v15988)+4) );
SOURCE(37952, 51)
            (void) ActivateAcceptor←P3660((* (( (ptr) c←v15960)+25) ), p←v20860, (* (( (ptr) c←v15960)+13) ));
SOURCE(38005, 24)
            (void) DontWaitForReplies←P3840(c←v15960, p←v20860);
            };
         };
SOURCE(38034, 54)
      if (((* (( (ptr) details←v15988)+5) ) == 3)) {
SOURCE(38060, 28)
         {
            word pd129;
            if (((* (( (ptr) c←v15960)+5) ) != 0) || (0 != (* (( (ptr) c←v15960)+35) ))) {
               pd129 = (* (( (ptr) (* (( (ptr) gf←c76128)+247)/* var←c73024 */  ))+13) );
               (void) ( *( (fPt) ((*  (ptr) pd129 ))))(c←v15960, 0, pd129);
               };
            };
         };
      }
   else {
SOURCE(38099, 62)
      if (((* (( (ptr) c←v15960)+23) ) > 0)) {
SOURCE(38122, 39)
         errors←v16032 = (word) FinishSynchToCheckForErrors←P4860(c←v15960);
         };
      };
SOURCE(37457, 704)
   return(errors←v16032);
   }

static word FinishWithDetailsNoErrors←P4740(c←v16104, details←v16132)
   word c←v16104;
   word details←v16132;
   {
   word errors←v16176;
   /* FinishWithDetailsNoErrors: */ 
SOURCE(38170, 196)
SOURCE(38170, 196)
   errors←v16176 = 0;
SOURCE(38314, 52)
   errors←v16176 = (word) InlineFinishWithDetailsNoErrors←P4680(c←v16104, details←v16132);
SOURCE(38170, 196)
   return(errors←v16176);
   }

static void FinishWithDetails←P4800(c←v16248, details←v16276)
   word c←v16248;
   word details←v16276;
   {
   register ptr gf←c76160 =  (ptr) &globalframe;
   word errors←v20904;
   /* FinishWithDetails: */ 
SOURCE(38372, 232)
SOURCE(38456, 81)
   errors←v20904 = (word) InlineFinishWithDetailsNoErrors←P4680(c←v16248, details←v16276);
SOURCE(38539, 65)
   if ((errors←v20904 != 0)) {
SOURCE(38558, 46)
      {
         word pd130;
         pd130 = (* (( (ptr) (* (( (ptr) gf←c76160)+245)/* var←c72736 */  ))+10) );
         (void) ( *( (fPt) ((*  (ptr) pd130 ))))(errors←v20904, pd130);
         };
      };
   }

static word FinishSynchToCheckForErrors←P4860(c←v16336)
   word c←v16336;
   {
   register ptr gf←c76192 =  (ptr) &globalframe;
   word error←v16380;
   /* FinishSynchToCheckForErrors: */ 
SOURCE(38612, 768)
SOURCE(38612, 768)
   error←v16380 = 0;
SOURCE(38731, 649)
   if ((0 != (* (( (ptr) c←v16336)+15) ))) {
SOURCE(38747, 635)
      {
         word rp←v20960;
         word clientReply←v20988 = 0;
         word clientAcceptor←v21016 = 0;
         word extraAcceptor←v21044 = 0;
SOURCE(38749, 40)
         rp←v20960 = (* (( (ptr) c←v16336)+25) );
SOURCE(38852, 47)
         clientAcceptor←v21016 = (word) NewAcceptor←P3540(rp←v20960, 1);
SOURCE(38901, 54)
         (void) ActivateAcceptor←P3660(rp←v20960, clientAcceptor←v21016, (* (( (ptr) c←v16336)+13) ));
SOURCE(38957, 31)
         {
            word pd131;
            pd131 = (* (( (ptr) (* (( (ptr) gf←c76192)+247)/* var←c73024 */  ))+44) );
            (void) ( *( (fPt) ((*  (ptr) pd131 ))))(c←v16336, 43, 0, 1, pd131);
            };
SOURCE(39006, 16)
         {
            word c←v55616;
            c←v55616 = c←v16336;
SOURCE(30462, 70)
            if ((((* (( (ptr) c←v55616)+4) ) + (* (( (ptr) c←v55616)+10) )) != (* (( (ptr) c←v55616)+9) ))) {
SOURCE(30507, 25)
               {
                  word pd132;
                  pd132 = (* (( (ptr) (* (( (ptr) gf←c76192)+247)/* var←c73024 */  ))+4) );
                  (void) ( *( (fPt) ((*  (ptr) pd132 ))))(c←v55616, pd132);
                  };
               };
SOURCE(30534, 22)
            (* (( (ptr) c←v55616)+5) ) = (* (( (ptr) c←v55616)+4) );
SOURCE(30558, 21)
            (* (( (ptr) c←v55616)+35) ) = 1;
            };
SOURCE(39024, 46)
         extraAcceptor←v21044 = (word) NewAcceptor←P3540(rp←v20960, 3);
SOURCE(39072, 53)
         (void) ActivateAcceptor←P3660(rp←v20960, extraAcceptor←v21044, (* (( (ptr) c←v16336)+13) ));
SOURCE(39127, 28)
         {
            word pd133;
            if (((* (( (ptr) c←v16336)+5) ) != 0) || (0 != (* (( (ptr) c←v16336)+35) ))) {
               pd133 = (* (( (ptr) (* (( (ptr) gf←c76192)+247)/* var←c73024 */  ))+13) );
               (void) ( *( (fPt) ((*  (ptr) pd133 ))))(c←v16336, 0, pd133);
               };
            };
SOURCE(39157, 47)
         clientReply←v20988 = (word) WaitForReplies←P3780(c←v16336, clientAcceptor←v21016);
SOURCE(39206, 132)
         if ((clientReply←v20988 != 0)) {
SOURCE(39232, 60)
            {
               word pd134;
               pd134 = (* (( (ptr) (* (( (ptr) gf←c76192)+245)/* var←c72736 */  ))+9) );
               error←v16380 = (word) ( *( (fPt) ((*  (ptr) pd134 ))))(clientReply←v20988, c←v16336, 0, pd134);
               };
SOURCE(39294, 36)
            (void) DontWaitForReplies←P3840(c←v16336, extraAcceptor←v21044);
SOURCE(39332, 6)
            return(error←v16380);
            };
SOURCE(39343, 37)
         {
            word var←c74144;
            var←c74144 = (word) WaitForReplies←P3780(c←v16336, extraAcceptor←v21044);
            };
         };
      };
SOURCE(38612, 768)
   return(error←v16380);
   }

static void StartMainLoop←P4920(c←v16452)
   word c←v16452;
   {
   register ptr gf←c76224 =  (ptr) &globalframe;
   word cp←v21100;
   /* StartMainLoop: */ 
SOURCE(39389, 248)
SOURCE(39436, 42)
   cp←v21100 = (* (( (ptr) c←v16452)+24) );
SOURCE(39480, 30)
   (* (( (ptr) c←v16452)+25) ) = (word) NewReplyStuff←P3120();
SOURCE(39512, 125)
   if ( ( (c←v16452 != 0) ? (0 != (* (( (ptr) c←v16452)+15) )) : 0 ) ) {
SOURCE(39535, 102)
      {
         word pd135;
         pd135 = (* (( (ptr) (* (( (ptr) gf←c76224)+249)/* var←c74176 */  ))+4) );
         (void) ( *( (fPt) ((*  (ptr) pd135 ))))((word) (( (bPt) gf←c76224)+588)/* var←c61312 */ , c←v16452, 4, pd135);
         };
      };
   }

static void NoName←Q14016(formal←c0820, formal←c200000, formal←c200001, formal←c200002, formal←c200003)
   word formal←c0820;
   word formal←c200000;
   word formal←c200001;
   word formal←c200002;
   word formal←c200003;
   {
   register ptr gf←c0882 =  (ptr) &globalframe;
   if ((formal←c200001 == XR←Unwind)) {
SOURCE(18667, 22)
      {
         word var←c71136;
         var←c71136 = XR←Narrow((* (( (ptr) formal←c200000)+4) ), (* (( (ptr) gf←c0882)+62) ));
         (void) MarkDead←P960(var←c71136);
         };
      goto endif0136;
      };
   if ((formal←c200001 == XR←Aborted)) {
SOURCE(18704, 22)
      {
         word var←c71168;
         var←c71168 = XR←Narrow((* (( (ptr) formal←c200000)+4) ), (* (( (ptr) gf←c0882)+62) ));
         (void) MarkDead←P960(var←c71168);
         };
      goto endif0136;
      };
   if ((formal←c200001 == (* (( (ptr) (* (( (ptr) gf←c0882)+241)/* var←c71200 */  ))+4) ))) {
      {
         word stream←v41124;
         stream←v41124 = (*  (ptr) formal←c200003 );
SOURCE(18747, 127)
         {
            word c←v17564;
SOURCE(18749, 28)
            c←v17564 = XR←Narrow((* (( (ptr) formal←c200000)+4) ), (* (( (ptr) gf←c0882)+62) ));
SOURCE(18780, 11)
            (void) MarkDead←P960(c←v17564);
SOURCE(18793, 63)
            if ((((* (( (ptr) c←v17564)+32) ) == stream←v41124) || ((* (( (ptr) c←v17564)+32) ) == (*  (ptr) (* (( (ptr) (* (( (ptr) gf←c0882)+241)
               /* var←c71200 */  ))+40) ) ))) || ((* (( (ptr) c←v17564)+32) ) == 0)) {
SOURCE(18856, 16)
               (*  (ptr) formal←c0820 ) = 2;
               (* (( (ptr) formal←c0820)+1) ) = 2;
               return;
               };
            };
         };
      goto endif0136;
      };
   if ((formal←c200001 == (* (( (ptr) (* (( (ptr) gf←c0882)+241)/* var←c71200 */  ))+5) ))) {
      {
         word ec←v41592;
         word stream←v41620;
         word details←v41648;
         word msg←v41676;
         ec←v41592 = (*  (ptr) formal←c200003 );
         stream←v41620 = (* (( (ptr) formal←c200003)+1) );
         details←v41648 = (* (( (ptr) formal←c200003)+2) );
         msg←v41676 = (* (( (ptr) formal←c200003)+3) );
SOURCE(18889, 127)
         {
            word c←v17608;
SOURCE(18891, 28)
            c←v17608 = XR←Narrow((* (( (ptr) formal←c200000)+4) ), (* (( (ptr) gf←c0882)+62) ));
SOURCE(18922, 11)
            (void) MarkDead←P960(c←v17608);
SOURCE(18935, 63)
            if ((((* (( (ptr) c←v17608)+32) ) == stream←v41620) || ((* (( (ptr) c←v17608)+32) ) == (*  (ptr) (* (( (ptr) (* (( (ptr) gf←c0882)+241)
               /* var←c71200 */  ))+40) ) ))) || ((* (( (ptr) c←v17608)+32) ) == 0)) {
SOURCE(18998, 16)
               (*  (ptr) formal←c0820 ) = 2;
               (* (( (ptr) formal←c0820)+1) ) = 2;
               return;
               };
            };
         };
      goto endif0136;
      };
   if ((formal←c200001 == (word) (( (bPt) gf←c0882)+356))) {
SOURCE(19037, 64)
      {
         word c←v17652;
SOURCE(19039, 28)
         c←v17652 = XR←Narrow((* (( (ptr) formal←c200000)+4) ), (* (( (ptr) gf←c0882)+62) ));
SOURCE(19070, 11)
         (void) MarkDead←P960(c←v17652);
SOURCE(19083, 16)
         (*  (ptr) formal←c0820 ) = 2;
         (* (( (ptr) formal←c0820)+1) ) = 2;
         return;
         };
      };
   if ((formal←c200001 == (* (( (ptr) (* (( (ptr) gf←c0882)+242)/* var←c71232 */  ))+22) ))) {
      {
         word signal←v41896;
         word parameters←v41924;
         signal←v41896 = (*  (ptr) formal←c200003 );
         parameters←v41924 = (* (( (ptr) formal←c200003)+1) );
SOURCE(19129, 49)
         {
            word c←v17696;
SOURCE(19131, 28)
            c←v17696 = XR←Narrow((* (( (ptr) formal←c200000)+4) ), (* (( (ptr) gf←c0882)+62) ));
SOURCE(19162, 16)
            (* (( (ptr) c←v17696)+15) ) = 0;
            };
         };
      goto endif0136;
      };
   endif0136: ;
   (*  (ptr) formal←c0820 ) = 0;
   (* (( (ptr) formal←c0820)+1) ) = 0;
   return;
   }

static word NoName←Q14076(formal←c0151)
   word formal←c0151;
   {
   word var←c0153;
   word var←c0152;
   /* intermediary proc for a FORK, nArgs: 1, nRets: 0 */ 
   var←c0153 = (* (( (ptr) formal←c0151)+4) );
   var←c0152 = (* (( (ptr) formal←c0151)+2) );
   formal←c0151 = XR←ExtensionFree(formal←c0151);
   (void) ( *( (fPt) ((*  (ptr) var←c0152 ))))(var←c0153, var←c0152);
   return(0);
   }

/* file: XlImplMainLoop, module: XlImplMainLoop, compiled at: October 19, 1993 3:40:59 pm PDT */ 
extern void XR←install←XlImplMainLoop() {
   NoName←Q13896();
   }
extern void XR←run←XlImplMainLoop() { XR←Start(&globalframe); }