#include "opendylan/run-time.h"

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

/* Typedefs for referenced classes */

typedef struct {
  dylan_value wrapper;
} _KLwarningGVKd;

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 namespace_name_;
  dylan_value home_library_;
} _KLmoduleGVKe;

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

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;

#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(10);
define__KLsimple_object_vectorGVKd(11);
define__KLsimple_object_vectorGVKd(2);
define__KLsimple_object_vectorGVKd(1);
define__KLsimple_object_vectorGVKd(0);

typedef struct {
  dylan_value wrapper;
  dylan_value library_major_version_;
  dylan_value library_minor_version_;
  dylan_value library_build_count_;
  dylan_value used_library_;
  dylan_value used_library_binding_;
} _KLused_libraryGVKe;

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

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;
  dylan_value name_mapping_keys_;
  dylan_value name_mapping_values_;
} _KLname_mappingGVdfmc_management;

typedef struct {
  dylan_value wrapper;
  dylan_value identifier_mapping_keys_;
  dylan_value identifier_mapping_values_;
} _KLidentifier_mappingGVdfmc_management;

typedef struct {
  dylan_value wrapper;
  dylan_value interface_exports_;
  dylan_value interface_modules_;
  dylan_value interface_models_;
} _KLlibrary_interfaceGVdfmc_management;

typedef struct {
  dylan_value wrapper;
  dylan_value interface_walk_module_;
  dylan_value interface_walk_walks_;
  dylan_value interface_walk_values_;
  dylan_value interface_walk_names_;
} _KLmodule_interface_walkGVdfmc_management;

typedef struct {
  dylan_value wrapper;
  dylan_value snap_time_;
  dylan_value snap_time_string_;
  dylan_value snap_space_;
  dylan_value snap_space_string_;
  dylan_value snap_phase_;
} _KLprofile_snapGVdfmc_management;

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_library_;
  dylan_value condition_module_;
} _KLmodule_exported_but_not_definedGVdfmc_management;

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_module_;
  dylan_value condition_variable_name_;
} _KLbinding_exported_but_not_definedGVdfmc_management;

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_module_;
  dylan_value condition_variable_name_;
} _KLbinding_created_but_not_definedGVdfmc_management;

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

typedef struct {
  dylan_value wrapper;
  dylan_value condition_format_string_;
  dylan_value condition_format_arguments_;
  dylan_value abort_compilation_warnings_count_;
  dylan_value abort_compilation_serious_warnings_count_;
  dylan_value abort_compilation_errors_count_;
} _KLabort_compilationGVdfmc_management;


/* Typedefs for defined classes */


/* Referenced object declarations */

dylan_value Kinitialize_class_dispatch_keys_vectoredVKgI (dylan_value);
dylan_value Kaugment_rcpl_position_data_multipleVKiI (dylan_value, dylan_value);
extern _KLclassGVKd KLwarningGVKd;
extern _KLclassGVKd KLclassGVKd;
extern _KLmm_wrapperGVKi_0 KLclassGVKdW;
extern _KLclassGVKd KLmm_wrapperGVKi;
extern _KLmm_wrapperGVKi_1 KLmm_wrapperGVKiW;
extern _KLmm_wrapperGVKi_0 KLwarningGVKdW;
dylan_value Kaugment_class_known_jointVKiMM0I (dylan_value, dylan_value);
dylan_value KPlibrary_version_checkVKeI (dylan_value, dylan_value);
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 KLmoduleGVKe;
extern _KLmm_wrapperGVKi_0 KLmoduleGVKeW;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLclassGVKd KLlibraryGVKe;
extern _KLmm_wrapperGVKi_0 KLlibraryGVKeW;
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLclassGVKd KLused_libraryGVKe;
extern _KLmm_wrapperGVKi_0 KLused_libraryGVKeW;
extern _KLlibraryGVKe Kdylan_libraryYdylan_userVdylan;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLlibraryGVKe Kmemory_manager_libraryYdylan_userVmemory_manager;
extern _KLlibraryGVKe Kdfmc_core_libraryYdylan_userVdfmc_core;
extern _KLlibraryGVKe Kdfmc_reader_libraryYdylan_userVdfmc_reader;
extern _KLlibraryGVKe Kdfmc_macro_expander_libraryYdylan_userVdfmc_macro_expander;
extern _KLlibraryGVKe Kdfmc_conversion_libraryYdylan_userVdfmc_conversion;
extern _KLlibraryGVKe Kdfmc_optimization_libraryYdylan_userVdfmc_optimization;
extern _KLlibraryGVKe Kdfmc_back_end_libraryYdylan_userVdfmc_back_end;
extern _KLlibraryGVKe Kdfmc_linker_libraryYdylan_userVdfmc_linker;
extern _KLlibraryGVKe Kdfmc_typist_libraryYdylan_userVdfmc_typist;
extern _KLlibraryGVKe Kdfmc_c_ffi_libraryYdylan_userVdfmc_c_ffi;
extern _KLclassGVKd KLsimple_conditionGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_conditionGVKeW;
extern _KLclassGVKd KLprogram_conditionGVdfmc_conditions;
extern _KLmm_wrapperGVKi_0 KLprogram_conditionGVdfmc_conditionsW;
extern _KLclassGVKd KLname_mappingGVdfmc_management;
extern _KLclassGVKd KLidentifier_mappingGVdfmc_management;
extern _KLclassGVKd KLlibrary_interfaceGVdfmc_management;
extern _KLclassGVKd KLmodule_interface_walkGVdfmc_management;
extern _KLclassGVKd KLprofile_snapGVdfmc_management;
extern _KLclassGVKd KLmodule_exported_but_not_definedGVdfmc_management;
extern _KLclassGVKd KLbinding_exported_but_not_definedGVdfmc_management;
extern _KLclassGVKd KLbinding_created_but_not_definedGVdfmc_management;
extern _KLclassGVKd KLbinding_defined_but_not_usedGVdfmc_management;
extern _KLclassGVKd KLabort_compilationGVdfmc_management;

