

#include "BUILTIN.h"

#include "Array.h"
extern OBJ _ADEBUG_2(OBJ,OBJ,OBJ);extern OBJ __ADEBUG_2;
extern OBJ _ADEBUG_10(OBJ);extern OBJ __ADEBUG_10;
extern OBJ __AMaps4SigAna_21;
extern OBJ _AMaps4SigAna_22(OBJ,OBJ,OBJ,OBJ);extern OBJ __AMaps4SigAna_22;
extern TUP2 _AMaps4SigAna_26(OBJ,OBJ);extern OBJ __AMaps4SigAna_26;

#include "Denotation.h"
extern OBJ _AImpDecl4SigAna_12(OBJ,OBJ,OBJ);extern OBJ __AImpDecl4SigAna_12;
extern OBJ _AImpDecl4SigAna_13(OBJ,OBJ,OBJ,OBJ);extern OBJ __AImpDecl4SigAna_13;
extern OBJ _AImpDecl4SigAna_14(OBJ,OBJ,OBJ,OBJ,OBJ,OBJ);extern OBJ __AImpDecl4SigAna_14;
extern TUP2 _AImpDecl4SigAna_26(OBJ,OBJ,OBJ);extern OBJ __AImpDecl4SigAna_26;
extern OBJ _AImpDecl4SigAna_44(OBJ,OBJ);extern OBJ __AImpDecl4SigAna_44;
extern TUP2 _AImpDecl4SigAna_47(OBJ,OBJ);extern OBJ __AImpDecl4SigAna_47;
extern OBJ _AImpDecl4SigAna_57(OBJ,OBJ);extern OBJ __AImpDecl4SigAna_57;
extern OBJ _AMySeqFun2_13(OBJ,OBJ,OBJ);extern OBJ __AMySeqFun2_13;
extern OBJ _AMySeqFun2_14(OBJ,OBJ,OBJ);extern OBJ __AMySeqFun2_14;
extern TUP2 _AMySeqFun3_7(OBJ,OBJ,OBJ,OBJ);extern OBJ __AMySeqFun3_7;
extern OBJ __APair_2;
extern OBJ _AName4SigAna_6(OBJ,OBJ);extern OBJ __AName4SigAna_6;
extern OBJ _AName4SigAna_13(OBJ,OBJ);extern OBJ __AName4SigAna_13;
extern OBJ _AName4SigAna_14(OBJ,OBJ);extern OBJ __AName4SigAna_14;
extern OBJ _AName4SigAna_21(OBJ,OBJ);extern OBJ __AName4SigAna_21;
extern OBJ _AName4SigAna_55(OBJ,OBJ);extern OBJ __AName4SigAna_55;
extern OBJ __ASeq_6;

#include "NatConv.h"

#include "Nat.h"
extern TUP2 _APartNamePrep_2(OBJ,OBJ,OBJ,OBJ);extern OBJ __APartNamePrep_2;
extern TUP2 _APartNamePrep_3(OBJ,OBJ,OBJ);extern OBJ __APartNamePrep_3;
extern OBJ _ASeqFilter_2(OBJ,OBJ);extern OBJ __ASeqFilter_2;
extern OBJ _APartName_28(OBJ);extern OBJ __APartName_28;
extern OBJ _ASeqMap_3(OBJ,OBJ);extern OBJ __ASeqMap_3;
extern OBJ _ASeqOfSeq_2(OBJ);extern OBJ __ASeqOfSeq_2;
extern OBJ _ASeqReduce_3(OBJ,OBJ,OBJ);extern OBJ __ASeqReduce_3;
extern OBJ _ASeqZip_4(OBJ,OBJ,OBJ);extern OBJ __ASeqZip_4;
extern OBJ _AGlobSigToText_1(OBJ,OBJ);extern OBJ __AGlobSigToText_1;

#include "Int.h"

#include "Real.h"

#include "Char.h"

