/* generated by Id 1.0 at 2007-08-31 06:59:38 Z */
/* with the command: -I../stage1/ -I../st80 -c PrototypeNode.st -o ../stage2/PrototypeNode.o.c */

#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <setjmp.h>
#include <string.h>
#include <ctype.h>
#include <fcntl.h>
#include <unistd.h>
#include <time.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <assert.h>
#define GC_DLL 1
#include <gc/gc.h>
#if defined(WIN32)
# include <malloc.h>
# include <windows.h>
  typedef HINSTANCE dlhandle_t;
# define dlopen(path, mode)	LoadLibrary(path)
# define dlsym(handle, name)	((void *)GetProcAddress(handle, name))
# define dlclose(handle)	FreeLibrary(handle)
# include <winbase.h>
  inline int gettimeofday(struct timeval *tp, void *tzp)
  {
     union {
       long long ns100;
       FILETIME ft;
     } _now;
     GetSystemTimeAsFileTime(&_now.ft);
     tp->tv_usec= (long)((_now.ns100 / 10LL) % 1000000LL);
     tp->tv_sec= (long)((_now.ns100 - (116444736000000000LL)) / 10000000LL);
     return 0;
   }
#else
# include <dlfcn.h>
  typedef void *dlhandle_t;
#endif
#ifndef O_BINARY
# define O_BINARY 0
#endif

typedef struct t__object *oop;

typedef oop (*_imp_t)(oop _thunk, oop receiver, ...);

struct __closure
{
  _imp_t method;
  oop	 data;
};

static void              *(*_local_param   )(int index)= 0;
static oop  		  (*_local_intern  )(const char *string)= 0;
static oop  		  (*_local_proto   )(oop base)= 0;
static oop  		  (*_local_import  )(const char *name)= 0;
static oop  		  (*_local_export  )(const char *name, oop value)= 0;
static void 		  (*_local_method  )(oop type, oop selector, _imp_t method)= 0;
static oop  		  (*_local_alloc   )(oop type, size_t size)= 0;
static oop  		 *(*_local_palloc  )(size_t size)= 0;
static void  		 *(*_local_balloc  )(size_t size)= 0;
static struct __closure  *(*_local_bind    )(oop selector, oop receiver)= 0;
static oop                (*_local_nlreturn)(oop nlr, oop result)= 0;
static oop                (*_local_nlresult)(void)= 0;
static oop  		    _local_object= 0;
static oop  		   *_local_tag_vtable= 0;
static oop  		   *_local_nil_vtable= 0;
static void               (*_local_gc_addRoots)(char *lo, char *hi)= 0;
static void	          (*_local_gc_unregisterDisappearingLink)(void *ptr)= 0;
static void		  (*_local_gc_generalRegisterDisappearingLink)(void *link, void *ptr)= 0;
static void		  (*_local_gc_gcollect)(void)= 0;
static void		 *(*_local_enter)(char *name, char *type, char *file)= 0;
static void		  (*_local_line)(int line)= 0;
static void		  (*_local_leave)(void *)= 0;
static char		 *(*_local_backtrace)(void)= 0;

#define _param(INDEX)		_local_param(INDEX)
#define _selector(NAME)		_local_intern(NAME)
#define _proto(BASE)		_local_proto(BASE)
#define _id_import(NAME)	_local_import(NAME)
#define _id_export(NAME, VAL)	_local_export((NAME), (VAL))
#define _method(TYPE, SEL, IMP)	_local_method((TYPE), (SEL), (_imp_t)(IMP))
#define _alloc(RCV, LBS)	_local_alloc((RCV), (LBS))
#define _palloc(LBS)		_local_palloc((LBS))
#define _balloc(LBS)		_local_balloc((LBS))
#define _nlreturn(NLR, ARG)	_local_nlreturn((NLR), (ARG))
#define _nlresult()		_local_nlresult()
#define _backtrace()		_local_backtrace()
#ifdef ID_DEBUG
# define _enter(NM, TYPE, FILE)	void *__id_debug= _local_enter(NM, TYPE, FILE)
# define _line(line)		_local_line(line)
# define _leave()		_local_leave(__id_debug)
#else
# define _enter(NM, TYPE, FILE)
# define _line(line)
# define _leave()
#endif
#define _return			_leave(); return

