#include "opendylan/run-time.h"

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

/* Typedefs for referenced classes */

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

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

typedef struct {
  dylan_value wrapper;
} _KLobjectGVKd;

typedef struct {
  dylan_value wrapper;
} _KLunboundGVKe;

typedef struct {
  dylan_value wrapper;
} _KLbooleanGVKd;

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

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
  dylan_value limited_collection_class_;
  dylan_value limited_collection_element_type_;
  dylan_value limited_collection_concrete_class_;
  dylan_value limited_collection_size_;
  dylan_value limited_collection_dimensions_;
} _KLlimited_mutable_explicit_key_collection_typeGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
  dylan_value subclass_class_;
} _KLsubclassGVKe;

typedef struct {
  dylan_value wrapper;
} _KLmutable_explicit_key_collectionGVKd;

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

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

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

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

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

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

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

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

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(17);
define__KLbyte_stringGVKd(5);
define__KLbyte_stringGVKd(14);
define__KLbyte_stringGVKd(30);

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

typedef struct {
  dylan_value wrapper;
} _KLmutable_collectionGVKd;

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

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

typedef struct {
  dylan_value wrapper;
} _KLmutable_object_with_elementsGVKe;

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

#define  define__KLstandalone_domainGVKe(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value domain_library_; \
    dylan_value domain_next_; \
    dylan_value domain_number_required_; \
    dylan_value domain_type_[nrepeated+1]; \
  } _KLstandalone_domainGVKe_##nrepeated;
define__KLstandalone_domainGVKe(1);

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

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

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

typedef struct {
  dylan_value wrapper;
} _KLintegerGVKd;

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

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


/* Typedefs for defined classes */


