#include "opendylan/run-time.h"

/* Generated by Open Dylan 2014.1 for x86_64-linux */

/* Typedefs for referenced classes */

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
  dylan_value debug_name_;
  dylan_value class_implementation_class_;
  dylan_value class_subtype_bit_;
  dylan_value class_module_;
} _KLclassGVKd;

#define  define__KLmm_wrapperGVKi(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value mm_wrapper_implementation_class_; \
    dylan_value mm_wrapper_subtype_mask_; \
    DWORD mm_wrapper_fixed_part_; \
    DWORD mm_wrapper_variable_part_; \
    dylan_value mm_wrapper_number_patterns_; \
    DWORD mm_wrapper_pattern_element_[nrepeated+1]; \
  } _KLmm_wrapperGVKi_##nrepeated;
define__KLmm_wrapperGVKi(1);
define__KLmm_wrapperGVKi(0);

typedef struct {
  dylan_value wrapper;
} _KLobjectGVKd;

typedef struct {
  dylan_value wrapper;
} _KLunboundGVKe;

typedef struct {
  dylan_value wrapper;
} _KLbooleanGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value class_properties_;
  dylan_value iclass_class_;
  dylan_value class_mm_wrapper_;
  dylan_value repeated_slot_descriptor_;
  dylan_value instance_slot_descriptors_;
  dylan_value iclass_dispatch_key_;
  dylan_value class_constructor_;
  dylan_value direct_superclasses_;
  dylan_value class_rcpl_vector_;
  dylan_value class_rcpl_position_;
  dylan_value class_rcpl_other_positions_;
  dylan_value class_known_joint_;
  dylan_value iclass_dependent_generics_;
  dylan_value iclass_subclass_dependent_generics_;
  dylan_value direct_subclasses_;
  dylan_value direct_methods_;
  dylan_value direct_slot_descriptors_;
  dylan_value slot_descriptors_;
  dylan_value direct_inherited_slot_descriptors_;
  dylan_value direct_initialization_argument_descriptors_;
  dylan_value class_slot_descriptors_;
  dylan_value defaulted_initialization_arguments_slot_;
  dylan_value class_slot_storage_;
} _KLimplementation_classGVKe;

#define  define__KLsimple_object_vectorGVKd(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value size_; \
    dylan_value vector_element_[nrepeated+1]; \
  } _KLsimple_object_vectorGVKd_##nrepeated;
define__KLsimple_object_vectorGVKd(6);
define__KLsimple_object_vectorGVKd(3);
define__KLsimple_object_vectorGVKd(256);
define__KLsimple_object_vectorGVKd(2);
define__KLsimple_object_vectorGVKd(1);
define__KLsimple_object_vectorGVKd(0);

typedef struct {
  dylan_value wrapper;
  dylan_value head_;
  dylan_value tail_;
} _KLempty_listGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value Pprimitive_name_;
} _KLenvironment_objectGVenvironment_protocols;

typedef struct {
  dylan_value wrapper;
  dylan_value Pprimitive_name_;
  dylan_value compiler_object_proxy_;
} _KLcompiler_objectGVenvironment_protocols;

typedef struct {
  dylan_value wrapper;
  dylan_value Pprimitive_name_;
  dylan_value application_object_proxy_;
} _KLapplication_objectGVenvironment_protocols;

typedef struct {
  dylan_value wrapper;
  dylan_value Pprimitive_name_;
  dylan_value compiler_object_proxy_;
  dylan_value application_object_proxy_;
} _KLapplication_and_compiler_objectGVenvironment_protocols;

typedef struct {
  dylan_value wrapper;
  dylan_value xep_;
  dylan_value function_signature_;
  dylan_value mep_;
  dylan_value iep_;
  dylan_value keyword_specifiers_;
} _KLkeyword_methodGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
  dylan_value debug_name_;
  dylan_value class_implementation_class_;
  dylan_value class_subtype_bit_;
  dylan_value class_module_;
} _KLfunction_classGVKi;

typedef struct {
  dylan_value wrapper;
  dylan_value head_;
  dylan_value tail_;
} _KLpairGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
  dylan_value union_type1_;
  dylan_value union_type2_;
} _KLunionGVKe;

typedef struct {
  dylan_value wrapper;
} _KLstringGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
  dylan_value singleton_object_;
} _KLsingletonGVKd;

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(10);
define__KLbyte_stringGVKd(11);
define__KLbyte_stringGVKd(14);
define__KLbyte_stringGVKd(17);
define__KLbyte_stringGVKd(15);
define__KLbyte_stringGVKd(4);
define__KLbyte_stringGVKd(9);
define__KLbyte_stringGVKd(16);
define__KLbyte_stringGVKd(22);
define__KLbyte_stringGVKd(13);
define__KLbyte_stringGVKd(24);
define__KLbyte_stringGVKd(21);
define__KLbyte_stringGVKd(23);

typedef struct {
  dylan_value wrapper;
  dylan_value symbol_name_;
} _KLsymbolGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value signature_properties_;
  dylan_value signature_required_;
  dylan_value signature_keys_;
  dylan_value signature_key_types_;
  dylan_value signature_values_;
} _KLkeyword_signatureAvaluesGVKi;

