/* Generated with C2C (Cedar To C)*/
/* Copyright (C) 1993 by Xerox Corporation.  All rights reserved. */
/* time: May 4, 1993 3:49:56 pm PDT */
/* C2C version: April 20, 1993 (sun4) */
/* ref-counting: off */
/* file: X11MigrationTool, module: X11MigrationTool */ 
/* switches: bcfhklnouw */ 
#include <cedar/InstallationSupport.h>
#include <cedar/CedarExtra.h>
static char versionStamp[] = "@(#)mob←version [3604015507,3502187933] X11MigrationTool";
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, f5, f6, f7;} W8;
typedef struct {word f0, f1, f2, f3, f4;} W5;
typedef struct {W8 f; W8 r;} W16;
typedef struct {word f0, f1, f2, f3;} W4;
typedef struct {W16 f; W4 r;} W20;
typedef W8 *W8Pt;
typedef W4 *W4Pt;
typedef struct {word f0, f1;} W2;
typedef struct {W8 f; W5 r;} W13;
typedef struct {W8 f; word r;} W9;
typedef W9 *W9Pt;
typedef struct {word f0, f1, f2;} W3;
typedef struct {W16 f; W3 r;} W19;
typedef struct {W16 f; word r;} W17;
typedef W5 *W5Pt;
#define SOURCE(p, l) /* source p, l */
#define BCK(idx, lim) ( ((unsigned) idx) >= ((unsigned) lim) ? (XR←RaiseBoundsFault()) : (idx) )
static void NoName←Q1956();
static void X11MigrationTool←P0();
static void ClearApplication←P60();
static void SetApplication←P120();
static void ApplyMigrate←P180();
static word NoName←Q2016();
static void AppSelectDown←P240();
static void AppSelectUp←P300();
static void FindApplication←P360();
static word NoName←Q2076();
static word NoName←Q2136();
static word NoName←Q2196();
static word NoName←Q2256();
static word VerifyApplication←P420();
static word NoName←Q2316();
static void InitSomeFields←P480();
static void CreateMigrationToolWidget←P540();
static void CreateMigrationTool←P600();
static word MigrateSelf←P660();
static void NoName←Q2376();
static void NoName←Q2436();
static void NoName←Q2496();
static void NoName←Q2556();
static void NoName←Q2616();
static void NoName←Q2676();
static struct {unsigned f; char r[16];} string1 = {851984, "\257\300\363\223\326\161\300\017\164\046\072\104\304\000\000"};
static struct {unsigned f; char r[24];} string2 = {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];} string3 = {917520, "\216\257\300\363\223\326\161\300\017\164\046\072\104\350\000"};
static struct {unsigned f; char r[4];} string4 = {65537, "\001\000\000"};
static struct {unsigned f; char r[16];} string5 = {851984, "\257\300\351\276\264\273\300\115\104\320\264\106\104\000\000"};
static struct {unsigned f; char r[16];} string6 = {851984, "\257\300\326\320\351\223\300\320\277\045\235\100\200\000\000"};
static struct {unsigned f; char r[4];} string7 = {196611, "\004@\227"};
static struct {unsigned f; char r[4];} string8 = {131076, "\216\251\000"};
static struct {unsigned f; char r[24];} string9 = {1310744, "PARC←Migration←Owner\000\000\000"};
static struct {unsigned f; char r[20];} string10 = {1245204, "whistle trained...\012"};
static struct {unsigned f; char r[28];} string11 = {1703964, "migration request sent...\012\000"};
static struct {unsigned f; char r[32];} string12 = {1900576, "Application is no more valid\012\000\000"};
static struct {unsigned f; char r[32];} string13 = {1835040, "Select an application first\012\000\000\000"};
static struct {unsigned f; char r[16];} string14 = {786448, "WhiteOnBlack\000\000\000"};
static struct {unsigned f; char r[20];} string15 = {1245204, "-- none selected --"};
static struct {unsigned f; char r[32];} string16 = {1835040, "Create window migration tool\000\000\000"};
static struct {unsigned f; char r[56];} string17 = {3407928, "error while trying to find top level application %g\012\000\000\000"};
static struct {unsigned f; char r[32];} string18 = {1966112, "%g does not support migration\012\000"};
static struct {unsigned f; char r[44];} string19 = {2687020, "no top level application window found %g\012\000\000"};
static struct {unsigned f; char r[20];} string20 = {1114132, "selected [%g] %g\012\000\000"};
static struct {unsigned f; char r[8];} string21 = {458760, "%g [%g]"};
static struct {unsigned f; char r[16];} string22 = {786448, "WM←PROTOCOLS\000\000\000"};
static struct {unsigned f; char r[16];} string23 = {917520, "PARC←Migration\000"};
static struct {unsigned f; char r[12];} string24 = {655372, "Do migrate\000"};
static struct {unsigned f; char r[20];} string25 = {1179668, "Select application\000"};
static struct {unsigned f; char r[16];} string26 = {917520, "Migration Tool\000"};
static struct {unsigned f; char r[4];} string27 = {196612, "X11"};
static struct {unsigned f; char r[16];} string28 = {786448, "destination:\000\000\000"};
static struct {unsigned f; char r[4];} string29 = {196612, "..."};
static struct {unsigned f; char r[16];} string30 = {851984, "MigrationTool\000\000"};
static struct {unsigned f; char r[40];} string31 = {2555944, "New MigrationTool on server %g created\012"};
static struct {unsigned f; char r[20];} string32 = {1048596, "X11MigrationTool\000\000\000"};
static struct {unsigned f; char r[16];} string33 = {851984, "\257\300\326\320\351\223\300\320\277\045\235\100\164\000\000"};
static struct {unsigned f; char r[12];} string34 = {524296, "\006\001\060\010\000\004\030\001\000\000\000"};
static struct {unsigned f; char r[16];} string35 = {851984, "\257\300\373\225\000\071\300\362\156\307\320\100\150\000\000"};
static struct {unsigned f; char r[16];} string36 = {851984, "\257\300\015\277\004\146\300\034\367\146\045\100\164\000\000"};
static struct {unsigned f; char r[16];} string37 = {851984, "\257\300\351\276\264\273\300\115\104\320\264\100\164\000\000"};
static struct {unsigned f; char r[16];} string38 = {851984, "\257\300\072\360\043\311\300\372\054\163\300\100\150\000\000"};
static struct {unsigned f; char r[16];} string39 = {851984, "\257\300\337\070\153\303\300\227\216\321\214\100\150\000\000"};
static struct {unsigned f; char r[16];} string40 = {851984, "\257\300\033\115\307\000\300\214\060\055\310\100\150\000\000"};
static struct {unsigned f; char r[16];} string41 = {851984, "\257\300\273`R#\300\206CBt@h\000\000"};
static struct {unsigned f; char r[16];} string42 = {851984, "\257\300\054\174\025\242\300\120\014\117\154\100\150\000\000"};
static struct {unsigned f; char r[16];} string43 = {851984, "\257\300\145\202\371\143\300\336\312\353\353\100\150\000\000"};
static struct {
   word f0[36]; 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[2]; word f61; word f62; word f63; 
   word f64; word f65; word f66; word f67[3]; 
   word f70; word f71; word f72; word f73; 
   word f74; word f75; word f76[2]; word f78; 
   word f79; word f80[2]; word f82; word f83; 
   word f84[3]; word f87; word f88; word f89; 
   word f90; word f91; word f92; word f93[3]; 
   word f96; word f97; word f98; word f99; 
   word f100; word f101; word f102[3]; word f105; 
   word f106; word f107; word f108; word f109; 
   word f110; word f111[2]; word f113; word f114; 
   word f115[3]; word f118; word f119; word f120; 
   word f121; word f122; word f123; word f124[2]; 
   word f126; word f127; word f128; word f129; 
   word f130; word f131[9]; 
   } globalframe = {
   {0}, (word) MigrateSelf←P660, 0, (word) CreateMigrationTool←P600, 
   0, (word) CreateMigrationToolWidget←P540, 0, (word) InitSomeFields←P480, 
   0, (word) VerifyApplication←P420, 0, (word) FindApplication←P360, 
   0, (word) AppSelectUp←P300, 0, (word) AppSelectDown←P240, 
   0, (word) ApplyMigrate←P180, 0, (word) SetApplication←P120, 
   0, (word) ClearApplication←P60, 0, (word) X11MigrationTool←P0, 
   {0}, (word) 2147483648, (word) 2147483648, (word) 2147483648, 
   (word) 2147483648, (word) 2147483648, (word) 3, {0}, 
   (word) 2147483648, (word) 2147483648, (word) 2147483648, (word) 2147483648, 
   (word) 2147483648, (word) 3, {0}, (word) 4294967295, 
   (word) 4294967295, {0}, (word) 4294967295, (word) 4294967295, 
   {0}, (word) 2147483648, (word) 2147483648, (word) 300, 
   (word) 100, (word) 2147483648, (word) 3, {0}, 
   (word) 2147483648, (word) 2147483648, (word) 2147483648, (word) 2147483648, 
   (word) 2147483648, (word) 3, {0}, (word) 2147483648, 
   (word) 2147483648, (word) 2147483648, (word) 2147483648, (word) 2147483648, 
   (word) 3, {0}, (word) 4294967295, (word) 4294967295, 
   {0}, (word) 2147483648, (word) 2147483648, (word) 4294967295, 
   (word) 1, (word) 2147483648, (word) 3, {0}, 
   (word) 2147483648, (word) 2147483648, (word) 2147483648, (word) 2147483648, 
   (word) 2147483648, {0}
   };