#define _send(MSG, RCV, ARG...) ({					\
  register oop _r= (RCV);						\
  struct __closure *_c= (struct __closure *)_local_bind((MSG), _r);	\
  (_c->method)((oop)_c, _r, _r, ##ARG);					\
})

#define _super(TYP, MSG, RCV, ARG...) ({				\
  register oop _r= (RCV);						\
  struct __closure *_c= (struct __closure *)_local_bind((MSG), (TYP));	\
  (_c->method)((oop)_c, _r, _r, ##ARG);					\
})

static oop s_printIndent_= 0;
static oop s_println= 0;
static oop s_printString= 0;
static oop s_slots_= 0;
static oop s_addType_= 0;
static oop s__5fimport_= 0;
static oop s_ifFalse_= 0;
static oop s_beExternal= 0;
static oop s_isExternal= 0;
static oop s_println_= 0;
static oop s_slots= 0;
static oop s_ifTrue_= 0;
static oop s__2c= 0;
static oop s_noteUsed= 0;
static oop s__3d= 0;
static oop s_withName_base_slots_position_= 0;
static oop s_withPosition_= 0;
static oop s_isPrototypeNode= 0;
static oop s__5fdebugName= 0;
static oop s_and_= 0;
static oop s_base= 0;
static oop s_encode_position_= 0;
static oop s_addSelector_= 0;
static oop s_notNil= 0;
static oop s_size_5f_value_5f_= 0;
static oop s_noteImplementation_in_at_= 0;
static oop s_genDeclaration_= 0;
static oop s_declareType_= 0;
static oop s_genDefinition_= 0;
static oop s_addTo_= 0;
static oop s_defineType_= 0;
static oop s_genImplementation_= 0;
static oop s_name= 0;
static oop s_encode_= 0;
static oop s_not= 0;
static oop s_implementType_= 0;
static oop s_genInitialisation_= 0;
static oop s__5fsizeof= 0;
static oop s_ifTrue_ifFalse_= 0;
static oop s_initialiseExternal_= 0;
static oop s_initialiseType_in_= 0;
static struct _Selector { const char *name; oop *addr; } _Selectors[]= {
  { "printIndent:", &s_printIndent_ },
  { "println", &s_println },
  { "printString", &s_printString },
  { "slots:", &s_slots_ },
  { "addType:", &s_addType_ },
  { "_import:", &s__5fimport_ },
  { "ifFalse:", &s_ifFalse_ },
  { "beExternal", &s_beExternal },
  { "isExternal", &s_isExternal },
  { "println:", &s_println_ },
  { "slots", &s_slots },
  { "ifTrue:", &s_ifTrue_ },
  { ",", &s__2c },
  { "noteUsed", &s_noteUsed },
  { "=", &s__3d },
  { "withName:base:slots:position:", &s_withName_base_slots_position_ },
  { "withPosition:", &s_withPosition_ },
  { "isPrototypeNode", &s_isPrototypeNode },
  { "_debugName", &s__5fdebugName },
  { "and:", &s_and_ },
  { "base", &s_base },
  { "encode:position:", &s_encode_position_ },
  { "addSelector:", &s_addSelector_ },
  { "notNil", &s_notNil },
  { "size_:value_:", &s_size_5f_value_5f_ },
  { "noteImplementation:in:at:", &s_noteImplementation_in_at_ },
  { "genDeclaration:", &s_genDeclaration_ },
  { "declareType:", &s_declareType_ },
  { "genDefinition:", &s_genDefinition_ },
  { "addTo:", &s_addTo_ },
  { "defineType:", &s_defineType_ },
  { "genImplementation:", &s_genImplementation_ },
  { "name", &s_name },
  { "encode:", &s_encode_ },
  { "not", &s_not },
  { "implementType:", &s_implementType_ },
  { "genInitialisation:", &s_genInitialisation_ },
  { "_sizeof", &s__5fsizeof },
  { "ifTrue:ifFalse:", &s_ifTrue_ifFalse_ },
  { "initialiseExternal:", &s_initialiseExternal_ },
  { "initialiseType:in:", &s_initialiseType_in_ },
  { 0, 0 }
};
struct t__object {
  struct _vtable *_vtable[0];
};
struct t__selector {
  struct _vtable *_vtable[0];
  oop v__size;
  oop v__elements;
};
struct t__assoc {
  struct _vtable *_vtable[0];
  oop v_key;
  oop v_value;
};
struct t__closure {
  struct _vtable *_vtable[0];
  oop v__method;
  oop v_data;
};
struct t__vector {
  struct _vtable *_vtable[0];
  oop v__size;
};
struct t__vtable {
  struct _vtable *_vtable[0];
  oop v__tally;
  oop v_bindings;
  oop v_delegate;
};
struct t_Object {
  struct _vtable *_vtable[0];
};
struct t_UndefinedObject {
  struct _vtable *_vtable[0];
};
struct t_StaticBlockClosure {
  struct _vtable *_vtable[0];
  oop v__function;
  oop v__arity;
};
struct t_BlockClosure {
  struct _vtable *_vtable[0];
  oop v__function;
  oop v__arity;
  oop v_outer;
  oop v_state;
  oop v__nlr;
};
struct t_Magnitude {
  struct _vtable *_vtable[0];
};
struct t_Character {
  struct _vtable *_vtable[0];
  oop v_value;
};
struct t_Number {
  struct _vtable *_vtable[0];
};
struct t_Fraction {
  struct _vtable *_vtable[0];
  oop v_numerator;
  oop v_denominator;
};
struct t_Float {
  struct _vtable *_vtable[0];
};
struct t_Integer {
  struct _vtable *_vtable[0];
};
struct t_SmallInteger {
  struct _vtable *_vtable[0];
};
struct t_LargePositiveInteger {
  struct _vtable *_vtable[0];
  oop v_bytes;
};
struct t_LargeNegativeInteger {
  struct _vtable *_vtable[0];
  oop v_bytes;
};
struct t_Collection {
  struct _vtable *_vtable[0];
};
struct t_SequenceableCollection {
  struct _vtable *_vtable[0];
};
struct t_ArrayedCollection {
  struct _vtable *_vtable[0];
  oop v_size;
};
struct t_Array {
  struct _vtable *_vtable[0];
  oop v_size;
  oop v__pointers;
};
struct t_ImmutableArray {
  struct _vtable *_vtable[0];
  oop v_size;
  oop v__pointers;
};
struct t_WordArray {
  struct _vtable *_vtable[0];
  oop v_size;
  oop v__words;
};
struct t_ImmutableWordArray {
  struct _vtable *_vtable[0];
  oop v_size;
  oop v__words;
};
struct t_ByteArray {
  struct _vtable *_vtable[0];
  oop v_size;
  oop v__bytes;
};
struct t_ImmutableByteArray {
  struct _vtable *_vtable[0];
  oop v_size;
  oop v__bytes;
};
struct t_String {
  struct _vtable *_vtable[0];
  oop v_size;
  oop v__bytes;
};
struct t_ImmutableString {
  struct _vtable *_vtable[0];
  oop v_size;
  oop v__bytes;
};
struct t_Symbol {
  struct _vtable *_vtable[0];
  oop v_size;
  oop v__bytes;
};
struct t_nil {
  struct _vtable *_vtable[0];
};
struct t_true {
  struct _vtable *_vtable[0];
};
struct t_false {
  struct _vtable *_vtable[0];
};
struct t_CharacterTable {
  struct _vtable *_vtable[0];
  oop v_size;
  oop v__pointers;
};
struct t_ParseNode {
  struct _vtable *_vtable[0];
  oop v_position;
  oop v_location;
};
struct t_PrototypeNode {
  struct _vtable *_vtable[0];
  oop v_position;
  oop v_location;
  oop v_name;
  oop v_base;
  oop v_slots;
  oop v_used;
  oop v_external;
};
static oop l_1= 0;
static oop l_2= 0;
static oop l_3= 0;
static oop l_4= 0;
static oop l_5= 0;
static oop v__object= 0;
static oop v_Object= 0;
static oop v_UndefinedObject= 0;
static oop v_StaticBlockClosure= 0;
static oop v_Magnitude= 0;
static oop v_Number= 0;
static oop v_Integer= 0;
static oop v_LargePositiveInteger= 0;
static oop v_Collection= 0;
static oop v_SequenceableCollection= 0;
static oop v_ArrayedCollection= 0;
static oop v_Array= 0;
static oop v_WordArray= 0;
static oop v_ByteArray= 0;
static oop v_String= 0;
static oop v_ImmutableString= 0;
static oop v_true= 0;
static oop v_false= 0;
static oop v_ParseNode= 0;
static oop v_PrototypeNode= 0;
static size_t PrototypeNode___5fsizeof(oop _closure, oop v_self) { return sizeof(struct t_PrototypeNode); }
static char *PrototypeNode___5fdebugName(oop _closure, oop v_self) { return "PrototypeNode"; }
static oop Object__isPrototypeNode(oop v__closure, oop v_stateful_self, oop v_self)
 {
  _enter("isPrototypeNode", "Object", "/home/saintiss/source/svn/stIdst_278/object/idc/PrototypeNode.st");
  oop _1= 0;
  _line(34);
  _1= v_false;
  _leave();
  return _1;
  _leave();
 }
