#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 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 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 xep_;
  dylan_value function_signature_;
  dylan_value mep_;
} _KLsimple_methodGVKe;

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

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;
  dylan_value namespace_name_;
  dylan_value home_library_;
} _KLmoduleGVKe;

#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(8);
define__KLsimple_object_vectorGVKd(7);
define__KLsimple_object_vectorGVKd(4);
define__KLsimple_object_vectorGVKd(256);
define__KLsimple_object_vectorGVKd(1);
define__KLsimple_object_vectorGVKd(2);
define__KLsimple_object_vectorGVKd(0);

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(8);
define__KLbyte_stringGVKd(21);
define__KLbyte_stringGVKd(22);
define__KLbyte_stringGVKd(23);
define__KLbyte_stringGVKd(7);
define__KLbyte_stringGVKd(17);
define__KLbyte_stringGVKd(16);
define__KLbyte_stringGVKd(19);
define__KLbyte_stringGVKd(0);

typedef struct {
  dylan_value wrapper;
  dylan_value signature_properties_;
  dylan_value signature_required_;
} _KLsignatureGVKe;

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

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

typedef struct {
  dylan_value wrapper;
  dylan_value element_type_;
  dylan_value table_vector_;
  dylan_value initial_entries_;
  dylan_value grow_size_function_;
  dylan_value weakQ_;
} _KLobject_tableGVKd;

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;

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 Pprimitive_name_;
} _KLenvironment_objectGVenvironment_protocols;

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_;
} _KLsealed_generic_functionGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value signature_properties_;
  dylan_value signature_required_;
} _KLobject_signatureGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value xep_;
  dylan_value method_slot_descriptor_;
} _KLgetter_methodGVKi;

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;
} _KLconditionGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value condition_format_string_;
  dylan_value condition_format_arguments_;
} _KLsimple_conditionGVKe;

typedef struct {
  dylan_value wrapper;
} _KLserious_conditionGVKd;

typedef struct {
  dylan_value wrapper;
} _KLerrorGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value condition_format_string_;
  dylan_value condition_format_arguments_;
} _KLsimple_errorGVKd;

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 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 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 server_project_;
  dylan_value compiler_object_table_;
} _KLcompiler_databaseGVenvironment_protocols;


/* Typedefs for defined classes */

typedef struct {
  dylan_value wrapper;
} _KLserverGVenvironment_protocols;

typedef struct {
  dylan_value wrapper;
  dylan_value condition_format_string_;
  dylan_value condition_format_arguments_;
} _KLclosed_server_errorGVenvironment_protocols;

typedef struct {
  dylan_value wrapper;
  dylan_value condition_format_string_;
  dylan_value condition_format_arguments_;
  dylan_value condition_project_;
  dylan_value condition_object_;
} _KLinvalid_object_errorGVenvironment_protocols;


/* Referenced object declarations */