static void NoName←Q1956()
   {
   register ptr gf←c0211 =  (ptr) &globalframe;
   word var←c40204;
   (* (( (ptr) gf←c0211)+4) ) = (word) XR←GetTypeIndex((word) &string1, 0, (word) &string2);
   (* (( (ptr) gf←c0211)+5) ) = (word) XR←GetTypeIndex((word) &string3, 0, (word) &string4);
   (* (( (ptr) gf←c0211)+7) ) = (word) XR←GetTypeIndexS((word) (&string5));
   (* (( (ptr) gf←c0211)+9) ) = (word) XR←GetTypeIndex((word) &string6, 0, (word) &string7);
   (* (( (ptr) gf←c0211)+10) ) = (word) XR←GetTypeIndex((word) &string8, 0, (word) &string4);
   (*  (ptr) (( (bPt) gf←c0211)+48) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string9);
   (*  (ptr) (( (bPt) gf←c0211)+52) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string10);
   (*  (ptr) (( (bPt) gf←c0211)+56) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string11);
   (*  (ptr) (( (bPt) gf←c0211)+60) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string12);
   (*  (ptr) (( (bPt) gf←c0211)+64) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string13);
   (*  (ptr) (( (bPt) gf←c0211)+68) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+10) ), (word) &string14);
   (*  (ptr) (( (bPt) gf←c0211)+72) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string15);
   (*  (ptr) (( (bPt) gf←c0211)+76) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string16);
   (*  (ptr) (( (bPt) gf←c0211)+80) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string17);
   (*  (ptr) (( (bPt) gf←c0211)+84) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string18);
   (*  (ptr) (( (bPt) gf←c0211)+88) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string19);
   (*  (ptr) (( (bPt) gf←c0211)+92) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string20);
   (*  (ptr) (( (bPt) gf←c0211)+96) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string21);
   (*  (ptr) (( (bPt) gf←c0211)+100) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string22);
   (*  (ptr) (( (bPt) gf←c0211)+104) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string23);
   (*  (ptr) (( (bPt) gf←c0211)+108) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string24);
   (*  (ptr) (( (bPt) gf←c0211)+112) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string25);
   (*  (ptr) (( (bPt) gf←c0211)+116) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string26);
   (*  (ptr) (( (bPt) gf←c0211)+120) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string27);
   (*  (ptr) (( (bPt) gf←c0211)+124) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string28);
   (*  (ptr) (( (bPt) gf←c0211)+128) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string29);
   (*  (ptr) (( (bPt) gf←c0211)+132) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+10) ), (word) &string30);
   (*  (ptr) (( (bPt) gf←c0211)+136) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string31);
   (*  (ptr) (( (bPt) gf←c0211)+140) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c0211)+5) ), (word) &string32);
   (void) XR←DeclareGlobalFrame((word) "X11MigrationTool", &globalframe, (word) XR←GetTypeIndex((word) &string33, 0, (word) &string34)
      , (word) (( (bPt) gf←c0211)+232)/* var←c37932 */ );
   var←c40204 = (word) XR←ImportInterface((word) "Commander", (word) XR←GetTypeIndexS((word) (&string35)), 3);
   (* (( (ptr) gf←c0211)+131)/* var←c38604 */  ) = var←c40204;
   (void) XR←ImportProcS(var←c40204, 1310725);
   var←c40204 = (word) XR←ImportInterface((word) "IO", (word) XR←GetTypeIndexS((word) (&string36)), 103);
   (* (( (ptr) gf←c0211)+133)/* var←c38700 */  ) = var←c40204;
   (void) XR←ImportProcS(var←c40204, 68958724);
   (void) XR←ImportProcS(var←c40204, 2111493);
   (void) XR←ImportProcS(var←c40204, 1063171);
   (void) XR←ImportProcS(var←c40204, 1071364);
   var←c40204 = (word) XR←ImportInterface((word) "Xl", (word) XR←GetTypeIndexS((word) (&string37)), 218);
   (* (( (ptr) gf←c0211)+134)/* var←c38764 */  ) = var←c40204;
   (void) XR←ImportProcS(var←c40204, 68207876);
   (void) XR←ImportProcS(var←c40204, 67910403);
   (void) XR←ImportProcS(var←c40204, 270545672);
   (void) XR←ImportProcS(var←c40204, 537423362);
   (void) XR←ImportProcS(var←c40204, 813571);
   (void) XR←ImportProcS(var←c40204, 553986);
   (void) XR←ImportProcS(var←c40204, 69495049);
   (void) XR←ImportProcS(var←c40204, 67924739);
   (void) XR←ImportProcS(var←c40204, 3199240);
   (void) XR←ImportProcS(var←c40204, 2371849);
   (void) XR←ImportProcS(var←c40204, 271873);
   (void) XR←ImportProcS(var←c40204, 68690438);
   (void) XR←ImportProcS(var←c40204, 67644930);
   var←c40204 = (word) XR←ImportInterface((word) "XlCursor", (word) XR←GetTypeIndexS((word) (&string38)), 3);
   (* (( (ptr) gf←c0211)+136)/* var←c38892 */  ) = var←c40204;
   (void) XR←ImportProcS(var←c40204, 67633410);
   var←c40204 = (word) XR←ImportInterface((word) "XlDetails", (word) XR←GetTypeIndexS((word) (&string39)), 4);
   (* (( (ptr) gf←c0211)+135)/* var←c38860 */  ) = var←c40204;
   var←c40204 = (word) XR←ImportInterface((word) "XTk", (word) XR←GetTypeIndexS((word) (&string40)), 50);
   (* (( (ptr) gf←c0211)+138)/* var←c39916 */  ) = var←c40204;
   (void) XR←ImportProcS(var←c40204, 67634690);
   (void) XR←ImportProcS(var←c40204, 788227);
   (void) XR←ImportProcS(var←c40204, 1579523);
   var←c40204 = (word) XR←ImportInterface((word) "XTkMigration", (word) XR←GetTypeIndexS((word) (&string41)), 3);
   (* (( (ptr) gf←c0211)+139)/* var←c40044 */  ) = var←c40204;
   (void) XR←ImportProcS(var←c40204, 524546);
   var←c40204 = (word) XR←ImportInterface((word) "XTkShellWidgets", (word) XR←GetTypeIndexS((word) (&string42)), 26);
   (* (( (ptr) gf←c0211)+137)/* var←c39820 */  ) = var←c40204;
   (void) XR←ImportProcS(var←c40204, 72352012);
   var←c40204 = (word) XR←ImportInterface((word) "XTkWidgets", (word) XR←GetTypeIndexS((word) (&string43)), 52);
   (* (( (ptr) gf←c0211)+132)/* var←c38636 */  ) = var←c40204;
   (void) XR←ImportProcS(var←c40204, 2099460);
   (void) XR←ImportProcS(var←c40204, 787203);
   (void) XR←ImportProcS(var←c40204, 69479169);
   (void) XR←ImportProcS(var←c40204, 793347);
   (void) XR←ImportProcS(var←c40204, 526338);
   (void) XR←ImportProcS(var←c40204, 67383809);
   (void) XR←ImportProcS(var←c40204, 71574022);
   (void) XR←ImportProcS(var←c40204, 69742850);
   (void) XR←ImportProcS(var←c40204, 70786819);
   (void) XR←ImportProcS(var←c40204, 72097800);
   (void) XR←ImportProcS(var←c40204, 69998595);
   (void) XR←ImportProcS(var←c40204, 796163);
   (void) XR←ImportProcS(var←c40204, 67379969);
   (void) XR←ImportProcS(var←c40204, 795651);
   }

static void X11MigrationTool←P0(formal←c060, formal←c059)
   word formal←c060;
   word formal←c059;
   {
   register ptr gf←c40236 =  (ptr) &globalframe;
   /* X11MigrationTool: */ 
SOURCE(126, 9018)
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
   /* moved to installation proc */ 
SOURCE(9053, 91)
   {
      word pd44;
      pd44 = (* (( (ptr) (* (( (ptr) gf←c40236)+131)/* var←c38604 */  ))+4) );
      (void) ( *( (fPt) ((*  (ptr) pd44 ))))((* (( (ptr) gf←c40236)+35) ), (word) (( (bPt) gf←c40236)+152)/* var←c37612 */ , (* (
            ( (ptr) gf←c40236)+19) ), 0, 1, pd44);
      };
   }

static void ClearApplication←P60(i←v3572)
   word i←v3572;
   {
   register ptr gf←c40268 =  (ptr) &globalframe;
   /* ClearApplication: */ 
SOURCE(561, 109)
SOURCE(615, 55)
   (void) SetApplication←P120(i←v3572, 0, (* (( (ptr) gf←c40268)+18) ));
   }

static void SetApplication←P120(i←v3644, w←v3672, text←v3700)
   word i←v3644;
   word w←v3672;
   word text←v3700;
   {
   register ptr gf←c40300 =  (ptr) &globalframe;
   /* SetApplication: */ 
SOURCE(676, 152)
SOURCE(759, 44)
   {
      word pd45;
      pd45 = (* (( (ptr) (* (( (ptr) gf←c40300)+132)/* var←c38636 */  ))+40) );
      (void) ( *( (fPt) ((*  (ptr) pd45 ))))((* (( (ptr) i←v3644)+2) ), text←v3700, 2, pd45);
      };
SOURCE(805, 23)
   (* (( (ptr) i←v3644)+3) ) = w←v3672;
   }

