#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 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 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;
  dylan_value namespace_name_;
  dylan_value library_major_version_;
  dylan_value library_minor_version_;
  dylan_value library_build_count_;
  dylan_value used_libraries_;
  dylan_value all_used_libraries_;
  dylan_value runtime_module_;
  dylan_value library_defined_generics_;
  dylan_value library_number_static_dispatches_;
  dylan_value library_number_dynamic_dispatches_;
} _KLlibraryGVKe;

typedef struct {
  dylan_value wrapper;
} _KLbooleanGVKd;

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

typedef struct {
  dylan_value wrapper;
} _KLobjectGVKd;

typedef struct {
  dylan_value wrapper;
} _KLunboundGVKe;

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

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

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

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(37);
define__KLbyte_stringGVKd(20);
define__KLbyte_stringGVKd(17);
define__KLbyte_stringGVKd(10);
define__KLbyte_stringGVKd(8);
define__KLbyte_stringGVKd(109);
define__KLbyte_stringGVKd(15);
define__KLbyte_stringGVKd(13);
define__KLbyte_stringGVKd(0);

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

typedef struct {
  dylan_value wrapper;
  dylan_value emitted_name_;
  dylan_value private_model_definition_;
  dylan_value private_model_creator_;
  dylan_value private_Cdomain_library_;
  dylan_value private_Cdomain_next_;
  dylan_value Cdomain_types_;
} _KLBdomainGVdfmc_modeling;

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

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

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

typedef struct {
  dylan_value wrapper;
} _KLppmlGVppml;

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

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

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

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

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

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

typedef struct {
  dylan_value wrapper;
  dylan_value slot_descriptor_properties_;
  dylan_value init_data_slot_;
  dylan_value slot_owner_;
  dylan_value init_keyword_;
  dylan_value init_arg_type_;
} _KLinit_arg_descriptorGVKe;

typedef struct {
  dylan_value wrapper;
} _KLconditionGVKd;

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

typedef struct {
  dylan_value wrapper;
  dylan_value condition_format_string_;
  dylan_value condition_format_arguments_;
  dylan_value condition_source_location_;
  dylan_value condition_program_note_creator_;
  dylan_value condition_compilation_stage_;
} _KLprogram_conditionGVdfmc_conditions;

typedef struct {
  dylan_value wrapper;
} _KLwarningGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value condition_format_string_;
  dylan_value condition_format_arguments_;
  dylan_value condition_source_location_;
  dylan_value condition_program_note_creator_;
  dylan_value condition_compilation_stage_;
  dylan_value condition_context_id_;
  dylan_value subnotes_;
} _KLprogram_noteGVdfmc_conditions;

typedef struct {
  dylan_value wrapper;
  dylan_value condition_format_string_;
  dylan_value condition_format_arguments_;
  dylan_value condition_source_location_;
  dylan_value condition_program_note_creator_;
  dylan_value condition_compilation_stage_;
  dylan_value condition_context_id_;
  dylan_value subnotes_;
} _KLprogram_warningGVdfmc_conditions;

typedef struct {
  dylan_value wrapper;
} _KLsequenceGVKd;

#define  define__KLkeyword_closure_methodGVKe(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value xep_; \
    dylan_value function_signature_; \
    dylan_value mep_; \
    dylan_value iep_; \
    dylan_value keyword_specifiers_; \
    dylan_value environment_size_; \
    dylan_value environment_element_[nrepeated+1]; \
  } _KLkeyword_closure_methodGVKe_##nrepeated;
define__KLkeyword_closure_methodGVKe(0);

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

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


/* Typedefs for defined classes */

typedef struct {
  dylan_value wrapper;
  dylan_value condition_format_string_;
  dylan_value condition_format_arguments_;
  dylan_value condition_source_location_;
  dylan_value condition_program_note_creator_;
  dylan_value condition_compilation_stage_;
  dylan_value condition_context_id_;
  dylan_value subnotes_;
  dylan_value condition_variable_name_;
} _KLdomain_visible_to_sibling_librariesGVdfmc_conversion;


/* Referenced object declarations */

