#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 instanceQ_iep_;
  D union_type1_;
  D union_type2_;
} _KLunionGVKe;

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

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

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    D wrapper; \
    D size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(37);
define__KLbyte_stringGVKd(5);
define__KLbyte_stringGVKd(31);
define__KLbyte_stringGVKd(10);
define__KLbyte_stringGVKd(3);
define__KLbyte_stringGVKd(40);
define__KLbyte_stringGVKd(4);
define__KLbyte_stringGVKd(56);
define__KLbyte_stringGVKd(15);
define__KLbyte_stringGVKd(29);
define__KLbyte_stringGVKd(16);
define__KLbyte_stringGVKd(11);
define__KLbyte_stringGVKd(18);
define__KLbyte_stringGVKd(25);
define__KLbyte_stringGVKd(19);
define__KLbyte_stringGVKd(26);
define__KLbyte_stringGVKd(8);
define__KLbyte_stringGVKd(21);
define__KLbyte_stringGVKd(28);
define__KLbyte_stringGVKd(17);
define__KLbyte_stringGVKd(27);
define__KLbyte_stringGVKd(34);
define__KLbyte_stringGVKd(14);
define__KLbyte_stringGVKd(22);
define__KLbyte_stringGVKd(20);
define__KLbyte_stringGVKd(24);
define__KLbyte_stringGVKd(13);
define__KLbyte_stringGVKd(7);
define__KLbyte_stringGVKd(6);
define__KLbyte_stringGVKd(0);

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 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(18);
define__KLsimple_object_vectorGVKd(6);
define__KLsimple_object_vectorGVKd(9);
define__KLsimple_object_vectorGVKd(3);
define__KLsimple_object_vectorGVKd(8);
define__KLsimple_object_vectorGVKd(1);
define__KLsimple_object_vectorGVKd(2);
define__KLsimple_object_vectorGVKd(256);
define__KLsimple_object_vectorGVKd(16);
define__KLsimple_object_vectorGVKd(4);
define__KLsimple_object_vectorGVKd(0);

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 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;
  D condition_format_string_;
  D condition_format_arguments_;
  D type_error_value_;
  D type_error_expected_type_;
} _KLtype_errorGVKd;

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

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

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

typedef struct {
  D wrapper;
  D domain_library_;
  D domain_next_;
  D domain_method_;
} _KLmethod_domainGVKe;

typedef struct {
  D wrapper;
  D namespace_name_;
  D library_major_version_;
  D library_minor_version_;
  D library_build_count_;
  D used_libraries_;
  D all_used_libraries_;
  D runtime_module_;
  D library_defined_generics_;
  D library_number_static_dispatches_;
  D library_number_dynamic_dispatches_;
} _KLlibraryGVKe;

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

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

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

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

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

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 signature_properties_;
  D signature_required_;
} _KLobject_signatureGVKe;

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

typedef struct {
  D wrapper;
} _KLstringGVKd;

typedef struct {
  D wrapper;
} _KLfile_locatorGYlocatorsVsystem;

typedef struct {
  D wrapper;
  D Pnetwork_address_;
} _KLmachineGVenvironment_protocols;

typedef struct {
  D wrapper;
} _KLserverGVenvironment_protocols;

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

#define  define__KLsimple_closure_methodGVKi(nrepeated) \
  typedef struct { \
    D wrapper; \
    D xep_; \
    D function_signature_; \
    D mep_; \
    D environment_size_; \
    D environment_element_[nrepeated+1]; \
  } _KLsimple_closure_methodGVKi_##nrepeated;
define__KLsimple_closure_methodGVKi(0);

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

typedef struct {
  D wrapper;
  D signature_properties_;
  D signature_required_;
  D signature_keys_;
  D signature_key_types_;
} _KLkeyword_signatureGVKe;

typedef struct {
  D wrapper;
  D message_project_;
} _KLrun_application_failed_messageGVenvironment_protocols;

typedef struct {
  D wrapper;
  D message_project_;
} _KLrun_application_requested_messageGVenvironment_protocols;

typedef struct {
  D wrapper;
} _KLdirectory_locatorGYlocatorsVsystem;

typedef struct {
  D wrapper;
  D xep_;
} _KLfunctionGVKd;

typedef struct {
  D wrapper;
  D message_project_;
} _KLapplication_initialized_messageGVenvironment_protocols;

typedef struct {
  D wrapper;
  D message_project_;
} _KLapplication_state_changed_messageGVenvironment_protocols;


/* Typedefs for defined classes */

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;


/* 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 KLunionGVKe;
extern _KLmm_wrapperGVKi_0 KLunionGVKeW;
D Kunion_instanceQVKiI (D, D);
extern _KLclassGVKd KLsingletonGVKd;
extern _KLmm_wrapperGVKi_0 KLsingletonGVKdW;
D Ksingleton_pointer_idQ_instanceQVKiI (D, D);
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLfunction_classGVKi KLincremental_generic_functionGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
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 KLkeyword_signatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureAvaluesGVKiW;
extern _KLclassGVKd KLproject_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLproject_objectGVenvironment_protocolsW;
extern _KLsymbolGVKd KJvalue_;
extern _KLsymbolGVKd KJtype_;
extern _KLincremental_generic_functionGVKe KmakeVKd;
extern _KLclassGVKd KLtype_errorGVKd;
extern _KLmm_wrapperGVKi_0 KLtype_errorGVKdW;
extern _KLsealed_generic_functionGVKe KerrorVKd;
extern _KLclassGVKd KLsealed_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLsealed_generic_functionGVKeW;
D KputhashVKiI (D, D, D);
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLclassGVKd KLsignatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLsignatureAvaluesGVKiW;
extern _KLclassGVKd KLapplication_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLapplication_objectGVenvironment_protocolsW;
D KgethashVKiI (D, D, D, D);
extern _KLsimple_object_vectorGVKd_16 KDsignature_LbooleanG_typesVKi;
extern _KLclassGVKd KLmethod_domainGVKe;
extern _KLmm_wrapperGVKi_0 KLmethod_domainGVKeW;
extern _KLlibraryGVKe Kenvironment_protocols_libraryYdylan_userVenvironment_protocols;
extern _KLclassGVKd KLlibraryGVKe;
extern _KLmm_wrapperGVKi_0 KLlibraryGVKeW;
extern _KLclassGVKd KLgetter_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLgetter_methodGVKiW;
extern _KLclassGVKd KLinstance_slot_descriptorGVKe;
extern _KLmm_wrapperGVKi_0 KLinstance_slot_descriptorGVKeW;
extern _KLincremental_generic_functionGVKe Kserver_projectVenvironment_protocols;
extern _KLclassGVKd KLidGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLidGVenvironment_protocolsW;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
extern _KLsealed_generic_functionGVKe Kapplication_object_proxyVenvironment_protocols;
extern _KLincremental_generic_functionGVKe Kenvironment_object_idVenvironment_protocols;
extern _KLsealed_generic_functionGVKe Kapplication_object_proxy_setterVenvironment_protocols;
extern _KLclassGVKd KLpairGVKd;
extern _KLmm_wrapperGVKi_0 KLpairGVKdW;
extern _KLfunction_classGVKi KLkeyword_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_methodGVKeW;
extern _KLsimple_object_vectorGVKd_256 KDsignature_LobjectG_typesVKi;
extern _KLclassGVKd KLimplementation_classGVKe;
extern _KLmm_wrapperGVKi_0 KLimplementation_classGVKeW;
extern _KLkeyword_methodGVKe Kdefault_class_constructorVKi;
extern _KLobject_signatureGVKe KDsignature_LobjectG_object_rest_value_2VKi;
extern _KLclassGVKd KLobject_signatureGVKe;
extern _KLmm_wrapperGVKi_0 KLobject_signatureGVKeW;
extern _KLclassGVKd KLsetter_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLsetter_methodGVKiW;
extern _KLobject_signatureGVKe KDsignature_LobjectG_object_rest_value_1VKi;
extern _KLbyte_stringGVKd_0 KPempty_stringVKi;
extern _KLsymbolGVKd KJarguments_;
extern _KLclassGVKd KLstringGVKd;
extern _KLmm_wrapperGVKi_0 KLstringGVKdW;
extern _KLclassGVKd KLfile_locatorGYlocatorsVsystem;
extern _KLmm_wrapperGVKi_0 KLfile_locatorGYlocatorsVsystemW;
extern _KLclassGVKd KLmachineGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLmachineGVenvironment_protocolsW;
extern _KLclassGVKd KLserverGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLserverGVenvironment_protocolsW;
extern _KLclassGVKd KLtableGVKd;
extern _KLmm_wrapperGVKi_0 KLtableGVKdW;
D Kmake_object_cacheVenvironment_protocolsI ();
extern _KLfunction_classGVKi KLsimple_closure_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLsimple_closure_methodGVKiW;
extern _KLclassGVKd KLenvironment_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLenvironment_objectGVenvironment_protocolsW;
extern _KLinstance_slot_descriptorGVKe KPprimitive_nameVenvironment_protocolsHLenvironment_objectG;
D Kclass_instanceQ_rcpl_single_smallVKiI (D, D);
extern _KLsimple_object_vectorGVKd_2 KDsignature_LstringG_typesVKi;
extern _KLincremental_generic_functionGVKe Krecord_client_queryVenvironment_protocols;
D KEVKdMM27I (D, D);
extern _KLclassGVKd KLkeyword_signatureGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureGVKeW;
extern _KLsymbolGVKd KJthread_;
extern _KLclassGVKd KLrun_application_failed_messageGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLrun_application_failed_messageGVenvironment_protocolsW;
extern _KLincremental_generic_functionGVKe KbroadcastVchannels;
D Krelease_runtime_directoryVrelease_infoI ();
D Kenvironment_host_machineVenvironment_protocolsI ();
D Kassertion_failureVKiI (D, D);
extern _KLclassGVKd KLrun_application_requested_messageGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLrun_application_requested_messageGVenvironment_protocolsW;
extern _KLincremental_generic_functionGVKe Kproject_bin_directoryVenvironment_protocols;
extern _KLincremental_generic_functionGVKe Kproject_build_filenameVenvironment_protocols;
extern _KLincremental_generic_functionGVKe Kmerge_locatorsYlocatorsVsystem;
extern _KLincremental_generic_functionGVKe Kproject_debug_filenameVenvironment_protocols;
extern _KLincremental_generic_functionGVKe Kproject_debug_argumentsVenvironment_protocols;
extern _KLincremental_generic_functionGVKe Kproject_target_typeVenvironment_protocols;
D Kplayground_projectQVenvironment_protocolsI (D, D, D);
D Kplayground_application_filenameVenvironment_protocolsI (D);
extern _KLincremental_generic_functionGVKe Klocator_directoryYlocatorsVsystem;
D Krelease_directoryVrelease_infoI ();
extern _KLincremental_generic_functionGVKe KasVKd;
extern _KLclassGVKd KLdirectory_locatorGYlocatorsVsystem;
extern _KLmm_wrapperGVKi_0 KLdirectory_locatorGYlocatorsVsystemW;
D KasVKdMsystemM1I (D, D);
D Kformat_to_stringYformatVioMM0I (D, D);
D KerrorVKdMM1I (D, D);
extern _KLincremental_generic_functionGVKe Kproject_interface_typeVenvironment_protocols;
extern _KLsymbolGVKd KJstart_;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LsequenceG_typesVKi;
extern _KLclassGVKd KLfunctionGVKd;
extern _KLmm_wrapperGVKi_0 KLfunctionGVKdW;
extern _KLclassGVKd KLapplication_initialized_messageGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLapplication_initialized_messageGVenvironment_protocolsW;
extern _KLclassGVKd KLapplication_state_changed_messageGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLapplication_state_changed_messageGVenvironment_protocolsW;
extern D Dproject_channelVenvironment_protocols;
extern D DunsuppliedYcommon_extensionsVcommon_dylan;

/* Defined object declarations */

