#include "run-time.h"

/* Typedefs for referenced classes */

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

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;
  D symbol_name_;
} _KLsymbolGVKd;

typedef struct {
  D wrapper;
  D id_name_;
} _KLlibrary_idGVenvironment_protocols;

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

typedef struct {
  D wrapper;
  D id_name_;
  D id_library_;
} _KLmodule_idGVenvironment_protocols;

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

typedef struct {
  D wrapper;
} _KLobjectGVKd;

typedef struct {
  D wrapper;
} _KLunboundGVKe;

typedef struct {
  D wrapper;
} _KLbooleanGVKd;

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

typedef struct {
  D wrapper;
  D Pprimitive_name_;
  D Pid_;
} _KLenvironment_object_with_idGVenvironment_protocols;

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

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

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

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

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

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

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    D wrapper; \
    D size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(22);
define__KLbyte_stringGVKd(5);
define__KLbyte_stringGVKd(24);
define__KLbyte_stringGVKd(2);
define__KLbyte_stringGVKd(23);
define__KLbyte_stringGVKd(8);
define__KLbyte_stringGVKd(15);
define__KLbyte_stringGVKd(6);
define__KLbyte_stringGVKd(7);
define__KLbyte_stringGVKd(9);
define__KLbyte_stringGVKd(12);
define__KLbyte_stringGVKd(14);
define__KLbyte_stringGVKd(20);
define__KLbyte_stringGVKd(19);
define__KLbyte_stringGVKd(13);
define__KLbyte_stringGVKd(21);
define__KLbyte_stringGVKd(11);

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 slot_descriptor_properties_;
  D init_data_slot_;
  D slot_owner_;
  D init_keyword_;
  D slot_getter_;
  D slot_setter_;
  D slot_type_;
} _KLinstance_slot_descriptorGVKe;

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

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 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 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 Pprimitive_name_;
  D application_object_proxy_;
} _KLstring_objectGVenvironment_protocols;

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

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

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

typedef struct {
  D wrapper;
} _KLserverGVenvironment_protocols;


/* Typedefs for defined classes */

typedef struct {
  D wrapper;
  D Pprimitive_name_;
  D Pid_;
  D application_object_proxy_;
} _KLduim_portGVenvironment_protocols;

typedef struct {
  D wrapper;
  D Pprimitive_name_;
  D Pid_;
  D application_object_proxy_;
} _KLduim_frame_managerGVenvironment_protocols;

typedef struct {
  D wrapper;
  D Pprimitive_name_;
  D Pid_;
  D application_object_proxy_;
} _KLduim_frameGVenvironment_protocols;

typedef struct {
  D wrapper;
  D Pprimitive_name_;
  D Pid_;
  D application_object_proxy_;
} _KLduim_sheetGVenvironment_protocols;

typedef struct {
  D wrapper;
  D Pprimitive_name_;
  D Pid_;
  D application_object_proxy_;
} _KLduim_gadgetGVenvironment_protocols;

typedef struct {
  D wrapper;
  D Pprimitive_name_;
  D Pid_;
  D application_object_proxy_;
} _KLduim_objectGVenvironment_protocols;


/* Referenced object declarations */

extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLclassGVKd KLclassGVKd;
extern _KLmm_wrapperGVKi_0 KLclassGVKdW;
extern _KLclassGVKd KLmm_wrapperGVKi;
extern _KLmm_wrapperGVKi_1 KLmm_wrapperGVKiW;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLsymbolGVKd KJname_;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
D KmakeVKdMenvironment_protocolsM0I (D, D);
extern _KLclassGVKd KLlibrary_idGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLlibrary_idGVenvironment_protocolsW;
extern _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
extern _KLclassGVKd KLmodule_idGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLmodule_idGVenvironment_protocolsW;
extern _KLclassGVKd KLdefinition_idGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLdefinition_idGVenvironment_protocolsW;
D Kregister_user_object_classVenvironment_protocolsI (D, D, D, D);
extern _KLclassGVKd KLobjectGVKd;
extern _KLmm_wrapperGVKi_0 KLobjectGVKdW;
extern _KLunboundGVKe KPunboundVKi;
extern _KLclassGVKd KLunboundGVKe;
extern _KLmm_wrapperGVKi_0 KLunboundGVKeW;
extern _KLbooleanGVKd KPtrueVKi;
extern _KLclassGVKd KLbooleanGVKd;
extern _KLmm_wrapperGVKi_0 KLbooleanGVKdW;
extern _KLbooleanGVKd KPfalseVKi;
extern _KLclassGVKd KLimplementation_classGVKe;
extern _KLmm_wrapperGVKi_0 KLimplementation_classGVKeW;
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLclassGVKd KLenvironment_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLenvironment_objectGVenvironment_protocolsW;
extern _KLclassGVKd KLenvironment_object_with_idGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLenvironment_object_with_idGVenvironment_protocolsW;
extern _KLclassGVKd KLapplication_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLapplication_objectGVenvironment_protocolsW;
extern _KLclassGVKd KLcomposite_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLcomposite_objectGVenvironment_protocolsW;
extern _KLclassGVKd KLuser_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLuser_objectGVenvironment_protocolsW;
D KerrorVKdMM1I (D, D);
extern _KLkeyword_methodGVKe KinitializeVKdMenvironment_protocolsM0;
extern _KLfunction_classGVKi KLkeyword_methodGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLkeyword_methodGVKeW;
extern _KLclassGVKd KLpairGVKd;
extern _KLmm_wrapperGVKi_0 KLpairGVKdW;
extern _KLkeyword_methodGVKe KinitializeVKdMM1;
extern _KLclassGVKd KLunionGVKe;
extern _KLmm_wrapperGVKi_0 KLunionGVKeW;
D Kunion_instanceQVKiI (D, D);
extern _KLunionGVKe KLid_or_integerGVenvironment_protocols;
extern _KLclassGVKd KLsingletonGVKd;
extern _KLmm_wrapperGVKi_0 KLsingletonGVKdW;
D Ksingleton_pointer_idQ_instanceQVKiI (D, D);
extern _KLclassGVKd KLstringGVKd;
extern _KLmm_wrapperGVKi_0 KLstringGVKdW;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLclassGVKd KLkeyword_signatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureAvaluesGVKiW;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LclassG_typesVKi;
extern _KLsimple_object_vectorGVKd_256 KDsignature_LobjectG_typesVKi;
extern _KLinstance_slot_descriptorGVKe KPprimitive_nameVenvironment_protocolsHLenvironment_objectG;
extern _KLclassGVKd KLinstance_slot_descriptorGVKe;
extern _KLmm_wrapperGVKi_0 KLinstance_slot_descriptorGVKeW;
extern _KLinstance_slot_descriptorGVKe KPidVenvironment_protocolsHLenvironment_object_with_idG;
extern _KLinstance_slot_descriptorGVKe Kapplication_object_proxyVenvironment_protocolsHLapplication_objectG;
D Kclass_instanceQ_rcpl_single_largeVKiI (D, D);
extern _KLmoduleGVKe Kenvironment_protocols_moduleYdylan_userVenvironment_protocols;
extern _KLclassGVKd KLmoduleGVKe;
extern _KLmm_wrapperGVKi_0 KLmoduleGVKeW;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLclassGVKd KLsignatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLsignatureAvaluesGVKiW;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LstringG_typesVKi;
extern _KLclassGVKd KLproject_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLproject_objectGVenvironment_protocolsW;
extern _KLincremental_generic_functionGVKe Kuser_object_slot_valueVenvironment_protocols;
extern _KLfunction_classGVKi KLincremental_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
extern _KLclassGVKd KLstring_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLstring_objectGVenvironment_protocolsW;
extern _KLincremental_generic_functionGVKe Kenvironment_object_primitive_nameVenvironment_protocols;
D Kcollect_environment_objectsVenvironment_protocolsMM0I (D, D, D, D);
extern _KLabsent_engine_nodeGVKg RSINGULAR_Labsent_engine_nodeG;
extern _KLclassGVKd KLabsent_engine_nodeGVKg;
extern _KLmm_wrapperGVKi_0 KLabsent_engine_nodeGVKgW;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
extern _KLclassGVKd KLfunctionGVKd;
extern _KLmm_wrapperGVKi_0 KLfunctionGVKdW;
extern _KLclassGVKd KLserverGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLserverGVenvironment_protocolsW;
extern _KLincremental_generic_functionGVKe Kdo_collection_elementsVenvironment_protocols;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LsequenceG_typesVKi;
D Kclass_instanceQ_initialVKiI (D, D);
extern _KLkeyword_methodGVKe KmakeVKdMM48;
extern _KLsimple_object_vectorGVKd_16 KDsignature_LbooleanG_typesVKi;
extern _KLincremental_generic_functionGVKe KEVKd;

/* Defined object declarations */