dylan_value KPadd_classVKeI (dylan_value);
dylan_value KPadd_a_methodVKnI (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLincremental_generic_functionGVKe KmakeVKd;
extern _KLfunction_classGVKi KLincremental_generic_functionGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLclassGVKd KLclassGVKd;
extern _KLmm_wrapperGVKi_0 KLclassGVKdW;
extern _KLclassGVKd KLmm_wrapperGVKi;
extern _KLmm_wrapperGVKi_1 KLmm_wrapperGVKiW;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
extern _KLlibraryGVKe Kdfmc_conversion_libraryYdylan_userVdfmc_conversion;
extern _KLclassGVKd KLlibraryGVKe;
extern _KLmm_wrapperGVKi_0 KLlibraryGVKeW;
extern _KLbooleanGVKd KPfalseVKi;
extern _KLclassGVKd KLbooleanGVKd;
extern _KLmm_wrapperGVKi_0 KLbooleanGVKdW;
extern _KLsealed_generic_functionGVKe Kconvert_condition_slots_to_ppmlVdfmc_conditions;
extern _KLclassGVKd KLsealed_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLsealed_generic_functionGVKeW;
extern _KLclassGVKd KLobjectGVKd;
extern _KLmm_wrapperGVKi_0 KLobjectGVKdW;
extern _KLunboundGVKe KPunboundVKi;
extern _KLclassGVKd KLunboundGVKe;
extern _KLmm_wrapperGVKi_0 KLunboundGVKeW;
extern _KLbooleanGVKd KPtrueVKi;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLsealed_generic_functionGVKe Ksingle_method_generic_functionQVdfmc_conversion;
extern _KLsimple_methodGVKe KCgeneric_function_sidewaysQVdfmc_conversionMM0;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
dylan_value Kmodel_libraryVdfmc_commonI (dylan_value);
dylan_value KEEVKdI (dylan_value, dylan_value);
extern _KLsealed_generic_functionGVKe Kall_types_known_importedQVdfmc_conversion;
dylan_value Kmodel_source_locationVdfmc_commonI (dylan_value);
dylan_value Kmodel_variable_nameVdfmc_commonI (dylan_value);
extern _KLincremental_generic_functionGVKe KnoteVdfmc_conditions;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLsealed_generic_functionGVKe Kmodel_definitionVdfmc_common;
extern _KLsealed_generic_functionGVKe Kform_sidewaysQVdfmc_definitions;
dylan_value Kmodel_variable_bindingVdfmc_namespaceMM0I (dylan_value);
extern _KLsealed_generic_functionGVKe Kbinding_model_objectVdfmc_namespace;
extern _KLsymbolGVKd KJdefault_;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
extern _KLclassGVKd KLBdomainGVdfmc_modeling;
extern _KLmm_wrapperGVKi_0 KLBdomainGVdfmc_modelingW;
extern _KLclassGVKd KLgetter_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLgetter_methodGVKiW;
extern _KLclassGVKd KLinstance_slot_descriptorGVKe;
extern _KLmm_wrapperGVKi_0 KLinstance_slot_descriptorGVKeW;
extern _KLsealed_generic_functionGVKe Kcondition_variable_nameVdfmc_conversion;
extern _KLsealed_generic_functionGVKe Kcondition_variable_name_setterVdfmc_conversion;
extern _KLclassGVKd KLsetter_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLsetter_methodGVKiW;
extern _KLincremental_generic_functionGVKe KasVKd;
extern _KLclassGVKd KLppmlGVppml;
extern _KLmm_wrapperGVKi_0 KLppmlGVppmlW;
extern _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
dylan_value KerrorVKdMM1I (dylan_value, dylan_value);
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
dylan_value KmemberQVKdMM2I (dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLsymbolGVKd KJformat_arguments_;
extern _KLsimple_methodGVKe KEEVKd;
dylan_value KlistVKdI (dylan_value);
extern _KLfunction_classGVKi KLsimple_closure_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLsimple_closure_methodGVKiW;
extern _KLfunction_classGVKi KLkeyword_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_methodGVKeW;
extern _KLclassGVKd KLkeyword_signatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureAvaluesGVKiW;
extern _KLsimple_object_vectorGVKd_256 KDsignature_LobjectG_typesVKi;
extern _KLclassGVKd KLsubclassGVKe;
extern _KLmm_wrapperGVKi_0 KLsubclassGVKeW;
dylan_value Ksubclass_instanceQVKiI (dylan_value, dylan_value);
extern _KLclassGVKd KLimplementation_classGVKe;
extern _KLmm_wrapperGVKi_0 KLimplementation_classGVKeW;
extern _KLclassGVKd KLinit_arg_descriptorGVKe;
extern _KLmm_wrapperGVKi_0 KLinit_arg_descriptorGVKeW;
extern _KLsymbolGVKd KJformat_string_;
extern _KLclassGVKd KLconditionGVKd;
extern _KLmm_wrapperGVKi_0 KLconditionGVKdW;
extern _KLclassGVKd KLsimple_conditionGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_conditionGVKeW;
extern _KLclassGVKd KLprogram_conditionGVdfmc_conditions;
extern _KLmm_wrapperGVKi_0 KLprogram_conditionGVdfmc_conditionsW;
extern _KLclassGVKd KLwarningGVKd;
extern _KLmm_wrapperGVKi_0 KLwarningGVKdW;
extern _KLclassGVKd KLprogram_noteGVdfmc_conditions;
extern _KLmm_wrapperGVKi_0 KLprogram_noteGVdfmc_conditionsW;
extern _KLclassGVKd KLprogram_warningGVdfmc_conditions;
extern _KLmm_wrapperGVKi_0 KLprogram_warningGVdfmc_conditionsW;
dylan_value Kdefaulted_initialization_argumentsVKiI (dylan_value);
dylan_value Kconcatenate_2VKeMM1I (dylan_value, dylan_value);
extern _KLclassGVKd KLsequenceGVKd;
extern _KLmm_wrapperGVKi_0 KLsequenceGVKdW;
extern _KLincremental_generic_functionGVKe KinitializeVKd;
extern _KLfunction_classGVKi KLkeyword_closure_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_closure_methodGVKeW;
extern _KLbyte_stringGVKd_0 KPempty_stringVKi;
extern _KLclassGVKd KLkeyword_signatureGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureGVKeW;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LclassG_typesVKi;
extern _KLinstance_slot_descriptorGVKe Kcondition_format_stringVKdHLsimple_conditionG;
extern _KLinstance_slot_descriptorGVKe Kcondition_format_argumentsVKdHLsimple_conditionG;
extern _KLinstance_slot_descriptorGVKe Kcondition_source_locationVdfmc_conditionsHLprogram_conditionG;
extern _KLinstance_slot_descriptorGVKe Kcondition_program_note_creatorVdfmc_conditionsHLprogram_conditionG;
extern _KLinstance_slot_descriptorGVKe Kcondition_compilation_stageVdfmc_conditionsHLprogram_conditionG;
extern _KLinstance_slot_descriptorGVKe Kcondition_context_idVdfmc_conditionsHLprogram_noteG;
extern _KLinstance_slot_descriptorGVKe KsubnotesVdfmc_conditionsHLprogram_noteG;
dylan_value Kclass_instanceQ_initialVKiI (dylan_value, dylan_value);
extern _KLmoduleGVKe Kdfmc_conversion_moduleYdylan_userVdfmc_conversion;
extern _KLclassGVKd KLmoduleGVKe;
extern _KLmm_wrapperGVKi_0 KLmoduleGVKeW;
extern dylan_value Tcurrent_dependentTVdfmc_common;
extern dylan_value Tcurrent_stageTVdfmc_common;

/* Defined object declarations */

extern _KLclassGVKd KLdomain_visible_to_sibling_librariesGVdfmc_conversion;
extern _KLmm_wrapperGVKi_0 KLdomain_visible_to_sibling_librariesGVdfmc_conversionW;
extern _KLkeyword_methodGVKe KmakeVKdMdfmc_conversionM52;
dylan_value KmakeVKdMdfmc_conversionM52I (dylan_value, dylan_value, dylan_value);
extern _KLsimple_methodGVKe Kconvert_condition_slots_to_ppmlVdfmc_conditionsMdfmc_conversionM55;
dylan_value Kconvert_condition_slots_to_ppmlVdfmc_conditionsMdfmc_conversionM55I (dylan_value);
extern _KLsetter_methodGVKi Kcondition_variable_name_setterVdfmc_conversionMM18;
extern _KLgetter_methodGVKi Kcondition_variable_nameVdfmc_conversionMM18;
extern _KLsimple_methodGVKe Kcheck_modelVdfmc_conversionMM1;
dylan_value Kcheck_modelVdfmc_conversionMM1I (dylan_value);
dylan_value KCdomain_generic_functionVdfmc_conversionI (dylan_value);
dylan_value KCdomain_sidewaysQVdfmc_conversionI (dylan_value);
static _KLsymbolGVKd KJsource_location_;
static _KLsymbolGVKd KJvariable_name_;
static _KLbyte_stringGVKd_13 K17;
static _KLbyte_stringGVKd_15 K18;
static _KLsignatureGVKe K19;
static _KLsimple_object_vectorGVKd_1 K20;
extern _KLinstance_slot_descriptorGVKe Kcondition_variable_nameVdfmc_conversionHLdomain_visible_to_sibling_librariesG;
static _KLbyte_stringGVKd_15 K22;
static _KLsignatureGVKe K23;
static _KLsimple_object_vectorGVKd_1 K24;
static _KLsimple_closure_methodGVKi_0 Kanonymous_of_makeF27;
static dylan_value Kanonymous_of_makeF27I (dylan_value);
static _KLsignatureGVKe K28;
static _KLkeyword_signatureAvaluesGVKi K29;
static _KLsimple_object_vectorGVKd_2 K30;
static _KLsimple_object_vectorGVKd_1 K31;
static _KLsimple_object_vectorGVKd_1 K32;
static _KLsubclassGVKe K33;
static _KLimplementation_classGVKe K34;
static _KLsimple_object_vectorGVKd_8 K35;
extern _KLkeyword_methodGVKe KLdomain_visible_to_sibling_librariesGZ32ZconstructorVdfmc_conversionMM0;
dylan_value KLdomain_visible_to_sibling_librariesGZ32ZconstructorVdfmc_conversionMM0I (dylan_value, dylan_value);
static _KLsimple_object_vectorGVKd_1 K38;
static _KLsimple_object_vectorGVKd_8 K39;
static _KLsimple_object_vectorGVKd_1 K40;
static _KLsimple_object_vectorGVKd_1 K41;
static _KLinit_arg_descriptorGVKe Kformat_stringHLdomain_visible_to_sibling_librariesGVdfmc_conversion;
static _KLbyte_stringGVKd_109 K43;
static _KLkeyword_closure_methodGVKe_0 Kdefaulted_initializeF46;
static dylan_value Kdefaulted_initializeF46I (dylan_value object_, dylan_value init_args_, dylan_value Uunique_condition_format_string_, dylan_value Uunique_condition_format_arguments_, dylan_value Uunique_condition_source_location_, dylan_value Uunique_condition_program_note_creator_, dylan_value Uunique_condition_compilation_stage_, dylan_value Uunique_condition_context_id_, dylan_value Uunique_subnotes_, dylan_value Uunique_condition_variable_name_);
static _KLkeyword_signatureGVKe K47;
static _KLsimple_object_vectorGVKd_16 K48;
static _KLsymbolGVKd KJprogram_note_creator_;
static _KLsymbolGVKd KJcompilation_stage_;
static _KLsymbolGVKd KJcontext_id_;
static _KLsymbolGVKd KJsubnotes_;
static _KLbyte_stringGVKd_8 K53;
static _KLbyte_stringGVKd_10 K54;
static _KLbyte_stringGVKd_17 K55;
static _KLbyte_stringGVKd_20 K56;
static _KLsimple_object_vectorGVKd_8 K57;
static _KLkeyword_signatureAvaluesGVKi K58;
static _KLbyte_stringGVKd_37 K59;

/* Indirection variables */

static dylan_value IKJsource_location_ = &KJsource_location_;
static dylan_value IKJvariable_name_ = &KJvariable_name_;
static dylan_value IKJprogram_note_creator_ = &KJprogram_note_creator_;
static dylan_value IKJcompilation_stage_ = &KJcompilation_stage_;
static dylan_value IKJcontext_id_ = &KJcontext_id_;
static dylan_value IKJsubnotes_ = &KJsubnotes_;

/* Variables */

dylan_value Ldomain_visible_to_sibling_librariesGVdfmc_conversion = &KLdomain_visible_to_sibling_librariesGVdfmc_conversion;

/* Objects */

_KLclassGVKd KLdomain_visible_to_sibling_librariesGVdfmc_conversion = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K59,
  &K34,
  (dylan_value) 1,
  &Kdfmc_conversion_moduleYdylan_userVdfmc_conversion
};

_KLmm_wrapperGVKi_0 KLdomain_visible_to_sibling_librariesGVdfmc_conversionW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K34,
  (dylan_value) 1,
  33,
  33554439,
  (dylan_value) 1
};