/* 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;
dylan_value Kunion_instanceQVKiI (dylan_value x_, dylan_value u_);
extern _KLclassGVKd KLlimited_mutable_explicit_key_collection_typeGVKe;
extern _KLmm_wrapperGVKi_0 KLlimited_mutable_explicit_key_collection_typeGVKeW;
extern _KLclassGVKd KLsubclassGVKe;
extern _KLmm_wrapperGVKi_0 KLsubclassGVKeW;
dylan_value Ksubclass_instanceQVKiI (dylan_value x_, dylan_value sc_);
extern _KLclassGVKd KLmutable_explicit_key_collectionGVKd;
extern _KLmm_wrapperGVKi_0 KLmutable_explicit_key_collectionGVKdW;
extern _KLfunction_classGVKi KLincremental_generic_functionGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM0;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM1;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM3;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM4;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM5;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM6;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM7;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM8;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM9;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM10;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM11;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM12;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM13;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM14;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM15;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM16;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM17;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM18;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM19;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM20;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM21;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM22;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM23;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM24;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM25;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM26;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_0;
extern _KLclassGVKd KLmethod_domainGVKe;
extern _KLmm_wrapperGVKi_0 KLmethod_domainGVKeW;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_1;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_2;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_3;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_4;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_5;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_6;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_7;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_8;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_9;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_10;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_11;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_12;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_13;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_14;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_15;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_16;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_17;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_18;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_19;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_20;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_21;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_22;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_23;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_24;
extern _KLmethod_domainGVKe Kelement_no_bounds_check_setterVKeRD_dylanRD_25;
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 Kdylan_extensions_moduleYdylan_userVdylan;
extern _KLclassGVKd KLmoduleGVKe;
extern _KLmm_wrapperGVKi_0 KLmoduleGVKeW;
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
extern _KLclassGVKd KLmutable_collectionGVKd;
extern _KLmm_wrapperGVKi_0 KLmutable_collectionGVKdW;
extern _KLclassGVKd KLpairGVKd;
extern _KLmm_wrapperGVKi_0 KLpairGVKdW;
dylan_value Kobject_classVKdI (dylan_value);
extern _KLclassGVKd KLsignatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLsignatureAvaluesGVKiW;
extern _KLsimple_object_vectorGVKd_2 KDsignature_Lmutable_collectionG_typesVKi;
extern _KLsimple_methodGVKe Kelement_setterVKdMM0;
extern _KLsimple_methodGVKe Kelement_setterVKdMM1;
extern _KLsimple_methodGVKe Kelement_setterVKdMM2;
extern _KLsimple_methodGVKe Kelement_setterVKdMM3;
extern _KLsimple_methodGVKe Kelement_setterVKdMM4;
extern _KLsimple_methodGVKe Kelement_setterVKdMM5;
extern _KLsimple_methodGVKe Kelement_setterVKdMM6;
extern _KLsimple_methodGVKe Kelement_setterVKdMM7;
extern _KLsimple_methodGVKe Kelement_setterVKdMM8;
extern _KLsimple_methodGVKe Kelement_setterVKdMM9;
extern _KLsimple_methodGVKe Kelement_setterVKdMM10;
extern _KLsimple_methodGVKe Kelement_setterVKdMM11;
extern _KLsimple_methodGVKe Kelement_setterVKdMM12;
extern _KLsimple_methodGVKe Kelement_setterVKdMM13;
extern _KLsimple_methodGVKe Kelement_setterVKdMM14;
extern _KLsimple_methodGVKe Kelement_setterVKdMM15;
extern _KLsimple_methodGVKe Kelement_setterVKdMM16;
extern _KLsimple_methodGVKe Kelement_setterVKdMM17;
extern _KLsimple_methodGVKe Kelement_setterVKdMM18;
extern _KLsimple_methodGVKe Kelement_setterVKdMM19;
extern _KLsimple_methodGVKe Kelement_setterVKdMM20;
extern _KLsimple_methodGVKe Kelement_setterVKdMM21;
extern _KLsimple_methodGVKe Kelement_setterVKdMM22;
extern _KLsimple_methodGVKe Kelement_setterVKdMM23;
extern _KLsimple_methodGVKe Kelement_setterVKdMM24;
extern _KLsimple_methodGVKe Kelement_setterVKdMM25;
extern _KLsimple_methodGVKe Kelement_setterVKdMM26;
extern _KLsimple_methodGVKe Kelement_setterVKdMM27;
extern _KLsimple_methodGVKe Kelement_setterVKdMM28;
extern _KLsimple_methodGVKe Kelement_setterVKdMM29;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_0;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_1;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_2;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_3;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_4;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_5;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_6;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_7;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_8;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_9;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_10;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_11;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_12;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_13;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_14;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_15;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_16;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_17;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_18;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_19;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_20;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_21;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_22;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_23;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_24;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_25;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_26;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_27;
extern _KLmethod_domainGVKe Kelement_setterVKdRD_dylanRD_28;
extern _KLmoduleGVKe Kdylan_moduleYdylan_userVdylan;
extern _KLclassGVKd KLmutable_object_with_elementsGVKe;
extern _KLmm_wrapperGVKi_0 KLmutable_object_with_elementsGVKeW;
extern _KLkeyword_methodGVKe KfillXVKdMM1;
extern _KLfunction_classGVKi KLkeyword_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_methodGVKeW;
extern _KLkeyword_methodGVKe KfillXVKdMM2;
extern _KLkeyword_methodGVKe KfillXVKdMM3;
extern _KLkeyword_methodGVKe KfillXVKdMM4;
extern _KLkeyword_methodGVKe KfillXVKdMM5;
extern _KLkeyword_methodGVKe KfillXVKdMM6;
extern _KLkeyword_methodGVKe KfillXVKdMM7;
extern _KLkeyword_methodGVKe KfillXVKdMM8;
extern _KLkeyword_methodGVKe KfillXVKdMM9;
extern _KLkeyword_methodGVKe KfillXVKdMM10;
extern _KLkeyword_methodGVKe KfillXVKdMM11;
extern _KLstandalone_domainGVKe_1 KfillXVKdRD_dylanRD_0;
extern _KLclassGVKd KLstandalone_domainGVKe;
extern _KLmm_wrapperGVKi_0 KLstandalone_domainGVKeW;
extern _KLstandalone_domainGVKe_1 KfillXVKdRD_dylanRD_1;
extern _KLstandalone_domainGVKe_1 KfillXVKdRD_dylanRD_2;
extern _KLstandalone_domainGVKe_1 KfillXVKdRD_dylanRD_3;
extern _KLstandalone_domainGVKe_1 KfillXVKdRD_dylanRD_4;
extern _KLstandalone_domainGVKe_1 KfillXVKdRD_dylanRD_5;
extern _KLstandalone_domainGVKe_1 KfillXVKdRD_dylanRD_6;
extern _KLstandalone_domainGVKe_1 KfillXVKdRD_dylanRD_7;
extern _KLstandalone_domainGVKe_1 KfillXVKdRD_dylanRD_8;
extern _KLclassGVKd KLkeyword_signatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureAvaluesGVKiW;
extern _KLsimple_object_vectorGVKd_16 KDsignature_LintegerG_typesVKi;
extern _KLsymbolGVKd KJstart_;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLsymbolGVKd KJend_;
extern _KLincremental_generic_functionGVKe Kforward_iteration_protocolVKd;
extern _KLsimple_object_vectorGVKd_256 KDsignature_LobjectG_typesVKi;
extern _KLkeyword_methodGVKe Kreplace_elementsXVKdMM1;
extern _KLkeyword_copy_down_methodGVKi Kreplace_elementsXVKdMM2;
extern _KLclassGVKd KLkeyword_copy_down_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLkeyword_copy_down_methodGVKiW;
extern _KLmethod_domainGVKe Kreplace_elementsXVKdRD_dylanRD_0;
extern _KLclassGVKd KLintegerGVKd;
extern _KLmm_wrapperGVKi_0 KLintegerGVKdW;
extern _KLclassGVKd KLsingletonGVKd;
extern _KLmm_wrapperGVKi_0 KLsingletonGVKdW;
dylan_value Ksingleton_pointer_idQ_instanceQVKiI (dylan_value x_, dylan_value s_);
extern _KLsymbolGVKd KJcount_;
extern _KLclassGVKd KLfunctionGVKd;
extern _KLmm_wrapperGVKi_0 KLfunctionGVKdW;

/* Defined object declarations */