/* Defined object declarations */

static _KLsimple_object_vectorGVKd_1 K1;
static _KLsimple_object_vectorGVKd_2 K2;
extern _KLlibraryGVKe Kdfmc_management_libraryYdylan_userVdfmc_management;
extern _KLmoduleGVKe Kdfmc_management_moduleYdylan_userVdfmc_management;
static _KLbyte_stringGVKd_15 K7;
static _KLsimple_object_vectorGVKd_11 K8;
static _KLused_libraryGVKe K9;
static _KLused_libraryGVKe K10;
static _KLused_libraryGVKe K11;
static _KLused_libraryGVKe K12;
static _KLused_libraryGVKe K13;
static _KLused_libraryGVKe K14;
static _KLused_libraryGVKe K15;
static _KLused_libraryGVKe K16;
static _KLused_libraryGVKe K17;
static _KLused_libraryGVKe K18;
static _KLused_libraryGVKe K19;
static _KLsymbolGVKd KJtight_;
static _KLbyte_stringGVKd_5 K21;
static _KLsimple_object_vectorGVKd_10 K22;

/* Indirection variables */

static dylan_value IKJtight_ = &KJtight_;

/* Variables */

dylan_value dfmc_management_moduleYdylan_userVdfmc_management = &Kdfmc_management_moduleYdylan_userVdfmc_management;
dylan_value dfmc_management_libraryYdylan_userVdfmc_management = &Kdfmc_management_libraryYdylan_userVdfmc_management;

/* Objects */

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

static _KLsimple_object_vectorGVKd_2 K2 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KLsimple_conditionGVKe,
  &KLprogram_conditionGVdfmc_conditions
};

_KLlibraryGVKe Kdfmc_management_libraryYdylan_userVdfmc_management = {
  &KLlibraryGVKeW /* wrapper */,
  &K7,
  (dylan_value) 1,
  (dylan_value) 1,
  (dylan_value) 238877737,
  &K8,
  &KPempty_vectorVKi,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) 1905,
  (dylan_value) 3421
};

_KLmoduleGVKe Kdfmc_management_moduleYdylan_userVdfmc_management = {
  &KLmoduleGVKeW /* wrapper */,
  &K7,
  &Kdfmc_management_libraryYdylan_userVdfmc_management
};

static _KLbyte_stringGVKd_15 K7 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 61,
  "dfmc-management"
};

static _KLsimple_object_vectorGVKd_11 K8 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 45,
  &K9,
  &K10,
  &K11,
  &K12,
  &K13,
  &K14,
  &K15,
  &K16,
  &K17,
  &K18,
  &K19
};

static _KLused_libraryGVKe K9 = {
  &KLused_libraryGVKeW /* wrapper */,
  (dylan_value) 1,
  (dylan_value) 1,
  (dylan_value) 238661545,
  &Kdfmc_c_ffi_libraryYdylan_userVdfmc_c_ffi,
  &KJtight_
};

static _KLused_libraryGVKe K10 = {
  &KLused_libraryGVKeW /* wrapper */,
  (dylan_value) 1,
  (dylan_value) 1,
  (dylan_value) 238714473,
  &Kdfmc_typist_libraryYdylan_userVdfmc_typist,
  &KJtight_
};

static _KLused_libraryGVKe K11 = {
  &KLused_libraryGVKeW /* wrapper */,
  (dylan_value) 1,
  (dylan_value) 1,
  (dylan_value) 238857673,
  &Kdfmc_linker_libraryYdylan_userVdfmc_linker,
  &KJtight_
};

static _KLused_libraryGVKe K12 = {
  &KLused_libraryGVKeW /* wrapper */,
  (dylan_value) 1,
  (dylan_value) 1,
  (dylan_value) 238958345,
  &Kdfmc_back_end_libraryYdylan_userVdfmc_back_end,
  &KJtight_
};