extern _KLsimple_methodGVKe Krecord_client_queryVenvironment_protocolsMM2;
D Krecord_client_queryVenvironment_protocolsMM2I (D, D, D, D);
extern _KLsimple_methodGVKe Kenvironment_object_type_nameVenvironment_protocolsMM4;
D Kenvironment_object_type_nameVenvironment_protocolsMM4I (D);
extern _KLclassGVKd KLapplicationGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLapplicationGVenvironment_protocolsW;
extern _KLkeyword_methodGVKe Kchoose_serverVenvironment_protocolsMM4;
D Kchoose_serverVenvironment_protocolsMM4I (D, D, D, D, D);
D Kensure_application_proxyVenvironment_protocolsI (D, D);
D Kenvironment_object_home_serverQVenvironment_protocolsMM4I (D, D);
extern _KLsimple_methodGVKe Kensure_application_proxyVenvironment_protocols;
extern _KLincremental_generic_functionGVKe Kapplication_proxy_idVenvironment_protocols;
extern _KLgetter_methodGVKi Kserver_projectVenvironment_protocolsMM2;
extern _KLmethod_domainGVKe Kserver_projectVenvironment_protocolsRD_environment_protocolsRD_0;
extern _KLsimple_methodGVKe Kenvironment_object_home_serverQVenvironment_protocolsMM4;
extern _KLsimple_methodGVKe Klookup_environment_object_by_proxyVenvironment_protocolsMM1;
D Klookup_environment_object_by_proxyVenvironment_protocolsMM1I (D, D);
extern _KLsimple_methodGVKe Kcache_environment_objectVenvironment_protocolsMM1;
D Kcache_environment_objectVenvironment_protocolsMM1I (D, D, D);
extern _KLincremental_generic_functionGVKe Kmake_project_applicationVenvironment_protocols;
extern _KLunionGVKe KLapplication_stateGVenvironment_protocols;
static _KLunionGVKe K21;
static _KLsingletonGVKd K22;
static _KLsymbolGVKd KJclosed_;
static _KLbyte_stringGVKd_6 K24;
static _KLunionGVKe K25;
static _KLsingletonGVKd K26;
static _KLsymbolGVKd KJstopped_;
static _KLbyte_stringGVKd_7 K28;
static _KLsingletonGVKd K29;
static _KLsingletonGVKd K30;
static _KLsymbolGVKd KJrunning_;
static _KLbyte_stringGVKd_7 K32;
static _KLsymbolGVKd KJuninitialized_;
static _KLbyte_stringGVKd_13 K34;
static _KLkeyword_signatureAvaluesGVKi K35;
static _KLbyte_stringGVKd_24 K36;
static _KLsimple_object_vectorGVKd_1 K37;
static _KLsimple_object_vectorGVKd_1 K38;
static _KLsignatureAvaluesGVKi K39;
static _KLsimple_object_vectorGVKd_3 K40;
static _KLsimple_object_vectorGVKd_1 K41;
static _KLunionGVKe K42;
static _KLsingletonGVKd K43;
static _KLsignatureAvaluesGVKi K44;
static _KLsimple_object_vectorGVKd_2 K45;
static _KLsimple_object_vectorGVKd_1 K46;
static _KLsignatureAvaluesGVKi K47;
static _KLsimple_object_vectorGVKd_2 K48;
extern _KLinstance_slot_descriptorGVKe Kserver_projectVenvironment_protocolsHLapplicationG;
static _KLsymbolGVKd KJproject_;
static _KLbyte_stringGVKd_7 K51;
static _KLsignatureAvaluesGVKi K52;
static _KLbyte_stringGVKd_20 K53;
static _KLsimple_object_vectorGVKd_1 K54;
static _KLunionGVKe K55;
static _KLsignatureGVKe K56;
extern _KLincremental_generic_functionGVKe Kfind_application_proxyVenvironment_protocols;
extern _KLsimple_methodGVKe Kfind_application_proxyVenvironment_protocolsMM0;
D Kfind_application_proxyVenvironment_protocolsMM0I (D, D);
static _KLpairGVKd K60;
static _KLsignatureGVKe K61;
static _KLbyte_stringGVKd_22 K62;
static _KLsimple_object_vectorGVKd_2 K63;
static _KLkeyword_signatureAvaluesGVKi K64;
static _KLsimple_object_vectorGVKd_4 K65;
static _KLsymbolGVKd KJerrorQ_;
static _KLsymbolGVKd KJdefault_server_;
static _KLbyte_stringGVKd_14 K68;
static _KLbyte_stringGVKd_6 K69;
static _KLsimple_object_vectorGVKd_2 K70;
static _KLsimple_object_vectorGVKd_2 K71;
static _KLimplementation_classGVKe K72;
static _KLsimple_object_vectorGVKd_9 K73;
static _KLsimple_object_vectorGVKd_2 K74;
static _KLsimple_object_vectorGVKd_6 K75;
static _KLsimple_object_vectorGVKd_8 K76;
extern _KLinstance_slot_descriptorGVKe Kapplication_object_tableVenvironment_protocolsHLapplicationG;
extern _KLinstance_slot_descriptorGVKe Kapplication_clientVenvironment_protocolsHLapplicationG;
extern _KLinstance_slot_descriptorGVKe Kapplication_machineVenvironment_protocolsHLapplicationG;
extern _KLinstance_slot_descriptorGVKe Kapplication_filenameVenvironment_protocolsHLapplicationG;
extern _KLinstance_slot_descriptorGVKe Kapplication_argumentsVenvironment_protocolsHLapplicationG;
extern _KLinstance_slot_descriptorGVKe Kapplication_stateVenvironment_protocolsHLapplicationG;
extern _KLinstance_slot_descriptorGVKe Kapplication_temporary_stopQVenvironment_protocolsHLapplicationG;
extern _KLsealed_generic_functionGVKe Kapplication_temporary_stopQVenvironment_protocols;
extern _KLsealed_generic_functionGVKe Kapplication_temporary_stopQ_setterVenvironment_protocols;
extern _KLsetter_methodGVKi Kapplication_temporary_stopQ_setterVenvironment_protocolsMM0;
static _KLpairGVKd K87;
static _KLbyte_stringGVKd_34 K88;
extern _KLgetter_methodGVKi Kapplication_temporary_stopQVenvironment_protocolsMM0;
static _KLpairGVKd K90;
static _KLbyte_stringGVKd_27 K91;
extern _KLsealed_generic_functionGVKe Kapplication_stateVenvironment_protocols;
extern _KLsealed_generic_functionGVKe KPstate_setterVenvironment_protocols;
extern _KLsetter_methodGVKi KPstate_setterVenvironment_protocolsMM0;
static _KLpairGVKd K95;
static _KLbyte_stringGVKd_13 K96;
extern _KLgetter_methodGVKi Kapplication_stateVenvironment_protocolsMM0;
static _KLpairGVKd K98;
static _KLbyte_stringGVKd_17 K99;
extern _KLsealed_generic_functionGVKe Kapplication_argumentsVenvironment_protocols;
extern _KLsealed_generic_functionGVKe Kapplication_arguments_setterVenvironment_protocols;
extern _KLsetter_methodGVKi Kapplication_arguments_setterVenvironment_protocolsMM0;
static _KLpairGVKd K103;
static _KLbyte_stringGVKd_28 K104;
extern _KLgetter_methodGVKi Kapplication_argumentsVenvironment_protocolsMM0;
static _KLpairGVKd K106;
static _KLbyte_stringGVKd_21 K107;
static _KLsymbolGVKd KJfilename_;
extern _KLsealed_generic_functionGVKe Kapplication_filenameVenvironment_protocols;
extern _KLsealed_generic_functionGVKe Kapplication_filename_setterVenvironment_protocols;
extern _KLsetter_methodGVKi Kapplication_filename_setterVenvironment_protocolsMM0;
static _KLpairGVKd K112;
static _KLbyte_stringGVKd_27 K113;
extern _KLgetter_methodGVKi Kapplication_filenameVenvironment_protocolsMM0;
static _KLpairGVKd K115;
static _KLbyte_stringGVKd_20 K116;
static _KLbyte_stringGVKd_8 K117;
static _KLsymbolGVKd KJmachine_;
extern _KLincremental_generic_functionGVKe Kapplication_machineVenvironment_protocols;
extern _KLsealed_generic_functionGVKe Kapplication_machine_setterVenvironment_protocols;
extern _KLsetter_methodGVKi Kapplication_machine_setterVenvironment_protocolsMM0;
static _KLpairGVKd K122;
static _KLbyte_stringGVKd_26 K123;
extern _KLgetter_methodGVKi Kapplication_machineVenvironment_protocolsMM0;
static _KLpairGVKd K125;
static _KLsignatureAvaluesGVKi K126;
static _KLbyte_stringGVKd_19 K127;
static _KLsimple_object_vectorGVKd_1 K128;
static _KLsimple_object_vectorGVKd_1 K129;
static _KLunionGVKe K130;
static _KLbyte_stringGVKd_7 K131;
static _KLsymbolGVKd KJclient_;
extern _KLsealed_generic_functionGVKe Kapplication_clientVenvironment_protocols;
extern _KLsealed_generic_functionGVKe Kapplication_client_setterVenvironment_protocols;
extern _KLsetter_methodGVKi Kapplication_client_setterVenvironment_protocolsMM0;
static _KLpairGVKd K136;
static _KLbyte_stringGVKd_25 K137;
extern _KLgetter_methodGVKi Kapplication_clientVenvironment_protocolsMM0;
static _KLpairGVKd K139;
static _KLbyte_stringGVKd_18 K140;
static _KLbyte_stringGVKd_6 K141;
static _KLsimple_closure_methodGVKi_0 K148;
static D K148I ();
extern _KLsealed_generic_functionGVKe Kapplication_object_tableVenvironment_protocols;
extern _KLgetter_methodGVKi Kapplication_object_tableVenvironment_protocolsMM0;
static _KLpairGVKd K146;
static _KLbyte_stringGVKd_24 K147;
static _KLsignatureGVKe K149;
static _KLbyte_stringGVKd_13 K150;
static _KLbyte_stringGVKd_11 K151;
static _KLsignatureAvaluesGVKi K152;
static _KLsignatureGVKe K153;
static _KLsimple_object_vectorGVKd_4 K154;
extern _KLsimple_methodGVKe Kapplication_tetheredQVenvironment_protocols;
D Kapplication_tetheredQVenvironment_protocolsI (D);
extern _KLincremental_generic_functionGVKe Kapplication_closedQVenvironment_protocols;
extern _KLsimple_methodGVKe Kapplication_closedQVenvironment_protocolsMM0;
D Kapplication_closedQVenvironment_protocolsMM0I (D);
static _KLpairGVKd K160;
static _KLsignatureAvaluesGVKi K161;
static _KLbyte_stringGVKd_19 K162;
static _KLsignatureAvaluesGVKi K163;
extern _KLincremental_generic_functionGVKe Kclose_applicationVenvironment_protocols;
extern _KLkeyword_methodGVKe Kclose_applicationVenvironment_protocolsMM0;
D Kclose_applicationVenvironment_protocolsMM0I (D, D, D);
static _KLpairGVKd K167;
static _KLkeyword_signatureGVKe K168;
static _KLbyte_stringGVKd_17 K169;
static _KLsimple_object_vectorGVKd_1 K170;
static _KLsymbolGVKd KJwait_for_terminationQ_;
static _KLbyte_stringGVKd_21 K172;
static _KLkeyword_signatureGVKe K173;
static _KLsimple_object_vectorGVKd_2 K174;
extern _KLincremental_generic_functionGVKe Kstop_applicationVenvironment_protocols;
extern _KLkeyword_methodGVKe Kstop_applicationVenvironment_protocolsMM0;
D Kstop_applicationVenvironment_protocolsMM0I (D, D, D);
static _KLpairGVKd K178;
static _KLkeyword_signatureGVKe K179;
static _KLbyte_stringGVKd_16 K180;
static _KLsimple_object_vectorGVKd_1 K181;
static _KLsymbolGVKd KJclient_data_;
static _KLbyte_stringGVKd_11 K183;
static _KLkeyword_signatureGVKe K184;
static _KLsimple_object_vectorGVKd_2 K185;
extern _KLincremental_generic_functionGVKe Kcontinue_applicationVenvironment_protocols;
extern _KLkeyword_methodGVKe Kcontinue_applicationVenvironment_protocolsMM0;
D Kcontinue_applicationVenvironment_protocolsMM0I (D, D, D);
static _KLpairGVKd K189;
static _KLkeyword_signatureGVKe K190;
static _KLbyte_stringGVKd_20 K191;
static _KLsimple_object_vectorGVKd_1 K192;
static _KLkeyword_signatureGVKe K193;
static _KLsimple_object_vectorGVKd_2 K194;
extern _KLincremental_generic_functionGVKe Kupdate_applicationVenvironment_protocols;
extern _KLkeyword_methodGVKe Kupdate_applicationVenvironment_protocolsMM0;
D Kupdate_applicationVenvironment_protocolsMM0I (D, D, D);
static _KLpairGVKd K198;
static _KLkeyword_signatureGVKe K199;
static _KLbyte_stringGVKd_18 K200;
static _KLsimple_object_vectorGVKd_1 K201;
static _KLsymbolGVKd KJprogress_callback_;
static _KLbyte_stringGVKd_17 K203;
static _KLkeyword_signatureGVKe K204;
static _KLsimple_object_vectorGVKd_2 K205;
extern _KLincremental_generic_functionGVKe Knote_run_application_failedVenvironment_protocols;
extern _KLsimple_methodGVKe Knote_run_application_failedVenvironment_protocolsMM0;
D Knote_run_application_failedVenvironment_protocolsMM0I (D);
static _KLpairGVKd K209;
static _KLsignatureGVKe K210;
static _KLbyte_stringGVKd_27 K211;
extern _KLincremental_generic_functionGVKe Kinitialize_application_clientVenvironment_protocols;
extern _KLsimple_methodGVKe Kinitialize_application_clientVenvironment_protocolsMM0;
D Kinitialize_application_clientVenvironment_protocolsMM0I (D, D);
static _KLpairGVKd K215;
static _KLsignatureGVKe K216;
static _KLbyte_stringGVKd_29 K217;
static _KLsimple_object_vectorGVKd_2 K218;
extern _KLincremental_generic_functionGVKe Krun_applicationVenvironment_protocols;
extern _KLkeyword_methodGVKe Krun_applicationVenvironment_protocolsMM0;
D Krun_applicationVenvironment_protocolsMM0I (D, D, D, D, D, D, D, D, D, D, D);
static _KLpairGVKd K222;
static _KLkeyword_signatureAvaluesGVKi K223;
static _KLbyte_stringGVKd_15 K224;
static _KLsimple_object_vectorGVKd_8 K225;
static _KLsymbolGVKd KJstartup_option_;
static _KLsymbolGVKd KJpause_before_terminationQ_;
static _KLsymbolGVKd KJlibrary_search_paths_;
static _KLsymbolGVKd KJworking_directory_;
static _KLbyte_stringGVKd_17 K230;
static _KLbyte_stringGVKd_20 K231;
static _KLbyte_stringGVKd_25 K232;
static _KLbyte_stringGVKd_14 K233;
D Kproject_default_pause_before_terminationQVenvironment_protocolsI (D);
D Kproject_debug_optionsVenvironment_protocolsI (D);
static _KLbyte_stringGVKd_56 K236;
static _KLsymbolGVKd KJshare_consoleQ_;
static _KLbyte_stringGVKd_14 K238;
static _KLunionGVKe K239;
static _KLsymbolGVKd KJexecutable_;
static _KLsymbolGVKd KJdll_;
static _KLbyte_stringGVKd_4 K242;
static _KLbyte_stringGVKd_40 K243;
static _KLbyte_stringGVKd_16 K244;
static _KLbyte_stringGVKd_3 K245;
static _KLbyte_stringGVKd_10 K246;
static _KLsymbolGVKd KJconsole_;
static _KLbyte_stringGVKd_7 K248;
static _KLkeyword_signatureAvaluesGVKi K249;
static _KLsimple_object_vectorGVKd_18 K250;
static _KLsimple_object_vectorGVKd_9 K251;
extern _KLincremental_generic_functionGVKe Kapplication_stop_reason_messageVenvironment_protocols;
static _KLsignatureAvaluesGVKi K253;
static _KLbyte_stringGVKd_31 K254;
static _KLsimple_object_vectorGVKd_1 K255;
static _KLunionGVKe K256;
extern _KLincremental_generic_functionGVKe Kapplication_startup_optionVenvironment_protocols;
extern _KLsimple_methodGVKe Kapplication_startup_optionVenvironment_protocolsMM0;
D Kapplication_startup_optionVenvironment_protocolsMM0I (D);
static _KLpairGVKd K260;
static _KLsignatureAvaluesGVKi K261;
static _KLbyte_stringGVKd_26 K262;
static _KLsimple_object_vectorGVKd_1 K263;
extern _KLunionGVKe KLapplication_startup_optionGVenvironment_protocols;
static _KLunionGVKe K265;
static _KLsingletonGVKd K266;
static _KLsymbolGVKd KJinteract_;
static _KLbyte_stringGVKd_8 K268;
static _KLsingletonGVKd K269;
static _KLsingletonGVKd K270;
static _KLsymbolGVKd KJdebug_;
static _KLbyte_stringGVKd_5 K272;
static _KLsignatureAvaluesGVKi K273;
extern _KLincremental_generic_functionGVKe Kapplication_pause_before_terminationQVenvironment_protocols;
extern _KLsimple_methodGVKe Kapplication_pause_before_terminationQVenvironment_protocolsMM0;
D Kapplication_pause_before_terminationQVenvironment_protocolsMM0I (D);
static _KLpairGVKd K277;
static _KLbyte_stringGVKd_37 K278;
static _KLsignatureAvaluesGVKi K279;
extern _KLincremental_generic_functionGVKe Kapplication_debugQVenvironment_protocols;
extern _KLsimple_methodGVKe Kapplication_debugQVenvironment_protocolsMM0;
D Kapplication_debugQVenvironment_protocolsMM0I (D);
static _KLpairGVKd K283;
static _KLbyte_stringGVKd_18 K284;
extern _KLincremental_generic_functionGVKe Kapplication_stoppedQVenvironment_protocols;
extern _KLsimple_methodGVKe Kapplication_stoppedQVenvironment_protocolsMM0;
D Kapplication_stoppedQVenvironment_protocolsMM0I (D);
static _KLpairGVKd K288;
static _KLbyte_stringGVKd_20 K289;
extern _KLincremental_generic_functionGVKe Kapplication_runningQVenvironment_protocols;
extern _KLsimple_methodGVKe Kapplication_runningQVenvironment_protocolsMM0;
D Kapplication_runningQVenvironment_protocolsMM0I (D);
static _KLpairGVKd K293;
static _KLbyte_stringGVKd_20 K294;
extern _KLincremental_generic_functionGVKe Kapplication_threadsVenvironment_protocols;
static _KLkeyword_signatureAvaluesGVKi K296;
static _KLbyte_stringGVKd_19 K297;
static _KLsimple_object_vectorGVKd_1 K298;
extern _KLincremental_generic_functionGVKe Kperform_application_transactionVenvironment_protocols;
extern _KLsimple_methodGVKe Kperform_application_transactionVenvironment_protocolsMM0;
D Kperform_application_transactionVenvironment_protocolsMM0I (D, D);
static _KLpairGVKd K302;
static _KLsignatureGVKe K303;
static _KLbyte_stringGVKd_31 K304;
static _KLsimple_object_vectorGVKd_2 K305;
static _KLsignatureGVKe K306;
static _KLsimple_object_vectorGVKd_2 K307;
extern _KLincremental_generic_functionGVKe Knote_application_initializedVenvironment_protocols;
extern _KLsimple_methodGVKe Knote_application_initializedVenvironment_protocolsMM0;
D Knote_application_initializedVenvironment_protocolsMM0I (D);
static _KLpairGVKd K311;
static _KLsignatureGVKe K312;
static _KLbyte_stringGVKd_28 K313;
extern _KLsimple_methodGVKe Kapplication_state_setterVenvironment_protocolsMM0;
D Kapplication_state_setterVenvironment_protocolsMM0I (D, D);
static _KLsignatureAvaluesGVKi K316;
static _KLsimple_object_vectorGVKd_2 K317;
static _KLsimple_object_vectorGVKd_1 K318;