extern _KLincremental_generic_functionGVKe Kelement_setterVKd;
extern _KLsimple_methodGVKe Ktype_for_copyVKdMM2;
dylan_value Ktype_for_copyVKdMM2I (dylan_value);
extern _KLincremental_generic_functionGVKe Kelement_no_bounds_check_setterVKe;
extern _KLunionGVKe KLmutable_explicit_key_collection_typeGVKi;
static _KLsubclassGVKe K5;
extern _KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM2;
dylan_value Kelement_no_bounds_check_setterVKeMM2I (dylan_value new_value_, dylan_value collection_, dylan_value key_);
static _KLpairGVKd K8;
static _KLpairGVKd K9;
static _KLpairGVKd K10;
static _KLpairGVKd K11;
static _KLpairGVKd K12;
static _KLpairGVKd K13;
static _KLpairGVKd K14;
static _KLpairGVKd K15;
static _KLpairGVKd K16;
static _KLpairGVKd K17;
static _KLpairGVKd K18;
static _KLpairGVKd K19;
static _KLpairGVKd K20;
static _KLpairGVKd K21;
static _KLpairGVKd K22;
static _KLpairGVKd K23;
static _KLpairGVKd K24;
static _KLpairGVKd K25;
static _KLpairGVKd K26;
static _KLpairGVKd K27;
static _KLpairGVKd K28;
static _KLpairGVKd K29;
static _KLpairGVKd K30;
static _KLpairGVKd K31;
static _KLpairGVKd K32;
static _KLpairGVKd K33;
static _KLpairGVKd K34;
static _KLsignatureGVKe K35;
static _KLbyte_stringGVKd_30 K36;
static _KLsimple_object_vectorGVKd_3 K37;
static _KLsubclassGVKe K38;
static _KLsignatureAvaluesGVKi K39;
static _KLsimple_object_vectorGVKd_1 K40;
static _KLsubclassGVKe K41;
static _KLpairGVKd K42;
static _KLpairGVKd K43;
static _KLpairGVKd K44;
static _KLpairGVKd K45;
static _KLpairGVKd K46;
static _KLpairGVKd K47;
static _KLpairGVKd K48;
static _KLpairGVKd K49;
static _KLpairGVKd K50;
static _KLpairGVKd K51;
static _KLpairGVKd K52;
static _KLpairGVKd K53;
static _KLpairGVKd K54;
static _KLpairGVKd K55;
static _KLpairGVKd K56;
static _KLpairGVKd K57;
static _KLpairGVKd K58;
static _KLpairGVKd K59;
static _KLpairGVKd K60;
static _KLpairGVKd K61;
static _KLpairGVKd K62;
static _KLpairGVKd K63;
static _KLpairGVKd K64;
static _KLpairGVKd K65;
static _KLpairGVKd K66;
static _KLpairGVKd K67;
static _KLpairGVKd K68;
static _KLpairGVKd K69;
static _KLpairGVKd K70;
static _KLpairGVKd K71;
static _KLsignatureGVKe K72;
static _KLbyte_stringGVKd_14 K73;
static _KLsimple_object_vectorGVKd_3 K74;
extern _KLincremental_generic_functionGVKe KfillXVKd;
extern _KLkeyword_methodGVKe KfillXVKdMM0;
dylan_value KfillXVKdMM0I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
static _KLpairGVKd K78;
static _KLpairGVKd K79;
static _KLpairGVKd K80;
static _KLpairGVKd K81;
static _KLpairGVKd K82;
static _KLpairGVKd K83;
static _KLpairGVKd K84;
static _KLpairGVKd K85;
static _KLpairGVKd K86;
static _KLpairGVKd K87;
static _KLpairGVKd K88;
static _KLpairGVKd K89;
static _KLkeyword_signatureAvaluesGVKi K90;
static _KLbyte_stringGVKd_5 K91;
static _KLsimple_object_vectorGVKd_2 K92;
static _KLsimple_object_vectorGVKd_2 K93;
static _KLkeyword_signatureAvaluesGVKi K94;
static _KLsimple_object_vectorGVKd_4 K95;
extern _KLincremental_generic_functionGVKe Kreplace_elementsXVKd;
extern _KLkeyword_methodGVKe Kreplace_elementsXVKdMM0;
dylan_value Kreplace_elementsXVKdMM0I (dylan_value collection_, dylan_value predicateQ_, dylan_value new_value_function_, dylan_value Urest_, dylan_value count_);
static _KLpairGVKd K99;
static _KLpairGVKd K100;
static _KLpairGVKd K101;
static _KLkeyword_signatureAvaluesGVKi K102;
static _KLbyte_stringGVKd_17 K103;
static _KLsimple_object_vectorGVKd_3 K104;
static _KLsimple_object_vectorGVKd_1 K105;
static _KLsimple_object_vectorGVKd_1 K106;
static _KLunionGVKe K107;
static _KLsingletonGVKd K108;
static _KLsimple_object_vectorGVKd_2 K109;