static void ApplyMigrate←P180(widget←v7696, registerData←v7724, callData←v7752, event←v7780)
   word widget←v7696;
   word registerData←v7724;
   word callData←v7752;
   word event←v7780;
   {
   W8 var←c40332;
   register ptr gf←c40364 =  (ptr) &globalframe;
   /* ApplyMigrate: */ 
SOURCE(834, 1864)
SOURCE(871, 1827)
SOURCE(873, 47)
   {
      /* declaration of i←v4132 skipped */ 
      word applicationShellWindow←v4160;
      word time←v4188 = 0;
      W5 parameters←v4216;
      word destinationConnection←v4244 = 0;
      /* declaration of destinationName←v4272 skipped */ 
      word specialMode←v4300 = 0;
      word commandAtom←v4328;
SOURCE(873, 47)
      var←c40332.f4/* i←v4132 */  = XR←Narrow(registerData←v7724, (* (( (ptr) gf←c40364)+9) ));
SOURCE(922, 55)
      applicationShellWindow←v4160 = (* (( (ptr) var←c40332.f4/* i←v4132 */ )+3) );
SOURCE(1016, 51)
      XR←FillWords(&parameters←v4216, 5, 0);
SOURCE(1107, 26)
      var←c40332.f5/* destinationName←v4272 */  = 0;
SOURCE(1162, 37)
      commandAtom←v4328 = (* (( (ptr) var←c40332.f4/* i←v4132 */ )+6) );
SOURCE(1201, 97)
      if ((applicationShellWindow←v4160 == 0)) {
SOURCE(1248, 50)
         {
            word pd46;
            pd46 = (* (( (ptr) (* (( (ptr) gf←c40364)+133)/* var←c38700 */  ))+93) );
            (void) ( *( (fPt) ((*  (ptr) pd46 ))))((* (( (ptr) var←c40332.f4/* i←v4132 */ )+7) ), (* (( (ptr) gf←c40364)+16) ), 0, 2147483647, pd46)
            ;
            };
SOURCE(1300, 9)
         goto lab←L100000;
         };
SOURCE(1314, 128)
      if ((0 == (word) VerifyApplication←P420(var←c40332.f4/* i←v4132 */ , applicationShellWindow←v4160))) {
SOURCE(1370, 51)
         {
            word pd47;
            pd47 = (* (( (ptr) (* (( (ptr) gf←c40364)+133)/* var←c38700 */  ))+93) );
            (void) ( *( (fPt) ((*  (ptr) pd47 ))))((* (( (ptr) var←c40332.f4/* i←v4132 */ )+7) ), (* (( (ptr) gf←c40364)+15) ), 0, 2147483647, pd47)
            ;
            };
SOURCE(1423, 19)
         (void) ClearApplication←P60(var←c40332.f4/* i←v4132 */ );
SOURCE(1444, 9)
         goto lab←L100000;
         };
SOURCE(1458, 95)
      {
         word var←c38732;
         var←c38732 = event←v7780;
         if ((var←c38732 == 0)) {
            goto lab←L100001;
            };
         if (((* (( (ptr) var←c38732)+4) ) == 5)) {
            {
               word br←v4420;
               br←v4420 = var←c38732;
SOURCE(1510, 43)
               if ((* (( (bPt) br←v4420)+63) ) & 04) {
SOURCE(1535, 18)
                  specialMode←v4300 = 1;
                  };
               };
            }
         else {
            lab←L100001: ;
            };
         };
SOURCE(1570, 57)
      {
         word pd48;
         pd48 = (* (( (ptr) (* (( (ptr) gf←c40364)+132)/* var←c38636 */  ))+39) );
         var←c40332.f5/* destinationName←v4272 */  = (word) ( *( (fPt) ((*  (ptr) pd48 ))))((* ((( (ptr) var←c40332.f4/* i←v4132 */ )+4)
            ) ), pd48);
         };
SOURCE(1629, 292)
      if ((0 != specialMode←v4300)) {
SOURCE(1652, 73)
         {
            word pd49;
            pd49 = (* (( (ptr) (* (( (ptr) gf←c40364)+134)/* var←c38764 */  ))+50) );
            commandAtom←v4328 = (word) ( *( (fPt) ((*  (ptr) pd49 ))))((* (( (ptr) (*  (ptr) var←c40332.f4/* i←v4132 */  ))+34) ), (* (
                  ( (ptr) gf←c40364)+12) ), pd49);
            };
         }
      else {
SOURCE(1736, 128)
         {
            /* declaration of var←c01 skipped */ 
            var←c40332.f6/* var←c01 */  = (* (( (ptr) (* (( (ptr) gf←c40364)+134)/* var←c38764 */  ))+38) );
            {
               /* declaration of var←c02 skipped */ 
               {
                  word var←c03;
                  {
                     word var←c0235;
                     var←c0235 = (word) &var←c40332;
                     var←c03 = (word) XR←Enable(( ((word)  (fPt) NoName←Q2016) ), ( ((word)  (fPt) NoName←Q2676) ), var←c0235);
                     };
                  if ((var←c03 == 2)) {
                     goto lab←L100000;
                     };
                  };
               destinationConnection←v4244 = var←c40332.f7/* var←c02 */ ;
               };
            };
SOURCE(1880, 41)
         {
            word pd50;
            pd50 = (* (( (ptr) (* (( (ptr) gf←c40364)+134)/* var←c38764 */  ))+42) );
            (void) ( *( (fPt) ((*  (ptr) pd50 ))))(destinationConnection←v4244, pd50);
            };
         };
SOURCE(1926, 144)
      {
         word pd51;
         pd51 = (* (( (ptr) (* (( (ptr) gf←c40364)+134)/* var←c38764 */  ))+53) );
         (void) ( *( (fPt) ((*  (ptr) pd51 ))))((* (( (ptr) (*  (ptr) var←c40332.f4/* i←v4132 */  ))+34) ), (* (( (ptr) (* (( (ptr) var←c40332.f4/* i←v4132 */ )+4)
                ))+35) ), (* (( (ptr) var←c40332.f4/* i←v4132 */ )+6) ), (* (( (ptr) var←c40332.f4/* i←v4132 */ )+6) ), 0, var←c40332.f5/* destinationName←v4272 */ 
            , 0, 2147483647, 0, pd51);
         };
SOURCE(2072, 38)
      parameters←v4216.f0 = commandAtom←v4328;
SOURCE(2122, 22)
      parameters←v4216.f1 = time←v4188;
SOURCE(2147, 55)
      {
         word var←c38796;
         word w←v37388;
         w←v37388 = (* (( (ptr) (* (( (ptr) var←c40332.f4/* i←v4132 */ )+4) ))+35) );
         var←c38796 = w←v37388;
         parameters←v4216.f2 = var←c38796;
         };
SOURCE(2226, 40)
      {
         word var←c38828;
         word a←v37532;
         a←v37532 = (* (( (ptr) var←c40332.f4/* i←v4132 */ )+6) );
         var←c38828 = a←v37532;
         parameters←v4216.f3 = var←c38828;
         };
SOURCE(2295, 245)
      {
         word pd52;
         pd52 = (* (( (ptr) (* (( (ptr) gf←c40364)+134)/* var←c38764 */  ))+213) );
         (void) ( *( (fPt) ((*  (ptr) pd52 ))))((* (( (ptr) (*  (ptr) var←c40332.f4/* i←v4132 */  ))+34) ), applicationShellWindow←v4160, 0, 0, applicationShellWindow←v4160, (* (
               ( (ptr) var←c40332.f4/* i←v4132 */ )+5) )
            , parameters←v4216, (*  (ptr) (* (( (ptr) (* (( (ptr) gf←c40364)+135)/* var←c38860 */  ))+5) ) ), pd52);
         };
SOURCE(2542, 115)
      if ((0 != specialMode←v4300)) {
SOURCE(2562, 47)
         {
            word pd53;
            pd53 = (* (( (ptr) (* (( (ptr) gf←c40364)+133)/* var←c38700 */  ))+93) );
            (void) ( *( (fPt) ((*  (ptr) pd53 ))))((* (( (ptr) var←c40332.f4/* i←v4132 */ )+7) ), (* (( (ptr) gf←c40364)+13) ), 0, 2147483647, pd53)
            ;
            };
         }
      else {
SOURCE(2609, 48)
         {
            word pd54;
            pd54 = (* (( (ptr) (* (( (ptr) gf←c40364)+133)/* var←c38700 */  ))+93) );
            (void) ( *( (fPt) ((*  (ptr) pd54 ))))((* (( (ptr) var←c40332.f4/* i←v4132 */ )+7) ), (* (( (ptr) gf←c40364)+14) ), 0, 2147483647, pd54)
            ;
            };
         };
SOURCE(2659, 19)
      (void) ClearApplication←P60(var←c40332.f4/* i←v4132 */ );
      };
   goto lab←L100006;
   lab←L100000: ;
   lab←L100006: ;
   }

static word NoName←Q2016(formal←c0216)
   word formal←c0216;
   {
SOURCE(1736, 128)
   {
      word pd55;
      pd55 = (* (( (ptr) formal←c0216)+6) );
      (* (( (ptr) formal←c0216)+7) ) = (word) ( *( (fPt) ((*  (ptr) pd55 ))))((* (( (ptr) formal←c0216)+5) ), 0, 0, 0, 0, 0, pd55)
      ;
      };
   return(0);
   }

static void AppSelectDown←P240(event←v7840, clientData←v7868, tq←v7896)
   word event←v7840;
   word clientData←v7868;
   word tq←v7896;
   {
   register ptr gf←c40396 =  (ptr) &globalframe;
   word i←v4464;
   word ev←v4492;
   word c←v4520;
   /* AppSelectDown: */ 
SOURCE(2702, 722)
SOURCE(2738, 45)
   i←v4464 = XR←Narrow(clientData←v7868, (* (( (ptr) gf←c40396)+9) ));
SOURCE(2785, 39)
   if ((event←v7840 == 0)) {
      goto lab←L100007;
      };
   if (((* (( (ptr) event←v7840)+4) ) == 4)) {
      goto lab←L100007;
      };
   (void) XR←RaiseError(XR←NarrowFault, 0);
   lab←L100007: ;
   ev←v4492 = event←v7840;
SOURCE(2826, 32)
   c←v4520 = (* (( (ptr) ev←v4492)+2) );
SOURCE(2860, 564)
   {
      word pd56;
      pd56 = (* (( (ptr) (* (( (ptr) gf←c40396)+134)/* var←c38764 */  ))+119) );
      if (((word) ( *( (fPt) ((*  (ptr) pd56 ))))(c←v4520, (* (( (ptr) ev←v4492)+7) ), i←v4464, pd56) == 3)) {
SOURCE(2920, 509)
         {
            word s←v4576;
            word cursor←v4604;
SOURCE(2940, 62)
            {
               word pd57;
               pd57 = (* (( (ptr) (* (( (ptr) gf←c40396)+136)/* var←c38892 */  ))+5) );
               cursor←v4604 = (word) ( *( (fPt) ((*  (ptr) pd57 ))))(c←v4520, 104, pd57);
               };
SOURCE(3004, 222)
            {
               word pd58;
               pd58 = (* (( (ptr) (* (( (ptr) gf←c40396)+134)/* var←c38764 */  ))+109) );
               s←v4576 = (word) ( *( (fPt) ((*  (ptr) pd58 ))))(c←v4520, (* (( (ptr) ev←v4492)+9) ), 0, 8, 1, 1
                  , 0, cursor←v4604, (* (( (ptr) ev←v4492)+7) ), pd58);
               };
SOURCE(3228, 196)
            if ((s←v4576 == 0)) {
SOURCE(3249, 66)
               {
                  word pd59;
                  pd59 = (* (( (ptr) (* (( (ptr) gf←c40396)+132)/* var←c38636 */  ))+42) );
                  (void) ( *( (fPt) ((*  (ptr) pd59 ))))((* (( (ptr) i←v4464)+1) ), (* (( (ptr) gf←c40396)+17) ), 2, pd59);
                  };
               }
            else {
SOURCE(3326, 56)
               {
                  word pd60;
                  pd60 = (* (( (ptr) (* (( (ptr) gf←c40396)+132)/* var←c38636 */  ))+42) );
                  (void) ( *( (fPt) ((*  (ptr) pd60 ))))((* (( (ptr) i←v4464)+1) ), 0, 2, pd60);
                  };
SOURCE(3384, 40)
               {
                  word pd61;
                  pd61 = (* (( (ptr) (* (( (ptr) gf←c40396)+134)/* var←c38764 */  ))+120) );
                  (void) ( *( (fPt) ((*  (ptr) pd61 ))))(c←v4520, (* (( (ptr) ev←v4492)+7) ), pd61);
                  };
               };
            };
         };
      };
   }