#include "Bitset.h"
extern OBJ _APartNameEntry_27(OBJ);extern OBJ __APartNameEntry_27;
extern OBJ _APartNameEntry_59(OBJ);extern OBJ __APartNameEntry_59;
extern OBJ __AObjects_29;
extern OBJ __AObjects_30;
extern OBJ _AObjects_31(OBJ,OBJ);extern OBJ __AObjects_31;
extern OBJ _AName_12(OBJ);extern OBJ __AName_12;
extern OBJ _AName_31(OBJ,OBJ);extern OBJ __AName_31;
extern OBJ _AName_34(OBJ);extern OBJ __AName_34;
extern OBJ _AStructLookup_1(OBJ,OBJ);OBJ __AStructLookup_1; /* importsStaticLookup */
extern OBJ _AStructLookup_3(OBJ,OBJ,OBJ,OBJ);OBJ __AStructLookup_3; /* importStaticLookup */
extern OBJ _AStructLookup_4(OBJ,OBJ,OBJ,OBJ,OBJ);OBJ __AStructLookup_4; /* convertOnlyPartName */
OBJ __AStructLookup_5; /* noFilterOnly? */
extern TUP2 _AStructLookup_6(OBJ,OBJ,OBJ,OBJ,OBJ,OBJ);OBJ __AStructLookup_6; /* filterOnlys */
OBJ __AStructLookup_7; /* eqGenTrans? */
extern OBJ _AStructLookup_8(OBJ,OBJ,OBJ,OBJ);OBJ __AStructLookup_8; /* eqGenTrans */
extern OBJ _AStructLookup_9(OBJ,OBJ,OBJ,OBJ);OBJ __AStructLookup_9; /* !! */
extern OBJ _AStructLookup_10(OBJ,OBJ,OBJ);OBJ __AStructLookup_10; /* testGeneric */
extern OBJ _AStructLookup_11(OBJ,OBJ);OBJ __AStructLookup_11; /* eqInst */
OBJ __AStructLookup_12; /* !!'12 */
OBJ __AStructLookup_13; /* !!'13 */
OBJ __AStructLookup_14; /* !!'14 */
OBJ __AStructLookup_15; /* convertOnlyPartName'15 */
extern OBJ _AStructLookup_16(OBJ);OBJ __AStructLookup_16; /* convertOnlyPartName'16 */
OBJ __AStructLookup_17; /* convertOnlyPartName'17 */
extern OBJ _AStructLookup_18(OBJ,OBJ);OBJ __AStructLookup_18; /* convertOnlyPartName'18 */
extern OBJ _AStructLookup_19(OBJ,OBJ);OBJ __AStructLookup_19; /* convertOnlyPartName'19 */
OBJ __AStructLookup_20; /* noFilterOnly?'20 */
OBJ __AStructLookup_21; /* eqGenTrans?'21 */

extern OBJ _AStructLookup_1(OBJ x1,OBJ x2) /* importsStaticLookup */
{OBJ r;
 {OBJ x23=FLD1(x1,1);OBJ x24=FLD1(x1,2);OBJ x25=FLD1(x1,3);
  if(EXPRD(x1,1)){
   DSPRDF(x1);
  }else{
   COPY(x23,1);CPPRD(x24,1);COPY(x25,1);
   FRPRD(x1,1);}
  CPCLS(__AStructLookup_3,1);
  CPPRD(__APair_2,1);
  {OBJ x26;TUP2 x28;TUP2 x31;OBJ x33;
   x26=_ASeqZip_4(__APair_2,x23,x25);
   x28=_AMaps4SigAna_26(x24,__AObjects_29);
   FRPRD(x28.c2,1);
   x31=_AImpDecl4SigAna_47(x2,x28.c1);
   x33=(*(OBJ(*)(OBJ,OBJ,OBJ))METHOD(__AStructLookup_3,2))(__AStructLookup_3,x28.c1,x31.c2);
   r=_ASeqReduce_3(x33,x31.c1,x26);}}
 return r;}