/* Indirection variables */

static D IKJclosed_ = &KJclosed_;
static D IKJstopped_ = &KJstopped_;
static D IKJrunning_ = &KJrunning_;
static D IKJuninitialized_ = &KJuninitialized_;
static D IKJproject_ = &KJproject_;
static D IKJerrorQ_ = &KJerrorQ_;
static D IKJdefault_server_ = &KJdefault_server_;
static D IKJfilename_ = &KJfilename_;
static D IKJmachine_ = &KJmachine_;
static D IKJclient_ = &KJclient_;
static D IKJwait_for_terminationQ_ = &KJwait_for_terminationQ_;
static D IKJclient_data_ = &KJclient_data_;
static D IKJprogress_callback_ = &KJprogress_callback_;
static D IKJstartup_option_ = &KJstartup_option_;
static D IKJpause_before_terminationQ_ = &KJpause_before_terminationQ_;
static D IKJlibrary_search_paths_ = &KJlibrary_search_paths_;
static D IKJworking_directory_ = &KJworking_directory_;
static D IKJshare_consoleQ_ = &KJshare_consoleQ_;
static D IKJexecutable_ = &KJexecutable_;
static D IKJdll_ = &KJdll_;
static D IKJconsole_ = &KJconsole_;
static D IKJinteract_ = &KJinteract_;
static D IKJdebug_ = &KJdebug_;

/* Variables */

D application_state_setterVenvironment_protocols = &Kapplication_state_setterVenvironment_protocolsMM0;
D application_clientVenvironment_protocols = &Kapplication_clientVenvironment_protocols;
D application_filenameVenvironment_protocols = &Kapplication_filenameVenvironment_protocols;
D application_argumentsVenvironment_protocols = &Kapplication_argumentsVenvironment_protocols;
D application_stateVenvironment_protocols = &Kapplication_stateVenvironment_protocols;
D application_temporary_stopQVenvironment_protocols = &Kapplication_temporary_stopQVenvironment_protocols;
D application_temporary_stopQ_setterVenvironment_protocols = &Kapplication_temporary_stopQ_setterVenvironment_protocols;
D Lapplication_stateGVenvironment_protocols = &KLapplication_stateGVenvironment_protocols;
D Lapplication_startup_optionGVenvironment_protocols = &KLapplication_startup_optionGVenvironment_protocols;
D LapplicationGVenvironment_protocols = &KLapplicationGVenvironment_protocols;
D note_application_initializedVenvironment_protocols = &Knote_application_initializedVenvironment_protocols;
D perform_application_transactionVenvironment_protocols = &Kperform_application_transactionVenvironment_protocols;
D application_threadsVenvironment_protocols = &Kapplication_threadsVenvironment_protocols;
D application_runningQVenvironment_protocols = &Kapplication_runningQVenvironment_protocols;
D application_stoppedQVenvironment_protocols = &Kapplication_stoppedQVenvironment_protocols;
D application_closedQVenvironment_protocols = &Kapplication_closedQVenvironment_protocols;
D find_application_proxyVenvironment_protocols = &Kfind_application_proxyVenvironment_protocols;
D application_proxy_idVenvironment_protocols = &Kapplication_proxy_idVenvironment_protocols;
D application_debugQVenvironment_protocols = &Kapplication_debugQVenvironment_protocols;
D application_pause_before_terminationQVenvironment_protocols = &Kapplication_pause_before_terminationQVenvironment_protocols;
D application_startup_optionVenvironment_protocols = &Kapplication_startup_optionVenvironment_protocols;
D application_machineVenvironment_protocols = &Kapplication_machineVenvironment_protocols;
D application_stop_reason_messageVenvironment_protocols = &Kapplication_stop_reason_messageVenvironment_protocols;
D run_applicationVenvironment_protocols = &Krun_applicationVenvironment_protocols;
D initialize_application_clientVenvironment_protocols = &Kinitialize_application_clientVenvironment_protocols;
D note_run_application_failedVenvironment_protocols = &Knote_run_application_failedVenvironment_protocols;
D update_applicationVenvironment_protocols = &Kupdate_applicationVenvironment_protocols;
D continue_applicationVenvironment_protocols = &Kcontinue_applicationVenvironment_protocols;
D stop_applicationVenvironment_protocols = &Kstop_applicationVenvironment_protocols;
D close_applicationVenvironment_protocols = &Kclose_applicationVenvironment_protocols;
D make_project_applicationVenvironment_protocols = &Kmake_project_applicationVenvironment_protocols;
D application_tetheredQVenvironment_protocols = &Kapplication_tetheredQVenvironment_protocols;
D ensure_application_proxyVenvironment_protocols = &Kensure_application_proxyVenvironment_protocols;
D Ddll_wrap_applicationVenvironment_protocols = &K244;

/* Objects */

_KLsimple_methodGVKe Krecord_client_queryVenvironment_protocolsMM2 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_4,
  &K153,
  &Krecord_client_queryVenvironment_protocolsMM2I
};

_KLsimple_methodGVKe Kenvironment_object_type_nameVenvironment_protocolsMM4 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K152,
  &Kenvironment_object_type_nameVenvironment_protocolsMM4I
};

_KLclassGVKd KLapplicationGVenvironment_protocols = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_rcpl_single_smallVKiI,
  &K150,
  &K72,
  (D) 1,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols
};

_KLmm_wrapperGVKi_0 KLapplicationGVenvironment_protocolsW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K72,
  (D) 1,
  37,
  33554439,
  (D) 1
};

_KLkeyword_methodGVKe Kchoose_serverVenvironment_protocolsMM4 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K64,
  &key_mep_5,
  &Kchoose_serverVenvironment_protocolsMM4I,
  &K65
};

_KLsimple_methodGVKe Kensure_application_proxyVenvironment_protocols = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K56,
  &Kensure_application_proxyVenvironment_protocolsI
};

_KLincremental_generic_functionGVKe Kapplication_proxy_idVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &K52,
  &KPfalseVKi,
  &K53,
  &KPempty_listVKi,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLgetter_methodGVKi Kserver_projectVenvironment_protocolsMM2 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kserver_projectVenvironment_protocolsHLapplicationG
};

_KLmethod_domainGVKe Kserver_projectVenvironment_protocolsRD_environment_protocolsRD_0 = {
  &KLmethod_domainGVKeW /* wrapper */,
  &Kenvironment_protocols_libraryYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &Kserver_projectVenvironment_protocolsMM2
};

_KLsimple_methodGVKe Kenvironment_object_home_serverQVenvironment_protocolsMM4 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K47,
  &Kenvironment_object_home_serverQVenvironment_protocolsMM4I
};

_KLsimple_methodGVKe Klookup_environment_object_by_proxyVenvironment_protocolsMM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K44,
  &Klookup_environment_object_by_proxyVenvironment_protocolsMM1I
};

_KLsimple_methodGVKe Kcache_environment_objectVenvironment_protocolsMM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_3,
  &K39,
  &Kcache_environment_objectVenvironment_protocolsMM1I
};

_KLincremental_generic_functionGVKe Kmake_project_applicationVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_optional_xep_1,
  &K35,
  (D) 1,
  &K36,
  &KPempty_listVKi,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLunionGVKe KLapplication_stateGVenvironment_protocols = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K21,
  &K22
};

static _KLunionGVKe K21 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K25,
  &K26
};

static _KLsingletonGVKd K22 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KJclosed_
};

static _KLsymbolGVKd KJclosed_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K24
};

static _KLbyte_stringGVKd_6 K24 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 25,
  "closed"
};

static _KLunionGVKe K25 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K29,
  &K30
};

static _KLsingletonGVKd K26 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KJstopped_
};

static _KLsymbolGVKd KJstopped_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K28
};

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

static _KLsingletonGVKd K29 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KJuninitialized_
};

static _KLsingletonGVKd K30 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KJrunning_
};

static _KLsymbolGVKd KJrunning_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K32
};

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

static _KLsymbolGVKd KJuninitialized_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K34
};

static _KLbyte_stringGVKd_13 K34 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 53,
  "uninitialized"
};

static _KLkeyword_signatureAvaluesGVKi K35 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 34341893,
  &K37,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K38
};

static _KLbyte_stringGVKd_24 K36 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 97,
  "make-project-application"
};

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

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

static _KLsignatureAvaluesGVKi K39 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555469,
  &K40,
  &K41
};

static _KLsimple_object_vectorGVKd_3 K40 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &KLapplicationGVenvironment_protocols,
  &KLobjectGVKd,
  &KLapplication_objectGVenvironment_protocols
};

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

static _KLunionGVKe K42 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K43,
  &KLapplication_objectGVenvironment_protocols
};

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

static _KLsignatureAvaluesGVKi K44 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K45,
  &K46
};

static _KLsimple_object_vectorGVKd_2 K45 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLapplicationGVenvironment_protocols,
  &KLobjectGVKd
};

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

static _KLsignatureAvaluesGVKi K47 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K48,
  &KDsignature_LbooleanG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K48 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLapplicationGVenvironment_protocols,
  &KLapplication_objectGVenvironment_protocols
};

_KLinstance_slot_descriptorGVKe Kserver_projectVenvironment_protocolsHLapplicationG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 193,
  &KPfalseVKi,
  &KLapplicationGVenvironment_protocols,
  &KJproject_,
  &Kserver_projectVenvironment_protocols,
  &KPfalseVKi,
  &KLproject_objectGVenvironment_protocols
};

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

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

static _KLsignatureAvaluesGVKi K52 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K45,
  &K54
};

static _KLbyte_stringGVKd_20 K53 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 81,
  "application-proxy-id"
};

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

static _KLunionGVKe K55 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K43,
  &KLidGVenvironment_protocols
};

static _KLsignatureGVKe K56 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 41944073,
  &K48
};

