#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;
} _KLobjectGVKd;

typedef struct {
  dylan_value wrapper;
} _KLunboundGVKe;

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;

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(18);
define__KLbyte_stringGVKd(17);
define__KLbyte_stringGVKd(13);
define__KLbyte_stringGVKd(11);
define__KLbyte_stringGVKd(2);
define__KLbyte_stringGVKd(5);
define__KLbyte_stringGVKd(6);
define__KLbyte_stringGVKd(3);

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

typedef struct {
  dylan_value wrapper;
} _KLstringGVKd;

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

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

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

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

typedef struct {
  dylan_value wrapper;
  dylan_value llvm_module_name_;
  dylan_value llvm_module_target_triple_;
  dylan_value llvm_module_data_layout_;
  dylan_value llvm_module_asm_;
  dylan_value llvm_module_globals_;
  dylan_value llvm_module_functions_;
  dylan_value llvm_module_aliases_;
  dylan_value llvm_module_named_metadata_;
  dylan_value Pnamed_metadata_table_;
  dylan_value llvm_module_dependent_libraries_;
  dylan_value llvm_type_table_;
  dylan_value llvm_global_table_;
} _KLllvm_moduleGVllvm;

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

typedef struct {
  dylan_value wrapper;
  dylan_value llvm_builder_value_function_;
  dylan_value llvm_builder_module_;
  dylan_value llvm_builder_function_;
  dylan_value llvm_builder_basic_block_;
  dylan_value llvm_builder_dbg_;
  dylan_value mangler_;
  dylan_value Ptype_table_;
  dylan_value Praw_type_table_;
  dylan_value Praw_type_dbg_encoding_table_;
  dylan_value Ppointer_to_table_;
  dylan_value Pdirect_object_table_;
  dylan_value Praw_object_table_;
  dylan_value Preference_table_;
  dylan_value Pprimitive_function_table_;
  dylan_value Pbyte_character_constants_;
  dylan_value Psource_record_dbg_file_table_;
  dylan_value llvm_back_end_dbg_functions_;
  dylan_value Pdbg_type_table_;
  dylan_value Pmv_struct_type_;
  dylan_value llvm_teb_struct_type_;
  dylan_value Pteb_struct_field_index_;
} _KLllvm_back_endGVdfmc_llvm_back_end;

typedef struct {
  dylan_value wrapper;
  dylan_value compiled_to_definitionsQ_;
  dylan_value compilation_from_definitions_startedQ_;
  dylan_value compilation_definitions_inconsistentQ_;
  dylan_value private_compilation_context_records_;
  dylan_value compilation_timings_;
  dylan_value private_language_definition_;
  dylan_value language_definition_change_count_;
  dylan_value cached_library_description_record_table_;
  dylan_value library_type_cache_;
  dylan_value library_type_estimate_disjointQ_cache_;
  dylan_value library_type_estimate_cons_cache_;
  dylan_value library_type_estimate_dispatch_cache_;
  dylan_value library_external_model_cache_;
  dylan_value library_description_system_class_init_code_;
  dylan_value library_description_system_gf_init_code_;
  dylan_value library_owned_model_properties_;
  dylan_value private_library_conditions_table_;
  dylan_value library_description_dylan_library_;
  dylan_value library_forms_dynamicQ_;
  dylan_value library_description_current_call_site_id_;
  dylan_value library_externally_visible_models_;
} _KLlibrary_descriptionGVdfmc_namespace;


/* Typedefs for defined classes */


/* Referenced object declarations */

