#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 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 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);
define__KLsimple_object_vectorGVKd(2);
define__KLsimple_object_vectorGVKd(0);
define__KLsimple_object_vectorGVKd(16);

typedef struct {
  D wrapper;
  D emitted_name_;
  D private_model_definition_;
  D private_model_creator_;
  D PinstanceQ_iep_;
  D CinstanceQ_function_;
  D private_Cdebug_name_;
  D Cclass_implementation_class_;
  D Cclass_subtype_bit_;
  D Pclass_module_;
} _KLBclassGVdfmc_modeling;

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

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 Pgf_cache_;
  D debug_name_;
  D generic_function_methods_;
  D discriminator_;
  D incremental_gf_module_;
  D incremental_gf_domain_info_;
  D incremental_gf_method_libraries_;
  D incremental_gf_properties_;
} _KLincremental_generic_functionGVKe;

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

typedef struct {
  D wrapper;
  D head_;
  D tail_;
} _KLlistGVKd;

#define  define__KLsimple_closure_methodGVKi(nrepeated) \
  typedef struct { \
    D wrapper; \
    D xep_; \
    D function_signature_; \
    D mep_; \
    D environment_size_; \
    D environment_element_[nrepeated+1]; \
  } _KLsimple_closure_methodGVKi_##nrepeated;
define__KLsimple_closure_methodGVKi(0);

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

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

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

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


/* 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 _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLclassGVKd KLsignatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLsignatureAvaluesGVKiW;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLclassGVKd KLBclassGVdfmc_modeling;
extern _KLmm_wrapperGVKi_0 KLBclassGVdfmc_modelingW;
extern _KLsimple_object_vectorGVKd_16 KDsignature_LbooleanG_typesVKi;
D KCall_superclassesVdfmc_modelingMM0I (D);
extern _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
D KmemberQVKdMM3I (D, D, D, D);
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLsimple_methodGVKe KEEVKd;
extern _KLsealed_generic_functionGVKe KCall_superclassesVdfmc_modeling;
extern _KLclassGVKd KLsealed_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLsealed_generic_functionGVKeW;
extern _KLincremental_generic_functionGVKe KmemberQVKd;
extern _KLfunction_classGVKi KLincremental_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
extern _KLsealed_generic_functionGVKe KCclass_sealedQVdfmc_modeling;
D Kmodel_libraryVdfmc_commonI (D);
extern _KLsealed_generic_functionGVKe Kcurrent_library_descriptionQVdfmc_common;
extern _KLsealed_generic_functionGVKe KCdirect_subclassesVdfmc_modeling;
extern _KLsealed_generic_functionGVKe KanyQVKd;
D Kmodel_variable_bindingVdfmc_namespaceMM0I (D);
extern _KLsimple_methodGVKe Kbinding_direct_subclass_definitionsVdfmc_definitionsMM0;
extern _KLmm_wrapperGVKi_0 KLpairGVKdW;
extern _KLincremental_generic_functionGVKe Kforward_iteration_protocolVKd;
extern _KLsimple_methodGVKe Kform_model_objectVdfmc_definitionsMM0;
extern _KLclassGVKd KLpairGVKd;
extern _KLclassGVKd KLlistGVKd;
extern _KLmm_wrapperGVKi_0 KLlistGVKdW;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LsequenceG_typesVKi;
extern _KLfunction_classGVKi KLsimple_closure_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLsimple_closure_methodGVKiW;
extern _KLobject_signatureGVKe KDsignature_LobjectG_object_rest_value_1VKi;
extern _KLclassGVKd KLobject_signatureGVKe;
extern _KLmm_wrapperGVKi_0 KLobject_signatureGVKeW;
extern _KLsealed_generic_functionGVKe Kmodel_definitionVdfmc_common;
D Kdo_with_dependent_contextVdfmc_namespaceI (D, D, D);
D KPdirect_subclasses_initializedQ_setterVdfmc_modelingMM0I (D, D);
D KCdirect_subclassesVdfmc_modelingMM0I (D);
extern _KLsealed_generic_functionGVKe Kmapped_modelVdfmc_common;
extern _KLsimple_methodGVKe KPdirect_subclasses_setterVdfmc_modelingMM0;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
extern _KLsealed_generic_functionGVKe KCclass_primaryQVdfmc_modeling;
extern _KLclassGVKd KLunionGVKe;
extern _KLmm_wrapperGVKi_0 KLunionGVKeW;
D Kunion_instanceQVKiI (D, D);
extern _KLclassGVKd KLsingletonGVKd;
extern _KLmm_wrapperGVKi_0 KLsingletonGVKdW;
D Ksingleton_pointer_idQ_instanceQVKiI (D, D);
extern _KLsealed_generic_functionGVKe KeveryQVKd;
extern _KLsealed_generic_functionGVKe Kform_dynamicQVdfmc_common;
extern _KLsimple_methodGVKe Klanguage_definitionVdfmc_namespaceMM0;
extern _KLsimple_methodGVKe Klibrary_contains_wildcard_subclassesQVdfmc_namespaceMM0;
extern _KLincremental_generic_functionGVKe KemptyQVKd;

/* Defined object declarations */

