#include "run-time.h"

/* Typedefs for referenced classes */

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

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

typedef struct {
  D wrapper;
} _KLobjectGVKd;

typedef struct {
  D wrapper;
} _KLunboundGVKe;

typedef struct {
  D wrapper;
} _KLbooleanGVKd;

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

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

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

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

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

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

#define  define__KLsimple_object_vectorGVKd(nrepeated) \
  typedef struct { \
    D wrapper; \
    D size_; \
    D 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 { \
    D wrapper; \
    D 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 {
  D wrapper;
  D signature_properties_;
  D signature_required_;
} _KLsignatureGVKe;

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

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

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

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

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

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

typedef struct {
  D wrapper;
  D xep_;
  D function_signature_;
  D Pgf_cache_;
  D debug_name_;
  D generic_function_methods_;
  D discriminator_;
} _KLsealed_generic_functionGVKe;

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

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

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

typedef struct {
  D wrapper;
} _KLconditionGVKd;

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

typedef struct {
  D wrapper;
} _KLserious_conditionGVKd;

typedef struct {
  D wrapper;
} _KLerrorGVKd;

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

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

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

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

typedef struct {
  D wrapper;
  D Pprimitive_name_;
  D server_project_;
  D compiler_object_table_;
} _KLcompiler_databaseGVenvironment_protocols;


/* Typedefs for defined classes */

typedef struct {
  D wrapper;
} _KLserverGVenvironment_protocols;

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

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


/* Referenced object declarations */

D KPadd_classVKeI (D);
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_;
D KLobject_tableGZ32ZconstructorVKiMM0I (D, D, D, D, D, D);
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;
D KerrorVKdMM1I (D, D);
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;
D Kclass_instanceQ_initialVKiI (D, D);
extern _KLkeyword_methodGVKe Kdefault_class_constructorVKi;
D Kgeneral_rcpl_class_instanceQVKiI (D, D);
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;
D 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;
D KLinvalid_object_errorGZ32ZconstructorVenvironment_protocolsMM0I (D, D, D, D, D, D);
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;
D KLclosed_server_errorGZ32ZconstructorVenvironment_protocolsMM0I (D, D, D, D);
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 D IKJproject_ = &KJproject_;

/* Variables */

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

/* Objects */

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

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

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

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

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

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

_KLincremental_generic_functionGVKe Krecord_client_queryVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_4,
  &K14,
  (D) 1,
  &K15,
  &K11,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 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 */,
  (D) 41943057,
  &K16
};

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

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

static _KLimplementation_classGVKe K17 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 477102097,
  &KLinvalid_object_errorGVenvironment_protocols,
  &KLinvalid_object_errorGVenvironment_protocolsW,
  &KPfalseVKi,
  &K18,
  (D) -3,
  &KLinvalid_object_errorGZ32ZconstructorVenvironment_protocolsMM0,
  &K21,
  &K22,
  (D) 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 */,
  (D) 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 */,
  (D) 5,
  &KLsimple_errorGVKd
};

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

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

_KLinstance_slot_descriptorGVKe Kcondition_projectVenvironment_protocolsHLinvalid_object_errorG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 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 */,
  (D) 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 */,
  (D) 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 */,
  (D) 69,
  "condition-project"
};

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

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

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

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

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

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

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

static _KLimplementation_classGVKe K42 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 477102089,
  &KLclosed_server_errorGVenvironment_protocols,
  &KLclosed_server_errorGVenvironment_protocolsW,
  &KPfalseVKi,
  &K43,
  (D) -3,
  &KLclosed_server_errorGZ32ZconstructorVenvironment_protocolsMM0,
  &K21,
  &K46,
  (D) 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 */,
  (D) 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 */,
  (D) 29,
  &KLobjectGVKd,
  &KLconditionGVKd,
  &KLsimple_conditionGVKe,
  &KLserious_conditionGVKd,
  &KLerrorGVKd,
  &KLsimple_errorGVKd,
  &KLclosed_server_errorGVenvironment_protocols
};

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

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

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

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

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

static _KLimplementation_classGVKe K52 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 274989057,
  &KLserverGVenvironment_protocols,
  &KLserverGVenvironment_protocolsW,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) -3,
  &Kdefault_class_constructorVKi,
  &K53,
  &K54,
  (D) 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 */,
  (D) 5,
  &KLobjectGVKd
};

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

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

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

static _KLbyte_stringGVKd_8 K57 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 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 */

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

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

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

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
  T15 = primitive_idQ(Uunique_condition_project_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
  if (T15 != &KPfalseVKi) {
    T16.vector_element_[0] = IKJproject_;
    T17 = KerrorVKdMM1I(&K36, &T16);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
    T7 = T17;
    Uunique_condition_projectF8 = T7;
  } else {
    Uunique_condition_projectF8 = Uunique_condition_project_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
  T18 = primitive_idQ(Uunique_condition_object_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
  if (T18 != &KPfalseVKi) {
    T19.vector_element_[0] = &KJobject_;
    T20 = KerrorVKdMM1I(&K36, &T19);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
    T9 = T20;
    Uunique_condition_objectF10 = T9;
  } else {
    Uunique_condition_objectF10 = Uunique_condition_object_;
  }
  // /Users/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;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/server-objects.dylan:17
  MV_SET_COUNT(1);
  return(T14_0);
}

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

  // /Users/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;
  // /Users/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 D KPresolve_symbolVKiI(D);
  {
    D 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);
    }
  }
{
  D T0;

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

{
  D T0;

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

{
  D T0;

  // /Users/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 */