typedef struct {
  dylan_value wrapper;
  dylan_value slot_descriptor_properties_;
  dylan_value init_data_slot_;
  dylan_value slot_owner_;
  dylan_value init_keyword_;
  dylan_value slot_getter_;
  dylan_value slot_setter_;
  dylan_value slot_type_;
} _KLinstance_slot_descriptorGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value namespace_name_;
  dylan_value home_library_;
} _KLmoduleGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value xep_;
  dylan_value function_signature_;
  dylan_value Pgf_cache_;
  dylan_value debug_name_;
  dylan_value generic_function_methods_;
  dylan_value discriminator_;
  dylan_value incremental_gf_module_;
  dylan_value incremental_gf_domain_info_;
  dylan_value incremental_gf_method_libraries_;
  dylan_value incremental_gf_properties_;
} _KLincremental_generic_functionGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value properties_;
  dylan_value engine_node_callback_;
  dylan_value engine_node_entry_point_;
} _KLabsent_engine_nodeGVKg;

typedef struct {
  dylan_value wrapper;
} _KLserverGVenvironment_protocols;

typedef struct {
  dylan_value wrapper;
  dylan_value Pprimitive_name_;
  dylan_value Pid_;
  dylan_value application_object_proxy_;
} _KLuser_objectGVenvironment_protocols;

typedef struct {
  dylan_value wrapper;
  dylan_value id_name_;
  dylan_value id_module_;
} _KLdefinition_idGVenvironment_protocols;

typedef struct {
  dylan_value wrapper;
  dylan_value Pprimitive_name_;
  dylan_value server_project_;
  dylan_value application_object_table_;
  dylan_value application_client_;
  dylan_value application_machine_;
  dylan_value application_filename_;
  dylan_value application_arguments_;
  dylan_value application_state_;
  dylan_value application_temporary_stopQ_;
} _KLapplicationGVenvironment_protocols;

typedef struct {
  dylan_value wrapper;
  dylan_value Pprimitive_name_;
  dylan_value project_proxy_;
  dylan_value project_application_;
  dylan_value project_compiler_database_;
  dylan_value project_next_numeric_id_;
  dylan_value project_object_table_;
  dylan_value project_query_database_;
  dylan_value project_server_path_;
  dylan_value environment_object_breakpoints_;
  dylan_value source_location_breakpoints_;
  dylan_value project_properties_;
  dylan_value project_profile_state_;
} _KLproject_objectGVenvironment_protocols;

typedef struct {
  dylan_value wrapper;
  dylan_value signature_properties_;
  dylan_value signature_required_;
  dylan_value signature_values_;
} _KLsignatureAvaluesGVKi;

typedef struct {
  dylan_value wrapper;
  dylan_value xep_;
  dylan_value function_signature_;
  dylan_value mep_;
} _KLsimple_methodGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value Pprimitive_name_;
  dylan_value application_object_proxy_;
} _KLfunction_objectGVenvironment_protocols;

typedef struct {
  dylan_value wrapper;
  dylan_value Pprimitive_name_;
  dylan_value Pid_;
  dylan_value compiler_object_proxy_;
  dylan_value application_object_proxy_;
} _KLclass_objectGVenvironment_protocols;


/* Typedefs for defined classes */

typedef struct {
  dylan_value wrapper;
  dylan_value Pprimitive_name_;
  dylan_value compiler_object_proxy_;
  dylan_value application_object_proxy_;
} _KLslot_objectGVenvironment_protocols;


/* Referenced object declarations */

extern _KLclassGVKd KLclassGVKd;
extern _KLmm_wrapperGVKi_0 KLclassGVKdW;
extern _KLclassGVKd KLmm_wrapperGVKi;
extern _KLmm_wrapperGVKi_1 KLmm_wrapperGVKiW;
extern _KLclassGVKd KLobjectGVKd;
extern _KLmm_wrapperGVKi_0 KLobjectGVKdW;
extern _KLunboundGVKe KPunboundVKi;
extern _KLclassGVKd KLunboundGVKe;
extern _KLmm_wrapperGVKi_0 KLunboundGVKeW;
extern _KLbooleanGVKd KPtrueVKi;
extern _KLclassGVKd KLbooleanGVKd;
extern _KLmm_wrapperGVKi_0 KLbooleanGVKdW;
extern _KLbooleanGVKd KPfalseVKi;
extern _KLclassGVKd KLimplementation_classGVKe;
extern _KLmm_wrapperGVKi_0 KLimplementation_classGVKeW;
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
extern _KLclassGVKd KLenvironment_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLenvironment_objectGVenvironment_protocolsW;
extern _KLclassGVKd KLcompiler_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLcompiler_objectGVenvironment_protocolsW;
extern _KLclassGVKd KLapplication_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLapplication_objectGVenvironment_protocolsW;
extern _KLclassGVKd KLapplication_and_compiler_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLapplication_and_compiler_objectGVenvironment_protocolsW;
dylan_value KerrorVKdMM1I (dylan_value, dylan_value);
extern _KLkeyword_methodGVKe KinitializeVKdMenvironment_protocolsM0;
extern _KLfunction_classGVKi KLkeyword_methodGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLkeyword_methodGVKeW;
extern _KLclassGVKd KLpairGVKd;
extern _KLmm_wrapperGVKi_0 KLpairGVKdW;
extern _KLkeyword_methodGVKe KinitializeVKdMM1;
extern _KLclassGVKd KLunionGVKe;
extern _KLmm_wrapperGVKi_0 KLunionGVKeW;
dylan_value Kunion_instanceQVKiI (dylan_value, dylan_value);
extern _KLclassGVKd KLstringGVKd;
extern _KLmm_wrapperGVKi_0 KLstringGVKdW;
extern _KLclassGVKd KLsingletonGVKd;
extern _KLmm_wrapperGVKi_0 KLsingletonGVKdW;
dylan_value Ksingleton_pointer_idQ_instanceQVKiI (dylan_value, dylan_value);
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLsymbolGVKd KJname_;
extern _KLclassGVKd KLkeyword_signatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureAvaluesGVKiW;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LclassG_typesVKi;
extern _KLsimple_object_vectorGVKd_256 KDsignature_LobjectG_typesVKi;
extern _KLinstance_slot_descriptorGVKe KPprimitive_nameVenvironment_protocolsHLenvironment_objectG;
extern _KLclassGVKd KLinstance_slot_descriptorGVKe;
extern _KLmm_wrapperGVKi_0 KLinstance_slot_descriptorGVKeW;
extern _KLinstance_slot_descriptorGVKe Kcompiler_object_proxyVenvironment_protocolsHLcompiler_objectG;
extern _KLinstance_slot_descriptorGVKe Kapplication_object_proxyVenvironment_protocolsHLapplication_objectG;
dylan_value Kclass_instanceQ_initialVKiI (dylan_value, dylan_value);
extern _KLmoduleGVKe Kenvironment_protocols_moduleYdylan_userVenvironment_protocols;
extern _KLclassGVKd KLmoduleGVKe;
extern _KLmm_wrapperGVKi_0 KLmoduleGVKeW;
extern _KLfunction_classGVKi KLincremental_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
extern _KLabsent_engine_nodeGVKg RSINGULAR_Labsent_engine_nodeG;
extern _KLclassGVKd KLabsent_engine_nodeGVKg;
extern _KLmm_wrapperGVKi_0 KLabsent_engine_nodeGVKgW;
extern _KLclassGVKd KLserverGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLserverGVenvironment_protocolsW;
extern _KLclassGVKd KLuser_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLuser_objectGVenvironment_protocolsW;
extern _KLclassGVKd KLdefinition_idGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLdefinition_idGVenvironment_protocolsW;
extern _KLclassGVKd KLapplicationGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLapplicationGVenvironment_protocolsW;
extern _KLclassGVKd KLproject_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLproject_objectGVenvironment_protocolsW;
extern _KLclassGVKd KLsignatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLsignatureAvaluesGVKiW;
dylan_value Kchoose_serverVenvironment_protocolsMM2I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LstringG_typesVKi;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LsequenceG_typesVKi;
extern _KLclassGVKd KLfunction_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLfunction_objectGVenvironment_protocolsW;
extern _KLclassGVKd KLclass_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLclass_objectGVenvironment_protocolsW;