extern _KLsimple_methodGVKe KCdirect_subclassesVdfmc_modelingMM1;
D KCdirect_subclassesVdfmc_modelingMM1I (D);
extern _KLsimple_methodGVKe KCsubtypeQVdfmc_modelingMM13;
D KCsubtypeQVdfmc_modelingMM13I (D, D);
D KCknown_disjointQVdfmc_modelingMM3I (D, D);
extern _KLsimple_methodGVKe KCknown_disjointQVdfmc_modelingMM3;
extern _KLsimple_methodGVKe KCbase_typeVdfmc_modelingMM0;
D KCbase_typeVdfmc_modelingMM0I (D);
static _KLsignatureAvaluesGVKi K8;
static _KLsimple_object_vectorGVKd_1 K9;
static _KLsignatureAvaluesGVKi K10;
static _KLsimple_object_vectorGVKd_2 K11;
static _KLsimple_closure_methodGVKi_0 Kguaranteed_joint_2QF14;
static D Kguaranteed_joint_2QF14I (D);
extern _KLsimple_methodGVKe KCdirect_subclasses_knownVdfmc_modelingMM0;
D KCdirect_subclasses_knownVdfmc_modelingMM0I (D);
static _KLsignatureAvaluesGVKi K17;
static _KLsimple_closure_methodGVKi_0 Kanonymous_of_Cdirect_subclassesF20;
static D Kanonymous_of_Cdirect_subclassesF20I ();
static _KLsignatureGVKe K21;
extern _KLsimple_methodGVKe KCleast_primary_superclassVdfmc_modeling;
D KCleast_primary_superclassVdfmc_modelingI (D);
static _KLunionGVKe K24;
static _KLsingletonGVKd K25;
static _KLsignatureAvaluesGVKi K26;
static _KLsimple_object_vectorGVKd_1 K27;
extern _KLsimple_methodGVKe KCall_subclasses_if_sealedVdfmc_modeling;
D KCall_subclasses_if_sealedVdfmc_modelingI (D);
static _KLsimple_closure_methodGVKi_0 Kadd_ifF32;
static D Kadd_ifF32I (D);
extern _KLsimple_methodGVKe KCall_direct_subclasses_knownQVdfmc_modelingMM0;
D KCall_direct_subclasses_knownQVdfmc_modelingMM0I (D);
static _KLsignatureAvaluesGVKi K35;
static _KLsignatureAvaluesGVKi K36;
static _KLsimple_object_vectorGVKd_1 K37;
static _KLunionGVKe K38;
extern _KLsimple_methodGVKe KCsealed_with_no_subclassesQVdfmc_modelingMM0;
D KCsealed_with_no_subclassesQVdfmc_modelingMM0I (D);
static _KLsignatureGVKe K41;

/* Indirection variables */


/* Variables */

D Csealed_with_no_subclassesQVdfmc_modeling = &KCsealed_with_no_subclassesQVdfmc_modelingMM0;
D Call_subclasses_if_sealedVdfmc_modeling = &KCall_subclasses_if_sealedVdfmc_modeling;
D Cleast_primary_superclassVdfmc_modeling = &KCleast_primary_superclassVdfmc_modeling;

/* Objects */

_KLsimple_methodGVKe KCdirect_subclassesVdfmc_modelingMM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K17,
  &KCdirect_subclassesVdfmc_modelingMM1I
};