dylan_value KPadd_methodVKnI (dylan_value, dylan_value, dylan_value);
extern _KLincremental_generic_functionGVKe Kemit_mainfileVdfmc_linker;
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_llvm_linker_libraryYdylan_userVdfmc_llvm_linker;
extern _KLclassGVKd KLlibraryGVKe;
extern _KLmm_wrapperGVKi_0 KLlibraryGVKeW;
extern _KLincremental_generic_functionGVKe Kemit_gluefileVdfmc_linker;
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 _KLsealed_generic_functionGVKe Klocal_mangleVdfmc_back_end;
extern _KLclassGVKd KLsealed_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLsealed_generic_functionGVKeW;
extern _KLsealed_generic_functionGVKe KconcatenateVKd;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLsimple_methodGVKe Klibrary_description_emit_nameVdfmc_namespaceMM0;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLincremental_generic_functionGVKe KasVKd;
extern _KLclassGVKd KLstringGVKd;
extern _KLmm_wrapperGVKi_0 KLstringGVKdW;
extern _KLincremental_generic_functionGVKe Kas_lowercaseVKd;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
dylan_value Kconcatenate_asVKdMM3I (dylan_value, dylan_value, dylan_value);
extern _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
extern _KLclassGVKd KLpairGVKd;
extern _KLmm_wrapperGVKi_0 KLpairGVKdW;
extern _KLsimple_methodGVKe Kconcatenate_asVKdMM0;
extern _KLsimple_methodGVKe Kconcatenate_asVKdMM1;
dylan_value Kbuild_area_output_locatorVdfmc_namespaceMM0I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLsealed_generic_functionGVKe Kllvm_back_end_target_tripleVdfmc_llvm_back_end;
extern _KLsealed_generic_functionGVKe Kllvm_back_end_data_layoutVdfmc_llvm_back_end;
extern _KLsymbolGVKd KJname_;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLincremental_generic_functionGVKe KmakeVKd;
extern _KLclassGVKd KLllvm_moduleGVllvm;
extern _KLmm_wrapperGVKi_0 KLllvm_moduleGVllvmW;
extern _KLsimple_methodGVKe Kllvm_save_bitcode_fileVllvm;
extern _KLfunction_classGVKi KLkeyword_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_methodGVKeW;
extern _KLclassGVKd KLkeyword_signatureGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureGVKeW;
extern _KLsimple_object_vectorGVKd_256 KDsignature_LobjectG_typesVKi;
extern _KLclassGVKd KLllvm_back_endGVdfmc_llvm_back_end;
extern _KLmm_wrapperGVKi_0 KLllvm_back_endGVdfmc_llvm_back_endW;
extern _KLclassGVKd KLlibrary_descriptionGVdfmc_namespace;
extern _KLmm_wrapperGVKi_0 KLlibrary_descriptionGVdfmc_namespaceW;

/* Defined object declarations */

extern _KLkeyword_methodGVKe Kemit_mainfileVdfmc_linkerMdfmc_llvm_linkerM0;
dylan_value Kemit_mainfileVdfmc_linkerMdfmc_llvm_linkerM0I (dylan_value, dylan_value, dylan_value);
extern _KLkeyword_methodGVKe Kemit_gluefileVdfmc_linkerMdfmc_llvm_linkerM0;
dylan_value Kemit_gluefileVdfmc_linkerMdfmc_llvm_linkerM0I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
dylan_value Kcr_init_nameVdfmc_llvm_linkerMM0I (dylan_value, dylan_value, dylan_value);
dylan_value Klibrary_description_glue_nameVdfmc_llvm_linkerMM0I (dylan_value, dylan_value);
static _KLbyte_stringGVKd_3 K8;
dylan_value Kglue_nameVdfmc_llvm_linkerMM0I (dylan_value, dylan_value);
dylan_value Kglue_name_rawVdfmc_llvm_linkerMM0I (dylan_value);
static _KLbyte_stringGVKd_6 K11;
static _KLpairGVKd K12;
static _KLpairGVKd K13;
static _KLbyte_stringGVKd_5 K14;
static _KLbyte_stringGVKd_2 K15;
static _KLsymbolGVKd KJtarget_triple_;
static _KLsymbolGVKd KJdata_layout_;
static _KLbyte_stringGVKd_11 K18;
static _KLbyte_stringGVKd_13 K19;
static _KLkeyword_signatureGVKe K20;
static _KLsimple_object_vectorGVKd_8 K21;
static _KLsymbolGVKd KJassembler_outputQ_;
static _KLsymbolGVKd KJdownloadable_dataQ_;
static _KLsymbolGVKd KJdebug_infoQ_;
static _KLsymbolGVKd KJcompilation_layer_;
static _KLbyte_stringGVKd_17 K26;
static _KLbyte_stringGVKd_11 K27;
static _KLbyte_stringGVKd_18 K28;
static _KLbyte_stringGVKd_17 K29;
static _KLsimple_object_vectorGVKd_3 K30;
static _KLsimple_object_vectorGVKd_4 K31;
static _KLkeyword_signatureGVKe K32;
static _KLsimple_object_vectorGVKd_2 K33;