dylan_value KPadd_classVKeI (dylan_value);
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 _KLfunction_classGVKi KLincremental_generic_functionGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
extern _KLsimple_methodGVKe Krecord_client_queryVenvironment_protocolsMM0;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLsimple_methodGVKe Krecord_client_queryVenvironment_protocolsMM1;
extern _KLsimple_methodGVKe Krecord_client_queryVenvironment_protocolsMM2;
extern _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
extern _KLabsent_engine_nodeGVKg RSINGULAR_Labsent_engine_nodeG;
extern _KLclassGVKd KLabsent_engine_nodeGVKg;
extern _KLmm_wrapperGVKi_0 KLabsent_engine_nodeGVKgW;
extern _KLmoduleGVKe Kenvironment_protocols_moduleYdylan_userVenvironment_protocols;
extern _KLclassGVKd KLmoduleGVKe;
extern _KLmm_wrapperGVKi_0 KLmoduleGVKeW;
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLclassGVKd KLpairGVKd;
extern _KLmm_wrapperGVKi_0 KLpairGVKdW;
extern _KLsymbolGVKd KJweak_;
extern _KLsymbolGVKd KJkey_;
dylan_value KLobject_tableGZ32ZconstructorVKiMM0I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLclassGVKd KLobject_tableGVKd;
extern _KLmm_wrapperGVKi_0 KLobject_tableGVKdW;
extern _KLsimple_methodGVKe Kdefault_grow_sizeVKe;
extern _KLclassGVKd KLimplementation_classGVKe;
extern _KLmm_wrapperGVKi_0 KLimplementation_classGVKeW;
extern _KLclassGVKd KLinstance_slot_descriptorGVKe;
extern _KLmm_wrapperGVKi_0 KLinstance_slot_descriptorGVKeW;
extern _KLsymbolGVKd KJobject_;
extern _KLclassGVKd KLenvironment_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLenvironment_objectGVenvironment_protocolsW;
extern _KLclassGVKd KLsealed_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLsealed_generic_functionGVKeW;
extern _KLobject_signatureGVKe KDsignature_LobjectG_object_rest_value_1VKi;
extern _KLclassGVKd KLobject_signatureGVKe;
extern _KLmm_wrapperGVKi_0 KLobject_signatureGVKeW;
extern _KLclassGVKd KLgetter_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLgetter_methodGVKiW;
extern _KLclassGVKd KLproject_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLproject_objectGVenvironment_protocolsW;
extern _KLclassGVKd KLconditionGVKd;
extern _KLmm_wrapperGVKi_0 KLconditionGVKdW;
extern _KLclassGVKd KLsimple_conditionGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_conditionGVKeW;
extern _KLclassGVKd KLserious_conditionGVKd;
extern _KLmm_wrapperGVKi_0 KLserious_conditionGVKdW;
extern _KLclassGVKd KLerrorGVKd;
extern _KLmm_wrapperGVKi_0 KLerrorGVKdW;
extern _KLclassGVKd KLsimple_errorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_errorGVKdW;
dylan_value KerrorVKdMM1I (dylan_value, dylan_value);
extern _KLincremental_generic_functionGVKe KinitializeVKd;
extern _KLfunction_classGVKi KLkeyword_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_methodGVKeW;
extern _KLsymbolGVKd KJformat_string_;
extern _KLbyte_stringGVKd_0 KPempty_stringVKi;
extern _KLsymbolGVKd KJformat_arguments_;
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 Kcondition_format_stringVKdHLsimple_conditionG;
extern _KLinstance_slot_descriptorGVKe Kcondition_format_argumentsVKdHLsimple_conditionG;
dylan_value Kclass_instanceQ_initialVKiI (dylan_value, dylan_value);
extern _KLkeyword_methodGVKe Kdefault_class_constructorVKi;
dylan_value Kgeneral_rcpl_class_instanceQVKiI (dylan_value, dylan_value);
extern _KLclassGVKd KLapplicationGVenvironment_protocols;
extern _KLclassGVKd KLcompiler_databaseGVenvironment_protocols;

/* Defined object declarations */

extern _KLclassGVKd KLserverGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLserverGVenvironment_protocolsW;
extern _KLclassGVKd KLclosed_server_errorGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLclosed_server_errorGVenvironment_protocolsW;
extern _KLclassGVKd KLinvalid_object_errorGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLinvalid_object_errorGVenvironment_protocolsW;
dylan_value Kmake_object_cacheVenvironment_protocolsI ();
extern _KLincremental_generic_functionGVKe Krecord_client_queryVenvironment_protocols;
static _KLpairGVKd K11;
static _KLpairGVKd K12;
static _KLpairGVKd K13;
static _KLsignatureGVKe K14;
static _KLbyte_stringGVKd_19 K15;
static _KLsimple_object_vectorGVKd_4 K16;
static _KLimplementation_classGVKe K17;
static _KLsimple_object_vectorGVKd_4 K18;
extern _KLkeyword_methodGVKe KLinvalid_object_errorGZ32ZconstructorVenvironment_protocolsMM0;
dylan_value KLinvalid_object_errorGZ32ZconstructorVenvironment_protocolsMM0I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
static _KLsimple_object_vectorGVKd_1 K21;
static _KLsimple_object_vectorGVKd_7 K22;
static _KLsimple_object_vectorGVKd_2 K23;
extern _KLinstance_slot_descriptorGVKe Kcondition_projectVenvironment_protocolsHLinvalid_object_errorG;
extern _KLinstance_slot_descriptorGVKe Kcondition_objectVenvironment_protocolsHLinvalid_object_errorG;
extern _KLsealed_generic_functionGVKe Kcondition_objectVenvironment_protocols;
extern _KLgetter_methodGVKi Kcondition_objectVenvironment_protocolsMM0;
static _KLpairGVKd K28;
static _KLbyte_stringGVKd_16 K29;
static _KLsymbolGVKd KJproject_;
extern _KLsealed_generic_functionGVKe Kcondition_projectVenvironment_protocols;
extern _KLgetter_methodGVKi Kcondition_projectVenvironment_protocolsMM0;
static _KLpairGVKd K33;
static _KLbyte_stringGVKd_17 K34;
static _KLbyte_stringGVKd_7 K35;
static _KLbyte_stringGVKd_23 K36;
static _KLkeyword_signatureAvaluesGVKi K37;
static _KLsimple_object_vectorGVKd_8 K38;
static _KLsimple_object_vectorGVKd_4 K39;
static _KLsimple_object_vectorGVKd_1 K40;
static _KLbyte_stringGVKd_22 K41;
static _KLimplementation_classGVKe K42;
static _KLsimple_object_vectorGVKd_2 K43;
extern _KLkeyword_methodGVKe KLclosed_server_errorGZ32ZconstructorVenvironment_protocolsMM0;
dylan_value KLclosed_server_errorGZ32ZconstructorVenvironment_protocolsMM0I (dylan_value, dylan_value, dylan_value, dylan_value);
static _KLsimple_object_vectorGVKd_7 K46;
static _KLkeyword_signatureAvaluesGVKi K47;
static _KLsimple_object_vectorGVKd_4 K48;
static _KLsimple_object_vectorGVKd_2 K49;
static _KLsimple_object_vectorGVKd_1 K50;
static _KLbyte_stringGVKd_21 K51;
static _KLimplementation_classGVKe K52;
static _KLsimple_object_vectorGVKd_1 K53;
static _KLsimple_object_vectorGVKd_6 K54;
static _KLsimple_object_vectorGVKd_1 K55;
static _KLsimple_object_vectorGVKd_1 K56;
static _KLbyte_stringGVKd_8 K57;
static _KLpairGVKd K58;
static _KLpairGVKd K59;
static _KLpairGVKd K60;