static void AppSelectUp←P300(event←v7956, clientData←v7984, tq←v8012)
   word event←v7956;
   word clientData←v7984;
   word tq←v8012;
   {
   register ptr gf←c40428 =  (ptr) &globalframe;
   word i←v4648;
   word ev←v4676;
   word var←c38924;
   word c←v37340;
   /* AppSelectUp: */ 
SOURCE(3435, 351)
SOURCE(3469, 45)
   i←v4648 = XR←Narrow(clientData←v7984, (* (( (ptr) gf←c40428)+9) ));
SOURCE(3516, 41)
   if ((event←v7956 == 0)) {
      goto lab←L100008;
      };
   if (((* (( (ptr) event←v7956)+4) ) == 5)) {
      goto lab←L100008;
      };
   (void) XR←RaiseError(XR←NarrowFault, 0);
   lab←L100008: ;
   ev←v4676 = event←v7956;
SOURCE(3559, 45)
   {
      word pd62;
      pd62 = (* (( (ptr) (* (( (ptr) gf←c40428)+134)/* var←c38764 */  ))+110) );
      (void) ( *( (fPt) ((*  (ptr) pd62 ))))((* (( (ptr) ev←v4676)+2) ), (* (( (ptr) ev←v4676)+7) ), 0, pd62);
      };
SOURCE(3606, 180)
   c←v37340 = (* (( (ptr) ev←v4676)+2) );
   var←c38924 = (* (( (ptr) c←v37340)+37) );
   if ((i←v4648 == var←c38924)) {
SOURCE(3652, 52)
      {
         word pd63;
         pd63 = (* (( (ptr) (* (( (ptr) gf←c40428)+134)/* var←c38764 */  ))+120) );
         (void) ( *( (fPt) ((*  (ptr) pd63 ))))((* (( (ptr) ev←v4676)+2) ), (* (( (ptr) ev←v4676)+7) ), pd63);
         };
SOURCE(3706, 56)
      {
         word pd64;
         pd64 = (* (( (ptr) (* (( (ptr) gf←c40428)+132)/* var←c38636 */  ))+42) );
         (void) ( *( (fPt) ((*  (ptr) pd64 ))))((* (( (ptr) i←v4648)+1) ), 0, 2, pd64);
         };
SOURCE(3764, 22)
      (void) FindApplication←P360(i←v4648, ev←v4676);
      };
   }