/* Indirection variables */

static dylan_value IKJtarget_triple_ = &KJtarget_triple_;
static dylan_value IKJdata_layout_ = &KJdata_layout_;
static dylan_value IKJassembler_outputQ_ = &KJassembler_outputQ_;
static dylan_value IKJdownloadable_dataQ_ = &KJdownloadable_dataQ_;
static dylan_value IKJdebug_infoQ_ = &KJdebug_infoQ_;
static dylan_value IKJcompilation_layer_ = &KJcompilation_layer_;

/* Variables */


/* Objects */

_KLkeyword_methodGVKe Kemit_mainfileVdfmc_linkerMdfmc_llvm_linkerM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_3,
  &K32,
  &key_mep_3,
  &Kemit_mainfileVdfmc_linkerMdfmc_llvm_linkerM0I,
  &KPempty_vectorVKi
};

_KLkeyword_methodGVKe Kemit_gluefileVdfmc_linkerMdfmc_llvm_linkerM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_8,
  &K20,
  &key_mep_8,
  &Kemit_gluefileVdfmc_linkerMdfmc_llvm_linkerM0I,
  &K21
};

static _KLbyte_stringGVKd_3 K8 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 13,
  "_X_"
};

static _KLbyte_stringGVKd_6 K11 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 25,
  "_Init_"
};

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

static _KLpairGVKd K13 = {
  &KLpairGVKdW /* wrapper */,
  &Kconcatenate_asVKdMM0,
  &KPempty_listVKi
};

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

static _KLbyte_stringGVKd_2 K15 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 9,
  "bc"
};

static _KLsymbolGVKd KJtarget_triple_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K19
};

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

static _KLbyte_stringGVKd_11 K18 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 45,
  "data-layout"
};

static _KLbyte_stringGVKd_13 K19 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 53,
  "target-triple"
};

static _KLkeyword_signatureGVKe K20 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (dylan_value) 44826637,
  &K30,
  &K31,
  &KDsignature_LobjectG_typesVKi
};

static _KLsimple_object_vectorGVKd_8 K21 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 33,
  &KJassembler_outputQ_,
  &KPunboundVKi,
  &KJdownloadable_dataQ_,
  &KPfalseVKi,
  &KJdebug_infoQ_,
  &KPtrueVKi,
  &KJcompilation_layer_,
  &KPfalseVKi
};

static _KLsymbolGVKd KJassembler_outputQ_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K29
};

static _KLsymbolGVKd KJdownloadable_dataQ_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K28
};

static _KLsymbolGVKd KJdebug_infoQ_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K27
};

static _KLsymbolGVKd KJcompilation_layer_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K26
};

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

static _KLbyte_stringGVKd_11 K27 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 45,
  "debug-info?"
};

static _KLbyte_stringGVKd_18 K28 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 73,
  "downloadable-data?"
};

static _KLbyte_stringGVKd_17 K29 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 69,
  "assembler-output?"
};