/* Defined object declarations */

extern _KLsimple_methodGVKe Kenvironment_object_type_nameVenvironment_protocolsMM36;
dylan_value Kenvironment_object_type_nameVenvironment_protocolsMM36I (dylan_value);
extern _KLsimple_methodGVKe Kenvironment_object_typeVenvironment_protocolsMM3;
dylan_value Kenvironment_object_typeVenvironment_protocolsMM3I (dylan_value, dylan_value);
extern _KLincremental_generic_functionGVKe Kuser_object_slot_valueVenvironment_protocols;
extern _KLclassGVKd KLslot_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLslot_objectGVenvironment_protocolsW;
static _KLimplementation_classGVKe K7;
static _KLsimple_object_vectorGVKd_3 K8;
extern _KLkeyword_methodGVKe KLslot_objectGZ32ZconstructorVenvironment_protocolsMM0;
dylan_value KLslot_objectGZ32ZconstructorVenvironment_protocolsMM0I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
static _KLsimple_object_vectorGVKd_1 K11;
static _KLsimple_object_vectorGVKd_6 K12;
static _KLsymbolGVKd KJcompiler_object_proxy_;
static _KLbyte_stringGVKd_23 K14;
static _KLunionGVKe K15;
static _KLpairGVKd K16;
static _KLsingletonGVKd K17;
static _KLbyte_stringGVKd_21 K18;
static _KLkeyword_signatureAvaluesGVKi K19;
static _KLsimple_object_vectorGVKd_6 K20;
static _KLsymbolGVKd KJapplication_object_proxy_;
static _KLbyte_stringGVKd_24 K22;
static _KLsimple_object_vectorGVKd_3 K23;
static _KLsimple_object_vectorGVKd_1 K24;
static _KLbyte_stringGVKd_13 K25;
extern _KLkeyword_methodGVKe Kuser_object_slot_valueVenvironment_protocolsMM0;
dylan_value Kuser_object_slot_valueVenvironment_protocolsMM0I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLkeyword_methodGVKe Kuser_object_slot_valueVenvironment_protocolsMM1;
dylan_value Kuser_object_slot_valueVenvironment_protocolsMM1I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
static _KLpairGVKd K30;
static _KLpairGVKd K31;
static _KLkeyword_signatureAvaluesGVKi K32;
static _KLbyte_stringGVKd_22 K33;
static _KLsimple_object_vectorGVKd_3 K34;
static _KLsimple_object_vectorGVKd_1 K35;
static _KLsimple_object_vectorGVKd_1 K36;
static _KLunionGVKe K37;
static _KLsymbolGVKd KJrepeated_element_;
static _KLbyte_stringGVKd_16 K39;
static _KLunionGVKe K40;
static _KLkeyword_signatureAvaluesGVKi K41;
static _KLsimple_object_vectorGVKd_2 K42;
static _KLsimple_object_vectorGVKd_3 K43;
static _KLkeyword_signatureAvaluesGVKi K44;
static _KLsimple_object_vectorGVKd_3 K45;
extern _KLincremental_generic_functionGVKe Kslot_typeVenvironment_protocols;
extern _KLsimple_methodGVKe Kslot_typeVenvironment_protocolsMM0;
dylan_value Kslot_typeVenvironment_protocolsMM0I (dylan_value, dylan_value);
static _KLpairGVKd K49;
static _KLsignatureAvaluesGVKi K50;
static _KLbyte_stringGVKd_9 K51;
static _KLsimple_object_vectorGVKd_2 K52;
static _KLsimple_object_vectorGVKd_1 K53;
static _KLsignatureAvaluesGVKi K54;
static _KLsimple_object_vectorGVKd_2 K55;
static _KLsignatureAvaluesGVKi K56;
static _KLbyte_stringGVKd_4 K57;
static _KLsignatureAvaluesGVKi K58;
extern _KLincremental_generic_functionGVKe Kslot_allocationVenvironment_protocols;
extern _KLsimple_methodGVKe Kslot_allocationVenvironment_protocolsMM0;
dylan_value Kslot_allocationVenvironment_protocolsMM0I (dylan_value, dylan_value);
static _KLpairGVKd K62;
static _KLsignatureAvaluesGVKi K63;
static _KLbyte_stringGVKd_15 K64;
static _KLsignatureAvaluesGVKi K65;
extern _KLincremental_generic_functionGVKe Kslot_init_keywordVenvironment_protocols;
extern _KLsimple_methodGVKe Kslot_init_keywordVenvironment_protocolsMM0;
dylan_value Kslot_init_keywordVenvironment_protocolsMM0I (dylan_value, dylan_value);
static _KLpairGVKd K69;
static _KLsignatureAvaluesGVKi K70;
static _KLbyte_stringGVKd_17 K71;
static _KLsimple_object_vectorGVKd_2 K72;
static _KLunionGVKe K73;
static _KLsignatureAvaluesGVKi K74;
extern _KLincremental_generic_functionGVKe Kslot_init_kindVenvironment_protocols;
extern _KLsimple_methodGVKe Kslot_init_kindVenvironment_protocolsMM0;
dylan_value Kslot_init_kindVenvironment_protocolsMM0I (dylan_value, dylan_value);
static _KLpairGVKd K78;
static _KLsignatureAvaluesGVKi K79;
static _KLbyte_stringGVKd_14 K80;
static _KLsimple_object_vectorGVKd_1 K81;
static _KLsignatureAvaluesGVKi K82;
extern _KLincremental_generic_functionGVKe Kslot_setterVenvironment_protocols;
extern _KLsimple_methodGVKe Kslot_setterVenvironment_protocolsMM0;
dylan_value Kslot_setterVenvironment_protocolsMM0I (dylan_value, dylan_value);
static _KLpairGVKd K86;
static _KLsignatureAvaluesGVKi K87;
static _KLbyte_stringGVKd_11 K88;
static _KLsimple_object_vectorGVKd_1 K89;
static _KLunionGVKe K90;
static _KLsignatureAvaluesGVKi K91;
extern _KLincremental_generic_functionGVKe Kslot_getterVenvironment_protocols;
extern _KLsimple_methodGVKe Kslot_getterVenvironment_protocolsMM0;
dylan_value Kslot_getterVenvironment_protocolsMM0I (dylan_value, dylan_value);
static _KLpairGVKd K95;
static _KLbyte_stringGVKd_11 K96;
extern _KLincremental_generic_functionGVKe Kslot_classVenvironment_protocols;
extern _KLsimple_methodGVKe Kslot_classVenvironment_protocolsMM0;
dylan_value Kslot_classVenvironment_protocolsMM0I (dylan_value, dylan_value);
static _KLpairGVKd K100;
static _KLsignatureAvaluesGVKi K101;
static _KLbyte_stringGVKd_10 K102;
static _KLsimple_object_vectorGVKd_1 K103;
static _KLsignatureAvaluesGVKi K104;

