#include "run-time.h"

/* Typedefs for referenced classes */

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

typedef struct {
  D wrapper;
} _KLunboundGVKe;

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;
  D xep_;
  D function_signature_;
  D mep_;
} _KLsimple_methodGVKe;

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

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

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

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

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

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

typedef struct {
  D wrapper;
} _KLstreamGYcommon_extensionsVcommon_dylan;

typedef struct {
  D wrapper;
} _KLintegerGVKd;

typedef struct {
  D wrapper;
  D item_properties_;
  D computation_source_location_;
  D previous_computation_;
  D next_computation_;
  D temporary_;
  D environment_;
  D computation_type_;
  D arguments_;
  D primitive_;
} _KLprimitive_callGVdfmc_flow_graph;

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

typedef struct {
  D wrapper;
  D head_;
  D 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 _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 _KLsignatureGVKe K4;
static _KLbyte_stringGVKd_19 K5;
static _KLsimple_object_vectorGVKd_5 K6;

/* Indirection variables */


/* Variables */

D 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,
  &K4,
  (D) 29,
  &K5,
  &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,
  &KPempty_listVKi
};

static _KLsignatureGVKe K4 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 44040213,
  &K6
};

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

static _KLsimple_object_vectorGVKd_5 K6 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 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 D KPresolve_symbolVKiI(D);
  return;
}

/* USER INIT CODE */

void _Init_dfmc_c_back_end__X_c_primitives_for_user () {
  return;
}


/* eof */