extern OBJ _AStructLookup_3(OBJ x1,OBJ x2,OBJ x3,OBJ x4) /* importStaticLookup */
{OBJ r;
 COPY(x4,1);
 {OBJ x5;
  x5=_AImpDecl4SigAna_44(x4,x1);
  {OBJ x276=FLD1(x3,1);OBJ x277=FLD1(x3,2);
   if(EXPRD(x3,1)){
    DSPRDF(x3);
   }else{
    CPPRD(x276,1);CPPRD(x277,1);
    FRPRD(x3,1);}
   {OBJ x278=FLD1(x276,1);FLAG x_x276=EXPRD(x276,1);
    if(x_x276){
    }else{
     CPPRD(x278,1);}
    {OBJ x280=FLD1(x277,1);
     if(EXPRD(x277,1)){
      FRPRD(FLD1(x277,3),1);DSPRDF(x277);
     }else{
      FRPRD(x277,1);}
     {OBJ x285;
      if(ISPRM(x5)){
       x285=__ABUILTIN_5;
      }else{
       x285=__ABUILTIN_3;}
      if(ISTGPRD(x278,0)){
       {OBJ x286=FLD(x278,1);
	if(EXPRD(x278,1)){
	 if(x_x276){
	  DSPRDF(x276);
	 }else{
	  FRPRD(x276,1);}
	 DSPRDF(x278);
	}else{
	 COPY(x286,1);
	 if(x_x276){
	  DSPRDF(x276);
	 }else{
	  FRPRD(x276,1);}
	 FRPRD(x278,1);}
	FREE(x2,1);
	{OBJ x292;
	 if(ISPRM(x286)){
	  HLT("Struct at <unknown> : undefined selection pos\'Struct:origin->pos");
	 }else{
	  {OBJ x289=FLD1(x286,2);
	   COPY(x289,1);
	   x292=x289;}}
	 if(ISTGPRM(x285,1)){
	  FREE(x5,1);
	  FREE(x286,1);
	  FREE(x292,1);
	  CPPRD(__AMaps4SigAna_21,1);
	  r=_AImpDecl4SigAna_12(x4,x1,__AMaps4SigAna_21);
	 }else{
	  {OBJ x298;
	   if(ISPRM(x286)){
	    HLT("Struct at <unknown> : undefined selection paramS\'Struct:origin->seq");
	   }else{
	    {OBJ x296=FLD1(x286,3);
	     if(EXPRD(x286,1)){
	      x298=x296;
	      FLD1(x286,3)=NIL;DSPRD(x286);
	     }else{
	      COPY(x296,1);
	      x298=x296;
	      FRPRD(x286,1);}}}
	   if(ISPRM(x298)){
	    FREE(x5,1);
	    FREE(x292,1);
	    CPPRD(__AMaps4SigAna_21,1);
	    r=_AImpDecl4SigAna_13(x4,x1,x280,__AMaps4SigAna_21);
	   }else{
	    COPY(x292,1);
	    CPPRD(__AMaps4SigAna_21,1);
	    {TUP2 x302;
	     x302=_APartNamePrep_2(x4,x5,x298,x292);
	     r=_AImpDecl4SigAna_14(x302.c1,x1,x280,__AMaps4SigAna_21,x302.c2,x292);}}}}}}
      }else{
       {OBJ x304=FLD(x278,1);OBJ x305=FLD(x278,2);
	if(EXPRD(x278,1)){
	 DSPRDF(x278);
	}else{
	 COPY(x304,1);COPY(x305,1);
	 FRPRD(x278,1);}
	{OBJ x311;OBJ x312;OBJ x313;OBJ x314;
	 if(ISPRM(x304)){
	  HLT("Struct at <unknown> : undefined selection pos\'Struct:origin->pos");
	 }else{
	  {OBJ x308=FLD1(x304,2);
	   COPY(x308,1);
	   x311=x308;
	   CPCLS(__AStructLookup_4,1);
	   CPPRD(__AMaps4SigAna_21,1);}}
	 if(x_x276){
	  RSOME(x276,x312);FLD1(x312,1)=x4;FLD1(x312,2)=__AMaps4SigAna_21;
	 }else{
	  FRPRD(x276,1);PRD1(2,x312);FLD1(x312,1)=x4;FLD1(x312,2)=__AMaps4SigAna_21;}
	 x313=(*(OBJ(*)(OBJ,OBJ,OBJ,OBJ))METHOD(__AStructLookup_4,3))(__AStructLookup_4,x1,x280,x2);
	 x314=_ASeqReduce_3(x313,x312,x305);
	 {OBJ x315=FLD1(x314,1);OBJ x316=FLD1(x314,2);
	  if(EXPRD(x314,1)){
	   DSPRDF(x314);
	  }else{
	   COPY(x315,1);CPPRD(x316,1);
	   FRPRD(x314,1);}
	  if(ISTGPRM(x285,1)){
	   FREE(x5,1);
	   FREE(x304,1);
	   FREE(x311,1);
	   r=_AImpDecl4SigAna_12(x315,x1,x316);
	  }else{
	   {OBJ x322;
	    if(ISPRM(x304)){
	     HLT("Struct at <unknown> : undefined selection paramS\'Struct:origin->seq");
	    }else{
	     {OBJ x320=FLD1(x304,3);
	      if(EXPRD(x304,1)){
	       x322=x320;
	       FLD1(x304,3)=NIL;DSPRD(x304);
	      }else{
	       COPY(x320,1);
	       x322=x320;
	       FRPRD(x304,1);}}}
	    if(ISPRM(x322)){
	     FREE(x5,1);
	     FREE(x311,1);
	     r=_AImpDecl4SigAna_13(x315,x1,x280,x316);
	    }else{
	     COPY(x311,1);
	     {TUP2 x326;
	      x326=_APartNamePrep_2(x315,x5,x322,x311);
	      r=_AImpDecl4SigAna_14(x326.c1,x1,x280,x316,x326.c2,x311);}}}}}}}}}}}}}
 return r;}