/* Indirection variables */

static dylan_value IKJcompiler_object_proxy_ = &KJcompiler_object_proxy_;
static dylan_value IKJapplication_object_proxy_ = &KJapplication_object_proxy_;
static dylan_value IKJrepeated_element_ = &KJrepeated_element_;

/* Variables */

dylan_value Lslot_objectGVenvironment_protocols = &KLslot_objectGVenvironment_protocols;
dylan_value slot_classVenvironment_protocols = &Kslot_classVenvironment_protocols;
dylan_value slot_getterVenvironment_protocols = &Kslot_getterVenvironment_protocols;
dylan_value slot_setterVenvironment_protocols = &Kslot_setterVenvironment_protocols;
dylan_value slot_typeVenvironment_protocols = &Kslot_typeVenvironment_protocols;
dylan_value user_object_slot_valueVenvironment_protocols = &Kuser_object_slot_valueVenvironment_protocols;
dylan_value slot_init_kindVenvironment_protocols = &Kslot_init_kindVenvironment_protocols;
dylan_value slot_init_keywordVenvironment_protocols = &Kslot_init_keywordVenvironment_protocols;
dylan_value slot_allocationVenvironment_protocols = &Kslot_allocationVenvironment_protocols;

/* Objects */

_KLsimple_methodGVKe Kenvironment_object_type_nameVenvironment_protocolsMM36 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K58,
  &Kenvironment_object_type_nameVenvironment_protocolsMM36I
};

_KLsimple_methodGVKe Kenvironment_object_typeVenvironment_protocolsMM3 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K56,
  &Kenvironment_object_typeVenvironment_protocolsMM3I
};

_KLincremental_generic_functionGVKe Kuser_object_slot_valueVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_optional_xep_3,
  &K32,
  (dylan_value) 1,
  &K33,
  &K30,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) 25
};