_KLkeyword_methodGVKe KmakeVKdMdfmc_conversionM52 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_3,
  &K29,
  &key_mep_3,
  &KmakeVKdMdfmc_conversionM52I,
  &K30
};

_KLsimple_methodGVKe Kconvert_condition_slots_to_ppmlVdfmc_conditionsMdfmc_conversionM55 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K23,
  &Kconvert_condition_slots_to_ppmlVdfmc_conditionsMdfmc_conversionM55I
};

_KLsetter_methodGVKi Kcondition_variable_name_setterVdfmc_conversionMM18 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &Kcondition_variable_nameVdfmc_conversionHLdomain_visible_to_sibling_librariesG
};

_KLgetter_methodGVKi Kcondition_variable_nameVdfmc_conversionMM18 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kcondition_variable_nameVdfmc_conversionHLdomain_visible_to_sibling_librariesG
};

_KLsimple_methodGVKe Kcheck_modelVdfmc_conversionMM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K19,
  &Kcheck_modelVdfmc_conversionMM1I
};

static _KLsymbolGVKd KJsource_location_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K18
};

static _KLsymbolGVKd KJvariable_name_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K17
};

static _KLbyte_stringGVKd_13 K17 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 53,
  "variable-name"
};

static _KLbyte_stringGVKd_15 K18 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 61,
  "source-location"
};