/* Indirection variables */

static dylan_value IKJproject_ = &KJproject_;

/* Variables */

dylan_value condition_projectVenvironment_protocols = &Kcondition_projectVenvironment_protocols;
dylan_value condition_objectVenvironment_protocols = &Kcondition_objectVenvironment_protocols;
dylan_value LserverGVenvironment_protocols = &KLserverGVenvironment_protocols;
dylan_value Lclosed_server_errorGVenvironment_protocols = &KLclosed_server_errorGVenvironment_protocols;
dylan_value Linvalid_object_errorGVenvironment_protocols = &KLinvalid_object_errorGVenvironment_protocols;
dylan_value record_client_queryVenvironment_protocols = &Krecord_client_queryVenvironment_protocols;

/* Objects */

_KLclassGVKd KLserverGVenvironment_protocols = {
  &KLclassGVKdW /* wrapper */,
  &Kgeneral_rcpl_class_instanceQVKiI,
  &K57,
  &K52,
  (dylan_value) 1,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols
};

_KLmm_wrapperGVKi_0 KLserverGVenvironment_protocolsW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K52,
  (dylan_value) 1,
  1,
  33554439,
  (dylan_value) 1
};

_KLclassGVKd KLclosed_server_errorGVenvironment_protocols = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K51,
  &K42,
  (dylan_value) 1,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols
};

_KLmm_wrapperGVKi_0 KLclosed_server_errorGVenvironment_protocolsW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K42,
  (dylan_value) 2049,
  9,
  33554439,
  (dylan_value) 1
};

_KLclassGVKd KLinvalid_object_errorGVenvironment_protocols = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K41,
  &K17,
  (dylan_value) 1,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols
};

_KLmm_wrapperGVKi_0 KLinvalid_object_errorGVenvironment_protocolsW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K17,
  (dylan_value) 2049,
  17,
  33554439,
  (dylan_value) 1
};

_KLincremental_generic_functionGVKe Krecord_client_queryVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_4,
  &K14,
  (dylan_value) 1,
  &K15,
  &K11,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) 25
};

static _KLpairGVKd K11 = {
  &KLpairGVKdW /* wrapper */,
  &Krecord_client_queryVenvironment_protocolsMM0,
  &K12
};

static _KLpairGVKd K12 = {
  &KLpairGVKdW /* wrapper */,
  &Krecord_client_queryVenvironment_protocolsMM1,
  &K13
};

static _KLpairGVKd K13 = {
  &KLpairGVKdW /* wrapper */,
  &Krecord_client_queryVenvironment_protocolsMM2,
  &KPempty_listVKi
};