static _KLused_libraryGVKe K13 = {
  &KLused_libraryGVKeW /* wrapper */,
  (dylan_value) 1,
  (dylan_value) 1,
  (dylan_value) 239064009,
  &Kdfmc_optimization_libraryYdylan_userVdfmc_optimization,
  &KJtight_
};

static _KLused_libraryGVKe K14 = {
  &KLused_libraryGVKeW /* wrapper */,
  (dylan_value) 1,
  (dylan_value) 1,
  (dylan_value) 238750281,
  &Kdfmc_conversion_libraryYdylan_userVdfmc_conversion,
  &KJtight_
};

static _KLused_libraryGVKe K15 = {
  &KLused_libraryGVKeW /* wrapper */,
  (dylan_value) 1,
  (dylan_value) 1,
  (dylan_value) 238036009,
  &Kdfmc_macro_expander_libraryYdylan_userVdfmc_macro_expander,
  &KJtight_
};

static _KLused_libraryGVKe K16 = {
  &KLused_libraryGVKeW /* wrapper */,
  (dylan_value) 1,
  (dylan_value) 1,
  (dylan_value) 238254345,
  &Kdfmc_reader_libraryYdylan_userVdfmc_reader,
  &KJtight_
};

static _KLused_libraryGVKe K17 = {
  &KLused_libraryGVKeW /* wrapper */,
  (dylan_value) 1,
  (dylan_value) 1,
  (dylan_value) 238706345,
  &Kdfmc_core_libraryYdylan_userVdfmc_core,
  &KJtight_
};

static _KLused_libraryGVKe K18 = {
  &KLused_libraryGVKeW /* wrapper */,
  (dylan_value) 1,
  (dylan_value) 1,
  (dylan_value) 237869737,
  &Kmemory_manager_libraryYdylan_userVmemory_manager,
  &KJtight_
};

static _KLused_libraryGVKe K19 = {
  &KLused_libraryGVKeW /* wrapper */,
  (dylan_value) 9,
  (dylan_value) 5,
  (dylan_value) 237646345,
  &Kdylan_libraryYdylan_userVdylan,
  &KJtight_
};

static _KLsymbolGVKd KJtight_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K21
};

static _KLbyte_stringGVKd_5 K21 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 21,
  "tight"
};

static _KLsimple_object_vectorGVKd_10 K22 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 41,
  &KLname_mappingGVdfmc_management,
  &KLidentifier_mappingGVdfmc_management,
  &KLlibrary_interfaceGVdfmc_management,
  &KLmodule_interface_walkGVdfmc_management,
  &KLprofile_snapGVdfmc_management,
  &KLmodule_exported_but_not_definedGVdfmc_management,
  &KLbinding_exported_but_not_definedGVdfmc_management,
  &KLbinding_created_but_not_definedGVdfmc_management,
  &KLbinding_defined_but_not_usedGVdfmc_management,
  &KLabort_compilationGVdfmc_management
};

/* Code */


/* SYSTEM INIT CODE */

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

    T0 = KPresolve_symbolVKiI(&KJtight_);
    if (T0 != &KJtight_) {
      primitive_slot_value_setter(T0, &K9, 4);
      primitive_slot_value_setter(T0, &K10, 4);
      primitive_slot_value_setter(T0, &K11, 4);
      primitive_slot_value_setter(T0, &K12, 4);
      primitive_slot_value_setter(T0, &K13, 4);
      primitive_slot_value_setter(T0, &K14, 4);
      primitive_slot_value_setter(T0, &K15, 4);
      primitive_slot_value_setter(T0, &K16, 4);
      primitive_slot_value_setter(T0, &K17, 4);
      primitive_slot_value_setter(T0, &K18, 4);
      primitive_slot_value_setter(T0, &K19, 4);
    }
  }
  return;
}

/* USER INIT CODE */

void _Init_dfmc_management__X_management_library_for_user () {
{
  dylan_value T0;

  Kinitialize_class_dispatch_keys_vectoredVKgI(&K22);
  Kaugment_rcpl_position_data_multipleVKiI(&KLwarningGVKd, &K1);
  T0 = Kaugment_class_known_jointVKiMM0I(&KLwarningGVKd, &K2);
  goto I0;
}
I0:

{
  dylan_value T0;

  T0 = &KPfalseVKi;
  goto I3;
}
I3:

{
  dylan_value T0;
  dylan_value T1;

  // /home/bruce/Development/dylan/opendylan/sources/dfmc/management/management-library.dylan:7
  T0 = primitive_runtime_module_handle();
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/management/management-library.dylan:7
  T1 = KPlibrary_version_checkVKeI(&Kdfmc_management_libraryYdylan_userVdfmc_management, T0);
  goto I4;
}
I4:

  return;
}


/* eof */
