/* Generated with C2C (Cedar To C)*/
/* Copyright (C) 1993 by Xerox Corporation.  All rights reserved. */
/* time: June 23, 1993 9:47:55 pm PDT */
/* C2C version: April 20, 1993 (sun4) */
/* ref-counting: off */
/* file: GGTestChildImpl, module: GGTestChildImpl */ 
/* switches: bcfhklnouw */ 
#include <cedar/InstallationSupport.h>
#include <cedar/CedarExtra.h>
static char versionStamp[] = "@(#)mob←version [3171391992,2186476142] GGTestChildImpl";
typedef unsigned word, *ptr;
typedef unsigned char byte, *bPt;
typedef unsigned short half, *hPt;
typedef struct {word f0, f1, f2, f3, f4, f5, f6, f7;} W8;
typedef struct {W8 f; W8 r;} W16;
typedef struct {word f0, f1, f2, f3, f4, f5;} W6;
typedef struct {W8 f; W6 r;} W14;
typedef struct {W16 f; W14 r;} W30;
typedef struct {word f0, f1, f2, f3;} W4;
typedef struct {W8 f; W4 r;} W12;
typedef struct {W16 f; W12 r;} W28;
typedef struct {word f0, f1, f2;} W3;
typedef struct {W8 f; W3 r;} W11;
typedef struct {W16 f; W11 r;} W27;
typedef W27 *W27Pt;
typedef W28 *W28Pt;
typedef word (*fPt)();
typedef struct {word f0, f1;} W2;
#define SOURCE(p, l) /* source p, l */
static void NoName←Q120();
static void GGTestChildImpl←P0();
static void Main←P60();
static struct {unsigned f; char r[4];} string1 = {131076, "\216\251\000"};
static struct {unsigned f; char r[4];} string2 = {65537, "\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[20];} string4 = {1245204, "Test Gargoyle Child"};
static struct {unsigned f; char r[28];} string5 = {1703964, "///Users/Bier.pa/Gargoyle/\000"};
static struct {unsigned f; char r[20];} string6 = {1245204, "VanillaMJSContainer"};
static struct {unsigned f; char r[16];} string7 = {851984, "\257\300\275\007\231\370\300\202\122\372\156\100\164\000\000"};
static struct {unsigned f; char r[4];} string8 = {196611, "\004N\000"};
static struct {unsigned f; char r[16];} string9 = {851984, "\257\300\012\122\347\132\300\052\140\133\312\100\150\000\000"};
static struct {unsigned f; char r[16];} string10 = {851984, "\257\300\347\101\365\007\300\150\102\366\020\100\150\000\000"};
static struct {unsigned f; char r[16];} string11 = {851984, "\257\300\356\024\243\250\300\175\157\203\227\100\150\000\000"};
static struct {unsigned f; char r[16];} string12 = {851984, "\257\300\354\332\367\333\300\361\203\205\173\100\150\000\000"};
static struct {
   word f0[12]; word f12; word f13; word f14; 
   word f15[5]; 
   } globalframe = {
   {0}, (word) Main←P60, 0, (word) GGTestChildImpl←P0, 
   {0}
   };

static void NoName←Q120()
   {
   register ptr gf←c020 =  (ptr) &globalframe;
   word var←c10824;
   (* (( (ptr) gf←c020)+4) ) = (word) XR←GetTypeIndex((word) &string1, 0, (word) &string2);
   (* (( (ptr) gf←c020)+8) ) = (word) XR←GetTypeIndex((word) &string3, 0, (word) &string2);
   (*  (ptr) (( (bPt) gf←c020)+36) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c020)+8) ), (word) &string4);
   (*  (ptr) (( (bPt) gf←c020)+40) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c020)+8) ), (word) &string5);
   (*  (ptr) (( (bPt) gf←c020)+44) ) = (word) XR←GetRefLiteral((* (( (ptr) gf←c020)+4) ), (word) &string6);
   (void) XR←DeclareGlobalFrame((word) "GGTestChildImpl", &globalframe, (word) XR←GetTypeIndex((word) &string7, 0, (word) &string8)
      , (word) (( (bPt) gf←c020)+56)/* var←c10568 */ );
   var←c10824 = (word) XR←ImportInterface((word) "MJSContainers", (word) XR←GetTypeIndexS((word) (&string9)), 13);
   (* (( (ptr) gf←c020)+16)/* var←c10632 */  ) = var←c10824;
   (void) XR←ImportProcS(var←c10824, 525314);
   (void) XR←ImportProcS(var←c10824, 525058);
   (void) XR←ImportProcS(var←c10824, 74973699);
   var←c10824 = (word) XR←ImportInterface((word) "GGScene", (word) XR←GetTypeIndexS((word) (&string10)), 50);
   (* (( (ptr) gf←c020)+17)/* var←c10696 */  ) = var←c10824;
   (void) XR←ImportProcS(var←c10824, 67371009);
   var←c10824 = (word) XR←ImportInterface((word) "GGWindow", (word) XR←GetTypeIndexS((word) (&string11)), 12);
   (* (( (ptr) gf←c020)+18)/* var←c10728 */  ) = var←c10824;
   (void) XR←ImportProcS(var←c10824, 137626893);
   var←c10824 = (word) XR←ImportInterface((word) "ViewerOps", (word) XR←GetTypeIndexS((word) (&string12)), 43);
   (* (( (ptr) gf←c020)+19)/* var←c10792 */  ) = var←c10824;
   (void) XR←ImportProcS(var←c10824, 1051652);
   }