/* Indirection variables */


/* Variables */

dylan_value element_setterVKd = &Kelement_setterVKd;
dylan_value replace_elementsXVKd = &Kreplace_elementsXVKd;
dylan_value fillXVKd = &KfillXVKd;
dylan_value element_no_bounds_check_setterVKe = &Kelement_no_bounds_check_setterVKe;

/* Objects */

_KLincremental_generic_functionGVKe Kelement_setterVKd = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_3,
  &K72,
  (dylan_value) 1,
  &K73,
  &K42,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kdylan_moduleYdylan_userVdylan,
  &Kelement_setterVKdRD_dylanRD_28,
  &KPempty_vectorVKi,
  (dylan_value) 25
};

_KLsimple_methodGVKe Ktype_for_copyVKdMM2 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K39,
  &Ktype_for_copyVKdMM2I
};

_KLincremental_generic_functionGVKe Kelement_no_bounds_check_setterVKe = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_3,
  &K35,
  (dylan_value) 1,
  &K36,
  &K8,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kdylan_extensions_moduleYdylan_userVdylan,
  &Kelement_no_bounds_check_setterVKeRD_dylanRD_25,
  &KPempty_vectorVKi,
  (dylan_value) 25
};

_KLunionGVKe KLmutable_explicit_key_collection_typeGVKi = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K5,
  &KLlimited_mutable_explicit_key_collection_typeGVKe
};

static _KLsubclassGVKe K5 = {
  &KLsubclassGVKeW /* wrapper */,
  &Ksubclass_instanceQVKiI,
  &KLmutable_explicit_key_collectionGVKd
};

_KLsimple_methodGVKe Kelement_no_bounds_check_setterVKeMM2 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_3,
  &K35,
  &Kelement_no_bounds_check_setterVKeMM2I
};

static _KLpairGVKd K8 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM0,
  &K9
};

static _KLpairGVKd K9 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM1,
  &K10
};

static _KLpairGVKd K10 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM2,
  &K11
};

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

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

static _KLpairGVKd K13 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM5,
  &K14
};