_KLsimple_methodGVKe KCsubtypeQVdfmc_modelingMM13 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K10,
  &KCsubtypeQVdfmc_modelingMM13I
};

_KLsimple_methodGVKe KCknown_disjointQVdfmc_modelingMM3 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K10,
  &KCknown_disjointQVdfmc_modelingMM3I
};

_KLsimple_methodGVKe KCbase_typeVdfmc_modelingMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K8,
  &KCbase_typeVdfmc_modelingMM0I
};

static _KLsignatureAvaluesGVKi K8 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K9,
  &K9
};

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

static _KLsignatureAvaluesGVKi K10 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K11,
  &KDsignature_LbooleanG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K11 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLBclassGVdfmc_modeling,
  &KLBclassGVdfmc_modeling
};

static _KLsimple_closure_methodGVKi_0 Kguaranteed_joint_2QF14 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &Kguaranteed_joint_2QF14I,
  (D) 1
};

_KLsimple_methodGVKe KCdirect_subclasses_knownVdfmc_modelingMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K17,
  &KCdirect_subclasses_knownVdfmc_modelingMM0I
};

static _KLsignatureAvaluesGVKi K17 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K9,
  &KDsignature_LsequenceG_typesVKi
};

static _KLsimple_closure_methodGVKi_0 Kanonymous_of_Cdirect_subclassesF20 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_0,
  &K21,
  &Kanonymous_of_Cdirect_subclassesF20I,
  (D) 1
};

static _KLsignatureGVKe K21 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 44040193,
  &KPempty_vectorVKi
};

_KLsimple_methodGVKe KCleast_primary_superclassVdfmc_modeling = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K26,
  &KCleast_primary_superclassVdfmc_modelingI
};

static _KLunionGVKe K24 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K25,
  &KLBclassGVdfmc_modeling
};

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

static _KLsignatureAvaluesGVKi K26 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K9,
  &K27
};

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

_KLsimple_methodGVKe KCall_subclasses_if_sealedVdfmc_modeling = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K36,
  &KCall_subclasses_if_sealedVdfmc_modelingI
};

static _KLsimple_closure_methodGVKi_0 Kadd_ifF32 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &Kadd_ifF32I,
  (D) 1
};

_KLsimple_methodGVKe KCall_direct_subclasses_knownQVdfmc_modelingMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K35,
  &KCall_direct_subclasses_knownQVdfmc_modelingMM0I
};

static _KLsignatureAvaluesGVKi K35 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K9,
  &KDsignature_LbooleanG_typesVKi
};

static _KLsignatureAvaluesGVKi K36 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K9,
  &K37
};

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

static _KLunionGVKe K38 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K25,
  &KLlistGVKd
};

_KLsimple_methodGVKe KCsealed_with_no_subclassesQVdfmc_modelingMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K41,
  &KCsealed_with_no_subclassesQVdfmc_modelingMM0I
};

static _KLsignatureGVKe K41 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 41944069,
  &K9
};

/* Code */

