/* Generated with C2C (Cedar To C)*/ /* Copyright (C) 1993 by Xerox Corporation. All rights reserved. */ /* time: August 16, 1993 12:26:08 pm PDT */ /* C2C version: April 20, 1993 (sun4) */ /* ref-counting: off */ /* file: X11ViewersProcsImpl, module: X11ViewersProcsImpl */ /* switches: bcfhklnouw */ #include <cedar/InstallationSupport.h> #include <cedar/CedarExtra.h> static char versionStamp[] = "@(#)mob←version [1517355482,59180063] X11ViewersProcsImpl"; typedef unsigned word, *ptr; typedef unsigned char byte, *bPt; typedef unsigned short half, *hPt; typedef struct {word f0, f1, f2;} W3; typedef word (*fPt)(); typedef struct {word f0, f1, f2, f3, f4, f5, f6, f7;} W8; typedef W8 *W8Pt; typedef struct {word f0, f1, f2, f3, f4, f5;} W6; typedef struct {word f0, f1;} W2; typedef struct {W8 f; W8 r;} W16; typedef struct {W16 f; W2 r;} W18; typedef struct {word f0, f1, f2, f3, f4, f5, f6;} W7; typedef struct {W8 f; W7 r;} W15; typedef W15 *W15Pt; typedef struct {W8 f; word r;} W9; typedef struct {word f0, f1, f2, f3, f4;} W5; typedef struct {W8 f; W5 r;} W13; typedef W2 *W2Pt; typedef struct {word f0, f1, f2, f3;} W4; #define SOURCE(p, l) /* source p, l */ static float fc34 = 1.0; static float fc35 = 0.0; #define IOP2(op, x, y) ( (word) ((x) op (y)) ) #define BCK(idx, lim) ( ((unsigned) idx) >= ((unsigned) lim) ? (XR←RaiseBoundsFault()) : (idx) ) static float fc43 = 0.4545454; #define INEG(x) ( (word) ( - ((int) (word) (x)) ) ) #define MAX(cast, x, y) ( ( cast x) > ( cast y) ? (x) : (y) ) #define MIN(cast, x, y) ( ( cast x) < ( cast y) ? (x) : (y) ) static void NoName←Q5640(); static void X11ViewersProcsImpl←P0(); static word NewCursorRec←P60(); static word CursorRecHash←P120(); static word CursorRecEqual←P180(); static void GetCursorPattern←P240(); static void GetBigCursorPattern←P300(); static void Cleanup←P360(); static void ResetCursorCache←P2592(); static void FixCursor←P420(); static void SetCursorPattern←P480(); static word NoName←Q5700(); static void SetBigCursorPattern←P540(); static word NoName←Q5760(); static word BigCursorsSupported←P600(); static word NoName←Q5820(); static word IsBigCursorPattern←P660(); static word ToX11ViewersColor←P720(); static void SetCursorColor←P780(); static word NoName←Q5880(); static void InitData←P840(); static word GetCursorColor←P960(); static void SetGCMode←P1020(); static void SetMousePosition←P1080(); static word NoName←Q5940(); static void GetMousePosition←P1140(); static word NoName←Q6000(); static void GetDeviceSize←P1200(); static void Sound←P1260(); static word NoName←Q6060(); static void CutBufferPushTioga←P1320(); static void SetCutBuffer←P1380(); static word NoName←Q6120(); static word CutBufferGetTioga←P1440(); static word GetCutBuffer←P1500(); static word NoName←Q6180(); static word NewCursorInfo←P1560(); static word NewOrCachedCursorInfo←P1620(); static void Reset←P1680(); static word NoName←Q6240(); static void Warning←P1740(); static word AllocateColorMapIndex←P1800(); static void FreeColorMapIndex←P1860(); static void SetColorMapEntry←P1920(); static void GetColorMapEntry←P1980(); static void FastAccessStopped←P2040(); static void RegisterFastAccessStopped←P2100(); static void NoName←Q6300(); static void NoName←Q6360(); static void NoName←Q6420(); static void NoName←Q6480(); static void NoName←Q6540(); static void NoName←Q6600(); static void NoName←Q6660(); static void NoName←Q6720(); static void NoName←Q6780(); static void NoName←Q6840(); static struct {unsigned f; char r[4];} string1 = {65540, "\251\000\000"}; static struct {unsigned f; char r[4];} string2 = {131076, "\216\251\000"}; static struct {unsigned f; char r[4];} string3 = {65537, "\001\000\000"}; static struct {unsigned f; char r[16];} string4 = {917520, "\216\257\300\363\223\326\161\300\017\164\046\072\104\350\000"}; static struct {unsigned f; char r[16];} string5 = {851984, "\257\300\132\161\001\332\300\003\207\004\037\100\200\000\000"}; static struct {unsigned f; char r[4];} string6 = {196611, "\004@e"}; static struct {unsigned f; char r[16];} string7 = {851984, "\257\300\363\223\326\161\300\017\164\046\072\104\304\000\000"}; static struct {unsigned f; char r[24];} string8 = {1376277, "\007\000\001\002\007\020\001\002\000\007\036\002\004\003\002\004\014\016\015\003\001\000\000"}; static struct {unsigned f; char r[16];} string9 = {851984, "\257\300\351\276\264\273\300\115\104\320\264\121\154\000\000"}; static struct {unsigned f; char r[16];} string10 = {851984, "\257\300\132\161\001\332\300\003\207\004\037\100\214\000\000"}; static struct {unsigned f; char r[8];} string11 = {262148, "\004\200\200p\000\000\000"}; static struct {unsigned f; char r[16];} string12 = {851984, "\257\300\251\206\104\055\300\374\254\024\121\100\200\000\000"}; static struct {unsigned f; char r[40];} string13 = {2359332, "\006\015\000\001\010\001\020\001\024\001\054\001\070\001\074\001\100\100\001\100\110\001\100\114\001\100\124\001\100\130\001\100\140\004\100\377\000\000\000"}; static struct {unsigned f; char r[32];} string14 = {1900576, "X11ViewersAfterWidgetCreation\000\000"}; static struct {unsigned f; char r[32];} string15 = {1966112, "X11ViewersBeforeWindowCreation\000"}; static struct {unsigned f; char r[8];} string16 = {327688, "Tioga\000\000"}; static struct {unsigned f; char r[8];} string17 = {327688, "Ascii\000\000"}; static struct {unsigned f; char r[8];} string18 = {327688, "xterm\000\000"}; static struct {unsigned f; char r[16];} string19 = {851984, "CursorInfoRec\000\000"}; static struct {unsigned f; char r[16];} string20 = {851984, "\257\300\132\161\001\332\300\003\207\004\037\100\164\000\000"}; static struct {unsigned f; char r[16];} string21 = {851981, "\006\004\040\001\044\001\050\001\100\124\004\100\377\000\000"}; static struct {unsigned f; char r[16];} string22 = {851984, "\257\300ZT?\010\300\370;=;@h\000\000"}; static struct {unsigned f; char r[16];} string23 = {851984, "\257\300\234\176\261\135\300\105\143\312\170\100\150\000\000"}; static struct {unsigned f; char r[8];} string24 = {1479618902, "iewers"}; static struct {unsigned f; char r[16];} string25 = {851984, "\257\300\251\206\104\055\300\374\254\024\121\100\150\000\000"}; static struct {unsigned f; char r[16];} string26 = {851984, "\257\300\351\276\264\273\300\115\104\320\264\100\164\000\000"}; static struct {unsigned f; char r[16];} string27 = {851984, "\257\300\331\133\131\347\300\165\343\006\212\100\150\000\000"}; static struct {unsigned f; char r[16];} string28 = {851984, "\257\300\130\354\167\377\300\226\325\031\150\100\150\000\000"}; static struct {unsigned f; char r[16];} string29 = {851984, "\257\300\072\360\043\311\300\372\054\163\300\100\150\000\000"}; static struct {unsigned f; char r[16];} string30 = {851984, "\257\300\033\115\307\000\300\214\060\055\310\100\150\000\000"}; static struct {unsigned f; char r[16];} string31 = {851984, "\257\300\242\021\151\152\300\254\342\070\173\100\150\000\000"}; static struct {unsigned f; char r[16];} string32 = {851984, "\257\300\271\306\277\300\300\056\100\244\210\100\150\000\000"}; static struct {unsigned f; char r[28];} string33 = {1703964, "\211\016\015\103\165\162\163\157\162\111\156\146\157\122\145\143\300\251\206\104\055\300\374\254\024\121\000"}; static struct { word f0[29]; word f29; word f30; word f31; word f32; word f33; word f34; word f35; word f36; word f37; word f38; word f39; word f40; word f41; word f42; word f43; word f44; word f45; word f46; word f47; word f48; word f49; word f50; word f51; word f52; word f53; word f54; word f55; word f56; word f57; word f58; word f59; word f60; word f61; word f62; word f63; word f64; word f65; word f66; word f67; word f68; word f69; word f70; word f71; word f72; word f73; word f74; word f75; word f76; word f77; word f78; word f79; word f80; word f81; word f82; word f83; word f84; word f85; word f86; word f87; word f88; word f89; word f90; word f91; word f92; word f93; word f94; word f95; word f96; word f97; word f98[12]; } globalframe = { {0}, (word) RegisterFastAccessStopped←P2100, 0, (word) FastAccessStopped←P2040, 0, (word) GetColorMapEntry←P1980, 0, (word) SetColorMapEntry←P1920, 0, (word) FreeColorMapIndex←P1860, 0, (word) AllocateColorMapIndex←P1800, 0, (word) Warning←P1740, 0, (word) Reset←P1680, 0, (word) NewOrCachedCursorInfo←P1620, 0, (word) NewCursorInfo←P1560, 0, (word) GetCutBuffer←P1500, 0, (word) CutBufferGetTioga←P1440, 0, (word) SetCutBuffer←P1380, 0, (word) CutBufferPushTioga←P1320, 0, (word) Sound←P1260, 0, (word) GetDeviceSize←P1200, 0, (word) GetMousePosition←P1140, 0, (word) SetMousePosition←P1080, 0, (word) SetGCMode←P1020, 0, (word) GetCursorColor←P960, 0, (word) InitData←P840, 0, (word) SetCursorColor←P780, 0, (word) ToX11ViewersColor←P720, 0, (word) IsBigCursorPattern←P660, 0, (word) BigCursorsSupported←P600, 0, (word) SetBigCursorPattern←P540, 0, (word) SetCursorPattern←P480, 0, (word) FixCursor←P420, 0, (word) Cleanup←P360, 0, (word) GetBigCursorPattern←P300, 0, (word) GetCursorPattern←P240, 0, (word) CursorRecEqual←P180, 0, (word) CursorRecHash←P120, 0, (word) NewCursorRec←P60, 0, (word) X11ViewersProcsImpl←P0, {0} }; static void NoName←Q5640() { register ptr gf←c0410 = (ptr) &globalframe; word var←c41256; (* (( (ptr) gf←c0410)+11) ) = (word) XR←GetTypeIndexS((word) (&string1)); (* (( (ptr) gf←c0410)+12) ) = (word) XR←GetTypeIndex((word) &string2, 0, (word) &string3); (* (( (ptr) gf←c0410)+13) ) = (word) XR←GetTypeIndex((word) &string4, 0, (word) &string3); (* (( (ptr) gf←c0410)+14) ) = (word) XR←GetTypeIndex((word) &string5, 0, (word) &string6); (* (( (ptr) gf←c0410)+16) ) = (word) XR←GetTypeIndex((word) &string7, 0, (word) &string8); (* (( (ptr) gf←c0410)+17) ) = (word) XR←GetTypeIndexS((word) (&string9)); (* (( (ptr) gf←c0410)+18) ) = (word) XR←GetTypeIndex((word) &string10, 0, (word) &string11); (* (( (ptr) gf←c0410)+19) ) = (word) XR←GetTypeIndex((word) &string12, 0, (word) &string13); (* (ptr) (( (bPt) gf←c0410)+84) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0410)+12) ), (word) &string14); (* (ptr) (( (bPt) gf←c0410)+88) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0410)+12) ), (word) &string15); (* (ptr) (( (bPt) gf←c0410)+96) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0410)+13) ), (word) &string16); (* (ptr) (( (bPt) gf←c0410)+100) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0410)+12) ), (word) &string17); (* (ptr) (( (bPt) gf←c0410)+104) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0410)+12) ), (word) &string18); (* (ptr) (( (bPt) gf←c0410)+108) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0410)+12) ), (word) &string16); (* (ptr) (( (bPt) gf←c0410)+112) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0410)+12) ), (word) &string19); (void) XR←DeclareGlobalFrame((word) "X11ViewersProcsImpl", &globalframe, (word) XR←GetTypeIndex((word) &string20, 0, (word) &string21) , (word) (( (bPt) gf←c0410)+388)/* var←c38824 */ ); var←c41256 = (word) XR←ImportInterface((word) "ImagerColor", (word) XR←GetTypeIndexS((word) (&string22)), 32); (* (( (ptr) gf←c0410)+99)/* var←c38888 */ ) = var←c41256; (void) XR←ImportProcS(var←c41256, 201592321); (void) XR←ImportProcS(var←c41256, 67898625); var←c41256 = (word) XR←ImportInterface((word) "LRUCache", (word) XR←GetTypeIndexS((word) (&string23)), 7); (* (( (ptr) gf←c0410)+102)/* var←c39144 */ ) = var←c41256; (void) XR←ImportProcS(var←c41256, 67895555); (void) XR←ImportProcS(var←c41256, 201851394); (void) XR←ImportProcS(var←c41256, 263681); var←c41256 = (word) XR←ImportInterface((word) &string24, (word) XR←GetTypeIndexS((word) (&string25)), 8); (* (( (ptr) gf←c0410)+100)/* var←c38920 */ ) = var←c41256; var←c41256 = (word) XR←ImportInterface((word) "Xl", (word) XR←GetTypeIndexS((word) (&string26)), 218); (* (( (ptr) gf←c0410)+103)/* var←c39272 */ ) = var←c41256; (void) XR←ImportProcS(var←c41256, 822787); (void) XR←ImportProcS(var←c41256, 563970); (void) XR←ImportProcS(var←c41256, 67668226); (void) XR←ImportProcS(var←c41256, 68705285); (void) XR←ImportProcS(var←c41256, 270545672); (void) XR←ImportProcS(var←c41256, 67375105); (void) XR←ImportProcS(var←c41256, 2371849); (void) XR←ImportProcS(var←c41256, 135016195); (void) XR←ImportProcS(var←c41256, 819203); (void) XR←ImportProcS(var←c41256, 537423362); (void) XR←ImportProcS(var←c41256, 2649863); (void) XR←ImportProcS(var←c41256, 135557380); (void) XR←ImportProcS(var←c41256, 69228551); (void) XR←ImportProcS(var←c41256, 3450891); (void) XR←ImportProcS(var←c41256, 534274); (void) XR←ImportProcS(var←c41256, 4736772); (void) XR←ImportProcS(var←c41256, 1333765); var←c41256 = (word) XR←ImportInterface((word) "XlColorAccess", (word) XR←GetTypeIndexS((word) (&string27)), 3); (* (( (ptr) gf←c0410)+104)/* var←c39944 */ ) = var←c41256; (void) XR←ImportProcS(var←c41256, 67633410); var←c41256 = (word) XR←ImportInterface((word) "XlCutBuffers", (word) XR←GetTypeIndexS((word) (&string28)), 2); (* (( (ptr) gf←c0410)+105)/* var←c40648 */ ) = var←c41256; (void) XR←ImportProcS(var←c41256, 67633154); (void) XR←ImportProcS(var←c41256, 786691); var←c41256 = (word) XR←ImportInterface((word) "XlCursor", (word) XR←GetTypeIndexS((word) (&string29)), 3); (* (( (ptr) gf←c0410)+106)/* var←c40968 */ ) = var←c41256; (void) XR←ImportProcS(var←c41256, 67633410); var←c41256 = (word) XR←ImportInterface((word) "XTk", (word) XR←GetTypeIndexS((word) (&string30)), 50); (* (( (ptr) gf←c0410)+107)/* var←c41000 */ ) = var←c41256; (void) XR←ImportProcS(var←c41256, 1050628); (void) XR←ImportProcS(var←c41256, 788227); (void) XR←ImportProcS(var←c41256, 67634690); var←c41256 = (word) XR←ImportInterface((word) "XTkNotification", (word) XR←GetTypeIndexS((word) (&string31)), 2); (* (( (ptr) gf←c0410)+101)/* var←c38952 */ ) = var←c41256; (void) XR←ImportProcS(var←c41256, 1048580); var←c41256 = (word) XR←ImportInterface((word) "ViewersWorld", (word) XR←GetTypeIndexS((word) (&string32)), 26); (* (( (ptr) gf←c0410)+108)/* var←c41224 */ ) = var←c41256; var←c41256 = (word) XR←ExportInterface((word) &string24, (word) XR←GetTypeIndexS((word) (&string25)), 8); (* (( (ptr) gf←c0410)+109)/* var←c41288 */ ) = var←c41256; (void) XR←ExportType((word) "CursorInfoRec", (word) XR←GetTypeIndexS((word) (&string33)), (word) XR←GetTypeIndex((word) &string5, 0, (word) &string6) ); (void) XR←ExportProcS(var←c41256, (word) (( (bPt) gf←c0410)+172)/* var←c37960 */ , 263425, (word) "Reset"); (void) XR←ExportProcS(var←c41256, (word) (( (bPt) gf←c0410)+164)/* var←c37928 */ , 525826, (word) "Warning"); (void) XR←ExportProcS(var←c41256, (word) (( (bPt) gf←c0410)+260)/* var←c38312 */ , 263937, (word) "SetGCMode"); } static void X11ViewersProcsImpl←P0(formal←c072, formal←c070) word formal←c072; word formal←c070; { register ptr gf←c41320 = (ptr) &globalframe; /* X11ViewersProcsImpl: */ SOURCE(170, 17442) SOURCE(8760, 70) { W3 var←c38856; var←c38856.f0 = (* (ptr) &fc34 ); var←c38856.f1 = (* (ptr) &fc35 ); var←c38856.f2 = (* (ptr) &fc35 ); { word pd36; pd36 = (* (( (ptr) (* (( (ptr) gf←c41320)+99)/* var←c38888 */ ))+17) ); (* (( (ptr) gf←c41320)+10)/* defaultCursorColor←v3700 */ ) = (word) ( *( (fPt) ((* (ptr) pd36 ))))(var←c38856, pd36); }; }; SOURCE(16419, 62) (* (( (ptr) (* (ptr) (* (( (ptr) (* (( (ptr) gf←c41320)+100)/* var←c38920 */ ))+5) ) ))+5) ) = (word) (( (bPt) gf←c41320)+308) /* var←c38504 */ ; SOURCE(16483, 60) (* (( (ptr) (* (ptr) (* (( (ptr) (* (( (ptr) gf←c41320)+100)/* var←c38920 */ ))+5) ) ))+4) ) = (word) (( (bPt) gf←c41320)+300) /* var←c38472 */ ; SOURCE(16545, 62) (* (( (ptr) (* (ptr) (* (( (ptr) (* (( (ptr) gf←c41320)+100)/* var←c38920 */ ))+5) ) ))+2) ) = (word) (( (bPt) gf←c41320)+316) /* var←c38536 */ ; SOURCE(16609, 62) (* (( (ptr) (* (ptr) (* (( (ptr) (* (( (ptr) gf←c41320)+100)/* var←c38920 */ ))+5) ) ))+3) ) = (word) (( (bPt) gf←c41320)+348) /* var←c38664 */ ; SOURCE(16673, 52) (* (( (ptr) (* (ptr) (* (( (ptr) (* (( (ptr) gf←c41320)+100)/* var←c38920 */ ))+5) ) ))+6) ) = (word) (( (bPt) gf←c41320)+284) /* var←c38408 */ ; SOURCE(16727, 52) (* (( (ptr) (* (ptr) (* (( (ptr) (* (( (ptr) gf←c41320)+100)/* var←c38920 */ ))+5) ) ))+7) ) = (word) (( (bPt) gf←c41320)+268) /* var←c38344 */ ; SOURCE(16781, 56) (* (( (ptr) (* (ptr) (* (( (ptr) (* (( (ptr) gf←c41320)+100)/* var←c38920 */ ))+5) ) ))+1) ) = (word) (( (bPt) gf←c41320)+356) /* var←c38696 */ ; SOURCE(16839, 56) (* (ptr) (* (ptr) (* (( (ptr) (* (( (ptr) gf←c41320)+100)/* var←c38920 */ ))+5) ) ) ) = (word) (( (bPt) gf←c41320)+324) /* var←c38568 */ ; SOURCE(16898, 56) (* (( (ptr) (* (ptr) (* (( (ptr) (* (( (ptr) gf←c41320)+100)/* var←c38920 */ ))+5) ) ))+8) ) = (word) (( (bPt) gf←c41320)+252) /* var←c38280 */ ; SOURCE(16956, 56) (* (( (ptr) (* (ptr) (* (( (ptr) (* (( (ptr) gf←c41320)+100)/* var←c38920 */ ))+5) ) ))+9) ) = (word) (( (bPt) gf←c41320)+244) /* var←c38248 */ ; SOURCE(17014, 50) (* (( (ptr) (* (ptr) (* (( (ptr) (* (( (ptr) gf←c41320)+100)/* var←c38920 */ ))+5) ) ))+13) ) = (word) (( (bPt) gf←c41320)+236) /* var←c38216 */ ; SOURCE(17066, 34) (* (( (ptr) (* (ptr) (* (( (ptr) (* (( (ptr) gf←c41320)+100)/* var←c38920 */ ))+5) ) ))+12) ) = (word) (( (bPt) gf←c41320)+228) /* var←c38184 */ ; SOURCE(17102, 48) (* (( (ptr) (* (ptr) (* (( (ptr) (* (( (ptr) gf←c41320)+100)/* var←c38920 */ ))+5) ) ))+11) ) = (word) (( (bPt) gf←c41320)+196) /* var←c38056 */ ; SOURCE(17152, 48) (* (( (ptr) (* (ptr) (* (( (ptr) (* (( (ptr) gf←c41320)+100)/* var←c38920 */ ))+5) ) ))+10) ) = (word) (( (bPt) gf←c41320)+212) /* var←c38120 */ ; SOURCE(17202, 66) (* (( (ptr) (* (ptr) (* (( (ptr) (* (( (ptr) gf←c41320)+100)/* var←c38920 */ ))+5) ) ))+15) ) = (word) (( (bPt) gf←c41320)+156) /* var←c37896 */ ; SOURCE(17270, 58) (* (( (ptr) (* (ptr) (* (( (ptr) (* (( (ptr) gf←c41320)+100)/* var←c38920 */ ))+5) ) ))+16) ) = (word) (( (bPt) gf←c41320)+148) /* var←c37864 */ ; SOURCE(17330, 56) (* (( (ptr) (* (ptr) (* (( (ptr) (* (( (ptr) gf←c41320)+100)/* var←c38920 */ ))+5) ) ))+17) ) = (word) (( (bPt) gf←c41320)+140) /* var←c37832 */ ; SOURCE(17388, 56) (* (( (ptr) (* (ptr) (* (( (ptr) (* (( (ptr) gf←c41320)+100)/* var←c38920 */ ))+5) ) ))+18) ) = (word) (( (bPt) gf←c41320)+132) /* var←c37800 */ ; SOURCE(17448, 73) { word pd37; pd37 = (* (( (ptr) (* (( (ptr) gf←c41320)+101)/* var←c38952 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd37 ))))((* (( (ptr) gf←c41320)+22) ), (word) (( (bPt) gf←c41320)+276)/* var←c38376 */ , 0, 0, pd37) ; }; SOURCE(17523, 89) { word pd38; pd38 = (* (( (ptr) (* (( (ptr) gf←c41320)+101)/* var←c38952 */ ))+4) ); (void) ( *( (fPt) ((* (ptr) pd38 ))))((* (( (ptr) gf←c41320)+21) ), (word) (( (bPt) gf←c41320)+116)/* var←c37736 */ , 0, 0, pd38) ; }; } static word NewCursorRec←P60(w←v4968) word w←v4968; { register ptr gf←c41352 = (ptr) &globalframe; word cref←v5012; /* NewCursorRec: */ SOURCE(1234, 176) (void) (XR←MonitorEntry((word) (( (bPt) gf←c41352)+16)/* LOCK←v3056 */ )); SOURCE(1234, 176) cref←v5012 = 0; SOURCE(1300, 12) cref←v5012 = (* (( (ptr) gf←c41352)+9)/* cfree←v3280 */ ); SOURCE(1314, 11) (* (( (ptr) gf←c41352)+9)/* cfree←v3280 */ ) = 0; SOURCE(1327, 34) if ((cref←v5012 == 0)) { SOURCE(1344, 17) cref←v5012 = XR←NewObject(64, (* (( (ptr) gf←c41352)+18) )); }; SOURCE(1363, 10) (* (( (ptr) cref←v5012)+5) ) = w←v4968; SOURCE(1375, 19) XR←FillWords(&(* (W8Pt) ((( (ptr) cref←v5012)+7))), 8, 0); SOURCE(1396, 14) (* (( (ptr) cref←v5012)+15) ) = 0; SOURCE(1234, 176) (void) (XR←MonitorExit((word) (( (bPt) gf←c41352)+16)/* LOCK←v3056 */ )); return(cref←v5012); } static word CursorRecHash←P120(x←v5072) word x←v5072; { register ptr gf←c41384 = (ptr) &globalframe; word var←c5132; word c←v7912; word cnt←v7940; /* CursorRecHash: */ SOURCE(1416, 351) SOURCE(1468, 19) c←v7912 = XR←Narrow(x←v5072, (* (( (ptr) gf←c41384)+18) )); SOURCE(1489, 27) cnt←v7940 = (IOP2( * , (int)(* (ptr) c←v7912 ), (int)31) + (* (( (ptr) c←v7912)+1) )); SOURCE(1518, 224) if ( ( (0 != (* (( (ptr) c←v7912)+2) )) ? ((* (( (ptr) c←v7912)+15) ) != 0) : 0 ) ) { SOURCE(1549, 90) { register word i←v7984 = 0; if (( (int)i←v7984 > (int)15)) { goto lab←L100000; }; lab←L100003: ; SOURCE(1574, 65) { word idx39; cnt←v7940 = (IOP2( * , (int)IOP2( % , (int)cnt←v7940, (int)268435456), (int)31) + (* (( (ptr) (* (( (ptr) c←v7912)+15) ))+( idx39 = (word) IOP2( * , (int)2, (int)i←v7984), BCK(idx39, 32) )) )); }; if (( (int)i←v7984 >= (int)15)) { goto lab←L100000; }; i←v7984 = (i←v7984 + 1); goto lab←L100003; lab←L100000: ; }; } else { SOURCE(1639, 103) { register word i←v8028 = 0; if (( (int)i←v8028 > (int)7)) { goto lab←L100004; }; lab←L100007: ; { word add←v8072; SOURCE(1663, 35) { word idx40; add←v8072 = (word) (int)( * ( ( short *) ((word) (( (hPt) (( (bPt) c←v7912)+28))+( idx40 = (word) IOP2( * , (int)2, (int)i←v8028), BCK(idx40, 16) ))) )); }; SOURCE(1700, 42) cnt←v7940 = (IOP2( * , (int)IOP2( % , (int)cnt←v7940, (int)268435456), (int)31) + add←v8072); }; if (( (int)i←v8028 >= (int)7)) { goto lab←L100004; }; i←v8028 = (i←v8028 + 1); goto lab←L100007; lab←L100004: ; }; }; SOURCE(1744, 23) return(cnt←v7940); } static word CursorRecEqual←P180(x←v5192, y←v5220) word x←v5192; word y←v5220; { register ptr gf←c41416 = (ptr) &globalframe; word var←c5288; word c1←v8116; word c2←v8144; /* CursorRecEqual: */ SOURCE(1771, 406) SOURCE(1828, 20) c1←v8116 = XR←Narrow(x←v5192, (* (( (ptr) gf←c41416)+18) )); SOURCE(1850, 20) c2←v8144 = XR←Narrow(y←v5220, (* (( (ptr) gf←c41416)+18) )); SOURCE(1872, 52) if (((* (( (ptr) c1←v8116)+6) ) != (* (( (ptr) c2←v8144)+6) ))) { SOURCE(1910, 14) return(0); }; SOURCE(1926, 57) if (( (int)(* (ptr) c1←v8116 ) != (int)(* (ptr) c2←v8144 )) || ( (int)(* (( (ptr) c1←v8116)+1) ) != (int)(* (( (ptr) c2←v8144)+1) ))) { SOURCE(1969, 14) return(0); }; SOURCE(1985, 40) if (((* (( (ptr) c1←v8116)+2) ) != (* (( (ptr) c2←v8144)+2) ))) { SOURCE(2011, 14) return(0); }; SOURCE(2027, 134) if ( ( ( (0 != (* (( (ptr) c1←v8116)+2) )) ? ((* (( (ptr) c1←v8116)+15) ) != 0) : 0 ) ? ((* (( (ptr) c2←v8144)+15) ) != 0) : 0 ) ) { SOURCE(2075, 38) if ( ! XR←EqualWords((* (( (ptr) c1←v8116)+15) ), (* (( (ptr) c2←v8144)+15) ), 32)) { SOURCE(2099, 14) return(0); }; } else { SOURCE(2121, 40) if ( ! XR←EqualWords((( (ptr) c1←v8116)+7), (( (ptr) c2←v8144)+7), 8)) { SOURCE(2147, 14) return(0); }; }; SOURCE(2164, 13) return(1); } static void GetCursorPattern←P240(formal←c097, screenServerData←v5348, cursor←v5376) word formal←c097; word screenServerData←v5348; word cursor←v5376; { register ptr gf←c41448 = (ptr) &globalframe; word deltaX←v5444; word deltaY←v5472; W8 cursorPattern←v5500; word patternName←v5528; /* GetCursorPattern: */ SOURCE(2183, 463) SOURCE(2183, 463) deltaX←v5444 = 0; SOURCE(2183, 463) deltaY←v5472 = 0; SOURCE(2183, 463) patternName←v5528 = 0; SOURCE(2352, 294) { word var←c39016; var←c39016 = screenServerData←v5348; if ((var←c39016 == 0)) { goto lab←L100009; }; if (((* (( (ptr) gf←c41448)+19) ) == XR←GetReferentType(var←c39016))) { { word data←v8188; data←v8188 = var←c39016; SOURCE(2412, 242) { word ci←v8232; SOURCE(2414, 39) ci←v8232 = (* (( (ptr) data←v8188)+21) ); SOURCE(2455, 191) if ( ( (ci←v8232 != 0) ? (0 == (* (( (ptr) data←v8188)+1) )) : 0 ) ) { SOURCE(2489, 162) { word cref←v8288; SOURCE(2491, 20) cref←v8288 = (* (( (ptr) ci←v8232)+6) ); SOURCE(2513, 133) if ( ( (cref←v8288 != 0) ? (0 == (* (( (ptr) cref←v8288)+2) )) : 0 ) ) { SOURCE(2548, 18) deltaX←v5444 = (* (ptr) cref←v8288 ); SOURCE(2568, 18) deltaY←v5472 = (* (( (ptr) cref←v8288)+1) ); SOURCE(2588, 30) patternName←v5528 = (* (( (ptr) cref←v8288)+6) ); SOURCE(2620, 26) cursorPattern←v5500 = (* (W8Pt) (( (ptr) cref←v8288)+7) ); }; }; }; }; }; } else { lab←L100009: ; }; }; /* removed tail goto */ (* (ptr) formal←c097 ) = deltaX←v5444; (* (( (ptr) formal←c097)+1) ) = deltaY←v5472; (* (W8Pt) (( (ptr) formal←c097)+2) ) = cursorPattern←v5500; (* (( (ptr) formal←c097)+10) ) = patternName←v5528; return; } static void GetBigCursorPattern←P300(formal←c0108, screenServerData←v16280, cursor←v16308) word formal←c0108; word screenServerData←v16280; word cursor←v16308; { register ptr gf←c41480 = (ptr) &globalframe; word deltaX←v16352; word deltaY←v16380; word cursorPattern←v16408; word patternName←v16436; /* GetBigCursorPattern: */ SOURCE(2676, 360) SOURCE(2676, 360) cursorPattern←v16408 = 0; SOURCE(2676, 360) patternName←v16436 = 0; SOURCE(2745, 291) { word var←c39048; var←c39048 = screenServerData←v16280; if ((var←c39048 == 0)) { goto lab←L100011; }; if (((* (( (ptr) gf←c41480)+19) ) == XR←GetReferentType(var←c39048))) { { word data←v8332; data←v8332 = var←c39048; SOURCE(2805, 239) { word ci←v8376; SOURCE(2807, 39) ci←v8376 = (* (( (ptr) data←v8332)+21) ); SOURCE(2848, 188) if ( ( (ci←v8376 != 0) ? (0 == (* (( (ptr) data←v8332)+1) )) : 0 ) ) { SOURCE(2882, 159) { word cref←v8432; SOURCE(2884, 20) cref←v8432 = (* (( (ptr) ci←v8376)+6) ); SOURCE(2906, 130) if ( ( (cref←v8432 != 0) ? (0 != (* (( (ptr) cref←v8432)+2) )) : 0 ) ) { SOURCE(2940, 18) deltaX←v16352 = (* (ptr) cref←v8432 ); SOURCE(2960, 18) deltaY←v16380 = (* (( (ptr) cref←v8432)+1) ); SOURCE(2980, 24) cursorPattern←v16408 = (* (( (ptr) cref←v8432)+15) ); SOURCE(3006, 30) patternName←v16436 = (* (( (ptr) cref←v8432)+6) ); }; }; }; }; }; } else { lab←L100011: ; }; }; /* removed tail goto */ (* (ptr) formal←c0108 ) = deltaX←v16352; (* (( (ptr) formal←c0108)+1) ) = deltaY←v16380; (* (( (ptr) formal←c0108)+2) ) = cursorPattern←v16408; (* (( (ptr) formal←c0108)+3) ) = patternName←v16436; return; } static void Cleanup←P360(screenServerData←v5588) word screenServerData←v5588; { W6 var←c41512; register ptr gf←c41544 = (ptr) &globalframe; /* declaration of var←c39080 skipped */ /* Cleanup: */ SOURCE(3066, 269) { word tmpAddr41; tmpAddr41 = (word) (( (ptr) &var←c41512)+4)/* var←c39080 */ ; (* (ptr) tmpAddr41 ) = ( ((word) (fPt) ResetCursorCache←P2592) ); (* (( (ptr) tmpAddr41) + 1) ) = 1; }; SOURCE(3242, 93) { word var←c39112; var←c39112 = screenServerData←v5588; if ((var←c39112 == 0)) { goto lab←L100012; }; if (((* (( (ptr) gf←c41544)+19) ) == XR←GetReferentType(var←c39112))) { { word data←v8580; data←v8580 = var←c39112; SOURCE(3302, 33) (void) ResetCursorCache←P2592((* (( (ptr) data←v8580)+21) ), (word) (( (bPt) &var←c41512)+16)/* var←c39080 */ ); }; } else { lab←L100012: ; }; }; } static void ResetCursorCache←P2592(ci←v8552, formal←c41608) word ci←v8552; word formal←c41608; { register ptr gf←c41576 = (ptr) &globalframe; formal←c41608 = (formal←c41608 - 16); /* ResetCursorCache: */ SOURCE(3112, 124) SOURCE(3156, 80) if ((ci←v8552 != 0)) { SOURCE(3171, 65) { word h←v8624; SOURCE(3173, 29) h←v8624 = (* (( (ptr) ci←v8552)+5) ); SOURCE(3204, 32) if ((h←v8624 != 0)) { SOURCE(3218, 18) { word pd42; pd42 = (* (( (ptr) (* (( (ptr) gf←c41576)+102)/* var←c39144 */ ))+10) ); (void) ( *( (fPt) ((* (ptr) pd42 ))))(h←v8624, pd42); }; }; }; }; } static void FixCursor←P420(cref←v5660, data←v5688) word cref←v5660; word data←v5688; { register ptr gf←c41640 = (ptr) &globalframe; word w←v8668; word axc←v8696; word xc←v8724; /* FixCursor: */ SOURCE(3356, 430) SOURCE(3413, 22) w←v8668 = (* (( (ptr) cref←v5660)+5) ); SOURCE(3437, 44) axc←v8696 = (* (( (ptr) cref←v5660)+4) ); SOURCE(3484, 43) { word xc←v37560; word data←v37592; data←v37592 = data←v5688; SOURCE(8833, 237) xc←v37560 = 0; SOURCE(8921, 22) xc←v37560 = (* (( (ptr) data←v37592)+15) ); SOURCE(8945, 125) if ((xc←v37560 == 0)) { SOURCE(8963, 62) { word var←c39208; var←c39208 = (word) ToX11ViewersColor←P720((* (( (ptr) gf←c41640)+10)/* defaultCursorColor←v3700 */ ), (* (ptr) &fc43 )) ; xc←v37560 = var←c39208; (* (( (ptr) data←v37592)+15) ) = var←c39208; }; SOURCE(9027, 43) (* (( (ptr) data←v37592)+14) ) = (* (( (ptr) gf←c41640)+10)/* defaultCursorColor←v3700 */ ); }; SOURCE(8833, 237) xc←v8724 = xc←v37560; }; SOURCE(3529, 155) if ((axc←v8696 != xc←v8724)) { SOURCE(3546, 138) if ((axc←v8696 == 0) || ! XR←EqualWords(axc←v8696, xc←v8724, 3)) { SOURCE(3576, 34) (* (( (ptr) cref←v5660)+4) ) = xc←v8724; axc←v8696 = xc←v8724; SOURCE(3612, 72) { word pd44; pd44 = (* (( (ptr) (* (( (ptr) gf←c41640)+103)/* var←c39272 */ ))+94) ); (void) ( *( (fPt) ((* (ptr) pd44 ))))((* (( (ptr) w←v8668)+34) ), (* (( (ptr) cref←v5660)+3) ), axc←v8696, (* (ptr) (* ( ( (ptr) (* (( (ptr) gf←c41640)+103)/* var←c39272 */ ))+182) ) ), 0, pd44); }; }; }; SOURCE(3690, 72) { W18 var←c0125; W15 var←c39304; (* (ptr) (word) &var←c0125 ) = (* (( (ptr) w←v8668)+34) ); (* (( (ptr) (word) &var←c0125) + 1) ) = (* (( (ptr) w←v8668)+35) ); (* (ptr) &var←c39304 ) = (word) -1; (* (( (ptr) &var←c39304)+1) ) = (word) -1; (* (( (ptr) &var←c39304)+2) ) = (word) -1; (* (( (ptr) &var←c39304)+3) ) = (word) -1; (* (( (ptr) &var←c39304)+4) ) = 11; (* (( (ptr) &var←c39304)+5) ) = 11; (* (( (ptr) &var←c39304)+6) ) = 3; (* (( (ptr) &var←c39304)+7) ) = (word) -1; (* (( (ptr) &var←c39304)+8) ) = (word) -1; (* (( (ptr) &var←c39304)+9) ) = 2; (* (( (ptr) &var←c39304)+10) ) = 2; (* (( (ptr) &var←c39304)+11) ) = 0; (* (( (ptr) &var←c39304)+12) ) = 0; (* (( (ptr) &var←c39304)+13) ) = (word) -1; (* (( (ptr) &var←c39304)+14) ) = (* (( (ptr) cref←v5660)+3) ); (* (W15Pt) (( (ptr) (word) &var←c0125) + 2) ) = var←c39304; (* (( (ptr) (word) &var←c0125) + 17) ) = 0; { word pd45; pd45 = (* (( (ptr) (* (( (ptr) gf←c41640)+103)/* var←c39272 */ ))+75) ); (void) ( *( (fPt) ((* (ptr) pd45 ))))((word) (&var←c0125), pd45); }; }; SOURCE(3764, 22) { word pd46; pd46 = (* (( (ptr) (* (( (ptr) gf←c41640)+103)/* var←c39272 */ ))+43) ); (void) ( *( (fPt) ((* (ptr) pd46 ))))((* (( (ptr) w←v8668)+34) ), 0, pd46); }; } static void SetCursorPattern←P480(formal←c0495, formal←c0496, formal←c0497, formal←c0498, formal←c0499, cursor←v5888) word formal←c0495; word formal←c0496; word formal←c0497; W8 formal←c0498; word formal←c0499; word cursor←v5888; { W16 var←c41672; /* declaration of screenServerData←v5748 skipped */ /* declaration of deltaX←v5776 skipped */ /* declaration of deltaY←v5804 skipped */ /* declaration of cursorPattern←v5832 skipped */ /* declaration of patternName←v5860 skipped */ (* (( (ptr) &var←c41672)+4)/* screenServerData←v5748 */ ) = formal←c0495; (* (( (ptr) &var←c41672)+5)/* deltaX←v5776 */ ) = formal←c0496; (* (( (ptr) &var←c41672)+6)/* deltaY←v5804 */ ) = formal←c0497; (* (W8Pt) (( (ptr) &var←c41672)+7)/* cursorPattern←v5832 */ ) = formal←c0498; (* (( (ptr) &var←c41672)+15)/* patternName←v5860 */ ) = formal←c0499; /* SetCursorPattern: */ SOURCE(3792, 1555) SOURCE(3938, 1409) SOURCE(3940, 1363) { word var←c01; { word var←c0463; var←c0463 = (word) &var←c41672; var←c01 = (word) XR←Enable(( ((word) (fPt) NoName←Q5700) ), ( ((word) (fPt) NoName←Q6840) ), var←c0463); }; if ((var←c01 == 2)) { goto lab←L100014; } else { if ((var←c01 == 1)) { goto lab←L02; }; }; }; goto lab←L100023; lab←L100014: ; lab←L100023: ; lab←L02: ; return; } static word NoName←Q5700(formal←c0422) word formal←c0422; { register ptr gf←c0421 = (ptr) &globalframe; SOURCE(4029, 1274) { word var←c39336; var←c39336 = (* (( (ptr) formal←c0422)+4) ); if ((var←c39336 == 0)) { goto lab←L100017; }; if (((* (( (ptr) gf←c0421)+19) ) == XR←GetReferentType(var←c39336))) { { word data←v8792; data←v8792 = var←c39336; SOURCE(4089, 1222) { word ci←v8836; SOURCE(4091, 32) ci←v8836 = (* (( (ptr) data←v8792)+21) ); SOURCE(4125, 1178) if ( ( (ci←v8836 != 0) ? (0 == (* (( (ptr) data←v8792)+1) )) : 0 ) ) { SOURCE(4159, 1149) { word w←v8880; SOURCE(4161, 27) w←v8880 = (* (( (ptr) data←v8792)+4) ); SOURCE(4190, 1113) if ( ( ( (w←v8880 != 0) ? ((* (( (ptr) w←v8880)+38) ) == 0) : 0 ) ? ((* (( (ptr) w←v8880)+37) ) == 0) : 0 ) ) { SOURCE(4252, 1053) { word used←v8924 = 0; word insert←v8952; word cref←v8980; SOURCE(4280, 28) cref←v8980 = (word) NewCursorRec←P60(w←v8880); SOURCE(4310, 18) (* (( (ptr) cref←v8980)+2) ) = 0; SOURCE(4330, 18) (* (ptr) cref←v8980 ) = (* (( (ptr) formal←c0422)+5) ); SOURCE(4350, 18) (* (( (ptr) cref←v8980)+1) ) = (* (( (ptr) formal←c0422)+6) ); SOURCE(4370, 26) (* (W8Pt) (( (ptr) cref←v8980)+7) ) = (* (W8Pt) (( (ptr) formal←c0422)+7) ); SOURCE(4398, 30) (* (( (ptr) cref←v8980)+6) ) = (* (( (ptr) formal←c0422)+15) ); SOURCE(4430, 63) { /*1*/ W3 var←c39368; /*1*/ { /*1*/ word pd47; /*1*/ pd47 = (* (( (ptr) (* (( (ptr) gf←c0421)+102)/* var←c39144 */ ))+6) ); /*1*/ (void) ( *( (fPt) ((* (ptr) pd47 ))))((word) &var←c39368, (* (( (ptr) ci←v8836)+5) ), cref←v8980, pd47); /*1*/ }; /*1*/ used←v8924 = var←c39368.f2; /*1*/ insert←v8952 = var←c39368.f1; /*1*/ }; SOURCE(4495, 50) if ((0 == insert←v8952)) { SOURCE(4512, 12) /*1*/ (* (( (ptr) gf←c0421)+9)/* cfree←v3280 */ ) = cref←v8980; SOURCE(4526, 19) /*1*/ cref←v8980 = XR←Narrow(used←v8924, (* (( (ptr) gf←c0421)+18) )); /*1*/ }; SOURCE(4548, 604) if (((* (( (ptr) cref←v8980)+3) ) == 0)) { SOURCE(4591, 568) /*1*/ { /*1*/ W8 space←v9036; SOURCE(4632, 61) /*1*/ { /*1*/ register word i←v9116 = 0; /*1*/ if (( (int)i←v9116 > (int)15)) { /*1*/ goto lab←L100018; /*1*/ }; /*1*/ lab←L100021: ; SOURCE(4661, 32) /*1*/ (* (( (hPt) &space←v9036)+BCK(i←v9116, 16)) ) = (word) (* ((( (hPt) cref←v8980)+14)+BCK(i←v9116, 16)) ); /*1*/ if (( (int)i←v9116 >= (int)15)) { /*1*/ goto lab←L100018; /*1*/ }; /*1*/ i←v9116 = (i←v9116 + 1); /*1*/ goto lab←L100021; /*1*/ lab←L100018: ; /*1*/ }; SOURCE(4695, 154) /*1*/ { /*1*/ W2 var←c39400; /*1*/ W2 var←c39432; /*1*/ var←c39400.f0 = 16; /*1*/ var←c39400.f1 = 16; /*1*/ var←c39432.f0 = 0; /*1*/ var←c39432.f1 = 0; /*1*/ { /*1*/ word pd48; /*1*/ pd48 = (* (( (ptr) (* (( (ptr) gf←c0421)+103)/* var←c39272 */ ))+172) ); /*1*/ (void) ( *( (fPt) ((* (ptr) pd48 ))))((* (( (ptr) (* (( (ptr) cref←v8980)+5) ))+34) ), (* (( (ptr) ci←v8836)+3) ), (* (( (ptr) ci←v8836)+2) /*1*/ ), var←c39400, var←c39432, (word) &space←v9036 /*1*/ , 0, 0, 2, 1, 0, pd48); /*1*/ }; /*1*/ }; SOURCE(4851, 303) /*1*/ { /*1*/ word xc←v9160; /*1*/ W2 hot←v9188; SOURCE(4857, 43) /*1*/ { /*1*/ word xc←v37480; /*1*/ word data←v37512; /*1*/ data←v37512 = data←v8792; SOURCE(8833, 237) /*1*/ xc←v37480 = 0; SOURCE(8921, 22) /*1*/ xc←v37480 = (* (( (ptr) data←v37512)+15) ); SOURCE(8945, 125) /*1*/ if ((xc←v37480 == 0)) { SOURCE(8963, 62) /*1*/ { /*1*/ word var←c39496; /*1*/ var←c39496 = (word) ToX11ViewersColor←P720((* (( (ptr) gf←c0421)+10)/* defaultCursorColor←v3700 */ ), (* (ptr) &fc43 )) /*1*/ ; /*1*/ xc←v37480 = var←c39496; /*1*/ (* (( (ptr) data←v37512)+15) ) = var←c39496; /*1*/ }; SOURCE(9027, 43) /*1*/ (* (( (ptr) data←v37512)+14) ) = (* (( (ptr) gf←c0421)+10)/* defaultCursorColor←v3700 */ ); /*1*/ }; SOURCE(8833, 237) /*1*/ xc←v9160 = xc←v37480; /*1*/ }; SOURCE(4902, 40) /*1*/ hot←v9188.f0 = INEG((* (ptr) cref←v8980 )); /*1*/ hot←v9188.f1 = INEG((* (( (ptr) cref←v8980)+1) )); SOURCE(4944, 30) /*1*/ { /*1*/ word x49; /*1*/ word x50; /*1*/ hot←v9188.f0 = (x50 = (x49 = hot←v9188.f0, /*1*/ MIN((int)(word), x49, 16)), /*1*/ MAX((int)(word), x50, 0)); /*1*/ }; SOURCE(4976, 30) /*1*/ { /*1*/ word x51; /*1*/ word x52; /*1*/ hot←v9188.f1 = (x52 = (x51 = hot←v9188.f1, /*1*/ MIN((int)(word), x51, 16)), /*1*/ MAX((int)(word), x52, 0)); /*1*/ }; SOURCE(5008, 114) /*1*/ { /*1*/ word pd53; /*1*/ pd53 = (* (( (ptr) (* (( (ptr) gf←c0421)+103)/* var←c39272 */ ))+92) ); /*1*/ (* (( (ptr) cref←v8980)+3) ) = (word) ( *( (fPt) ((* (ptr) pd53 ))))((* (( (ptr) (* (( (ptr) cref←v8980)+5) ))+34) ), (* ( /*1*/ ( (ptr) ci←v8836)+3) ), (* (( (ptr) ci←v8836)+3) ), hot←v9188, xc←v9160, (* (ptr) (* (( (ptr) (* (( (ptr) gf←c0421)+103) /*1*/ /* var←c39272 */ ))+182) ) ) /*1*/ , 0, pd53); /*1*/ }; SOURCE(5124, 28) /*1*/ (* (( (ptr) cref←v8980)+4) ) = xc←v9160; /*1*/ }; /*1*/ }; /*1*/ }; SOURCE(5162, 99) if (((* (( (ptr) ci←v8836)+6) ) == cref←v8980)) { SOURCE(5185, 76) /*1*/ if ((0 != (* (( (ptr) ci←v8836)+7) ))) { SOURCE(5218, 37) /*1*/ (* (( (ptr) ci←v8836)+7) ) = 0; /*1*/ } /*1*/ else { SOURCE(5255, 6) /*1*/ return(1); /*1*/ }; /*1*/ }; SOURCE(5266, 14) (* (( (ptr) ci←v8836)+6) ) = cref←v8980; SOURCE(5282, 21) (void) FixCursor←P420(cref←v8980, data←v8792); }; }; }; }; }; }; } else { lab←L100017: ; }; }; return(0); } static void SetBigCursorPattern←P540(formal←c0500, formal←c0501, formal←c0502, formal←c0503, formal←c0504, cursor←v16636) word formal←c0500; word formal←c0501; word formal←c0502; word formal←c0503; word formal←c0504; word cursor←v16636; { W9 var←c41704; /* declaration of screenServerData←v16496 skipped */ /* declaration of deltaX←v16524 skipped */ /* declaration of deltaY←v16552 skipped */ /* declaration of cursorPattern←v16580 skipped */ /* declaration of patternName←v16608 skipped */ (* (( (ptr) &var←c41704)+4)/* screenServerData←v16496 */ ) = formal←c0500; (* (( (ptr) &var←c41704)+5)/* deltaX←v16524 */ ) = formal←c0501; (* (( (ptr) &var←c41704)+6)/* deltaY←v16552 */ ) = formal←c0502; (* (( (ptr) &var←c41704)+7)/* cursorPattern←v16580 */ ) = formal←c0503; (* (( (ptr) &var←c41704)+8)/* patternName←v16608 */ ) = formal←c0504; /* SetBigCursorPattern: */ SOURCE(5351, 1405) SOURCE(5418, 1338) SOURCE(5420, 1292) { word var←c02; { word var←c0464; var←c0464 = (word) &var←c41704; var←c02 = (word) XR←Enable(( ((word) (fPt) NoName←Q5760) ), ( ((word) (fPt) NoName←Q6780) ), var←c0464); }; if ((var←c02 == 3)) { goto lab←L100024; } else { if ((var←c02 == 1)) { goto lab←L04; }; }; }; goto lab←L100029; lab←L100024: ; lab←L100029: ; lab←L04: ; return; } static word NoName←Q5760(formal←c0424) word formal←c0424; { register ptr gf←c0423 = (ptr) &globalframe; SOURCE(5510, 1202) { word var←c39560; var←c39560 = (* (( (ptr) formal←c0424)+4) ); if ((var←c39560 == 0)) { goto lab←L100027; }; if (((* (( (ptr) gf←c0423)+19) ) == XR←GetReferentType(var←c39560))) { { word data←v9244; data←v9244 = var←c39560; SOURCE(5570, 1150) { word ci←v9288; SOURCE(5572, 32) ci←v9288 = (* (( (ptr) data←v9244)+21) ); SOURCE(5606, 1106) if ( ( ( (ci←v9288 != 0) ? (0 == (* (( (ptr) data←v9244)+1) )) : 0 ) ? ((* (( (ptr) formal←c0424)+7) ) != 0) : 0 ) ) { SOURCE(5662, 1055) { word w←v9332; SOURCE(5664, 27) w←v9332 = (* (( (ptr) data←v9244)+4) ); SOURCE(5693, 1019) if ( ( ( (w←v9332 != 0) ? ((* (( (ptr) w←v9332)+38) ) == 0) : 0 ) ? ((* (( (ptr) w←v9332)+37) ) == 0) : 0 ) ) { SOURCE(5755, 959) { word used←v9376 = 0; word insert←v9404; word cref←v9432; SOURCE(5783, 28) cref←v9432 = (word) NewCursorRec←P60(w←v9332); SOURCE(5813, 18) (* (ptr) cref←v9432 ) = (* (( (ptr) formal←c0424)+5) ); SOURCE(5833, 18) (* (( (ptr) cref←v9432)+1) ) = (* (( (ptr) formal←c0424)+6) ); SOURCE(5853, 24) (* (( (ptr) cref←v9432)+15) ) = (* (( (ptr) formal←c0424)+7) ); SOURCE(5879, 30) (* (( (ptr) cref←v9432)+6) ) = (* (( (ptr) formal←c0424)+8) ); SOURCE(5911, 17) (* (( (ptr) cref←v9432)+2) ) = 1; SOURCE(5930, 63) { /*1*/ W3 var←c39592; /*1*/ { /*1*/ word pd54; /*1*/ pd54 = (* (( (ptr) (* (( (ptr) gf←c0423)+102)/* var←c39144 */ ))+6) ); /*1*/ (void) ( *( (fPt) ((* (ptr) pd54 ))))((word) &var←c39592, (* (( (ptr) ci←v9288)+5) ), cref←v9432, pd54); /*1*/ }; /*1*/ used←v9376 = var←c39592.f2; /*1*/ insert←v9404 = var←c39592.f1; /*1*/ }; SOURCE(5995, 50) if ((0 == insert←v9404)) { SOURCE(6012, 12) /*1*/ (* (( (ptr) gf←c0423)+9)/* cfree←v3280 */ ) = cref←v9432; SOURCE(6026, 19) /*1*/ cref←v9432 = XR←Narrow(used←v9376, (* (( (ptr) gf←c0423)+18) )); /*1*/ }; SOURCE(6048, 520) if (((* (( (ptr) cref←v9432)+3) ) == 0)) { SOURCE(6091, 477) SOURCE(6093, 164) /*1*/ { /*1*/ W2 var←c39624; /*1*/ W2 var←c39656; /*1*/ var←c39624.f0 = 32; /*1*/ var←c39624.f1 = 32; /*1*/ var←c39656.f0 = 0; /*1*/ var←c39656.f1 = 0; /*1*/ { /*1*/ word pd55; /*1*/ pd55 = (* (( (ptr) (* (( (ptr) gf←c0423)+103)/* var←c39272 */ ))+172) ); /*1*/ (void) ( *( (fPt) ((* (ptr) pd55 ))))((* (( (ptr) w←v9332)+34) ), (* (( (ptr) ci←v9288)+4) ), (* (( (ptr) ci←v9288)+2) ), var←c39624, var←c39656, (* ( /*1*/ ( (ptr) cref←v9432)+15) ) /*1*/ , 0, 0, 4, 1, 0, pd55); /*1*/ }; /*1*/ }; SOURCE(6259, 304) /*1*/ { /*1*/ word xc←v9488; /*1*/ W2 hot←v9516; SOURCE(6265, 43) /*1*/ { /*1*/ word xc←v37400; /*1*/ word data←v37432; /*1*/ data←v37432 = data←v9244; SOURCE(8833, 237) /*1*/ xc←v37400 = 0; SOURCE(8921, 22) /*1*/ xc←v37400 = (* (( (ptr) data←v37432)+15) ); SOURCE(8945, 125) /*1*/ if ((xc←v37400 == 0)) { SOURCE(8963, 62) /*1*/ { /*1*/ word var←c39720; /*1*/ var←c39720 = (word) ToX11ViewersColor←P720((* (( (ptr) gf←c0423)+10)/* defaultCursorColor←v3700 */ ), (* (ptr) &fc43 )) /*1*/ ; /*1*/ xc←v37400 = var←c39720; /*1*/ (* (( (ptr) data←v37432)+15) ) = var←c39720; /*1*/ }; SOURCE(9027, 43) /*1*/ (* (( (ptr) data←v37432)+14) ) = (* (( (ptr) gf←c0423)+10)/* defaultCursorColor←v3700 */ ); /*1*/ }; SOURCE(8833, 237) /*1*/ xc←v9488 = xc←v37400; /*1*/ }; SOURCE(6310, 40) /*1*/ hot←v9516.f0 = INEG((* (ptr) cref←v9432 )); /*1*/ hot←v9516.f1 = INEG((* (( (ptr) cref←v9432)+1) )); SOURCE(6352, 30) /*1*/ { /*1*/ word x56; /*1*/ word x57; /*1*/ hot←v9516.f0 = (x57 = (x56 = hot←v9516.f0, /*1*/ MIN((int)(word), x56, 32)), /*1*/ MAX((int)(word), x57, 0)); /*1*/ }; SOURCE(6384, 30) /*1*/ { /*1*/ word x58; /*1*/ word x59; /*1*/ hot←v9516.f1 = (x59 = (x58 = hot←v9516.f1, /*1*/ MIN((int)(word), x58, 32)), /*1*/ MAX((int)(word), x59, 0)); /*1*/ }; SOURCE(6416, 115) /*1*/ { /*1*/ word pd60; /*1*/ pd60 = (* (( (ptr) (* (( (ptr) gf←c0423)+103)/* var←c39272 */ ))+92) ); /*1*/ (* (( (ptr) cref←v9432)+3) ) = (word) ( *( (fPt) ((* (ptr) pd60 ))))((* (( (ptr) w←v9332)+34) ), (* (( (ptr) ci←v9288)+4) /*1*/ ), (* (( (ptr) ci←v9288)+4) ), hot←v9516, xc←v9488, (* (ptr) (* (( (ptr) (* (( (ptr) gf←c0423)+103)/* var←c39272 */ ))+182) /*1*/ ) ) /*1*/ , 0, pd60); /*1*/ }; SOURCE(6533, 28) /*1*/ (* (( (ptr) cref←v9432)+4) ) = xc←v9488; /*1*/ }; /*1*/ }; SOURCE(6571, 99) if (((* (( (ptr) ci←v9288)+6) ) == cref←v9432)) { SOURCE(6594, 76) /*1*/ if ((0 != (* (( (ptr) ci←v9288)+7) ))) { SOURCE(6627, 37) /*1*/ (* (( (ptr) ci←v9288)+7) ) = 0; /*1*/ } /*1*/ else { SOURCE(6664, 6) /*1*/ return(1); /*1*/ }; /*1*/ }; SOURCE(6675, 14) (* (( (ptr) ci←v9288)+6) ) = cref←v9432; SOURCE(6691, 21) (void) FixCursor←P420(cref←v9432, data←v9244); }; }; }; }; }; }; } else { lab←L100027: ; }; }; return(0); } static word BigCursorsSupported←P600(screenServerData←v16696) word screenServerData←v16696; { W13 var←c41736; register ptr gf←c41768 = (ptr) &globalframe; word var←c16740; /* BigCursorsSupported: */ SOURCE(6760, 599) SOURCE(6829, 492) { word var←c39784; var←c39784 = screenServerData←v16696; if ((var←c39784 == 0)) { goto lab←L100030; }; if (((* (( (ptr) gf←c41768)+19) ) == XR←GetReferentType(var←c39784))) { { word data←v9572; data←v9572 = var←c39784; SOURCE(6889, 437) { word ci←v9616; SOURCE(6891, 39) ci←v9616 = (* (( (ptr) data←v9572)+21) ); SOURCE(6932, 389) if ( ( (ci←v9616 != 0) ? (0 == (* (( (ptr) data←v9572)+1) )) : 0 ) ) { SOURCE(6966, 357) { word sd←v9672; SOURCE(6968, 41) sd←v9672 = (* (( (ptr) (* (( (ptr) data←v9572)+2) ))+36) ); SOURCE(7011, 281) if ( ( (sd←v9672 != 0) ? (0 == (* (( (ptr) ci←v9616)+9) )) : 0 ) ) { SOURCE(7052, 242) { word screen←v9716; /* declaration of s←v9744 skipped */ SOURCE(7054, 29) screen←v9716 = (* (( (ptr) sd←v9672)+1) ); SOURCE(7097, 105) SOURCE(7097, 105) { /*1*/ /* declaration of var←c03 skipped */ /*1*/ /* declaration of var←c04 skipped */ /*1*/ /* declaration of var←c05 skipped */ /*1*/ /* declaration of var←c06 skipped */ /*1*/ (* (( (ptr) &var←c41736)+6)/* var←c03 */ ) = (* (( (ptr) screen←v9716)+16) ); /*1*/ (* (( (ptr) &var←c41736)+7)/* var←c04 */ ) = (* (ptr) screen←v9716 ); /*1*/ (* (( (ptr) &var←c41736)+8) ) = 32; /*1*/ (* (( (ptr) &var←c41736)+9) ) = 32; /*1*/ (* (( (ptr) &var←c41736)+10)/* var←c06 */ ) = (* (( (ptr) (* (( (ptr) gf←c41768)+103)/* var←c39272 */ ))+117) ); /*1*/ { /*1*/ /* declaration of var←c07 skipped */ /*1*/ { /*1*/ word var←c08; /*1*/ { /*1*/ word var←c0465; /*1*/ var←c0465 = (word) &var←c41736; /*1*/ var←c08 = (word) XR←Enable(( ((word) (fPt) NoName←Q5820) ), ( ((word) (fPt) NoName←Q6720) ), var←c0465); /*1*/ }; /*1*/ if ((var←c08 == 4)) { /*1*/ goto lab←L100032; /*1*/ }; /*1*/ }; /*1*/ (* (W2Pt) (( (ptr) &var←c41736)+4)/* s←v9744 */ ) = (* (W2Pt) (( (ptr) &var←c41736)+11)/* var←c07 */ ); /*1*/ }; /*1*/ }; lab←L100032: ; SOURCE(7217, 27) (* (( (ptr) ci←v9616)+9) ) = 1; SOURCE(7246, 46) if (( (int)(* (( (ptr) &var←c41736)+4) ) >= (int)32)) { /*1*/ (* (( (ptr) ci←v9616)+8) ) = (unsigned) ( (int)(* (( (ptr) &var←c41736)+5) ) >= (int)32); /*1*/ } else { /*1*/ (* (( (ptr) ci←v9616)+8) ) = (unsigned) 0; /*1*/ }; }; }; SOURCE(7297, 24) return((* (( (ptr) ci←v9616)+8) )); }; }; }; }; } else { lab←L100030: ; }; }; SOURCE(7344, 15) return(0); } static word NoName←Q5820(formal←c0426) word formal←c0426; { SOURCE(7097, 105) { word pd61; pd61 = (* (( (ptr) formal←c0426)+10) ); (void) ( *( (fPt) ((* (ptr) pd61 ))))((word) (( (bPt) formal←c0426)+44), (* (( (ptr) formal←c0426)+6) ), 0, (* (( (ptr) formal←c0426)+7) ), (* (W2Pt) (( (ptr) formal←c0426)+8) ), pd61); }; return(0); } static word IsBigCursorPattern←P660(screenServerData←v16800, cursor←v16828) word screenServerData←v16800; word cursor←v16828; { register ptr gf←c41800 = (ptr) &globalframe; word var←c16872; /* IsBigCursorPattern: */ SOURCE(7363, 301) SOURCE(7430, 198) { word var←c39848; var←c39848 = screenServerData←v16800; if ((var←c39848 == 0)) { goto lab←L100035; }; if (((* (( (ptr) gf←c41800)+19) ) == XR←GetReferentType(var←c39848))) { { word data←v9788; data←v9788 = var←c39848; SOURCE(7490, 141) { word ci←v9832; SOURCE(7492, 39) ci←v9832 = (* (( (ptr) data←v9788)+21) ); SOURCE(7533, 95) if ( ( (ci←v9832 != 0) ? (0 == (* (( (ptr) data←v9788)+1) )) : 0 ) ) { SOURCE(7567, 61) { word cref←v9888; SOURCE(7569, 20) cref←v9888 = (* (( (ptr) ci←v9832)+6) ); SOURCE(7591, 37) if ((cref←v9888 != 0)) { SOURCE(7608, 20) return((* (( (ptr) cref←v9888)+2) )); }; }; }; }; }; } else { lab←L100035: ; }; }; SOURCE(7649, 15) return(0); } static word ToX11ViewersColor←P720(color←v5972, invGamma←v6000) word color←v5972; word invGamma←v6000; { register ptr gf←c41832 = (ptr) &globalframe; word rgbRef←v6044; W3 rgb←v9932; /* ToX11ViewersColor: */ SOURCE(7668, 388) SOURCE(7668, 388) rgbRef←v6044 = 0; SOURCE(7778, 62) { word var←c39880; if ((color←v5972 == 0)) { goto lab←L100036; }; if ( ( ((* (ptr) color←v5972 ) == 0) ? ((* (( (ptr) color←v5972)+1) ) == 0) : 0 ) ) { goto lab←L100036; }; (void) XR←RaiseError(XR←NarrowFault, 0); lab←L100036: ; var←c39880 = color←v5972; { W3 var←c0194; { word pd62; pd62 = (* (( (ptr) (* (( (ptr) gf←c41832)+99)/* var←c38888 */ ))+18) ); (void) ( *( (fPt) ((* (ptr) pd62 ))))((word) &var←c0194, var←c39880, pd62); }; rgb←v9932 = var←c0194; }; }; SOURCE(7842, 214) { word var←c39912; word var←c39976; word var←c40008; word var←c40040; { word pd63; pd63 = (* (( (ptr) (* (( (ptr) gf←c41832)+104)/* var←c39944 */ ))+5) ); var←c39912 = (word) ( *( (fPt) ((* (ptr) pd63 ))))(rgb←v9932.f0, invGamma←v6000, pd63); }; { word pd64; pd64 = (* (( (ptr) (* (( (ptr) gf←c41832)+104)/* var←c39944 */ ))+5) ); var←c39976 = (word) ( *( (fPt) ((* (ptr) pd64 ))))(rgb←v9932.f1, invGamma←v6000, pd64); }; { word pd65; pd65 = (* (( (ptr) (* (( (ptr) gf←c41832)+104)/* var←c39944 */ ))+5) ); var←c40008 = (word) ( *( (fPt) ((* (ptr) pd65 ))))(rgb←v9932.f2, invGamma←v6000, pd65); }; var←c40040 = XR←NewObject(12, (* (( (ptr) gf←c41832)+17) )); (* (ptr) var←c40040 ) = var←c39912; (* (( (ptr) var←c40040)+1) ) = var←c39976; (* (( (ptr) var←c40040)+2) ) = var←c40008; rgbRef←v6044 = var←c40040; }; SOURCE(7668, 388) return(rgbRef←v6044); } static void SetCursorColor←P780(formal←c0505, formal←c0506, cursor←v16988) word formal←c0505; word formal←c0506; word cursor←v16988; { W6 var←c41864; /* declaration of screenServerData←v16932 skipped */ /* declaration of color←v16960 skipped */ var←c41864.f4/* screenServerData←v16932 */ = formal←c0505; var←c41864.f5/* color←v16960 */ = formal←c0506; /* SetCursorColor: */ SOURCE(8062, 521) SOURCE(8119, 464) SOURCE(8121, 376) { word var←c09; { word var←c0466; var←c0466 = (word) &var←c41864; var←c09 = (word) XR←Enable(( ((word) (fPt) NoName←Q5880) ), ( ((word) (fPt) NoName←Q6660) ), var←c0466); }; if ((var←c09 == 5)) { goto lab←L100037; }; }; goto lab←L100041; lab←L100037: ; lab←L100041: ; } static word NoName←Q5880(formal←c0430) word formal←c0430; { register ptr gf←c0429 = (ptr) &globalframe; SOURCE(8212, 285) { word var←c40072; var←c40072 = (* (( (ptr) formal←c0430)+4) ); if ((var←c40072 == 0)) { goto lab←L100040; }; if (((* (( (ptr) gf←c0429)+19) ) == XR←GetReferentType(var←c40072))) { { word data←v9976; data←v9976 = var←c40072; SOURCE(8272, 276) { word ci←v10020; SOURCE(8274, 32) ci←v10020 = (* (( (ptr) data←v9976)+21) ); SOURCE(8308, 59) (* (( (ptr) data←v9976)+15) ) = (word) ToX11ViewersColor←P720((* (( (ptr) formal←c0430)+5) ), (* (( (ptr) data←v9976)+20) )); SOURCE(8369, 30) (* (( (ptr) data←v9976)+14) ) = (* (( (ptr) formal←c0430)+5) ); SOURCE(8401, 96) if ( ( (ci←v10020 != 0) ? (0 == (* (( (ptr) data←v9976)+1) )) : 0 ) ) { SOURCE(8435, 110) { word cref←v10064; SOURCE(8437, 20) cref←v10064 = (* (( (ptr) ci←v10020)+6) ); SOURCE(8459, 38) if ((cref←v10064 != 0)) { SOURCE(8476, 21) (void) FixCursor←P420(cref←v10064, data←v9976); }; }; }; }; }; } else { lab←L100040: ; }; }; return(0); } static void InitData←P840(widget←v17048, registerData←v17076, callData←v17104, event←v17132) word widget←v17048; word registerData←v17076; word callData←v17104; word event←v17132; { register ptr gf←c41896 = (ptr) &globalframe; /* InitData: */ SOURCE(8587, 149) SOURCE(8622, 114) { word var←c40104; var←c40104 = callData←v17104; if ((var←c40104 == 0)) { goto lab←L100042; }; if (((* (( (ptr) gf←c41896)+19) ) == XR←GetReferentType(var←c40104))) { { word data←v10108; data←v10108 = var←c40104; SOURCE(8676, 13) (void) Cleanup←P360(data←v10108); SOURCE(8691, 28) { word var←c40200; { word xc←v37320; word data←v37352; data←v37352 = data←v10108; SOURCE(8833, 237) xc←v37320 = 0; SOURCE(8921, 22) xc←v37320 = (* (( (ptr) data←v37352)+15) ); SOURCE(8945, 125) if ((xc←v37320 == 0)) { SOURCE(8963, 62) { word var←c40168; var←c40168 = (word) ToX11ViewersColor←P720((* (( (ptr) gf←c41896)+10)/* defaultCursorColor←v3700 */ ), (* (ptr) &fc43 )) ; xc←v37320 = var←c40168; (* (( (ptr) data←v37352)+15) ) = var←c40168; }; SOURCE(9027, 43) (* (( (ptr) data←v37352)+14) ) = (* (( (ptr) gf←c41896)+10)/* defaultCursorColor←v3700 */ ); }; SOURCE(8833, 237) var←c40200 = xc←v37320; }; }; SOURCE(8721, 15) (* (( (ptr) gf←c41896)+8)/* lastData←v3112 */ ) = data←v10108; }; } else { lab←L100042: ; }; }; } static word GetCursorColor←P960(screenServerData←v17620, cursor←v17648) word screenServerData←v17620; word cursor←v17648; { register ptr gf←c41928 = (ptr) &globalframe; word color←v17692; /* GetCursorColor: */ SOURCE(9079, 210) SOURCE(9079, 210) color←v17692 = 0; SOURCE(9138, 90) { word var←c40232; var←c40232 = screenServerData←v17620; if ((var←c40232 == 0)) { goto lab←L100044; }; if (((* (( (ptr) gf←c41928)+19) ) == XR←GetReferentType(var←c40232))) { { word data←v10152; data←v10152 = var←c40232; SOURCE(9198, 30) color←v17692 = (* (( (ptr) data←v10152)+14) ); }; } else { lab←L100044: ; }; }; SOURCE(9245, 44) if ((color←v17692 == 0)) { SOURCE(9263, 26) color←v17692 = (* (( (ptr) gf←c41928)+10)/* defaultCursorColor←v3700 */ ); }; SOURCE(9079, 210) return(color←v17692); } static void SetGCMode←P1020(doingGC←v6232) word doingGC←v6232; { register ptr gf←c41960 = (ptr) &globalframe; /* SetGCMode: */ SOURCE(9295, 524) SOURCE(9338, 481) { word var←c40264; var←c40264 = (* (( (ptr) gf←c41960)+8)/* lastData←v3112 */ ); if ((var←c40264 == 0)) { goto lab←L100045; }; if (1) { { word data←v10196; data←v10196 = var←c40264; SOURCE(9390, 440) { word ci←v10240; SOURCE(9392, 32) ci←v10240 = (* (( (ptr) data←v10196)+21) ); SOURCE(9426, 393) if ( ( (ci←v10240 != 0) ? (0 == (* (( (ptr) data←v10196)+1) )) : 0 ) ) { SOURCE(9460, 367) { word cref←v10284; SOURCE(9462, 20) cref←v10284 = (* (( (ptr) ci←v10240)+6) ); SOURCE(9484, 335) if ((cref←v10284 != 0)) { SOURCE(9501, 323) { word w←v10328; SOURCE(9503, 22) w←v10328 = (* (( (ptr) cref←v10284)+5) ); SOURCE(9527, 292) if ( ( ( (w←v10328 != 0) ? ((* (( (ptr) w←v10328)+38) ) == 0) : 0 ) ? ((* (( (ptr) w←v10328)+37) ) == 0) : 0 ) ) { SOURCE(9589, 232) /*1*/ { /*1*/ word c←v10372; /*1*/ word cursor←v10400; SOURCE(9591, 31) /*1*/ c←v10372 = (* (( (ptr) w←v10328)+34) ); SOURCE(9624, 76) /*1*/ cursor←v10400 = ( (0 != doingGC←v6232) ? (* (( (ptr) ci←v10240)+1) ) : (* (( (ptr) cref←v10284)+3) ) ) ; SOURCE(9702, 56) /*1*/ { /*1*/ W18 var←c0230; /*1*/ W15 var←c40296; /*1*/ (* (ptr) (word) &var←c0230 ) = c←v10372; /*1*/ (* (( (ptr) (word) &var←c0230) + 1) ) = (* (( (ptr) w←v10328)+35) ); /*1*/ (* (ptr) &var←c40296 ) = (word) -1; /*1*/ (* (( (ptr) &var←c40296)+1) ) = (word) -1; /*1*/ (* (( (ptr) &var←c40296)+2) ) = (word) -1; /*1*/ (* (( (ptr) &var←c40296)+3) ) = (word) -1; /*1*/ (* (( (ptr) &var←c40296)+4) ) = 11; /*1*/ (* (( (ptr) &var←c40296)+5) ) = 11; /*1*/ (* (( (ptr) &var←c40296)+6) ) = 3; /*1*/ (* (( (ptr) &var←c40296)+7) ) = (word) -1; /*1*/ (* (( (ptr) &var←c40296)+8) ) = (word) -1; /*1*/ (* (( (ptr) &var←c40296)+9) ) = 2; /*1*/ (* (( (ptr) &var←c40296)+10) ) = 2; /*1*/ (* (( (ptr) &var←c40296)+11) ) = 0; /*1*/ (* (( (ptr) &var←c40296)+12) ) = 0; /*1*/ (* (( (ptr) &var←c40296)+13) ) = (word) -1; /*1*/ (* (( (ptr) &var←c40296)+14) ) = cursor←v10400; /*1*/ (* (W15Pt) (( (ptr) (word) &var←c0230) + 2) ) = var←c40296; /*1*/ (* (( (ptr) (word) &var←c0230) + 17) ) = 0; /*1*/ { /*1*/ word pd66; /*1*/ pd66 = (* (( (ptr) (* (( (ptr) gf←c41960)+103)/* var←c39272 */ ))+75) ); /*1*/ (void) ( *( (fPt) ((* (ptr) pd66 ))))((word) (&var←c0230), pd66); /*1*/ }; /*1*/ }; SOURCE(9760, 11) /*1*/ { /*1*/ word pd67; /*1*/ pd67 = (* (( (ptr) (* (( (ptr) gf←c41960)+103)/* var←c39272 */ ))+43) ); /*1*/ (void) ( *( (fPt) ((* (ptr) pd67 ))))(c←v10372, 0, pd67); /*1*/ }; SOURCE(9773, 46) /*1*/ if ((0 != doingGC←v6232)) { SOURCE(9789, 30) /*1*/ (* (( (ptr) ci←v10240)+7) ) = 1; /*1*/ }; /*1*/ }; /*1*/ }; }; }; }; }; }; }; } else { lab←L100045: ; }; }; } static void SetMousePosition←P1080(formal←c0507, formal←c0508, formal←c0509, display←v6376, device←v6404) word formal←c0507; word formal←c0508; word formal←c0509; word display←v6376; word device←v6404; { W7 var←c41992; /* declaration of screenServerData←v6292 skipped */ /* declaration of x←v6320 skipped */ /* declaration of y←v6348 skipped */ var←c41992.f4/* screenServerData←v6292 */ = formal←c0507; var←c41992.f5/* x←v6320 */ = formal←c0508; var←c41992.f6/* y←v6348 */ = formal←c0509; /* SetMousePosition: */ SOURCE(9851, 644) SOURCE(9958, 537) SOURCE(9960, 495) { word var←c010; { word var←c0467; var←c0467 = (word) &var←c41992; var←c010 = (word) XR←Enable(( ((word) (fPt) NoName←Q5940) ), ( ((word) (fPt) NoName←Q6600) ), var←c0467); }; if ((var←c010 == 6)) { goto lab←L100046; } else { if ((var←c010 == 1)) { goto lab←L08; }; }; }; goto lab←L100050; lab←L100046: ; lab←L100050: ; lab←L08: ; return; } static word NoName←Q5940(formal←c0435) word formal←c0435; { register ptr gf←c0434 = (ptr) &globalframe; SOURCE(10049, 406) { word var←c40328; var←c40328 = (* (( (ptr) formal←c0435)+4) ); if ((var←c40328 == 0)) { goto lab←L100049; }; if (((* (( (ptr) gf←c0434)+19) ) == XR←GetReferentType(var←c40328))) { { word data←v10444; data←v10444 = var←c40328; SOURCE(10109, 351) { word w←v10488; SOURCE(10111, 27) w←v10488 = (* (( (ptr) data←v10444)+4) ); SOURCE(10140, 315) if ( ( (w←v10488 != 0) ? (0 == (* (( (ptr) data←v10444)+1) )) : 0 ) ) { SOURCE(10175, 76) if (((( (int)(* (( (ptr) formal←c0435)+5) ) < (int)0) || ( (int)(* (( (ptr) formal←c0435)+6) ) < (int)0)) || ( (int)(* ( ( (ptr) formal←c0435)+5) ) > (int)(* (( (ptr) w←v10488)+41) ))) || ( (int)(* (( (ptr) formal←c0435)+6) ) > (int)(* (( (ptr) w←v10488)+42) ))) { SOURCE(10245, 6) return(1); }; SOURCE(10253, 59) if (((* (( (ptr) data←v10444)+10) ) == 2)) { SOURCE(10296, 7) (* (( (ptr) formal←c0435)+5) ) = IOP2( * , (int)(* (( (ptr) formal←c0435)+5) ), (int)2); SOURCE(10305, 7) (* (( (ptr) formal←c0435)+6) ) = IOP2( * , (int)(* (( (ptr) formal←c0435)+5) ), (int)2); }; SOURCE(10315, 116) { W2 var←c40360; W2 var←c40392; W2 var←c40424; var←c40360.f0 = (* (( (ptr) formal←c0435)+5) ); var←c40360.f1 = ((* (( (ptr) w←v10488)+42) ) - (* (( (ptr) formal←c0435)+6) )); var←c40392.f0 = 0; var←c40392.f1 = 0; var←c40424.f0 = 0; var←c40424.f1 = 0; { word pd68; pd68 = (* (( (ptr) (* (( (ptr) gf←c0434)+103)/* var←c39272 */ ))+115) ); (void) ( *( (fPt) ((* (ptr) pd68 ))))((* (( (ptr) w←v10488)+34) ), (* (( (ptr) w←v10488)+35) ), var←c40360, (* (( (ptr) w←v10488)+35) ), var←c40392, var←c40424 , 0, pd68); }; }; SOURCE(10433, 22) { word pd69; pd69 = (* (( (ptr) (* (( (ptr) gf←c0434)+103)/* var←c39272 */ ))+43) ); (void) ( *( (fPt) ((* (ptr) pd69 ))))((* (( (ptr) w←v10488)+34) ), 0, pd69); }; }; }; }; } else { lab←L100049: ; }; }; return(0); } static void GetMousePosition←P1140(formal←c0247, formal←c0510, device←v6528) word formal←c0247; word formal←c0510; word device←v6528; { W7 var←c42024; /* declaration of screenServerData←v6500 skipped */ /* declaration of x←v6596 skipped */ /* declaration of y←v6624 skipped */ word display←v6652; var←c42024.f4/* screenServerData←v6500 */ = formal←c0510; /* GetMousePosition: */ SOURCE(10499, 841) SOURCE(10499, 841) var←c42024.f5/* x←v6596 */ = 0; SOURCE(10499, 841) var←c42024.f6/* y←v6624 */ = 0; SOURCE(10499, 841) display←v6652 = 0; SOURCE(10619, 721) SOURCE(10621, 667) { word var←c011; { word var←c0468; var←c0468 = (word) &var←c42024; var←c011 = (word) XR←Enable(( ((word) (fPt) NoName←Q6000) ), ( ((word) (fPt) NoName←Q6540) ), var←c0468); }; if ((var←c011 == 7)) { goto lab←L100052; }; }; goto lab←L100056; lab←L100052: ; SOURCE(11330, 8) var←c42024.f5/* x←v6596 */ = 0; var←c42024.f6/* y←v6624 */ = 0; display←v6652 = 0; goto lab←L100051; lab←L100056: ; /* removed tail goto */ lab←L100051: ; (* (ptr) formal←c0247 ) = var←c42024.f5/* x←v6596 */ ; (* (( (ptr) formal←c0247)+1) ) = var←c42024.f6/* y←v6624 */ ; (* (( (ptr) formal←c0247)+2) ) = display←v6652; return; } static word NoName←Q6000(formal←c0437) word formal←c0437; { register ptr gf←c0436 = (ptr) &globalframe; SOURCE(10710, 19) { word valid←v10532 = 0; SOURCE(10786, 502) { word var←c40456; var←c40456 = (* (( (ptr) formal←c0437)+4) ); if ((var←c40456 == 0)) { goto lab←L100055; }; if (((* (( (ptr) gf←c0436)+19) ) == XR←GetReferentType(var←c40456))) { { word data←v10576; data←v10576 = var←c40456; SOURCE(10846, 451) { word w←v10620; SOURCE(10848, 27) w←v10620 = (* (( (ptr) data←v10576)+4) ); SOURCE(10877, 411) if ( ( (w←v10620 != 0) ? (0 == (* (( (ptr) data←v10576)+1) )) : 0 ) ) { SOURCE(10910, 384) { W8 reply←v10664; SOURCE(10912, 64) { word pd70; pd70 = (* (( (ptr) (* (( (ptr) gf←c0436)+103)/* var←c39272 */ ))+114) ); (void) ( *( (fPt) ((* (ptr) pd70 ))))((word) &reply←v10664, (* (( (ptr) w←v10620)+34) ), (* (( (ptr) w←v10620)+35) ), pd70) ; }; SOURCE(10978, 310) if ((0 != reply←v10664.f7)) { SOURCE(11005, 12) valid←v10532 = 1; SOURCE(11019, 92) if (( (int)reply←v10664.f4 < (int)0) || ( (int)reply←v10664.f4 > (int)(* (( (ptr) w←v10620)+41) ))) { SOURCE(11077, 19) /*1*/ valid←v10532 = 0; /*1*/ } else { SOURCE(11096, 15) /*1*/ (* (( (ptr) formal←c0437)+5) ) = reply←v10664.f4; /*1*/ }; SOURCE(11113, 114) if (( (int)reply←v10664.f5 < (int)0) || ( (int)reply←v10664.f5 > (int)(* (( (ptr) w←v10620)+42) ))) { SOURCE(11172, 19) /*1*/ valid←v10532 = 0; /*1*/ } else { SOURCE(11191, 36) /*1*/ (* (( (ptr) formal←c0437)+6) ) = ((* (( (ptr) w←v10620)+42) ) - reply←v10664.f5); /*1*/ }; SOURCE(11229, 59) if (((* (( (ptr) data←v10576)+10) ) == 2)) { SOURCE(11272, 7) /*1*/ (* (( (ptr) formal←c0437)+5) ) = IOP2( / , (int)(* (( (ptr) formal←c0437)+5) ), (int)2); SOURCE(11281, 7) /*1*/ (* (( (ptr) formal←c0437)+6) ) = IOP2( / , (int)(* (( (ptr) formal←c0437)+6) ), (int)2); /*1*/ }; }; }; }; }; }; } else { lab←L100055: ; }; }; }; return(0); } static void GetDeviceSize←P1200(formal←c0260, screenServerData←v6724, display←v6752) word formal←c0260; word screenServerData←v6724; word display←v6752; { register ptr gf←c42056 = (ptr) &globalframe; word w←v6820; word h←v6848; /* GetDeviceSize: */ SOURCE(11344, 184) SOURCE(11344, 184) w←v6820 = 0; SOURCE(11344, 184) h←v6848 = 0; SOURCE(11436, 92) { word var←c40488; var←c40488 = screenServerData←v6724; if ((var←c40488 == 0)) { goto lab←L100058; }; if (((* (( (ptr) gf←c42056)+19) ) == XR←GetReferentType(var←c40488))) { { word data←v10708; data←v10708 = var←c40488; SOURCE(11497, 14) w←v6820 = (* (( (ptr) data←v10708)+12) ); SOURCE(11513, 15) h←v6848 = (* (( (ptr) data←v10708)+13) ); }; } else { lab←L100058: ; }; }; /* removed tail goto */ (* (ptr) formal←c0260 ) = w←v6820; (* (( (ptr) formal←c0260)+1) ) = h←v6848; return; } static void Sound←P1260(formal←c0511, display←v6936, frequency←v6964, duration←v6992) word formal←c0511; word display←v6936; word frequency←v6964; word duration←v6992; { W5 var←c42088; /* declaration of screenServerData←v6908 skipped */ var←c42088.f4/* screenServerData←v6908 */ = formal←c0511; /* Sound: */ SOURCE(11550, 424) SOURCE(11647, 327) SOURCE(11649, 289) { word var←c012; { word var←c0469; var←c0469 = (word) &var←c42088; var←c012 = (word) XR←Enable(( ((word) (fPt) NoName←Q6060) ), ( ((word) (fPt) NoName←Q6480) ), var←c0469); }; if ((var←c012 == 8)) { goto lab←L100059; }; }; goto lab←L100063; lab←L100059: ; lab←L100063: ; } static word NoName←Q6060(formal←c0440) word formal←c0440; { register ptr gf←c0439 = (ptr) &globalframe; SOURCE(11738, 200) { word var←c40520; var←c40520 = (* (( (ptr) formal←c0440)+4) ); if ((var←c40520 == 0)) { goto lab←L100062; }; if (((* (( (ptr) gf←c0439)+19) ) == XR←GetReferentType(var←c40520))) { { word data←v10752; data←v10752 = var←c40520; SOURCE(11798, 140) { word top←v10796; word c←v10824; SOURCE(11800, 26) top←v10796 = (* (( (ptr) data←v10752)+2) ); SOURCE(11828, 58) c←v10824 = ( (top←v10796 != 0) ? (* (( (ptr) top←v10796)+34) ) : 0 ) ; SOURCE(11888, 50) if ( ( ( (c←v10824 != 0) ? (0 != (* (( (ptr) c←v10824)+15) )) : 0 ) ? (0 == (* (( (ptr) data←v10752)+1) )) : 0 ) ) { SOURCE(11927, 11) { word pd71; pd71 = (* (( (ptr) (* (( (ptr) gf←c0439)+103)/* var←c39272 */ ))+132) ); (void) ( *( (fPt) ((* (ptr) pd71 ))))(c←v10824, 0, 0, pd71); }; }; }; }; } else { lab←L100062: ; }; }; return(0); } static void CutBufferPushTioga←P1320(c←v7076, data←v7104) word c←v7076; word data←v7104; { register ptr gf←c42120 = (ptr) &globalframe; word tioga←v10868; W2 var←c0272; /* CutBufferPushTioga: */ SOURCE(11978, 234) SOURCE(12043, 54) { word pd72; pd72 = (* (( (ptr) (* (( (ptr) gf←c42120)+103)/* var←c39272 */ ))+51) ); (void) ( *( (fPt) ((* (ptr) pd72 ))))((word) &var←c0272, c←v7076, (* (( (ptr) gf←c42120)+24) ), 1, pd72); }; tioga←v10868 = var←c0272.f0; SOURCE(12099, 100) { word var←c40552; { word pd73; pd73 = (* (( (ptr) (* (( (ptr) gf←c42120)+103)/* var←c39272 */ ))+20) ); var←c40552 = (word) ( *( (fPt) ((* (ptr) pd73 ))))(c←v7076, pd73); }; { word pd74; pd74 = (* (( (ptr) (* (( (ptr) gf←c42120)+103)/* var←c39272 */ ))+53) ); (void) ( *( (fPt) ((* (ptr) pd74 ))))(c←v7076, var←c40552, tioga←v10868, tioga←v10868, 0, data←v7104 , 0, 2147483647, 0, pd74); }; }; SOURCE(12201, 11) { word pd75; pd75 = (* (( (ptr) (* (( (ptr) gf←c42120)+103)/* var←c39272 */ ))+43) ); (void) ( *( (fPt) ((* (ptr) pd75 ))))(c←v7076, 0, pd75); }; } static void SetCutBuffer←P1380(formal←c0512, formal←c0513, formal←c0514) word formal←c0512; word formal←c0513; word formal←c0514; { W7 var←c42152; /* declaration of screenServerData←v7164 skipped */ /* declaration of buffer←v7192 skipped */ /* declaration of data←v7220 skipped */ var←c42152.f4/* screenServerData←v7164 */ = formal←c0512; var←c42152.f5/* buffer←v7192 */ = formal←c0513; var←c42152.f6/* data←v7220 */ = formal←c0514; /* SetCutBuffer: */ SOURCE(12218, 488) SOURCE(12298, 408) SOURCE(12300, 350) { word var←c013; { word var←c0470; var←c0470 = (word) &var←c42152; var←c013 = (word) XR←Enable(( ((word) (fPt) NoName←Q6120) ), ( ((word) (fPt) NoName←Q6420) ), var←c0470); }; if ((var←c013 == 9)) { goto lab←L100064; }; }; goto lab←L100068; lab←L100064: ; lab←L100068: ; } static word NoName←Q6120(formal←c0443) word formal←c0443; { register ptr gf←c0442 = (ptr) &globalframe; SOURCE(12362, 288) { word var←c40584; var←c40584 = (* (( (ptr) formal←c0443)+4) ); if ((var←c40584 == 0)) { goto lab←L100067; }; if (((* (( (ptr) gf←c0442)+19) ) == XR←GetReferentType(var←c40584))) { { word d←v10912; d←v10912 = var←c40584; SOURCE(12419, 251) { word top←v10956; word c←v10984; SOURCE(12421, 23) top←v10956 = (* (( (ptr) d←v10912)+2) ); SOURCE(12446, 58) c←v10984 = ( (top←v10956 != 0) ? (* (( (ptr) top←v10956)+34) ) : 0 ) ; SOURCE(12506, 144) if ( ( ( (c←v10984 != 0) ? (0 != (* (( (ptr) c←v10984)+15) )) : 0 ) ? (0 == (* (( (ptr) d←v10912)+1) )) : 0 ) ) { SOURCE(12544, 106) { word var←c40616; var←c40616 = (* (( (ptr) formal←c0443)+5) ); if (((var←c40616 == (* (( (ptr) gf←c0442)+25) )) || (var←c40616 == (* (( (ptr) gf←c0442)+26) ))) || (var←c40616 == 0)) { SOURCE(12586, 25) { word pd76; pd76 = (* (( (ptr) (* (( (ptr) gf←c0442)+105)/* var←c40648 */ ))+5) ); (void) ( *( (fPt) ((* (ptr) pd76 ))))(c←v10984, (* (( (ptr) formal←c0443)+6) ), 0, pd76); }; } else { if ((var←c40616 == (* (( (ptr) gf←c0442)+27) ))) { SOURCE(12623, 27) (void) CutBufferPushTioga←P1320(c←v10984, (* (( (ptr) formal←c0443)+6) )); }; }; }; }; }; }; } else { lab←L100067: ; }; }; return(0); } static word CutBufferGetTioga←P1440(c←v7292) word c←v7292; { register ptr gf←c42184 = (ptr) &globalframe; word data←v7336; word tioga←v11028; W2 var←c0285; W4 pr←v11056; /* CutBufferGetTioga: */ SOURCE(12710, 284) SOURCE(12710, 284) data←v7336 = 0; SOURCE(12783, 54) { word pd77; pd77 = (* (( (ptr) (* (( (ptr) gf←c42184)+103)/* var←c39272 */ ))+51) ); (void) ( *( (fPt) ((* (ptr) pd77 ))))((word) &var←c0285, c←v7292, (* (( (ptr) gf←c42184)+24) ), 1, pd77); }; tioga←v11028 = var←c0285.f0; SOURCE(12839, 103) { word var←c40680; { word pd78; pd78 = (* (( (ptr) (* (( (ptr) gf←c42184)+103)/* var←c39272 */ ))+20) ); var←c40680 = (word) ( *( (fPt) ((* (ptr) pd78 ))))(c←v7292, pd78); }; { word pd79; pd79 = (* (( (ptr) (* (( (ptr) gf←c42184)+103)/* var←c39272 */ ))+55) ); (void) ( *( (fPt) ((* (ptr) pd79 ))))((word) &pr←v11056, c←v7292, var←c40680, tioga←v11028, 0, 0 , 0, 2147483647, 8, pd79); }; }; SOURCE(12944, 50) { word var←c40712; var←c40712 = pr←v11056.f2; if ((var←c40712 == 0)) { goto lab←L100069; }; { word tc80; if (((* (( (ptr) gf←c42184)+16) ) == XR←GetReferentType(var←c40712))) { tc80 = (word) ( (unsigned) (*(int*)var←c40712<0) == 0); } else { tc80 = (word) 0; }; if (tc80) { { word r←v11100; r←v11100 = var←c40712; SOURCE(12986, 8) data←v7336 = r←v11100; }; } else { lab←L100069: ; }; }; }; SOURCE(12710, 284) return(data←v7336); } static word GetCutBuffer←P1500(formal←c0515, formal←c0516) word formal←c0515; word formal←c0516; { W7 var←c42216; /* declaration of screenServerData←v7396 skipped */ /* declaration of buffer←v7424 skipped */ /* declaration of var←c014 skipped */ word var←c7480; var←c42216.f4/* screenServerData←v7396 */ = formal←c0515; var←c42216.f5/* buffer←v7424 */ = formal←c0516; /* GetCutBuffer: */ SOURCE(13016, 528) SOURCE(13016, 528) var←c7480 = 0; SOURCE(13105, 439) SOURCE(13107, 384) { word var←c015; { word var←c0471; var←c0471 = (word) &var←c42216; var←c015 = (word) XR←Enable(( ((word) (fPt) NoName←Q6180) ), ( ((word) (fPt) NoName←Q6360) ), var←c0471); }; if ((var←c015 == 10)) { goto lab←L100070; } else { if ((var←c015 == 1)) { goto lab←L013; }; }; }; goto lab←L100074; lab←L100070: ; SOURCE(13529, 12) return(0); lab←L100074: ; SOURCE(13016, 528) return(var←c7480); lab←L013: ; return(var←c42216.f6/* var←c014 */ ); } static word NoName←Q6180(formal←c0446) word formal←c0446; { register ptr gf←c0445 = (ptr) &globalframe; SOURCE(13169, 322) { word var←c40744; var←c40744 = (* (( (ptr) formal←c0446)+4) ); if ((var←c40744 == 0)) { goto lab←L100073; }; if (((* (( (ptr) gf←c0445)+19) ) == XR←GetReferentType(var←c40744))) { { word d←v11144; d←v11144 = var←c40744; SOURCE(13226, 270) { word top←v11188; word c←v11216; SOURCE(13228, 23) top←v11188 = (* (( (ptr) d←v11144)+2) ); SOURCE(13253, 58) c←v11216 = ( (top←v11188 != 0) ? (* (( (ptr) top←v11188)+34) ) : 0 ) ; SOURCE(13313, 178) if ( ( ( (c←v11216 != 0) ? (0 != (* (( (ptr) c←v11216)+15) )) : 0 ) ? (0 == (* (( (ptr) d←v11144)+1) )) : 0 ) ) { SOURCE(13351, 140) { word var←c40776; var←c40776 = (* (( (ptr) formal←c0446)+5) ); if ((var←c40776 == (* (( (ptr) gf←c0445)+27) ))) { SOURCE(13380, 31) (* (( (ptr) formal←c0446)+6) ) = (word) CutBufferGetTioga←P1440(c←v11216); return(1); } else { if (((var←c40776 == (* (( (ptr) gf←c0445)+25) )) || (var←c40776 == (* (( (ptr) gf←c0445)+26) ))) || (var←c40776 == 0)) { SOURCE(13436, 30) { /*1*/ word pd81; /*1*/ pd81 = (* (( (ptr) (* (( (ptr) gf←c0445)+105)/* var←c40648 */ ))+4) ); /*1*/ (* (( (ptr) formal←c0446)+6) ) = (word) ( *( (fPt) ((* (ptr) pd81 ))))(c←v11216, 0, pd81); /*1*/ }; return(1); } else { SOURCE(13479, 12) (* (( (ptr) formal←c0446)+6) ) = 0; return(1); }; }; }; }; }; }; } else { lab←L100073: ; }; }; return(0); } static word NewCursorInfo←P1560(bitmap←v7540) word bitmap←v7540; { register ptr gf←c42248 = (ptr) &globalframe; word ci←v7584; word c←v11260; word sd←v11288; /* NewCursorInfo: */ SOURCE(13548, 729) SOURCE(13548, 729) ci←v7584 = 0; SOURCE(13631, 36) c←v11260 = (* (( (ptr) bitmap←v7540)+34) ); SOURCE(13669, 39) sd←v11288 = (* (( (ptr) bitmap←v7540)+36) ); SOURCE(13710, 567) if ( ( ( (c←v11260 != 0) ? (0 != (* (( (ptr) c←v11260)+15) )) : 0 ) ? (sd←v11288 != 0) : 0 ) ) { SOURCE(13741, 538) { word drawable←v11332; SOURCE(13743, 47) drawable←v11332 = (* (ptr) (* (( (ptr) sd←v11288)+1) ) ); SOURCE(13792, 23) ci←v7584 = XR←NewObject(40, (* (( (ptr) gf←c42248)+14) )); SOURCE(13817, 17) (* (ptr) ci←v7584 ) = c←v11260; SOURCE(13836, 68) { word pd82; pd82 = (* (( (ptr) (* (( (ptr) gf←c42248)+102)/* var←c39144 */ ))+5) ); (* (( (ptr) ci←v7584)+5) ) = (word) ( *( (fPt) ((* (ptr) pd82 ))))(99, (word) (( (bPt) gf←c42248)+372)/* var←c38760 */ , (word) ( ( (bPt) gf←c42248)+364)/* var←c38728 */ , pd82); }; SOURCE(13906, 79) { W2 var←c40904; var←c40904.f0 = 16; var←c40904.f1 = 16; { word pd83; pd83 = (* (( (ptr) (* (( (ptr) gf←c42248)+103)/* var←c39272 */ ))+96) ); (* (( (ptr) ci←v7584)+3) ) = (word) ( *( (fPt) ((* (ptr) pd83 ))))(c←v11260, drawable←v11332, var←c40904, 1, 0, pd83); }; }; SOURCE(13987, 82) { W2 var←c40936; var←c40936.f0 = 32; var←c40936.f1 = 32; { word pd84; pd84 = (* (( (ptr) (* (( (ptr) gf←c42248)+103)/* var←c39272 */ ))+96) ); (* (( (ptr) ci←v7584)+4) ) = (word) ( *( (fPt) ((* (ptr) pd84 ))))(c←v11260, drawable←v11332, var←c40936, 1, 0, pd84); }; }; SOURCE(14071, 36) { word pd85; pd85 = (* (( (ptr) (* (( (ptr) gf←c42248)+103)/* var←c39272 */ ))+141) ); (* (( (ptr) ci←v7584)+2) ) = (word) ( *( (fPt) ((* (ptr) pd85 ))))(c←v11260, drawable←v11332, pd85); }; SOURCE(14109, 39) { word pd86; pd86 = (* (( (ptr) (* (( (ptr) gf←c42248)+103)/* var←c39272 */ ))+159) ); (void) ( *( (fPt) ((* (ptr) pd86 ))))((* (( (ptr) ci←v7584)+2) ), 0, pd86); }; SOURCE(14150, 56) { word pd87; pd87 = (* (( (ptr) (* (( (ptr) gf←c42248)+103)/* var←c39272 */ ))+146) ); (void) ( *( (fPt) ((* (ptr) pd87 ))))((* (( (ptr) ci←v7584)+2) ), 1, 0, pd87); }; SOURCE(14208, 69) { word pd88; pd88 = (* (( (ptr) (* (( (ptr) gf←c42248)+106)/* var←c40968 */ ))+5) ); (* (( (ptr) ci←v7584)+1) ) = (word) ( *( (fPt) ((* (ptr) pd88 ))))(c←v11260, 20, pd88); }; }; }; SOURCE(13548, 729) return(ci←v7584); } static word NewOrCachedCursorInfo←P1620(bitmap←v7656) word bitmap←v7656; { register ptr gf←c42280 = (ptr) &globalframe; word var←c7700; word c←v11376; /* NewOrCachedCursorInfo: */ SOURCE(14286, 422) SOURCE(14286, 422) var←c7700 = 0; SOURCE(14373, 36) c←v11376 = (* (( (ptr) bitmap←v7656)+34) ); SOURCE(14411, 33) if ((c←v11376 == 0) || (0 == (* (( (ptr) c←v11376)+15) ))) { SOURCE(14432, 12) return(0); }; SOURCE(14446, 119) { word var←c41032; { word pd89; pd89 = (* (( (ptr) (* (( (ptr) gf←c42280)+107)/* var←c41000 */ ))+10) ); var←c41032 = (word) ( *( (fPt) ((* (ptr) pd89 ))))(bitmap←v7656, (* (( (ptr) gf←c42280)+28) ), pd89); }; if ((var←c41032 == 0)) { goto lab←L100075; }; if (((* (( (ptr) gf←c42280)+14) ) == XR←GetReferentType(var←c41032))) { { word ci←v11420; ci←v11420 = var←c41032; SOURCE(14530, 35) if (((* (ptr) ci←v11420 ) == c←v11376)) { SOURCE(14554, 11) return(ci←v11420); }; }; } else { lab←L100075: ; }; }; SOURCE(14582, 128) { word ci←v11476; SOURCE(14588, 45) ci←v11476 = (word) NewCursorInfo←P1560(bitmap←v7656); SOURCE(14635, 60) if ((ci←v11476 != 0)) { SOURCE(14650, 45) { word pd90; pd90 = (* (( (ptr) (* (( (ptr) gf←c42280)+107)/* var←c41000 */ ))+11) ); (void) ( *( (fPt) ((* (ptr) pd90 ))))(bitmap←v7656, (* (( (ptr) gf←c42280)+28) ), ci←v11476, pd90); }; }; SOURCE(14697, 11) return(ci←v11476); }; } static void Reset←P1680(formal←c0517) word formal←c0517; { W5 var←c42312; /* declaration of screenServerData←v7772 skipped */ var←c42312.f4/* screenServerData←v7772 */ = formal←c0517; /* Reset: */ SOURCE(14719, 597) SOURCE(14768, 548) SOURCE(14770, 508) { word var←c016; { word var←c0472; var←c0472 = (word) &var←c42312; var←c016 = (word) XR←Enable(( ((word) (fPt) NoName←Q6240) ), ( ((word) (fPt) NoName←Q6300) ), var←c0472); }; if ((var←c016 == 11)) { goto lab←L100076; }; }; goto lab←L100082; lab←L100076: ; lab←L100082: ; } static word NoName←Q6240(formal←c0450) word formal←c0450; { register ptr gf←c0449 = (ptr) &globalframe; SOURCE(14832, 446) { word var←c41064; var←c41064 = (* (( (ptr) formal←c0450)+4) ); if ((var←c41064 == 0)) { goto lab←L100079; }; if (((* (( (ptr) gf←c0449)+19) ) == XR←GetReferentType(var←c41064))) { { word data←v11532; data←v11532 = var←c41064; SOURCE(14892, 389) { word bitmap←v11576; word var←c41096; word c←v37688; SOURCE(14894, 32) bitmap←v11576 = (* (( (ptr) data←v11532)+4) ); SOURCE(14928, 350) if ((bitmap←v11576 == 0)) { goto then091;}; if (((* (( (ptr) bitmap←v11576)+37) ) != 0)) { goto then091;}; c←v37688 = (* (( (ptr) bitmap←v11576)+34) ); if ((c←v37688 != 0)) { var←c41096 = (unsigned) (0 != (* (( (ptr) c←v37688)+15) )); } else { var←c41096 = (unsigned) 0; }; if ((0 == var←c41096)) { then091: ; SOURCE(15013, 20) (* (( (ptr) data←v11532)+1) ) = 1; SOURCE(15036, 21) (* (( (ptr) data←v11532)+21) ) = 0; } else { SOURCE(15067, 211) { word ci←v11620; word var←c41128; word c←v37640; SOURCE(15069, 53) ci←v11620 = (word) NewOrCachedCursorInfo←P1620(bitmap←v11576); SOURCE(15124, 20) (* (( (ptr) data←v11532)+21) ) = ci←v11620; SOURCE(15146, 132) if ((ci←v11620 == 0)) { goto then092;}; c←v37640 = (* (ptr) ci←v11620 ); if ((c←v37640 != 0)) { var←c41128 = (unsigned) (0 != (* (( (ptr) c←v37640)+15) )); } else { var←c41128 = (unsigned) 0; }; if ((0 == var←c41128)) { then092: ; SOURCE(15210, 46) (* (( (ptr) data←v11532)+1) ) = 1; } else { SOURCE(15256, 22) (* (( (ptr) data←v11532)+1) ) = 0; }; }; }; }; }; } else { lab←L100079: ; }; }; return(0); } static void Warning←P1740(screenServerData←v7844, screen←v7872) word screenServerData←v7844; word screen←v7872; { register ptr gf←c42344 = (ptr) &globalframe; /* Warning: */ SOURCE(15320, 460) SOURCE(15391, 389) { word var←c41160; var←c41160 = screenServerData←v7844; if ((var←c41160 == 0)) { goto lab←L100083; }; if (((* (( (ptr) gf←c42344)+19) ) == XR←GetReferentType(var←c41160))) { { word data←v11676; data←v11676 = var←c41160; SOURCE(15453, 212) { word var←c41192; var←c41192 = (* (( (ptr) data←v11676)+21) ); if ((var←c41192 == 0)) { goto lab←L100084; }; if (1) { { word ci←v11720; ci←v11720 = var←c41192; SOURCE(15511, 208) { word bitmap←v11776; SOURCE(15513, 32) bitmap←v11776 = (* (( (ptr) data←v11676)+4) ); SOURCE(15547, 118) if ( ( (bitmap←v11776 != 0) ? ((* (( (ptr) bitmap←v11776)+37) ) == 0) : 0 ) ) { SOURCE(15598, 117) { /*1*/ word c←v11820; SOURCE(15600, 37) /*1*/ c←v11820 = (* (( (ptr) bitmap←v11776)+34) ); SOURCE(15639, 26) /*1*/ if ( ( (c←v11820 != 0) ? (0 != (* (( (ptr) c←v11820)+15) )) : 0 ) ) { SOURCE(15659, 6) /*1*/ return; /*1*/ }; /*1*/ }; }; }; }; } else { lab←L100084: ; }; }; SOURCE(15737, 20) (* (( (ptr) data←v11676)+1) ) = 1; SOURCE(15759, 21) (* (( (ptr) data←v11676)+21) ) = 0; }; } else { lab←L100083: ; }; }; } static word AllocateColorMapIndex←P1800(screenServerData←v17752, display←v17780, revokeIndex←v17808, clientData←v17836) word screenServerData←v17752; word display←v17780; word revokeIndex←v17808; word clientData←v17836; { register ptr gf←c42376 = (ptr) &globalframe; word index←v17880; /* AllocateColorMapIndex: */ SOURCE(15804, 113) SOURCE(15877, 40) (void) XR←RaiseError((* (( (ptr) (* (( (ptr) gf←c42376)+108)/* var←c41224 */ ))+25) ), 0); } static void FreeColorMapIndex←P1860(screenServerData←v17940, index←v17968, display←v17996) word screenServerData←v17940; word index←v17968; word display←v17996; { /* FreeColorMapIndex: */ } static void SetColorMapEntry←P1920(screenServerData←v18056, index←v18084, display←v18112, red←v18140, green←v18168, blue←v18196) word screenServerData←v18056; word index←v18084; word display←v18112; word red←v18140; word green←v18168; word blue←v18196; { /* SetColorMapEntry: */ } static void GetColorMapEntry←P1980(formal←c0349, screenServerData←v18256, index←v18284, display←v18312) word formal←c0349; word screenServerData←v18256; word index←v18284; word display←v18312; { word red←v18356; word green←v18384; word blue←v18412; /* GetColorMapEntry: */ SOURCE(16057, 85) SOURCE(16120, 22) blue←v18412 = 0; green←v18384 = 0; red←v18356 = 0; /* removed tail goto */ (* (ptr) formal←c0349 ) = red←v18356; (* (( (ptr) formal←c0349)+1) ) = green←v18384; (* (( (ptr) formal←c0349)+2) ) = blue←v18412; return; } static void FastAccessStopped←P2040(widget←v18472, registerData←v18500, callData←v18528, event←v18556) word widget←v18472; word registerData←v18500; word callData←v18528; word event←v18556; { /* FastAccessStopped: */ SOURCE(16148, 65) SOURCE(16192, 21) (void) Warning←P1740(registerData←v18500, (word) -1); } static void RegisterFastAccessStopped←P2100(widget←v18616, registerData←v18644, callData←v18672, event←v18700) word widget←v18616; word registerData←v18644; word callData←v18672; word event←v18700; { register ptr gf←c42408 = (ptr) &globalframe; word data←v11864; word w←v11892; /* RegisterFastAccessStopped: */ SOURCE(16219, 195) SOURCE(16271, 41) data←v11864 = XR←Narrow(callData←v18672, (* (( (ptr) gf←c42408)+19) )); SOURCE(16314, 24) w←v11892 = (* (( (ptr) data←v11864)+2) ); SOURCE(16340, 74) { word pd93; pd93 = (* (( (ptr) (* (( (ptr) gf←c42408)+107)/* var←c41000 */ ))+12) ); (void) ( *( (fPt) ((* (ptr) pd93 ))))(w←v11892, (* (ptr) (* (( (ptr) (* (( (ptr) gf←c42408)+107)/* var←c41000 */ ))+22) ) ), (word) (( (bPt) gf←c42408)+124)/* var←c37768 */ , data←v11864, pd93); }; } static void NoName←Q6300(formal←c0364, formal←c200036, formal←c200037, formal←c200038, formal←c200039) word formal←c0364; word formal←c200036; word formal←c200037; word formal←c200038; word formal←c200039; { register ptr gf←c0454 = (ptr) &globalframe; if ((formal←c200037 == XR←Uncaught)) { SOURCE(14790, 30) if ((0 == (* (ptr) (* (( (ptr) (* (( (ptr) gf←c0454)+100)/* var←c38920 */ ))+6) ) ))) { SOURCE(14820, 9) (* (ptr) formal←c0364 ) = 2; (* (( (ptr) formal←c0364)+1) ) = 11; return; }; }; (* (ptr) formal←c0364 ) = 0; (* (( (ptr) formal←c0364)+1) ) = 0; return; } static void NoName←Q6360(formal←c0369, formal←c200032, formal←c200033, formal←c200034, formal←c200035) word formal←c0369; word formal←c200032; word formal←c200033; word formal←c200034; word formal←c200035; { register ptr gf←c0455 = (ptr) &globalframe; if ((formal←c200033 == XR←Uncaught)) { SOURCE(13127, 30) if ((0 == (* (ptr) (* (( (ptr) (* (( (ptr) gf←c0455)+100)/* var←c38920 */ ))+6) ) ))) { SOURCE(13157, 9) (* (ptr) formal←c0369 ) = 2; (* (( (ptr) formal←c0369)+1) ) = 10; return; }; }; (* (ptr) formal←c0369 ) = 0; (* (( (ptr) formal←c0369)+1) ) = 0; return; } static void NoName←Q6420(formal←c0374, formal←c200028, formal←c200029, formal←c200030, formal←c200031) word formal←c0374; word formal←c200028; word formal←c200029; word formal←c200030; word formal←c200031; { register ptr gf←c0456 = (ptr) &globalframe; if ((formal←c200029 == XR←Uncaught)) { SOURCE(12320, 30) if ((0 == (* (ptr) (* (( (ptr) (* (( (ptr) gf←c0456)+100)/* var←c38920 */ ))+6) ) ))) { SOURCE(12350, 9) (* (ptr) formal←c0374 ) = 2; (* (( (ptr) formal←c0374)+1) ) = 9; return; }; }; (* (ptr) formal←c0374 ) = 0; (* (( (ptr) formal←c0374)+1) ) = 0; return; } static void NoName←Q6480(formal←c0379, formal←c200024, formal←c200025, formal←c200026, formal←c200027) word formal←c0379; word formal←c200024; word formal←c200025; word formal←c200026; word formal←c200027; { register ptr gf←c0457 = (ptr) &globalframe; if ((formal←c200025 == XR←Uncaught)) { SOURCE(11668, 56) if ((0 == (* (ptr) (* (( (ptr) (* (( (ptr) gf←c0457)+100)/* var←c38920 */ ))+6) ) ))) { SOURCE(11699, 25) (void) Cleanup←P360((* ((( (ptr) formal←c200024)+4)) )); SOURCE(11726, 9) (* (ptr) formal←c0379 ) = 2; (* (( (ptr) formal←c0379)+1) ) = 8; return; }; }; (* (ptr) formal←c0379 ) = 0; (* (( (ptr) formal←c0379)+1) ) = 0; return; } static void NoName←Q6540(formal←c0384, formal←c200020, formal←c200021, formal←c200022, formal←c200023) word formal←c0384; word formal←c200020; word formal←c200021; word formal←c200022; word formal←c200023; { register ptr gf←c0458 = (ptr) &globalframe; if ((formal←c200021 == XR←Uncaught)) { SOURCE(10640, 56) if ((0 == (* (ptr) (* (( (ptr) (* (( (ptr) gf←c0458)+100)/* var←c38920 */ ))+6) ) ))) { SOURCE(10671, 25) (void) Cleanup←P360((* ((( (ptr) formal←c200020)+4)) )); SOURCE(10698, 9) (* (ptr) formal←c0384 ) = 2; (* (( (ptr) formal←c0384)+1) ) = 7; return; }; }; (* (ptr) formal←c0384 ) = 0; (* (( (ptr) formal←c0384)+1) ) = 0; return; } static void NoName←Q6600(formal←c0389, formal←c200016, formal←c200017, formal←c200018, formal←c200019) word formal←c0389; word formal←c200016; word formal←c200017; word formal←c200018; word formal←c200019; { register ptr gf←c0459 = (ptr) &globalframe; if ((formal←c200017 == XR←Uncaught)) { SOURCE(9979, 56) if ((0 == (* (ptr) (* (( (ptr) (* (( (ptr) gf←c0459)+100)/* var←c38920 */ ))+6) ) ))) { SOURCE(10010, 25) (void) Cleanup←P360((* ((( (ptr) formal←c200016)+4)) )); SOURCE(10037, 9) (* (ptr) formal←c0389 ) = 2; (* (( (ptr) formal←c0389)+1) ) = 6; return; }; }; (* (ptr) formal←c0389 ) = 0; (* (( (ptr) formal←c0389)+1) ) = 0; return; } static void NoName←Q6660(formal←c0394, formal←c200012, formal←c200013, formal←c200014, formal←c200015) word formal←c0394; word formal←c200012; word formal←c200013; word formal←c200014; word formal←c200015; { register ptr gf←c0460 = (ptr) &globalframe; if ((formal←c200013 == XR←Uncaught)) { SOURCE(8141, 56) if ((0 == (* (ptr) (* (( (ptr) (* (( (ptr) gf←c0460)+100)/* var←c38920 */ ))+6) ) ))) { SOURCE(8172, 25) (void) Cleanup←P360((* ((( (ptr) formal←c200012)+4)) )); SOURCE(8199, 9) (* (ptr) formal←c0394 ) = 2; (* (( (ptr) formal←c0394)+1) ) = 5; return; }; }; (* (ptr) formal←c0394 ) = 0; (* (( (ptr) formal←c0394)+1) ) = 0; return; } static void NoName←Q6720(formal←c0399, formal←c200008, formal←c200009, formal←c200010, formal←c200011) word formal←c0399; word formal←c200008; word formal←c200009; word formal←c200010; word formal←c200011; { if ((formal←c200009 == XR←Uncaught)) { SOURCE(7192, 10) (* (( (ptr) formal←c200008)+4) ) = 0; (* (( (ptr) formal←c200008)+5) ) = 0; SOURCE(7204, 8) (* (ptr) formal←c0399 ) = 2; (* (( (ptr) formal←c0399)+1) ) = 4; return; }; (* (ptr) formal←c0399 ) = 0; (* (( (ptr) formal←c0399)+1) ) = 0; return; } static void NoName←Q6780(formal←c0404, formal←c200004, formal←c200005, formal←c200006, formal←c200007) word formal←c0404; word formal←c200004; word formal←c200005; word formal←c200006; word formal←c200007; { register ptr gf←c0461 = (ptr) &globalframe; if ((formal←c200005 == XR←Uncaught)) { SOURCE(5440, 56) if ((0 == (* (ptr) (* (( (ptr) (* (( (ptr) gf←c0461)+100)/* var←c38920 */ ))+6) ) ))) { SOURCE(5471, 25) (void) Cleanup←P360((* ((( (ptr) formal←c200004)+4)) )); SOURCE(5498, 9) (* (ptr) formal←c0404 ) = 2; (* (( (ptr) formal←c0404)+1) ) = 3; return; }; }; (* (ptr) formal←c0404 ) = 0; (* (( (ptr) formal←c0404)+1) ) = 0; return; } static void NoName←Q6840(formal←c0409, formal←c200000, formal←c200001, formal←c200002, formal←c200003) word formal←c0409; word formal←c200000; word formal←c200001; word formal←c200002; word formal←c200003; { register ptr gf←c0462 = (ptr) &globalframe; if ((formal←c200001 == XR←Uncaught)) { SOURCE(3959, 56) if ((0 == (* (ptr) (* (( (ptr) (* (( (ptr) gf←c0462)+100)/* var←c38920 */ ))+6) ) ))) { SOURCE(3990, 25) (void) Cleanup←P360((* ((( (ptr) formal←c200000)+4)) )); SOURCE(4017, 9) (* (ptr) formal←c0409 ) = 2; (* (( (ptr) formal←c0409)+1) ) = 2; return; }; }; (* (ptr) formal←c0409 ) = 0; (* (( (ptr) formal←c0409)+1) ) = 0; return; } /* file: X11ViewersProcsImpl, module: X11ViewersProcsImpl, compiled at: August 16, 1993 12:26:06 pm PDT */ extern void XR←install←X11ViewersProcsImpl() { NoName←Q5640(); } extern void XR←run←X11ViewersProcsImpl() { XR←Start(&globalframe); }