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

typedef struct {
  D wrapper;
  D signature_properties_;
  D signature_required_;
  D signature_values_;
} _KLsignatureAvaluesGVKi;

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

typedef struct {
  D wrapper;
  D instanceQ_iep_;
  D union_type1_;
  D union_type2_;
} _KLunionGVKe;

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

typedef struct {
  D wrapper;
  D instanceQ_iep_;
  D singleton_object_;
} _KLsingletonGVKd;

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 Kraw_representation_nameVdfmc_modelingMM1;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLsimple_methodGVKe Kraw_representation_nameVdfmc_modelingMM2;
extern _KLsimple_methodGVKe Kraw_representation_nameVdfmc_modelingMM3;
extern _KLsimple_methodGVKe Kraw_representation_nameVdfmc_modelingMM4;
extern _KLsimple_methodGVKe Kraw_representation_nameVdfmc_modelingMM5;
extern _KLsimple_methodGVKe Kraw_representation_nameVdfmc_modelingMM6;
extern _KLsimple_methodGVKe Kraw_representation_nameVdfmc_modelingMM7;
extern _KLsimple_methodGVKe Kraw_representation_nameVdfmc_modelingMM8;
extern _KLsimple_methodGVKe Kraw_representation_nameVdfmc_modelingMM9;
extern _KLsimple_methodGVKe Kraw_representation_nameVdfmc_modelingMM10;
extern _KLsimple_methodGVKe Kraw_representation_nameVdfmc_modelingMM11;
extern _KLsimple_methodGVKe Kraw_representation_nameVdfmc_modelingMM12;
extern _KLsimple_methodGVKe Kraw_representation_nameVdfmc_modelingMM13;
extern _KLsimple_methodGVKe Kraw_representation_nameVdfmc_modelingMM14;
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 KLsignatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLsignatureAvaluesGVKiW;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLclassGVKd KLunionGVKe;
extern _KLmm_wrapperGVKi_0 KLunionGVKeW;
D Kunion_instanceQVKiI (D, D);
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLclassGVKd KLsingletonGVKd;
extern _KLmm_wrapperGVKi_0 KLsingletonGVKdW;
D Ksingleton_pointer_idQ_instanceQVKiI (D, D);
extern _KLclassGVKd KLpairGVKd;
extern _KLmm_wrapperGVKi_0 KLpairGVKdW;

/* Defined object declarations */

extern _KLsealed_generic_functionGVKe Kraw_representation_nameVdfmc_modeling;
extern _KLsimple_methodGVKe Kraw_representation_nameVdfmc_modelingMM0;
D Kraw_representation_nameVdfmc_modelingMM0I (D);
static _KLpairGVKd K3;
static _KLpairGVKd K4;
static _KLpairGVKd K5;
static _KLpairGVKd K6;
static _KLpairGVKd K7;
static _KLpairGVKd K8;
static _KLpairGVKd K9;
static _KLpairGVKd K10;
static _KLpairGVKd K11;
static _KLpairGVKd K12;
static _KLpairGVKd K13;
static _KLpairGVKd K14;
static _KLpairGVKd K15;
static _KLpairGVKd K16;
static _KLpairGVKd K17;
static _KLsignatureAvaluesGVKi K18;
static _KLbyte_stringGVKd_23 K19;
static _KLsimple_object_vectorGVKd_1 K20;
static _KLsimple_object_vectorGVKd_1 K21;
static _KLunionGVKe K22;
static _KLsingletonGVKd K23;
static _KLsignatureAvaluesGVKi K24;
static _KLsimple_object_vectorGVKd_1 K25;

/* Indirection variables */


/* Variables */

D raw_representation_nameVdfmc_modeling = &Kraw_representation_nameVdfmc_modeling;

/* Objects */

_KLsealed_generic_functionGVKe Kraw_representation_nameVdfmc_modeling = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &K18,
  &KPfalseVKi,
  &K19,
  &K3,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsimple_methodGVKe Kraw_representation_nameVdfmc_modelingMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K24,
  &Kraw_representation_nameVdfmc_modelingMM0I
};

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

static _KLpairGVKd K4 = {
  &KLpairGVKdW /* wrapper */,
  &Kraw_representation_nameVdfmc_modelingMM1,
  &K5
};

static _KLpairGVKd K5 = {
  &KLpairGVKdW /* wrapper */,
  &Kraw_representation_nameVdfmc_modelingMM2,
  &K6
};

static _KLpairGVKd K6 = {
  &KLpairGVKdW /* wrapper */,
  &Kraw_representation_nameVdfmc_modelingMM3,
  &K7
};

static _KLpairGVKd K7 = {
  &KLpairGVKdW /* wrapper */,
  &Kraw_representation_nameVdfmc_modelingMM4,
  &K8
};

static _KLpairGVKd K8 = {
  &KLpairGVKdW /* wrapper */,
  &Kraw_representation_nameVdfmc_modelingMM5,
  &K9
};

static _KLpairGVKd K9 = {
  &KLpairGVKdW /* wrapper */,
  &Kraw_representation_nameVdfmc_modelingMM6,
  &K10
};

static _KLpairGVKd K10 = {
  &KLpairGVKdW /* wrapper */,
  &Kraw_representation_nameVdfmc_modelingMM7,
  &K11
};

static _KLpairGVKd K11 = {
  &KLpairGVKdW /* wrapper */,
  &Kraw_representation_nameVdfmc_modelingMM8,
  &K12
};

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

static _KLpairGVKd K13 = {
  &KLpairGVKdW /* wrapper */,
  &Kraw_representation_nameVdfmc_modelingMM10,
  &K14
};

static _KLpairGVKd K14 = {
  &KLpairGVKdW /* wrapper */,
  &Kraw_representation_nameVdfmc_modelingMM11,
  &K15
};

static _KLpairGVKd K15 = {
  &KLpairGVKdW /* wrapper */,
  &Kraw_representation_nameVdfmc_modelingMM12,
  &K16
};

static _KLpairGVKd K16 = {
  &KLpairGVKdW /* wrapper */,
  &Kraw_representation_nameVdfmc_modelingMM13,
  &K17
};

static _KLpairGVKd K17 = {
  &KLpairGVKdW /* wrapper */,
  &Kraw_representation_nameVdfmc_modelingMM14,
  &KPempty_listVKi
};

static _KLsignatureAvaluesGVKi K18 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K20,
  &K21
};

static _KLbyte_stringGVKd_23 K19 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 93,
  "raw-representation-name"
};

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

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

static _KLunionGVKe K22 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K23,
  &KLsymbolGVKd
};

static _KLsingletonGVKd K23 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KPfalseVKi
};

static _KLsignatureAvaluesGVKi K24 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K20,
  &K25
};

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

/* Code */

D Kraw_representation_nameVdfmc_modelingMM0I (D name_) {
  D T2_0;

  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/raw-type-macros.dylan:13
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/raw-type-macros.dylan:15
  T2_0 = &KPfalseVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/raw-type-macros.dylan:13
  MV_SET_COUNT(1);
  return(T2_0);
}


/* SYSTEM INIT CODE */

void _Init_dfmc_modeling__X_raw_type_macros_for_system () {
  extern D KPresolve_symbolVKiI(D);
  return;
}

/* USER INIT CODE */

void _Init_dfmc_modeling__X_raw_type_macros_for_user () {
  return;
}


/* eof */