static _KLsignatureGVKe K19 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 41943045,
  &K20
};

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

_KLinstance_slot_descriptorGVKe Kcondition_variable_nameVdfmc_conversionHLdomain_visible_to_sibling_librariesG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (dylan_value) 129,
  &KPfalseVKi,
  &KLdomain_visible_to_sibling_librariesGVdfmc_conversion,
  &KJvariable_name_,
  &Kcondition_variable_nameVdfmc_conversion,
  &Kcondition_variable_name_setterVdfmc_conversion,
  &KLobjectGVKd
};

static _KLbyte_stringGVKd_15 K22 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 61,
  "No next method."
};

static _KLsignatureGVKe K23 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 46137349,
  &K24
};

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

static _KLsimple_closure_methodGVKi_0 Kanonymous_of_makeF27 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &rest_xep_0,
  &K28,
  &Kanonymous_of_makeF27I,
  (dylan_value) 1
};

static _KLsignatureGVKe K28 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 45088769,
  &KPempty_vectorVKi
};

static _KLkeyword_signatureAvaluesGVKi K29 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 39060485,
  &K31,
  &K32,
  &KDsignature_LobjectG_typesVKi,
  &K24
};

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

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

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

static _KLsubclassGVKe K33 = {
  &KLsubclassGVKeW /* wrapper */,
  &Ksubclass_instanceQVKiI,
  &KLdomain_visible_to_sibling_librariesGVdfmc_conversion
};