_KLclassGVKd KLslot_objectGVenvironment_protocols = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K25,
  &K7,
  (dylan_value) 1,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols
};

_KLmm_wrapperGVKi_0 KLslot_objectGVenvironment_protocolsW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K7,
  (dylan_value) 1,
  13,
  33554439,
  (dylan_value) 1
};

static _KLimplementation_classGVKe K7 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (dylan_value) 477102093,
  &KLslot_objectGVenvironment_protocols,
  &KLslot_objectGVenvironment_protocolsW,
  &KPfalseVKi,
  &K8,
  (dylan_value) -3,
  &KLslot_objectGZ32ZconstructorVenvironment_protocolsMM0,
  &K11,
  &K12,
  (dylan_value) 21,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K8,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_3 K8 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 13,
  &KPprimitive_nameVenvironment_protocolsHLenvironment_objectG,
  &Kcompiler_object_proxyVenvironment_protocolsHLcompiler_objectG,
  &Kapplication_object_proxyVenvironment_protocolsHLapplication_objectG
};

_KLkeyword_methodGVKe KLslot_objectGZ32ZconstructorVenvironment_protocolsMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K19,
  &key_mep_2,
  &KLslot_objectGZ32ZconstructorVenvironment_protocolsMM0I,
  &K20
};

static _KLsimple_object_vectorGVKd_1 K11 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  &KLapplication_and_compiler_objectGVenvironment_protocols
};

static _KLsimple_object_vectorGVKd_6 K12 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 25,
  &KLobjectGVKd,
  &KLenvironment_objectGVenvironment_protocols,
  &KLcompiler_objectGVenvironment_protocols,
  &KLapplication_objectGVenvironment_protocols,
  &KLapplication_and_compiler_objectGVenvironment_protocols,
  &KLslot_objectGVenvironment_protocols
};

static _KLsymbolGVKd KJcompiler_object_proxy_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K18
};

static _KLbyte_stringGVKd_23 K14 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 93,
  "Missing init keyword %="
};

static _KLunionGVKe K15 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K17,
  &KLstringGVKd
};

static _KLpairGVKd K16 = {
  &KLpairGVKdW /* wrapper */,
  &KinitializeVKdMM1,
  &KPempty_listVKi
};

static _KLsingletonGVKd K17 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KPfalseVKi
};

static _KLbyte_stringGVKd_21 K18 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 85,
  "compiler-object-proxy"
};

static _KLkeyword_signatureAvaluesGVKi K19 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 35390469,
  &KDsignature_LclassG_typesVKi,
  &K23,
  &KDsignature_LobjectG_typesVKi,
  &K24
};

static _KLsimple_object_vectorGVKd_6 K20 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 25,
  &KJname_,
  &KPfalseVKi,
  &KJcompiler_object_proxy_,
  &KPunboundVKi,
  &KJapplication_object_proxy_,
  &KPfalseVKi
};

static _KLsymbolGVKd KJapplication_object_proxy_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K22
};

static _KLbyte_stringGVKd_24 K22 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 97,
  "application-object-proxy"
};

static _KLsimple_object_vectorGVKd_3 K23 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 13,
  &KJname_,
  &KJcompiler_object_proxy_,
  &KJapplication_object_proxy_
};

static _KLsimple_object_vectorGVKd_1 K24 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  &KLslot_objectGVenvironment_protocols
};

static _KLbyte_stringGVKd_13 K25 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 53,
  "<slot-object>"
};

_KLkeyword_methodGVKe Kuser_object_slot_valueVenvironment_protocolsMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K44,
  &key_mep_5,
  &Kuser_object_slot_valueVenvironment_protocolsMM0I,
  &K42
};

_KLkeyword_methodGVKe Kuser_object_slot_valueVenvironment_protocolsMM1 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K41,
  &key_mep_5,
  &Kuser_object_slot_valueVenvironment_protocolsMM1I,
  &K42
};

static _KLpairGVKd K30 = {
  &KLpairGVKdW /* wrapper */,
  &Kuser_object_slot_valueVenvironment_protocolsMM0,
  &K31
};

static _KLpairGVKd K31 = {
  &KLpairGVKdW /* wrapper */,
  &Kuser_object_slot_valueVenvironment_protocolsMM1,
  &KPempty_listVKi
};

static _KLkeyword_signatureAvaluesGVKi K32 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33817613,
  &K34,
  &K35,
  &KDsignature_LobjectG_typesVKi,
  &K36
};

static _KLbyte_stringGVKd_22 K33 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 89,
  "user-object-slot-value"
};

static _KLsimple_object_vectorGVKd_3 K34 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 13,
  &KLserverGVenvironment_protocols,
  &KLuser_objectGVenvironment_protocols,
  &K40
};

static _KLsimple_object_vectorGVKd_1 K35 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  &KJrepeated_element_
};

static _KLsimple_object_vectorGVKd_1 K36 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  &K37
};

static _KLunionGVKe K37 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K17,
  &KLenvironment_objectGVenvironment_protocols
};

static _KLsymbolGVKd KJrepeated_element_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K39
};

static _KLbyte_stringGVKd_16 K39 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 65,
  "repeated-element"
};

static _KLunionGVKe K40 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &KLdefinition_idGVenvironment_protocols,
  &KLslot_objectGVenvironment_protocols
};

static _KLkeyword_signatureAvaluesGVKi K41 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33817613,
  &K43,
  &K35,
  &KDsignature_LobjectG_typesVKi,
  &K36
};

static _KLsimple_object_vectorGVKd_2 K42 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KJrepeated_element_,
  (dylan_value) 1
};

