/* generated by Id 1.0 at 2007-08-31 06:59:30 Z */
/* with the command: -I../stage1/ -I../st80 -c ExecNode.st -o ../stage2/ExecNode.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_tag= 0;
static oop s_collect_= 0;
static oop s_last= 0;
static oop s_println_= 0;
static oop s_pop= 0;
static oop s_hasExports= 0;
static oop s__5fdebugName= 0;
static oop s_stackSize= 0;
static oop s_isFree= 0;
static oop s_endBlock= 0;
static oop s_beginBlock= 0;
static oop s_notNil= 0;
static oop s_name= 0;
static oop s_generate_= 0;
static oop s__5fsizeof= 0;
static oop s_println= 0;
static oop s_new_5f_= 0;
static oop s_value_5f_= 0;
static oop s__5fimport_= 0;
static oop s_do_= 0;
static oop s_blocks= 0;
static oop s_ifFalse_= 0;
static oop s_ifTrue_= 0;
static oop s__2b= 0;
static oop s_location= 0;
static oop s_isEmpty= 0;
static oop s_initialiseVariable_= 0;
static oop s_initialiseVariable_location_= 0;
static oop s_endSequence_= 0;
static oop s_declareTemporary_= 0;
static oop s_defineTemporary_= 0;
static oop s_printIndent_= 0;
static oop s_requireType_at_= 0;
static oop s_size_5f_value_5f_= 0;
static oop s_declareTemporary_position_= 0;
static oop s_function_5f_arity_5f_outer_state_nlr_5f_= 0;
static oop s_literals= 0;
static oop s_encodeBody_= 0;
static oop s_genDeclaration_= 0;
static oop s_genDefinition_= 0;
static oop s_genImplementation_= 0;
static oop s_genInitialisation_= 0;
static oop s_genInitialisation_into_= 0;
static oop s_addTo_= 0;
static oop s_beginSequence_= 0;
static oop s_createStateVector_inScope_constructor_= 0;
static oop s_stateVectorSize= 0;
static oop s_addExec_= 0;
static oop s_encode_= 0;
static oop s_declareStack_= 0;
static oop s_defineStack_= 0;
static oop s_ifTrue_ifFalse_= 0;
static struct _Selector { const char *name; oop *addr; } _Selectors[]= {
  { "tag", &s_tag },
  { "collect:", &s_collect_ },
  { "last", &s_last },
  { "println:", &s_println_ },
  { "pop", &s_pop },
  { "hasExports", &s_hasExports },
  { "_debugName", &s__5fdebugName },
  { "stackSize", &s_stackSize },
  { "isFree", &s_isFree },
  { "endBlock", &s_endBlock },
  { "beginBlock", &s_beginBlock },
  { "notNil", &s_notNil },
  { "name", &s_name },
  { "generate:", &s_generate_ },
  { "_sizeof", &s__5fsizeof },
  { "println", &s_println },
  { "new_:", &s_new_5f_ },
  { "value_:", &s_value_5f_ },
  { "_import:", &s__5fimport_ },
  { "do:", &s_do_ },
  { "blocks", &s_blocks },
  { "ifFalse:", &s_ifFalse_ },
  { "ifTrue:", &s_ifTrue_ },
  { "+", &s__2b },
  { "location", &s_location },
  { "isEmpty", &s_isEmpty },
  { "initialiseVariable:", &s_initialiseVariable_ },
  { "initialiseVariable:location:", &s_initialiseVariable_location_ },
  { "endSequence:", &s_endSequence_ },
  { "declareTemporary:", &s_declareTemporary_ },
  { "defineTemporary:", &s_defineTemporary_ },
  { "printIndent:", &s_printIndent_ },
  { "requireType:at:", &s_requireType_at_ },
  { "size_:value_:", &s_size_5f_value_5f_ },
  { "declareTemporary:position:", &s_declareTemporary_position_ },
  { "function_:arity_:outer:state:nlr_:", &s_function_5f_arity_5f_outer_state_nlr_5f_ },
  { "literals", &s_literals },
  { "encodeBody:", &s_encodeBody_ },
  { "genDeclaration:", &s_genDeclaration_ },
  { "genDefinition:", &s_genDefinition_ },
  { "genImplementation:", &s_genImplementation_ },
  { "genInitialisation:", &s_genInitialisation_ },
  { "genInitialisation:into:", &s_genInitialisation_into_ },
  { "addTo:", &s_addTo_ },
  { "beginSequence:", &s_beginSequence_ },
  { "createStateVector:inScope:constructor:", &s_createStateVector_inScope_constructor_ },
  { "stateVectorSize", &s_stateVectorSize },
  { "addExec:", &s_addExec_ },
  { "encode:", &s_encode_ },
  { "declareStack:", &s_declareStack_ },
  { "defineStack:", &s_defineStack_ },
  { "ifTrue:ifFalse:", &s_ifTrue_ifFalse_ },
  { 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_OrderedCollection {
  struct _vtable *_vtable[0];
  oop v_array;
  oop v_firstIndex;
  oop v_lastIndex;
};
struct t_SequenceNode {
  struct _vtable *_vtable[0];
  oop v_position;
  oop v_location;
  oop v_temporaries;
  oop v_statements;
  oop v_scope;
  oop v_literals;
  oop v_blocks;
};
struct t_ExecNode {
  struct _vtable *_vtable[0];
  oop v_position;
  oop v_location;
  oop v_temporaries;
  oop v_statements;
  oop v_scope;
  oop v_literals;
  oop v_blocks;
  oop v_stateConstructor;
};
static oop l_4= 0;
static oop l_15= 0;
static oop l_16= 0;
static oop l_17= 0;
static oop v__object= 0;
static oop v__vector= 0;
static oop v_Object= 0;
static oop v_UndefinedObject= 0;
static oop v_StaticBlockClosure= 0;
static oop v_BlockClosure= 0;
static oop v_Magnitude= 0;
static oop v_Number= 0;
static oop v_Integer= 0;
static oop v_SmallInteger= 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_nil= 0;
static oop v_ParseNode= 0;
static oop v_SequenceNode= 0;
static oop v_ExecNode= 0;
static size_t ExecNode___5fsizeof(oop _closure, oop v_self) { return sizeof(struct t_ExecNode); }
static char *ExecNode___5fdebugName(oop _closure, oop v_self) { return "ExecNode"; }
static oop ExecNode__addTo_(oop v__closure, oop v_stateful_self, oop v_self, oop v_client)
 {
  _enter("addTo:", "ExecNode", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(33);
  _1= v_client;
  _2= v_self;
  _line(35);
  _1=_send(s_addExec_, _1, _2);
  _1= v_self;
  _leave();
  return _1;
  _leave();
 }
static oop b_1(oop v__closure, oop v__self, oop v_tmp)
 {
  _enter("[]", "?", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _1= 0;
  oop _2= 0;
  oop _3= 0;
  _line(44);
  _1= ((oop *)((struct t_BlockClosure *)((struct t_BlockClosure *)v__self)->v_state))[1];  /* encoder */
  _2= v_tmp;
  _3= ((struct t_ExecNode *)((oop *)((struct t_BlockClosure *)((struct t_BlockClosure *)v__self)->v_state))[2])->v_position;  /* position */
  _line(44);
  _1=_send(s_declareTemporary_position_, _1, _2, _3);
  _leave();
  return _1;
  _leave();
 }