static _KLsignatureGVKe K14 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 41943057,
  &K16
};

static _KLbyte_stringGVKd_19 K15 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 77,
  "record-client-query"
};

static _KLsimple_object_vectorGVKd_4 K16 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 17,
  &KLserverGVenvironment_protocols,
  &KLobjectGVKd,
  &KLobjectGVKd,
  &KLsymbolGVKd
};

static _KLimplementation_classGVKe K17 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (dylan_value) 477102097,
  &KLinvalid_object_errorGVenvironment_protocols,
  &KLinvalid_object_errorGVenvironment_protocolsW,
  &KPfalseVKi,
  &K18,
  (dylan_value) -3,
  &KLinvalid_object_errorGZ32ZconstructorVenvironment_protocolsMM0,
  &K21,
  &K22,
  (dylan_value) 25,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &K23,
  &K18,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_4 K18 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 17,
  &Kcondition_format_stringVKdHLsimple_conditionG,
  &Kcondition_format_argumentsVKdHLsimple_conditionG,
  &Kcondition_projectVenvironment_protocolsHLinvalid_object_errorG,
  &Kcondition_objectVenvironment_protocolsHLinvalid_object_errorG
};

_KLkeyword_methodGVKe KLinvalid_object_errorGZ32ZconstructorVenvironment_protocolsMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_6,
  &K37,
  &key_mep_2,
  &KLinvalid_object_errorGZ32ZconstructorVenvironment_protocolsMM0I,
  &K38
};

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

static _KLsimple_object_vectorGVKd_7 K22 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 29,
  &KLobjectGVKd,
  &KLconditionGVKd,
  &KLsimple_conditionGVKe,
  &KLserious_conditionGVKd,
  &KLerrorGVKd,
  &KLsimple_errorGVKd,
  &KLinvalid_object_errorGVenvironment_protocols
};

static _KLsimple_object_vectorGVKd_2 K23 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &Kcondition_projectVenvironment_protocolsHLinvalid_object_errorG,
  &Kcondition_objectVenvironment_protocolsHLinvalid_object_errorG
};

_KLinstance_slot_descriptorGVKe Kcondition_projectVenvironment_protocolsHLinvalid_object_errorG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (dylan_value) 193,
  &KPfalseVKi,
  &KLinvalid_object_errorGVenvironment_protocols,
  &KJproject_,
  &Kcondition_projectVenvironment_protocols,
  &KPfalseVKi,
  &KLproject_objectGVenvironment_protocols
};

_KLinstance_slot_descriptorGVKe Kcondition_objectVenvironment_protocolsHLinvalid_object_errorG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (dylan_value) 193,
  &KPfalseVKi,
  &KLinvalid_object_errorGVenvironment_protocols,
  &KJobject_,
  &Kcondition_objectVenvironment_protocols,
  &KPfalseVKi,
  &KLenvironment_objectGVenvironment_protocols
};

_KLsealed_generic_functionGVKe Kcondition_objectVenvironment_protocols = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K29,
  &K28,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLgetter_methodGVKi Kcondition_objectVenvironment_protocolsMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kcondition_objectVenvironment_protocolsHLinvalid_object_errorG
};

static _KLpairGVKd K28 = {
  &KLpairGVKdW /* wrapper */,
  &Kcondition_objectVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_16 K29 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 65,
  "condition-object"
};

static _KLsymbolGVKd KJproject_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K35
};

_KLsealed_generic_functionGVKe Kcondition_projectVenvironment_protocols = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K34,
  &K33,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLgetter_methodGVKi Kcondition_projectVenvironment_protocolsMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kcondition_projectVenvironment_protocolsHLinvalid_object_errorG
};

static _KLpairGVKd K33 = {
  &KLpairGVKdW /* wrapper */,
  &Kcondition_projectVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_17 K34 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 69,
  "condition-project"
};

static _KLbyte_stringGVKd_7 K35 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 29,
  "project"
};

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

static _KLkeyword_signatureAvaluesGVKi K37 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 35390469,
  &KDsignature_LclassG_typesVKi,
  &K39,
  &KDsignature_LobjectG_typesVKi,
  &K40
};

static _KLsimple_object_vectorGVKd_8 K38 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 33,
  &KJformat_string_,
  &KPempty_stringVKi,
  &KJformat_arguments_,
  &KPempty_vectorVKi,
  &KJproject_,
  &KPunboundVKi,
  &KJobject_,
  &KPunboundVKi
};