static _KLimplementation_classGVKe K34 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (dylan_value) 527433761,
  &KLdomain_visible_to_sibling_librariesGVdfmc_conversion,
  &KLdomain_visible_to_sibling_librariesGVdfmc_conversionW,
  &KPfalseVKi,
  &K35,
  (dylan_value) -3,
  &KLdomain_visible_to_sibling_librariesGZ32ZconstructorVdfmc_conversionMM0,
  &K38,
  &K39,
  (dylan_value) 29,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &K40,
  &K35,
  &KPempty_vectorVKi,
  &K41,
  &KPempty_vectorVKi,
  (dylan_value) -7,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_8 K35 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 33,
  &Kcondition_format_stringVKdHLsimple_conditionG,
  &Kcondition_format_argumentsVKdHLsimple_conditionG,
  &Kcondition_source_locationVdfmc_conditionsHLprogram_conditionG,
  &Kcondition_program_note_creatorVdfmc_conditionsHLprogram_conditionG,
  &Kcondition_compilation_stageVdfmc_conditionsHLprogram_conditionG,
  &Kcondition_context_idVdfmc_conditionsHLprogram_noteG,
  &KsubnotesVdfmc_conditionsHLprogram_noteG,
  &Kcondition_variable_nameVdfmc_conversionHLdomain_visible_to_sibling_librariesG
};

_KLkeyword_methodGVKe KLdomain_visible_to_sibling_librariesGZ32ZconstructorVdfmc_conversionMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_2,
  &K58,
  &key_mep_2,
  &KLdomain_visible_to_sibling_librariesGZ32ZconstructorVdfmc_conversionMM0I,
  &KPempty_vectorVKi
};

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

static _KLsimple_object_vectorGVKd_8 K39 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 33,
  &KLobjectGVKd,
  &KLconditionGVKd,
  &KLsimple_conditionGVKe,
  &KLprogram_conditionGVdfmc_conditions,
  &KLwarningGVKd,
  &KLprogram_noteGVdfmc_conditions,
  &KLprogram_warningGVdfmc_conditions,
  &KLdomain_visible_to_sibling_librariesGVdfmc_conversion
};

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

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

static _KLinit_arg_descriptorGVKe Kformat_stringHLdomain_visible_to_sibling_librariesGVdfmc_conversion = {
  &KLinit_arg_descriptorGVKeW /* wrapper */,
  (dylan_value) 29,
  &K43,
  &KLdomain_visible_to_sibling_librariesGVdfmc_conversion,
  &KJformat_string_,
  &KLobjectGVKd
};

static _KLbyte_stringGVKd_109 K43 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 437,
  "This domain on %= is visible to sibling libraries because the domain types are all based on imported classes."
};

static _KLkeyword_closure_methodGVKe_0 Kdefaulted_initializeF46 = {
  &KLkeyword_closure_methodGVKeW /* wrapper */,
  &rest_key_xep,
  &K47,
  &key_mep,
  &Kdefaulted_initializeF46I,
  &K48,
  (dylan_value) 1
};

static _KLkeyword_signatureGVKe K47 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (dylan_value) 45875205,
  &K24,
  &K57,
  &KDsignature_LobjectG_typesVKi
};

static _KLsimple_object_vectorGVKd_16 K48 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 65,
  &KJformat_string_,
  &KPempty_stringVKi,
  &KJformat_arguments_,
  &KPempty_vectorVKi,
  &KJsource_location_,
  &KPfalseVKi,
  &KJprogram_note_creator_,
  &KPunboundVKi,
  &KJcompilation_stage_,
  &KPunboundVKi,
  &KJcontext_id_,
  &KPfalseVKi,
  &KJsubnotes_,
  &KPempty_vectorVKi,
  &KJvariable_name_,
  &KPunboundVKi
};

static _KLsymbolGVKd KJprogram_note_creator_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K56
};

static _KLsymbolGVKd KJcompilation_stage_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K55
};

static _KLsymbolGVKd KJcontext_id_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K54
};

static _KLsymbolGVKd KJsubnotes_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K53
};

static _KLbyte_stringGVKd_8 K53 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 33,
  "subnotes"
};

static _KLbyte_stringGVKd_10 K54 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 41,
  "context-id"
};

static _KLbyte_stringGVKd_17 K55 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 69,
  "compilation-stage"
};

static _KLbyte_stringGVKd_20 K56 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 81,
  "program-note-creator"
};

static _KLsimple_object_vectorGVKd_8 K57 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 33,
  &KJformat_string_,
  &KJformat_arguments_,
  &KJsource_location_,
  &KJprogram_note_creator_,
  &KJcompilation_stage_,
  &KJcontext_id_,
  &KJsubnotes_,
  &KJvariable_name_
};

static _KLkeyword_signatureAvaluesGVKi K58 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 35390469,
  &KDsignature_LclassG_typesVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K24
};

static _KLbyte_stringGVKd_37 K59 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 149,
  "<domain-visible-to-sibling-libraries>"
};

/* Code */