static _KLsimple_object_vectorGVKd_3 K43 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 13,
  &KLproject_objectGVenvironment_protocols,
  &KLuser_objectGVenvironment_protocols,
  &KLdefinition_idGVenvironment_protocols
};

static _KLkeyword_signatureAvaluesGVKi K44 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33817613,
  &K45,
  &K35,
  &KDsignature_LobjectG_typesVKi,
  &K36
};

static _KLsimple_object_vectorGVKd_3 K45 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 13,
  &KLproject_objectGVenvironment_protocols,
  &KLuser_objectGVenvironment_protocols,
  &KLslot_objectGVenvironment_protocols
};

_KLincremental_generic_functionGVKe Kslot_typeVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &K50,
  (dylan_value) 1,
  &K51,
  &K49,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) 25
};

_KLsimple_methodGVKe Kslot_typeVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K54,
  &Kslot_typeVenvironment_protocolsMM0I
};

static _KLpairGVKd K49 = {
  &KLpairGVKdW /* wrapper */,
  &Kslot_typeVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLsignatureAvaluesGVKi K50 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555465,
  &K52,
  &K53
};

static _KLbyte_stringGVKd_9 K51 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 37,
  "slot-type"
};

static _KLsimple_object_vectorGVKd_2 K52 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KLserverGVenvironment_protocols,
  &KLslot_objectGVenvironment_protocols
};

static _KLsimple_object_vectorGVKd_1 K53 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  &KLenvironment_objectGVenvironment_protocols
};

static _KLsignatureAvaluesGVKi K54 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555465,
  &K55,
  &K53
};

static _KLsimple_object_vectorGVKd_2 K55 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KLproject_objectGVenvironment_protocols,
  &KLslot_objectGVenvironment_protocols
};

static _KLsignatureAvaluesGVKi K56 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555465,
  &K52,
  &K36
};

static _KLbyte_stringGVKd_4 K57 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 17,
  "Slot"
};

static _KLsignatureAvaluesGVKi K58 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555461,
  &K24,
  &KDsignature_LstringG_typesVKi
};

_KLincremental_generic_functionGVKe Kslot_allocationVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &K63,
  &KPfalseVKi,
  &K64,
  &K62,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) 25
};

_KLsimple_methodGVKe Kslot_allocationVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K65,
  &Kslot_allocationVenvironment_protocolsMM0I
};

static _KLpairGVKd K62 = {
  &KLpairGVKdW /* wrapper */,
  &Kslot_allocationVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLsignatureAvaluesGVKi K63 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555465,
  &K52,
  &KDsignature_LsequenceG_typesVKi
};

static _KLbyte_stringGVKd_15 K64 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 61,
  "slot-allocation"
};

static _KLsignatureAvaluesGVKi K65 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555465,
  &K55,
  &KDsignature_LsequenceG_typesVKi
};

_KLincremental_generic_functionGVKe Kslot_init_keywordVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &K70,
  &KPfalseVKi,
  &K71,
  &K69,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) 25
};

_KLsimple_methodGVKe Kslot_init_keywordVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K74,
  &Kslot_init_keywordVenvironment_protocolsMM0I
};

static _KLpairGVKd K69 = {
  &KLpairGVKdW /* wrapper */,
  &Kslot_init_keywordVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLsignatureAvaluesGVKi K70 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33556489,
  &K52,
  &K72
};

static _KLbyte_stringGVKd_17 K71 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 69,
  "slot-init-keyword"
};

static _KLsimple_object_vectorGVKd_2 K72 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &K73,
  &KLbooleanGVKd
};

static _KLunionGVKe K73 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K17,
  &KLsymbolGVKd
};

static _KLsignatureAvaluesGVKi K74 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33556489,
  &K55,
  &K72
};

_KLincremental_generic_functionGVKe Kslot_init_kindVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &K79,
  &KPfalseVKi,
  &K80,
  &K78,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) 25
};

_KLsimple_methodGVKe Kslot_init_kindVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K82,
  &Kslot_init_kindVenvironment_protocolsMM0I
};

static _KLpairGVKd K78 = {
  &KLpairGVKdW /* wrapper */,
  &Kslot_init_kindVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLsignatureAvaluesGVKi K79 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555465,
  &K52,
  &K81
};

static _KLbyte_stringGVKd_14 K80 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 57,
  "slot-init-kind"
};

static _KLsimple_object_vectorGVKd_1 K81 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  &K73
};

static _KLsignatureAvaluesGVKi K82 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555465,
  &K55,
  &K81
};

_KLincremental_generic_functionGVKe Kslot_setterVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &K87,
  &KPfalseVKi,
  &K88,
  &K86,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) 25
};

_KLsimple_methodGVKe Kslot_setterVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K91,
  &Kslot_setterVenvironment_protocolsMM0I
};

static _KLpairGVKd K86 = {
  &KLpairGVKdW /* wrapper */,
  &Kslot_setterVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLsignatureAvaluesGVKi K87 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555465,
  &K52,
  &K89
};

static _KLbyte_stringGVKd_11 K88 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 45,
  "slot-setter"
};

static _KLsimple_object_vectorGVKd_1 K89 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  &K90
};

static _KLunionGVKe K90 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K17,
  &KLfunction_objectGVenvironment_protocols
};

static _KLsignatureAvaluesGVKi K91 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555465,
  &K55,
  &K89
};

_KLincremental_generic_functionGVKe Kslot_getterVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &K87,
  &KPfalseVKi,
  &K96,
  &K95,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) 25
};

_KLsimple_methodGVKe Kslot_getterVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K91,
  &Kslot_getterVenvironment_protocolsMM0I
};