static _KLsimple_object_vectorGVKd_4 K39 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 17,
  &KJformat_string_,
  &KJformat_arguments_,
  &KJproject_,
  &KJobject_
};

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

static _KLbyte_stringGVKd_22 K41 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 89,
  "<invalid-object-error>"
};

static _KLimplementation_classGVKe K42 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (dylan_value) 477102089,
  &KLclosed_server_errorGVenvironment_protocols,
  &KLclosed_server_errorGVenvironment_protocolsW,
  &KPfalseVKi,
  &K43,
  (dylan_value) -3,
  &KLclosed_server_errorGZ32ZconstructorVenvironment_protocolsMM0,
  &K21,
  &K46,
  (dylan_value) 25,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K43,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_2 K43 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &Kcondition_format_stringVKdHLsimple_conditionG,
  &Kcondition_format_argumentsVKdHLsimple_conditionG
};

_KLkeyword_methodGVKe KLclosed_server_errorGZ32ZconstructorVenvironment_protocolsMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K47,
  &key_mep_2,
  &KLclosed_server_errorGZ32ZconstructorVenvironment_protocolsMM0I,
  &K48
};

static _KLsimple_object_vectorGVKd_7 K46 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 29,
  &KLobjectGVKd,
  &KLconditionGVKd,
  &KLsimple_conditionGVKe,
  &KLserious_conditionGVKd,
  &KLerrorGVKd,
  &KLsimple_errorGVKd,
  &KLclosed_server_errorGVenvironment_protocols
};

static _KLkeyword_signatureAvaluesGVKi K47 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 35390469,
  &KDsignature_LclassG_typesVKi,
  &K49,
  &KDsignature_LobjectG_typesVKi,
  &K50
};

static _KLsimple_object_vectorGVKd_4 K48 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 17,
  &KJformat_string_,
  &KPempty_stringVKi,
  &KJformat_arguments_,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_2 K49 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KJformat_string_,
  &KJformat_arguments_
};

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

static _KLbyte_stringGVKd_21 K51 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 85,
  "<closed-server-error>"
};

static _KLimplementation_classGVKe K52 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (dylan_value) 274989057,
  &KLserverGVenvironment_protocols,
  &KLserverGVenvironment_protocolsW,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) -3,
  &Kdefault_class_constructorVKi,
  &K53,
  &K54,
  (dylan_value) 5,
  &K55,
  &K56,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &K58,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

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

static _KLsimple_object_vectorGVKd_6 K54 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 25,
  &KLobjectGVKd,
  &KLserverGVenvironment_protocols,
  &KPfalseVKi,
  &KPfalseVKi,
  &KPfalseVKi,
  &KPfalseVKi
};

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

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

static _KLbyte_stringGVKd_8 K57 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 33,
  "<server>"
};

static _KLpairGVKd K58 = {
  &KLpairGVKdW /* wrapper */,
  &KLapplicationGVenvironment_protocols,
  &K59
};

static _KLpairGVKd K59 = {
  &KLpairGVKdW /* wrapper */,
  &KLcompiler_databaseGVenvironment_protocols,
  &K60
};

static _KLpairGVKd K60 = {
  &KLpairGVKdW /* wrapper */,
  &KLproject_objectGVenvironment_protocols,
  &KPempty_listVKi
};

/* Code */

dylan_value Kmake_object_cacheVenvironment_protocolsI () {
  dylan_value T1_0;
  _KLsimple_object_vectorGVKd_2 T2 = {&KLsimple_object_vectorGVKdW, (dylan_value) 9};

  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:30
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:32
  T2.vector_element_[0] = &KJweak_;
  T2.vector_element_[1] = &KJkey_;
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:32
  T1_0 = KLobject_tableGZ32ZconstructorVKiMM0I(&KLobject_tableGVKd, &T2, &KLobjectGVKd, (dylan_value) 41, &Kdefault_grow_sizeVKe, &KJkey_);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:30
  MV_SET_COUNT(1);
  return(T1_0);
}