dylan_value KmakeVKdMdfmc_conversionM52I (dylan_value class_, dylan_value initargs_, dylan_value variable_name_) {
  dylan_value T4;
  dylan_value T5_0;
  dylan_value T6;
  dylan_value T7;
  dylan_value T8;
  dylan_value T9;
  dylan_value T10_0;
  _KLsimple_object_vectorGVKd_1 T11 = {&KLsimple_object_vectorGVKdW, (dylan_value) 5};
  dylan_value T12_0;
  dylan_value T13_0;
  dylan_value T14_0;

  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  T8 = primitive_copy_vector(initargs_);
  T6 = primitive_next_methods_parameter();
  T7 = MAKE_CLOSURE_INITD(&Kanonymous_of_makeF27, 3, T8, T6, class_);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  T9 = KmemberQVKdMM2I(&KJformat_arguments_, T8, &KPempty_vectorVKi, &KEEVKd);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  if (T9 != &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
    T10_0 = APPLY2(T7, class_, T8);
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
    T13_0 = T10_0;
    {
      MV_CHECK_TYPE_PROLOGUE(T10_0);
      primitive_type_check(T13_0, &KLdomain_visible_to_sibling_librariesGVdfmc_conversion);
      MV_CHECK_TYPE_EPILOGUE();
    }
    T5_0 = T13_0;
  } else {
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
    T11.vector_element_[0] = variable_name_;
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
    T4 = KlistVKdI(&T11);
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
    T12_0 = APPLY4(T7, class_, &KJformat_arguments_, T4, T8);
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
    T14_0 = T12_0;
    {
      MV_CHECK_TYPE_PROLOGUE(T12_0);
      primitive_type_check(T14_0, &KLdomain_visible_to_sibling_librariesGVdfmc_conversion);
      MV_CHECK_TYPE_EPILOGUE();
    }
    T5_0 = T14_0;
  }
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  MV_SET_COUNT(1);
  return(T5_0);
}

dylan_value Kconvert_condition_slots_to_ppmlVdfmc_conditionsMdfmc_conversionM55I (dylan_value Pc_) {
  dylan_value T2;
  dylan_value T3;
  dylan_value T4;
  dylan_value T5;
  dylan_value T6;
  dylan_value T7;
  dylan_value T8;

  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  T3 = primitive_next_methods_parameter();
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  T4 = SLOT_VALUE(Pc_, 7);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  CONGRUENT_CALL_PROLOG(&KasVKd, 2);
  T2 = CONGRUENT_CALL2(&KLppmlGVppml, T4);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  SLOT_VALUE_SETTER(T2, Pc_, 7);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  T5 = primitive_idQ(T3,&KPempty_listVKi);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  if (T5 != &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
    KerrorVKdMM1I(&K22, &KPempty_vectorVKi);
  } else {
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
    T6 = SLOT_VALUE_INITD(T3, 0);
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
    T7 = SLOT_VALUE_INITD(T3, 1);
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
    MEP_CALL_PROLOG(T6, T7, 1);
    MEP_CALL1(T6, Pc_);
  }
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  T8 = &KPfalseVKi;
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  MV_SET_COUNT(0);
  return(T8);
}

dylan_value Kcheck_modelVdfmc_conversionMM1I (dylan_value d_) {
  dylan_value gf_;
  dylan_value T3;
  dylan_value T4;
  dylan_value Utmp_;
  dylan_value T6;
  dylan_value T7;
  dylan_value T8;
  dylan_value T9;
  dylan_value T10;
  dylan_value T11;
  dylan_value T12;
  dylan_value T13;
  dylan_value T14;
  dylan_value T15;
  dylan_value T16;
  dylan_value T17;
  dylan_value T18;
  dylan_value T19;
  dylan_value T20;
  dylan_value T21;
  dylan_value T22;
  dylan_value T23;
  dylan_value T24;
  _KLsimple_object_vectorGVKd_4 T25 = {&KLsimple_object_vectorGVKdW, (dylan_value) 17};

  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:19
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:20
  gf_ = KCdomain_generic_functionVdfmc_conversionI(d_);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  if (gf_ != &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
    CONGRUENT_CALL_PROLOG(&Ksingle_method_generic_functionQVdfmc_conversion, 1);
    T3 = CONGRUENT_CALL1(gf_);
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
    T20 = primitive_not(T3);
    T4 = T20;
  } else {
    T4 = &KPfalseVKi;
  }
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  if (T4 != &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:23
    Utmp_ = CALL1(&KCgeneric_function_sidewaysQVdfmc_conversionMM0, gf_);
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:23
    if (Utmp_ != &KPfalseVKi) {
      T7 = Utmp_;
    } else {
      // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:23
      T6 = KCdomain_sidewaysQVdfmc_conversionI(d_);
      T7 = T6;
    }
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:23
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:23
    T21 = primitive_not(T7);
    T8 = T21;
  } else {
    T8 = &KPfalseVKi;
  }
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  if (T8 != &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:24
    T9 = Kmodel_libraryVdfmc_commonI(gf_);
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:24
    T10 = Kmodel_libraryVdfmc_commonI(d_);
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:24
    T22 = KEEVKdI(T9, T10);
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:24
    T23 = primitive_not(T22);
    T11 = T23;
  } else {
    T11 = &KPfalseVKi;
  }
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  if (T11 != &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:26
    T12 = Kmodel_libraryVdfmc_commonI(d_);
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:26
    T24 = SLOT_VALUE_INITD(d_, 5);
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:25
    CONGRUENT_CALL_PROLOG(&Kall_types_known_importedQVdfmc_conversion, 2);
    T13 = CONGRUENT_CALL2(T12, T24);
    T14 = T13;
  } else {
    T14 = &KPfalseVKi;
  }
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  if (T14 != &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:28
    T15 = Kmodel_source_locationVdfmc_commonI(d_);
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:29
    T16 = Kmodel_variable_nameVdfmc_commonI(d_);
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:27
    T25.vector_element_[0] = IKJsource_location_;
    T25.vector_element_[1] = T15;
    T25.vector_element_[2] = IKJvariable_name_;
    T25.vector_element_[3] = T16;
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:27
    CONGRUENT_CALL_PROLOG(&KnoteVdfmc_conditions, 2);
    T17 = CONGRUENT_CALL2(&KLdomain_visible_to_sibling_librariesGVdfmc_conversion, &T25);
    T19 = T17;
  } else {
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
    T18 = &KPfalseVKi;
    T19 = T18;
  }
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:19
  MV_SET_COUNT(0);
  return(T19);
}