static _KLbyte_stringGVKd_11 K1;
static _KLpairGVKd K2;
static _KLsymbolGVKd KJlibrary_;
static _KLbyte_stringGVKd_21 K6;
static _KLbyte_stringGVKd_13 K8;
static _KLsymbolGVKd KJmodule_;
static _KLbyte_stringGVKd_19 K11;
static _KLbyte_stringGVKd_20 K13;
static _KLbyte_stringGVKd_14 K15;
static _KLbyte_stringGVKd_12 K17;
static _KLbyte_stringGVKd_12 K20;
static _KLbyte_stringGVKd_11 K22;
static _KLbyte_stringGVKd_21 K25;
static _KLbyte_stringGVKd_11 K27;
static _KLbyte_stringGVKd_9 K29;
static _KLbyte_stringGVKd_9 K31;
static _KLbyte_stringGVKd_7 K33;
static _KLbyte_stringGVKd_11 K35;
extern _KLclassGVKd KLduim_portGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLduim_portGVenvironment_protocolsW;
static _KLbyte_stringGVKd_6 K39;
extern _KLclassGVKd KLduim_frame_managerGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLduim_frame_managerGVenvironment_protocolsW;
static _KLbyte_stringGVKd_15 K43;
extern _KLclassGVKd KLduim_frameGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLduim_frameGVenvironment_protocolsW;
static _KLbyte_stringGVKd_7 K47;
extern _KLclassGVKd KLduim_sheetGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLduim_sheetGVenvironment_protocolsW;
static _KLbyte_stringGVKd_7 K51;
extern _KLclassGVKd KLduim_gadgetGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLduim_gadgetGVenvironment_protocolsW;
static _KLbyte_stringGVKd_8 K55;
extern _KLsimple_methodGVKe Kget_environment_object_primitive_nameVenvironment_protocolsMM5;
D Kget_environment_object_primitive_nameVenvironment_protocolsMM5I (D, D);
extern _KLsimple_methodGVKe Kget_environment_object_primitive_nameVenvironment_protocolsMM4;
D Kget_environment_object_primitive_nameVenvironment_protocolsMM4I (D, D);
extern _KLsimple_methodGVKe Kget_environment_object_primitive_nameVenvironment_protocolsMM3;
D Kget_environment_object_primitive_nameVenvironment_protocolsMM3I (D, D);
extern _KLsimple_methodGVKe Kenvironment_object_type_nameVenvironment_protocolsMM41;
D Kenvironment_object_type_nameVenvironment_protocolsMM41I (D);
extern _KLsimple_methodGVKe Kenvironment_object_type_nameVenvironment_protocolsMM42;
D Kenvironment_object_type_nameVenvironment_protocolsMM42I (D);
extern _KLsimple_methodGVKe Kenvironment_object_type_nameVenvironment_protocolsMM43;
D Kenvironment_object_type_nameVenvironment_protocolsMM43I (D);
extern _KLclassGVKd KLduim_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLduim_objectGVenvironment_protocolsW;
static _KLimplementation_classGVKe K70;
static _KLsimple_object_vectorGVKd_3 K71;
extern _KLkeyword_methodGVKe KLduim_objectGZ32ZconstructorVenvironment_protocolsMM0;
D KLduim_objectGZ32ZconstructorVenvironment_protocolsMM0I (D, D, D, D, D);
static _KLsimple_object_vectorGVKd_1 K74;
static _KLsimple_object_vectorGVKd_7 K75;
static _KLsymbolGVKd KJid_;
static _KLbyte_stringGVKd_23 K77;
static _KLunionGVKe K78;
static _KLunionGVKe K79;
static _KLpairGVKd K80;
static _KLsingletonGVKd K81;
static _KLbyte_stringGVKd_2 K82;
static _KLkeyword_signatureAvaluesGVKi K83;
static _KLsimple_object_vectorGVKd_6 K84;
static _KLsymbolGVKd KJapplication_object_proxy_;
static _KLbyte_stringGVKd_24 K86;
static _KLsimple_object_vectorGVKd_3 K87;
static _KLsimple_object_vectorGVKd_1 K88;
static _KLbyte_stringGVKd_13 K89;
static _KLbyte_stringGVKd_6 K90;
static _KLsignatureAvaluesGVKi K91;
static _KLsimple_object_vectorGVKd_1 K92;
static _KLbyte_stringGVKd_5 K93;
static _KLsignatureAvaluesGVKi K94;
static _KLsimple_object_vectorGVKd_1 K95;
static _KLbyte_stringGVKd_5 K96;
static _KLsignatureAvaluesGVKi K97;
static _KLsimple_object_vectorGVKd_1 K98;
static _KLsignatureAvaluesGVKi K99;
static _KLsimple_object_vectorGVKd_2 K100;
static _KLsimple_object_vectorGVKd_1 K101;
static _KLsignatureAvaluesGVKi K102;
static _KLsimple_object_vectorGVKd_2 K103;
static _KLsignatureAvaluesGVKi K104;
static _KLsimple_object_vectorGVKd_2 K105;
extern _KLsimple_methodGVKe Kduim_object_childrenVenvironment_protocols;
D Kduim_object_childrenVenvironment_protocolsI (D, D);
extern _KLincremental_generic_functionGVKe Kdo_duim_object_childrenVenvironment_protocols;
extern _KLsimple_methodGVKe Kdo_duim_object_childrenVenvironment_protocolsMM0;
D Kdo_duim_object_childrenVenvironment_protocolsMM0I (D, D, D);
extern _KLsimple_methodGVKe Kdo_duim_object_childrenVenvironment_protocolsMM1;
D Kdo_duim_object_childrenVenvironment_protocolsMM1I (D, D, D);
extern _KLsimple_methodGVKe Kdo_duim_object_childrenVenvironment_protocolsMM2;
D Kdo_duim_object_childrenVenvironment_protocolsMM2I (D, D, D);
extern _KLsimple_methodGVKe Kdo_duim_object_childrenVenvironment_protocolsMM3;
D Kdo_duim_object_childrenVenvironment_protocolsMM3I (D, D, D);
extern _KLsimple_methodGVKe Kdo_duim_object_childrenVenvironment_protocolsMM4;
D Kdo_duim_object_childrenVenvironment_protocolsMM4I (D, D, D);
static _KLpairGVKd K119;
static _KLpairGVKd K120;
static _KLpairGVKd K121;
static _KLpairGVKd K122;
static _KLpairGVKd K123;
static _KLsignatureGVKe K124;
static _KLbyte_stringGVKd_23 K125;
static _KLsimple_object_vectorGVKd_3 K126;
static D Kmaybe_callF128I (D, D);
static _KLsignatureGVKe K129;
static _KLsimple_object_vectorGVKd_3 K130;
static _KLsignatureGVKe K131;
static _KLsimple_object_vectorGVKd_3 K132;
static _KLsignatureGVKe K133;
static _KLsimple_object_vectorGVKd_3 K134;
static _KLsignatureGVKe K135;
static _KLsimple_object_vectorGVKd_3 K136;
static _KLsignatureAvaluesGVKi K137;
static _KLsimple_object_vectorGVKd_2 K138;
static _KLimplementation_classGVKe K139;
extern _KLkeyword_methodGVKe KLduim_gadgetGZ32ZconstructorVenvironment_protocolsMM0;
D KLduim_gadgetGZ32ZconstructorVenvironment_protocolsMM0I (D, D, D, D, D);
static _KLsimple_object_vectorGVKd_9 K142;
static _KLkeyword_signatureAvaluesGVKi K143;
static _KLbyte_stringGVKd_13 K144;
static _KLimplementation_classGVKe K145;
extern _KLkeyword_methodGVKe KLduim_sheetGZ32ZconstructorVenvironment_protocolsMM0;
D KLduim_sheetGZ32ZconstructorVenvironment_protocolsMM0I (D, D, D, D, D);
static _KLsimple_object_vectorGVKd_8 K148;
static _KLkeyword_signatureAvaluesGVKi K149;
static _KLbyte_stringGVKd_12 K150;
static _KLimplementation_classGVKe K151;
extern _KLkeyword_methodGVKe KLduim_frameGZ32ZconstructorVenvironment_protocolsMM0;
D KLduim_frameGZ32ZconstructorVenvironment_protocolsMM0I (D, D, D, D, D);
static _KLsimple_object_vectorGVKd_8 K154;
static _KLkeyword_signatureAvaluesGVKi K155;
static _KLbyte_stringGVKd_12 K156;
static _KLimplementation_classGVKe K157;
extern _KLkeyword_methodGVKe KLduim_frame_managerGZ32ZconstructorVenvironment_protocolsMM0;
D KLduim_frame_managerGZ32ZconstructorVenvironment_protocolsMM0I (D, D, D, D, D);
static _KLsimple_object_vectorGVKd_8 K160;
static _KLkeyword_signatureAvaluesGVKi K161;
static _KLsimple_object_vectorGVKd_1 K162;
static _KLbyte_stringGVKd_20 K163;
static _KLimplementation_classGVKe K164;
extern _KLkeyword_methodGVKe KLduim_portGZ32ZconstructorVenvironment_protocolsMM0;
D KLduim_portGZ32ZconstructorVenvironment_protocolsMM0I (D, D, D, D, D);
static _KLsimple_object_vectorGVKd_8 K167;
static _KLkeyword_signatureAvaluesGVKi K168;
static _KLsimple_object_vectorGVKd_1 K169;
static _KLbyte_stringGVKd_11 K170;
static _KLbyte_stringGVKd_6 K171;
static _KLbyte_stringGVKd_7 K172;
extern _KLincremental_generic_functionGVKe Kduim_object_compositeQVenvironment_protocols;
extern _KLsimple_methodGVKe Kduim_object_compositeQVenvironment_protocolsMM0;
D Kduim_object_compositeQVenvironment_protocolsMM0I (D, D);
extern _KLsimple_methodGVKe Kduim_object_compositeQVenvironment_protocolsMM1;
D Kduim_object_compositeQVenvironment_protocolsMM1I (D, D);
static _KLpairGVKd K178;
static _KLpairGVKd K179;
static _KLsignatureAvaluesGVKi K180;
static _KLbyte_stringGVKd_22 K181;
static _KLsignatureAvaluesGVKi K182;
static _KLsimple_object_vectorGVKd_2 K183;
static _KLpairGVKd K184;
static _KLpairGVKd K185;
static _KLpairGVKd K186;
static _KLpairGVKd K187;
static _KLpairGVKd K188;