static void FindApplication←P360(i←v3772, ev←v3800)
   word i←v3772;
   word ev←v3800;
   {
   W20 var←c40460;
   register ptr gf←c40492 =  (ptr) &globalframe;
   word name←v4732 = 0;
   /* declaration of error←v4760 skipped */ 
   word foundGood←v4788 = 0;
   word foundBad←v4816 = 0;
   /* declaration of pointerReply←v4844 skipped */ 
   W4 propertyRec1←v4872;
   W4 propertyRec2←v4900;
   word parent←v4928;
   /* FindApplication: */ 
SOURCE(3794, 2205)
SOURCE(3898, 40)
   (* (( (ptr) &var←c40460)+4)/* error←v4760 */  ) = 0;
SOURCE(3940, 29)
   XR←FillWords(&(* (W8Pt) ((( (ptr) &var←c40460)+5)/* pointerReply←v4844 */ )), 8, 0);
SOURCE(3971, 48)
   propertyRec1←v4872.f0 = 0;
   propertyRec1←v4872.f1 = 0;
   propertyRec1←v4872.f2 = 0;
   propertyRec1←v4872.f3 = 0;
   propertyRec2←v4900 = propertyRec1←v4872;
SOURCE(4021, 27)
   parent←v4928 = (* (( (ptr) ev←v3800)+8) );
SOURCE(4050, 1416)
   lab←L100012: ;
   if ( (  (  ( (parent←v4928 != 0) ? (0 == foundGood←v4788) : 0 )  ? (0 == (* (( (ptr) &var←c40460)+4)/* error←v4760 */  )) : 0 )  ? (0 == foundBad←v4816) : 0 ) ) {
      }
   else {
      goto lab←L100010;
      };
SOURCE(4120, 53)
   {
      word pd65;
      pd65 = (* (( (ptr) (* (( (ptr) gf←c40492)+134)/* var←c38764 */  ))+114) );
      (void) ( *( (fPt) ((*  (ptr) pd65 ))))((word) (( (bPt) &var←c40460)+20)/* pointerReply←v4844 */ , (* (( (ptr) ev←v3800)+2)
          ), parent←v4928, pd65);
      };
SOURCE(4175, 1243)
   if (((* (( (ptr) &var←c40460)+6) ) != 0)) {
SOURCE(4218, 127)
SOURCE(4218, 127)
      {
         /* declaration of var←c04 skipped */ 
         /* declaration of var←c05 skipped */ 
         /* declaration of var←c06 skipped */ 
         (* (( (ptr) &var←c40460)+13)/* var←c04 */  ) = (* (( (ptr) ev←v3800)+2) );
         (* (( (ptr) &var←c40460)+14)/* var←c05 */  ) = (* (( (ptr) i←v3772)+5) );
         (* (( (ptr) &var←c40460)+15)/* var←c06 */  ) = (* (( (ptr) (* (( (ptr) gf←c40492)+134)/* var←c38764 */  ))+55) );
         {
            /* declaration of var←c07 skipped */ 
            {
               word var←c08;
               {
                  word var←c0236;
                  var←c0236 = (word) &var←c40460;
                  var←c08 = (word) XR←Enable(( ((word)  (fPt) NoName←Q2256) ), ( ((word)  (fPt) NoName←Q2616) ), var←c0236);
                  };
               if ((var←c08 == 3)) {
                  goto lab←L100014;
                  };
               };
            propertyRec1←v4872 = (*  (W4Pt) (( (ptr) &var←c40460)+16)/* var←c07 */  );
            };
         };
      lab←L100014: ;
SOURCE(4359, 14)
      if ((0 != (* (( (ptr) &var←c40460)+4)/* error←v4760 */  ))) {
SOURCE(4373, 4)
         goto lab←L100011;
         };
SOURCE(4379, 276)
      {
         word var←c39020;
         var←c39020 = propertyRec1←v4872.f2;
         if ((var←c39020 == 0)) {
            goto lab←L100017;
            };
         if (((* (( (ptr) gf←c40492)+7) ) == XR←GetReferentType(var←c39020))) {
            {
               word list←v4972;
               list←v4972 = var←c39020;
SOURCE(4448, 90)
               {
                  register word n←v5028 = 0;
                  register word noName←c39052;
                  word var←c39084;
                  word a←v37484;
                  noName←c39052 = (*  (ptr) list←v4972 );
                  if ((n←v5028 >= noName←c39052)) {
                     goto lab←L100018;
                     };
                  lab←L100021: ;
SOURCE(4480, 58)
                  {
                     word limit66;
                     a←v37484 = (* (( (ptr) i←v3772)+6) );
                     var←c39084 = a←v37484;
                     if (((* ((( (ptr) list←v4972)+1)+(
                           limit66 = (*  (ptr) list←v4972 ),
                           BCK(n←v5028, limit66)
                           )) ) == var←c39084)) {
SOURCE(4522, 16)
                        foundGood←v4788 = 1;
SOURCE(4540, 4)
                        goto lab←L100019;
                        };
                     };
                  n←v5028 = (n←v5028 + 1);
                  if ((n←v5028 < noName←c39052)) {
                     goto lab←L100021;
                     };
                  lab←L100018: ;
                  lab←L100019: ;
                  };
SOURCE(4556, 34)
               if ((0 == foundGood←v4788)) {
SOURCE(4575, 15)
                  foundBad←v4816 = 1;
                  };
               };
            }
         else {
            lab←L100017: ;
SOURCE(4608, 47)
            if ((propertyRec1←v4872.f2 != 0)) {
SOURCE(4639, 16)
               foundBad←v4816 = 1;
               };
            };
         };
SOURCE(4659, 134)
SOURCE(4659, 134)
      {
         /* declaration of var←c09 skipped */ 
         /* declaration of var←c010 skipped */ 
         (* (( (ptr) &var←c40460)+13)/* var←c09 */  ) = (* (( (ptr) ev←v3800)+2) );
         (* (( (ptr) &var←c40460)+14)/* var←c010 */  ) = (* (( (ptr) (* (( (ptr) gf←c40492)+134)/* var←c38764 */  ))+55) );
         {
            /* declaration of var←c011 skipped */ 
            {
               word var←c012;
               {
                  word var←c0237;
                  var←c0237 = (word) &var←c40460;
                  var←c012 = (word) XR←Enable(( ((word)  (fPt) NoName←Q2196) ), ( ((word)  (fPt) NoName←Q2556) ), var←c0237);
                  };
               if ((var←c012 == 4)) {
                  goto lab←L100024;
                  };
               };
            propertyRec2←v4900 = (*  (W4Pt) (( (ptr) &var←c40460)+15)/* var←c011 */  );
            };
         };
      lab←L100024: ;
SOURCE(4807, 77)
      if ((0 == (* (( (ptr) &var←c40460)+4)/* error←v4760 */  ))) {
SOURCE(4824, 60)
         {
            word var←c39116;
            var←c39116 = propertyRec2←v4900.f2;
            if ((var←c39116 == 0)) {
               goto lab←L100027;
               };
            {
               word tc67;
               if (((* (( (ptr) gf←c40492)+4) ) == XR←GetReferentType(var←c39116))) {
                  tc67 =  (word) ( (unsigned) (*(int*)var←c39116<0) == 0);
                  }
               else {
                  tc67 =  (word) 0;
                  };
               if (tc67) {
                  {
                     word r←v5072;
                     r←v5072 = var←c39116;
SOURCE(4876, 8)
                     name←v4732 = r←v5072;
                     };
                  }
               else {
                  lab←L100027: ;
                  };
               };
            };
         };
SOURCE(4904, 18)
      if ((0 != foundGood←v4788)) {
SOURCE(4922, 4)
         goto lab←L100011;
         };
SOURCE(4928, 33)
      if ((name←v4732 != 0)) {
SOURCE(4946, 15)
         foundBad←v4816 = 1;
SOURCE(4963, 4)
         goto lab←L100011;
         };
SOURCE(4970, 135)
SOURCE(4970, 135)
      {
         /* declaration of var←c013 skipped */ 
         /* declaration of var←c014 skipped */ 
         (* (( (ptr) &var←c40460)+13)/* var←c013 */  ) = (* (( (ptr) ev←v3800)+2) );
         (* (( (ptr) &var←c40460)+14)/* var←c014 */  ) = (* (( (ptr) (* (( (ptr) gf←c40492)+134)/* var←c38764 */  ))+55) );
         {
            /* declaration of var←c015 skipped */ 
            {
               word var←c016;
               {
                  word var←c0238;
                  var←c0238 = (word) &var←c40460;
                  var←c016 = (word) XR←Enable(( ((word)  (fPt) NoName←Q2136) ), ( ((word)  (fPt) NoName←Q2496) ), var←c0238);
                  };
               if ((var←c016 == 5)) {
                  goto lab←L100029;
                  };
               };
            propertyRec1←v4872 = (*  (W4Pt) (( (ptr) &var←c40460)+15)/* var←c015 */  );
            };
         };
      lab←L100029: ;
SOURCE(5119, 14)
      if ((0 != (* (( (ptr) &var←c40460)+4)/* error←v4760 */  ))) {
SOURCE(5133, 4)
         goto lab←L100011;
         };
SOURCE(5139, 47)
      if ((propertyRec1←v4872.f2 != 0)) {
SOURCE(5171, 15)
         foundBad←v4816 = 1;
SOURCE(5188, 4)
         goto lab←L100011;
         };
SOURCE(5196, 141)
SOURCE(5196, 141)
      {
         /* declaration of var←c017 skipped */ 
         /* declaration of var←c018 skipped */ 
         (* (( (ptr) &var←c40460)+13)/* var←c017 */  ) = (* (( (ptr) ev←v3800)+2) );
         (* (( (ptr) &var←c40460)+14)/* var←c018 */  ) = (* (( (ptr) (* (( (ptr) gf←c40492)+134)/* var←c38764 */  ))+55) );
         {
            /* declaration of var←c019 skipped */ 
            {
               word var←c020;
               {
                  word var←c0239;
                  var←c0239 = (word) &var←c40460;
                  var←c020 = (word) XR←Enable(( ((word)  (fPt) NoName←Q2076) ), ( ((word)  (fPt) NoName←Q2436) ), var←c0239);
                  };
               if ((var←c020 == 6)) {
                  goto lab←L100033;
                  };
               };
            propertyRec1←v4872 = (*  (W4Pt) (( (ptr) &var←c40460)+15)/* var←c019 */  );
            };
         };
      lab←L100033: ;
SOURCE(5351, 14)
      if ((0 != (* (( (ptr) &var←c40460)+4)/* error←v4760 */  ))) {
SOURCE(5365, 4)
         goto lab←L100011;
         };
SOURCE(5371, 47)
      if ((propertyRec1←v4872.f2 != 0)) {
SOURCE(5403, 15)
         foundBad←v4816 = 1;
SOURCE(5420, 4)
         goto lab←L100011;
         };
      };
SOURCE(5431, 35)
   parent←v4928 = (* (( (ptr) &var←c40460)+6) );
   goto lab←L100012;
   lab←L100010: ;
   lab←L100011: ;
SOURCE(5468, 111)
   if ((0 != (* (( (ptr) &var←c40460)+4)/* error←v4760 */  ))) {
SOURCE(5484, 87)
      {
         W2 var←c39148;
         var←c39148.f0 = 11;
         var←c39148.f1 = name←v4732;
         {
            word pd68;
            pd68 = (* (( (ptr) (* (( (ptr) gf←c40492)+133)/* var←c38700 */  ))+61) );
            (void) ( *( (fPt) ((*  (ptr) pd68 ))))((* (( (ptr) i←v3772)+7) ), (* (( (ptr) gf←c40492)+20) ), var←c39148, pd68);
            };
         };
SOURCE(5573, 6)
      return;
      };
SOURCE(5584, 92)
   if ((0 != foundBad←v4816)) {
SOURCE(5603, 65)
      {
         W2 var←c39180;
         var←c39180.f0 = 11;
         var←c39180.f1 = name←v4732;
         {
            word pd69;
            pd69 = (* (( (ptr) (* (( (ptr) gf←c40492)+133)/* var←c38700 */  ))+61) );
            (void) ( *( (fPt) ((*  (ptr) pd69 ))))((* (( (ptr) i←v3772)+7) ), (* (( (ptr) gf←c40492)+21) ), var←c39180, pd69);
            };
         };
SOURCE(5670, 6)
      return;
      };
SOURCE(5681, 105)
   if ((0 == foundGood←v4788)) {
SOURCE(5702, 76)
      {
         W2 var←c39212;
         var←c39212.f0 = 11;
         var←c39212.f1 = name←v4732;
         {
            word pd70;
            pd70 = (* (( (ptr) (* (( (ptr) gf←c40492)+133)/* var←c38700 */  ))+61) );
            (void) ( *( (fPt) ((*  (ptr) pd70 ))))((* (( (ptr) i←v3772)+7) ), (* (( (ptr) gf←c40492)+22) ), var←c39212, pd70);
            };
         };
SOURCE(5780, 6)
      return;
      };
SOURCE(5791, 92)
   {
      W2 var←c39244;
      {
         word v←v37244;
         v←v37244 = (* (( (ptr) &var←c40460)+6) );
         var←c39244.f0 = 4;
         var←c39244.f1 = v←v37244;
         };
      {
         W2 var←c39340;
         W2 var←c0240;
         var←c39340.f0 = 11;
         var←c39340.f1 = name←v4732;
         (*  (ptr) (word) &var←c0240 ) = 0;
         (* (( (ptr) (word) &var←c0240) + 1) ) = 0;
         {
            word pd71;
            pd71 = (* (( (ptr) (* (( (ptr) gf←c40492)+133)/* var←c38700 */  ))+60) );
            (void) ( *( (fPt) ((*  (ptr) pd71 ))))((* (( (ptr) i←v3772)+7) ), (* (( (ptr) gf←c40492)+23) ), var←c39244, var←c39340, var←c0240, pd71)
            ;
            };
         };
      };
SOURCE(5885, 114)
   {
      word var←c39404;
      {
         W2 var←c39436;
         {
            word v←v37196;
            v←v37196 = (* (( (ptr) &var←c40460)+6) );
            var←c39436.f0 = 4;
            var←c39436.f1 = v←v37196;
            };
         {
            W2 var←c39532;
            W2 var←c0241;
            var←c39532.f0 = 11;
            var←c39532.f1 = name←v4732;
            (*  (ptr) (word) &var←c0241 ) = 0;
            (* (( (ptr) (word) &var←c0241) + 1) ) = 0;
            {
               word pd72;
               pd72 = (* (( (ptr) (* (( (ptr) gf←c40492)+133)/* var←c38700 */  ))+62) );
               var←c39404 = (word) ( *( (fPt) ((*  (ptr) pd72 ))))((* (( (ptr) gf←c40492)+24) ), var←c39532, var←c39436, var←c0241, pd72)
               ;
               };
            };
         };
      (void) SetApplication←P120(i←v3772, (* (( (ptr) &var←c40460)+6) ), var←c39404);
      };
   }

static word NoName←Q2076(formal←c0220)
   word formal←c0220;
   {
SOURCE(5196, 141)
   {
      word pd73;
      pd73 = (* (( (ptr) formal←c0220)+14) );
      (void) ( *( (fPt) ((*  (ptr) pd73 ))))((word) (( (bPt) formal←c0220)+60), (* (( (ptr) formal←c0220)+13) ), (* (( (ptr) formal←c0220)+6)
          ), 40, 0, 0
         , 0, 2147483647, 0, pd73);
      };
   return(0);
   }

static word NoName←Q2136(formal←c0221)
   word formal←c0221;
   {
SOURCE(4970, 135)
   {
      word pd74;
      pd74 = (* (( (ptr) formal←c0221)+14) );
      (void) ( *( (fPt) ((*  (ptr) pd74 ))))((word) (( (bPt) formal←c0221)+60), (* (( (ptr) formal←c0221)+13) ), (* (( (ptr) formal←c0221)+6)
          ), 35, 0, 0
         , 0, 2147483647, 0, pd74);
      };
   return(0);
   }