static _KLpairGVKd K95 = {
  &KLpairGVKdW /* wrapper */,
  &Kslot_getterVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_11 K96 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 45,
  "slot-getter"
};

_KLincremental_generic_functionGVKe Kslot_classVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &K101,
  &KPfalseVKi,
  &K102,
  &K100,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) 25
};

_KLsimple_methodGVKe Kslot_classVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K104,
  &Kslot_classVenvironment_protocolsMM0I
};

static _KLpairGVKd K100 = {
  &KLpairGVKdW /* wrapper */,
  &Kslot_classVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLsignatureAvaluesGVKi K101 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555465,
  &K52,
  &K103
};

static _KLbyte_stringGVKd_10 K102 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 41,
  "slot-class"
};

static _KLsimple_object_vectorGVKd_1 K103 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  &KLclass_objectGVenvironment_protocols
};

static _KLsignatureAvaluesGVKi K104 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555465,
  &K55,
  &K103
};

/* Code */

dylan_value Kenvironment_object_type_nameVenvironment_protocolsMM36I (dylan_value object_) {
  dylan_value T2_0;

  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:140
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:142
  T2_0 = &K57;
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:140
  MV_SET_COUNT(1);
  return(T2_0);
}

dylan_value Kenvironment_object_typeVenvironment_protocolsMM3I (dylan_value server_, dylan_value object_) {
  dylan_value T3_0;

  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:134
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:137
  CONGRUENT_CALL_PROLOG(&Kslot_typeVenvironment_protocols, 2);
  T3_0 = CONGRUENT_CALL2(server_, object_);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:134
  MV_SET_COUNT(1);
  return(T3_0);
}

dylan_value KLslot_objectGZ32ZconstructorVenvironment_protocolsMM0I (dylan_value class_, dylan_value init_args_, dylan_value Uunique_Pprimitive_name_, dylan_value Uunique_compiler_object_proxy_, dylan_value Uunique_application_object_proxy_) {
  dylan_value T6;
  dylan_value Uunique_compiler_object_proxyF7;
  dylan_value T8;
  dylan_value Uunique_Pprimitive_nameF9;
  dylan_value T10_0;
  dylan_value T11;
  _KLsimple_object_vectorGVKd_1 T12 = {&KLsimple_object_vectorGVKdW, (dylan_value) 5};
  dylan_value T13;

  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:11
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:11
  T11 = primitive_idQ(Uunique_compiler_object_proxy_,&KPunboundVKi);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:11
  if (T11 != &KPfalseVKi) {
    T12.vector_element_[0] = IKJcompiler_object_proxy_;
    T13 = KerrorVKdMM1I(&K14, &T12);
    // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:11
    T6 = T13;
    Uunique_compiler_object_proxyF7 = T6;
  } else {
    Uunique_compiler_object_proxyF7 = Uunique_compiler_object_proxy_;
  }
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:11
  T8 = primitive_object_allocate_filled(4,&KLslot_objectGVenvironment_protocolsW,3,&KPunboundVKi,0,0,&KPunboundVKi);
  primitive_type_check(Uunique_Pprimitive_name_, &K15);
  Uunique_Pprimitive_nameF9 = Uunique_Pprimitive_name_;
  SLOT_VALUE_SETTER(Uunique_Pprimitive_nameF9, T8, 0);
  SLOT_VALUE_SETTER(Uunique_compiler_object_proxyF7, T8, 1);
  SLOT_VALUE_SETTER(Uunique_application_object_proxy_, T8, 2);
  MEP_APPLY2(&KinitializeVKdMenvironment_protocolsM0, &K16, T8, init_args_);
  T10_0 = T8;
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:11
  MV_SET_COUNT(1);
  return(T10_0);
}

dylan_value Kuser_object_slot_valueVenvironment_protocolsMM0I (dylan_value server_, dylan_value object_, dylan_value slot_, dylan_value Urest_, dylan_value repeated_element_) {
  dylan_value T6_0;
  dylan_value T7_0;
  dylan_value T8_0;
  dylan_value T9;
  dylan_value T10;
  _KLsimple_object_vectorGVKd_2 T11 = {&KLsimple_object_vectorGVKdW, (dylan_value) 9};

  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:145
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:150
  T10 = SLOT_VALUE_INITD(server_, 2);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:151
  if (T10 != &KPfalseVKi) {
    T9 = T10;
    // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:152
    T11.vector_element_[0] = IKJrepeated_element_;
    T11.vector_element_[1] = repeated_element_;
    // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:152
    CONGRUENT_CALL_PROLOG(&Kuser_object_slot_valueVenvironment_protocols, 4);
    T6_0 = CONGRUENT_CALL4(T9, object_, slot_, &T11);
    T8_0 = T6_0;
  } else {
    // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:151
    T7_0 = &KPfalseVKi;
    T8_0 = T7_0;
  }
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:151
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:145
  MV_SET_COUNT(1);
  return(T8_0);
}

dylan_value Kuser_object_slot_valueVenvironment_protocolsMM1I (dylan_value server_, dylan_value object_, dylan_value slot_, dylan_value Urest_, dylan_value repeated_element_) {
  dylan_value T6_0;
  dylan_value T7_0;
  dylan_value T8_0;
  dylan_value T9;
  dylan_value T10;
  _KLsimple_object_vectorGVKd_2 T11 = {&KLsimple_object_vectorGVKdW, (dylan_value) 9};

  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:156
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:161
  T10 = SLOT_VALUE_INITD(server_, 2);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:162
  if (T10 != &KPfalseVKi) {
    T9 = T10;
    // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:163
    T11.vector_element_[0] = IKJrepeated_element_;
    T11.vector_element_[1] = repeated_element_;
    // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:163
    CONGRUENT_CALL_PROLOG(&Kuser_object_slot_valueVenvironment_protocols, 4);
    T6_0 = CONGRUENT_CALL4(T9, object_, slot_, &T11);
    T8_0 = T6_0;
  } else {
    // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:162
    T7_0 = &KPfalseVKi;
    T8_0 = T7_0;
  }
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:162
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:156
  MV_SET_COUNT(1);
  return(T8_0);
}