/* Indirection variables */

static D IKJlibrary_ = &KJlibrary_;
static D IKJmodule_ = &KJmodule_;
static D IKJid_ = &KJid_;
static D IKJapplication_object_proxy_ = &KJapplication_object_proxy_;

/* Variables */

D Lduim_objectGVenvironment_protocols = &KLduim_objectGVenvironment_protocols;
D duim_object_compositeQVenvironment_protocols = &Kduim_object_compositeQVenvironment_protocols;
D do_duim_object_childrenVenvironment_protocols = &Kdo_duim_object_childrenVenvironment_protocols;
D Dduim_sheets_library_idVenvironment_protocols = &KPunboundVKi;
D Dduim_sheets_module_idVenvironment_protocols = &KPunboundVKi;
D Dduim_sheets_internals_module_idVenvironment_protocols = &KPunboundVKi;
D Dport_displays_idVenvironment_protocols = &KPunboundVKi;
D Dport_frame_managers_idVenvironment_protocols = &KPunboundVKi;
D Dframe_manager_frames_idVenvironment_protocols = &KPunboundVKi;
D Dsheet_children_idVenvironment_protocols = &KPunboundVKi;
D Dduim_gadgets_library_idVenvironment_protocols = &KPunboundVKi;
D Dduim_gadgets_module_idVenvironment_protocols = &KPunboundVKi;
D Dgadget_label_idVenvironment_protocols = &KPunboundVKi;
D Dduim_frames_library_idVenvironment_protocols = &KPunboundVKi;
D Dduim_frames_module_idVenvironment_protocols = &KPunboundVKi;
D Dduim_frames_internals_module_idVenvironment_protocols = &KPunboundVKi;
D Dframe_title_idVenvironment_protocols = &KPunboundVKi;
D Dframe_menu_bar_idVenvironment_protocols = &KPunboundVKi;
D Dframe_tool_bar_idVenvironment_protocols = &KPunboundVKi;
D Dframe_layout_idVenvironment_protocols = &KPunboundVKi;
D Dframe_status_bar_idVenvironment_protocols = &KPunboundVKi;
D Lduim_portGVenvironment_protocols = &KLduim_portGVenvironment_protocols;
D Lduim_frame_managerGVenvironment_protocols = &KLduim_frame_managerGVenvironment_protocols;
D Lduim_frameGVenvironment_protocols = &KLduim_frameGVenvironment_protocols;
D Lduim_sheetGVenvironment_protocols = &KLduim_sheetGVenvironment_protocols;
D Lduim_gadgetGVenvironment_protocols = &KLduim_gadgetGVenvironment_protocols;
D duim_object_childrenVenvironment_protocols = &Kduim_object_childrenVenvironment_protocols;

/* Objects */

static _KLbyte_stringGVKd_11 K1 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 45,
  "duim-sheets"
};

static _KLpairGVKd K2 = {
  &KLpairGVKdW /* wrapper */,
  &KmakeVKdMM48,
  &KPempty_listVKi
};

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

static _KLbyte_stringGVKd_21 K6 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 85,
  "duim-sheets-internals"
};

static _KLbyte_stringGVKd_13 K8 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 53,
  "port-displays"
};

static _KLsymbolGVKd KJmodule_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K171
};

static _KLbyte_stringGVKd_19 K11 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 77,
  "port-frame-managers"
};

static _KLbyte_stringGVKd_20 K13 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 81,
  "frame-manager-frames"
};

static _KLbyte_stringGVKd_14 K15 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 57,
  "sheet-children"
};

static _KLbyte_stringGVKd_12 K17 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 49,
  "duim-gadgets"
};

static _KLbyte_stringGVKd_12 K20 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 49,
  "gadget-label"
};

static _KLbyte_stringGVKd_11 K22 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 45,
  "duim-frames"
};

static _KLbyte_stringGVKd_21 K25 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 85,
  "duim-frames-internals"
};

static _KLbyte_stringGVKd_11 K27 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 45,
  "frame-title"
};

static _KLbyte_stringGVKd_9 K29 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 37,
  "%menu-bar"
};

static _KLbyte_stringGVKd_9 K31 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 37,
  "%tool-bar"
};

static _KLbyte_stringGVKd_7 K33 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 29,
  "%layout"
};

static _KLbyte_stringGVKd_11 K35 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 45,
  "%status-bar"
};

_KLclassGVKd KLduim_portGVenvironment_protocols = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K170,
  &K164,
  (D) 1,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols
};

_KLmm_wrapperGVKi_0 KLduim_portGVenvironment_protocolsW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K164,
  (D) 1,
  13,
  33554439,
  (D) 1
};

static _KLbyte_stringGVKd_6 K39 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 25,
  "<port>"
};

_KLclassGVKd KLduim_frame_managerGVenvironment_protocols = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K163,
  &K157,
  (D) 1,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols
};

_KLmm_wrapperGVKi_0 KLduim_frame_managerGVenvironment_protocolsW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K157,
  (D) 1,
  13,
  33554439,
  (D) 1
};

static _KLbyte_stringGVKd_15 K43 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 61,
  "<frame-manager>"
};

_KLclassGVKd KLduim_frameGVenvironment_protocols = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K156,
  &K151,
  (D) 1,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols
};

_KLmm_wrapperGVKi_0 KLduim_frameGVenvironment_protocolsW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K151,
  (D) 1,
  13,
  33554439,
  (D) 1
};

static _KLbyte_stringGVKd_7 K47 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 29,
  "<frame>"
};

_KLclassGVKd KLduim_sheetGVenvironment_protocols = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_rcpl_single_largeVKiI,
  &K150,
  &K145,
  (D) 1,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols
};

_KLmm_wrapperGVKi_0 KLduim_sheetGVenvironment_protocolsW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K145,
  (D) 1,
  13,
  33554439,
  (D) 1
};

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

_KLclassGVKd KLduim_gadgetGVenvironment_protocols = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K144,
  &K139,
  (D) 1,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols
};

_KLmm_wrapperGVKi_0 KLduim_gadgetGVenvironment_protocolsW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K139,
  (D) 1,
  13,
  33554439,
  (D) 1
};

static _KLbyte_stringGVKd_8 K55 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 33,
  "<gadget>"
};

_KLsimple_methodGVKe Kget_environment_object_primitive_nameVenvironment_protocolsMM5 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K104,
  &Kget_environment_object_primitive_nameVenvironment_protocolsMM5I
};

_KLsimple_methodGVKe Kget_environment_object_primitive_nameVenvironment_protocolsMM4 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K102,
  &Kget_environment_object_primitive_nameVenvironment_protocolsMM4I
};

_KLsimple_methodGVKe Kget_environment_object_primitive_nameVenvironment_protocolsMM3 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K99,
  &Kget_environment_object_primitive_nameVenvironment_protocolsMM3I
};

_KLsimple_methodGVKe Kenvironment_object_type_nameVenvironment_protocolsMM41 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K97,
  &Kenvironment_object_type_nameVenvironment_protocolsMM41I
};

_KLsimple_methodGVKe Kenvironment_object_type_nameVenvironment_protocolsMM42 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K94,
  &Kenvironment_object_type_nameVenvironment_protocolsMM42I
};

_KLsimple_methodGVKe Kenvironment_object_type_nameVenvironment_protocolsMM43 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K91,
  &Kenvironment_object_type_nameVenvironment_protocolsMM43I
};

_KLclassGVKd KLduim_objectGVenvironment_protocols = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_rcpl_single_largeVKiI,
  &K89,
  &K70,
  (D) 1,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols
};

_KLmm_wrapperGVKi_0 KLduim_objectGVenvironment_protocolsW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K70,
  (D) 1,
  13,
  33554439,
  (D) 1
};

static _KLimplementation_classGVKe K70 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 477102093,
  &KLduim_objectGVenvironment_protocols,
  &KLduim_objectGVenvironment_protocolsW,
  &KPfalseVKi,
  &K71,
  (D) -3,
  &KLduim_objectGZ32ZconstructorVenvironment_protocolsMM0,
  &K74,
  &K75,
  (D) 25,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &K184,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K71,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_3 K71 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &KPprimitive_nameVenvironment_protocolsHLenvironment_objectG,
  &KPidVenvironment_protocolsHLenvironment_object_with_idG,
  &Kapplication_object_proxyVenvironment_protocolsHLapplication_objectG
};

_KLkeyword_methodGVKe KLduim_objectGZ32ZconstructorVenvironment_protocolsMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K83,
  &key_mep_2,
  &KLduim_objectGZ32ZconstructorVenvironment_protocolsMM0I,
  &K84
};

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

static _KLsimple_object_vectorGVKd_7 K75 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 29,
  &KLobjectGVKd,
  &KLenvironment_objectGVenvironment_protocols,
  &KLenvironment_object_with_idGVenvironment_protocols,
  &KLapplication_objectGVenvironment_protocols,
  &KLcomposite_objectGVenvironment_protocols,
  &KLuser_objectGVenvironment_protocols,
  &KLduim_objectGVenvironment_protocols
};