static word NoName←Q2196(formal←c0222)
   word formal←c0222;
   {
SOURCE(4659, 134)
   {
      word pd75;
      pd75 = (* (( (ptr) formal←c0222)+14) );
      (void) ( *( (fPt) ((*  (ptr) pd75 ))))((word) (( (bPt) formal←c0222)+60), (* (( (ptr) formal←c0222)+13) ), (* (( (ptr) formal←c0222)+6)
          ), 39, 0, 0
         , 0, 2147483647, 0, pd75);
      };
   return(0);
   }

static word NoName←Q2256(formal←c0223)
   word formal←c0223;
   {
SOURCE(4218, 127)
   {
      word pd76;
      pd76 = (* (( (ptr) formal←c0223)+15) );
      (void) ( *( (fPt) ((*  (ptr) pd76 ))))((word) (( (bPt) formal←c0223)+64), (* (( (ptr) formal←c0223)+13) ), (* (( (ptr) formal←c0223)+6)
          ), (* (( (ptr) formal←c0223)+14) ), 0, 0
         , 0, 2147483647, 0, pd76);
      };
   return(0);
   }

static word VerifyApplication←P420(i←v3872, formal←c0249)
   word i←v3872;
   word formal←c0249;
   {
   W13 var←c40524;
   /* declaration of applicationWindow←v3900 skipped */ 
   register ptr gf←c40556 =  (ptr) &globalframe;
   word ok←v3956;
   /* declaration of c←v5116 skipped */ 
   W4 propertyRec←v5144;
   /* declaration of error←v5172 skipped */ 
   (* (( (ptr) &var←c40524)+4)/* applicationWindow←v3900 */  ) = formal←c0249;
   /* VerifyApplication: */ 
SOURCE(6005, 562)
SOURCE(6005, 562)
   ok←v3956 = 0;
SOURCE(6117, 41)
   (* (( (ptr) &var←c40524)+5)/* c←v5116 */  ) = (* (( (ptr) (*  (ptr) i←v3872 ))+34) );
SOURCE(6160, 33)
   propertyRec←v5144.f0 = 0;
   propertyRec←v5144.f1 = 0;
   propertyRec←v5144.f2 = 0;
   propertyRec←v5144.f3 = 0;
SOURCE(6195, 19)
   (* (( (ptr) &var←c40524)+6)/* error←v5172 */  ) = 0;
SOURCE(6216, 351)
   if ( ( ((* (( (ptr) &var←c40524)+5)/* c←v5116 */  ) != 0) ? (0 != (* (( (ptr) (* (( (ptr) &var←c40524)+5)/* c←v5116 */  ))+15)
    )) : 0 ) ) {
SOURCE(6238, 113)
SOURCE(6238, 113)
      {
         /* declaration of var←c021 skipped */ 
         /* declaration of var←c022 skipped */ 
         (* (( (ptr) &var←c40524)+7)/* var←c021 */  ) = (* (( (ptr) i←v3872)+5) );
         (* (( (ptr) &var←c40524)+8)/* var←c022 */  ) = (* (( (ptr) (* (( (ptr) gf←c40556)+134)/* var←c38764 */  ))+55) );
         {
            /* declaration of var←c023 skipped */ 
            {
               word var←c024;
               {
                  word var←c0242;
                  var←c0242 = (word) &var←c40524;
                  var←c024 = (word) XR←Enable(( ((word)  (fPt) NoName←Q2316) ), ( ((word)  (fPt) NoName←Q2376) ), var←c0242);
                  };
               if ((var←c024 == 7)) {
                  goto lab←L100039;
                  };
               };
            propertyRec←v5144 = (*  (W4Pt) (( (ptr) &var←c40524)+9)/* var←c023 */  );
            };
         };
      lab←L100039: ;
SOURCE(6365, 202)
      if ( ( (0 == (* (( (ptr) &var←c40524)+6)/* error←v5172 */  )) ? (propertyRec←v5144.f2 != 0) : 0 ) ) {
SOURCE(6408, 159)
         {
            word var←c39628;
            var←c39628 = propertyRec←v5144.f2;
            if ((var←c39628 == 0)) {
               goto lab←L100042;
               };
            if (((* (( (ptr) gf←c40556)+7) ) == XR←GetReferentType(var←c39628))) {
               {
                  word list←v5216;
                  list←v5216 = var←c39628;
SOURCE(6476, 91)
                  {
                     register word n←v5272 = 0;
                     register word noName←c39660;
                     word var←c39692;
                     word a←v37436;
                     noName←c39660 = (*  (ptr) list←v5216 );
                     if ((n←v5272 >= noName←c39660)) {
                        goto lab←L100043;
                        };
                     lab←L100046: ;
SOURCE(6508, 59)
                     {
                        word limit77;
                        a←v37436 = (* (( (ptr) i←v3872)+6) );
                        var←c39692 = a←v37436;
                        if (((* ((( (ptr) list←v5216)+1)+(
/*1*/   limit77 = (*  (ptr) list←v5216 ),
/*1*/   BCK(n←v5272, limit77)
/*1*/   )) ) == var←c39692)) {
SOURCE(6549, 18)
                           ok←v3956 = 1;
                           return(1);
                           };
                        };
                     n←v5272 = (n←v5272 + 1);
                     if ((n←v5272 < noName←c39660)) {
                        goto lab←L100046;
                        };
                     lab←L100043: ;
                     };
                  };
               }
            else {
               lab←L100042: ;
               };
            };
         };
      };
SOURCE(6005, 562)
   return(ok←v3956);
   }

static word NoName←Q2316(formal←c0225)
   word formal←c0225;
   {
SOURCE(6238, 113)
   {
      word pd78;
      pd78 = (* (( (ptr) formal←c0225)+8) );
      (void) ( *( (fPt) ((*  (ptr) pd78 ))))((word) (( (bPt) formal←c0225)+36), (* (( (ptr) formal←c0225)+5) ), (* (( (ptr) formal←c0225)+4)
          ), (* (( (ptr) formal←c0225)+7) ), 0, 0
         , 0, 2147483647, 0, pd78);
      };
   return(0);
   }

static void InitSomeFields←P480(i←v4016)
   word i←v4016;
   {
   register ptr gf←c40588 =  (ptr) &globalframe;
   word c←v5316;
   /* InitSomeFields: */ 
SOURCE(6607, 262)
SOURCE(6659, 49)
   c←v5316 = (* (( (ptr) (* (( (ptr) i←v4016)+4) ))+34) );
SOURCE(6710, 57)
   {
      word pd79;
      pd79 = (* (( (ptr) (* (( (ptr) gf←c40588)+132)/* var←c38636 */  ))+40) );
      (void) ( *( (fPt) ((*  (ptr) pd79 ))))((* (( (ptr) i←v4016)+4) ), (* (( (ptr) c←v5316)+18) ), 2, pd79);
      };
SOURCE(6769, 50)
   {
      word pd80;
      pd80 = (* (( (ptr) (* (( (ptr) gf←c40588)+134)/* var←c38764 */  ))+50) );
      (* (( (ptr) i←v4016)+5) ) = (word) ( *( (fPt) ((*  (ptr) pd80 ))))(c←v5316, (* (( (ptr) gf←c40588)+25) ), pd80);
      };
SOURCE(6821, 48)
   {
      word pd81;
      pd81 = (* (( (ptr) (* (( (ptr) gf←c40588)+134)/* var←c38764 */  ))+50) );
      (* (( (ptr) i←v4016)+6) ) = (word) ( *( (fPt) ((*  (ptr) pd81 ))))(c←v5316, (* (( (ptr) gf←c40588)+26) ), pd81);
      };
   }