static _KLpairGVKd K14 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM6,
  &K15
};

static _KLpairGVKd K15 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM7,
  &K16
};

static _KLpairGVKd K16 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM8,
  &K17
};

static _KLpairGVKd K17 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM9,
  &K18
};

static _KLpairGVKd K18 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM10,
  &K19
};

static _KLpairGVKd K19 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM11,
  &K20
};

static _KLpairGVKd K20 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM12,
  &K21
};

static _KLpairGVKd K21 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM13,
  &K22
};

static _KLpairGVKd K22 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM14,
  &K23
};

static _KLpairGVKd K23 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM15,
  &K24
};

static _KLpairGVKd K24 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM16,
  &K25
};

static _KLpairGVKd K25 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM17,
  &K26
};

static _KLpairGVKd K26 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM18,
  &K27
};

static _KLpairGVKd K27 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM19,
  &K28
};

static _KLpairGVKd K28 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM20,
  &K29
};

static _KLpairGVKd K29 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM21,
  &K30
};

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

static _KLpairGVKd K31 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM23,
  &K32
};

static _KLpairGVKd K32 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM24,
  &K33
};

static _KLpairGVKd K33 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM25,
  &K34
};

static _KLpairGVKd K34 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_no_bounds_check_setterVKeMM26,
  &KPempty_listVKi
};

static _KLsignatureGVKe K35 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 41944077,
  &K37
};

static _KLbyte_stringGVKd_30 K36 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 121,
  "element-no-bounds-check-setter"
};

static _KLsimple_object_vectorGVKd_3 K37 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 13,
  &KLobjectGVKd,
  &KLmutable_collectionGVKd,
  &KLobjectGVKd
};

static _KLsubclassGVKe K38 = {
  &KLsubclassGVKeW /* wrapper */,
  &Ksubclass_instanceQVKiI,
  &KLmutable_collectionGVKd
};

static _KLsignatureAvaluesGVKi K39 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555461,
  &KDsignature_Lmutable_collectionG_typesVKi,
  &K40
};

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

static _KLsubclassGVKe K41 = {
  &KLsubclassGVKeW /* wrapper */,
  &Ksubclass_instanceQVKiI,
  &KLmutable_collectionGVKd
};

static _KLpairGVKd K42 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM0,
  &K43
};

static _KLpairGVKd K43 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM1,
  &K44
};

static _KLpairGVKd K44 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM2,
  &K45
};

static _KLpairGVKd K45 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM3,
  &K46
};

static _KLpairGVKd K46 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM4,
  &K47
};

static _KLpairGVKd K47 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM5,
  &K48
};

static _KLpairGVKd K48 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM6,
  &K49
};

static _KLpairGVKd K49 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM7,
  &K50
};

static _KLpairGVKd K50 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM8,
  &K51
};

static _KLpairGVKd K51 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM9,
  &K52
};

static _KLpairGVKd K52 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM10,
  &K53
};

static _KLpairGVKd K53 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM11,
  &K54
};

static _KLpairGVKd K54 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM12,
  &K55
};

static _KLpairGVKd K55 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM13,
  &K56
};

static _KLpairGVKd K56 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM14,
  &K57
};

static _KLpairGVKd K57 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM15,
  &K58
};

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

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

static _KLpairGVKd K60 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM18,
  &K61
};

static _KLpairGVKd K61 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM19,
  &K62
};

static _KLpairGVKd K62 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM20,
  &K63
};

static _KLpairGVKd K63 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM21,
  &K64
};

static _KLpairGVKd K64 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM22,
  &K65
};

static _KLpairGVKd K65 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM23,
  &K66
};

static _KLpairGVKd K66 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM24,
  &K67
};

static _KLpairGVKd K67 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM25,
  &K68
};

static _KLpairGVKd K68 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM26,
  &K69
};

static _KLpairGVKd K69 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM27,
  &K70
};

static _KLpairGVKd K70 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM28,
  &K71
};

static _KLpairGVKd K71 = {
  &KLpairGVKdW /* wrapper */,
  &Kelement_setterVKdMM29,
  &KPempty_listVKi
};

static _KLsignatureGVKe K72 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 41944077,
  &K74
};

static _KLbyte_stringGVKd_14 K73 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 57,
  "element-setter"
};

