#include "run-time.h"

/* Typedefs for referenced classes */

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

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

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

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

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

typedef struct {
  D wrapper;
} _KLbooleanGVKd;

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

typedef struct {
  D wrapper;
} _KLobjectGVKd;

typedef struct {
  D wrapper;
} _KLunboundGVKe;

#define  define__KLsimple_object_vectorGVKd(nrepeated) \
  typedef struct { \
    D wrapper; \
    D size_; \
    D vector_element_[nrepeated+1]; \
  } _KLsimple_object_vectorGVKd_##nrepeated;
define__KLsimple_object_vectorGVKd(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 {
  D wrapper;
  D xep_;
  D function_signature_;
  D mep_;
} _KLsimple_methodGVKe;

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

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    D wrapper; \
    D size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(37);
define__KLbyte_stringGVKd(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 {
  D wrapper;
  D signature_properties_;
  D signature_required_;
} _KLsignatureGVKe;

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

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

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

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

typedef struct {
  D wrapper;
} _KLppmlGVppml;

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

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

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

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

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

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

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

typedef struct {
  D wrapper;
} _KLconditionGVKd;

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

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

typedef struct {
  D wrapper;
} _KLwarningGVKd;

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

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

typedef struct {
  D wrapper;
} _KLsequenceGVKd;

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

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

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


/* Typedefs for defined classes */

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


/* Referenced object declarations */

D KPadd_classVKeI (D);
D KPadd_a_methodVKnI (D, D, D, D, D, D);
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;
D Kmodel_libraryVdfmc_commonI (D);
D KEEVKdI (D, D);
extern _KLsealed_generic_functionGVKe Kall_types_known_importedQVdfmc_conversion;
D Kmodel_source_locationVdfmc_commonI (D);
D Kmodel_variable_nameVdfmc_commonI (D);
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;
D Kmodel_variable_bindingVdfmc_namespaceMM0I (D);
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;
D KerrorVKdMM1I (D, D);
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
D KmemberQVKdMM2I (D, D, D, D);
extern _KLsymbolGVKd KJformat_arguments_;
extern _KLsimple_methodGVKe KEEVKd;
D KlistVKdI (D);
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;
D Ksubclass_instanceQVKiI (D, D);
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;
D Kdefaulted_initialization_argumentsVKiI (D);
D Kconcatenate_2VKeMM1I (D, D);
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;
D Kclass_instanceQ_initialVKiI (D, D);
extern _KLmoduleGVKe Kdfmc_conversion_moduleYdylan_userVdfmc_conversion;
extern _KLclassGVKd KLmoduleGVKe;
extern _KLmm_wrapperGVKi_0 KLmoduleGVKeW;
extern D Tcurrent_dependentTVdfmc_common;
extern D 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;
D KmakeVKdMdfmc_conversionM52I (D, D, D);
extern _KLsimple_methodGVKe Kconvert_condition_slots_to_ppmlVdfmc_conditionsMdfmc_conversionM55;
D Kconvert_condition_slots_to_ppmlVdfmc_conditionsMdfmc_conversionM55I (D);
extern _KLsetter_methodGVKi Kcondition_variable_name_setterVdfmc_conversionMM18;
extern _KLgetter_methodGVKi Kcondition_variable_nameVdfmc_conversionMM18;
extern _KLsimple_methodGVKe Kcheck_modelVdfmc_conversionMM1;
D Kcheck_modelVdfmc_conversionMM1I (D);
D KCdomain_generic_functionVdfmc_conversionI (D);
D KCdomain_sidewaysQVdfmc_conversionI (D);
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 D Kanonymous_of_makeF27I (D);
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;
D KLdomain_visible_to_sibling_librariesGZ32ZconstructorVdfmc_conversionMM0I (D, D);
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 D Kdefaulted_initializeF46I (D object_, D init_args_, D Uunique_condition_format_string_, D Uunique_condition_format_arguments_, D Uunique_condition_source_location_, D Uunique_condition_program_note_creator_, D Uunique_condition_compilation_stage_, D Uunique_condition_context_id_, D Uunique_subnotes_, D 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 D IKJsource_location_ = &KJsource_location_;
static D IKJvariable_name_ = &KJvariable_name_;
static D IKJprogram_note_creator_ = &KJprogram_note_creator_;
static D IKJcompilation_stage_ = &KJcompilation_stage_;
static D IKJcontext_id_ = &KJcontext_id_;
static D IKJsubnotes_ = &KJsubnotes_;

/* Variables */

D 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,
  (D) 1,
  &Kdfmc_conversion_moduleYdylan_userVdfmc_conversion
};

_KLmm_wrapperGVKi_0 KLdomain_visible_to_sibling_librariesGVdfmc_conversionW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K34,
  (D) 1,
  33,
  33554439,
  (D) 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 */,
  (D) 53,
  "variable-name"
};

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

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

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

_KLinstance_slot_descriptorGVKe Kcondition_variable_nameVdfmc_conversionHLdomain_visible_to_sibling_librariesG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 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 */,
  (D) 61,
  "No next method."
};

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