extern OBJ _AStructLookup_4(OBJ x1,OBJ x2,OBJ x3,OBJ x4,OBJ x5) /* convertOnlyPartName */
{OBJ r;
 CPCLS(__AStructLookup_6,1);
 CPCLS(__AStructLookup_16,1);
 {OBJ x6;OBJ x10;
  x6=(*(OBJ(*)(OBJ,OBJ))METHOD(__AStructLookup_16,1))(__AStructLookup_16,__ABUILTIN_20);
  x10=(*(OBJ(*)(OBJ,OBJ,OBJ,OBJ))METHOD(__AStructLookup_6,3))(__AStructLookup_6,x1,x2,x3);
  {OBJ x70=FLD1(x5,1);OBJ x71=FLD1(x5,2);FLAG x_x5=EXPRD(x5,1);
   if(x_x5){
   }else{
    COPY(x70,1);CPPRD(x71,1);}
   COPY(x4,1);
   CPCLS(__AStructLookup_18,1);
   {OBJ x72;OBJ x73;
    x72=(*(OBJ(*)(OBJ,OBJ))METHOD(__AStructLookup_18,1))(__AStructLookup_18,x4);
    x73=_ADEBUG_2(x6,x72,x4);
    if(ISPRM(x73)){
     HLT("PartName at <unknown> : undefined selection pos\'PartName:partName->pos");
    }else{
     {OBJ x107=FLD1(x73,1);OBJ x113=FLD1(x73,7);
      CPPRD(x107,1);COPY(x113,1);
      CPCLS(__AStructLookup_19,1);
      {TUP2 x115;OBJ x117;OBJ x118;OBJ x126;OBJ x128;OBJ x129;OBJ x130;OBJ x131;OBJ x132;OBJ x133;OBJ x134;OBJ x135;
       x115=_APartNamePrep_3(__ABUILTIN_3,x70,x73);
       CPPRD(x115.c2,1);
       x117=(*(OBJ(*)(OBJ,OBJ))METHOD(__AStructLookup_19,1))(__AStructLookup_19,x115.c2);
       x118=_ADEBUG_2(x6,x117,x115.c2);
       if(ISTGPRD(x118,0)){
	{OBJ x120=FLD(x118,2);
	 COPY(x120,1);
	 x126=x120;
	 CPCLS(__APartNameEntry_27,1);
	 CPCLS(__AName4SigAna_6,1);
	 CPCLS(__AGlobSigToText_1,1);}
       }else{
	HLT("PartNameEntry at <unknown> : undefined selection cands\'PartNameEntry:pN->seq");}
       {TUP2 t=_AMySeqFun3_7(x10,x115.c1,__ASeq_6,x126);
	x128=t.c1;
	x129=t.c2;}
       COPY(x129,1);
       x130=_ASeqMap_3(__APartNameEntry_27,x129);
       x131=_ASeqOfSeq_2(x130);
       x132=_ASeqReduce_3(__AName4SigAna_6,x128,x131);
       COPY(x132,1);
       x133=(*(OBJ(*)(OBJ,OBJ))METHOD(__AGlobSigToText_1,1))(__AGlobSigToText_1,x132);
       x134=_AName4SigAna_55(x118,x129);
       x135=_ADEBUG_2(x6,x133,x132);
       if(x_x5){
	RSOME(x5,r);FLD1(r,1)=x135;
       }else{
	FRPRD(x5,1);PRD1(2,r);FLD1(r,1)=x135;}
       FLD1(r,2)=_AMaps4SigAna_22(x71,x107,x113,x134);}}}}}}
 return r;}