dylan_value KLinvalid_object_errorGZ32ZconstructorVenvironment_protocolsMM0I (dylan_value class_, dylan_value init_args_, dylan_value Uunique_condition_format_string_, dylan_value Uunique_condition_format_arguments_, dylan_value Uunique_condition_project_, dylan_value Uunique_condition_object_) {
  dylan_value T7;
  dylan_value Uunique_condition_projectF8;
  dylan_value T9;
  dylan_value Uunique_condition_objectF10;
  dylan_value T11;
  dylan_value Uunique_condition_projectF12;
  dylan_value Uunique_condition_objectF13;
  dylan_value T14_0;
  dylan_value T15;
  _KLsimple_object_vectorGVKd_1 T16 = {&KLsimple_object_vectorGVKdW, (dylan_value) 5};
  dylan_value T17;
  dylan_value T18;
  _KLsimple_object_vectorGVKd_1 T19 = {&KLsimple_object_vectorGVKdW, (dylan_value) 5};
  dylan_value T20;

  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
  T15 = primitive_idQ(Uunique_condition_project_,&KPunboundVKi);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
  if (T15 != &KPfalseVKi) {
    T16.vector_element_[0] = IKJproject_;
    T17 = KerrorVKdMM1I(&K36, &T16);
    // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
    T7 = T17;
    Uunique_condition_projectF8 = T7;
  } else {
    Uunique_condition_projectF8 = Uunique_condition_project_;
  }
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
  T18 = primitive_idQ(Uunique_condition_object_,&KPunboundVKi);
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
  if (T18 != &KPfalseVKi) {
    T19.vector_element_[0] = &KJobject_;
    T20 = KerrorVKdMM1I(&K36, &T19);
    // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
    T9 = T20;
    Uunique_condition_objectF10 = T9;
  } else {
    Uunique_condition_objectF10 = Uunique_condition_object_;
  }
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
  T11 = primitive_object_allocate_filled(5,&KLinvalid_object_errorGVenvironment_protocolsW,4,&KPunboundVKi,0,0,&KPunboundVKi);
  SLOT_VALUE_SETTER(Uunique_condition_format_string_, T11, 0);
  SLOT_VALUE_SETTER(Uunique_condition_format_arguments_, T11, 1);
  primitive_type_check(Uunique_condition_projectF8, &KLproject_objectGVenvironment_protocols);
  Uunique_condition_projectF12 = Uunique_condition_projectF8;
  SLOT_VALUE_SETTER(Uunique_condition_projectF12, T11, 2);
  primitive_type_check(Uunique_condition_objectF10, &KLenvironment_objectGVenvironment_protocols);
  Uunique_condition_objectF13 = Uunique_condition_objectF10;
  SLOT_VALUE_SETTER(Uunique_condition_objectF13, T11, 3);
  APPLY2(&KinitializeVKd, T11, init_args_);
  T14_0 = T11;
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
  MV_SET_COUNT(1);
  return(T14_0);
}

dylan_value KLclosed_server_errorGZ32ZconstructorVenvironment_protocolsMM0I (dylan_value class_, dylan_value init_args_, dylan_value Uunique_condition_format_string_, dylan_value Uunique_condition_format_arguments_) {
  dylan_value T5;
  dylan_value T6_0;

  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:14
  T5 = primitive_object_allocate_filled(3,&KLclosed_server_errorGVenvironment_protocolsW,2,&KPunboundVKi,0,0,&KPunboundVKi);
  SLOT_VALUE_SETTER(Uunique_condition_format_string_, T5, 0);
  SLOT_VALUE_SETTER(Uunique_condition_format_arguments_, T5, 1);
  APPLY2(&KinitializeVKd, T5, init_args_);
  T6_0 = T5;
  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:14
  MV_SET_COUNT(1);
  return(T6_0);
}


/* SYSTEM INIT CODE */

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

    T0 = KPresolve_symbolVKiI(&KJproject_);
    if (T0 != &KJproject_) {
      primitive_repeated_slot_value_setter(T0, &K39, 1, 2);
      primitive_repeated_slot_value_setter(T0, &K38, 1, 4);
      IKJproject_ = T0;
      primitive_slot_value_setter(T0, &Kcondition_projectVenvironment_protocolsHLinvalid_object_errorG, 3);
    }
  }
{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:11
  T0 = KPadd_classVKeI(&KLserverGVenvironment_protocols);
  goto I0;
}
I0:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:14
  T0 = KPadd_classVKeI(&KLclosed_server_errorGVenvironment_protocols);
  goto I3;
}
I3:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
  T0 = KPadd_classVKeI(&KLinvalid_object_errorGVenvironment_protocols);
  goto I6;
}
I6:

  return;
}

/* USER INIT CODE */

void _Init_environment_protocols__X_server_objects_for_user () {
  return;
}


/* eof */