_KLincremental_generic_functionGVKe Kfind_application_proxyVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &K61,
  (D) 1,
  &K62,
  &K60,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLsimple_methodGVKe Kfind_application_proxyVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K61,
  &Kfind_application_proxyVenvironment_protocolsMM0I
};

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

static _KLsignatureGVKe K61 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 41944073,
  &K63
};

static _KLbyte_stringGVKd_22 K62 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 89,
  "find-application-proxy"
};

static _KLsimple_object_vectorGVKd_2 K63 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLapplicationGVenvironment_protocols,
  &KLidGVenvironment_protocols
};

static _KLkeyword_signatureAvaluesGVKi K64 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 33817609,
  &K70,
  &K71,
  &KDsignature_LobjectG_typesVKi,
  &K38
};

static _KLsimple_object_vectorGVKd_4 K65 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 17,
  &KJerrorQ_,
  &KPfalseVKi,
  &KJdefault_server_,
  &KPfalseVKi
};

static _KLsymbolGVKd KJerrorQ_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K69
};

static _KLsymbolGVKd KJdefault_server_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K68
};

static _KLbyte_stringGVKd_14 K68 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 57,
  "default-server"
};

static _KLbyte_stringGVKd_6 K69 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 25,
  "error?"
};

static _KLsimple_object_vectorGVKd_2 K70 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLproject_objectGVenvironment_protocols,
  &KLapplicationGVenvironment_protocols
};

static _KLsimple_object_vectorGVKd_2 K71 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KJerrorQ_,
  &KJdefault_server_
};

static _KLimplementation_classGVKe K72 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 325845029,
  &KLapplicationGVenvironment_protocols,
  &KLapplicationGVenvironment_protocolsW,
  &KPfalseVKi,
  &K73,
  (D) -3,
  &Kdefault_class_constructorVKi,
  &K74,
  &K75,
  (D) 13,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &K76,
  &K73,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_9 K73 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 37,
  &KPprimitive_nameVenvironment_protocolsHLenvironment_objectG,
  &Kserver_projectVenvironment_protocolsHLapplicationG,
  &Kapplication_object_tableVenvironment_protocolsHLapplicationG,
  &Kapplication_clientVenvironment_protocolsHLapplicationG,
  &Kapplication_machineVenvironment_protocolsHLapplicationG,
  &Kapplication_filenameVenvironment_protocolsHLapplicationG,
  &Kapplication_argumentsVenvironment_protocolsHLapplicationG,
  &Kapplication_stateVenvironment_protocolsHLapplicationG,
  &Kapplication_temporary_stopQVenvironment_protocolsHLapplicationG
};

static _KLsimple_object_vectorGVKd_2 K74 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLserverGVenvironment_protocols,
  &KLenvironment_objectGVenvironment_protocols
};

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

static _KLsimple_object_vectorGVKd_8 K76 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 33,
  &Kserver_projectVenvironment_protocolsHLapplicationG,
  &Kapplication_object_tableVenvironment_protocolsHLapplicationG,
  &Kapplication_clientVenvironment_protocolsHLapplicationG,
  &Kapplication_machineVenvironment_protocolsHLapplicationG,
  &Kapplication_filenameVenvironment_protocolsHLapplicationG,
  &Kapplication_argumentsVenvironment_protocolsHLapplicationG,
  &Kapplication_stateVenvironment_protocolsHLapplicationG,
  &Kapplication_temporary_stopQVenvironment_protocolsHLapplicationG
};

_KLinstance_slot_descriptorGVKe Kapplication_object_tableVenvironment_protocolsHLapplicationG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 149,
  &K148,
  &KLapplicationGVenvironment_protocols,
  &KPfalseVKi,
  &Kapplication_object_tableVenvironment_protocols,
  &KPfalseVKi,
  &KLtableGVKd
};

_KLinstance_slot_descriptorGVKe Kapplication_clientVenvironment_protocolsHLapplicationG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 193,
  &KPfalseVKi,
  &KLapplicationGVenvironment_protocols,
  &KJclient_,
  &Kapplication_clientVenvironment_protocols,
  &Kapplication_client_setterVenvironment_protocols,
  &KLobjectGVKd
};

_KLinstance_slot_descriptorGVKe Kapplication_machineVenvironment_protocolsHLapplicationG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 193,
  &KPfalseVKi,
  &KLapplicationGVenvironment_protocols,
  &KJmachine_,
  &Kapplication_machineVenvironment_protocols,
  &Kapplication_machine_setterVenvironment_protocols,
  &KLmachineGVenvironment_protocols
};

_KLinstance_slot_descriptorGVKe Kapplication_filenameVenvironment_protocolsHLapplicationG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 193,
  &KPfalseVKi,
  &KLapplicationGVenvironment_protocols,
  &KJfilename_,
  &Kapplication_filenameVenvironment_protocols,
  &Kapplication_filename_setterVenvironment_protocols,
  &KLfile_locatorGYlocatorsVsystem
};

_KLinstance_slot_descriptorGVKe Kapplication_argumentsVenvironment_protocolsHLapplicationG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 157,
  &KPempty_stringVKi,
  &KLapplicationGVenvironment_protocols,
  &KJarguments_,
  &Kapplication_argumentsVenvironment_protocols,
  &Kapplication_arguments_setterVenvironment_protocols,
  &KLstringGVKd
};

_KLinstance_slot_descriptorGVKe Kapplication_stateVenvironment_protocolsHLapplicationG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 157,
  &KJuninitialized_,
  &KLapplicationGVenvironment_protocols,
  &KPfalseVKi,
  &Kapplication_stateVenvironment_protocols,
  &KPstate_setterVenvironment_protocols,
  &KLapplication_stateGVenvironment_protocols
};

_KLinstance_slot_descriptorGVKe Kapplication_temporary_stopQVenvironment_protocolsHLapplicationG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 157,
  &KPfalseVKi,
  &KLapplicationGVenvironment_protocols,
  &KPfalseVKi,
  &Kapplication_temporary_stopQVenvironment_protocols,
  &Kapplication_temporary_stopQ_setterVenvironment_protocols,
  &KLbooleanGVKd
};

_KLsealed_generic_functionGVKe Kapplication_temporary_stopQVenvironment_protocols = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K91,
  &K90,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsealed_generic_functionGVKe Kapplication_temporary_stopQ_setterVenvironment_protocols = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &KDsignature_LobjectG_object_rest_value_2VKi,
  &KPfalseVKi,
  &K88,
  &K87,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsetter_methodGVKi Kapplication_temporary_stopQ_setterVenvironment_protocolsMM0 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &Kapplication_temporary_stopQVenvironment_protocolsHLapplicationG
};

static _KLpairGVKd K87 = {
  &KLpairGVKdW /* wrapper */,
  &Kapplication_temporary_stopQ_setterVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_34 K88 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 137,
  "application-temporary-stop?-setter"
};

_KLgetter_methodGVKi Kapplication_temporary_stopQVenvironment_protocolsMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kapplication_temporary_stopQVenvironment_protocolsHLapplicationG
};

static _KLpairGVKd K90 = {
  &KLpairGVKdW /* wrapper */,
  &Kapplication_temporary_stopQVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_27 K91 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 109,
  "application-temporary-stop?"
};

_KLsealed_generic_functionGVKe Kapplication_stateVenvironment_protocols = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K99,
  &K98,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsealed_generic_functionGVKe KPstate_setterVenvironment_protocols = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &KDsignature_LobjectG_object_rest_value_2VKi,
  &KPfalseVKi,
  &K96,
  &K95,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsetter_methodGVKi KPstate_setterVenvironment_protocolsMM0 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &Kapplication_stateVenvironment_protocolsHLapplicationG
};

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

static _KLbyte_stringGVKd_13 K96 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 53,
  "%state-setter"
};

_KLgetter_methodGVKi Kapplication_stateVenvironment_protocolsMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kapplication_stateVenvironment_protocolsHLapplicationG
};

static _KLpairGVKd K98 = {
  &KLpairGVKdW /* wrapper */,
  &Kapplication_stateVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_17 K99 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 69,
  "application-state"
};

_KLsealed_generic_functionGVKe Kapplication_argumentsVenvironment_protocols = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K107,
  &K106,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsealed_generic_functionGVKe Kapplication_arguments_setterVenvironment_protocols = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &KDsignature_LobjectG_object_rest_value_2VKi,
  &KPfalseVKi,
  &K104,
  &K103,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsetter_methodGVKi Kapplication_arguments_setterVenvironment_protocolsMM0 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &Kapplication_argumentsVenvironment_protocolsHLapplicationG
};

static _KLpairGVKd K103 = {
  &KLpairGVKdW /* wrapper */,
  &Kapplication_arguments_setterVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_28 K104 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 113,
  "application-arguments-setter"
};

_KLgetter_methodGVKi Kapplication_argumentsVenvironment_protocolsMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kapplication_argumentsVenvironment_protocolsHLapplicationG
};

static _KLpairGVKd K106 = {
  &KLpairGVKdW /* wrapper */,
  &Kapplication_argumentsVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_21 K107 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 85,
  "application-arguments"
};

static _KLsymbolGVKd KJfilename_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K117
};

_KLsealed_generic_functionGVKe Kapplication_filenameVenvironment_protocols = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K116,
  &K115,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsealed_generic_functionGVKe Kapplication_filename_setterVenvironment_protocols = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &KDsignature_LobjectG_object_rest_value_2VKi,
  &KPfalseVKi,
  &K113,
  &K112,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsetter_methodGVKi Kapplication_filename_setterVenvironment_protocolsMM0 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &Kapplication_filenameVenvironment_protocolsHLapplicationG
};

static _KLpairGVKd K112 = {
  &KLpairGVKdW /* wrapper */,
  &Kapplication_filename_setterVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_27 K113 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 109,
  "application-filename-setter"
};

_KLgetter_methodGVKi Kapplication_filenameVenvironment_protocolsMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kapplication_filenameVenvironment_protocolsHLapplicationG
};

static _KLpairGVKd K115 = {
  &KLpairGVKdW /* wrapper */,
  &Kapplication_filenameVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_20 K116 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 81,
  "application-filename"
};

static _KLbyte_stringGVKd_8 K117 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 33,
  "filename"
};

static _KLsymbolGVKd KJmachine_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K131
};

_KLincremental_generic_functionGVKe Kapplication_machineVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &K126,
  &KPfalseVKi,
  &K127,
  &K125,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLsealed_generic_functionGVKe Kapplication_machine_setterVenvironment_protocols = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &KDsignature_LobjectG_object_rest_value_2VKi,
  &KPfalseVKi,
  &K123,
  &K122,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsetter_methodGVKi Kapplication_machine_setterVenvironment_protocolsMM0 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &Kapplication_machineVenvironment_protocolsHLapplicationG
};

static _KLpairGVKd K122 = {
  &KLpairGVKdW /* wrapper */,
  &Kapplication_machine_setterVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_26 K123 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 105,
  "application-machine-setter"
};

_KLgetter_methodGVKi Kapplication_machineVenvironment_protocolsMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kapplication_machineVenvironment_protocolsHLapplicationG
};

static _KLpairGVKd K125 = {
  &KLpairGVKdW /* wrapper */,
  &Kapplication_machineVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLsignatureAvaluesGVKi K126 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K128,
  &K129
};

static _KLbyte_stringGVKd_19 K127 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 77,
  "application-machine"
};

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

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

static _KLunionGVKe K130 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K43,
  &KLmachineGVenvironment_protocols
};

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

static _KLsymbolGVKd KJclient_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K141
};

_KLsealed_generic_functionGVKe Kapplication_clientVenvironment_protocols = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K140,
  &K139,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsealed_generic_functionGVKe Kapplication_client_setterVenvironment_protocols = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &KDsignature_LobjectG_object_rest_value_2VKi,
  &KPfalseVKi,
  &K137,
  &K136,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsetter_methodGVKi Kapplication_client_setterVenvironment_protocolsMM0 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &Kapplication_clientVenvironment_protocolsHLapplicationG
};

static _KLpairGVKd K136 = {
  &KLpairGVKdW /* wrapper */,
  &Kapplication_client_setterVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_25 K137 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 101,
  "application-client-setter"
};

_KLgetter_methodGVKi Kapplication_clientVenvironment_protocolsMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kapplication_clientVenvironment_protocolsHLapplicationG
};

static _KLpairGVKd K139 = {
  &KLpairGVKdW /* wrapper */,
  &Kapplication_clientVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_18 K140 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 73,
  "application-client"
};

static _KLbyte_stringGVKd_6 K141 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 25,
  "client"
};

static _KLsimple_closure_methodGVKi_0 K148 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_0,
  &K149,
  &K148I,
  (D) 1
};

_KLsealed_generic_functionGVKe Kapplication_object_tableVenvironment_protocols = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K147,
  &K146,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLgetter_methodGVKi Kapplication_object_tableVenvironment_protocolsMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kapplication_object_tableVenvironment_protocolsHLapplicationG
};

static _KLpairGVKd K146 = {
  &KLpairGVKdW /* wrapper */,
  &Kapplication_object_tableVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_24 K147 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 97,
  "application-object-table"
};

static _KLsignatureGVKe K149 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 41944065,
  &KPempty_vectorVKi
};

static _KLbyte_stringGVKd_13 K150 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 53,
  "<application>"
};

static _KLbyte_stringGVKd_11 K151 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 45,
  "Application"
};

static _KLsignatureAvaluesGVKi K152 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K38,
  &KDsignature_LstringG_typesVKi
};

static _KLsignatureGVKe K153 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 41943057,
  &K154
};

static _KLsimple_object_vectorGVKd_4 K154 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 17,
  &KLapplicationGVenvironment_protocols,
  &KLobjectGVKd,
  &KLapplication_objectGVenvironment_protocols,
  &KLsymbolGVKd
};

_KLsimple_methodGVKe Kapplication_tetheredQVenvironment_protocols = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K163,
  &Kapplication_tetheredQVenvironment_protocolsI
};