static _KLsimple_object_vectorGVKd_3 K74 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 13,
  &KLobjectGVKd,
  &KLmutable_object_with_elementsGVKe,
  &KLobjectGVKd
};

_KLincremental_generic_functionGVKe KfillXVKd = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_optional_xep_2,
  &K90,
  &KPfalseVKi,
  &K91,
  &K78,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kdylan_moduleYdylan_userVdylan,
  &KfillXVKdRD_dylanRD_8,
  &KPempty_vectorVKi,
  (dylan_value) 25
};

_KLkeyword_methodGVKe KfillXVKdMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K94,
  &key_mep_5,
  &KfillXVKdMM0I,
  &K95
};

static _KLpairGVKd K78 = {
  &KLpairGVKdW /* wrapper */,
  &KfillXVKdMM0,
  &K79
};

static _KLpairGVKd K79 = {
  &KLpairGVKdW /* wrapper */,
  &KfillXVKdMM1,
  &K80
};

static _KLpairGVKd K80 = {
  &KLpairGVKdW /* wrapper */,
  &KfillXVKdMM2,
  &K81
};

static _KLpairGVKd K81 = {
  &KLpairGVKdW /* wrapper */,
  &KfillXVKdMM3,
  &K82
};

static _KLpairGVKd K82 = {
  &KLpairGVKdW /* wrapper */,
  &KfillXVKdMM4,
  &K83
};

static _KLpairGVKd K83 = {
  &KLpairGVKdW /* wrapper */,
  &KfillXVKdMM5,
  &K84
};

static _KLpairGVKd K84 = {
  &KLpairGVKdW /* wrapper */,
  &KfillXVKdMM6,
  &K85
};

static _KLpairGVKd K85 = {
  &KLpairGVKdW /* wrapper */,
  &KfillXVKdMM7,
  &K86
};

static _KLpairGVKd K86 = {
  &KLpairGVKdW /* wrapper */,
  &KfillXVKdMM8,
  &K87
};

static _KLpairGVKd K87 = {
  &KLpairGVKdW /* wrapper */,
  &KfillXVKdMM9,
  &K88
};

static _KLpairGVKd K88 = {
  &KLpairGVKdW /* wrapper */,
  &KfillXVKdMM10,
  &K89
};

static _KLpairGVKd K89 = {
  &KLpairGVKdW /* wrapper */,
  &KfillXVKdMM11,
  &KPempty_listVKi
};

static _KLkeyword_signatureAvaluesGVKi K90 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33817609,
  &K92,
  &K93,
  &KDsignature_LintegerG_typesVKi,
  &KDsignature_Lmutable_collectionG_typesVKi
};

static _KLbyte_stringGVKd_5 K91 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 21,
  "fill!"
};

static _KLsimple_object_vectorGVKd_2 K92 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KLmutable_collectionGVKd,
  &KLobjectGVKd
};

static _KLsimple_object_vectorGVKd_2 K93 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KJstart_,
  &KJend_
};

static _KLkeyword_signatureAvaluesGVKi K94 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33817609,
  &K92,
  &K93,
  &KDsignature_LobjectG_typesVKi,
  &KDsignature_Lmutable_collectionG_typesVKi
};

static _KLsimple_object_vectorGVKd_4 K95 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 17,
  &KJstart_,
  &KPfalseVKi,
  &KJend_,
  &KPunboundVKi
};

_KLincremental_generic_functionGVKe Kreplace_elementsXVKd = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_optional_xep_3,
  &K102,
  &KPfalseVKi,
  &K103,
  &K99,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kdylan_moduleYdylan_userVdylan,
  &Kreplace_elementsXVKdRD_dylanRD_0,
  &KPempty_vectorVKi,
  (dylan_value) 25
};

_KLkeyword_methodGVKe Kreplace_elementsXVKdMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K102,
  &key_mep_5,
  &Kreplace_elementsXVKdMM0I,
  &K109
};

static _KLpairGVKd K99 = {
  &KLpairGVKdW /* wrapper */,
  &Kreplace_elementsXVKdMM0,
  &K100
};

static _KLpairGVKd K100 = {
  &KLpairGVKdW /* wrapper */,
  &Kreplace_elementsXVKdMM1,
  &K101
};

static _KLpairGVKd K101 = {
  &KLpairGVKdW /* wrapper */,
  &Kreplace_elementsXVKdMM2,
  &KPempty_listVKi
};