dylan_value KCdomain_generic_functionVdfmc_conversionI (dylan_value object_) {
  dylan_value binding_;
  dylan_value T3;
  dylan_value model_;
  dylan_value T5;

  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:38
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:39
  binding_ = Kmodel_variable_bindingVdfmc_namespaceMM0I(object_);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:40
  if (binding_ != &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:40
    T3 = CALL3(&Kbinding_model_objectVdfmc_namespace, binding_, &KJdefault_, &KPfalseVKi);
    model_ = T3;
  } else {
    model_ = &KPfalseVKi;
  }
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:40
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:41
  T5 = model_;
  MV_SET_ELT(0, model_);
  MV_SET_COUNT(1);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:38
  return(T5);
}

dylan_value KCdomain_sidewaysQVdfmc_conversionI (dylan_value d_) {
  dylan_value T1;
  dylan_value T2_0;
  dylan_value T3_0;

  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:33
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:35
  CONGRUENT_CALL_PROLOG(&Kmodel_definitionVdfmc_common, 1);
  T1 = CONGRUENT_CALL1(d_);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:35
  CONGRUENT_CALL_PROLOG(&Kform_sidewaysQVdfmc_definitions, 1);
  T2_0 = CONGRUENT_CALL1(T1);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:33
  T3_0 = T2_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T2_0);
    primitive_type_check(T3_0, &KLbooleanGVKd);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:33
  MV_SET_COUNT(1);
  return(T3_0);
}

static dylan_value Kanonymous_of_makeF27I (dylan_value Unext_method_argsU_) {
  dylan_value T2;
  dylan_value T3;
  dylan_value T4;
  dylan_value T5;
  dylan_value T6;
  dylan_value T7;
  DWORD T8;
  dylan_value T9;
  dylan_value T10;
  dylan_value T11;
  dylan_value T12;
  dylan_value T13;
  dylan_value T14;
  CAPTURE_ENVIRONMENT

  T6 = primitive_idQ(CREF(1),&KPempty_listVKi);
  if (T6 != &KPfalseVKi) {
    T14 = KerrorVKdMM1I(&K22, &KPempty_vectorVKi);
    T5 = T14;
  } else {
    T7 = SLOT_VALUE_INITD(Unext_method_argsU_, 0);
    T8 = primitive_cast_integer_as_raw(T7);
    T9 = primitive_machine_word_equalQ(T8,1);
    if (T9 != &KPfalseVKi) {
      T10 = SLOT_VALUE_INITD(CREF(1), 0);
      T11 = SLOT_VALUE_INITD(CREF(1), 1);
      MEP_CALL_PROLOG(T10, T11, 2);
      T2 = MEP_CALL2(T10, CREF(2), CREF(0));
      T4 = T2;
    } else {
      T12 = SLOT_VALUE_INITD(CREF(1), 0);
      T13 = SLOT_VALUE_INITD(CREF(1), 1);
      T3 = MEP_APPLY1(T12, T13, Unext_method_argsU_);
      T4 = T3;
    }
    T5 = T4;
  }
  return(T5);
}

dylan_value KLdomain_visible_to_sibling_librariesGZ32ZconstructorVdfmc_conversionMM0I (dylan_value class_, dylan_value init_args_) {
  dylan_value T3;
  dylan_value T4;
  dylan_value T5_0;
  dylan_value T6;
  dylan_value init_argsF7;

  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  T6 = primitive_copy_vector(init_args_);
  T3 = Kdefaulted_initialization_argumentsVKiI(&KLdomain_visible_to_sibling_librariesGVdfmc_conversion);
  init_argsF7 = Kconcatenate_2VKeMM1I(T6, T3);
  T4 = primitive_object_allocate_filled(9,&KLdomain_visible_to_sibling_librariesGVdfmc_conversionW,8,&KPunboundVKi,0,0,&KPunboundVKi);
  APPLY2(&Kdefaulted_initializeF46, T4, init_argsF7);
  T5_0 = T4;
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  MV_SET_COUNT(1);
  return(T5_0);
}