static oop b_2(oop v__closure, oop v__self, oop v_stmt)
 {
  _enter("[]", "?", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(45);
  _1= v_stmt;
  _2= ((oop *)((struct t_BlockClosure *)((struct t_BlockClosure *)v__self)->v_state))[1];  /* encoder */
  _line(46);
  _1=_send(s_encode_, _1, _2);
  _1= ((oop *)((struct t_BlockClosure *)((struct t_BlockClosure *)v__self)->v_state))[1];  /* encoder */
  _line(47);
  _1=_send(s_pop, _1);
  _leave();
  return _1;
  _leave();
 }
static oop b_3(oop v__closure, oop v__self, oop v_block)
 {
  _enter("[]", "?", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(49);
  _1= v_block;
  _2= ((oop *)((struct t_BlockClosure *)((struct t_BlockClosure *)v__self)->v_state))[1];  /* encoder */
  _line(49);
  _1=_send(s_encodeBody_, _1, _2);
  _leave();
  return _1;
  _leave();
 }
static oop ExecNode__encode_(oop v__closure, oop v_stateful_self, oop v_self, oop v_encoder)
 {
  _enter("encode:", "ExecNode", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _state1= _send(s_new_5f_, v__vector, 11);
  oop _1= 0;
  oop _2= 0;
  oop _3= 0;
  ((oop *)_state1)[2]= v_stateful_self;
  ((oop *)_state1)[1]= v_encoder;
  _line(38);
  _1= ((oop *)_state1)[1];  /* encoder */
  _line(40);
  _1=_send(s_beginBlock, _1);
  ((struct t_ExecNode *)((oop *)_state1)[2])->v_scope= _1;  /* scope */
  _1= ((struct t_ExecNode *)((oop *)_state1)[2])->v_temporaries;  /* temporaries */
  /* Scope('tmp'->ArgumentVariableNode) */
  /* Scope('encoder'->ArgumentVariableNode 'position'->SlotVariableNode 'location'->SlotVariableNode 'stateful_self'->ArgumentVariableNode 'temporaries'->SlotVariableNode 'scope'->SlotVariableNode 'stateConstructor'->SlotVariableNode 'self'->ArgumentVariableNode 'literals'->SlotVariableNode 'blocks'->SlotVariableNode 'statements'->SlotVariableNode) */
  /* nil */
  /* 2 */
  /* 1 */
  _2= _send(s_function_5f_arity_5f_outer_state_nlr_5f_, v_BlockClosure, (oop)b_1, 1, 0, ((oop *)_state1), 0);
  _line(44);
  _1=_send(s_collect_, _1, _2);
  ((struct t_ExecNode *)((oop *)_state1)[2])->v_temporaries= _1;  /* temporaries */
  _1= ((struct t_ExecNode *)((oop *)_state1)[2])->v_statements;  /* statements */
  /* Scope('stmt'->ArgumentVariableNode) */
  /* Scope('encoder'->ArgumentVariableNode 'position'->SlotVariableNode 'location'->SlotVariableNode 'stateful_self'->ArgumentVariableNode 'temporaries'->SlotVariableNode 'scope'->SlotVariableNode 'stateConstructor'->SlotVariableNode 'self'->ArgumentVariableNode 'literals'->SlotVariableNode 'blocks'->SlotVariableNode 'statements'->SlotVariableNode) */
  /* nil */
  /* 2 */
  /* 1 */
  _2= _send(s_function_5f_arity_5f_outer_state_nlr_5f_, v_BlockClosure, (oop)b_2, 1, 0, ((oop *)_state1), 0);
  _line(45);
  _1=_send(s_do_, _1, _2);
  _1= ((struct t_ExecNode *)((oop *)_state1)[2])->v_scope;  /* scope */
  _line(49);
  _1=_send(s_blocks, _1);
  /* Scope('block'->ArgumentVariableNode) */
  /* Scope('encoder'->ArgumentVariableNode 'position'->SlotVariableNode 'location'->SlotVariableNode 'stateful_self'->ArgumentVariableNode 'temporaries'->SlotVariableNode 'scope'->SlotVariableNode 'stateConstructor'->SlotVariableNode 'self'->ArgumentVariableNode 'literals'->SlotVariableNode 'blocks'->SlotVariableNode 'statements'->SlotVariableNode) */
  /* nil */
  /* 2 */
  /* 1 */
  _2= _send(s_function_5f_arity_5f_outer_state_nlr_5f_, v_BlockClosure, (oop)b_3, 1, 0, ((oop *)_state1), 0);
  _line(49);
  _1=_send(s_do_, _1, _2);
  _1= ((oop *)_state1)[1];  /* encoder */
  _line(50);
  _1=_send(s_endBlock, _1);
  _1= ((oop *)_state1)[1];  /* encoder */
  _line(51);
  _1=_send(s_literals, _1);
  ((struct t_ExecNode *)((oop *)_state1)[2])->v_literals= _1;  /* literals */
  /* ifTrue: */
  _1= 0;
  _2= ((struct t_ExecNode *)((oop *)_state1)[2])->v_scope;  /* scope */
  _line(52);
  _2=_send(s_hasExports, _2);
  if (!_2) goto _l1;
 {
  _1= ((oop *)_state1)[1];  /* encoder */
  _2= l_4;
  _3= ((struct t_ExecNode *)((oop *)_state1)[2])->v_position;  /* position */
  _line(52);
  _1=_send(s_requireType_at_, _1, _2, _3);
  ((struct t_ExecNode *)((oop *)_state1)[2])->v_stateConstructor= _1;  /* stateConstructor */
 }
 _l1:;
  _1= v_self;
  _leave();
  return _1;
  _leave();
 }
static oop b_5(oop v__closure, oop v__self, oop v_literal)
 {
  _enter("[]", "?", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(57);
  _1= v_literal;
  _2= ((oop *)((struct t_BlockClosure *)((struct t_BlockClosure *)v__self)->v_state))[1];  /* gen */
  _line(57);
  _1=_send(s_genDeclaration_, _1, _2);
  _leave();
  return _1;
  _leave();
 }
static oop b_6(oop v__closure, oop v__self, oop v_block)
 {
  _enter("[]", "?", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(58);
  _1= v_block;
  _2= ((oop *)((struct t_BlockClosure *)((struct t_BlockClosure *)v__self)->v_state))[1];  /* gen */
  _line(58);
  _1=_send(s_genDeclaration_, _1, _2);
  _leave();
  return _1;
  _leave();
 }
static oop ExecNode__genDeclaration_(oop v__closure, oop v_stateful_self, oop v_self, oop v_gen)
 {
  _enter("genDeclaration:", "ExecNode", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _state1= _send(s_new_5f_, v__vector, 2);
  oop _1= 0;
  oop _2= 0;
  ((oop *)_state1)[1]= v_gen;
  _line(55);
  _1= ((struct t_ExecNode *)v_stateful_self)->v_literals;
  /* Scope('literal'->ArgumentVariableNode) */
  /* Scope('gen'->ArgumentVariableNode 'position'->SlotVariableNode 'location'->SlotVariableNode 'stateful_self'->ArgumentVariableNode 'temporaries'->SlotVariableNode 'scope'->SlotVariableNode 'stateConstructor'->SlotVariableNode 'self'->ArgumentVariableNode 'literals'->SlotVariableNode 'blocks'->SlotVariableNode 'statements'->SlotVariableNode) */
  /* nil */
  /* 2 */
  /* 1 */
  _2= _send(s_function_5f_arity_5f_outer_state_nlr_5f_, v_BlockClosure, (oop)b_5, 1, 0, ((oop *)_state1), 0);
  _line(57);
  _1=_send(s_do_, _1, _2);
  _1= ((struct t_ExecNode *)v_stateful_self)->v_scope;
  _line(58);
  _1=_send(s_blocks, _1);
  /* Scope('block'->ArgumentVariableNode) */
  /* Scope('gen'->ArgumentVariableNode 'position'->SlotVariableNode 'location'->SlotVariableNode 'stateful_self'->ArgumentVariableNode 'temporaries'->SlotVariableNode 'scope'->SlotVariableNode 'stateConstructor'->SlotVariableNode 'self'->ArgumentVariableNode 'literals'->SlotVariableNode 'blocks'->SlotVariableNode 'statements'->SlotVariableNode) */
  /* nil */
  /* 2 */
  /* 1 */
  _2= _send(s_function_5f_arity_5f_outer_state_nlr_5f_, v_BlockClosure, (oop)b_6, 1, 0, ((oop *)_state1), 0);
  _line(58);
  _1=_send(s_do_, _1, _2);
  _1= v_self;
  _leave();
  return _1;
  _leave();
 }
static oop b_7(oop v__closure, oop v__self, oop v_literal)
 {
  _enter("[]", "?", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(63);
  _1= v_literal;
  _2= ((oop *)((struct t_BlockClosure *)((struct t_BlockClosure *)v__self)->v_state))[1];  /* gen */
  _line(63);
  _1=_send(s_genDefinition_, _1, _2);
  _leave();
  return _1;
  _leave();
 }
static oop b_8(oop v__closure, oop v__self, oop v_block)
 {
  _enter("[]", "?", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(64);
  _1= v_block;
  _2= ((oop *)((struct t_BlockClosure *)((struct t_BlockClosure *)v__self)->v_state))[1];  /* gen */
  _line(64);
  _1=_send(s_genDefinition_, _1, _2);
  _leave();
  return _1;
  _leave();
 }
static oop ExecNode__genDefinition_(oop v__closure, oop v_stateful_self, oop v_self, oop v_gen)
 {
  _enter("genDefinition:", "ExecNode", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _state1= _send(s_new_5f_, v__vector, 2);
  oop _1= 0;
  oop _2= 0;
  ((oop *)_state1)[1]= v_gen;
  _line(61);
  _1= ((struct t_ExecNode *)v_stateful_self)->v_literals;
  /* Scope('literal'->ArgumentVariableNode) */
  /* Scope('gen'->ArgumentVariableNode 'position'->SlotVariableNode 'location'->SlotVariableNode 'stateful_self'->ArgumentVariableNode 'temporaries'->SlotVariableNode 'scope'->SlotVariableNode 'stateConstructor'->SlotVariableNode 'self'->ArgumentVariableNode 'literals'->SlotVariableNode 'blocks'->SlotVariableNode 'statements'->SlotVariableNode) */
  /* nil */
  /* 2 */
  /* 1 */
  _2= _send(s_function_5f_arity_5f_outer_state_nlr_5f_, v_BlockClosure, (oop)b_7, 1, 0, ((oop *)_state1), 0);
  _line(63);
  _1=_send(s_do_, _1, _2);
  _1= ((struct t_ExecNode *)v_stateful_self)->v_scope;
  _line(64);
  _1=_send(s_blocks, _1);
  /* Scope('block'->ArgumentVariableNode) */
  /* Scope('gen'->ArgumentVariableNode 'position'->SlotVariableNode 'location'->SlotVariableNode 'stateful_self'->ArgumentVariableNode 'temporaries'->SlotVariableNode 'scope'->SlotVariableNode 'stateConstructor'->SlotVariableNode 'self'->ArgumentVariableNode 'literals'->SlotVariableNode 'blocks'->SlotVariableNode 'statements'->SlotVariableNode) */
  /* nil */
  /* 2 */
  /* 1 */
  _2= _send(s_function_5f_arity_5f_outer_state_nlr_5f_, v_BlockClosure, (oop)b_8, 1, 0, ((oop *)_state1), 0);
  _line(64);
  _1=_send(s_do_, _1, _2);
  _1= v_self;
  _leave();
  return _1;
  _leave();
 }
static oop b_9(oop v__closure, oop v__self, oop v_block)
 {
  _enter("[]", "?", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(69);
  _1= v_block;
  _2= ((oop *)((struct t_BlockClosure *)((struct t_BlockClosure *)v__self)->v_state))[1];  /* gen */
  _line(69);
  _1=_send(s_genImplementation_, _1, _2);
  _leave();
  return _1;
  _leave();
 }
static oop ExecNode__genImplementation_(oop v__closure, oop v_stateful_self, oop v_self, oop v_gen)
 {
  _enter("genImplementation:", "ExecNode", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _state1= _send(s_new_5f_, v__vector, 2);
  oop _1= 0;
  oop _2= 0;
  ((oop *)_state1)[1]= v_gen;
  _line(67);
  _1= ((struct t_ExecNode *)v_stateful_self)->v_scope;
  _line(69);
  _1=_send(s_blocks, _1);
  /* Scope('block'->ArgumentVariableNode) */
  /* Scope('gen'->ArgumentVariableNode 'position'->SlotVariableNode 'location'->SlotVariableNode 'stateful_self'->ArgumentVariableNode 'temporaries'->SlotVariableNode 'scope'->SlotVariableNode 'stateConstructor'->SlotVariableNode 'self'->ArgumentVariableNode 'literals'->SlotVariableNode 'blocks'->SlotVariableNode 'statements'->SlotVariableNode) */
  /* nil */
  /* 2 */
  /* 1 */
  _2= _send(s_function_5f_arity_5f_outer_state_nlr_5f_, v_BlockClosure, (oop)b_9, 1, 0, ((oop *)_state1), 0);
  _line(69);
  _1=_send(s_do_, _1, _2);
  _1= v_self;
  _leave();
  return _1;
  _leave();
 }
static oop ExecNode__genInitialisation_(oop v__closure, oop v_stateful_self, oop v_self, oop v_gen)
 {
  _enter("genInitialisation:", "ExecNode", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _1= 0;
  oop _2= 0;
  oop _3= 0;
  _line(72);
  _1= v_self;
  _2= v_gen;
  _3= v_nil;
  _line(74);
  _1=_send(s_genInitialisation_into_, _1, _2, _3);
  _1= v_self;
  _leave();
  return _1;
  _leave();
 }
static oop b_10(oop v__closure, oop v__self, oop v_literal)
 {
  _enter("[]", "?", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(79);
  _1= v_literal;
  _2= ((oop *)((struct t_BlockClosure *)((struct t_BlockClosure *)v__self)->v_state))[1];  /* gen */
  _line(79);
  _1=_send(s_genInitialisation_, _1, _2);
  _leave();
  return _1;
  _leave();
 }
static oop b_11(oop v__closure, oop v__self, oop v_block)
 {
  _enter("[]", "?", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(80);
  _1= v_block;
  _2= ((oop *)((struct t_BlockClosure *)((struct t_BlockClosure *)v__self)->v_state))[1];  /* gen */
  _line(80);
  _1=_send(s_genInitialisation_, _1, _2);
  _leave();
  return _1;
  _leave();
 }
static oop b_12(oop v__closure, oop v__self, oop v_temp)
 {
  _enter("[]", "?", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(83);
  /* ifFalse: */
  _1= 0;
  _2= v_temp;
  _line(83);
  _2=_send(s_isFree, _2);
  if (_2) goto _l2;
 {
  _1= ((oop *)((struct t_BlockClosure *)((struct t_BlockClosure *)v__self)->v_state))[1];  /* gen */
  _2= v_temp;
  _line(83);
  _1=_send(s_declareTemporary_, _1, _2);
 }
 _l2:;
  _leave();
  return _1;
  _leave();
 }
static oop b_13(oop v__closure, oop v__self, oop v_temp)
 {
  _enter("[]", "?", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(85);
  /* ifFalse: */
  _1= 0;
  _2= v_temp;
  _line(85);
  _2=_send(s_isFree, _2);
  if (_2) goto _l3;
 {
  _1= ((oop *)((struct t_BlockClosure *)((struct t_BlockClosure *)v__self)->v_state))[1];  /* gen */
  _2= v_temp;
  _line(85);
  _1=_send(s_defineTemporary_, _1, _2);
 }
 _l3:;
  _leave();
  return _1;
  _leave();
 }
static oop b_14(oop v__closure, oop v__self, oop v_stmt)
 {
  _enter("[]", "?", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _1= 0;
  oop _2= 0;
  _line(88);
  _1= v_stmt;
  _2= ((oop *)((struct t_BlockClosure *)((struct t_BlockClosure *)v__self)->v_state))[1];  /* gen */
  _line(88);
  _1=_send(s_generate_, _1, _2);
  _leave();
  return _1;
  _leave();
 }
static oop ExecNode__genInitialisation_into_(oop v__closure, oop v_stateful_self, oop v_self, oop v_gen, oop v_definitionNode)
 {
  _enter("genInitialisation:into:", "ExecNode", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _state1= _send(s_new_5f_, v__vector, 2);
  oop _1= 0;
  oop _2= 0;
  oop _3= 0;
  oop _4= 0;
  ((oop *)_state1)[1]= v_gen;
  _line(77);
  _1= ((struct t_ExecNode *)v_stateful_self)->v_literals;
  /* Scope('literal'->ArgumentVariableNode) */
  /* Scope('gen'->ArgumentVariableNode 'position'->SlotVariableNode 'location'->SlotVariableNode 'temporaries'->SlotVariableNode 'definitionNode'->ArgumentVariableNode 'stateful_self'->ArgumentVariableNode 'scope'->SlotVariableNode 'self'->ArgumentVariableNode 'literals'->SlotVariableNode 'stateConstructor'->SlotVariableNode 'blocks'->SlotVariableNode 'statements'->SlotVariableNode) */
  /* nil */
  /* 2 */
  /* 1 */
  _2= _send(s_function_5f_arity_5f_outer_state_nlr_5f_, v_BlockClosure, (oop)b_10, 1, 0, ((oop *)_state1), 0);
  _line(79);
  _1=_send(s_do_, _1, _2);
  _1= ((struct t_ExecNode *)v_stateful_self)->v_scope;
  _line(80);
  _1=_send(s_blocks, _1);
  /* Scope('block'->ArgumentVariableNode) */
  /* Scope('gen'->ArgumentVariableNode 'position'->SlotVariableNode 'location'->SlotVariableNode 'temporaries'->SlotVariableNode 'definitionNode'->ArgumentVariableNode 'stateful_self'->ArgumentVariableNode 'scope'->SlotVariableNode 'self'->ArgumentVariableNode 'literals'->SlotVariableNode 'stateConstructor'->SlotVariableNode 'blocks'->SlotVariableNode 'statements'->SlotVariableNode) */
  /* nil */
  /* 2 */
  /* 1 */
  _2= _send(s_function_5f_arity_5f_outer_state_nlr_5f_, v_BlockClosure, (oop)b_11, 1, 0, ((oop *)_state1), 0);
  _line(80);
  _1=_send(s_do_, _1, _2);
  _1= ((oop *)_state1)[1];  /* gen */
  _2= v_self;
  _line(81);
  _1=_send(s_beginSequence_, _1, _2);
  /* ifTrue: */
  _1= 0;
  _2= ((struct t_ExecNode *)v_stateful_self)->v_scope;
  _line(82);
  _2=_send(s_hasExports, _2);
  if (!_2) goto _l4;
 {
  _1= ((oop *)_state1)[1];  /* gen */
  _2= ((struct t_ExecNode *)v_stateful_self)->v_scope;
  _line(82);
  _2=_send(s_stateVectorSize, _2);
  _3= ((struct t_ExecNode *)v_stateful_self)->v_scope;
  _line(82);
  _3=_send(s_tag, _3);
  _4= ((struct t_ExecNode *)v_stateful_self)->v_stateConstructor;
  _line(82);
  _1=_send(s_createStateVector_inScope_constructor_, _1, _2, _3, _4);
 }
 _l4:;
  _1= ((struct t_ExecNode *)v_stateful_self)->v_temporaries;
  /* Scope('temp'->ArgumentVariableNode) */
  /* Scope('gen'->ArgumentVariableNode 'position'->SlotVariableNode 'location'->SlotVariableNode 'temporaries'->SlotVariableNode 'definitionNode'->ArgumentVariableNode 'stateful_self'->ArgumentVariableNode 'scope'->SlotVariableNode 'self'->ArgumentVariableNode 'literals'->SlotVariableNode 'stateConstructor'->SlotVariableNode 'blocks'->SlotVariableNode 'statements'->SlotVariableNode) */
  /* nil */
  /* 2 */
  /* 1 */
  _2= _send(s_function_5f_arity_5f_outer_state_nlr_5f_, v_BlockClosure, (oop)b_12, 1, 0, ((oop *)_state1), 0);
  _line(83);
  _1=_send(s_do_, _1, _2);
  _1= ((oop *)_state1)[1];  /* gen */
  _2= ((struct t_ExecNode *)v_stateful_self)->v_scope;
  _line(84);
  _2=_send(s_stackSize, _2);
  _line(84);
  _1=_send(s_declareStack_, _1, _2);
  _1= ((struct t_ExecNode *)v_stateful_self)->v_temporaries;
  /* Scope('temp'->ArgumentVariableNode) */
  /* Scope('gen'->ArgumentVariableNode 'position'->SlotVariableNode 'location'->SlotVariableNode 'temporaries'->SlotVariableNode 'definitionNode'->ArgumentVariableNode 'stateful_self'->ArgumentVariableNode 'scope'->SlotVariableNode 'self'->ArgumentVariableNode 'literals'->SlotVariableNode 'stateConstructor'->SlotVariableNode 'blocks'->SlotVariableNode 'statements'->SlotVariableNode) */
  /* nil */
  /* 2 */
  /* 1 */
  _2= _send(s_function_5f_arity_5f_outer_state_nlr_5f_, v_BlockClosure, (oop)b_13, 1, 0, ((oop *)_state1), 0);
  _line(85);
  _1=_send(s_do_, _1, _2);
  _1= ((oop *)_state1)[1];  /* gen */
  _2= ((struct t_ExecNode *)v_stateful_self)->v_scope;
  _line(86);
  _2=_send(s_stackSize, _2);
  _line(86);
  _1=_send(s_defineStack_, _1, _2);
  _1= ((struct t_ExecNode *)v_stateful_self)->v_statements;
  /* Scope('stmt'->ArgumentVariableNode) */
  /* Scope('gen'->ArgumentVariableNode 'position'->SlotVariableNode 'location'->SlotVariableNode 'temporaries'->SlotVariableNode 'definitionNode'->ArgumentVariableNode 'stateful_self'->ArgumentVariableNode 'scope'->SlotVariableNode 'self'->ArgumentVariableNode 'literals'->SlotVariableNode 'stateConstructor'->SlotVariableNode 'blocks'->SlotVariableNode 'statements'->SlotVariableNode) */
  /* nil */
  /* 2 */
  /* 1 */
  _2= _send(s_function_5f_arity_5f_outer_state_nlr_5f_, v_BlockClosure, (oop)b_14, 1, 0, ((oop *)_state1), 0);
  _line(88);
  _1=_send(s_do_, _1, _2);
  /* ifTrue: */
  _1= 0;
  _2= v_definitionNode;
  _line(90);
  _2=_send(s_notNil, _2);
  if (!_2) goto _l5;
 {
  /* ifTrue:ifFalse: */
  _1= ((struct t_ExecNode *)v_stateful_self)->v_statements;
  _line(92);
  _1=_send(s_isEmpty, _1);
  if (!_1) goto _l6;
 {
  _1= ((oop *)_state1)[1];  /* gen */
  _2= v_definitionNode;
  _line(93);
  _2=_send(s_name, _2);
  _line(93);
  _1=_send(s_initialiseVariable_, _1, _2);
 }
  goto _l7;
 _l6:;
 {
  _1= ((oop *)_state1)[1];  /* gen */
  _2= v_definitionNode;
  _line(94);
  _2=_send(s_name, _2);
  _3= ((struct t_ExecNode *)v_stateful_self)->v_statements;
  _line(94);
  _3=_send(s_last, _3);
  _line(94);
  _3=_send(s_location, _3);
  _line(94);
  _1=_send(s_initialiseVariable_location_, _1, _2, _3);
 }
 _l7:;
 }
 _l5:;
  _1= ((oop *)_state1)[1];  /* gen */
  _2= v_self;
  _line(95);
  _1=_send(s_endSequence_, _1, _2);
  _1= v_self;
  _leave();
  return _1;
  _leave();
 }
static oop ExecNode__println_(oop v__closure, oop v_stateful_self, oop v_self, oop v_indent)
 {
  _enter("println:", "ExecNode", "/home/saintiss/source/svn/stIdst_278/object/idc/ExecNode.st");
  oop _1= 0;
  oop _2= 0;
  oop _3= 0;
  _line(98);
  _1= v_self;
  _2= v_indent;
  _line(100);
  _1=_send(s_printIndent_, _1, _2);
  _1= l_15;
  _line(101);
  _1=_send(s_println, _1);
  _1= v_self;
  _2= v_indent;
  _3= l_16;
  {
    int _l= (int)_2 >> 1;
    int _r= (int)_3 >> 1;
    int _s= _l + _r;
    if ((1 & (int)_2) && ((_s ^ (_s << 1)) >= 0))  _2= (oop)(_s << 1 | 1);  else _2= _send(s__2b, _2, _3);
  }
  _line(102);
  _1=_super(v_SequenceNode, s_println_, _1, _2);
  _1= l_17;
  _line(103);
  _1=_send(s_println, _1);
  _1= v_self;
  _leave();
  return _1;
  _leave();
 }

void __id__init__ExecNode(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>", "ExecNode.st");

  _send(s__5fimport_, _local_object, "SequenceNode", "__id__init__SequenceNode");
  _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__vector= _id_import("_vector");
  v_Object= _id_import("Object");
  v_UndefinedObject= _id_import("UndefinedObject");
  v_StaticBlockClosure= _id_import("StaticBlockClosure");
  v_BlockClosure= _id_import("BlockClosure");
  v_Magnitude= _id_import("Magnitude");
  v_Number= _id_import("Number");
  v_Integer= _id_import("Integer");
  v_SmallInteger= _id_import("SmallInteger");
  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_nil= _id_import("nil");
  _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");
  _send(s__5fimport_, _local_object, "OrderedCollection", "__id__init__OrderedCollection");
  v_SequenceNode= _id_import("SequenceNode");
  v_ExecNode= _proto(v_SequenceNode);
  _method(v_ExecNode, s__5fsizeof, ExecNode___5fsizeof);
  _method(v_ExecNode, s__5fdebugName, ExecNode___5fdebugName);
  _id_export("ExecNode", v_ExecNode);
  _method(v_ExecNode, s_addTo_, ExecNode__addTo_);
  l_4= _send(s_size_5f_value_5f_, v_ImmutableString, 6, "vector");
  _method(v_ExecNode, s_encode_, ExecNode__encode_);
  _method(v_ExecNode, s_genDeclaration_, ExecNode__genDeclaration_);
  _method(v_ExecNode, s_genDefinition_, ExecNode__genDefinition_);
  _method(v_ExecNode, s_genImplementation_, ExecNode__genImplementation_);
  _method(v_ExecNode, s_genInitialisation_, ExecNode__genInitialisation_);
  _method(v_ExecNode, s_genInitialisation_into_, ExecNode__genInitialisation_into_);
  l_15= _send(s_size_5f_value_5f_, v_ImmutableString, 6, "Exec [");
  l_16= _send(s_value_5f_, v_SmallInteger, 1);
  l_17= _send(s_size_5f_value_5f_, v_ImmutableString, 1, "]");
  _method(v_ExecNode, s_println_, ExecNode__println_);
  _leave();
}
