#include "opendylan/run-time.h"

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

/* Typedefs for referenced classes */

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

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

typedef struct {
  dylan_value wrapper;
} _KLobjectGVKd;

typedef struct {
  dylan_value wrapper;
} _KLunboundGVKe;

typedef struct {
  dylan_value wrapper;
} _KLbooleanGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value 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;
  dylan_value xep_;
  dylan_value function_signature_;
  dylan_value mep_;
} _KLsimple_methodGVKe;

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 head_;
  dylan_value tail_;
} _KLempty_listGVKd;

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

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

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

#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(5);

typedef struct {
  dylan_value wrapper;
  dylan_value mangler_;
  dylan_value lambda_stream_;
} _KLc_back_endGVdfmc_c_back_end;

typedef struct {
  dylan_value wrapper;
} _KLstreamGYcommon_extensionsVcommon_dylan;

typedef struct {
  dylan_value wrapper;
} _KLintegerGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value item_properties_;
  dylan_value computation_source_location_;
  dylan_value previous_computation_;
  dylan_value Pnext_computation_;
  dylan_value temporary_;
  dylan_value Penvironment_;
  dylan_value Pcomputation_type_;
  dylan_value Pnode_id_;
  dylan_value arguments_;
  dylan_value primitive_;
} _KLprimitive_callGVdfmc_flow_graph;

typedef struct {
  dylan_value wrapper;
  dylan_value emitted_name_;
  dylan_value private_model_definition_;
  dylan_value private_model_creator_;
  dylan_value primitive_descriptor_getter_name_;
  dylan_value primitive_signature_;
  dylan_value primitive_value_;
  dylan_value primitive_properties_;
} _KLBprimitiveGVdfmc_modeling;

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


/* Typedefs for defined classes */


/* Referenced object declarations */

extern _KLclassGVKd KLclassGVKd;
extern _KLmm_wrapperGVKi_0 KLclassGVKdW;
extern _KLclassGVKd KLmm_wrapperGVKi;
extern _KLmm_wrapperGVKi_1 KLmm_wrapperGVKiW;
extern _KLclassGVKd KLobjectGVKd;
extern _KLmm_wrapperGVKi_0 KLobjectGVKdW;
extern _KLunboundGVKe KPunboundVKi;
extern _KLclassGVKd KLunboundGVKe;
extern _KLmm_wrapperGVKi_0 KLunboundGVKeW;
extern _KLbooleanGVKd KPtrueVKi;
extern _KLclassGVKd KLbooleanGVKd;
extern _KLmm_wrapperGVKi_0 KLbooleanGVKdW;
extern _KLbooleanGVKd KPfalseVKi;
extern _KLclassGVKd KLsealed_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLsealed_generic_functionGVKeW;
extern _KLsimple_methodGVKe Kemit_primitive_callVdfmc_c_back_endMM0;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLsimple_methodGVKe Kemit_primitive_callVdfmc_c_back_endMM1;
extern _KLsimple_methodGVKe Kemit_primitive_callVdfmc_c_back_endMM2;
extern _KLsimple_methodGVKe Kemit_primitive_callVdfmc_c_back_endMM3;
extern _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
extern _KLabsent_engine_nodeGVKg RSINGULAR_Labsent_engine_nodeG;
extern _KLclassGVKd KLabsent_engine_nodeGVKg;
extern _KLmm_wrapperGVKi_0 KLabsent_engine_nodeGVKgW;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLclassGVKd KLc_back_endGVdfmc_c_back_end;
extern _KLmm_wrapperGVKi_0 KLc_back_endGVdfmc_c_back_endW;
extern _KLclassGVKd KLstreamGYcommon_extensionsVcommon_dylan;
extern _KLmm_wrapperGVKi_0 KLstreamGYcommon_extensionsVcommon_dylanW;
extern _KLclassGVKd KLintegerGVKd;
extern _KLmm_wrapperGVKi_0 KLintegerGVKdW;
extern _KLclassGVKd KLprimitive_callGVdfmc_flow_graph;
extern _KLmm_wrapperGVKi_0 KLprimitive_callGVdfmc_flow_graphW;
extern _KLclassGVKd KLBprimitiveGVdfmc_modeling;
extern _KLmm_wrapperGVKi_0 KLBprimitiveGVdfmc_modelingW;
extern _KLclassGVKd KLpairGVKd;
extern _KLmm_wrapperGVKi_0 KLpairGVKdW;

/* Defined object declarations */

extern _KLsealed_generic_functionGVKe Kemit_primitive_callVdfmc_c_back_end;
static _KLpairGVKd K1;
static _KLpairGVKd K2;
static _KLpairGVKd K3;
static _KLpairGVKd K4;
static _KLsignatureGVKe K5;
static _KLbyte_stringGVKd_19 K6;
static _KLsimple_object_vectorGVKd_5 K7;

/* Indirection variables */


/* Variables */

dylan_value emit_primitive_callVdfmc_c_back_end = &Kemit_primitive_callVdfmc_c_back_end;

/* Objects */

_KLsealed_generic_functionGVKe Kemit_primitive_callVdfmc_c_back_end = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_5,
  &K5,
  (dylan_value) 29,
  &K6,
  &K1,
  &RSINGULAR_Labsent_engine_nodeG
};

static _KLpairGVKd K1 = {
  &KLpairGVKdW /* wrapper */,
  &Kemit_primitive_callVdfmc_c_back_endMM0,
  &K2
};

static _KLpairGVKd K2 = {
  &KLpairGVKdW /* wrapper */,
  &Kemit_primitive_callVdfmc_c_back_endMM1,
  &K3
};

static _KLpairGVKd K3 = {
  &KLpairGVKdW /* wrapper */,
  &Kemit_primitive_callVdfmc_c_back_endMM2,
  &K4
};

static _KLpairGVKd K4 = {
  &KLpairGVKdW /* wrapper */,
  &Kemit_primitive_callVdfmc_c_back_endMM3,
  &KPempty_listVKi
};

static _KLsignatureGVKe K5 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 44040213,
  &K7
};

static _KLbyte_stringGVKd_19 K6 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 77,
  "emit-primitive-call"
};

static _KLsimple_object_vectorGVKd_5 K7 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 21,
  &KLc_back_endGVdfmc_c_back_end,
  &KLstreamGYcommon_extensionsVcommon_dylan,
  &KLintegerGVKd,
  &KLprimitive_callGVdfmc_flow_graph,
  &KLBprimitiveGVdfmc_modeling
};

/* Code */


/* SYSTEM INIT CODE */

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

/* USER INIT CODE */

void _Init_dfmc_c_back_end__X_c_primitives_for_user () {
  return;
}


/* eof */