static _KLsimple_object_vectorGVKd_1 K24 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 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,
  (D) 1
};

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

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

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

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

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

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

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

static _KLsimple_object_vectorGVKd_8 K35 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 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 */,
  (D) 5,
  &KLprogram_warningGVdfmc_conditions
};

static _KLsimple_object_vectorGVKd_8 K39 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 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 */,
  (D) 5,
  &Kcondition_variable_nameVdfmc_conversionHLdomain_visible_to_sibling_librariesG
};

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

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

static _KLbyte_stringGVKd_109 K43 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 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,
  (D) 1
};

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

static _KLsimple_object_vectorGVKd_16 K48 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 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 */,
  (D) 33,
  "subnotes"
};

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

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

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

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

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

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

/* Code */

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

  // /Users/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_);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  T9 = KmemberQVKdMM2I(&KJformat_arguments_, T8, &KPempty_vectorVKi, &KEEVKd);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  if (T9 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
    T10_0 = APPLY2(T7, class_, T8);
    // /Users/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 {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
    T11.vector_element_[0] = variable_name_;
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
    T4 = KlistVKdI(&T11);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
    T12_0 = APPLY4(T7, class_, &KJformat_arguments_, T4, T8);
    // /Users/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;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  MV_SET_COUNT(1);
  return(T5_0);
}

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

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

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

  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:19
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:20
  gf_ = KCdomain_generic_functionVdfmc_conversionI(d_);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  if (gf_ != &KPfalseVKi) {
    // /Users/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_);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
    T20 = primitive_not(T3);
    T4 = T20;
  } else {
    T4 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  if (T4 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:23
    Utmp_ = CALL1(&KCgeneric_function_sidewaysQVdfmc_conversionMM0, gf_);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:23
    if (Utmp_ != &KPfalseVKi) {
      T7 = Utmp_;
    } else {
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:23
      T6 = KCdomain_sidewaysQVdfmc_conversionI(d_);
      T7 = T6;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:23
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:23
    T21 = primitive_not(T7);
    T8 = T21;
  } else {
    T8 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  if (T8 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:24
    T9 = Kmodel_libraryVdfmc_commonI(gf_);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:24
    T10 = Kmodel_libraryVdfmc_commonI(d_);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:24
    T22 = KEEVKdI(T9, T10);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:24
    T23 = primitive_not(T22);
    T11 = T23;
  } else {
    T11 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  if (T11 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:26
    T12 = Kmodel_libraryVdfmc_commonI(d_);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:26
    T24 = SLOT_VALUE_INITD(d_, 5);
    // /Users/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;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  if (T14 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:28
    T15 = Kmodel_source_locationVdfmc_commonI(d_);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:29
    T16 = Kmodel_variable_nameVdfmc_commonI(d_);
    // /Users/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;
    // /Users/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 {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
    T18 = &KPfalseVKi;
    T19 = T18;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:22
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:19
  MV_SET_COUNT(0);
  return(T19);
}

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

  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:38
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:39
  binding_ = Kmodel_variable_bindingVdfmc_namespaceMM0I(object_);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:40
  if (binding_ != &KPfalseVKi) {
    // /Users/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;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:40
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:41
  T5 = model_;
  MV_SET_ELT(0, model_);
  MV_SET_COUNT(1);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:38
  return(T5);
}

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

  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:33
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:35
  CONGRUENT_CALL_PROLOG(&Kmodel_definitionVdfmc_common, 1);
  T1 = CONGRUENT_CALL1(d_);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:35
  CONGRUENT_CALL_PROLOG(&Kform_sidewaysQVdfmc_definitions, 1);
  T2_0 = CONGRUENT_CALL1(T1);
  // /Users/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();
  }
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:33
  MV_SET_COUNT(1);
  return(T3_0);
}

static D Kanonymous_of_makeF27I (D Unext_method_argsU_) {
  D T2;
  D T3;
  D T4;
  D T5;
  D T6;
  D T7;
  DWORD T8;
  D T9;
  D T10;
  D T11;
  D T12;
  D T13;
  D 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);
}

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

  // /Users/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;
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/conversion/define-domain-mop.dylan:9
  MV_SET_COUNT(1);
  return(T5_0);
}

static D Kdefaulted_initializeF46I (D object_, D init_args_, D Uunique_condition_format_string_, D Uunique_condition_format_arguments_, D Uunique_condition_source_location_, D Uunique_condition_program_note_creator_, D Uunique_condition_compilation_stage_, D Uunique_condition_context_id_, D Uunique_subnotes_, D Uunique_condition_variable_name_) {
  D T11;
  D Uunique_condition_program_note_creatorF12;
  D T13;
  D Uunique_condition_compilation_stageF14;
  D Uunique_subnotesF15;
  D T16;
  D init_valueF17;
  D T18;
  D init_valueF19;
  D 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 D KPresolve_symbolVKiI(D);
  {
    D 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;
    }
  }
  {
    D 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;
    }
  }
  {
    D 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);
    }
  }
  {
    D 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);
    }
  }
  {
    D 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);
    }
  }
  {
    D 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);
    }
  }
{
  D T0;

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

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

{
  D T0;

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