static _KLsimple_object_vectorGVKd_3 K30 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 13,
  &KLllvm_back_endGVdfmc_llvm_back_end,
  &KLlibrary_descriptionGVdfmc_namespace,
  &KLobjectGVKd
};

static _KLsimple_object_vectorGVKd_4 K31 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 17,
  &KJassembler_outputQ_,
  &KJdownloadable_dataQ_,
  &KJdebug_infoQ_,
  &KJcompilation_layer_
};

static _KLkeyword_signatureGVKe K32 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (dylan_value) 45875209,
  &K33,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_2 K33 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KLllvm_back_endGVdfmc_llvm_back_end,
  &KLlibrary_descriptionGVdfmc_namespace
};

/* Code */

dylan_value Kemit_mainfileVdfmc_linkerMdfmc_llvm_linkerM0I (dylan_value back_end_, dylan_value ld_, dylan_value keys_) {
  dylan_value T4_0;

  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:9
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:9
  T4_0 = &KPfalseVKi;
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:9
  MV_SET_COUNT(1);
  return(T4_0);
}

dylan_value Kemit_gluefileVdfmc_linkerMdfmc_llvm_linkerM0I (dylan_value back_end_, dylan_value ld_, dylan_value cr_names_, dylan_value Urest_, dylan_value assembler_outputQ_, dylan_value downloadable_dataQ_, dylan_value debug_infoQ_, dylan_value compilation_layer_) {
  dylan_value locator_;
  dylan_value T10;
  dylan_value T11;
  dylan_value m_;
  dylan_value T13;
  _KLsimple_object_vectorGVKd_6 T14 = {&KLsimple_object_vectorGVKdW, (dylan_value) 25};

  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:15
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:23
  locator_ = Kbuild_area_output_locatorVdfmc_namespaceMM0I(ld_, &KPempty_vectorVKi, &K14, &KPfalseVKi, &K15);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:26
  CONGRUENT_CALL_PROLOG(&Kllvm_back_end_target_tripleVdfmc_llvm_back_end, 1);
  T10 = CONGRUENT_CALL1(back_end_);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:27
  CONGRUENT_CALL_PROLOG(&Kllvm_back_end_data_layoutVdfmc_llvm_back_end, 1);
  T11 = CONGRUENT_CALL1(back_end_);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:24
  T14.vector_element_[0] = &KJname_;
  T14.vector_element_[1] = &K14;
  T14.vector_element_[2] = IKJtarget_triple_;
  T14.vector_element_[3] = T10;
  T14.vector_element_[4] = IKJdata_layout_;
  T14.vector_element_[5] = T11;
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:24
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  m_ = CONGRUENT_CALL2(&KLllvm_moduleGVllvm, &T14);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:28
  SLOT_VALUE_SETTER(m_, back_end_, 1);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:33
  CALL2(&Kllvm_save_bitcode_fileVllvm, m_, locator_);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:36
  SLOT_VALUE_SETTER(&KPfalseVKi, back_end_, 1);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:36
  T13 = &KPfalseVKi;
  MV_SET_ELT(0, &KPfalseVKi);
  MV_SET_COUNT(1);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:15
  return(T13);
}

dylan_value Kcr_init_nameVdfmc_llvm_linkerMM0I (dylan_value back_end_, dylan_value ld_, dylan_value cr_name_) {
  dylan_value T4;
  dylan_value T5;
  dylan_value T6;

  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:54
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:55
  T4 = Klibrary_description_glue_nameVdfmc_llvm_linkerMM0I(back_end_, ld_);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:56
  CONGRUENT_CALL_PROLOG(&Klocal_mangleVdfmc_back_end, 2);
  T5 = CONGRUENT_CALL2(back_end_, cr_name_);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:55
  T6 = CALL3(&KconcatenateVKd, T4, &K8, T5);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:54
  return(T6);
}