static oop PrototypeNode__isPrototypeNode(oop v__closure, oop v_stateful_self, oop v_self)
 {
  _enter("isPrototypeNode", "PrototypeNode", "/home/saintiss/source/svn/stIdst_278/object/idc/PrototypeNode.st");
  oop _1= 0;
  _line(35);
  _1= v_true;
  _leave();
  return _1;
  _leave();
 }
static oop PrototypeNode__withName_base_slots_position_(oop v__closure, oop v_stateful_self, oop v_self, oop v_nameString, oop v_baseString, oop v_slotStrings, oop v_aPosition)
 {
  _enter("withName:base:slots:position:", "PrototypeNode", "/home/saintiss/source/svn/stIdst_278/object/idc/PrototypeNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(37);
  _1= v_self;
  _2= v_aPosition;
  _line(39);
  _1=_send(s_withPosition_, _1, _2);
  v_self= _1;
  v_stateful_self= _1;
  _1= v_nameString;
  ((struct t_PrototypeNode *)v_stateful_self)->v_name= _1;
  _1= v_baseString;
  ((struct t_PrototypeNode *)v_stateful_self)->v_base= _1;
  _1= v_slotStrings;
  ((struct t_PrototypeNode *)v_stateful_self)->v_slots= _1;
  _1= v_false;
  ((struct t_PrototypeNode *)v_stateful_self)->v_used= _1;
  _1= v_false;
  ((struct t_PrototypeNode *)v_stateful_self)->v_external= _1;
  _1= v_self;
  _leave();
  return _1;
  _leave();
 }
static oop PrototypeNode__name(oop v__closure, oop v_stateful_self, oop v_self)
 {
  _enter("name", "PrototypeNode", "/home/saintiss/source/svn/stIdst_278/object/idc/PrototypeNode.st");
  oop _1= 0;
  _line(47);
  _1= ((struct t_PrototypeNode *)v_stateful_self)->v_name;
  _leave();
  return _1;
  _leave();
 }
static oop PrototypeNode__base(oop v__closure, oop v_stateful_self, oop v_self)
 {
  _enter("base", "PrototypeNode", "/home/saintiss/source/svn/stIdst_278/object/idc/PrototypeNode.st");
  oop _1= 0;
  _line(48);
  _1= ((struct t_PrototypeNode *)v_stateful_self)->v_base;
  _leave();
  return _1;
  _leave();
 }
static oop PrototypeNode__slots(oop v__closure, oop v_stateful_self, oop v_self)
 {
  _enter("slots", "PrototypeNode", "/home/saintiss/source/svn/stIdst_278/object/idc/PrototypeNode.st");
  oop _1= 0;
  _line(49);
  _1= ((struct t_PrototypeNode *)v_stateful_self)->v_slots;
  _leave();
  return _1;
  _leave();
 }
static oop PrototypeNode__noteUsed(oop v__closure, oop v_stateful_self, oop v_self)
 {
  _enter("noteUsed", "PrototypeNode", "/home/saintiss/source/svn/stIdst_278/object/idc/PrototypeNode.st");
  oop _1= 0;
  _line(51);
  _1= v_true;
  ((struct t_PrototypeNode *)v_stateful_self)->v_used= _1;
  _1= v_self;
  _leave();
  return _1;
  _leave();
 }
static oop PrototypeNode__beExternal(oop v__closure, oop v_stateful_self, oop v_self)
 {
  _enter("beExternal", "PrototypeNode", "/home/saintiss/source/svn/stIdst_278/object/idc/PrototypeNode.st");
  oop _1= 0;
  _line(52);
  _1= v_true;
  ((struct t_PrototypeNode *)v_stateful_self)->v_external= _1;
  _1= v_self;
  _leave();
  return _1;
  _leave();
 }
static oop PrototypeNode__isExternal(oop v__closure, oop v_stateful_self, oop v_self)
 {
  _enter("isExternal", "PrototypeNode", "/home/saintiss/source/svn/stIdst_278/object/idc/PrototypeNode.st");
  oop _1= 0;
  _line(53);
  _1= ((struct t_PrototypeNode *)v_stateful_self)->v_external;
  _leave();
  return _1;
  _leave();
 }
static oop PrototypeNode__slots_(oop v__closure, oop v_stateful_self, oop v_self, oop v_slotCollection)
 {
  _enter("slots:", "PrototypeNode", "/home/saintiss/source/svn/stIdst_278/object/idc/PrototypeNode.st");
  oop _1= 0;
  _line(55);
  _1= v_slotCollection;
  ((struct t_PrototypeNode *)v_stateful_self)->v_slots= _1;
  _leave();
  return _1;
  _leave();
 }
static oop PrototypeNode___3d(oop v__closure, oop v_stateful_self, oop v_self, oop v_aPrototypeNode)
 {
  _enter("=", "PrototypeNode", "/home/saintiss/source/svn/stIdst_278/object/idc/PrototypeNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(57);
  /* and: */
  _1= v_aPrototypeNode;
  _line(57);
  _1=_send(s_isPrototypeNode, _1);
  if (!_1) goto _l1;
 {
  _1= ((struct t_PrototypeNode *)v_stateful_self)->v_slots;
  _2= v_aPrototypeNode;
  _line(57);
  _2=_send(s_slots, _2);
  if (1 & (int)_1 & (int)_2) {
    _1= (((int)_1 == (int)_2) ? v_true : v_false);
  } else _1= _send(s__3d, _1, _2);
 }
 _l1:;
  _leave();
  return _1;
  _leave();
 }
static oop PrototypeNode__addTo_(oop v__closure, oop v_stateful_self, oop v_self, oop v_client)
 {
  _enter("addTo:", "PrototypeNode", "/home/saintiss/source/svn/stIdst_278/object/idc/PrototypeNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(59);
  _1= v_client;
  _2= v_self;
  _line(59);
  _1=_send(s_addType_, _1, _2);
  _1= v_self;
  _leave();
  return _1;
  _leave();
 }
static oop PrototypeNode__encode_(oop v__closure, oop v_stateful_self, oop v_self, oop v_encoder)
 {
  _enter("encode:", "PrototypeNode", "/home/saintiss/source/svn/stIdst_278/object/idc/PrototypeNode.st");
  oop _1= 0;
  oop _2= 0;
  oop _3= 0;
  oop _4= 0;
  _line(61);
  /* ifTrue: */
  _1= 0;
  _2= ((struct t_PrototypeNode *)v_stateful_self)->v_base;
  _line(64);
  _2=_send(s_notNil, _2);
  if (!_2) goto _l2;
 {
  _1= v_encoder;
  _2= ((struct t_PrototypeNode *)v_stateful_self)->v_base;
  _3= ((struct t_PrototypeNode *)v_stateful_self)->v_position;
  _line(64);
  _1=_send(s_encode_position_, _1, _2, _3);
 }
 _l2:;
  /* ifFalse: */
  _1= 0;
  _2= ((struct t_PrototypeNode *)v_stateful_self)->v_external;
  if (_2) goto _l3;
 {
  _1= v_true;
  ((struct t_PrototypeNode *)v_stateful_self)->v_used= _1;
  _1= v_encoder;
  _2= l_1;
  _line(70);
  _send(s_addSelector_, _1, _2);
  _2= l_1;
  _3= ((struct t_PrototypeNode *)v_stateful_self)->v_name;
  _4= ((struct t_PrototypeNode *)v_stateful_self)->v_position;
  _send(s_noteImplementation_in_at_, _1, _2, _3, _4);
  _2= l_2;
  _send(s_addSelector_, _1, _2);
  _2= l_2;
  _3= ((struct t_PrototypeNode *)v_stateful_self)->v_name;
  _4= ((struct t_PrototypeNode *)v_stateful_self)->v_position;
  _1=_send(s_noteImplementation_in_at_, _1, _2, _3, _4);
 }
 _l3:;
  _1= v_self;
  _leave();
  return _1;
  _leave();
 }
static oop PrototypeNode__genDeclaration_(oop v__closure, oop v_stateful_self, oop v_self, oop v_gen)
 {
  _enter("genDeclaration:", "PrototypeNode", "/home/saintiss/source/svn/stIdst_278/object/idc/PrototypeNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(78);
  _1= v_gen;
  _2= v_self;
  _line(78);
  _1=_send(s_declareType_, _1, _2);
  _1= v_self;
  _leave();
  return _1;
  _leave();
 }
static oop PrototypeNode__genDefinition_(oop v__closure, oop v_stateful_self, oop v_self, oop v_gen)
 {
  _enter("genDefinition:", "PrototypeNode", "/home/saintiss/source/svn/stIdst_278/object/idc/PrototypeNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(79);
  /* ifTrue: */
  _1= 0;
  _2= ((struct t_PrototypeNode *)v_stateful_self)->v_used;
  if (!_2) goto _l4;
 {
  _1= v_gen;
  _2= v_self;
  _line(79);
  _1=_send(s_defineType_, _1, _2);
 }
 _l4:;
  _1= v_self;
  _leave();
  return _1;
  _leave();
 }
static oop PrototypeNode__genImplementation_(oop v__closure, oop v_stateful_self, oop v_self, oop v_gen)
 {
  _enter("genImplementation:", "PrototypeNode", "/home/saintiss/source/svn/stIdst_278/object/idc/PrototypeNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(80);
  /* ifTrue: */
  _1= 0;
  /* and: */
  _2= ((struct t_PrototypeNode *)v_stateful_self)->v_used;
  if (!_2) goto _l6;
 {
  _2= ((struct t_PrototypeNode *)v_stateful_self)->v_external;
  _line(80);
  _2=_send(s_not, _2);
 }
 _l6:;
  if (!_2) goto _l5;
 {
  _1= v_gen;
  _2= v_self;
  _line(80);
  _1=_send(s_implementType_, _1, _2);
 }
 _l5:;
  _1= v_self;
  _leave();
  return _1;
  _leave();
 }
static oop PrototypeNode__genInitialisation_(oop v__closure, oop v_stateful_self, oop v_self, oop v_gen)
 {
  _enter("genInitialisation:", "PrototypeNode", "/home/saintiss/source/svn/stIdst_278/object/idc/PrototypeNode.st");
  oop _1= 0;
  oop _2= 0;
  oop _3= 0;
  _line(82);
  /* ifTrue: */
  _1= 0;
  _2= ((struct t_PrototypeNode *)v_stateful_self)->v_used;
  if (!_2) goto _l7;
 {
  /* ifTrue:ifFalse: */
  _1= ((struct t_PrototypeNode *)v_stateful_self)->v_external;
  if (!_1) goto _l8;
 {
  _1= v_gen;
  _2= ((struct t_PrototypeNode *)v_stateful_self)->v_name;
  _line(87);
  _1=_send(s_initialiseExternal_, _1, _2);
 }
  goto _l9;
 _l8:;
 {
  _1= v_gen;
  _2= v_self;
  _line(88);
  _2=_send(s_name, _2);
  _3= ((struct t_PrototypeNode *)v_stateful_self)->v_base;
  _line(88);
  _1=_send(s_initialiseType_in_, _1, _2, _3);
 }
 _l9:;
 }
 _l7:;
  _1= v_self;
  _leave();
  return _1;
  _leave();
 }
static oop PrototypeNode__println_(oop v__closure, oop v_stateful_self, oop v_self, oop v_indent)
 {
  _enter("println:", "PrototypeNode", "/home/saintiss/source/svn/stIdst_278/object/idc/PrototypeNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(91);
  _1= v_self;
  _2= v_indent;
  _line(93);
  _1=_send(s_printIndent_, _1, _2);
  _1= l_3;
  _2= ((struct t_PrototypeNode *)v_stateful_self)->v_name;
  _line(94);
  _2=_send(s_printString, _2);
  _line(94);
  _1=_send(s__2c, _1, _2);
  _2= l_4;
  _line(94);
  _1=_send(s__2c, _1, _2);
  _2= ((struct t_PrototypeNode *)v_stateful_self)->v_base;
  _line(94);
  _2=_send(s_printString, _2);
  _line(94);
  _1=_send(s__2c, _1, _2);
  _2= l_5;
  _line(94);
  _1=_send(s__2c, _1, _2);
  _2= ((struct t_PrototypeNode *)v_stateful_self)->v_slots;
  _line(94);
  _2=_send(s_printString, _2);
  _line(94);
  _1=_send(s__2c, _1, _2);
  _line(94);
  _1=_send(s_println, _1);
  _1= v_self;
  _leave();
  return _1;
  _leave();
 }

void __id__init__PrototypeNode(void)
{
  if (_local_object) return;
  { 
    dlhandle_t global= dlopen(0, RTLD_LAZY);
    _local_object= *(oop *)dlsym(global, "_libid_object");
    _local_param= dlsym(global, "_libid_param");
    _local_intern= dlsym(global, "_libid_intern");
    _local_proto= dlsym(global, "_libid_proto");
    _local_import= dlsym(global, "_libid_import");
    _local_export= dlsym(global, "_libid_export");
    _local_method= dlsym(global, "_libid_method");
    _local_alloc= dlsym(global, "_libid_alloc");
    _local_palloc= dlsym(global, "_libid_palloc");
    _local_balloc= dlsym(global, "_libid_balloc");
    _local_bind= dlsym(global, "_libid_bind");
    _local_nlreturn= dlsym(global, "_libid_nlreturn");
    _local_nlresult= dlsym(global, "_libid_nlresult");
    _local_enter= dlsym(global, "_libid_enter");
    _local_line= dlsym(global, "_libid_line");
    _local_leave= dlsym(global, "_libid_leave");
    _local_backtrace= dlsym(global, "_libid_backtrace");
    _local_tag_vtable= dlsym(global, "_libid_tag_vtable");
    _local_nil_vtable= dlsym(global, "_libid_nil_vtable");
    _local_gc_addRoots= dlsym(global, "GC_add_roots");
    _local_gc_unregisterDisappearingLink= dlsym(global, "GC_unregister_disappearing_link");
    _local_gc_generalRegisterDisappearingLink= dlsym(global, "GC_general_register_disappearing_link");
    _local_gc_gcollect= dlsym(global, "GC_gcollect");
    dlclose(global);
  }
# define GC_add_roots _local_gc_addRoots
  GC_INIT();
  {
    struct _Selector *s= 0;
    for (s= _Selectors;  s->name;  ++s)
      *s->addr= _selector(s->name);
  }
  _enter("__id__init__", "<initialisation>", "PrototypeNode.st");

  _send(s__5fimport_, _local_object, "ParseNode", "__id__init__ParseNode");
  _send(s__5fimport_, _local_object, "Object", "__id__init__Object");
  _send(s__5fimport_, _local_object, "_object", "__id__init___5fobject");
  v__object= _id_import("_object");
  v_Object= _id_import("Object");
  v_UndefinedObject= _id_import("UndefinedObject");
  v_StaticBlockClosure= _id_import("StaticBlockClosure");
  v_Magnitude= _id_import("Magnitude");
  v_Number= _id_import("Number");
  v_Integer= _id_import("Integer");
  v_LargePositiveInteger= _id_import("LargePositiveInteger");
  v_Collection= _id_import("Collection");
  v_SequenceableCollection= _id_import("SequenceableCollection");
  v_ArrayedCollection= _id_import("ArrayedCollection");
  v_Array= _id_import("Array");
  v_WordArray= _id_import("WordArray");
  v_ByteArray= _id_import("ByteArray");
  v_String= _id_import("String");
  v_ImmutableString= _id_import("ImmutableString");
  v_true= _id_import("true");
  v_false= _id_import("false");
  _send(s__5fimport_, _local_object, "BlockClosure", "__id__init__BlockClosure");
  _send(s__5fimport_, _local_object, "SmallInteger", "__id__init__SmallInteger");
  _send(s__5fimport_, _local_object, "Integer", "__id__init__Integer");
  _send(s__5fimport_, _local_object, "Number", "__id__init__Number");
  _send(s__5fimport_, _local_object, "Magnitude", "__id__init__Magnitude");
  _send(s__5fimport_, _local_object, "Array", "__id__init__Array");
  _send(s__5fimport_, _local_object, "ArrayedCollection", "__id__init__ArrayedCollection");
  _send(s__5fimport_, _local_object, "SequenceableCollection", "__id__init__SequenceableCollection");
  _send(s__5fimport_, _local_object, "Collection", "__id__init__Collection");
  _send(s__5fimport_, _local_object, "Character", "__id__init__Character");
  _send(s__5fimport_, _local_object, "String", "__id__init__String");
  _send(s__5fimport_, _local_object, "ByteArray", "__id__init__ByteArray");
  _send(s__5fimport_, _local_object, "WordArray", "__id__init__WordArray");
  v_ParseNode= _id_import("ParseNode");
  v_PrototypeNode= _proto(v_ParseNode);
  _method(v_PrototypeNode, s__5fsizeof, PrototypeNode___5fsizeof);
  _method(v_PrototypeNode, s__5fdebugName, PrototypeNode___5fdebugName);
  _id_export("PrototypeNode", v_PrototypeNode);
  _method(v_Object, s_isPrototypeNode, Object__isPrototypeNode);
  _method(v_PrototypeNode, s_isPrototypeNode, PrototypeNode__isPrototypeNode);
  _method(v_PrototypeNode, s_withName_base_slots_position_, PrototypeNode__withName_base_slots_position_);
  _method(v_PrototypeNode, s_name, PrototypeNode__name);
  _method(v_PrototypeNode, s_base, PrototypeNode__base);
  _method(v_PrototypeNode, s_slots, PrototypeNode__slots);
  _method(v_PrototypeNode, s_noteUsed, PrototypeNode__noteUsed);
  _method(v_PrototypeNode, s_beExternal, PrototypeNode__beExternal);
  _method(v_PrototypeNode, s_isExternal, PrototypeNode__isExternal);
  _method(v_PrototypeNode, s_slots_, PrototypeNode__slots_);
  _method(v_PrototypeNode, s__3d, PrototypeNode___3d);
  _method(v_PrototypeNode, s_addTo_, PrototypeNode__addTo_);
  l_1= _send(s_size_5f_value_5f_, v_ImmutableString, 7, "_sizeof");
  l_2= _send(s_size_5f_value_5f_, v_ImmutableString, 10, "_debugName");
  _method(v_PrototypeNode, s_encode_, PrototypeNode__encode_);
  _method(v_PrototypeNode, s_genDeclaration_, PrototypeNode__genDeclaration_);
  _method(v_PrototypeNode, s_genDefinition_, PrototypeNode__genDefinition_);
  _method(v_PrototypeNode, s_genImplementation_, PrototypeNode__genImplementation_);
  _method(v_PrototypeNode, s_genInitialisation_, PrototypeNode__genInitialisation_);
  l_3= _send(s_size_5f_value_5f_, v_ImmutableString, 5, "Type ");
  l_4= _send(s_size_5f_value_5f_, v_ImmutableString, 3, " = ");
  l_5= _send(s_size_5f_value_5f_, v_ImmutableString, 3, " + ");
  _method(v_PrototypeNode, s_println_, PrototypeNode__println_);
  _leave();
}