static void CreateMigrationToolWidget←P540(connection←v4088)
   word connection←v4088;
   {
   register ptr gf←c40620 =  (ptr) &globalframe;
   word i←v5360;
   word container←v5388;
   word appTQ←v5416;
   word doButton←v5444;
   word appButton←v5472;
   word appLabel←v5500;
   word logWidget←v5528;
   /* CreateMigrationToolWidget: */ 
SOURCE(6875, 1760)
SOURCE(6935, 49)
   i←v5360 = XR←NewObject(32, (* (( (ptr) gf←c40620)+9) ));
SOURCE(6986, 49)
   {
      word pd82;
      pd82 = (* (( (ptr) (* (( (ptr) gf←c40620)+132)/* var←c38636 */  ))+28) );
      container←v5388 = (word) ( *( (fPt) ((*  (ptr) pd82 ))))((*  (W9Pt) (( (ptr) gf←c40620)+60)/* var←c37996 */  ), 0,  (word) -1, pd82)
      ;
      };
SOURCE(7037, 28)
   {
      word pd83;
      pd83 = (* (( (ptr) (* (( (ptr) gf←c40620)+134)/* var←c38764 */  ))+63) );
      appTQ←v5416 = (word) ( *( (fPt) ((*  (ptr) pd83 ))))(0, 0, 0, pd83);
      };
SOURCE(7067, 85)
   {
      W19 var←c0151;
      (*  (W9Pt) (word) &var←c0151 ) = (*  (W9Pt) (( (ptr) gf←c40620)+69)/* var←c38060 */  );
      (* (( (ptr) (word) &var←c0151) + 9) ) = (* (( (ptr) gf←c40620)+27) );
      (*  (W4Pt) (( (ptr) (word) &var←c0151) + 10) ) = (*  (W4Pt) (( (ptr) gf←c40620)+78)/* var←c38124 */  );
      (* (( (ptr) (word) &var←c0151) + 14) ) = (word) (( (bPt) gf←c40620)+208)/* var←c37836 */ ;
      (* (( (ptr) (word) &var←c0151) + 15) ) = i←v5360;
      (* (( (ptr) (word) &var←c0151) + 16) ) = 0;
      (* (( (ptr) (word) &var←c0151) + 17) ) = 0;
      (* (( (ptr) (word) &var←c0151) + 18) ) = 0;
      {
         word pd84;
         pd84 = (* (( (ptr) (* (( (ptr) gf←c40620)+132)/* var←c38636 */  ))+36) );
         doButton←v5444 = (word) ( *( (fPt) ((*  (ptr) pd84 ))))((word) (&var←c0151), pd84);
         };
      };
SOURCE(7154, 104)
   {
      word pd85;
      pd85 = (* (( (ptr) (* (( (ptr) gf←c40620)+132)/* var←c38636 */  ))+35) );
      appButton←v5472 = (word) ( *( (fPt) ((*  (ptr) pd85 ))))((*  (W9Pt) (( (ptr) gf←c40620)+60)/* var←c37996 */  ), (* (( (ptr) gf←c40620)+28)
          ), (*  (W4Pt) (( (ptr) gf←c40620)+82)/* var←c38188 */  ), pd85);
      };
   (* (( (ptr) i←v5360)+1) ) = appButton←v5472;
SOURCE(7260, 95)
   {
      word pd86;
      pd86 = (* (( (ptr) (* (( (ptr) gf←c40620)+132)/* var←c38636 */  ))+35) );
      appLabel←v5500 = (word) ( *( (fPt) ((*  (ptr) pd86 ))))((*  (W9Pt) (( (ptr) gf←c40620)+60)/* var←c37996 */  ), (* (( (ptr) gf←c40620)+18)
          ), (*  (W4Pt) (( (ptr) gf←c40620)+82)/* var←c38188 */  ), pd86);
      };
   (* (( (ptr) i←v5360)+2) ) = appLabel←v5500;
SOURCE(7357, 97)
   {
      word pd87;
      pd87 = (* (( (ptr) (* (( (ptr) gf←c40620)+132)/* var←c38636 */  ))+53) );
      logWidget←v5528 = (word) ( *( (fPt) ((*  (ptr) pd87 ))))((*  (W9Pt) (( (ptr) gf←c40620)+86)/* var←c38252 */  ), 0, pd87);
      };
SOURCE(7456, 124)
   {
      W20 var←c0155;
      (*  (W9Pt) (word) &var←c0155 ) = (*  (W9Pt) (( (ptr) gf←c40620)+95)/* var←c38316 */  );
      (* (( (ptr) (word) &var←c0155) + 9) ) = 0;
      (* (( (ptr) (word) &var←c0155) + 10) ) = (* (( (ptr) gf←c40620)+29) );
      (* (( (ptr) (word) &var←c0155) + 11) ) = 0;
      (* (( (ptr) (word) &var←c0155) + 12) ) = 0;
      (* (( (ptr) (word) &var←c0155) + 13) ) = (* (( (ptr) gf←c40620)+30) );
      (* (( (ptr) (word) &var←c0155) + 14) ) = (* (( (ptr) gf←c40620)+35) );
      (* (( (ptr) (word) &var←c0155) + 15) ) = 0;
      (* (( (ptr) (word) &var←c0155) + 16) ) = 0;
      (* (( (ptr) (word) &var←c0155) + 17) ) = 1;
      (* (( (ptr) (word) &var←c0155) + 18) ) = 1;
      (* (( (ptr) (word) &var←c0155) + 19) ) = 1;
      {
         word pd88;
         pd88 = (* (( (ptr) (* (( (ptr) gf←c40620)+137)/* var←c39820 */  ))+5) );
         (*  (ptr) i←v5360 ) = (word) ( *( (fPt) ((*  (ptr) pd88 ))))((word) (&var←c0155), pd88);
         };
      };
SOURCE(7582, 87)
   {
      W17 var←c0156;
      (*  (W9Pt) (word) &var←c0156 ) = (*  (W9Pt) (( (ptr) gf←c40620)+104)/* var←c38380 */  );
      (* (( (ptr) (word) &var←c0156) + 9) ) = (* (( (ptr) gf←c40620)+31) );
      (* (( (ptr) (word) &var←c0156) + 10) ) = (* (( (ptr) gf←c40620)+32) );
      (*  (W4Pt) (( (ptr) (word) &var←c0156) + 11) ) = (*  (W4Pt) (( (ptr) gf←c40620)+113)/* var←c38444 */  );
      (* (( (ptr) (word) &var←c0156) + 15) ) = 0;
      (* (( (ptr) (word) &var←c0156) + 16) ) = 0;
      {
         word pd89;
         pd89 = (* (( (ptr) (* (( (ptr) gf←c40620)+132)/* var←c38636 */  ))+38) );
         (* (( (ptr) i←v5360)+4) ) = (word) ( *( (fPt) ((*  (ptr) pd89 ))))((word) (&var←c0156), pd89);
         };
      };
SOURCE(7671, 42)
   {
      word pd90;
      pd90 = (* (( (ptr) (* (( (ptr) gf←c40620)+132)/* var←c38636 */  ))+54) );
      (* (( (ptr) i←v5360)+7) ) = (word) ( *( (fPt) ((*  (ptr) pd90 ))))(logWidget←v5528, pd90);
      };
SOURCE(7715, 146)
   {
      word var←c39852;
      {
         word pd91;
         pd91 = (* (( (ptr) (* (( (ptr) gf←c40620)+134)/* var←c38764 */  ))+201) );
         var←c39852 = (word) ( *( (fPt) ((*  (ptr) pd91 ))))(5, 35, 35, 35, pd91);
         };
      {
         W4 var←c39884;
         var←c39884.f0 = (word) (( (bPt) gf←c40620)+192)/* var←c37772 */ ;
         var←c39884.f1 = var←c39852;
         var←c39884.f2 = appTQ←v5416;
         var←c39884.f3 = i←v5360;
         {
            word pd92;
            pd92 = (* (( (ptr) (* (( (ptr) gf←c40620)+138)/* var←c39916 */  ))+30) );
            (void) ( *( (fPt) ((*  (ptr) pd92 ))))(appButton←v5472, var←c39884, 8, pd92);
            };
         };
      };
SOURCE(7863, 140)
   {
      word var←c39948;
      {
         word pd93;
         pd93 = (* (( (ptr) (* (( (ptr) gf←c40620)+134)/* var←c38764 */  ))+201) );
         var←c39948 = (word) ( *( (fPt) ((*  (ptr) pd93 ))))(4, 35, 35, 35, pd93);
         };
      {
         W4 var←c39980;
         var←c39980.f0 = (word) (( (bPt) gf←c40620)+200)/* var←c37804 */ ;
         var←c39980.f1 = var←c39948;
         var←c39980.f2 = appTQ←v5416;
         var←c39980.f3 = i←v5360;
         {
            word pd94;
            pd94 = (* (( (ptr) (* (( (ptr) gf←c40620)+138)/* var←c39916 */  ))+30) );
            (void) ( *( (fPt) ((*  (ptr) pd94 ))))(appButton←v5472, var←c39980, 4, pd94);
            };
         };
      };
SOURCE(8005, 48)
   {
      word pd95;
      pd95 = (* (( (ptr) (* (( (ptr) gf←c40620)+132)/* var←c38636 */  ))+12) );
      (void) ( *( (fPt) ((*  (ptr) pd95 ))))((*  (ptr) i←v5360 ), container←v5388, pd95);
      };
SOURCE(8055, 43)
   {
      word pd96;
      pd96 = (* (( (ptr) (* (( (ptr) gf←c40620)+132)/* var←c38636 */  ))+31) );
      (void) ( *( (fPt) ((*  (ptr) pd96 ))))(container←v5388, doButton←v5444, 1, pd96);
      };
SOURCE(8100, 44)
   {
      word pd97;
      pd97 = (* (( (ptr) (* (( (ptr) gf←c40620)+132)/* var←c38636 */  ))+31) );
      (void) ( *( (fPt) ((*  (ptr) pd97 ))))(container←v5388, appButton←v5472, 1, pd97);
      };
SOURCE(8146, 43)
   {
      word pd98;
      pd98 = (* (( (ptr) (* (( (ptr) gf←c40620)+132)/* var←c38636 */  ))+31) );
      (void) ( *( (fPt) ((*  (ptr) pd98 ))))(container←v5388, appLabel←v5500, 1, pd98);
      };
SOURCE(8191, 54)
   {
      word pd99;
      pd99 = (* (( (ptr) (* (( (ptr) gf←c40620)+132)/* var←c38636 */  ))+31) );
      (void) ( *( (fPt) ((*  (ptr) pd99 ))))(container←v5388, (* (( (ptr) i←v5360)+4) ), 1, pd99);
      };
SOURCE(8247, 98)
   {
      word var←c40012;
      {
         word pd100;
         pd100 = (* (( (ptr) (* (( (ptr) gf←c40620)+132)/* var←c38636 */  ))+47) );
         var←c40012 = (word) ( *( (fPt) ((*  (ptr) pd100 ))))((*  (W9Pt) ((( (ptr) gf←c40620)+117)/* var←c38508 */ ) ), pd100);
         };
      {
         word pd101;
         pd101 = (* (( (ptr) (* (( (ptr) gf←c40620)+132)/* var←c38636 */  ))+31) );
         (void) ( *( (fPt) ((*  (ptr) pd101 ))))(container←v5388, var←c40012, 1, pd101);
         };
      };
SOURCE(8347, 44)
   {
      word pd102;
      pd102 = (* (( (ptr) (* (( (ptr) gf←c40620)+132)/* var←c38636 */  ))+31) );
      (void) ( *( (fPt) ((*  (ptr) pd102 ))))(container←v5388, logWidget←v5528, 1, pd102);
      };
SOURCE(8393, 49)
   {
      word pd103;
      pd103 = (* (( (ptr) (* (( (ptr) gf←c40620)+138)/* var←c39916 */  ))+11) );
      (void) ( *( (fPt) ((*  (ptr) pd103 ))))((*  (ptr) i←v5360 ), (* (( (ptr) gf←c40620)+33) ), i←v5360, pd103);
      };
SOURCE(8444, 55)
   {
      word pd104;
      pd104 = (* (( (ptr) (* (( (ptr) gf←c40620)+139)/* var←c40044 */  ))+5) );
      (void) ( *( (fPt) ((*  (ptr) pd104 ))))((*  (ptr) i←v5360 ), (word) (( (bPt) gf←c40620)+144)/* var←c37580 */ , pd104);
      };
SOURCE(8501, 70)
   {
      word pd105;
      pd105 = (* (( (ptr) (* (( (ptr) gf←c40620)+132)/* var←c38636 */  ))+7) );
      (void) ( *( (fPt) ((*  (ptr) pd105 ))))((*  (ptr) i←v5360 ), connection←v4088, 0, pd105);
      };
SOURCE(8573, 17)
   (void) InitSomeFields←P480(i←v5360);
SOURCE(8592, 43)
   {
      word pd106;
      pd106 = (* (( (ptr) (* (( (ptr) gf←c40620)+132)/* var←c38636 */  ))+13) );
      (void) ( *( (fPt) ((*  (ptr) pd106 ))))((*  (ptr) i←v5360 ), (*  (W5Pt) (( (ptr) gf←c40620)+126)/* var←c38572 */  ), 0, 1, pd106)
      ;
      };
   }