_KLincremental_generic_functionGVKe Kapplication_closedQVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &K161,
  (D) 1,
  &K162,
  &K160,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLsimple_methodGVKe Kapplication_closedQVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K161,
  &Kapplication_closedQVenvironment_protocolsMM0I
};

static _KLpairGVKd K160 = {
  &KLpairGVKdW /* wrapper */,
  &Kapplication_closedQVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLsignatureAvaluesGVKi K161 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K38,
  &KDsignature_LbooleanG_typesVKi
};

static _KLbyte_stringGVKd_19 K162 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 77,
  "application-closed?"
};

static _KLsignatureAvaluesGVKi K163 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K128,
  &KDsignature_LbooleanG_typesVKi
};

_KLincremental_generic_functionGVKe Kclose_applicationVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_optional_xep_1,
  &K168,
  (D) 1,
  &K169,
  &K167,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLkeyword_methodGVKe Kclose_applicationVenvironment_protocolsMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_3,
  &K173,
  &key_mep_3,
  &Kclose_applicationVenvironment_protocolsMM0I,
  &K174
};

static _KLpairGVKd K167 = {
  &KLpairGVKdW /* wrapper */,
  &Kclose_applicationVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLkeyword_signatureGVKe K168 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (D) 42205189,
  &K128,
  &K170,
  &KDsignature_LbooleanG_typesVKi
};

static _KLbyte_stringGVKd_17 K169 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 69,
  "close-application"
};

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

static _KLsymbolGVKd KJwait_for_terminationQ_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K172
};

static _KLbyte_stringGVKd_21 K172 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 85,
  "wait-for-termination?"
};

static _KLkeyword_signatureGVKe K173 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (D) 42205189,
  &K37,
  &K170,
  &KDsignature_LbooleanG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K174 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KJwait_for_terminationQ_,
  &KPfalseVKi
};

_KLincremental_generic_functionGVKe Kstop_applicationVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_optional_xep_1,
  &K179,
  (D) 1,
  &K180,
  &K178,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLkeyword_methodGVKe Kstop_applicationVenvironment_protocolsMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_3,
  &K184,
  &key_mep_3,
  &Kstop_applicationVenvironment_protocolsMM0I,
  &K185
};

static _KLpairGVKd K178 = {
  &KLpairGVKdW /* wrapper */,
  &Kstop_applicationVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLkeyword_signatureGVKe K179 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (D) 42205189,
  &K128,
  &K181,
  &KDsignature_LobjectG_typesVKi
};

static _KLbyte_stringGVKd_16 K180 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 65,
  "stop-application"
};

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

static _KLsymbolGVKd KJclient_data_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K183
};

static _KLbyte_stringGVKd_11 K183 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 45,
  "client-data"
};

static _KLkeyword_signatureGVKe K184 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (D) 42205189,
  &K37,
  &K181,
  &KDsignature_LobjectG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K185 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KJclient_data_,
  &KPfalseVKi
};

_KLincremental_generic_functionGVKe Kcontinue_applicationVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_optional_xep_1,
  &K190,
  (D) 1,
  &K191,
  &K189,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLkeyword_methodGVKe Kcontinue_applicationVenvironment_protocolsMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_3,
  &K193,
  &key_mep_3,
  &Kcontinue_applicationVenvironment_protocolsMM0I,
  &K194
};

static _KLpairGVKd K189 = {
  &KLpairGVKdW /* wrapper */,
  &Kcontinue_applicationVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLkeyword_signatureGVKe K190 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (D) 42205189,
  &K128,
  &K192,
  &KDsignature_LobjectG_typesVKi
};

static _KLbyte_stringGVKd_20 K191 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 81,
  "continue-application"
};

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

static _KLkeyword_signatureGVKe K193 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (D) 42205189,
  &K37,
  &K192,
  &KDsignature_LobjectG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K194 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KJthread_,
  &KPfalseVKi
};

_KLincremental_generic_functionGVKe Kupdate_applicationVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_optional_xep_1,
  &K199,
  (D) 1,
  &K200,
  &K198,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLkeyword_methodGVKe Kupdate_applicationVenvironment_protocolsMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_3,
  &K204,
  &key_mep_3,
  &Kupdate_applicationVenvironment_protocolsMM0I,
  &K205
};

static _KLpairGVKd K198 = {
  &KLpairGVKdW /* wrapper */,
  &Kupdate_applicationVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLkeyword_signatureGVKe K199 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (D) 42205189,
  &K128,
  &K201,
  &KDsignature_LobjectG_typesVKi
};

static _KLbyte_stringGVKd_18 K200 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 73,
  "update-application"
};

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

static _KLsymbolGVKd KJprogress_callback_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K203
};

static _KLbyte_stringGVKd_17 K203 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 69,
  "progress-callback"
};

static _KLkeyword_signatureGVKe K204 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (D) 42205189,
  &K37,
  &K201,
  &KDsignature_LobjectG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K205 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KJprogress_callback_,
  &KPfalseVKi
};

_KLincremental_generic_functionGVKe Knote_run_application_failedVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &K210,
  &KPfalseVKi,
  &K211,
  &K209,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLsimple_methodGVKe Knote_run_application_failedVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K210,
  &Knote_run_application_failedVenvironment_protocolsMM0I
};

static _KLpairGVKd K209 = {
  &KLpairGVKdW /* wrapper */,
  &Knote_run_application_failedVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLsignatureGVKe K210 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 41943045,
  &K38
};

static _KLbyte_stringGVKd_27 K211 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 109,
  "note-run-application-failed"
};

_KLincremental_generic_functionGVKe Kinitialize_application_clientVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &K216,
  &KPfalseVKi,
  &K217,
  &K215,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLsimple_methodGVKe Kinitialize_application_clientVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K216,
  &Kinitialize_application_clientVenvironment_protocolsMM0I
};

static _KLpairGVKd K215 = {
  &KLpairGVKdW /* wrapper */,
  &Kinitialize_application_clientVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLsignatureGVKe K216 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 41943049,
  &K218
};

static _KLbyte_stringGVKd_29 K217 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 117,
  "initialize-application-client"
};

static _KLsimple_object_vectorGVKd_2 K218 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLobjectGVKd,
  &KLapplicationGVenvironment_protocols
};

_KLincremental_generic_functionGVKe Krun_applicationVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_optional_xep_1,
  &K223,
  &KPfalseVKi,
  &K224,
  &K222,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLkeyword_methodGVKe Krun_applicationVenvironment_protocolsMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep,
  &K249,
  &key_mep,
  &Krun_applicationVenvironment_protocolsMM0I,
  &K250
};

static _KLpairGVKd K222 = {
  &KLpairGVKdW /* wrapper */,
  &Krun_applicationVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLkeyword_signatureAvaluesGVKi K223 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 33817605,
  &K128,
  &K225,
  &KDsignature_LobjectG_typesVKi,
  &K38
};

static _KLbyte_stringGVKd_15 K224 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 61,
  "run-application"
};

static _KLsimple_object_vectorGVKd_8 K225 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 33,
  &KJstartup_option_,
  &KJclient_,
  &KJfilename_,
  &KJarguments_,
  &KJpause_before_terminationQ_,
  &KJlibrary_search_paths_,
  &KJworking_directory_,
  &KJmachine_
};

static _KLsymbolGVKd KJstartup_option_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K233
};

static _KLsymbolGVKd KJpause_before_terminationQ_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K232
};

static _KLsymbolGVKd KJlibrary_search_paths_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K231
};

static _KLsymbolGVKd KJworking_directory_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K230
};

static _KLbyte_stringGVKd_17 K230 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 69,
  "working-directory"
};

static _KLbyte_stringGVKd_20 K231 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 81,
  "library-search-paths"
};

static _KLbyte_stringGVKd_25 K232 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 101,
  "pause-before-termination?"
};

static _KLbyte_stringGVKd_14 K233 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 57,
  "startup-option"
};

static _KLbyte_stringGVKd_56 K236 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 225,
  "Attempting to restart an already running application: %s"
};

static _KLsymbolGVKd KJshare_consoleQ_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K238
};

static _KLbyte_stringGVKd_14 K238 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 57,
  "share-console?"
};

static _KLunionGVKe K239 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K43,
  &KLdirectory_locatorGYlocatorsVsystem
};

static _KLsymbolGVKd KJexecutable_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K246
};

static _KLsymbolGVKd KJdll_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K245
};

static _KLbyte_stringGVKd_4 K242 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 17,
  "\"%s\""
};

static _KLbyte_stringGVKd_40 K243 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 161,
  "The project is neither a DLL nor an EXE?"
};

static _KLbyte_stringGVKd_16 K244 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 65,
  "bin/dll-wrap.exe"
};

static _KLbyte_stringGVKd_3 K245 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 13,
  "dll"
};

static _KLbyte_stringGVKd_10 K246 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 41,
  "executable"
};

static _KLsymbolGVKd KJconsole_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K248
};

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

static _KLkeyword_signatureAvaluesGVKi K249 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 33817605,
  &K37,
  &K251,
  &KDsignature_LobjectG_typesVKi,
  &K38
};

static _KLsimple_object_vectorGVKd_18 K250 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 73,
  &KJstartup_option_,
  &KJstart_,
  &KJclient_,
  &KPunboundVKi,
  &KJfilename_,
  &KPfalseVKi,
  &KJarguments_,
  &KPfalseVKi,
  &KJworking_directory_,
  &KPfalseVKi,
  &KJpause_before_terminationQ_,
  &KPunboundVKi,
  &KJshare_consoleQ_,
  &KPfalseVKi,
  &KJlibrary_search_paths_,
  &KPunboundVKi,
  &KJmachine_,
  &KPunboundVKi
};

static _KLsimple_object_vectorGVKd_9 K251 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 37,
  &KJstartup_option_,
  &KJclient_,
  &KJfilename_,
  &KJarguments_,
  &KJworking_directory_,
  &KJpause_before_terminationQ_,
  &KJshare_consoleQ_,
  &KJlibrary_search_paths_,
  &KJmachine_
};

_KLincremental_generic_functionGVKe Kapplication_stop_reason_messageVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &K253,
  &KPfalseVKi,
  &K254,
  &KPempty_listVKi,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

static _KLsignatureAvaluesGVKi K253 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K38,
  &K255
};

static _KLbyte_stringGVKd_31 K254 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 125,
  "application-stop-reason-message"
};

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

static _KLunionGVKe K256 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K43,
  &KLstringGVKd
};

_KLincremental_generic_functionGVKe Kapplication_startup_optionVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &K261,
  (D) 1,
  &K262,
  &K260,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLsimple_methodGVKe Kapplication_startup_optionVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K273,
  &Kapplication_startup_optionVenvironment_protocolsMM0I
};

static _KLpairGVKd K260 = {
  &KLpairGVKdW /* wrapper */,
  &Kapplication_startup_optionVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLsignatureAvaluesGVKi K261 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K128,
  &K263
};

static _KLbyte_stringGVKd_26 K262 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 105,
  "application-startup-option"
};

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

_KLunionGVKe KLapplication_startup_optionGVenvironment_protocols = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K265,
  &K266
};

static _KLunionGVKe K265 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K269,
  &K270
};

static _KLsingletonGVKd K266 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KJinteract_
};

static _KLsymbolGVKd KJinteract_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K268
};

static _KLbyte_stringGVKd_8 K268 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 33,
  "interact"
};

static _KLsingletonGVKd K269 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KJstart_
};

static _KLsingletonGVKd K270 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KJdebug_
};

static _KLsymbolGVKd KJdebug_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K272
};

static _KLbyte_stringGVKd_5 K272 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 21,
  "debug"
};

static _KLsignatureAvaluesGVKi K273 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K37,
  &K263
};

_KLincremental_generic_functionGVKe Kapplication_pause_before_terminationQVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &K163,
  (D) 1,
  &K278,
  &K277,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLsimple_methodGVKe Kapplication_pause_before_terminationQVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K279,
  &Kapplication_pause_before_terminationQVenvironment_protocolsMM0I
};

static _KLpairGVKd K277 = {
  &KLpairGVKdW /* wrapper */,
  &Kapplication_pause_before_terminationQVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_37 K278 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 149,
  "application-pause-before-termination?"
};

static _KLsignatureAvaluesGVKi K279 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K37,
  &KDsignature_LbooleanG_typesVKi
};

_KLincremental_generic_functionGVKe Kapplication_debugQVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &K163,
  (D) 1,
  &K284,
  &K283,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLsimple_methodGVKe Kapplication_debugQVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K279,
  &Kapplication_debugQVenvironment_protocolsMM0I
};

static _KLpairGVKd K283 = {
  &KLpairGVKdW /* wrapper */,
  &Kapplication_debugQVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_18 K284 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 73,
  "application-debug?"
};

_KLincremental_generic_functionGVKe Kapplication_stoppedQVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &K161,
  &KPfalseVKi,
  &K289,
  &K288,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLsimple_methodGVKe Kapplication_stoppedQVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K161,
  &Kapplication_stoppedQVenvironment_protocolsMM0I
};

static _KLpairGVKd K288 = {
  &KLpairGVKdW /* wrapper */,
  &Kapplication_stoppedQVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_20 K289 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 81,
  "application-stopped?"
};

_KLincremental_generic_functionGVKe Kapplication_runningQVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &K161,
  &KPfalseVKi,
  &K294,
  &K293,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLsimple_methodGVKe Kapplication_runningQVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K161,
  &Kapplication_runningQVenvironment_protocolsMM0I
};

static _KLpairGVKd K293 = {
  &KLpairGVKdW /* wrapper */,
  &Kapplication_runningQVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_20 K294 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 81,
  "application-running?"
};

_KLincremental_generic_functionGVKe Kapplication_threadsVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_optional_xep_1,
  &K296,
  &KPfalseVKi,
  &K297,
  &KPempty_listVKi,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

static _KLkeyword_signatureAvaluesGVKi K296 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 33817605,
  &K38,
  &K298,
  &KDsignature_LobjectG_typesVKi,
  &KDsignature_LsequenceG_typesVKi
};