dylan_value Klibrary_description_glue_nameVdfmc_llvm_linkerMM0I (dylan_value back_end_, dylan_value ld_) {
  dylan_value T3;
  dylan_value T4;

  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:50
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:51
  T3 = CALL1(&Klibrary_description_emit_nameVdfmc_namespaceMM0, ld_);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:51
  T4 = Kglue_nameVdfmc_llvm_linkerMM0I(back_end_, T3);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:50
  return(T4);
}

dylan_value Kglue_nameVdfmc_llvm_linkerMM0I (dylan_value back_end_, dylan_value name_) {
  dylan_value T3;
  dylan_value T4;
  dylan_value T5;
  dylan_value T6;

  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:46
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:47
  CONGRUENT_CALL_PROLOG(&KasVKd, 2);
  T3 = CONGRUENT_CALL2(&KLstringGVKd, name_);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:47
  CONGRUENT_CALL_PROLOG(&Kas_lowercaseVKd, 1);
  T4 = CONGRUENT_CALL1(T3);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:47
  CONGRUENT_CALL_PROLOG(&Klocal_mangleVdfmc_back_end, 2);
  T5 = CONGRUENT_CALL2(back_end_, T4);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:47
  T6 = Kglue_name_rawVdfmc_llvm_linkerMM0I(T5);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:46
  return(T6);
}

dylan_value Kglue_name_rawVdfmc_llvm_linkerMM0I (dylan_value name_) {
  _KLsimple_object_vectorGVKd_1 T2 = {&KLsimple_object_vectorGVKdW, (dylan_value) 5};
  dylan_value T3_0;

  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:42
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:43
  T2.vector_element_[0] = name_;
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:43
  MIEP_CALL_PROLOG(&K12);
  T3_0 = Kconcatenate_asVKdMM3I(&KLbyte_stringGVKd, &K11, &T2);
  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:42
  MV_SET_COUNT(1);
  return(T3_0);
}


/* SYSTEM INIT CODE */

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

    T0 = KPresolve_symbolVKiI(&KJtarget_triple_);
    if (T0 != &KJtarget_triple_) {
      IKJtarget_triple_ = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJdata_layout_);
    if (T0 != &KJdata_layout_) {
      IKJdata_layout_ = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJassembler_outputQ_);
    if (T0 != &KJassembler_outputQ_) {
      primitive_repeated_slot_value_setter(T0, &K31, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K21, 1, 0);
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJdownloadable_dataQ_);
    if (T0 != &KJdownloadable_dataQ_) {
      primitive_repeated_slot_value_setter(T0, &K31, 1, 1);
      primitive_repeated_slot_value_setter(T0, &K21, 1, 2);
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJdebug_infoQ_);
    if (T0 != &KJdebug_infoQ_) {
      primitive_repeated_slot_value_setter(T0, &K31, 1, 2);
      primitive_repeated_slot_value_setter(T0, &K21, 1, 4);
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJcompilation_layer_);
    if (T0 != &KJcompilation_layer_) {
      primitive_repeated_slot_value_setter(T0, &K31, 1, 3);
      primitive_repeated_slot_value_setter(T0, &K21, 1, 6);
    }
  }
  return;
}

/* USER INIT CODE */

void _Init_dfmc_llvm_linker__X_llvm_gluefile_for_user () {
{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:9
  T0 = KPadd_methodVKnI(&Kemit_mainfileVdfmc_linker, &Kemit_mainfileVdfmc_linkerMdfmc_llvm_linkerM0, &Kdfmc_llvm_linker_libraryYdylan_userVdfmc_llvm_linker);
  goto I2;
}
I2:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/dfmc/llvm-linker/llvm-gluefile.dylan:15
  T0 = KPadd_methodVKnI(&Kemit_gluefileVdfmc_linker, &Kemit_gluefileVdfmc_linkerMdfmc_llvm_linkerM0, &Kdfmc_llvm_linker_libraryYdylan_userVdfmc_llvm_linker);
  goto I5;
}
I5:

  return;
}


/* eof */