static _KLsymbolGVKd KJid_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K82
};

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

static _KLunionGVKe K78 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K81,
  &KLstringGVKd
};

static _KLunionGVKe K79 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K81,
  &KLid_or_integerGVenvironment_protocols
};

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

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

static _KLbyte_stringGVKd_2 K82 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 9,
  "id"
};

static _KLkeyword_signatureAvaluesGVKi K83 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 35390469,
  &KDsignature_LclassG_typesVKi,
  &K87,
  &KDsignature_LobjectG_typesVKi,
  &K88
};

static _KLsimple_object_vectorGVKd_6 K84 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 25,
  &KJname_,
  &KPfalseVKi,
  &KJid_,
  &KPunboundVKi,
  &KJapplication_object_proxy_,
  &KPfalseVKi
};

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

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

static _KLsimple_object_vectorGVKd_3 K87 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &KJname_,
  &KJid_,
  &KJapplication_object_proxy_
};

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

static _KLbyte_stringGVKd_13 K89 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 53,
  "<duim-object>"
};

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

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

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

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

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

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

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

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

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

static _KLsignatureAvaluesGVKi K99 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K100,
  &K101
};

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

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

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

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

static _KLsignatureAvaluesGVKi K104 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K105,
  &K101
};

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

_KLsimple_methodGVKe Kduim_object_childrenVenvironment_protocols = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K137,
  &Kduim_object_childrenVenvironment_protocolsI
};

_KLincremental_generic_functionGVKe Kdo_duim_object_childrenVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_3,
  &K124,
  &KPfalseVKi,
  &K125,
  &K119,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLsimple_methodGVKe Kdo_duim_object_childrenVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_3,
  &K124,
  &Kdo_duim_object_childrenVenvironment_protocolsMM0I
};

_KLsimple_methodGVKe Kdo_duim_object_childrenVenvironment_protocolsMM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_3,
  &K135,
  &Kdo_duim_object_childrenVenvironment_protocolsMM1I
};

_KLsimple_methodGVKe Kdo_duim_object_childrenVenvironment_protocolsMM2 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_3,
  &K133,
  &Kdo_duim_object_childrenVenvironment_protocolsMM2I
};

_KLsimple_methodGVKe Kdo_duim_object_childrenVenvironment_protocolsMM3 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_3,
  &K131,
  &Kdo_duim_object_childrenVenvironment_protocolsMM3I
};

_KLsimple_methodGVKe Kdo_duim_object_childrenVenvironment_protocolsMM4 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_3,
  &K129,
  &Kdo_duim_object_childrenVenvironment_protocolsMM4I
};

static _KLpairGVKd K119 = {
  &KLpairGVKdW /* wrapper */,
  &Kdo_duim_object_childrenVenvironment_protocolsMM0,
  &K120
};

static _KLpairGVKd K120 = {
  &KLpairGVKdW /* wrapper */,
  &Kdo_duim_object_childrenVenvironment_protocolsMM1,
  &K121
};

static _KLpairGVKd K121 = {
  &KLpairGVKdW /* wrapper */,
  &Kdo_duim_object_childrenVenvironment_protocolsMM2,
  &K122
};

static _KLpairGVKd K122 = {
  &KLpairGVKdW /* wrapper */,
  &Kdo_duim_object_childrenVenvironment_protocolsMM3,
  &K123
};

static _KLpairGVKd K123 = {
  &KLpairGVKdW /* wrapper */,
  &Kdo_duim_object_childrenVenvironment_protocolsMM4,
  &KPempty_listVKi
};

static _KLsignatureGVKe K124 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 41943053,
  &K126
};

static _KLbyte_stringGVKd_23 K125 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 93,
  "do-duim-object-children"
};

static _KLsimple_object_vectorGVKd_3 K126 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &KLfunctionGVKd,
  &KLserverGVenvironment_protocols,
  &KLduim_objectGVenvironment_protocols
};

static _KLsignatureGVKe K129 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 41943053,
  &K130
};

static _KLsimple_object_vectorGVKd_3 K130 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &KLfunctionGVKd,
  &KLserverGVenvironment_protocols,
  &KLduim_frameGVenvironment_protocols
};

static _KLsignatureGVKe K131 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 41943053,
  &K132
};

static _KLsimple_object_vectorGVKd_3 K132 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &KLfunctionGVKd,
  &KLserverGVenvironment_protocols,
  &KLduim_sheetGVenvironment_protocols
};

static _KLsignatureGVKe K133 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 41943053,
  &K134
};

static _KLsimple_object_vectorGVKd_3 K134 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &KLfunctionGVKd,
  &KLserverGVenvironment_protocols,
  &KLduim_frame_managerGVenvironment_protocols
};

static _KLsignatureGVKe K135 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 41943053,
  &K136
};

static _KLsimple_object_vectorGVKd_3 K136 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &KLfunctionGVKd,
  &KLserverGVenvironment_protocols,
  &KLduim_portGVenvironment_protocols
};

static _KLsignatureAvaluesGVKi K137 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K138,
  &KDsignature_LsequenceG_typesVKi
};

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

static _KLimplementation_classGVKe K139 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 477102093,
  &KLduim_gadgetGVenvironment_protocols,
  &KLduim_gadgetGVenvironment_protocolsW,
  &KPfalseVKi,
  &K71,
  (D) -3,
  &KLduim_gadgetGZ32ZconstructorVenvironment_protocolsMM0,
  &K98,
  &K142,
  (D) 33,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K71,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

_KLkeyword_methodGVKe KLduim_gadgetGZ32ZconstructorVenvironment_protocolsMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K143,
  &key_mep_2,
  &KLduim_gadgetGZ32ZconstructorVenvironment_protocolsMM0I,
  &K84
};

static _KLsimple_object_vectorGVKd_9 K142 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 37,
  &KLobjectGVKd,
  &KLenvironment_objectGVenvironment_protocols,
  &KLenvironment_object_with_idGVenvironment_protocols,
  &KLapplication_objectGVenvironment_protocols,
  &KLcomposite_objectGVenvironment_protocols,
  &KLuser_objectGVenvironment_protocols,
  &KLduim_objectGVenvironment_protocols,
  &KLduim_sheetGVenvironment_protocols,
  &KLduim_gadgetGVenvironment_protocols
};

static _KLkeyword_signatureAvaluesGVKi K143 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 35390469,
  &KDsignature_LclassG_typesVKi,
  &K87,
  &KDsignature_LobjectG_typesVKi,
  &K92
};

static _KLbyte_stringGVKd_13 K144 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 53,
  "<duim-gadget>"
};

static _KLimplementation_classGVKe K145 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 477102093,
  &KLduim_sheetGVenvironment_protocols,
  &KLduim_sheetGVenvironment_protocolsW,
  &KPfalseVKi,
  &K71,
  (D) -3,
  &KLduim_sheetGZ32ZconstructorVenvironment_protocolsMM0,
  &K88,
  &K148,
  (D) 29,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &K188,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K71,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

_KLkeyword_methodGVKe KLduim_sheetGZ32ZconstructorVenvironment_protocolsMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K149,
  &key_mep_2,
  &KLduim_sheetGZ32ZconstructorVenvironment_protocolsMM0I,
  &K84
};

static _KLsimple_object_vectorGVKd_8 K148 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 33,
  &KLobjectGVKd,
  &KLenvironment_objectGVenvironment_protocols,
  &KLenvironment_object_with_idGVenvironment_protocols,
  &KLapplication_objectGVenvironment_protocols,
  &KLcomposite_objectGVenvironment_protocols,
  &KLuser_objectGVenvironment_protocols,
  &KLduim_objectGVenvironment_protocols,
  &KLduim_sheetGVenvironment_protocols
};

static _KLkeyword_signatureAvaluesGVKi K149 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 35390469,
  &KDsignature_LclassG_typesVKi,
  &K87,
  &KDsignature_LobjectG_typesVKi,
  &K98
};

static _KLbyte_stringGVKd_12 K150 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 49,
  "<duim-sheet>"
};

static _KLimplementation_classGVKe K151 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 477102093,
  &KLduim_frameGVenvironment_protocols,
  &KLduim_frameGVenvironment_protocolsW,
  &KPfalseVKi,
  &K71,
  (D) -3,
  &KLduim_frameGZ32ZconstructorVenvironment_protocolsMM0,
  &K88,
  &K154,
  (D) 29,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K71,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

_KLkeyword_methodGVKe KLduim_frameGZ32ZconstructorVenvironment_protocolsMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K155,
  &key_mep_2,
  &KLduim_frameGZ32ZconstructorVenvironment_protocolsMM0I,
  &K84
};

static _KLsimple_object_vectorGVKd_8 K154 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 33,
  &KLobjectGVKd,
  &KLenvironment_objectGVenvironment_protocols,
  &KLenvironment_object_with_idGVenvironment_protocols,
  &KLapplication_objectGVenvironment_protocols,
  &KLcomposite_objectGVenvironment_protocols,
  &KLuser_objectGVenvironment_protocols,
  &KLduim_objectGVenvironment_protocols,
  &KLduim_frameGVenvironment_protocols
};

static _KLkeyword_signatureAvaluesGVKi K155 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 35390469,
  &KDsignature_LclassG_typesVKi,
  &K87,
  &KDsignature_LobjectG_typesVKi,
  &K95
};