dylan_value Kslot_typeVenvironment_protocolsMM0I (dylan_value project_, dylan_value slot_) {
  dylan_value T3_0;
  dylan_value server_;

  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:85
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:88
  server_ = Kchoose_serverVenvironment_protocolsMM2I(project_, slot_, &KPempty_vectorVKi, &KPtrueVKi, &KPfalseVKi);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:89
  T3_0 = CALL2(&Kslot_typeVenvironment_protocols, server_, slot_);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:85
  MV_SET_COUNT(1);
  return(T3_0);
}

dylan_value Kslot_allocationVenvironment_protocolsMM0I (dylan_value project_, dylan_value slot_) {
  dylan_value T3_0;
  dylan_value server_;

  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:124
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:127
  server_ = Kchoose_serverVenvironment_protocolsMM2I(project_, slot_, &KPempty_vectorVKi, &KPtrueVKi, &KPfalseVKi);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:128
  T3_0 = CALL2(&Kslot_allocationVenvironment_protocols, server_, slot_);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:124
  MV_SET_COUNT(1);
  return(T3_0);
}

dylan_value Kslot_init_keywordVenvironment_protocolsMM0I (dylan_value project_, dylan_value slot_) {
  dylan_value T3_0;
  dylan_value T3_1;
  dylan_value server_;

  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:117
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:120
  server_ = Kchoose_serverVenvironment_protocolsMM2I(project_, slot_, &KPempty_vectorVKi, &KPtrueVKi, &KPfalseVKi);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:121
  T3_0 = CALL2(&Kslot_init_keywordVenvironment_protocols, server_, slot_);
  T3_1 = MV_GET_ELT(1);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:117
  MV_SET_ELT(1, T3_1);
  MV_SET_COUNT(2);
  return(T3_0);
}

dylan_value Kslot_init_kindVenvironment_protocolsMM0I (dylan_value project_, dylan_value slot_) {
  dylan_value T3_0;
  dylan_value server_;

  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:110
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:113
  server_ = Kchoose_serverVenvironment_protocolsMM2I(project_, slot_, &KPempty_vectorVKi, &KPtrueVKi, &KPfalseVKi);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:114
  T3_0 = CALL2(&Kslot_init_kindVenvironment_protocols, server_, slot_);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:110
  MV_SET_COUNT(1);
  return(T3_0);
}

dylan_value Kslot_setterVenvironment_protocolsMM0I (dylan_value project_, dylan_value slot_) {
  dylan_value T3_0;
  dylan_value server_;

  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:78
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:81
  server_ = Kchoose_serverVenvironment_protocolsMM2I(project_, slot_, &KPempty_vectorVKi, &KPtrueVKi, &KPfalseVKi);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:82
  T3_0 = CALL2(&Kslot_setterVenvironment_protocols, server_, slot_);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:78
  MV_SET_COUNT(1);
  return(T3_0);
}

dylan_value Kslot_getterVenvironment_protocolsMM0I (dylan_value project_, dylan_value slot_) {
  dylan_value T3_0;
  dylan_value server_;

  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:71
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:74
  server_ = Kchoose_serverVenvironment_protocolsMM2I(project_, slot_, &KPempty_vectorVKi, &KPtrueVKi, &KPfalseVKi);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:75
  T3_0 = CALL2(&Kslot_getterVenvironment_protocols, server_, slot_);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:71
  MV_SET_COUNT(1);
  return(T3_0);
}

dylan_value Kslot_classVenvironment_protocolsMM0I (dylan_value project_, dylan_value slot_) {
  dylan_value T3_0;
  dylan_value server_;

  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:64
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:67
  server_ = Kchoose_serverVenvironment_protocolsMM2I(project_, slot_, &KPempty_vectorVKi, &KPtrueVKi, &KPfalseVKi);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:68
  T3_0 = CALL2(&Kslot_classVenvironment_protocols, server_, slot_);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/slot-objects.dylan:64
  MV_SET_COUNT(1);
  return(T3_0);
}


/* SYSTEM INIT CODE */

void _Init_environment_protocols__X_slot_objects_for_system () {
  extern dylan_value KPresolve_symbolVKiI(dylan_value);
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJcompiler_object_proxy_);
    if (T0 != &KJcompiler_object_proxy_) {
      primitive_repeated_slot_value_setter(T0, &K23, 1, 1);
      primitive_repeated_slot_value_setter(T0, &K20, 1, 2);
      IKJcompiler_object_proxy_ = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJapplication_object_proxy_);
    if (T0 != &KJapplication_object_proxy_) {
      primitive_repeated_slot_value_setter(T0, &K23, 1, 2);
      primitive_repeated_slot_value_setter(T0, &K20, 1, 4);
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJrepeated_element_);
    if (T0 != &KJrepeated_element_) {
      IKJrepeated_element_ = T0;
      primitive_repeated_slot_value_setter(T0, &K42, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K35, 1, 0);
    }
  }
  return;
}

/* USER INIT CODE */

void _Init_environment_protocols__X_slot_objects_for_user () {
  return;
}


/* eof */