static _KLbyte_stringGVKd_19 K297 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 77,
  "application-threads"
};

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

_KLincremental_generic_functionGVKe Kperform_application_transactionVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &K303,
  (D) 1,
  &K304,
  &K302,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLsimple_methodGVKe Kperform_application_transactionVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K306,
  &Kperform_application_transactionVenvironment_protocolsMM0I
};

static _KLpairGVKd K302 = {
  &KLpairGVKdW /* wrapper */,
  &Kperform_application_transactionVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLsignatureGVKe K303 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 44040201,
  &K305
};

static _KLbyte_stringGVKd_31 K304 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 125,
  "perform-application-transaction"
};

static _KLsimple_object_vectorGVKd_2 K305 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLserverGVenvironment_protocols,
  &KLfunctionGVKd
};

static _KLsignatureGVKe K306 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 44040201,
  &K307
};

static _KLsimple_object_vectorGVKd_2 K307 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLproject_objectGVenvironment_protocols,
  &KLfunctionGVKd
};

_KLincremental_generic_functionGVKe Knote_application_initializedVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &K312,
  &KPfalseVKi,
  &K313,
  &K311,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLsimple_methodGVKe Knote_application_initializedVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K312,
  &Knote_application_initializedVenvironment_protocolsMM0I
};

static _KLpairGVKd K311 = {
  &KLpairGVKdW /* wrapper */,
  &Knote_application_initializedVenvironment_protocolsMM0,
  &KPempty_listVKi
};

static _KLsignatureGVKe K312 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 41943045,
  &K37
};

static _KLbyte_stringGVKd_28 K313 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 113,
  "note-application-initialized"
};

_KLsimple_methodGVKe Kapplication_state_setterVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K316,
  &Kapplication_state_setterVenvironment_protocolsMM0I
};

static _KLsignatureAvaluesGVKi K316 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K317,
  &K318
};

static _KLsimple_object_vectorGVKd_2 K317 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLapplication_stateGVenvironment_protocols,
  &KLapplicationGVenvironment_protocols
};

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

/* Code */