extern TUP2 _AStructLookup_6(OBJ x1,OBJ x2,OBJ x3,OBJ x4,OBJ x5,OBJ x6) /* filterOnlys */
{TUP2 r;
 {OBJ x64=FLD1(x5,1);OBJ x65=FLD1(x5,2);
  COPY(x64,1);CPPRD(x65,1);
  if(ISTGPRM(__AStructLookup_5,1)){
   FREE(x3,1);
   FREE(x64,1);
   FRPRD(x65,1);
   PRD1(2,r.c2);FLD1(r.c2,1)=x5;FLD1(r.c2,2)=x6;
   r.c1=x4;
  }else{
   if(EXPRD(x5,1)){
    DSPRD(x5);
   }else{
    DCPRD(x5,1);}
   {OBJ x69;
    if(ISPRM(x64)){
     HLT("Seq at <unknown> : undefined selection ft\'Seq:seq->data");
    }else{
     {OBJ x67=FLD1(x64,1);
      COPY(x67,1);
      x69=x67;}}
    if(ISPRD(x69)&&(ISTGPRD(x69,1))){
     if(EXPRD(x69,1)){
      DSPRDF(x69);
     }else{
      DCPRD(x69,1);}
     FREE(x3,1);
     FREE(x64,1);
     FRPRD(x65,1);
     r.c1=x4;r.c2=x6;
    }else{
     {OBJ x71;OBJ x72;
      x71=_AName_12(x69);
      ANat_76(x71,x1,x72);
      if(ISTGPRM(x72,1)){
       FREE(x3,1);
       CPCLS(__AStructLookup_11,1);
       {OBJ x73;OBJ x74;
	x73=(*(OBJ(*)(OBJ,OBJ))METHOD(__AStructLookup_11,1))(__AStructLookup_11,x2);
	x74=_ASeqFilter_2(x73,x64);
	if(ISPRM(x74)){
	 FRPRD(x65,1);
	 r.c1=x4;r.c2=x6;
	}else{
	 {OBJ x77;
	  PRD1(2,x77);FLD1(x77,1)=x74;FLD1(x77,2)=x65;
	  PRD1(2,r.c2);FLD1(r.c2,1)=x77;FLD1(r.c2,2)=x6;
	  r.c1=x4;}}}
      }else{
       COPY(x4,2);
       CPCLS(__AStructLookup_8,1);
       CPCLS(__AStructLookup_10,1);
       CPCLS(__AMySeqFun2_13,1);
       {OBJ x79;OBJ x80;OBJ x81;OBJ x82;OBJ x83;
	x79=(*(OBJ(*)(OBJ,OBJ,OBJ))METHOD(__AStructLookup_8,2))(__AStructLookup_8,x4,x1);
	x80=(*(OBJ(*)(OBJ,OBJ,OBJ))METHOD(__AStructLookup_10,2))(__AStructLookup_10,x4,x2);
	x81=(*(OBJ(*)(OBJ,OBJ,OBJ))METHOD(__AMySeqFun2_13,2))(__AMySeqFun2_13,x79,x3);
	x82=_ASeqFilter_2(x81,x64);
	x83=_ASeqFilter_2(x80,x82);
	if(ISPRM(x83)){
	 FRPRD(x65,1);
	 r.c1=x4;r.c2=x6;
	}else{
	 {OBJ x86;
	  PRD1(2,x86);FLD1(x86,1)=x83;FLD1(x86,2)=x65;
	  PRD1(2,r.c2);FLD1(r.c2,1)=x86;FLD1(r.c2,2)=x6;
	  r.c1=x4;}}}}}}}}}
 return r;}
extern OBJ _AStructLookup_6_c(OBJ x1,OBJ x2,OBJ x3,OBJ x4,OBJ x5,OBJ x6) /* filterOnlys */
{OBJ r;
 {TUP2 t=_AStructLookup_6(x1,x2,x3,x4,x5,x6);
  PRD1(2,r);
  FLD1(r,1)=t.c1;
  FLD1(r,2)=t.c2;}
 return r;}