static void CreateMigrationTool←P600(formal←c0165, cmd←v8072)
   word formal←c0165;
   word cmd←v8072;
   {
   word result←v8116;
   word msg←v8144;
   /* CreateMigrationTool: */ 
SOURCE(8641, 75)
SOURCE(8641, 75)
   result←v8116 = 0;
SOURCE(8641, 75)
   msg←v8144 = 0;
SOURCE(8688, 28)
   (void) CreateMigrationToolWidget←P540(0);
   /* removed tail goto */ 
   (*  (ptr) formal←c0165 ) = result←v8116;
   (* (( (ptr) formal←c0165)+1) ) = msg←v8144;
   return;
   }

static word MigrateSelf←P660(shell←v8204, destination←v8232)
   word shell←v8204;
   word destination←v8232;
   {
   register ptr gf←c40652 =  (ptr) &globalframe;
   word msg←v8276;
   word log←v5584;
   /* MigrateSelf: */ 
SOURCE(8720, 327)
SOURCE(8720, 327)
   msg←v8276 = 0;
SOURCE(8764, 33)
   log←v5584 = (*  (ptr) (* (( (ptr) (* (( (ptr) gf←c40652)+133)/* var←c38700 */  ))+39) ) );
SOURCE(8799, 97)
   {
      word var←c40076;
      {
         word pd107;
         pd107 = (* (( (ptr) (* (( (ptr) gf←c40652)+138)/* var←c39916 */  ))+10) );
         var←c40076 = (word) ( *( (fPt) ((*  (ptr) pd107 ))))(shell←v8204, (* (( (ptr) gf←c40652)+33) ), pd107);
         };
      if ((var←c40076 == 0)) {
         goto lab←L100049;
         };
      if (((* (( (ptr) gf←c40652)+9) ) == XR←GetReferentType(var←c40076))) {
         {
            word i←v5628;
            i←v5628 = var←c40076;
SOURCE(8885, 11)
            log←v5584 = (* (( (ptr) i←v5628)+7) );
            };
         }
      else {
         lab←L100049: ;
         };
      };
SOURCE(8913, 38)
   (void) CreateMigrationToolWidget←P540(destination←v8232);
SOURCE(8953, 94)
   {
      W2 var←c40108;
      {
         W2 var←c40140;
         word v←v37292;
         v←v37292 = (* (( (ptr) destination←v8232)+18) );
         var←c40140.f0 = 11;
         var←c40140.f1 = v←v37292;
         var←c40108 = var←c40140;
         };
      {
         word pd108;
         pd108 = (* (( (ptr) (* (( (ptr) gf←c40652)+133)/* var←c38700 */  ))+61) );
         (void) ( *( (fPt) ((*  (ptr) pd108 ))))(log←v5584, (* (( (ptr) gf←c40652)+34) ), var←c40108, pd108);
         };
      };
SOURCE(8720, 327)
   return(msg←v8276);
   }

static void NoName←Q2376(formal←c0180, formal←c200020, formal←c200021, formal←c200022, formal←c200023)
   word formal←c0180;
   word formal←c200020;
   word formal←c200021;
   word formal←c200022;
   word formal←c200023;
   {
   register ptr gf←c0229 =  (ptr) &globalframe;
   if ((formal←c200021 == (* (( (ptr) (* (( (ptr) gf←c0229)+134)/* var←c38764 */  ))+4) ))) {
      {
         word err←v31476;
         err←v31476 = (*  (ptr) formal←c200023 );
SOURCE(6339, 12)
         (* (( (ptr) formal←c200020)+6) ) = 1;
SOURCE(6353, 8)
         (*  (ptr) formal←c0180 ) = 2;
         (* (( (ptr) formal←c0180)+1) ) = 7;
         return;
         };
      };
   (*  (ptr) formal←c0180 ) = 0;
   (* (( (ptr) formal←c0180)+1) ) = 0;
   return;
   }

static void NoName←Q2436(formal←c0186, formal←c200016, formal←c200017, formal←c200018, formal←c200019)
   word formal←c0186;
   word formal←c200016;
   word formal←c200017;
   word formal←c200018;
   word formal←c200019;
   {
   register ptr gf←c0230 =  (ptr) &globalframe;
   if ((formal←c200017 == (* (( (ptr) (* (( (ptr) gf←c0230)+134)/* var←c38764 */  ))+4) ))) {
      {
         word err←v29696;
         err←v29696 = (*  (ptr) formal←c200019 );
SOURCE(5325, 12)
         (* (( (ptr) formal←c200016)+4) ) = 1;
SOURCE(5339, 8)
         (*  (ptr) formal←c0186 ) = 2;
         (* (( (ptr) formal←c0186)+1) ) = 6;
         return;
         };
      };
   (*  (ptr) formal←c0186 ) = 0;
   (* (( (ptr) formal←c0186)+1) ) = 0;
   return;
   }

static void NoName←Q2496(formal←c0192, formal←c200012, formal←c200013, formal←c200014, formal←c200015)
   word formal←c0192;
   word formal←c200012;
   word formal←c200013;
   word formal←c200014;
   word formal←c200015;
   {
   register ptr gf←c0231 =  (ptr) &globalframe;
   if ((formal←c200013 == (* (( (ptr) (* (( (ptr) gf←c0231)+134)/* var←c38764 */  ))+4) ))) {
      {
         word err←v29604;
         err←v29604 = (*  (ptr) formal←c200015 );
SOURCE(5093, 12)
         (* (( (ptr) formal←c200012)+4) ) = 1;
SOURCE(5107, 8)
         (*  (ptr) formal←c0192 ) = 2;
         (* (( (ptr) formal←c0192)+1) ) = 5;
         return;
         };
      };
   (*  (ptr) formal←c0192 ) = 0;
   (* (( (ptr) formal←c0192)+1) ) = 0;
   return;
   }

static void NoName←Q2556(formal←c0198, formal←c200008, formal←c200009, formal←c200010, formal←c200011)
   word formal←c0198;
   word formal←c200008;
   word formal←c200009;
   word formal←c200010;
   word formal←c200011;
   {
   register ptr gf←c0232 =  (ptr) &globalframe;
   if ((formal←c200009 == (* (( (ptr) (* (( (ptr) gf←c0232)+134)/* var←c38764 */  ))+4) ))) {
      {
         word err←v29512;
         err←v29512 = (*  (ptr) formal←c200011 );
SOURCE(4781, 12)
         (* (( (ptr) formal←c200008)+4) ) = 1;
SOURCE(4795, 8)
         (*  (ptr) formal←c0198 ) = 2;
         (* (( (ptr) formal←c0198)+1) ) = 4;
         return;
         };
      };
   (*  (ptr) formal←c0198 ) = 0;
   (* (( (ptr) formal←c0198)+1) ) = 0;
   return;
   }

static void NoName←Q2616(formal←c0204, formal←c200004, formal←c200005, formal←c200006, formal←c200007)
   word formal←c0204;
   word formal←c200004;
   word formal←c200005;
   word formal←c200006;
   word formal←c200007;
   {
   register ptr gf←c0233 =  (ptr) &globalframe;
   if ((formal←c200005 == (* (( (ptr) (* (( (ptr) gf←c0233)+134)/* var←c38764 */  ))+4) ))) {
      {
         word err←v29256;
         err←v29256 = (*  (ptr) formal←c200007 );
SOURCE(4333, 12)
         (* (( (ptr) formal←c200004)+4) ) = 1;
SOURCE(4347, 8)
         (*  (ptr) formal←c0204 ) = 2;
         (* (( (ptr) formal←c0204)+1) ) = 3;
         return;
         };
      };
   (*  (ptr) formal←c0204 ) = 0;
   (* (( (ptr) formal←c0204)+1) ) = 0;
   return;
   }

static void NoName←Q2676(formal←c0210, formal←c200000, formal←c200001, formal←c200002, formal←c200003)
   word formal←c0210;
   word formal←c200000;
   word formal←c200001;
   word formal←c200002;
   word formal←c200003;
   {
   register ptr gf←c0234 =  (ptr) &globalframe;
   if ((formal←c200001 == (* (( (ptr) (* (( (ptr) gf←c0234)+134)/* var←c38764 */  ))+39) ))) {
      {
         word why←v13164;
         why←v13164 = (*  (ptr) formal←c200003 );
SOURCE(1835, 29)
         {
            word pd109;
            pd109 = (* (( (ptr) (* (( (ptr) gf←c0234)+133)/* var←c38700 */  ))+93) );
            (void) ( *( (fPt) ((*  (ptr) pd109 ))))((* (( (ptr) (* (( (ptr) formal←c200000)+4) ))+7) ), (* (( (ptr) why←v13164)+1) ), 0, 2147483647, pd109)
            ;
            };
SOURCE(1866, 10)
         (*  (ptr) formal←c0210 ) = 2;
         (* (( (ptr) formal←c0210)+1) ) = 2;
         return;
         };
      };
   (*  (ptr) formal←c0210 ) = 0;
   (* (( (ptr) formal←c0210)+1) ) = 0;
   return;
   }

/* file: X11MigrationTool, module: X11MigrationTool, compiled at: May 4, 1993 3:49:54 pm PDT */ 
extern void XR←install←X11MigrationTool() {
   NoName←Q1956();
   }
extern void XR←run←X11MigrationTool() { XR←Start(&globalframe); }