static _KLkeyword_signatureAvaluesGVKi K102 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33817613,
  &K104,
  &K105,
  &K106,
  &KDsignature_Lmutable_collectionG_typesVKi
};

static _KLbyte_stringGVKd_17 K103 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 69,
  "replace-elements!"
};

static _KLsimple_object_vectorGVKd_3 K104 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 13,
  &KLmutable_collectionGVKd,
  &KLfunctionGVKd,
  &KLfunctionGVKd
};

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

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

static _KLunionGVKe K107 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K108,
  &KLintegerGVKd
};

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

static _KLsimple_object_vectorGVKd_2 K109 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KJcount_,
  &KPfalseVKi
};

/* Code */

dylan_value Ktype_for_copyVKdMM2I (dylan_value collection_) {
  dylan_value T2_0;
  dylan_value T3_0;

  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:106
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:108
  T2_0 = Kobject_classVKdI(collection_);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:106
  T3_0 = T2_0;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:106
  MV_SET_COUNT(1);
  return(T3_0);
}

dylan_value Kelement_no_bounds_check_setterVKeMM2I (dylan_value new_value_, dylan_value collection_, dylan_value key_) {
  dylan_value T4_0;

  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:120
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:122
  CONGRUENT_CALL_PROLOG(&Kelement_setterVKd, 3);
  T4_0 = CONGRUENT_CALL3(new_value_, collection_, key_);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:120
  MV_SET_COUNT(1);
  return(T4_0);
}

dylan_value KfillXVKdMM0I (dylan_value collection_, dylan_value value_, dylan_value Urest_, dylan_value start_, dylan_value last_) {
  dylan_value T6_0;
  dylan_value T6_1;
  dylan_value T6_2;
  dylan_value T6_3;
  dylan_value T6_4;
  dylan_value T6_5;
  dylan_value T6_6;
  dylan_value T6_7;
  dylan_value initial_state_;
  dylan_value limit_;
  dylan_value next_state_;
  dylan_value finished_stateQ_;
  dylan_value current_element_setter_;
  dylan_value state_T, state_;
  dylan_value T13;
  dylan_value T14;
  dylan_value T15_0;

  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:82
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:86
  CONGRUENT_CALL_PROLOG(&Kforward_iteration_protocolVKd, 1);
  T6_0 = CONGRUENT_CALL1(collection_);
  T6_1 = MV_GET_ELT(1);
  T6_2 = MV_GET_ELT(2);
  T6_3 = MV_GET_ELT(3);
  T6_4 = MV_GET_ELT(4);
  T6_5 = MV_GET_ELT(5);
  T6_6 = MV_GET_ELT(6);
  T6_7 = MV_GET_ELT(7);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:86
  initial_state_ = T6_0;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:86
  limit_ = T6_1;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:86
  next_state_ = T6_2;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:86
  finished_stateQ_ = T6_3;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:86
  current_element_setter_ = T6_6;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:87
  state_T = initial_state_;
L0: ;
    // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:87
    state_ = state_T;
    // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:88
    T14 = CALL3(finished_stateQ_, collection_, state_, limit_);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:87
    if (T14 == &KPfalseVKi) {
      // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:89
      CALL3(current_element_setter_, value_, collection_, state_);
      // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:87
      T13 = CALL2(next_state_, collection_, state_);
      // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:87
      state_T = T13;
      goto L0;
    }
    // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:87
    // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:87
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:92
  T15_0 = collection_;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:82
  MV_SET_COUNT(1);
  return(T15_0);
}