static _KLbyte_stringGVKd_12 K156 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 49,
  "<duim-frame>"
};

static _KLimplementation_classGVKe K157 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 477102093,
  &KLduim_frame_managerGVenvironment_protocols,
  &KLduim_frame_managerGVenvironment_protocolsW,
  &KPfalseVKi,
  &K71,
  (D) -3,
  &KLduim_frame_managerGZ32ZconstructorVenvironment_protocolsMM0,
  &K88,
  &K160,
  (D) 29,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K71,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

_KLkeyword_methodGVKe KLduim_frame_managerGZ32ZconstructorVenvironment_protocolsMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K161,
  &key_mep_2,
  &KLduim_frame_managerGZ32ZconstructorVenvironment_protocolsMM0I,
  &K84
};

static _KLsimple_object_vectorGVKd_8 K160 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 33,
  &KLobjectGVKd,
  &KLenvironment_objectGVenvironment_protocols,
  &KLenvironment_object_with_idGVenvironment_protocols,
  &KLapplication_objectGVenvironment_protocols,
  &KLcomposite_objectGVenvironment_protocols,
  &KLuser_objectGVenvironment_protocols,
  &KLduim_objectGVenvironment_protocols,
  &KLduim_frame_managerGVenvironment_protocols
};

static _KLkeyword_signatureAvaluesGVKi K161 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 35390469,
  &KDsignature_LclassG_typesVKi,
  &K87,
  &KDsignature_LobjectG_typesVKi,
  &K162
};

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

static _KLbyte_stringGVKd_20 K163 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 81,
  "<duim-frame-manager>"
};

static _KLimplementation_classGVKe K164 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 477102093,
  &KLduim_portGVenvironment_protocols,
  &KLduim_portGVenvironment_protocolsW,
  &KPfalseVKi,
  &K71,
  (D) -3,
  &KLduim_portGZ32ZconstructorVenvironment_protocolsMM0,
  &K88,
  &K167,
  (D) 29,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K71,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

_KLkeyword_methodGVKe KLduim_portGZ32ZconstructorVenvironment_protocolsMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K168,
  &key_mep_2,
  &KLduim_portGZ32ZconstructorVenvironment_protocolsMM0I,
  &K84
};

static _KLsimple_object_vectorGVKd_8 K167 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 33,
  &KLobjectGVKd,
  &KLenvironment_objectGVenvironment_protocols,
  &KLenvironment_object_with_idGVenvironment_protocols,
  &KLapplication_objectGVenvironment_protocols,
  &KLcomposite_objectGVenvironment_protocols,
  &KLuser_objectGVenvironment_protocols,
  &KLduim_objectGVenvironment_protocols,
  &KLduim_portGVenvironment_protocols
};

static _KLkeyword_signatureAvaluesGVKi K168 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 35390469,
  &KDsignature_LclassG_typesVKi,
  &K87,
  &KDsignature_LobjectG_typesVKi,
  &K169
};

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

static _KLbyte_stringGVKd_11 K170 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 45,
  "<duim-port>"
};

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

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

_KLincremental_generic_functionGVKe Kduim_object_compositeQVenvironment_protocols = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &K180,
  &KPfalseVKi,
  &K181,
  &K178,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kenvironment_protocols_moduleYdylan_userVenvironment_protocols,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLsimple_methodGVKe Kduim_object_compositeQVenvironment_protocolsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K180,
  &Kduim_object_compositeQVenvironment_protocolsMM0I
};

_KLsimple_methodGVKe Kduim_object_compositeQVenvironment_protocolsMM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K182,
  &Kduim_object_compositeQVenvironment_protocolsMM1I
};

static _KLpairGVKd K178 = {
  &KLpairGVKdW /* wrapper */,
  &Kduim_object_compositeQVenvironment_protocolsMM0,
  &K179
};

static _KLpairGVKd K179 = {
  &KLpairGVKdW /* wrapper */,
  &Kduim_object_compositeQVenvironment_protocolsMM1,
  &KPempty_listVKi
};

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

static _KLbyte_stringGVKd_22 K181 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 89,
  "duim-object-composite?"
};

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

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

static _KLpairGVKd K184 = {
  &KLpairGVKdW /* wrapper */,
  &KLduim_sheetGVenvironment_protocols,
  &K185
};

static _KLpairGVKd K185 = {
  &KLpairGVKdW /* wrapper */,
  &KLduim_frameGVenvironment_protocols,
  &K186
};

static _KLpairGVKd K186 = {
  &KLpairGVKdW /* wrapper */,
  &KLduim_frame_managerGVenvironment_protocols,
  &K187
};

static _KLpairGVKd K187 = {
  &KLpairGVKdW /* wrapper */,
  &KLduim_portGVenvironment_protocols,
  &KPempty_listVKi
};

static _KLpairGVKd K188 = {
  &KLpairGVKdW /* wrapper */,
  &KLduim_gadgetGVenvironment_protocols,
  &KPempty_listVKi
};

/* Code */