extern OBJ _AStructLookup_8(OBJ x1,OBJ x2,OBJ x3,OBJ x4) /* eqGenTrans */
{OBJ r;
 CPCLS(__AStructLookup_9,1);
 COPY(x3,1);
 COPY(x4,2);
 {OBJ x5;OBJ x6;OBJ x7;
  x5=(*(OBJ(*)(OBJ,OBJ,OBJ,OBJ))METHOD(__AStructLookup_9,3))(__AStructLookup_9,x3,x4,x2);
  x6=_ADEBUG_2(__AStructLookup_7,x5,x3);
  COPY(x6,1);
  x7=_AName_31(x6,x4);
  if(ISTGPRM(x7,1)){
   FREE(x1,1);
   FREE(x4,1);
   FREE(x6,1);
   r=__ABUILTIN_5;
  }else{
   COPY(x4,1);
   COPY(x6,1);
   {OBJ x8;
    x8=_AImpDecl4SigAna_57(x6,x4);
    if(ISTGPRM(x8,1)){
     if(ISPRD(x6)&&(ISTGPRD(x6,2))){
      {OBJ x26=FLD(x6,3);
       {OBJ x27;
	ANat_76(x26,__AObjects_30,x27);
	if(ISTGPRM(x27,1)){
	 FREE(x1,1);
	 FREE(x4,1);
	 if(EXPRD(x6,1)){
	  DSPRDF(x6);
	 }else{
	  DCPRD(x6,1);}
	 r=__ABUILTIN_3;
	}else{
	 COPY(x1,1);
	 CPPRD(x6,1);
	 {OBJ x28;
	  x28=_AName4SigAna_14(x1,x6);
	  if(ISTGPRM(x28,1)){
	   if(ISPRD(x4)&&(ISTGPRD(x4,2))){
	    {OBJ x31=FLD(x4,3);
	     if(EXPRD(x4,1)){
	      DSPRDF(x4);
	     }else{
	      FRPRD(x4,1);}
	     CPCLS(__AObjects_31,1);
	     {OBJ x32;
	      x32=_AName4SigAna_21(x1,x6);
	      r=_AMySeqFun2_14(__AObjects_31,x31,x32);}}
	   }else{
	    HLT("Name at <unknown> : undefined selection inst\'Name:name->inst");}
	  }else{
	   FREE(x1,1);
	   FREE(x4,1);
	   if(EXPRD(x6,1)){
	    DSPRDF(x6);
	   }else{
	    DCPRD(x6,1);}
	   r=__ABUILTIN_3;}}}}}
     }else{
      FREE(x1,1);
      FREE(x4,1);
      FREE(x6,1);
      r=__ABUILTIN_3;}
    }else{
     FREE(x1,1);
     FREE(x4,1);
     FREE(x6,1);
     r=__ABUILTIN_3;}}}}
 return r;}

extern OBJ _AStructLookup_9(OBJ x1,OBJ x2,OBJ x3,OBJ x4) /* !! */
{OBJ r;
 CPPRD(__AStructLookup_12,1);
 CPPRD(__AStructLookup_13,1);
 CPPRD(__AStructLookup_14,1);
 {OBJ x5;OBJ x6;OBJ x7;OBJ x8;OBJ x9;OBJ x10;OBJ x11;
  ANatConv_1(x3,x5);
  x6=_AName_34(x1);
  x7=_AName_34(x2);
  ADenotation_4(__AStructLookup_12,x7,x8);
  ADenotation_4(x6,x8,x9);
  ADenotation_4(__AStructLookup_13,x9,x10);
  ADenotation_4(x5,x10,x11);
  ADenotation_4(__AStructLookup_14,x11,r);}
 return r;}

extern OBJ _AStructLookup_10(OBJ x1,OBJ x2,OBJ x3) /* testGeneric */
{OBJ r;
 if(ISPRD(x3)&&(ISTGPRD(x3,2))){
  {OBJ x6=FLD(x3,3);
   {OBJ x7;OBJ x8;
    x7=x6;
    ANat_76(x7,__AObjects_30,x8);
    if(ISTGPRM(x8,1)){
     FREE(x1,1);
     if(EXPRD(x3,1)){
      DSPRDF(x3);
     }else{
      DCPRD(x3,1);}
     r=__ABUILTIN_5;
    }else{
     COPY(x1,1);
     CPPRD(x3,1);
     {OBJ x9;
      x9=_AName4SigAna_13(x1,x3);
      if(ISTGPRM(x9,1)){
       {OBJ x10;TUP2 x12;
	x10=_AName_12(x3);
	x12=_AImpDecl4SigAna_26(x1,x10,x7);
	ANat_76(x2,x12.c2,r);}
      }else{
       FREE(x1,1);
       if(EXPRD(x3,1)){
	DSPRDF(x3);
       }else{
	DCPRD(x3,1);}
       r=__ABUILTIN_5;}}}}}
 }else{
  HLT("Name at <unknown> : undefined selection inst\'Name:name->inst");}
 return r;}