static void GGTestChildImpl←P0(formal←c011, formal←c010)
   word formal←c011;
   word formal←c010;
   {
   /* GGTestChildImpl: */ 
   }

static void Main←P60()
   {
   register ptr gf←c10856 =  (ptr) &globalframe;
   word container←v2756;
   word child←v2784 = 0;
   word ggData←v2812 = 0;
   /* Main: */ 
SOURCE(231, 523)
SOURCE(246, 174)
   {
      W28 var←c10600;
      W30 var←c014;
      (*  (ptr) (word) &var←c014 ) = (* (( (ptr) gf←c10856)+11) );
      XR←FillWords(&(* (W27Pt) (&var←c10600)), 27, 0);
      (* (( (ptr) &var←c10600)+13) ) = (* (( (ptr) gf←c10856)+9) );
      (* (( (ptr) &var←c10600)+17) ) =  (word) -1;
      (* (( (ptr) &var←c10600)+18) ) = 1;
      (* (( (ptr) &var←c10600)+19) ) = 419430400;
      (* (( (ptr) &var←c10600)+27) ) = 27;
      (*  (W28Pt) (( (ptr) (word) &var←c014) + 1) ) = var←c10600;
      (* (( (ptr) (word) &var←c014) + 29) ) = 0;
      {
         word pd13;
         pd13 = (* (( (ptr) (* (( (ptr) gf←c10856)+16)/* var←c10632 */  ))+6) );
         container←v2756 = (word) ( *( (fPt) ((*  (ptr) pd13 ))))((word) (&var←c014), pd13);
         };
      };
SOURCE(467, 154)
   {
      W2 var←c10760;
      {
         word var←c10664;
         {
            word pd14;
            pd14 = (* (( (ptr) (* (( (ptr) gf←c10856)+17)/* var←c10696 */  ))+4) );
            var←c10664 = (word) ( *( (fPt) ((*  (ptr) pd14 ))))(0, pd14);
            };
         {
            word pd15;
            pd15 = (* (( (ptr) (* (( (ptr) gf←c10856)+18)/* var←c10728 */  ))+9) );
            (void) ( *( (fPt) ((*  (ptr) pd15 ))))((word) &var←c10760, var←c10664, 0, 0, 0, 0
               , 0, 0, 0, 0, container←v2756, (* (( (ptr) gf←c10856)+10) )
               , 0, 1, pd15);
            };
         };
      ggData←v2812 = var←c10760.f1;
      child←v2784 = var←c10760.f0;
      };
SOURCE(623, 43)
   {
      word pd16;
      pd16 = (* (( (ptr) (* (( (ptr) gf←c10856)+16)/* var←c10632 */  ))+7) );
      (void) ( *( (fPt) ((*  (ptr) pd16 ))))(container←v2756, child←v2784, pd16);
      };
SOURCE(668, 43)
   {
      word pd17;
      pd17 = (* (( (ptr) (* (( (ptr) gf←c10856)+16)/* var←c10632 */  ))+8) );
      (void) ( *( (fPt) ((*  (ptr) pd17 ))))(container←v2756, child←v2784, pd17);
      };
SOURCE(713, 41)
   {
      word pd18;
      pd18 = (* (( (ptr) (* (( (ptr) gf←c10856)+19)/* var←c10792 */  ))+16) );
      (void) ( *( (fPt) ((*  (ptr) pd18 ))))(container←v2756, 3, 1, 0, pd18);
      };
   }

/* file: GGTestChildImpl, module: GGTestChildImpl, compiled at: June 23, 1993 9:47:55 pm PDT */ 
extern void XR←install←GGTestChildImpl() {
   NoName←Q120();
   }
extern void XR←run←GGTestChildImpl() { XR←Start(&globalframe); }