dylan_value Kreplace_elementsXVKdMM0I (dylan_value collection_, dylan_value predicateQ_, dylan_value new_value_function_, dylan_value Urest_, dylan_value count_) {
  dylan_value countF6;
  dylan_value T7_0;
  dylan_value T7_1;
  dylan_value T7_2;
  dylan_value T7_3;
  dylan_value T7_4;
  dylan_value T7_5;
  dylan_value T7_6;
  dylan_value T7_7;
  dylan_value initial_state_;
  dylan_value limit_;
  dylan_value next_state_;
  dylan_value finished_stateQ_;
  dylan_value current_element_;
  dylan_value current_element_setter_;
  dylan_value stateF14T, stateF14;
  dylan_value elementF15;
  dylan_value T16;
  dylan_value T17;
  dylan_value T18;
  dylan_value T19;
  dylan_value T20;
  dylan_value stateF21T, stateF21;
  dylan_value elementF22;
  dylan_value T23;
  dylan_value T24;
  dylan_value T25;
  dylan_value T26;
  dylan_value T27_0;
  dylan_value countF28;
  dylan_value T29;
  dylan_value T30;
  dylan_value T31;
  DWORD T32;
  dylan_value T33;
  DWORD T34;
  DWORD T35;
  dylan_value T36;

  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:48
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:48
  primitive_type_check(count_, &K107);
  countF6 = count_;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:53
  CONGRUENT_CALL_PROLOG(&Kforward_iteration_protocolVKd, 1);
  T7_0 = CONGRUENT_CALL1(collection_);
  T7_1 = MV_GET_ELT(1);
  T7_2 = MV_GET_ELT(2);
  T7_3 = MV_GET_ELT(3);
  T7_4 = MV_GET_ELT(4);
  T7_5 = MV_GET_ELT(5);
  T7_6 = MV_GET_ELT(6);
  T7_7 = MV_GET_ELT(7);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:53
  initial_state_ = T7_0;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:53
  limit_ = T7_1;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:53
  next_state_ = T7_2;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:53
  finished_stateQ_ = T7_3;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:53
  current_element_ = T7_5;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:53
  current_element_setter_ = T7_6;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:54
  if (countF6 != &KPfalseVKi) {
    T31 = countF6;
    // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:55
    countF28 = T31;
    // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:56
    stateF14T = initial_state_;
  L0: ;
      // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:56
      stateF14 = stateF14T;
      // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:57
      T29 = countF28;
      // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:57
      T32 = primitive_cast_integer_as_raw(T29);
      // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:57
      T33 = primitive_machine_word_equalQ(T32,1);
      // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:57
      if (T33 != &KPfalseVKi) {
        T20 = T33;
      } else {
        // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:57
        T19 = CALL3(finished_stateQ_, collection_, stateF14, limit_);
        T20 = T19;
      }
      // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:57
      // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:56
      if (T20 == &KPfalseVKi) {
        // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:58
        elementF15 = CALL2(current_element_, collection_, stateF14);
        // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:59
        T16 = CALL1(predicateQ_, elementF15);
        // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:59
        if (T16 != &KPfalseVKi) {
          // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:60
          T17 = CALL1(new_value_function_, elementF15);
          // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:60
          CALL3(current_element_setter_, T17, collection_, stateF14);
          // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:61
          T30 = countF28;
          // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:61
          T34 = primitive_cast_integer_as_raw(T30);
          // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:61
          T35 = primitive_machine_word_subtract_signal_overflow(T34,4);
          // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:61
          T36 = primitive_cast_raw_as_integer(T35);
          // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:61
          countF28 = T36;
        }
        // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:59
        // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:56
        T18 = CALL2(next_state_, collection_, stateF14);
        // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:56
        stateF14T = T18;
        goto L0;
      }
      // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:56
      // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:56
  } else {
    // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:65
    stateF21T = initial_state_;
  L1: ;
      // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:65
      stateF21 = stateF21T;
      // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:66
      T26 = CALL3(finished_stateQ_, collection_, stateF21, limit_);
      // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:65
      if (T26 == &KPfalseVKi) {
        // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:67
        elementF22 = CALL2(current_element_, collection_, stateF21);
        // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:68
        T23 = CALL1(predicateQ_, elementF22);
        // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:68
        if (T23 != &KPfalseVKi) {
          // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:69
          T24 = CALL1(new_value_function_, elementF22);
          // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:69
          CALL3(current_element_setter_, T24, collection_, stateF21);
        }
        // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:68
        // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:65
        T25 = CALL2(next_state_, collection_, stateF21);
        // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:65
        stateF21T = T25;
        goto L1;
      }
      // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:65
      // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:65
  }
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:54
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:73
  T27_0 = collection_;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/mutable-collection.dylan:48
  MV_SET_COUNT(1);
  return(T27_0);
}


/* SYSTEM INIT CODE */

void _Init_dylan__X_mutable_collection_for_system () {
  extern dylan_value KPresolve_symbolVKiI(dylan_value);
  return;
}

/* USER INIT CODE */

void _Init_dylan__X_mutable_collection_for_user () {
  return;
}


/* eof */