D Kget_environment_object_primitive_nameVenvironment_protocolsMM5I (D project_, D gadget_) {
  D objectF3;
  D T4_0;
  D T5_0;
  D T6_0;
  D T7;
  D T8;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:214
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:217
  objectF3 = CALL3(&Kuser_object_slot_valueVenvironment_protocols, project_, gadget_, Dgadget_label_idVenvironment_protocols);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:218
  T8 = primitive_instanceQ(objectF3,&KLstring_objectGVenvironment_protocols);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:218
  if (T8 != &KPfalseVKi) {
    T7 = objectF3;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:219
    CONGRUENT_CALL_PROLOG(&Kenvironment_object_primitive_nameVenvironment_protocols, 2);
    T4_0 = CONGRUENT_CALL2(project_, T7);
    T6_0 = T4_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:218
    T5_0 = &KPfalseVKi;
    T6_0 = T5_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:218
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:214
  MV_SET_COUNT(1);
  return(T6_0);
}

D Kget_environment_object_primitive_nameVenvironment_protocolsMM4I (D project_, D frame_) {
  D objectF3;
  D T4_0;
  D T5_0;
  D T6_0;
  D T7;
  D T8;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:205
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:208
  objectF3 = CALL3(&Kuser_object_slot_valueVenvironment_protocols, project_, frame_, Dframe_title_idVenvironment_protocols);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:209
  T8 = primitive_instanceQ(objectF3,&KLstring_objectGVenvironment_protocols);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:209
  if (T8 != &KPfalseVKi) {
    T7 = objectF3;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:210
    CONGRUENT_CALL_PROLOG(&Kenvironment_object_primitive_nameVenvironment_protocols, 2);
    T4_0 = CONGRUENT_CALL2(project_, T7);
    T6_0 = T4_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:209
    T5_0 = &KPfalseVKi;
    T6_0 = T5_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:209
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:205
  MV_SET_COUNT(1);
  return(T6_0);
}

D Kget_environment_object_primitive_nameVenvironment_protocolsMM3I (D project_, D frame_) {
  D T3_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:199
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:202
  T3_0 = &KPfalseVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:199
  MV_SET_COUNT(1);
  return(T3_0);
}

D Kenvironment_object_type_nameVenvironment_protocolsMM41I (D object_) {
  D T2_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:235
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:237
  T2_0 = &K96;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:235
  MV_SET_COUNT(1);
  return(T2_0);
}

D Kenvironment_object_type_nameVenvironment_protocolsMM42I (D object_) {
  D T2_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:240
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:242
  T2_0 = &K93;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:240
  MV_SET_COUNT(1);
  return(T2_0);
}

D Kenvironment_object_type_nameVenvironment_protocolsMM43I (D object_) {
  D T2_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:245
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:247
  T2_0 = &K90;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:245
  MV_SET_COUNT(1);
  return(T2_0);
}

D KLduim_objectGZ32ZconstructorVenvironment_protocolsMM0I (D class_, D init_args_, D Uunique_Pprimitive_name_, D Uunique_Pid_, D Uunique_application_object_proxy_) {
  D T6;
  D Uunique_PidF7;
  D T8;
  D Uunique_Pprimitive_nameF9;
  D Uunique_PidF10;
  D T11_0;
  D T12;
  _KLsimple_object_vectorGVKd_1 T13 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T14;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:13
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:13
  T12 = primitive_idQ(Uunique_Pid_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:13
  if (T12 != &KPfalseVKi) {
    T13.vector_element_[0] = IKJid_;
    T14 = KerrorVKdMM1I(&K77, &T13);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:13
    T6 = T14;
    Uunique_PidF7 = T6;
  } else {
    Uunique_PidF7 = Uunique_Pid_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:13
  T8 = primitive_object_allocate_filled(4,&KLduim_objectGVenvironment_protocolsW,3,&KPunboundVKi,0,0,&KPunboundVKi);
  primitive_type_check(Uunique_Pprimitive_name_, &K78);
  Uunique_Pprimitive_nameF9 = Uunique_Pprimitive_name_;
  SLOT_VALUE_SETTER(Uunique_Pprimitive_nameF9, T8, 0);
  primitive_type_check(Uunique_PidF7, &K79);
  Uunique_PidF10 = Uunique_PidF7;
  SLOT_VALUE_SETTER(Uunique_PidF10, T8, 1);
  SLOT_VALUE_SETTER(Uunique_application_object_proxy_, T8, 2);
  MEP_APPLY2(&KinitializeVKdMenvironment_protocolsM0, &K80, T8, init_args_);
  T11_0 = T8;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:13
  MV_SET_COUNT(1);
  return(T11_0);
}

D Kduim_object_childrenVenvironment_protocolsI (D server_, D object_) {
  D T2_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:226
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:229
  T2_0 = Kcollect_environment_objectsVenvironment_protocolsMM0I(&Kdo_duim_object_childrenVenvironment_protocols, server_, object_, &KPempty_vectorVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:226
  MV_SET_COUNT(1);
  return(T2_0);
}

D Kdo_duim_object_childrenVenvironment_protocolsMM0I (D function_, D server_, D object_) {
  D T4;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:155
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:158
  T4 = &KPfalseVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:155
  MV_SET_COUNT(0);
  return(T4);
}

D Kdo_duim_object_childrenVenvironment_protocolsMM1I (D function_, D server_, D sheet_) {
  D displays_;
  D frame_managers_;
  D T6;
  D T7;
  D T8;
  D T9;
  D T10;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:161
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:164
  displays_ = CALL3(&Kuser_object_slot_valueVenvironment_protocols, server_, sheet_, Dport_displays_idVenvironment_protocols);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:165
  if (displays_ != &KPfalseVKi) {
    T9 = displays_;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:165
    CALL3(&Kdo_collection_elementsVenvironment_protocols, function_, server_, T9);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:165
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:166
  frame_managers_ = CALL3(&Kuser_object_slot_valueVenvironment_protocols, server_, sheet_, Dport_frame_managers_idVenvironment_protocols);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:167
  if (frame_managers_ != &KPfalseVKi) {
    T10 = frame_managers_;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:167
    T6 = CALL3(&Kdo_collection_elementsVenvironment_protocols, function_, server_, T10);
    T8 = T6;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:167
    T7 = &KPfalseVKi;
    T8 = T7;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:167
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:161
  MV_SET_COUNT(0);
  return(T8);
}

D Kdo_duim_object_childrenVenvironment_protocolsMM2I (D function_, D server_, D sheet_) {
  D children_;
  D T5;
  D T6;
  D T7;
  D T8;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:170
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:173
  children_ = CALL3(&Kuser_object_slot_valueVenvironment_protocols, server_, sheet_, Dframe_manager_frames_idVenvironment_protocols);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:174
  if (children_ != &KPfalseVKi) {
    T8 = children_;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:174
    T5 = CALL3(&Kdo_collection_elementsVenvironment_protocols, function_, server_, T8);
    T7 = T5;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:174
    T6 = &KPfalseVKi;
    T7 = T6;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:174
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:170
  MV_SET_COUNT(0);
  return(T7);
}

D Kdo_duim_object_childrenVenvironment_protocolsMM3I (D function_, D server_, D sheet_) {
  D children_;
  D T5;
  D T6;
  D T7;
  D T8;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:177
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:180
  children_ = CALL3(&Kuser_object_slot_valueVenvironment_protocols, server_, sheet_, Dsheet_children_idVenvironment_protocols);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:181
  if (children_ != &KPfalseVKi) {
    T8 = children_;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:181
    T5 = CALL3(&Kdo_collection_elementsVenvironment_protocols, function_, server_, T8);
    T7 = T5;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:181
    T6 = &KPfalseVKi;
    T7 = T6;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:181
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:177
  MV_SET_COUNT(0);
  return(T7);
}

D Kdo_duim_object_childrenVenvironment_protocolsMM4I (D function_, D server_, D frame_) {
  D T4;
  D T5;
  D T6;
  D T7;
  D T8;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:184
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:193
  T4 = CALL3(&Kuser_object_slot_valueVenvironment_protocols, server_, frame_, Dframe_menu_bar_idVenvironment_protocols);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:193
  Kmaybe_callF128I(function_, T4);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:194
  T5 = CALL3(&Kuser_object_slot_valueVenvironment_protocols, server_, frame_, Dframe_tool_bar_idVenvironment_protocols);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:194
  Kmaybe_callF128I(function_, T5);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:195
  T6 = CALL3(&Kuser_object_slot_valueVenvironment_protocols, server_, frame_, Dframe_layout_idVenvironment_protocols);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:195
  Kmaybe_callF128I(function_, T6);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:196
  T7 = CALL3(&Kuser_object_slot_valueVenvironment_protocols, server_, frame_, Dframe_status_bar_idVenvironment_protocols);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:196
  T8 = Kmaybe_callF128I(function_, T7);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:184
  MV_SET_COUNT(0);
  return(T8);
}

static D Kmaybe_callF128I (D function_, D object_) {
  D objectF2;
  D T3;
  D T4;
  D T5;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:187
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:187
  objectF2 = object_;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:189
  T4 = primitive_instanceQ(objectF2,&KLduim_objectGVenvironment_protocols);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:189
  if (T4 != &KPfalseVKi) {
    T3 = objectF2;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:190
    CALL1(function_, T3);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:189
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:187
  T5 = &KPfalseVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:187
  MV_SET_COUNT(0);
  return(T5);
}

D KLduim_gadgetGZ32ZconstructorVenvironment_protocolsMM0I (D class_, D init_args_, D Uunique_Pprimitive_name_, D Uunique_Pid_, D Uunique_application_object_proxy_) {
  D T6;
  D Uunique_PidF7;
  D T8;
  D Uunique_Pprimitive_nameF9;
  D Uunique_PidF10;
  D T11_0;
  D T12;
  _KLsimple_object_vectorGVKd_1 T13 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T14;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:135
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:135
  T12 = primitive_idQ(Uunique_Pid_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:135
  if (T12 != &KPfalseVKi) {
    T13.vector_element_[0] = IKJid_;
    T14 = KerrorVKdMM1I(&K77, &T13);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:135
    T6 = T14;
    Uunique_PidF7 = T6;
  } else {
    Uunique_PidF7 = Uunique_Pid_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:135
  T8 = primitive_object_allocate_filled(4,&KLduim_gadgetGVenvironment_protocolsW,3,&KPunboundVKi,0,0,&KPunboundVKi);
  primitive_type_check(Uunique_Pprimitive_name_, &K78);
  Uunique_Pprimitive_nameF9 = Uunique_Pprimitive_name_;
  SLOT_VALUE_SETTER(Uunique_Pprimitive_nameF9, T8, 0);
  primitive_type_check(Uunique_PidF7, &K79);
  Uunique_PidF10 = Uunique_PidF7;
  SLOT_VALUE_SETTER(Uunique_PidF10, T8, 1);
  SLOT_VALUE_SETTER(Uunique_application_object_proxy_, T8, 2);
  MEP_APPLY2(&KinitializeVKdMenvironment_protocolsM0, &K80, T8, init_args_);
  T11_0 = T8;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:135
  MV_SET_COUNT(1);
  return(T11_0);
}

D KLduim_sheetGZ32ZconstructorVenvironment_protocolsMM0I (D class_, D init_args_, D Uunique_Pprimitive_name_, D Uunique_Pid_, D Uunique_application_object_proxy_) {
  D T6;
  D Uunique_PidF7;
  D T8;
  D Uunique_Pprimitive_nameF9;
  D Uunique_PidF10;
  D T11_0;
  D T12;
  _KLsimple_object_vectorGVKd_1 T13 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T14;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:131
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:131
  T12 = primitive_idQ(Uunique_Pid_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:131
  if (T12 != &KPfalseVKi) {
    T13.vector_element_[0] = IKJid_;
    T14 = KerrorVKdMM1I(&K77, &T13);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:131
    T6 = T14;
    Uunique_PidF7 = T6;
  } else {
    Uunique_PidF7 = Uunique_Pid_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:131
  T8 = primitive_object_allocate_filled(4,&KLduim_sheetGVenvironment_protocolsW,3,&KPunboundVKi,0,0,&KPunboundVKi);
  primitive_type_check(Uunique_Pprimitive_name_, &K78);
  Uunique_Pprimitive_nameF9 = Uunique_Pprimitive_name_;
  SLOT_VALUE_SETTER(Uunique_Pprimitive_nameF9, T8, 0);
  primitive_type_check(Uunique_PidF7, &K79);
  Uunique_PidF10 = Uunique_PidF7;
  SLOT_VALUE_SETTER(Uunique_PidF10, T8, 1);
  SLOT_VALUE_SETTER(Uunique_application_object_proxy_, T8, 2);
  MEP_APPLY2(&KinitializeVKdMenvironment_protocolsM0, &K80, T8, init_args_);
  T11_0 = T8;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:131
  MV_SET_COUNT(1);
  return(T11_0);
}

D KLduim_frameGZ32ZconstructorVenvironment_protocolsMM0I (D class_, D init_args_, D Uunique_Pprimitive_name_, D Uunique_Pid_, D Uunique_application_object_proxy_) {
  D T6;
  D Uunique_PidF7;
  D T8;
  D Uunique_Pprimitive_nameF9;
  D Uunique_PidF10;
  D T11_0;
  D T12;
  _KLsimple_object_vectorGVKd_1 T13 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T14;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:127
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:127
  T12 = primitive_idQ(Uunique_Pid_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:127
  if (T12 != &KPfalseVKi) {
    T13.vector_element_[0] = IKJid_;
    T14 = KerrorVKdMM1I(&K77, &T13);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:127
    T6 = T14;
    Uunique_PidF7 = T6;
  } else {
    Uunique_PidF7 = Uunique_Pid_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:127
  T8 = primitive_object_allocate_filled(4,&KLduim_frameGVenvironment_protocolsW,3,&KPunboundVKi,0,0,&KPunboundVKi);
  primitive_type_check(Uunique_Pprimitive_name_, &K78);
  Uunique_Pprimitive_nameF9 = Uunique_Pprimitive_name_;
  SLOT_VALUE_SETTER(Uunique_Pprimitive_nameF9, T8, 0);
  primitive_type_check(Uunique_PidF7, &K79);
  Uunique_PidF10 = Uunique_PidF7;
  SLOT_VALUE_SETTER(Uunique_PidF10, T8, 1);
  SLOT_VALUE_SETTER(Uunique_application_object_proxy_, T8, 2);
  MEP_APPLY2(&KinitializeVKdMenvironment_protocolsM0, &K80, T8, init_args_);
  T11_0 = T8;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:127
  MV_SET_COUNT(1);
  return(T11_0);
}

D KLduim_frame_managerGZ32ZconstructorVenvironment_protocolsMM0I (D class_, D init_args_, D Uunique_Pprimitive_name_, D Uunique_Pid_, D Uunique_application_object_proxy_) {
  D T6;
  D Uunique_PidF7;
  D T8;
  D Uunique_Pprimitive_nameF9;
  D Uunique_PidF10;
  D T11_0;
  D T12;
  _KLsimple_object_vectorGVKd_1 T13 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T14;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:123
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:123
  T12 = primitive_idQ(Uunique_Pid_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:123
  if (T12 != &KPfalseVKi) {
    T13.vector_element_[0] = IKJid_;
    T14 = KerrorVKdMM1I(&K77, &T13);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:123
    T6 = T14;
    Uunique_PidF7 = T6;
  } else {
    Uunique_PidF7 = Uunique_Pid_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:123
  T8 = primitive_object_allocate_filled(4,&KLduim_frame_managerGVenvironment_protocolsW,3,&KPunboundVKi,0,0,&KPunboundVKi);
  primitive_type_check(Uunique_Pprimitive_name_, &K78);
  Uunique_Pprimitive_nameF9 = Uunique_Pprimitive_name_;
  SLOT_VALUE_SETTER(Uunique_Pprimitive_nameF9, T8, 0);
  primitive_type_check(Uunique_PidF7, &K79);
  Uunique_PidF10 = Uunique_PidF7;
  SLOT_VALUE_SETTER(Uunique_PidF10, T8, 1);
  SLOT_VALUE_SETTER(Uunique_application_object_proxy_, T8, 2);
  MEP_APPLY2(&KinitializeVKdMenvironment_protocolsM0, &K80, T8, init_args_);
  T11_0 = T8;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:123
  MV_SET_COUNT(1);
  return(T11_0);
}

D KLduim_portGZ32ZconstructorVenvironment_protocolsMM0I (D class_, D init_args_, D Uunique_Pprimitive_name_, D Uunique_Pid_, D Uunique_application_object_proxy_) {
  D T6;
  D Uunique_PidF7;
  D T8;
  D Uunique_Pprimitive_nameF9;
  D Uunique_PidF10;
  D T11_0;
  D T12;
  _KLsimple_object_vectorGVKd_1 T13 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T14;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:119
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:119
  T12 = primitive_idQ(Uunique_Pid_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:119
  if (T12 != &KPfalseVKi) {
    T13.vector_element_[0] = IKJid_;
    T14 = KerrorVKdMM1I(&K77, &T13);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:119
    T6 = T14;
    Uunique_PidF7 = T6;
  } else {
    Uunique_PidF7 = Uunique_Pid_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:119
  T8 = primitive_object_allocate_filled(4,&KLduim_portGVenvironment_protocolsW,3,&KPunboundVKi,0,0,&KPunboundVKi);
  primitive_type_check(Uunique_Pprimitive_name_, &K78);
  Uunique_Pprimitive_nameF9 = Uunique_Pprimitive_name_;
  SLOT_VALUE_SETTER(Uunique_Pprimitive_nameF9, T8, 0);
  primitive_type_check(Uunique_PidF7, &K79);
  Uunique_PidF10 = Uunique_PidF7;
  SLOT_VALUE_SETTER(Uunique_PidF10, T8, 1);
  SLOT_VALUE_SETTER(Uunique_application_object_proxy_, T8, 2);
  MEP_APPLY2(&KinitializeVKdMenvironment_protocolsM0, &K80, T8, init_args_);
  T11_0 = T8;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:119
  MV_SET_COUNT(1);
  return(T11_0);
}

D Kduim_object_compositeQVenvironment_protocolsMM0I (D server_, D object_) {
  D T3_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:142
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:145
  T3_0 = &KPtrueVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:142
  MV_SET_COUNT(1);
  return(T3_0);
}

D Kduim_object_compositeQVenvironment_protocolsMM1I (D server_, D sheet_) {
  D T3;
  D T4;
  D T5;
  D T6_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:148
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:152
  T3 = CALL3(&Kuser_object_slot_valueVenvironment_protocols, server_, sheet_, Dsheet_children_idVenvironment_protocols);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:152
  CONGRUENT_CALL_PROLOG(&KEVKd, 2);
  T4 = CONGRUENT_CALL2(T3, &KPfalseVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:152
  T5 = primitive_not(T4);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:152
  T6_0 = T5;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:148
  MV_SET_COUNT(1);
  return(T6_0);
}


/* SYSTEM INIT CODE */

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

    T0 = KPresolve_symbolVKiI(&KJlibrary_);
    if (T0 != &KJlibrary_) {
      IKJlibrary_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJmodule_);
    if (T0 != &KJmodule_) {
      IKJmodule_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJid_);
    if (T0 != &KJid_) {
      IKJid_ = T0;
      primitive_repeated_slot_value_setter(T0, &K87, 1, 1);
      primitive_repeated_slot_value_setter(T0, &K84, 1, 2);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJapplication_object_proxy_);
    if (T0 != &KJapplication_object_proxy_) {
      primitive_repeated_slot_value_setter(T0, &K87, 1, 2);
      primitive_repeated_slot_value_setter(T0, &K84, 1, 4);
    }
  }
  return;
}

/* USER INIT CODE */

void _Init_environment_protocols__X_duim_objects_for_user () {
{
  D T0;
  _KLsimple_object_vectorGVKd_2 T1 = {&KLsimple_object_vectorGVKdW, (D) 9};
  D T2;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:30
  T1.vector_element_[0] = &KJname_;
  T1.vector_element_[1] = &K1;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:30
  MIEP_CALL_PROLOG(&K2);
  T2 = KmakeVKdMenvironment_protocolsM0I(&KLlibrary_idGVenvironment_protocols, &T1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:29
  Dduim_sheets_library_idVenvironment_protocols = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:29
  T0 = &KPfalseVKi;
  goto I0;
}
I0:

{
  D T0;
  _KLsimple_object_vectorGVKd_4 T1 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T2;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:34
  T1.vector_element_[0] = &KJname_;
  T1.vector_element_[1] = &K1;
  T1.vector_element_[2] = IKJlibrary_;
  T1.vector_element_[3] = Dduim_sheets_library_idVenvironment_protocols;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:34
  MIEP_CALL_PROLOG(&K2);
  T2 = KmakeVKdMenvironment_protocolsM0I(&KLmodule_idGVenvironment_protocols, &T1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:33
  Dduim_sheets_module_idVenvironment_protocols = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:33
  T0 = &KPfalseVKi;
  goto I3;
}
I3:

{
  D T0;
  _KLsimple_object_vectorGVKd_4 T1 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T2;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:39
  T1.vector_element_[0] = &KJname_;
  T1.vector_element_[1] = &K6;
  T1.vector_element_[2] = IKJlibrary_;
  T1.vector_element_[3] = Dduim_sheets_library_idVenvironment_protocols;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:39
  MIEP_CALL_PROLOG(&K2);
  T2 = KmakeVKdMenvironment_protocolsM0I(&KLmodule_idGVenvironment_protocols, &T1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:38
  Dduim_sheets_internals_module_idVenvironment_protocols = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:38
  T0 = &KPfalseVKi;
  goto I5;
}
I5:

{
  D T0;
  _KLsimple_object_vectorGVKd_4 T1 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T2;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:44
  T1.vector_element_[0] = &KJname_;
  T1.vector_element_[1] = &K8;
  T1.vector_element_[2] = IKJmodule_;
  T1.vector_element_[3] = Dduim_sheets_internals_module_idVenvironment_protocols;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:44
  MIEP_CALL_PROLOG(&K2);
  T2 = KmakeVKdMenvironment_protocolsM0I(&KLdefinition_idGVenvironment_protocols, &T1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:43
  Dport_displays_idVenvironment_protocols = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:43
  T0 = &KPfalseVKi;
  goto I7;
}
I7:

{
  D T0;
  _KLsimple_object_vectorGVKd_4 T1 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T2;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:49
  T1.vector_element_[0] = &KJname_;
  T1.vector_element_[1] = &K11;
  T1.vector_element_[2] = IKJmodule_;
  T1.vector_element_[3] = Dduim_sheets_internals_module_idVenvironment_protocols;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:49
  MIEP_CALL_PROLOG(&K2);
  T2 = KmakeVKdMenvironment_protocolsM0I(&KLdefinition_idGVenvironment_protocols, &T1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:48
  Dport_frame_managers_idVenvironment_protocols = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:48
  T0 = &KPfalseVKi;
  goto I10;
}
I10:

{
  D T0;
  _KLsimple_object_vectorGVKd_4 T1 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T2;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:54
  T1.vector_element_[0] = &KJname_;
  T1.vector_element_[1] = &K13;
  T1.vector_element_[2] = IKJmodule_;
  T1.vector_element_[3] = Dduim_sheets_module_idVenvironment_protocols;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:54
  MIEP_CALL_PROLOG(&K2);
  T2 = KmakeVKdMenvironment_protocolsM0I(&KLdefinition_idGVenvironment_protocols, &T1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:53
  Dframe_manager_frames_idVenvironment_protocols = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:53
  T0 = &KPfalseVKi;
  goto I12;
}
I12:

{
  D T0;
  _KLsimple_object_vectorGVKd_4 T1 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T2;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:59
  T1.vector_element_[0] = &KJname_;
  T1.vector_element_[1] = &K15;
  T1.vector_element_[2] = IKJmodule_;
  T1.vector_element_[3] = Dduim_sheets_module_idVenvironment_protocols;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:59
  MIEP_CALL_PROLOG(&K2);
  T2 = KmakeVKdMenvironment_protocolsM0I(&KLdefinition_idGVenvironment_protocols, &T1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:58
  Dsheet_children_idVenvironment_protocols = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:58
  T0 = &KPfalseVKi;
  goto I14;
}
I14:

{
  D T0;
  _KLsimple_object_vectorGVKd_2 T1 = {&KLsimple_object_vectorGVKdW, (D) 9};
  D T2;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:64
  T1.vector_element_[0] = &KJname_;
  T1.vector_element_[1] = &K17;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:64
  MIEP_CALL_PROLOG(&K2);
  T2 = KmakeVKdMenvironment_protocolsM0I(&KLlibrary_idGVenvironment_protocols, &T1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:63
  Dduim_gadgets_library_idVenvironment_protocols = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:63
  T0 = &KPfalseVKi;
  goto I16;
}
I16:

{
  D T0;
  _KLsimple_object_vectorGVKd_4 T1 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T2;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:68
  T1.vector_element_[0] = &KJname_;
  T1.vector_element_[1] = &K17;
  T1.vector_element_[2] = IKJlibrary_;
  T1.vector_element_[3] = Dduim_gadgets_library_idVenvironment_protocols;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:68
  MIEP_CALL_PROLOG(&K2);
  T2 = KmakeVKdMenvironment_protocolsM0I(&KLmodule_idGVenvironment_protocols, &T1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:67
  Dduim_gadgets_module_idVenvironment_protocols = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:67
  T0 = &KPfalseVKi;
  goto I18;
}
I18:

{
  D T0;
  _KLsimple_object_vectorGVKd_4 T1 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T2;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:73
  T1.vector_element_[0] = &KJname_;
  T1.vector_element_[1] = &K20;
  T1.vector_element_[2] = IKJmodule_;
  T1.vector_element_[3] = Dduim_gadgets_module_idVenvironment_protocols;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:73
  MIEP_CALL_PROLOG(&K2);
  T2 = KmakeVKdMenvironment_protocolsM0I(&KLdefinition_idGVenvironment_protocols, &T1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:72
  Dgadget_label_idVenvironment_protocols = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:72
  T0 = &KPfalseVKi;
  goto I19;
}
I19:

{
  D T0;
  _KLsimple_object_vectorGVKd_2 T1 = {&KLsimple_object_vectorGVKdW, (D) 9};
  D T2;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:78
  T1.vector_element_[0] = &KJname_;
  T1.vector_element_[1] = &K22;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:78
  MIEP_CALL_PROLOG(&K2);
  T2 = KmakeVKdMenvironment_protocolsM0I(&KLlibrary_idGVenvironment_protocols, &T1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:77
  Dduim_frames_library_idVenvironment_protocols = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:77
  T0 = &KPfalseVKi;
  goto I21;
}
I21:

{
  D T0;
  _KLsimple_object_vectorGVKd_4 T1 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T2;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:82
  T1.vector_element_[0] = &KJname_;
  T1.vector_element_[1] = &K22;
  T1.vector_element_[2] = IKJlibrary_;
  T1.vector_element_[3] = Dduim_frames_library_idVenvironment_protocols;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:82
  MIEP_CALL_PROLOG(&K2);
  T2 = KmakeVKdMenvironment_protocolsM0I(&KLmodule_idGVenvironment_protocols, &T1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:81
  Dduim_frames_module_idVenvironment_protocols = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:81
  T0 = &KPfalseVKi;
  goto I23;
}
I23:

{
  D T0;
  _KLsimple_object_vectorGVKd_4 T1 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T2;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:87
  T1.vector_element_[0] = &KJname_;
  T1.vector_element_[1] = &K25;
  T1.vector_element_[2] = IKJlibrary_;
  T1.vector_element_[3] = Dduim_frames_library_idVenvironment_protocols;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:87
  MIEP_CALL_PROLOG(&K2);
  T2 = KmakeVKdMenvironment_protocolsM0I(&KLmodule_idGVenvironment_protocols, &T1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:86
  Dduim_frames_internals_module_idVenvironment_protocols = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:86
  T0 = &KPfalseVKi;
  goto I24;
}
I24:

{
  D T0;
  _KLsimple_object_vectorGVKd_4 T1 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T2;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:92
  T1.vector_element_[0] = &KJname_;
  T1.vector_element_[1] = &K27;
  T1.vector_element_[2] = IKJmodule_;
  T1.vector_element_[3] = Dduim_frames_module_idVenvironment_protocols;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:92
  MIEP_CALL_PROLOG(&K2);
  T2 = KmakeVKdMenvironment_protocolsM0I(&KLdefinition_idGVenvironment_protocols, &T1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:91
  Dframe_title_idVenvironment_protocols = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:91
  T0 = &KPfalseVKi;
  goto I26;
}
I26:

{
  D T0;
  _KLsimple_object_vectorGVKd_4 T1 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T2;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:97
  T1.vector_element_[0] = &KJname_;
  T1.vector_element_[1] = &K29;
  T1.vector_element_[2] = IKJmodule_;
  T1.vector_element_[3] = Dduim_frames_internals_module_idVenvironment_protocols;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:97
  MIEP_CALL_PROLOG(&K2);
  T2 = KmakeVKdMenvironment_protocolsM0I(&KLdefinition_idGVenvironment_protocols, &T1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:96
  Dframe_menu_bar_idVenvironment_protocols = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:96
  T0 = &KPfalseVKi;
  goto I28;
}
I28:

{
  D T0;
  _KLsimple_object_vectorGVKd_4 T1 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T2;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:102
  T1.vector_element_[0] = &KJname_;
  T1.vector_element_[1] = &K31;
  T1.vector_element_[2] = IKJmodule_;
  T1.vector_element_[3] = Dduim_frames_internals_module_idVenvironment_protocols;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:102
  MIEP_CALL_PROLOG(&K2);
  T2 = KmakeVKdMenvironment_protocolsM0I(&KLdefinition_idGVenvironment_protocols, &T1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:101
  Dframe_tool_bar_idVenvironment_protocols = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:101
  T0 = &KPfalseVKi;
  goto I30;
}
I30:

{
  D T0;
  _KLsimple_object_vectorGVKd_4 T1 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T2;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:107
  T1.vector_element_[0] = &KJname_;
  T1.vector_element_[1] = &K33;
  T1.vector_element_[2] = IKJmodule_;
  T1.vector_element_[3] = Dduim_frames_internals_module_idVenvironment_protocols;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:107
  MIEP_CALL_PROLOG(&K2);
  T2 = KmakeVKdMenvironment_protocolsM0I(&KLdefinition_idGVenvironment_protocols, &T1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:106
  Dframe_layout_idVenvironment_protocols = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:106
  T0 = &KPfalseVKi;
  goto I32;
}
I32:

{
  D T0;
  _KLsimple_object_vectorGVKd_4 T1 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T2;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:112
  T1.vector_element_[0] = &KJname_;
  T1.vector_element_[1] = &K35;
  T1.vector_element_[2] = IKJmodule_;
  T1.vector_element_[3] = Dduim_frames_internals_module_idVenvironment_protocols;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:112
  MIEP_CALL_PROLOG(&K2);
  T2 = KmakeVKdMenvironment_protocolsM0I(&KLdefinition_idGVenvironment_protocols, &T1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:111
  Dframe_status_bar_idVenvironment_protocols = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:111
  T0 = &KPfalseVKi;
  goto I34;
}
I34:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:119
  T0 = Kregister_user_object_classVenvironment_protocolsI(&KLduim_portGVenvironment_protocols, &K39, &K1, &K1);
  goto I36;
}
I36:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:123
  T0 = Kregister_user_object_classVenvironment_protocolsI(&KLduim_frame_managerGVenvironment_protocols, &K43, &K1, &K1);
  goto I40;
}
I40:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:127
  T0 = Kregister_user_object_classVenvironment_protocolsI(&KLduim_frameGVenvironment_protocols, &K47, &K1, &K1);
  goto I44;
}
I44:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:131
  T0 = Kregister_user_object_classVenvironment_protocolsI(&KLduim_sheetGVenvironment_protocols, &K51, &K1, &K1);
  goto I48;
}
I48:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/protocols/duim-objects.dylan:135
  T0 = Kregister_user_object_classVenvironment_protocolsI(&KLduim_gadgetGVenvironment_protocols, &K55, &K17, &K17);
  goto I52;
}
I52:

  return;
}


/* eof */