D Krecord_client_queryVenvironment_protocolsMM2I (D application_, D client_, D object_, D type_) {
  D T5;
  D T6;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:210
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:214
  T6 = SLOT_VALUE_INITD(application_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:214
  CONGRUENT_CALL_PROLOG(&Krecord_client_queryVenvironment_protocols, 4);
  T5 = CONGRUENT_CALL4(T6, client_, object_, type_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:210
  MV_SET_COUNT(0);
  return(T5);
}

D Kenvironment_object_type_nameVenvironment_protocolsMM4I (D object_) {
  D T2_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:217
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:219
  T2_0 = &K151;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:217
  MV_SET_COUNT(1);
  return(T2_0);
}

D Kchoose_serverVenvironment_protocolsMM4I (D project_, D application_, D Urest_, D errorQ_, D default_server_) {
  D T6_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:202
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:207
  T6_0 = application_;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:202
  MV_SET_COUNT(1);
  return(T6_0);
}

D Kensure_application_proxyVenvironment_protocolsI (D application_, D object_) {
  D Utmp_;
  D T4_0;
  D id_;
  D proxy_;
  D T7_0;
  D T8_0;
  D T9_0;
  D T10_0;
  D T11_0;
  D T12_0;
  D T13;
  D T14;
  D T15;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:422
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:425
  CONGRUENT_CALL_PROLOG(&Kapplication_object_proxyVenvironment_protocols, 1);
  Utmp_ = CONGRUENT_CALL1(object_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:425
  if (Utmp_ != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:425
    T4_0 = Utmp_;
    T12_0 = T4_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:427
    T14 = SLOT_VALUE_INITD(application_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:428
    CONGRUENT_CALL_PROLOG(&Kenvironment_object_idVenvironment_protocols, 2);
    id_ = CONGRUENT_CALL2(T14, object_);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:429
    T15 = primitive_instanceQ(id_,&KLidGVenvironment_protocols);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:429
    if (T15 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/project-objects.dylan:949
      T13 = id_;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:430
      CONGRUENT_CALL_PROLOG(&Kfind_application_proxyVenvironment_protocols, 2);
      proxy_ = CONGRUENT_CALL2(application_, T13);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:431
      if (proxy_ != &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:432
        CONGRUENT_CALL_PROLOG(&Kapplication_object_proxy_setterVenvironment_protocols, 2);
        CONGRUENT_CALL2(proxy_, object_);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:432
        T7_0 = proxy_;
        T9_0 = T7_0;
      } else {
        // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:431
        T8_0 = &KPfalseVKi;
        T9_0 = T8_0;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:431
      T11_0 = T9_0;
    } else {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:429
      T10_0 = &KPfalseVKi;
      T11_0 = T10_0;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:429
    T12_0 = T11_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:425
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:422
  MV_SET_COUNT(1);
  return(T12_0);
}

D Kenvironment_object_home_serverQVenvironment_protocolsMM4I (D application_, D object_) {
  D proxy_;
  D T4;
  D T5_0;
  D T6_0;
  D T7_0;
  D T8;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:234
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:237
  CONGRUENT_CALL_PROLOG(&Kapplication_object_proxyVenvironment_protocols, 1);
  proxy_ = CONGRUENT_CALL1(object_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:238
  if (proxy_ != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:238
    T8 = Klookup_environment_object_by_proxyVenvironment_protocolsMM1I(application_, proxy_);
    T4 = T8;
  } else {
    T4 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:238
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:238
  if (T4 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:238
    T5_0 = &KPtrueVKi;
    T7_0 = T5_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:238
    T6_0 = &KPfalseVKi;
    T7_0 = T6_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:238
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:234
  MV_SET_COUNT(1);
  return(T7_0);
}

D Klookup_environment_object_by_proxyVenvironment_protocolsMM1I (D application_, D proxy_) {
  D T3_0;
  D T4;
  D T5_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:222
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:225
  T4 = SLOT_VALUE_INITD(application_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:225
  T5_0 = KgethashVKiI(T4, proxy_, &KPfalseVKi, &KPtrueVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:222
  T3_0 = T5_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T5_0);
    primitive_type_check(T3_0, &K42);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:222
  MV_SET_COUNT(1);
  return(T3_0);
}

D Kcache_environment_objectVenvironment_protocolsMM1I (D application_, D proxy_, D object_) {
  D T4_0;
  D T5;
  D T6;
  D T7;
  _KLsimple_object_vectorGVKd_4 T8 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T9;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:228
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:231
  T5 = SLOT_VALUE_INITD(application_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:231
  T6 = SLOT_VALUE_INITD(T5, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:231
  T7 = primitive_instanceQ(object_,T6);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:231
  if (T7 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:231
    T8.vector_element_[0] = &KJvalue_;
    T8.vector_element_[1] = object_;
    T8.vector_element_[2] = &KJtype_;
    T8.vector_element_[3] = T6;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:231
    CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
    T9 = CONGRUENT_CALL2(&KLtype_errorGVKd, &T8);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:231
    CONGRUENT_CALL_PROLOG(&KerrorVKd, 2);
    CONGRUENT_CALL2(T9, &KPempty_vectorVKi);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:231
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:231
  KputhashVKiI(object_, T5, proxy_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:231
  T4_0 = object_;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:228
  MV_SET_COUNT(1);
  return(T4_0);
}

D Kfind_application_proxyVenvironment_protocolsMM0I (D application_, D id_) {
  D T3_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:416
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:419
  T3_0 = &KPfalseVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:416
  MV_SET_COUNT(1);
  return(T3_0);
}

static D K148I () {
  D T0;
  D T1_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:21
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:21
  T0 = Kmake_object_cacheVenvironment_protocolsI();
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:21
  T1_0 = T0;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:21
  MV_SET_COUNT(1);
  return(T1_0);
}

D Kapplication_tetheredQVenvironment_protocolsI (D server_) {
  D project_;
  D T3;
  D T4_0;
  D T5_0;
  D T6;
  D T7;
  D T8;
  D T9_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:169
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:171
  CONGRUENT_CALL_PROLOG(&Kserver_projectVenvironment_protocols, 1);
  project_ = CONGRUENT_CALL1(server_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:172
  T7 = SLOT_VALUE_INITD(project_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:173
  if (T7 != &KPfalseVKi) {
    T6 = T7;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:173
    CONGRUENT_CALL_PROLOG(&Kapplication_closedQVenvironment_protocols, 1);
    T3 = CONGRUENT_CALL1(T6);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:173
    T8 = primitive_not(T3);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:173
    T9_0 = T8;
    T5_0 = T9_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:173
    T4_0 = &KPfalseVKi;
    T5_0 = T4_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:173
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:169
  MV_SET_COUNT(1);
  return(T5_0);
}

D Kapplication_closedQVenvironment_protocolsMM0I (D application_) {
  D T2;
  D T3;
  D T4_0;
  D T5_0;
  D T6;
  D T7_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:164
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:166
  T2 = SLOT_VALUE_INITD(application_, 7);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:166
  T3 = SLOT_VALUE_INITD(T2, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:166
  T4_0 = T3;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:166
  T5_0 = T4_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T4_0);
    primitive_type_check(T5_0, &KLbyte_stringGVKd);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:166
  T6 = T5_0;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:166
  T7_0 = KEVKdMM27I(T6, &K24);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:164
  MV_SET_COUNT(1);
  return(T7_0);
}

D Kclose_applicationVenvironment_protocolsMM0I (D project_, D Urest_, D wait_for_terminationQ_) {
  D wait_for_terminationQF4;
  D T5;
  D T6;
  D T7;
  D T8;
  D T9;
  _KLsimple_object_vectorGVKd_2 T10 = {&KLsimple_object_vectorGVKdW, (D) 9};

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:394
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:394
  primitive_type_check(wait_for_terminationQ_, &KLbooleanGVKd);
  wait_for_terminationQF4 = wait_for_terminationQ_;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:398
  T9 = SLOT_VALUE_INITD(project_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:399
  if (T9 != &KPfalseVKi) {
    T8 = T9;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:400
    T10.vector_element_[0] = IKJwait_for_terminationQ_;
    T10.vector_element_[1] = wait_for_terminationQF4;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:400
    CONGRUENT_CALL_PROLOG(&Kclose_applicationVenvironment_protocols, 2);
    T5 = CONGRUENT_CALL2(T8, &T10);
    T7 = T5;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:399
    T6 = &KPfalseVKi;
    T7 = T6;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:399
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:394
  MV_SET_COUNT(0);
  return(T7);
}

D Kstop_applicationVenvironment_protocolsMM0I (D project_, D Urest_, D client_data_) {
  D T4;
  D T5;
  D T6;
  D T7;
  D T8;
  _KLsimple_object_vectorGVKd_2 T9 = {&KLsimple_object_vectorGVKdW, (D) 9};

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:388
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:390
  T8 = SLOT_VALUE_INITD(project_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:391
  if (T8 != &KPfalseVKi) {
    T7 = T8;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:391
    T9.vector_element_[0] = IKJclient_data_;
    T9.vector_element_[1] = client_data_;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:391
    CONGRUENT_CALL_PROLOG(&Kstop_applicationVenvironment_protocols, 2);
    T4 = CONGRUENT_CALL2(T7, &T9);
    T6 = T4;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:391
    T5 = &KPfalseVKi;
    T6 = T5;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:391
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:388
  MV_SET_COUNT(0);
  return(T6);
}

D Kcontinue_applicationVenvironment_protocolsMM0I (D project_, D Urest_, D thread_) {
  D T4;
  D T5;
  D T6;
  D T7;
  D T8;
  _KLsimple_object_vectorGVKd_2 T9 = {&KLsimple_object_vectorGVKdW, (D) 9};

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:382
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:384
  T8 = SLOT_VALUE_INITD(project_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:385
  if (T8 != &KPfalseVKi) {
    T7 = T8;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:385
    T9.vector_element_[0] = &KJthread_;
    T9.vector_element_[1] = thread_;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:385
    CONGRUENT_CALL_PROLOG(&Kcontinue_applicationVenvironment_protocols, 2);
    T4 = CONGRUENT_CALL2(T7, &T9);
    T6 = T4;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:385
    T5 = &KPfalseVKi;
    T6 = T5;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:385
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:382
  MV_SET_COUNT(0);
  return(T6);
}

D Kupdate_applicationVenvironment_protocolsMM0I (D project_, D Urest_, D progress_callback_) {
  D T4;
  D T5;
  D T6;
  D T7;
  D T8;
  _KLsimple_object_vectorGVKd_2 T9 = {&KLsimple_object_vectorGVKdW, (D) 9};

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:404
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:406
  T8 = SLOT_VALUE_INITD(project_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:407
  if (T8 != &KPfalseVKi) {
    T7 = T8;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:408
    T9.vector_element_[0] = IKJprogress_callback_;
    T9.vector_element_[1] = progress_callback_;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:408
    CONGRUENT_CALL_PROLOG(&Kupdate_applicationVenvironment_protocols, 2);
    T4 = CONGRUENT_CALL2(T7, &T9);
    T6 = T4;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:407
    T5 = &KPfalseVKi;
    T6 = T5;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:407
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:404
  MV_SET_COUNT(0);
  return(T6);
}

D Knote_run_application_failedVenvironment_protocolsMM0I (D application_) {
  D T2;
  D T3;
  D T4;
  _KLsimple_object_vectorGVKd_2 T5 = {&KLsimple_object_vectorGVKdW, (D) 9};

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:375
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:377
  T4 = SLOT_VALUE_INITD(application_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:379
  T5.vector_element_[0] = IKJproject_;
  T5.vector_element_[1] = T4;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:379
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T2 = CONGRUENT_CALL2(&KLrun_application_failed_messageGVenvironment_protocols, &T5);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:378
  CONGRUENT_CALL_PROLOG(&KbroadcastVchannels, 3);
  T3 = CONGRUENT_CALL3(Dproject_channelVenvironment_protocols, T2, &KPempty_vectorVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:375
  MV_SET_COUNT(0);
  return(T3);
}

D Kinitialize_application_clientVenvironment_protocolsMM0I (D client_, D application_) {
  D T3;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:190
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:192
  T3 = &KPfalseVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:190
  MV_SET_COUNT(0);
  return(T3);
}

D Krun_applicationVenvironment_protocolsMM0I (D project_, D Urest_, D startup_option_, D client_, D filename_, D arguments_, D working_directory_, D pause_before_terminationQ_, D share_consoleQ_, D library_search_paths_, D machine_) {
  D T12;
  D clientF13;
  D T14;
  D T15;
  D pause_before_terminationQF16;
  D T17;
  D T18;
  D library_search_pathsF19;
  D T20;
  D machineF21;
  D T22;
  D T23;
  D T24;
  D T25;
  D T26_0;
  D T26_1;
  D T26_2;
  D f_;
  D a_;
  D wd_;
  D T30;
  D T31;
  D T32;
  D T33;
  D T34;
  D T35;
  D T36;
  D T37;
  D T38;
  D T39;
  D T40;
  D T41_0;
  D filenameF42;
  D T43;
  D T44;
  D T45;
  D T46;
  D T47;
  D T48;
  D argumentsF49;
  D T50;
  D T51;
  D T52;
  D T53;
  D T54;
  D working_directoryF55;
  D T56;
  D T57;
  D T58;
  D application_;
  D T60;
  D T61;
  D T62;
  D T63;
  D T64;
  D T65;
  D T66;
  D T67;
  D T68;
  D T69;
  D T70;
  D T71;
  _KLsimple_object_vectorGVKd_1 T72 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T73;
  D T74;
  D T75;
  D T76;
  D T77;
  _KLsimple_object_vectorGVKd_1 T78 = {&KLsimple_object_vectorGVKdW, (D) 5};
  _KLsimple_object_vectorGVKd_8 T79 = {&KLsimple_object_vectorGVKdW, (D) 33};
  _KLsimple_object_vectorGVKd_2 T80 = {&KLsimple_object_vectorGVKdW, (D) 9};
  D T81;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:270
  working_directoryF55 = working_directory_;
  argumentsF49 = arguments_;
  filenameF42 = filename_;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:270
  T69 = primitive_idQ(client_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:270
  if (T69 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:270
    T12 = project_;
    clientF13 = T12;
  } else {
    clientF13 = client_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:270
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:270
  T70 = primitive_idQ(pause_before_terminationQ_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:270
  if (T70 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:278
    T14 = Kproject_default_pause_before_terminationQVenvironment_protocolsI(project_);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:270
    T15 = T14;
    pause_before_terminationQF16 = T15;
  } else {
    pause_before_terminationQF16 = pause_before_terminationQ_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:270
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:270
  T71 = primitive_idQ(library_search_paths_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:270
  if (T71 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:280
    T17 = Krelease_runtime_directoryVrelease_infoI();
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:280
    T72.vector_element_[0] = T17;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:280
    T73 = primitive_copy_vector(&T72);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:270
    T18 = T73;
    library_search_pathsF19 = T18;
  } else {
    library_search_pathsF19 = library_search_paths_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:270
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:270
  T74 = primitive_idQ(machine_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:270
  if (T74 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:270
    T20 = DunsuppliedYcommon_extensionsVcommon_dylan;
    machineF21 = T20;
  } else {
    machineF21 = machine_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:270
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:284
  T75 = primitive_idQ(machineF21,DunsuppliedYcommon_extensionsVcommon_dylan);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:284
  if (T75 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:284
    T22 = Kenvironment_host_machineVenvironment_protocolsI();
    T23 = T22;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:270
    primitive_type_check(machineF21, &KLmachineGVenvironment_protocols);
    T76 = machineF21;
    T23 = T76;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:284
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:285
  T48 = filenameF42;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:285
  if (T48 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:285
    T54 = argumentsF49;
    T24 = T54;
  } else {
    T24 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:285
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:285
  if (T24 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:285
    T58 = working_directoryF55;
    T25 = T58;
  } else {
    T25 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:285
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:285
  if (T25 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:286
    T26_0 = Kproject_debug_optionsVenvironment_protocolsI(project_);
    T26_1 = MV_GET_ELT(1);
    T26_2 = MV_GET_ELT(2);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:286
    f_ = T26_0;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:286
    a_ = T26_1;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:286
    wd_ = T26_2;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:287
    T47 = filenameF42;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:287
    if (T47 != &KPfalseVKi) {
      T30 = T47;
    } else {
      T30 = f_;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:287
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:287
    filenameF42 = T30;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:288
    T53 = argumentsF49;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:288
    if (T53 != &KPfalseVKi) {
      T31 = T53;
    } else {
      T31 = a_;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:288
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:288
    argumentsF49 = T31;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:289
    T57 = working_directoryF55;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:289
    if (T57 != &KPfalseVKi) {
      T32 = T57;
    } else {
      T32 = wd_;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:289
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:289
    working_directoryF55 = T32;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:285
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:291
  T77 = SLOT_VALUE_INITD(project_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:291
  application_ = T77;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:292
  T62 = application_;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:292
  if (T62 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:293
    T68 = application_;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:293
    T33 = CALL1(&Kapplication_closedQVenvironment_protocols, T68);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:293
    if (T33 == &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:293
      T46 = filenameF42;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:293
      T78.vector_element_[0] = T46;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:293
      Kassertion_failureVKiI(&K236, &T78);
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:293
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:296
    T45 = filenameF42;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:296
    T67 = application_;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:296
    CALL2(&Kapplication_filename_setterVenvironment_protocols, T45, T67);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:297
    T52 = argumentsF49;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:297
    T66 = application_;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:297
    CALL2(&Kapplication_arguments_setterVenvironment_protocols, T52, T66);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:298
    T65 = application_;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:298
    CALL2(&Kapplication_machine_setterVenvironment_protocols, T23, T65);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:299
    T64 = application_;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:299
    CALL2(&Kapplication_client_setterVenvironment_protocols, clientF13, T64);
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:302
    T44 = filenameF42;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:302
    T51 = argumentsF49;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:302
    T79.vector_element_[0] = IKJclient_;
    T79.vector_element_[1] = clientF13;
    T79.vector_element_[2] = IKJmachine_;
    T79.vector_element_[3] = T23;
    T79.vector_element_[4] = IKJfilename_;
    T79.vector_element_[5] = T44;
    T79.vector_element_[6] = &KJarguments_;
    T79.vector_element_[7] = T51;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:302
    CONGRUENT_CALL_PROLOG(&Kmake_project_applicationVenvironment_protocols, 2);
    T34 = CONGRUENT_CALL2(project_, &T79);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:301
    application_ = T34;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:307
    T63 = application_;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:307
    SLOT_VALUE_SETTER(T63, project_, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:292
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:310
  T80.vector_element_[0] = IKJproject_;
  T80.vector_element_[1] = project_;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:310
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T35 = CONGRUENT_CALL2(&KLrun_application_requested_messageGVenvironment_protocols, &T80);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:309
  CONGRUENT_CALL_PROLOG(&KbroadcastVchannels, 3);
  CONGRUENT_CALL3(Dproject_channelVenvironment_protocols, T35, &KPempty_vectorVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:311
  T61 = application_;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:311
  CALL2(&Kinitialize_application_clientVenvironment_protocols, clientF13, T61);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:312
  T36 = Kenvironment_host_machineVenvironment_protocolsI();
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:312
  T81 = primitive_idQ(T23,T36);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:320
  if (T81 != &KPfalseVKi) {
    T37 = library_search_pathsF19;
  } else {
    T37 = &KPempty_vectorVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:320
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:326
  if (T81 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:327
    T56 = working_directoryF55;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:327
    if (T56 != &KPfalseVKi) {
      T39 = T56;
    } else {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:327
      CONGRUENT_CALL_PROLOG(&Kproject_bin_directoryVenvironment_protocols, 1);
      T38 = CONGRUENT_CALL1(project_);
      T39 = T38;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:327
    T40 = T39;
  } else {
    T40 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:326
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:313
  T43 = filenameF42;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:313
  T50 = argumentsF49;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:313
  T60 = application_;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:313
  T41_0 = CALLN(&Krun_applicationVenvironment_protocols, 19), T60, IKJstartup_option_, startup_option_, IKJclient_, clientF13, IKJfilename_, T43, &KJarguments_, T50, IKJmachine_, T23, IKJlibrary_search_paths_, T37, IKJworking_directory_, T40, IKJshare_consoleQ_, share_consoleQ_, IKJpause_before_terminationQ_, pause_before_terminationQF16));
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:270
  MV_SET_COUNT(1);
  return(T41_0);
}

D Kproject_default_pause_before_terminationQVenvironment_protocolsI (D project_) {
  D T1;
  D T2;
  D T3_0;
  D T4_0;
  D T5;
  D T6;
  D T7_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:365
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:368
  CONGRUENT_CALL_PROLOG(&Kproject_interface_typeVenvironment_protocols, 1);
  T1 = CONGRUENT_CALL1(project_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:368
  T5 = primitive_idQ(T1,IKJconsole_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:368
  if (T5 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:369
    CONGRUENT_CALL_PROLOG(&Kproject_target_typeVenvironment_protocols, 1);
    T2 = CONGRUENT_CALL1(project_);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:369
    T6 = primitive_idQ(T2,IKJexecutable_);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:369
    T7_0 = T6;
    T4_0 = T7_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:368
    T3_0 = &KPfalseVKi;
    T4_0 = T3_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:368
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:365
  MV_SET_COUNT(1);
  return(T4_0);
}

D Kproject_debug_optionsVenvironment_protocolsI (D project_) {
  D build_filename_;
  D bin_directory_;
  D build_location_;
  D debug_filename_;
  D debug_arguments_;
  D target_type_;
  D T8;
  D Utmp_;
  D filename_;
  D T11;
  D T12;
  D directory_;
  D T14;
  D T15;
  D T16_0;
  D T16_1;
  D T16_2;
  D T17_0;
  D T17_1;
  D T17_2;
  D T18_0;
  D T18_1;
  D T18_2;
  D T19_0;
  D T19_1;
  D T19_2;
  D T20;
  D T21_0;
  D T21_1;
  D T21_2;
  D T22_0;
  D T22_1;
  D T22_2;
  D T23;
  D T24_0;
  D T24_1;
  D T24_2;
  D T25;
  D T26;
  _KLsimple_object_vectorGVKd_1 T27 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T28;
  D T29_0;
  D T29_1;
  D T29_2;
  D T30_0;
  D T30_1;
  D T30_2;
  D T31_0;
  D T31_1;
  D T31_2;
  D T32_0;
  D T32_1;
  D T32_2;
  D T33_0;
  D T33_1;
  D T33_2;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:335
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:339
  CONGRUENT_CALL_PROLOG(&Kproject_build_filenameVenvironment_protocols, 1);
  build_filename_ = CONGRUENT_CALL1(project_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:340
  CONGRUENT_CALL_PROLOG(&Kproject_bin_directoryVenvironment_protocols, 1);
  bin_directory_ = CONGRUENT_CALL1(project_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:341
  build_location_ = CALL2(&Kmerge_locatorsYlocatorsVsystem, build_filename_, bin_directory_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:342
  CONGRUENT_CALL_PROLOG(&Kproject_debug_filenameVenvironment_protocols, 1);
  debug_filename_ = CONGRUENT_CALL1(project_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:343
  CONGRUENT_CALL_PROLOG(&Kproject_debug_argumentsVenvironment_protocols, 1);
  debug_arguments_ = CONGRUENT_CALL1(project_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:344
  CONGRUENT_CALL_PROLOG(&Kproject_target_typeVenvironment_protocols, 1);
  target_type_ = CONGRUENT_CALL1(project_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:345
  if (debug_filename_ != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:286
    T20 = debug_filename_;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:347
    T21_0 = T20;
    T21_1 = debug_arguments_;
    T21_2 = &KPfalseVKi;
    T19_0 = T21_0;
    T19_1 = T21_1;
    T19_2 = T21_2;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:348
    T8 = Kplayground_projectQVenvironment_protocolsI(project_, &KPempty_vectorVKi, &KPfalseVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:345
    if (T8 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:349
      Utmp_ = Kplayground_application_filenameVenvironment_protocolsI(project_);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:349
      if (Utmp_ != &KPfalseVKi) {
        filename_ = Utmp_;
      } else {
        filename_ = build_location_;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:349
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:350
      T11 = CALL1(&Klocator_directoryYlocatorsVsystem, filename_);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:350
      T22_0 = filename_;
      T22_1 = debug_arguments_;
      T22_2 = T11;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:350
      T31_0 = T22_0;
      T31_1 = T22_1;
      T31_2 = T22_2;
      {
        MV_CHECK_TYPE_PROLOGUE(T22_0);
        primitive_type_check(T31_0, &KLfile_locatorGYlocatorsVsystem);
        primitive_type_check(T31_1, &KLstringGVKd);
        primitive_type_check(T31_2, &K239);
        MV_CHECK_TYPE_EPILOGUE();
      }
      T18_0 = T31_0;
      T18_1 = T31_1;
      T18_2 = T31_2;
    } else {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:351
      T23 = primitive_idQ(target_type_,IKJexecutable_);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:345
      if (T23 != &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:352
        T24_0 = build_location_;
        T24_1 = debug_arguments_;
        T24_2 = &KPfalseVKi;
        // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:352
        T32_0 = T24_0;
        T32_1 = T24_1;
        T32_2 = T24_2;
        {
          MV_CHECK_TYPE_PROLOGUE(T24_0);
          primitive_type_check(T32_0, &KLfile_locatorGYlocatorsVsystem);
          primitive_type_check(T32_1, &KLstringGVKd);
          primitive_type_check(T32_2, &K239);
          MV_CHECK_TYPE_EPILOGUE();
        }
        T17_0 = T32_0;
        T17_1 = T32_1;
        T17_2 = T32_2;
      } else {
        // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:353
        T25 = primitive_idQ(target_type_,IKJdll_);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:345
        if (T25 != &KPfalseVKi) {
          // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:354
          T12 = Krelease_directoryVrelease_infoI();
          // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:354
          CONGRUENT_CALL_PROLOG(&KasVKd, 2);
          directory_ = CONGRUENT_CALL2(&KLdirectory_locatorGYlocatorsVsystem, T12);
          // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:355
          T26 = KasVKdMsystemM1I(&KLfile_locatorGYlocatorsVsystem, Ddll_wrap_applicationVenvironment_protocols);
          // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:355
          T14 = CALL2(&Kmerge_locatorsYlocatorsVsystem, T26, directory_);
          // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:358
          CONGRUENT_CALL_PROLOG(&KasVKd, 2);
          T15 = CONGRUENT_CALL2(&KLstringGVKd, build_location_);
          // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:357
          T27.vector_element_[0] = T15;
          // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:357
          T28 = Kformat_to_stringYformatVioMM0I(&K242, &T27);
          // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:355
          T29_0 = T14;
          T29_1 = T28;
          T29_2 = &KPfalseVKi;
          // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:355
          T33_0 = T29_0;
          T33_1 = T29_1;
          T33_2 = T29_2;
          {
            MV_CHECK_TYPE_PROLOGUE(T29_0);
            primitive_type_check(T33_0, &KLfile_locatorGYlocatorsVsystem);
            primitive_type_check(T33_1, &KLstringGVKd);
            primitive_type_check(T33_2, &K239);
            MV_CHECK_TYPE_EPILOGUE();
          }
          T16_0 = T33_0;
          T16_1 = T33_1;
          T16_2 = T33_2;
        } else {
          // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:361
          T30_0 = KerrorVKdMM1I(&K243, &KPempty_vectorVKi);
          T30_1 = MV_GET_ELT(1);
          T30_2 = MV_GET_ELT(2);
          T16_0 = T30_0;
          T16_1 = T30_1;
          T16_2 = T30_2;
        }
        // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:345
        T17_0 = T16_0;
        T17_1 = T16_1;
        T17_2 = T16_2;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:345
      T18_0 = T17_0;
      T18_1 = T17_1;
      T18_2 = T17_2;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:345
    T19_0 = T18_0;
    T19_1 = T18_1;
    T19_2 = T18_2;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:345
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:335
  MV_SET_ELT(1, T19_1);
  MV_SET_ELT(2, T19_2);
  MV_SET_COUNT(3);
  return(T19_0);
}

D Kapplication_startup_optionVenvironment_protocolsMM0I (D project_) {
  D T2_0;
  D T3_0;
  D T4_0;
  D T5;
  D T6;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:254
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:256
  T6 = SLOT_VALUE_INITD(project_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:257
  if (T6 != &KPfalseVKi) {
    T5 = T6;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:258
    CONGRUENT_CALL_PROLOG(&Kapplication_startup_optionVenvironment_protocols, 1);
    T2_0 = CONGRUENT_CALL1(T5);
    T4_0 = T2_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:263
    T3_0 = &KJstart_;
    T4_0 = T3_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:257
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:254
  MV_SET_COUNT(1);
  return(T4_0);
}

D Kapplication_pause_before_terminationQVenvironment_protocolsMM0I (D project_) {
  D T2_0;
  D T3_0;
  D T4_0;
  D T5;
  D T6;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:248
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:250
  T6 = SLOT_VALUE_INITD(project_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:251
  if (T6 != &KPfalseVKi) {
    T5 = T6;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:251
    CONGRUENT_CALL_PROLOG(&Kapplication_pause_before_terminationQVenvironment_protocols, 1);
    T2_0 = CONGRUENT_CALL1(T5);
    T4_0 = T2_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:251
    T3_0 = &KPfalseVKi;
    T4_0 = T3_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:251
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:248
  MV_SET_COUNT(1);
  return(T4_0);
}

D Kapplication_debugQVenvironment_protocolsMM0I (D project_) {
  D T2_0;
  D T3_0;
  D T4_0;
  D T5;
  D T6;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:242
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:244
  T6 = SLOT_VALUE_INITD(project_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:245
  if (T6 != &KPfalseVKi) {
    T5 = T6;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:245
    CONGRUENT_CALL_PROLOG(&Kapplication_debugQVenvironment_protocols, 1);
    T2_0 = CONGRUENT_CALL1(T5);
    T4_0 = T2_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:245
    T3_0 = &KPfalseVKi;
    T4_0 = T3_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:245
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:242
  MV_SET_COUNT(1);
  return(T4_0);
}

D Kapplication_stoppedQVenvironment_protocolsMM0I (D application_) {
  D T2;
  D T3;
  D T4_0;
  D T5_0;
  D T6;
  D T7_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:159
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:161
  T2 = SLOT_VALUE_INITD(application_, 7);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:161
  T3 = SLOT_VALUE_INITD(T2, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:161
  T4_0 = T3;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:161
  T5_0 = T4_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T4_0);
    primitive_type_check(T5_0, &KLbyte_stringGVKd);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:161
  T6 = T5_0;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:161
  T7_0 = KEVKdMM27I(T6, &K28);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:159
  MV_SET_COUNT(1);
  return(T7_0);
}

D Kapplication_runningQVenvironment_protocolsMM0I (D application_) {
  D T2;
  D T3;
  D T4_0;
  D T5_0;
  D T6;
  D T7_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:154
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:156
  T2 = SLOT_VALUE_INITD(application_, 7);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:156
  T3 = SLOT_VALUE_INITD(T2, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:156
  T4_0 = T3;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:156
  T5_0 = T4_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T4_0);
    primitive_type_check(T5_0, &KLbyte_stringGVKd);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:156
  T6 = T5_0;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:156
  T7_0 = KEVKdMM27I(T6, &K32);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:154
  MV_SET_COUNT(1);
  return(T7_0);
}

D Kperform_application_transactionVenvironment_protocolsMM0I (D project_, D function_) {
  D T3;
  D T4;
  D T5;
  D T6;
  D T7;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:179
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:182
  T7 = SLOT_VALUE_INITD(project_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:183
  if (T7 != &KPfalseVKi) {
    T6 = T7;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:184
    CONGRUENT_CALL_PROLOG(&Kperform_application_transactionVenvironment_protocols, 2);
    T3 = CONGRUENT_CALL2(T6, function_);
    T5 = T3;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:186
    T4 = CALL0(function_);
    T5 = T4;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:183
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:179
  return(T5);
}

D Knote_application_initializedVenvironment_protocolsMM0I (D project_) {
  D T2;
  D T3;
  _KLsimple_object_vectorGVKd_2 T4 = {&KLsimple_object_vectorGVKdW, (D) 9};

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:195
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:199
  T4.vector_element_[0] = IKJproject_;
  T4.vector_element_[1] = project_;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:199
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T2 = CONGRUENT_CALL2(&KLapplication_initialized_messageGVenvironment_protocols, &T4);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:198
  CONGRUENT_CALL_PROLOG(&KbroadcastVchannels, 3);
  T3 = CONGRUENT_CALL3(Dproject_channelVenvironment_protocols, T2, &KPempty_vectorVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:195
  MV_SET_COUNT(0);
  return(T3);
}

D Kapplication_state_setterVenvironment_protocolsMM0I (D state_, D application_) {
  D T3;
  D T4_0;
  D T5;
  D T6;
  D T7;
  D T8;
  _KLsimple_object_vectorGVKd_2 T9 = {&KLsimple_object_vectorGVKdW, (D) 9};

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:35
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:38
  T5 = SLOT_VALUE_INITD(application_, 7);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:38
  T6 = primitive_idQ(state_,T5);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:38
  if (T6 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:39
    SLOT_VALUE_SETTER(state_, application_, 7);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:40
    T7 = SLOT_VALUE_INITD(application_, 8);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:40
    if (T7 == &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:43
      T8 = SLOT_VALUE_INITD(application_, 1);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:42
      T9.vector_element_[0] = IKJproject_;
      T9.vector_element_[1] = T8;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:42
      CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
      T3 = CONGRUENT_CALL2(&KLapplication_state_changed_messageGVenvironment_protocols, &T9);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:41
      CONGRUENT_CALL_PROLOG(&KbroadcastVchannels, 3);
      CONGRUENT_CALL3(Dproject_channelVenvironment_protocols, T3, &KPempty_vectorVKi);
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:40
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:38
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:46
  T4_0 = state_;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/applications.dylan:35
  MV_SET_COUNT(1);
  return(T4_0);
}


/* SYSTEM INIT CODE */

void _Init_environment_protocols__X_applications_for_system () {
  extern D KPresolve_symbolVKiI(D);
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJclosed_);
    if (T0 != &KJclosed_) {
      primitive_slot_value_setter(T0, &K22, 1);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJstopped_);
    if (T0 != &KJstopped_) {
      primitive_slot_value_setter(T0, &K26, 1);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJrunning_);
    if (T0 != &KJrunning_) {
      primitive_slot_value_setter(T0, &K30, 1);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJuninitialized_);
    if (T0 != &KJuninitialized_) {
      primitive_slot_value_setter(T0, &Kapplication_stateVenvironment_protocolsHLapplicationG, 1);
      primitive_slot_value_setter(T0, &K29, 1);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJproject_);
    if (T0 != &KJproject_) {
      IKJproject_ = T0;
      primitive_slot_value_setter(T0, &Kserver_projectVenvironment_protocolsHLapplicationG, 3);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJerrorQ_);
    if (T0 != &KJerrorQ_) {
      primitive_repeated_slot_value_setter(T0, &K71, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K65, 1, 0);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJdefault_server_);
    if (T0 != &KJdefault_server_) {
      primitive_repeated_slot_value_setter(T0, &K71, 1, 1);
      primitive_repeated_slot_value_setter(T0, &K65, 1, 2);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJfilename_);
    if (T0 != &KJfilename_) {
      primitive_repeated_slot_value_setter(T0, &K251, 1, 2);
      primitive_repeated_slot_value_setter(T0, &K250, 1, 4);
      IKJfilename_ = T0;
      primitive_repeated_slot_value_setter(T0, &K225, 1, 2);
      primitive_slot_value_setter(T0, &Kapplication_filenameVenvironment_protocolsHLapplicationG, 3);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJmachine_);
    if (T0 != &KJmachine_) {
      primitive_repeated_slot_value_setter(T0, &K251, 1, 8);
      primitive_repeated_slot_value_setter(T0, &K250, 1, 16);
      IKJmachine_ = T0;
      primitive_repeated_slot_value_setter(T0, &K225, 1, 7);
      primitive_slot_value_setter(T0, &Kapplication_machineVenvironment_protocolsHLapplicationG, 3);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJclient_);
    if (T0 != &KJclient_) {
      primitive_repeated_slot_value_setter(T0, &K298, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K251, 1, 1);
      primitive_repeated_slot_value_setter(T0, &K250, 1, 2);
      IKJclient_ = T0;
      primitive_repeated_slot_value_setter(T0, &K225, 1, 1);
      primitive_slot_value_setter(T0, &Kapplication_clientVenvironment_protocolsHLapplicationG, 3);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJwait_for_terminationQ_);
    if (T0 != &KJwait_for_terminationQ_) {
      primitive_repeated_slot_value_setter(T0, &K174, 1, 0);
      IKJwait_for_terminationQ_ = T0;
      primitive_repeated_slot_value_setter(T0, &K170, 1, 0);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJclient_data_);
    if (T0 != &KJclient_data_) {
      primitive_repeated_slot_value_setter(T0, &K185, 1, 0);
      IKJclient_data_ = T0;
      primitive_repeated_slot_value_setter(T0, &K181, 1, 0);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJprogress_callback_);
    if (T0 != &KJprogress_callback_) {
      primitive_repeated_slot_value_setter(T0, &K205, 1, 0);
      IKJprogress_callback_ = T0;
      primitive_repeated_slot_value_setter(T0, &K201, 1, 0);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJstartup_option_);
    if (T0 != &KJstartup_option_) {
      primitive_repeated_slot_value_setter(T0, &K251, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K250, 1, 0);
      IKJstartup_option_ = T0;
      primitive_repeated_slot_value_setter(T0, &K225, 1, 0);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJpause_before_terminationQ_);
    if (T0 != &KJpause_before_terminationQ_) {
      primitive_repeated_slot_value_setter(T0, &K251, 1, 5);
      primitive_repeated_slot_value_setter(T0, &K250, 1, 10);
      IKJpause_before_terminationQ_ = T0;
      primitive_repeated_slot_value_setter(T0, &K225, 1, 4);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJlibrary_search_paths_);
    if (T0 != &KJlibrary_search_paths_) {
      primitive_repeated_slot_value_setter(T0, &K251, 1, 7);
      primitive_repeated_slot_value_setter(T0, &K250, 1, 14);
      IKJlibrary_search_paths_ = T0;
      primitive_repeated_slot_value_setter(T0, &K225, 1, 5);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJworking_directory_);
    if (T0 != &KJworking_directory_) {
      primitive_repeated_slot_value_setter(T0, &K251, 1, 4);
      primitive_repeated_slot_value_setter(T0, &K250, 1, 8);
      IKJworking_directory_ = T0;
      primitive_repeated_slot_value_setter(T0, &K225, 1, 6);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJshare_consoleQ_);
    if (T0 != &KJshare_consoleQ_) {
      primitive_repeated_slot_value_setter(T0, &K251, 1, 6);
      primitive_repeated_slot_value_setter(T0, &K250, 1, 12);
      IKJshare_consoleQ_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJexecutable_);
    if (T0 != &KJexecutable_) {
      IKJexecutable_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJdll_);
    if (T0 != &KJdll_) {
      IKJdll_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJconsole_);
    if (T0 != &KJconsole_) {
      IKJconsole_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJinteract_);
    if (T0 != &KJinteract_) {
      primitive_slot_value_setter(T0, &K266, 1);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJdebug_);
    if (T0 != &KJdebug_) {
      primitive_slot_value_setter(T0, &K270, 1);
    }
  }
  return;
}

/* USER INIT CODE */

void _Init_environment_protocols__X_applications_for_user () {
  return;
}


/* eof */