D KCdirect_subclassesVdfmc_modelingMM1I (D class_) {
  D form_;
  D T3;
  D T4;
  D T5;
  DWORD T6;
  D T7;
  D T8;
  D T9;
  D T10_0;

  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:48
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:50
  T4 = SLOT_VALUE(class_, 6);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:50
  T5 = SLOT_VALUE_INITD(T4, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:50
  T6 = primitive_cast_integer_as_raw(T5);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:50
  T7 = primitive_machine_word_logbitQ(28,T6);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:50
  if (T7 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:51
    CONGRUENT_CALL_PROLOG(&Kmodel_definitionVdfmc_common, 1);
    form_ = CONGRUENT_CALL1(class_);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:52
    if (form_ != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:53
      T3 = MAKE_CLOSURE_INITD(&Kanonymous_of_Cdirect_subclassesF20, 1, class_);
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:53
      Kdo_with_dependent_contextVdfmc_namespaceI((D) 37, form_, T3);
    }
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:52
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:58
    T8 = SLOT_VALUE(class_, 6);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:58
    KPdirect_subclasses_initializedQ_setterVdfmc_modelingMM0I(&KPtrueVKi, T8);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:50
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:60
  T9 = SLOT_VALUE(class_, 6);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:60
  T10_0 = KCdirect_subclassesVdfmc_modelingMM0I(T9);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:48
  MV_SET_COUNT(1);
  return(T10_0);
}

D KCsubtypeQVdfmc_modelingMM13I (D c1_, D c2_) {
  D T3;
  D T4_0;
  D T5;
  D T6_0;

  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:105
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:107
  T3 = SLOT_VALUE(c1_, 6);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:107
  T4_0 = KCall_superclassesVdfmc_modelingMM0I(T3);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:107
  T5 = T4_0;
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:107
  T6_0 = KmemberQVKdMM3I(c2_, T5, &KPempty_vectorVKi, &KEEVKd);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:105
  MV_SET_COUNT(1);
  return(T6_0);
}

D KCknown_disjointQVdfmc_modelingMM3I (D class1_, D class2_) {
  D T3;
  D T4;
  D T5;
  D T6_0;
  D T7_0;
  D T8;
  D T9_0;
  D T10;
  D T11;
  D T12;
  D T13_0;
  D T14;
  D T15;
  D T16;
  D T17;
  D T18_0;

  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:132
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:134
  T3 = MAKE_CLOSURE(&Kguaranteed_joint_2QF14, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:134
  INIT_CLOSURE(T3, 2, T3, class2_);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:149
  T8 = SLOT_VALUE(class2_, 6);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:149
  T9_0 = KCall_superclassesVdfmc_modelingMM0I(T8);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:149
  T10 = T9_0;
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:149
  T11 = KmemberQVKdMM3I(class1_, T10, &KPempty_vectorVKi, &KEEVKd);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:149
  if (T11 != &KPfalseVKi) {
    T4 = &KPfalseVKi;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:150
    T12 = SLOT_VALUE(class1_, 6);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:150
    T13_0 = KCall_superclassesVdfmc_modelingMM0I(T12);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:150
    T14 = T13_0;
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:150
    T15 = KmemberQVKdMM3I(class2_, T14, &KPempty_vectorVKi, &KEEVKd);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:150
    T16 = primitive_not(T15);
    T4 = T16;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:149
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:149
  if (T4 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:151
    get_teb()->function = T3;
    T5 = Kguaranteed_joint_2QF14I(class1_);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:151
    T17 = primitive_not(T5);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:151
    T18_0 = T17;
    T7_0 = T18_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:149
    T6_0 = &KPfalseVKi;
    T7_0 = T6_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:149
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:132
  MV_SET_COUNT(1);
  return(T7_0);
}

D KCbase_typeVdfmc_modelingMM0I (D type_) {
  D T2_0;

  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:99
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:100
  T2_0 = type_;
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:99
  MV_SET_COUNT(1);
  return(T2_0);
}

static D Kguaranteed_joint_2QF14I (D class_) {
  D T1;
  D UtmpF2;
  D T3;
  D UtmpF4;
  D T5;
  D T6;
  D T7;
  D T8;
  D T9;
  D T10;
  D T11;
  D T12;
  CAPTURE_ENVIRONMENT

  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:134
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:135
  CONGRUENT_CALL_PROLOG(&KCall_superclassesVdfmc_modeling, 1);
  T1 = CONGRUENT_CALL1(class_);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:135
  UtmpF2 = CALL2(&KmemberQVKd, CREF(1), T1);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:135
  if (UtmpF2 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:135
    T3 = UtmpF2;
    MV_SET_ELT(0, UtmpF2);
    MV_SET_COUNT(1);
    T12 = T3;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:137
    CONGRUENT_CALL_PROLOG(&KCclass_sealedQVdfmc_modeling, 1);
    UtmpF4 = CONGRUENT_CALL1(class_);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:137
    if (UtmpF4 != &KPfalseVKi) {
      T7 = UtmpF4;
    } else {
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:138
      T5 = Kmodel_libraryVdfmc_commonI(class_);
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:138
      CONGRUENT_CALL_PROLOG(&Kcurrent_library_descriptionQVdfmc_common, 1);
      T6 = CONGRUENT_CALL1(T5);
      T7 = T6;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:137
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:137
    if (T7 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:139
      CONGRUENT_CALL_PROLOG(&KCdirect_subclassesVdfmc_modeling, 1);
      T8 = CONGRUENT_CALL1(class_);
      T10 = T8;
    } else {
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:141
      T9 = CALL1(&KCdirect_subclasses_knownVdfmc_modelingMM0, class_);
      T10 = T9;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:137
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:136
    T11 = CALL2(&KanyQVKd, CREF(0), T10);
    T12 = T11;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:135
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:134
  return(T12);
}

D KCdirect_subclasses_knownVdfmc_modelingMM0I (D class_) {
  D binding_;
  D definitions_;
  D T4_0;
  D T5_0;
  D T6;
  D T7;
  D T8;
  D T9;
  D T10;
  D T11;
  D T12T, T12;
  D T13;
  D T14;
  D result_;
  D T16;
  D T17_0;
  D T18;
  D T19;
  D T20;
  D c_head_;
  D T22;
  D T23;

  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:32
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:34
  binding_ = Kmodel_variable_bindingVdfmc_namespaceMM0I(class_);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:35
  if (binding_ != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:36
    definitions_ = CALL1(&Kbinding_direct_subclass_definitionsVdfmc_definitionsMM0, binding_);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
    T18 = primitive_object_allocate_filled(3,&KLpairGVKdW,2,&KPunboundVKi,0,0,&KPunboundVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
    SLOT_VALUE_SETTER(&KPfalseVKi, T18, 0);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
    SLOT_VALUE_SETTER(&KPempty_listVKi, T18, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
    SLOT_VALUE_SETTER(T18, T18, 0);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
    CONGRUENT_CALL_PROLOG(&Kforward_iteration_protocolVKd, 1);
    T6 = CONGRUENT_CALL1(definitions_);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
    T7 = T6;
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
    T8 = MV_GET_ELT(1);
;
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
    T9 = MV_GET_ELT(2);
;
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
    T10 = MV_GET_ELT(3);
;
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
    T11 = MV_GET_ELT(5);
;
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
    T12T = T7;
  L0: ;
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
      T12 = T12T;
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
      T13 = CALL3(T10, definitions_, T12, T8);
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
      if (T13 == &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
        T14 = CALL2(T11, definitions_, T12);
        // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
        result_ = CALL1(&Kform_model_objectVdfmc_definitionsMM0, T14);
        // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
        if (result_ != &KPfalseVKi) {
          // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
          T19 = primitive_object_allocate_filled(3,&KLpairGVKdW,2,&KPunboundVKi,0,0,&KPunboundVKi);
          // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
          SLOT_VALUE_SETTER(result_, T19, 0);
          // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
          SLOT_VALUE_SETTER(&KPempty_listVKi, T19, 1);
          // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
          T20 = SLOT_VALUE_INITD(T18, 0);
          // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
          primitive_type_check(T20, &KLpairGVKd);
          c_head_ = T20;
          // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
          SLOT_VALUE_SETTER(T19, c_head_, 1);
          // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
          SLOT_VALUE_SETTER(T19, T18, 0);
        }
        // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
        // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
        T16 = CALL2(T9, definitions_, T12);
        // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
        T12T = T16;
        goto L0;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
    T22 = SLOT_VALUE_INITD(T18, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
    T23 = T22;
    MV_SET_ELT(0, T22);
    MV_SET_COUNT(1);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:37
    T17_0 = T23;
    {
      MV_CHECK_TYPE_PROLOGUE(T23);
      primitive_type_check(T17_0, &KLlistGVKd);
      MV_CHECK_TYPE_EPILOGUE();
    }
    T5_0 = T17_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:39
    T4_0 = &KPempty_listVKi;
    T5_0 = T4_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:35
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:32
  MV_SET_COUNT(1);
  return(T5_0);
}

static D Kanonymous_of_Cdirect_subclassesF20I () {
  D T0;
  D T1;
  D T2;
  CAPTURE_ENVIRONMENT

  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:53
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:55
  T0 = KCdirect_subclasses_knownVdfmc_modelingMM0I(CREF(0));
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:55
  CONGRUENT_CALL_PROLOG(&Kmapped_modelVdfmc_common, 1);
  T1 = CONGRUENT_CALL1(T0);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:54
  CALL2(&KPdirect_subclasses_setterVdfmc_modelingMM0, T1, CREF(0));
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:54
  T2 = T1;
  MV_SET_ELT(0, T1);
  MV_SET_COUNT(1);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:53
  return(T2);
}

D KCleast_primary_superclassVdfmc_modelingI (D cl_) {
  D T1_0;
  D T2;
  D T3_0;
  D T4;
  D T5_0;
  D T6T, T6;
  D result_T, result_;
  D T8;
  D T9;
  D T10;
  D T11_0;
  D T12_0;
  D T13;
  D T14;
  D T15;

  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:85
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
  T2 = SLOT_VALUE(cl_, 6);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
  T3_0 = KCall_superclassesVdfmc_modelingMM0I(T2);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
  T4 = T3_0;
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
  T6T = T4;
  result_T = &KPfalseVKi;
L0: ;
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
    T6 = T6T;
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
    result_ = result_T;
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
    T8 = primitive_idQ(T6,&KPempty_listVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
    if (T8 == &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
      T9 = SLOT_VALUE_INITD(T6, 0);
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
      if (result_ == &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
        T10 = SLOT_VALUE_INITD(T6, 1);
        // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
        T11_0 = T10;
        // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
        T12_0 = T11_0;
        {
          MV_CHECK_TYPE_PROLOGUE(T11_0);
          primitive_type_check(T12_0, &KLlistGVKd);
          MV_CHECK_TYPE_EPILOGUE();
        }
        // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
        T13 = T12_0;
        // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
        CONGRUENT_CALL_PROLOG(&KCclass_primaryQVdfmc_modeling, 1);
        T15 = CONGRUENT_CALL1(T9);
        // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
        if (T15 != &KPfalseVKi) {
          T14 = T9;
        } else {
          T14 = &KPfalseVKi;
        }
        // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
        // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
        T6T = T13;
        result_T = T14;
        goto L0;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
    }
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:92
  T5_0 = result_;
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:85
  T1_0 = T5_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T5_0);
    primitive_type_check(T1_0, &K24);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:85
  MV_SET_COUNT(1);
  return(T1_0);
}

D KCall_subclasses_if_sealedVdfmc_modelingI (D class_) {
  D T1;
  D T2;
  D T3_0;
  D T4_0;
  D T5_0;
  D subclasses_;
  D T7;

  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:68
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:70
  subclasses_ = MAKE_D_CELL(&KPempty_listVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:71
  T1 = MAKE_CLOSURE(&Kadd_ifF32, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:71
  INIT_CLOSURE(T1, 2, subclasses_, T1);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:80
  get_teb()->function = T1;
  T2 = Kadd_ifF32I(class_);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:80
  if (T2 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:80
    T7 = GET_D_CELL_VAL(subclasses_);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:80
    T3_0 = T7;
    T5_0 = T3_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:80
    T4_0 = &KPfalseVKi;
    T5_0 = T4_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:80
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:68
  MV_SET_COUNT(1);
  return(T5_0);
}

static D Kadd_ifF32I (D class_) {
  D T1;
  D T2;
  D T3;
  D T4;
  D T5;
  D T6;
  D T7;
  D T8;
  D T9;
  D T10;
  D T11;
  D T12;
  D T13;
  D T14;
  D T15;
  D T16;
  D Utmp_;
  D T18;
  CAPTURE_ENVIRONMENT

  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:71
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:72
  T1 = CALL1(&KCall_direct_subclasses_knownQVdfmc_modelingMM0, class_);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:72
  if (T1 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:73
    T16 = GET_D_CELL_VAL(CREF(0));
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:73
    Utmp_ = KmemberQVKdMM3I(class_, T16, &KPempty_vectorVKi, &KEEVKd);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:73
    if (Utmp_ != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:73
      T2 = Utmp_;
      MV_SET_ELT(0, Utmp_);
      MV_SET_COUNT(1);
      T12 = T2;
    } else {
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:74
      CONGRUENT_CALL_PROLOG(&KCdirect_subclassesVdfmc_modeling, 1);
      T3 = CONGRUENT_CALL1(class_);
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:74
      T4 = CALL2(&KmemberQVKd, class_, T3);
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:74
      if (T4 != &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:74
        T10 = &KPfalseVKi;
        MV_SET_ELT(0, &KPfalseVKi);
        MV_SET_COUNT(1);
        T11 = T10;
      } else {
        // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:75
        CONGRUENT_CALL_PROLOG(&KCdirect_subclassesVdfmc_modeling, 1);
        T5 = CONGRUENT_CALL1(class_);
        // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:75
        T6 = CALL2(&KeveryQVKd, CREF(1), T5);
        // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:75
        if (T6 != &KPfalseVKi) {
          // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:76
          T15 = GET_D_CELL_VAL(CREF(0));
          // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:76
          T18 = primitive_object_allocate_filled(3,&KLpairGVKdW,2,&KPunboundVKi,0,0,&KPunboundVKi);
          // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:76
          SLOT_VALUE_SETTER(class_, T18, 0);
          // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:76
          SLOT_VALUE_SETTER(T15, T18, 1);
          // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:76
          SET_D_CELL_VAL(CREF(0), T18);
          // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:76
          T7 = T18;
          MV_SET_ELT(0, T18);
          MV_SET_COUNT(1);
          T9 = T7;
        } else {
          // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:75
          T8 = &KPfalseVKi;
          MV_SET_ELT(0, &KPfalseVKi);
          MV_SET_COUNT(1);
          T9 = T8;
        }
        // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:75
        T11 = T9;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:74
      T12 = T11;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:73
    T14 = T12;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:72
    T13 = &KPfalseVKi;
    MV_SET_ELT(0, &KPfalseVKi);
    MV_SET_COUNT(1);
    T14 = T13;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:72
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:71
  return(T14);
}

D KCall_direct_subclasses_knownQVdfmc_modelingMM0I (D class_) {
  D T2;
  D T3;
  D T4;
  D T5;
  D T6;
  D T7;
  D T8_0;
  D T9_0;
  D T10;
  D T11;
  DWORD T12;
  D T13;
  D T14;
  D T15;
  D T16_0;

  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:13
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:15
  T10 = SLOT_VALUE(class_, 6);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:15
  T11 = SLOT_VALUE_INITD(T10, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:15
  T12 = primitive_cast_integer_as_raw(T11);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:15
  T13 = primitive_machine_word_logbitQ(20,T12);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:15
  if (T13 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:17
    CONGRUENT_CALL_PROLOG(&Kmodel_definitionVdfmc_common, 1);
    T2 = CONGRUENT_CALL1(class_);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:17
    T3 = CALL1(&Kform_dynamicQVdfmc_common, T2);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:17
    T14 = primitive_not(T3);
    T4 = T14;
  } else {
    T4 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:15
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:15
  if (T4 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:19
    T5 = Kmodel_libraryVdfmc_commonI(class_);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:19
    T6 = CALL1(&Klanguage_definitionVdfmc_namespaceMM0, T5);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:18
    T7 = CALL1(&Klibrary_contains_wildcard_subclassesQVdfmc_namespaceMM0, T6);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:18
    T15 = primitive_not(T7);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:18
    T16_0 = T15;
    T9_0 = T16_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:15
    T8_0 = &KPfalseVKi;
    T9_0 = T8_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:15
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:13
  MV_SET_COUNT(1);
  return(T9_0);
}

D KCsealed_with_no_subclassesQVdfmc_modelingMM0I (D class_) {
  D T2;
  D T3_0;
  D T4_0;
  D T5_0;
  D T6;

  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:43
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:44
  T2 = KCall_direct_subclasses_knownQVdfmc_modelingMM0I(class_);
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:44
  if (T2 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:44
    T6 = KCdirect_subclassesVdfmc_modelingMM1I(class_);
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:44
    CONGRUENT_CALL_PROLOG(&KemptyQVKd, 1);
    T3_0 = CONGRUENT_CALL1(T6);
    T5_0 = T3_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:44
    T4_0 = &KPfalseVKi;
    T5_0 = T4_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:44
  // /Users/bruce/Development/dylan/opendylan/sources/dfmc/modeling/classes.dylan:43
  MV_SET_COUNT(1);
  return(T5_0);
}


/* SYSTEM INIT CODE */

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

/* USER INIT CODE */

void _Init_dfmc_modeling__X_classes_for_user () {
  return;
}


/* eof */