static dylan_value Kdefaulted_initializeF46I (dylan_value object_, dylan_value init_args_, dylan_value Uunique_condition_format_string_, dylan_value Uunique_condition_format_arguments_, dylan_value Uunique_condition_source_location_, dylan_value Uunique_condition_program_note_creator_, dylan_value Uunique_condition_compilation_stage_, dylan_value Uunique_condition_context_id_, dylan_value Uunique_subnotes_, dylan_value Uunique_condition_variable_name_) {
  dylan_value T11;
  dylan_value Uunique_condition_program_note_creatorF12;
  dylan_value T13;
  dylan_value Uunique_condition_compilation_stageF14;
  dylan_value Uunique_subnotesF15;
  dylan_value T16;
  dylan_value init_valueF17;
  dylan_value T18;
  dylan_value init_valueF19;
  dylan_value T20;

  T16 = primitive_idQ(Uunique_condition_program_note_creator_,&KPunboundVKi);
  if (T16 != &KPfalseVKi) {
    init_valueF17 = primitive_read_thread_variable(Tcurrent_dependentTVdfmc_common);
    T11 = init_valueF17;
    Uunique_condition_program_note_creatorF12 = T11;
  } else {
    Uunique_condition_program_note_creatorF12 = Uunique_condition_program_note_creator_;
  }
  T18 = primitive_idQ(Uunique_condition_compilation_stage_,&KPunboundVKi);
  if (T18 != &KPfalseVKi) {
    init_valueF19 = primitive_read_thread_variable(Tcurrent_stageTVdfmc_common);
    T13 = init_valueF19;
    Uunique_condition_compilation_stageF14 = T13;
  } else {
    Uunique_condition_compilation_stageF14 = Uunique_condition_compilation_stage_;
  }
  SLOT_VALUE_SETTER(Uunique_condition_format_string_, object_, 0);
  SLOT_VALUE_SETTER(Uunique_condition_format_arguments_, object_, 1);
  SLOT_VALUE_SETTER(Uunique_condition_source_location_, object_, 2);
  SLOT_VALUE_SETTER(Uunique_condition_program_note_creatorF12, object_, 3);
  SLOT_VALUE_SETTER(Uunique_condition_compilation_stageF14, object_, 4);
  SLOT_VALUE_SETTER(Uunique_condition_context_id_, object_, 5);
  primitive_type_check(Uunique_subnotes_, &KLsequenceGVKd);
  Uunique_subnotesF15 = Uunique_subnotes_;
  SLOT_VALUE_SETTER(Uunique_subnotesF15, object_, 6);
  SLOT_VALUE_SETTER(Uunique_condition_variable_name_, object_, 7);
  T20 = APPLY2(&KinitializeVKd, object_, init_args_);
  return(T20);
}


/* SYSTEM INIT CODE */

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

    T0 = KPresolve_symbolVKiI(&KJsource_location_);
    if (T0 != &KJsource_location_) {
      primitive_repeated_slot_value_setter(T0, &K57, 1, 2);
      primitive_repeated_slot_value_setter(T0, &K48, 1, 4);
      IKJsource_location_ = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJvariable_name_);
    if (T0 != &KJvariable_name_) {
      primitive_repeated_slot_value_setter(T0, &K57, 1, 7);
      primitive_repeated_slot_value_setter(T0, &K48, 1, 14);
      primitive_repeated_slot_value_setter(T0, &K32, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K30, 1, 0);
      primitive_slot_value_setter(T0, &Kcondition_variable_nameVdfmc_conversionHLdomain_visible_to_sibling_librariesG, 3);
      IKJvariable_name_ = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJprogram_note_creator_);
    if (T0 != &KJprogram_note_creator_) {
      primitive_repeated_slot_value_setter(T0, &K57, 1, 3);
      primitive_repeated_slot_value_setter(T0, &K48, 1, 6);
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJcompilation_stage_);
    if (T0 != &KJcompilation_stage_) {
      primitive_repeated_slot_value_setter(T0, &K57, 1, 4);
      primitive_repeated_slot_value_setter(T0, &K48, 1, 8);
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJcontext_id_);
    if (T0 != &KJcontext_id_) {
      primitive_repeated_slot_value_setter(T0, &K57, 1, 5);
      primitive_repeated_slot_value_setter(T0, &K48, 1, 10);
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJsubnotes_);
    if (T0 != &KJsubnotes_) {
      primitive_repeated_slot_value_setter(T0, &K57, 1, 6);
      primitive_repeated_slot_value_setter(T0, &K48, 1, 12);
    }
  }
{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  T0 = KPadd_classVKeI(&KLdomain_visible_to_sibling_librariesGVdfmc_conversion);
  goto I0;
}
I0:

  return;
}

/* USER INIT CODE */

void _Init_dfmc_conversion__X_define_domain_mop_for_user () {
{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  T0 = KPadd_a_methodVKnI(&KmakeVKd, &KmakeVKdMdfmc_conversionM52, &Kdfmc_conversion_libraryYdylan_userVdfmc_conversion, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I5;
}
I5:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  T0 = KPadd_a_methodVKnI(&Kconvert_condition_slots_to_ppmlVdfmc_conditions, &Kconvert_condition_slots_to_ppmlVdfmc_conditionsMdfmc_conversionM55, &Kdfmc_conversion_libraryYdylan_userVdfmc_conversion, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I8;
}
I8:

  return;
}


/* eof */