extern OBJ _AStructLookup_11(OBJ x1,OBJ x2) /* eqInst */
{OBJ r;
 if(ISPRD(x2)&&(ISTGPRD(x2,2))){
  {OBJ x5=FLD(x2,3);
   if(EXPRD(x2,1)){
    DSPRDF(x2);
   }else{
    FRPRD(x2,1);}
   {OBJ x6;
    x6=x5;
    ANat_76(x1,x6,r);}}
 }else{
  HLT("Name at <unknown> : undefined selection inst\'Name:name->inst");}
 return r;}

extern OBJ _AStructLookup_16(OBJ x1) /* convertOnlyPartName'16 */
{OBJ r;
 CPPRD(__AStructLookup_15,1);
 r=_ADEBUG_10(__AStructLookup_15);
 return r;}

extern OBJ _AStructLookup_18(OBJ x1,OBJ x2) /* convertOnlyPartName'18 */
{OBJ r;
 CPPRD(__AStructLookup_17,1);
 {OBJ x3;
  x3=_APartName_28(x1);
  ADenotation_4(__AStructLookup_17,x3,r);}
 return r;}

extern OBJ _AStructLookup_19(OBJ x1,OBJ x2) /* convertOnlyPartName'19 */
{OBJ r;
 r=_APartNameEntry_59(x1);
 return r;}



init_AStructLookup()
{
 static int visited=0; if(visited) return; visited=1;
 init_AArray();
 init_APatterns();
 init_AUniqueTable();
 init_ADeclEntry();
 init_AGlobSig();
 init_ADEBUG();
 init_AMaps4SigAna();
 init_ADenotation();
 init_AImpExpEntry();
 init_AImpDecl4SigAna();
 init_AStruct();
 init_AMySeqFun2();
 init_ATriple();
 init_AMySeqFun3();
 init_APair();
 init_AName4SigAna();
 init_ASeq();
 init_ANatConv();
 init_ANat();
 init_APartNamePrep();
 init_AOption();
 init_ASeqFilter();
 init_APartName();
 init_ASeqMap();
 init_AImpl();
 init_ASeqOfSeq();
 init_AGlobPragma();
 init_ASeqReduce();
 init_AOcPos();
 init_ASeqZip();
 init_ARep();
 init_AGlobSigToText();
 init_APragma();
 init_AInt();
 init_AMap();
 init_AReal();
 init_ASet();
 init_ACom();
 init_AChar();
 init_AVoid();
 init_AFct();
 init_ASetByBST();
 init_ABitset();
 init_ABSTree();
 init_APartNameEntry();
 init_ATree();
 init_AGlobSigImpl();
 init_ASeqMapEnv();
 init_AObjects();
 init_ASeqConv();
 init_AAttributes();
 init_ALexem();
 init_AName();
 init_ATable();
 init_ADArray();
 init_ANatMap();
 init_AString();
 DEN("-zeqGenTrans",__AStructLookup_21);
 DEN("-znoFilterOnly",__AStructLookup_20);
 LCLS(2,_AStructLookup_19,__AStructLookup_19);
 LCLS(2,_AStructLookup_18,__AStructLookup_18);
 DEN("convertOPN: ",__AStructLookup_17);
 LCLS(1,_AStructLookup_16,__AStructLookup_16);
 DEN("-zconvertOPN",__AStructLookup_15);
 DEN("eqGenTrans  struct: ",__AStructLookup_14);
 DEN(" - ",__AStructLookup_13);
 DEN(" , ",__AStructLookup_12);
 CLS(2,_AStructLookup_11,__AStructLookup_11);
 CLS(3,_AStructLookup_10,__AStructLookup_10);
 LCLS(4,_AStructLookup_9,__AStructLookup_9);
 CLS(4,_AStructLookup_8,__AStructLookup_8);
 CLS(6,_AStructLookup_6_c,__AStructLookup_6);
 CLS(5,_AStructLookup_4,__AStructLookup_4);
 CLS(4,_AStructLookup_3,__AStructLookup_3);
 CLS(2,_AStructLookup_1,__AStructLookup_1);
 CPPRD(__AStructLookup_20,1);
 __AStructLookup_5=_ADEBUG_10(__AStructLookup_20);
 CPPRD(__AStructLookup_21,1);
 __AStructLookup_7=_ADEBUG_10(__AStructLookup_21);}

