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

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

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

typedef struct {
  dylan_value wrapper;
  dylan_value namespace_name_;
  dylan_value home_library_;
} _KLmoduleGVKe;

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

#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(7);
define__KLbyte_stringGVKd(12);
define__KLbyte_stringGVKd(21);
define__KLbyte_stringGVKd(9);
define__KLbyte_stringGVKd(25);
define__KLbyte_stringGVKd(16);
define__KLbyte_stringGVKd(24);
define__KLbyte_stringGVKd(15);
define__KLbyte_stringGVKd(20);
define__KLbyte_stringGVKd(64);
define__KLbyte_stringGVKd(6);
define__KLbyte_stringGVKd(13);
define__KLbyte_stringGVKd(0);

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

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

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

typedef struct {
  dylan_value wrapper;
  dylan_value xep_;
} _KLfunctionGVKd;

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

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

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

typedef struct {
  dylan_value wrapper;
  dylan_value condition_format_string_;
  dylan_value condition_format_arguments_;
} _KLsimple_warningGVKd;

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_;
  dylan_value signature_values_;
} _KLkeyword_signatureAvaluesGVKi;

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

typedef struct {
  dylan_value wrapper;
  dylan_value slot_descriptor_properties_;
  dylan_value init_data_slot_;
  dylan_value slot_owner_;
  dylan_value init_keyword_;
  dylan_value slot_getter_;
  dylan_value slot_setter_;
  dylan_value slot_type_;
} _KLinstance_slot_descriptorGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
} _KLtypeGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value xep_;
  dylan_value method_slot_descriptor_;
} _KLgetter_methodGVKi;

typedef struct {
  dylan_value wrapper;
  dylan_value handler_type_;
  dylan_value handler_function_;
  dylan_value handler_test_;
  dylan_value handler_init_arguments_;
} _KLhandlerGVKi;

typedef struct {
  dylan_value wrapper;
  dylan_value class_properties_;
  dylan_value iclass_class_;
  dylan_value class_mm_wrapper_;
  dylan_value repeated_slot_descriptor_;
  dylan_value instance_slot_descriptors_;
  dylan_value iclass_dispatch_key_;
  dylan_value class_constructor_;
  dylan_value direct_superclasses_;
  dylan_value class_rcpl_vector_;
  dylan_value class_rcpl_position_;
  dylan_value class_rcpl_other_positions_;
  dylan_value class_known_joint_;
  dylan_value iclass_dependent_generics_;
  dylan_value iclass_subclass_dependent_generics_;
  dylan_value direct_subclasses_;
  dylan_value direct_methods_;
  dylan_value direct_slot_descriptors_;
  dylan_value slot_descriptors_;
  dylan_value direct_inherited_slot_descriptors_;
  dylan_value direct_initialization_argument_descriptors_;
  dylan_value class_slot_descriptors_;
  dylan_value defaulted_initialization_arguments_slot_;
  dylan_value class_slot_storage_;
} _KLimplementation_classGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value condition_format_string_;
  dylan_value condition_format_arguments_;
} _KLsimple_conditionGVKe;

typedef struct {
  dylan_value wrapper;
} _KLconditionGVKd;

typedef struct {
  dylan_value wrapper;
} _KLserious_conditionGVKd;

typedef struct {
  dylan_value wrapper;
} _KLerrorGVKd;

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

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
} _KLbottom_typeGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value condition_format_string_;
  dylan_value condition_format_arguments_;
  dylan_value type_error_value_;
  dylan_value type_error_expected_type_;
  dylan_value slot_type_error_slot_descriptor_;
} _KLslot_type_errorGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value condition_format_string_;
  dylan_value condition_format_arguments_;
} _KLsealed_class_errorGVKi;

typedef struct {
  dylan_value wrapper;
  dylan_value condition_format_string_;
  dylan_value condition_format_arguments_;
  dylan_value sealed_generic_function_error_generic_;
  dylan_value sealed_generic_function_error_operation_;
  dylan_value sealed_generic_function_error_arguments_;
} _KLsealed_generic_function_errorGVKe;


/* Typedefs for defined classes */

typedef struct {
  dylan_value wrapper;
  dylan_value condition_format_string_;
  dylan_value condition_format_arguments_;
} _KLsimple_restartGVKd;

typedef struct {
  dylan_value wrapper;
} _KLabortGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value condition_format_string_;
  dylan_value condition_format_arguments_;
  dylan_value type_error_value_;
  dylan_value type_error_expected_type_;
} _KLtype_errorGVKd;

typedef struct {
  dylan_value wrapper;
} _KLsealed_object_errorGVKd;

typedef struct {
  dylan_value wrapper;
} _KLrestartGVKd;


/* 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 KLincremental_generic_functionGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
extern _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
extern _KLobject_signatureGVKe KDsignature_LobjectG_object_rest_value_1VKi;
extern _KLclassGVKd KLobject_signatureGVKe;
extern _KLmm_wrapperGVKi_0 KLobject_signatureGVKeW;
extern _KLabsent_engine_nodeGVKg RSINGULAR_Labsent_engine_nodeG;
extern _KLclassGVKd KLabsent_engine_nodeGVKg;
extern _KLmm_wrapperGVKi_0 KLabsent_engine_nodeGVKgW;
extern _KLmoduleGVKe Kdylan_moduleYdylan_userVdylan;
extern _KLclassGVKd KLmoduleGVKe;
extern _KLmm_wrapperGVKi_0 KLmoduleGVKeW;
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLclassGVKd KLpairGVKd;
extern _KLmm_wrapperGVKi_0 KLpairGVKdW;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LrestartG_typesVKi;
extern _KLclassGVKd KLfunctionGVKd;
extern _KLmm_wrapperGVKi_0 KLfunctionGVKdW;
extern _KLsealed_generic_functionGVKe Khandler_typeVKi;
extern _KLclassGVKd KLsealed_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLsealed_generic_functionGVKeW;
extern _KLsealed_generic_functionGVKe Khandler_testVKi;
extern _KLsealed_generic_functionGVKe Khandler_functionVKi;
extern _KLsealed_generic_functionGVKe Khandler_init_argumentsVKi;
extern _KLclassGVKd KLlistGVKd;
extern _KLmm_wrapperGVKi_0 KLlistGVKdW;
extern _KLfunction_classGVKi KLsimple_closure_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLsimple_closure_methodGVKiW;
extern _KLsymbolGVKd KJformat_string_;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLsymbolGVKd KJformat_arguments_;
extern _KLincremental_generic_functionGVKe KmakeVKd;
extern _KLclassGVKd KLsimple_warningGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_warningGVKdW;
extern _KLsimple_object_vectorGVKd_256 KDsignature_LobjectG_typesVKi;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LstringG_typesVKi;
dylan_value KerrorVKdMM1I (dylan_value, dylan_value);
extern _KLsealed_generic_functionGVKe Kinvoke_debuggerVKi;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LconditionG_typesVKi;
extern _KLfunction_classGVKi KLkeyword_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_methodGVKeW;
extern _KLsymbolGVKd KJvalue_;
extern _KLsymbolGVKd KJtype_;
extern _KLclassGVKd KLkeyword_signatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureAvaluesGVKiW;
extern _KLsimple_object_vectorGVKd_2 KDsignature_Ltype_errorG_typesVKi;
extern _KLclassGVKd KLsingletonGVKd;
extern _KLmm_wrapperGVKi_0 KLsingletonGVKdW;
dylan_value Ksingleton_pointer_idQ_instanceQVKiI (dylan_value x_, dylan_value s_);
extern _KLclassGVKd KLinstance_slot_descriptorGVKe;
extern _KLmm_wrapperGVKi_0 KLinstance_slot_descriptorGVKeW;
extern _KLclassGVKd KLtypeGVKd;
extern _KLmm_wrapperGVKi_0 KLtypeGVKdW;
extern _KLclassGVKd KLgetter_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLgetter_methodGVKiW;
extern _KLsymbolGVKd KJfunction_;
extern _KLsymbolGVKd KJtest_;
extern _KLsymbolGVKd KJinit_arguments_;
dylan_value KLhandlerGZ32ZconstructorVKiMM0I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLclassGVKd KLhandlerGVKi;
extern _KLmm_wrapperGVKi_0 KLhandlerGVKiW;
extern _KLsealed_generic_functionGVKe KerrorVKd;
extern _KLclassGVKd KLimplementation_classGVKe;
extern _KLmm_wrapperGVKi_0 KLimplementation_classGVKeW;
extern _KLkeyword_methodGVKe Kdefault_class_constructorVKi;
extern _KLclassGVKd KLsimple_conditionGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_conditionGVKeW;
extern _KLclassGVKd KLconditionGVKd;
extern _KLmm_wrapperGVKi_0 KLconditionGVKdW;
dylan_value Kgeneral_rcpl_class_instanceQVKiI (dylan_value obj_, dylan_value cls_);
extern _KLclassGVKd KLserious_conditionGVKd;
extern _KLmm_wrapperGVKi_0 KLserious_conditionGVKdW;
extern _KLclassGVKd KLerrorGVKd;
extern _KLmm_wrapperGVKi_0 KLerrorGVKdW;
extern _KLincremental_generic_functionGVKe KinitializeVKd;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LclassG_typesVKi;
extern _KLsimple_object_vectorGVKd_2 KDsignature_Lsealed_object_errorG_typesVKi;
extern _KLbyte_stringGVKd_0 KPempty_stringVKi;
extern _KLinstance_slot_descriptorGVKe Kcondition_format_stringVKdHLsimple_conditionG;
extern _KLinstance_slot_descriptorGVKe Kcondition_format_argumentsVKdHLsimple_conditionG;
dylan_value Kclass_instanceQ_rcpl_single_smallVKiI (dylan_value obj_, dylan_value cls_);
extern _KLsimple_object_vectorGVKd_2 KDsignature_LabortG_typesVKi;
extern _KLsimple_object_vectorGVKd_2 KDsignature_Lsimple_restartG_typesVKi;
extern _KLclassGVKd KLsignatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLsignatureAvaluesGVKiW;
extern _KLbottom_typeGVKe KLbottomGVKe;
extern _KLclassGVKd KLbottom_typeGVKe;
extern _KLmm_wrapperGVKi_0 KLbottom_typeGVKeW;
extern _KLsealed_generic_functionGVKe KinstanceQVKd;
extern _KLobject_signatureGVKe KDsignature_LobjectG_object_rest_value_2VKi;
extern _KLclassGVKd KLslot_type_errorGVKe;
extern _KLclassGVKd KLsealed_class_errorGVKi;
extern _KLclassGVKd KLsealed_generic_function_errorGVKe;
extern dylan_value Tcurrent_handlersTVKi;
extern dylan_value Tlast_handlersTVKi;

/* Defined object declarations */

extern _KLclassGVKd KLsimple_restartGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_restartGVKdW;
extern _KLclassGVKd KLabortGVKd;
extern _KLmm_wrapperGVKi_0 KLabortGVKdW;
extern _KLclassGVKd KLtype_errorGVKd;
extern _KLmm_wrapperGVKi_0 KLtype_errorGVKdW;
extern _KLclassGVKd KLsealed_object_errorGVKd;
extern _KLmm_wrapperGVKi_0 KLsealed_object_errorGVKdW;
extern _KLclassGVKd KLrestartGVKd;
extern _KLmm_wrapperGVKi_0 KLrestartGVKdW;
dylan_value KcerrorVKdMM0I (dylan_value, dylan_value, dylan_value);
extern _KLsimple_methodGVKe Kdefault_handlerVKdMM2;
dylan_value Kdefault_handlerVKdMM2I (dylan_value);
extern _KLinstance_slot_descriptorGVKe Ktype_error_valueVKdHLtype_errorG;
extern _KLinstance_slot_descriptorGVKe Ktype_error_expected_typeVKdHLtype_errorG;
extern _KLkeyword_methodGVKe KmakeVKdMM3;
dylan_value KmakeVKdMM3I (dylan_value, dylan_value, dylan_value, dylan_value);
dylan_value KPbreakVKiMM1I (dylan_value, dylan_value);
dylan_value Kdo_handlersVKdMM0I (dylan_value);
extern _KLincremental_generic_functionGVKe Krestart_queryVKd;
extern _KLsimple_methodGVKe Krestart_queryVKdMM0;
dylan_value Krestart_queryVKdMM0I (dylan_value);
static _KLpairGVKd K22;
static _KLbyte_stringGVKd_13 K23;
static _KLsignatureGVKe K24;
static _KLsimple_closure_methodGVKi_0 Kalways_trueF32;
static dylan_value Kalways_trueF32I (dylan_value);
static _KLsimple_closure_methodGVKi_0 Kdo_with_handlersF29;
static dylan_value Kdo_with_handlersF29I (dylan_value, dylan_value);
static _KLsignatureGVKe K30;
static _KLsimple_object_vectorGVKd_2 K31;
extern _KLsealed_generic_functionGVKe KPbreakVKi;
extern _KLsimple_methodGVKe KPbreakVKiMM0;
dylan_value KPbreakVKiMM0I (dylan_value, dylan_value);
extern _KLsimple_methodGVKe KPbreakVKiMM1;
static _KLpairGVKd K37;
static _KLpairGVKd K38;
static _KLsignatureGVKe K39;
static _KLbyte_stringGVKd_6 K40;
static _KLsignatureGVKe K41;
static _KLbyte_stringGVKd_64 K42;
static _KLsignatureGVKe K43;
static _KLsimple_closure_methodGVKi_0 Kanonymous_of_makeF47;
static dylan_value Kanonymous_of_makeF47I (dylan_value);
static _KLbyte_stringGVKd_20 K46;
static _KLbyte_stringGVKd_15 K48;
static _KLsignatureGVKe K49;
static _KLkeyword_signatureAvaluesGVKi K50;
static _KLsimple_object_vectorGVKd_4 K51;
static _KLsimple_object_vectorGVKd_1 K52;
static _KLsimple_object_vectorGVKd_2 K53;
static _KLsingletonGVKd K54;
extern _KLsealed_generic_functionGVKe Ktype_error_expected_typeVKd;
extern _KLgetter_methodGVKi Ktype_error_expected_typeVKdMM0;
static _KLpairGVKd K57;
static _KLbyte_stringGVKd_24 K58;
extern _KLsealed_generic_functionGVKe Ktype_error_valueVKd;
extern _KLgetter_methodGVKi Ktype_error_valueVKdMM0;
static _KLpairGVKd K61;
static _KLbyte_stringGVKd_16 K62;
static _KLbyte_stringGVKd_25 K63;
static _KLsimple_closure_methodGVKi_0 KUhandler_functionUF66;
static dylan_value KUhandler_functionUF66I (dylan_value, dylan_value);
static _KLsignatureGVKe K67;
static _KLsimple_object_vectorGVKd_2 K68;
static _KLimplementation_classGVKe K69;
static _KLsimple_object_vectorGVKd_1 K70;
static _KLsimple_object_vectorGVKd_6 K71;
static _KLsimple_object_vectorGVKd_1 K72;
static _KLsimple_object_vectorGVKd_1 K73;
static _KLbyte_stringGVKd_9 K74;
static _KLimplementation_classGVKe K75;
extern _KLkeyword_methodGVKe KLsealed_object_errorGZ32ZconstructorVKiMM0;
dylan_value KLsealed_object_errorGZ32ZconstructorVKiMM0I (dylan_value, dylan_value);
static _KLsimple_object_vectorGVKd_1 K78;
static _KLsimple_object_vectorGVKd_6 K79;
static _KLsimple_object_vectorGVKd_1 K80;
static _KLkeyword_signatureAvaluesGVKi K81;
static _KLbyte_stringGVKd_21 K82;
static _KLimplementation_classGVKe K83;
static _KLsimple_object_vectorGVKd_4 K84;
extern _KLkeyword_methodGVKe KLtype_errorGZ32ZconstructorVKiMM0;
dylan_value KLtype_errorGZ32ZconstructorVKiMM0I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
static _KLsimple_object_vectorGVKd_2 K87;
static _KLsimple_object_vectorGVKd_6 K88;
static _KLsimple_object_vectorGVKd_2 K89;
static _KLkeyword_signatureAvaluesGVKi K90;
static _KLsimple_object_vectorGVKd_8 K91;
static _KLsimple_object_vectorGVKd_4 K92;
static _KLbyte_stringGVKd_12 K93;
static _KLimplementation_classGVKe K94;
extern _KLkeyword_methodGVKe KLabortGZ32ZconstructorVKiMM0;
dylan_value KLabortGZ32ZconstructorVKiMM0I (dylan_value, dylan_value);
static _KLsimple_object_vectorGVKd_1 K97;
static _KLsimple_object_vectorGVKd_6 K98;
static _KLkeyword_signatureAvaluesGVKi K99;
static _KLbyte_stringGVKd_7 K100;
static _KLimplementation_classGVKe K101;
static _KLsimple_object_vectorGVKd_2 K102;
extern _KLkeyword_methodGVKe KLsimple_restartGZ32ZconstructorVKiMM0;
dylan_value KLsimple_restartGZ32ZconstructorVKiMM0I (dylan_value, dylan_value, dylan_value, dylan_value);
static _KLsimple_object_vectorGVKd_2 K105;
static _KLsimple_object_vectorGVKd_6 K106;
static _KLkeyword_signatureAvaluesGVKi K107;
static _KLsimple_object_vectorGVKd_4 K108;
static _KLsimple_object_vectorGVKd_2 K109;
static _KLbyte_stringGVKd_16 K110;
extern _KLincremental_generic_functionGVKe Kreturn_descriptionVKd;
static _KLbyte_stringGVKd_18 K112;
extern _KLincremental_generic_functionGVKe Kreturn_allowedQVKd;
extern _KLsimple_methodGVKe Kreturn_allowedQVKdMM0;
dylan_value Kreturn_allowedQVKdMM0I (dylan_value);
static _KLpairGVKd K116;
static _KLbyte_stringGVKd_15 K117;
static _KLsignatureGVKe K118;
extern _KLincremental_generic_functionGVKe Kreturn_queryVKd;
static _KLbyte_stringGVKd_12 K120;
extern _KLsimple_methodGVKe KbreakVKdMM0;
dylan_value KbreakVKdMM0I (dylan_value);
static _KLsimple_closure_methodGVKi_0 KUhandler_functionUF127;
static dylan_value KUhandler_functionUF127I (dylan_value, dylan_value);
static _KLbyte_stringGVKd_18 K125;
static _KLbyte_stringGVKd_6 K126;
extern _KLsimple_methodGVKe KcerrorVKdMM0;
static _KLsignatureGVKe K129;
extern _KLsimple_methodGVKe KabortVKdMM0;
dylan_value KabortVKdMM0I ();
static _KLsignatureAvaluesGVKi K132;
static _KLsimple_object_vectorGVKd_1 K133;
extern _KLsimple_methodGVKe Kcheck_typeVKdMM0;
dylan_value Kcheck_typeVKdMM0I (dylan_value value_, dylan_value type_);
extern _KLsimple_methodGVKe Kdo_handlersVKdMM0;
static _KLpairGVKd K137;
static _KLpairGVKd K138;
static _KLpairGVKd K139;
static _KLpairGVKd K140;
static _KLpairGVKd K141;

/* Indirection variables */


/* Variables */

dylan_value do_handlersVKd = &Kdo_handlersVKdMM0;
dylan_value check_typeVKd = &Kcheck_typeVKdMM0;
dylan_value type_error_valueVKd = &Ktype_error_valueVKd;
dylan_value type_error_expected_typeVKd = &Ktype_error_expected_typeVKd;
dylan_value abortVKd = &KabortVKdMM0;
dylan_value cerrorVKd = &KcerrorVKdMM0;
dylan_value breakVKd = &KbreakVKdMM0;
dylan_value restart_queryVKd = &Krestart_queryVKd;
dylan_value return_queryVKd = &Kreturn_queryVKd;
dylan_value LrestartGVKd = &KLrestartGVKd;
dylan_value Lsimple_restartGVKd = &KLsimple_restartGVKd;
dylan_value return_allowedQVKd = &Kreturn_allowedQVKd;
dylan_value return_descriptionVKd = &Kreturn_descriptionVKd;
dylan_value LabortGVKd = &KLabortGVKd;
dylan_value Ltype_errorGVKd = &KLtype_errorGVKd;
dylan_value Lsealed_object_errorGVKd = &KLsealed_object_errorGVKd;

/* Objects */

_KLclassGVKd KLsimple_restartGVKd = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_rcpl_single_smallVKiI,
  &K110,
  &K101,
  (dylan_value) 1,
  &Kdylan_moduleYdylan_userVdylan
};

_KLmm_wrapperGVKi_0 KLsimple_restartGVKdW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K101,
  (dylan_value) 1,
  9,
  33554439,
  (dylan_value) 1
};

_KLclassGVKd KLabortGVKd = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_rcpl_single_smallVKiI,
  &K100,
  &K94,
  (dylan_value) 1,
  &Kdylan_moduleYdylan_userVdylan
};

_KLmm_wrapperGVKi_0 KLabortGVKdW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K94,
  (dylan_value) 1,
  1,
  33554439,
  (dylan_value) 1
};

_KLclassGVKd KLtype_errorGVKd = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_rcpl_single_smallVKiI,
  &K93,
  &K83,
  (dylan_value) 1,
  &Kdylan_moduleYdylan_userVdylan
};

_KLmm_wrapperGVKi_0 KLtype_errorGVKdW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K83,
  (dylan_value) 2049,
  17,
  33554439,
  (dylan_value) 1
};

_KLclassGVKd KLsealed_object_errorGVKd = {
  &KLclassGVKdW /* wrapper */,
  &Kgeneral_rcpl_class_instanceQVKiI,
  &K82,
  &K75,
  (dylan_value) 1,
  &Kdylan_moduleYdylan_userVdylan
};

_KLmm_wrapperGVKi_0 KLsealed_object_errorGVKdW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K75,
  (dylan_value) 2049,
  1,
  33554439,
  (dylan_value) 1
};

_KLclassGVKd KLrestartGVKd = {
  &KLclassGVKdW /* wrapper */,
  &Kgeneral_rcpl_class_instanceQVKiI,
  &K74,
  &K69,
  (dylan_value) 1,
  &Kdylan_moduleYdylan_userVdylan
};

_KLmm_wrapperGVKi_0 KLrestartGVKdW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K69,
  (dylan_value) 1,
  1,
  33554439,
  (dylan_value) 1
};

_KLsimple_methodGVKe Kdefault_handlerVKdMM2 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K24,
  &Kdefault_handlerVKdMM2I
};

_KLinstance_slot_descriptorGVKe Ktype_error_valueVKdHLtype_errorG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (dylan_value) 129,
  &KPfalseVKi,
  &KLtype_errorGVKd,
  &KJvalue_,
  &Ktype_error_valueVKd,
  &KPfalseVKi,
  &KLobjectGVKd
};

_KLinstance_slot_descriptorGVKe Ktype_error_expected_typeVKdHLtype_errorG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (dylan_value) 129,
  &KPfalseVKi,
  &KLtype_errorGVKd,
  &KJtype_,
  &Ktype_error_expected_typeVKd,
  &KPfalseVKi,
  &KLtypeGVKd
};

_KLkeyword_methodGVKe KmakeVKdMM3 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K50,
  &key_mep_4,
  &KmakeVKdMM3I,
  &K51
};

_KLincremental_generic_functionGVKe Krestart_queryVKd = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  (dylan_value) 1,
  &K23,
  &K22,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kdylan_moduleYdylan_userVdylan,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) 25
};

_KLsimple_methodGVKe Krestart_queryVKdMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K24,
  &Krestart_queryVKdMM0I
};

static _KLpairGVKd K22 = {
  &KLpairGVKdW /* wrapper */,
  &Krestart_queryVKdMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_13 K23 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 53,
  "restart-query"
};

static _KLsignatureGVKe K24 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 44040197,
  &KDsignature_LrestartG_typesVKi
};

static _KLsimple_closure_methodGVKi_0 Kalways_trueF32 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &Kalways_trueF32I,
  (dylan_value) 1
};

static _KLsimple_closure_methodGVKi_0 Kdo_with_handlersF29 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_2,
  &K30,
  &Kdo_with_handlersF29I,
  (dylan_value) 1
};

static _KLsignatureGVKe K30 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 44040201,
  &K31
};

static _KLsimple_object_vectorGVKd_2 K31 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KLobjectGVKd,
  &KLlistGVKd
};

_KLsealed_generic_functionGVKe KPbreakVKi = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_optional_xep_1,
  &K39,
  (dylan_value) 1,
  &K40,
  &K37,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsimple_methodGVKe KPbreakVKiMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &rest_xep_1,
  &K43,
  &KPbreakVKiMM0I
};

_KLsimple_methodGVKe KPbreakVKiMM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &rest_xep_1,
  &K41,
  &KPbreakVKiMM1I
};

static _KLpairGVKd K37 = {
  &KLpairGVKdW /* wrapper */,
  &KPbreakVKiMM0,
  &K38
};

static _KLpairGVKd K38 = {
  &KLpairGVKdW /* wrapper */,
  &KPbreakVKiMM1,
  &KPempty_listVKi
};

static _KLsignatureGVKe K39 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 45088773,
  &KDsignature_LobjectG_typesVKi
};

static _KLbyte_stringGVKd_6 K40 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 25,
  "%break"
};

static _KLsignatureGVKe K41 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 45088773,
  &KDsignature_LstringG_typesVKi
};

static _KLbyte_stringGVKd_64 K42 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 257,
  "Can only supply format arguments when supplying a format string."
};

static _KLsignatureGVKe K43 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 45088773,
  &KDsignature_LconditionG_typesVKi
};

static _KLsimple_closure_methodGVKi_0 Kanonymous_of_makeF47 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &rest_xep_0,
  &K49,
  &Kanonymous_of_makeF47I,
  (dylan_value) 1
};

static _KLbyte_stringGVKd_20 K46 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 81,
  "%= is not of type %="
};

static _KLbyte_stringGVKd_15 K48 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 61,
  "No next method."
};

static _KLsignatureGVKe K49 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 45088769,
  &KPempty_vectorVKi
};

static _KLkeyword_signatureAvaluesGVKi K50 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 39060485,
  &K52,
  &K53,
  &KDsignature_LobjectG_typesVKi,
  &KDsignature_Ltype_errorG_typesVKi
};

static _KLsimple_object_vectorGVKd_4 K51 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 17,
  &KJvalue_,
  &KPfalseVKi,
  &KJtype_,
  &KPfalseVKi
};

static _KLsimple_object_vectorGVKd_1 K52 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  &K54
};

static _KLsimple_object_vectorGVKd_2 K53 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KJvalue_,
  &KJtype_
};

static _KLsingletonGVKd K54 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KLtype_errorGVKd
};

_KLsealed_generic_functionGVKe Ktype_error_expected_typeVKd = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K58,
  &K57,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLgetter_methodGVKi Ktype_error_expected_typeVKdMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Ktype_error_expected_typeVKdHLtype_errorG
};

static _KLpairGVKd K57 = {
  &KLpairGVKdW /* wrapper */,
  &Ktype_error_expected_typeVKdMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_24 K58 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 97,
  "type-error-expected-type"
};

_KLsealed_generic_functionGVKe Ktype_error_valueVKd = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K62,
  &K61,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLgetter_methodGVKi Ktype_error_valueVKdMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Ktype_error_valueVKdHLtype_errorG
};

static _KLpairGVKd K61 = {
  &KLpairGVKdW /* wrapper */,
  &Ktype_error_valueVKdMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_16 K62 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 65,
  "type-error-value"
};

static _KLbyte_stringGVKd_25 K63 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 101,
  "No restart handler for %="
};

static _KLsimple_closure_methodGVKi_0 KUhandler_functionUF66 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_2,
  &K67,
  &KUhandler_functionUF66I,
  (dylan_value) 1
};

static _KLsignatureGVKe K67 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 44040201,
  &K68
};

static _KLsimple_object_vectorGVKd_2 K68 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KLsimple_restartGVKd,
  &KLobjectGVKd
};

static _KLimplementation_classGVKe K69 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (dylan_value) 274989057,
  &KLrestartGVKd,
  &KLrestartGVKdW,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) 6385,
  &Kdefault_class_constructorVKi,
  &K70,
  &K71,
  (dylan_value) 9,
  &K72,
  &K73,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &K137,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_1 K70 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  &KLconditionGVKd
};

static _KLsimple_object_vectorGVKd_6 K71 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 25,
  &KLobjectGVKd,
  &KLconditionGVKd,
  &KLrestartGVKd,
  &KPfalseVKi,
  &KPfalseVKi,
  &KPfalseVKi
};

static _KLsimple_object_vectorGVKd_1 K72 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  (dylan_value) 13
};

static _KLsimple_object_vectorGVKd_1 K73 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  &KLsimple_conditionGVKe
};

static _KLbyte_stringGVKd_9 K74 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 37,
  "<restart>"
};

static _KLimplementation_classGVKe K75 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (dylan_value) 477102081,
  &KLsealed_object_errorGVKd,
  &KLsealed_object_errorGVKdW,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) 6417,
  &KLsealed_object_errorGZ32ZconstructorVKiMM0,
  &K78,
  &K79,
  (dylan_value) 17,
  &K80,
  &K73,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &K140,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

_KLkeyword_methodGVKe KLsealed_object_errorGZ32ZconstructorVKiMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_2,
  &K81,
  &key_mep_2,
  &KLsealed_object_errorGZ32ZconstructorVKiMM0I,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_1 K78 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  &KLerrorGVKd
};

static _KLsimple_object_vectorGVKd_6 K79 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 25,
  &KLobjectGVKd,
  &KLconditionGVKd,
  &KLserious_conditionGVKd,
  &KLerrorGVKd,
  &KLsealed_object_errorGVKd,
  &KPfalseVKi
};

static _KLsimple_object_vectorGVKd_1 K80 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  (dylan_value) 21
};

static _KLkeyword_signatureAvaluesGVKi K81 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 35390469,
  &KDsignature_LclassG_typesVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KDsignature_Lsealed_object_errorG_typesVKi
};

static _KLbyte_stringGVKd_21 K82 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 85,
  "<sealed-object-error>"
};

static _KLimplementation_classGVKe K83 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (dylan_value) 341835793,
  &KLtype_errorGVKd,
  &KLtype_errorGVKdW,
  &KPfalseVKi,
  &K84,
  (dylan_value) 6409,
  &KLtype_errorGZ32ZconstructorVKiMM0,
  &K87,
  &K88,
  (dylan_value) 21,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &K139,
  &KPempty_vectorVKi,
  &K89,
  &K84,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_4 K84 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 17,
  &Kcondition_format_stringVKdHLsimple_conditionG,
  &Kcondition_format_argumentsVKdHLsimple_conditionG,
  &Ktype_error_valueVKdHLtype_errorG,
  &Ktype_error_expected_typeVKdHLtype_errorG
};

_KLkeyword_methodGVKe KLtype_errorGZ32ZconstructorVKiMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_6,
  &K90,
  &key_mep_2,
  &KLtype_errorGZ32ZconstructorVKiMM0I,
  &K91
};

static _KLsimple_object_vectorGVKd_2 K87 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KLerrorGVKd,
  &KLsimple_conditionGVKe
};

static _KLsimple_object_vectorGVKd_6 K88 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 25,
  &KLobjectGVKd,
  &KLconditionGVKd,
  &KLsimple_conditionGVKe,
  &KLserious_conditionGVKd,
  &KLerrorGVKd,
  &KLtype_errorGVKd
};

static _KLsimple_object_vectorGVKd_2 K89 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &Ktype_error_valueVKdHLtype_errorG,
  &Ktype_error_expected_typeVKdHLtype_errorG
};

static _KLkeyword_signatureAvaluesGVKi K90 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 35390469,
  &KDsignature_LclassG_typesVKi,
  &K92,
  &KDsignature_LobjectG_typesVKi,
  &KDsignature_Ltype_errorG_typesVKi
};

static _KLsimple_object_vectorGVKd_8 K91 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 33,
  &KJformat_string_,
  &KPempty_stringVKi,
  &KJformat_arguments_,
  &KPempty_vectorVKi,
  &KJvalue_,
  &KPunboundVKi,
  &KJtype_,
  &KPunboundVKi
};

static _KLsimple_object_vectorGVKd_4 K92 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 17,
  &KJformat_string_,
  &KJformat_arguments_,
  &KJvalue_,
  &KJtype_
};

static _KLbyte_stringGVKd_12 K93 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 49,
  "<type-error>"
};

static _KLimplementation_classGVKe K94 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (dylan_value) 341835777,
  &KLabortGVKd,
  &KLabortGVKdW,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) 6401,
  &KLabortGZ32ZconstructorVKiMM0,
  &K97,
  &K98,
  (dylan_value) 13,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

_KLkeyword_methodGVKe KLabortGZ32ZconstructorVKiMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_2,
  &K99,
  &key_mep_2,
  &KLabortGZ32ZconstructorVKiMM0I,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_1 K97 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  &KLrestartGVKd
};

static _KLsimple_object_vectorGVKd_6 K98 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 25,
  &KLobjectGVKd,
  &KLconditionGVKd,
  &KLrestartGVKd,
  &KLabortGVKd,
  &KPfalseVKi,
  &KPfalseVKi
};

static _KLkeyword_signatureAvaluesGVKi K99 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 35390469,
  &KDsignature_LclassG_typesVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KDsignature_LabortG_typesVKi
};

static _KLbyte_stringGVKd_7 K100 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 29,
  "<abort>"
};

static _KLimplementation_classGVKe K101 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (dylan_value) 341835785,
  &KLsimple_restartGVKd,
  &KLsimple_restartGVKdW,
  &KPfalseVKi,
  &K102,
  (dylan_value) 6393,
  &KLsimple_restartGZ32ZconstructorVKiMM0,
  &K105,
  &K106,
  (dylan_value) 17,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K102,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_2 K102 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &Kcondition_format_stringVKdHLsimple_conditionG,
  &Kcondition_format_argumentsVKdHLsimple_conditionG
};

_KLkeyword_methodGVKe KLsimple_restartGZ32ZconstructorVKiMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K107,
  &key_mep_2,
  &KLsimple_restartGZ32ZconstructorVKiMM0I,
  &K108
};

static _KLsimple_object_vectorGVKd_2 K105 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KLrestartGVKd,
  &KLsimple_conditionGVKe
};

static _KLsimple_object_vectorGVKd_6 K106 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 25,
  &KLobjectGVKd,
  &KLconditionGVKd,
  &KLsimple_conditionGVKe,
  &KLrestartGVKd,
  &KLsimple_restartGVKd,
  &KPfalseVKi
};

static _KLkeyword_signatureAvaluesGVKi K107 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 35390469,
  &KDsignature_LclassG_typesVKi,
  &K109,
  &KDsignature_LobjectG_typesVKi,
  &KDsignature_Lsimple_restartG_typesVKi
};

static _KLsimple_object_vectorGVKd_4 K108 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 17,
  &KJformat_string_,
  &KPempty_stringVKi,
  &KJformat_arguments_,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_2 K109 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KJformat_string_,
  &KJformat_arguments_
};

static _KLbyte_stringGVKd_16 K110 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 65,
  "<simple-restart>"
};

_KLincremental_generic_functionGVKe Kreturn_descriptionVKd = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K112,
  &KPempty_listVKi,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kdylan_moduleYdylan_userVdylan,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) 25
};

static _KLbyte_stringGVKd_18 K112 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 73,
  "return-description"
};

_KLincremental_generic_functionGVKe Kreturn_allowedQVKd = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K117,
  &K116,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kdylan_moduleYdylan_userVdylan,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) 25
};

_KLsimple_methodGVKe Kreturn_allowedQVKdMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K118,
  &Kreturn_allowedQVKdMM0I
};

static _KLpairGVKd K116 = {
  &KLpairGVKdW /* wrapper */,
  &Kreturn_allowedQVKdMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_15 K117 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 61,
  "return-allowed?"
};

static _KLsignatureGVKe K118 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 44040197,
  &KDsignature_LconditionG_typesVKi
};

_KLincremental_generic_functionGVKe Kreturn_queryVKd = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K120,
  &KPempty_listVKi,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kdylan_moduleYdylan_userVdylan,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) 25
};

static _KLbyte_stringGVKd_12 K120 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 49,
  "return-query"
};

_KLsimple_methodGVKe KbreakVKdMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &rest_xep_0,
  &K49,
  &KbreakVKdMM0I
};

static _KLsimple_closure_methodGVKi_0 KUhandler_functionUF127 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_2,
  &K67,
  &KUhandler_functionUF127I,
  (dylan_value) 1
};

static _KLbyte_stringGVKd_18 K125 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 73,
  "Return from break."
};

static _KLbyte_stringGVKd_6 K126 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 25,
  "Break."
};

_KLsimple_methodGVKe KcerrorVKdMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &rest_xep_2,
  &K129,
  &KcerrorVKdMM0I
};

static _KLsignatureGVKe K129 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 45088777,
  &KDsignature_LobjectG_typesVKi
};

_KLsimple_methodGVKe KabortVKdMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_0,
  &K132,
  &KabortVKdMM0I
};

static _KLsignatureAvaluesGVKi K132 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555457,
  &KPempty_vectorVKi,
  &K133
};

static _KLsimple_object_vectorGVKd_1 K133 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 5,
  &KLbottomGVKe
};

_KLsimple_methodGVKe Kcheck_typeVKdMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &KDsignature_LobjectG_object_rest_value_2VKi,
  &Kcheck_typeVKdMM0I
};

_KLsimple_methodGVKe Kdo_handlersVKdMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &Kdo_handlersVKdMM0I
};

static _KLpairGVKd K137 = {
  &KLpairGVKdW /* wrapper */,
  &KLabortGVKd,
  &K138
};

static _KLpairGVKd K138 = {
  &KLpairGVKdW /* wrapper */,
  &KLsimple_restartGVKd,
  &KPempty_listVKi
};

static _KLpairGVKd K139 = {
  &KLpairGVKdW /* wrapper */,
  &KLslot_type_errorGVKe,
  &KPempty_listVKi
};

static _KLpairGVKd K140 = {
  &KLpairGVKdW /* wrapper */,
  &KLsealed_class_errorGVKi,
  &K141
};

static _KLpairGVKd K141 = {
  &KLpairGVKdW /* wrapper */,
  &KLsealed_generic_function_errorGVKe,
  &KPempty_listVKi
};

/* Code */

dylan_value KcerrorVKdMM0I (dylan_value restart_descr_, dylan_value cond_or_string_, dylan_value arguments_) {
  volatile dylan_value Uunwind_exceptionUPexit_8_;
  volatile dylan_value T5;
  volatile dylan_value Uoriginal_handlersU_;
  volatile dylan_value T7;
  volatile dylan_value T8;
  volatile dylan_value T9;
  volatile dylan_value T10;
  volatile dylan_value T11;
  volatile _KLsimple_object_vectorGVKd_4 T12 = {&KLsimple_object_vectorGVKdW, (dylan_value) 17};
  volatile dylan_value T13;
  volatile dylan_value T14_0;
  volatile _KLsimple_object_vectorGVKd_8 T15 = {&KLsimple_object_vectorGVKdW, (dylan_value) 33};
  volatile dylan_value T16;
  volatile dylan_value T17;
  volatile dylan_value T18;

  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:54
  T11 = primitive_copy_vector(arguments_);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
  ENTER_EXIT_FRAME(Uunwind_exceptionUPexit_8_);
  if (nlx_setjmp(FRAME_DEST(Uunwind_exceptionUPexit_8_))) {
    T10 = FRAME_RETVAL(Uunwind_exceptionUPexit_8_);
  } else {
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
    Uoriginal_handlersU_ = primitive_read_thread_variable(Tcurrent_handlersTVKi);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
    T7 = MAKE_CLOSURE_INITD(&KUhandler_functionUF66, 2, Uoriginal_handlersU_, Uunwind_exceptionUPexit_8_);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:59
    T12.vector_element_[0] = &KJformat_string_;
    T12.vector_element_[1] = restart_descr_;
    T12.vector_element_[2] = &KJformat_arguments_;
    T12.vector_element_[3] = T11;
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:59
    T13 = primitive_copy_vector(&T12);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
    T15.vector_element_[0] = &KJtype_;
    T15.vector_element_[1] = &KLsimple_restartGVKd;
    T15.vector_element_[2] = &KJfunction_;
    T15.vector_element_[3] = T7;
    T15.vector_element_[4] = &KJtest_;
    T15.vector_element_[5] = &KPfalseVKi;
    T15.vector_element_[6] = &KJinit_arguments_;
    T15.vector_element_[7] = T13;
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
    T14_0 = KLhandlerGZ32ZconstructorVKiMM0I(&KLhandlerGVKi, &T15, &KLsimple_restartGVKd, T7, &KPfalseVKi, T13);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
    T16 = T14_0;
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
    T8 = primitive_read_thread_variable(Tcurrent_handlersTVKi);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
    T17 = primitive_object_allocate_filled(3,&KLpairGVKdW,2,&KPunboundVKi,0,0,&KPunboundVKi);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
    SLOT_VALUE_SETTER(T16, T17, 0);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
    SLOT_VALUE_SETTER(T8, T17, 1);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
    primitive_write_thread_variable(Tcurrent_handlersTVKi, T17);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
    ENTER_UNWIND_FRAME(T9);
    if (!nlx_setjmp(FRAME_DEST(T9))) {
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:56
      T18 = APPLY2(&KerrorVKd, cond_or_string_, T11);
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
      FALL_THROUGH_UNWIND(T18);
    }
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
    primitive_write_thread_variable(Tcurrent_handlersTVKi, Uoriginal_handlersU_);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
    CONTINUE_UNWIND();
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
  T10 = T18;
    /* invalidate Uunwind_exceptionUPexit_8_ */
  }
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:54
  return(T10);
}

dylan_value Kdefault_handlerVKdMM2I (dylan_value restart_) {
  dylan_value T2;
  _KLsimple_object_vectorGVKd_1 T3 = {&KLsimple_object_vectorGVKdW, (dylan_value) 5};

  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:65
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:66
  T3.vector_element_[0] = restart_;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:66
  KerrorVKdMM1I(&K63, &T3);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:67
  T2 = &KPfalseVKi;
  MV_SET_ELT(0, &KPfalseVKi);
  MV_SET_COUNT(1);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:65
  return(T2);
}

dylan_value KmakeVKdMM3I (dylan_value class_, dylan_value keys_, dylan_value value_, dylan_value type_) {
  dylan_value T5_0;
  dylan_value T6;
  dylan_value T7;
  dylan_value T8;
  _KLsimple_object_vectorGVKd_2 T9 = {&KLsimple_object_vectorGVKdW, (dylan_value) 9};
  dylan_value T10;
  dylan_value T11_0;

  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:97
  T8 = primitive_copy_vector(keys_);
  T6 = primitive_next_methods_parameter();
  T7 = MAKE_CLOSURE_INITD(&Kanonymous_of_makeF47, 3, T8, T6, class_);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:102
  T9.vector_element_[0] = value_;
  T9.vector_element_[1] = type_;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:102
  T10 = primitive_copy_vector(&T9);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:100
  T11_0 = APPLY6(T7, class_, &KJformat_string_, &K46, &KJformat_arguments_, T10, T8);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:97
  T5_0 = T11_0;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:97
  MV_SET_COUNT(1);
  return(T5_0);
}

dylan_value KPbreakVKiMM1I (dylan_value string_, dylan_value arguments_) {
  dylan_value T3;
  dylan_value T4;
  dylan_value T5;
  _KLsimple_object_vectorGVKd_4 T6 = {&KLsimple_object_vectorGVKdW, (dylan_value) 17};

  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:32
  T5 = primitive_copy_vector(arguments_);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:33
  T6.vector_element_[0] = &KJformat_string_;
  T6.vector_element_[1] = string_;
  T6.vector_element_[2] = &KJformat_arguments_;
  T6.vector_element_[3] = T5;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:33
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T3 = CONGRUENT_CALL2(&KLsimple_warningGVKd, &T6);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:33
  CONGRUENT_CALL_PROLOG(&KPbreakVKi, 2);
  T4 = CONGRUENT_CALL2(T3, &KPempty_vectorVKi);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:32
  return(T4);
}

dylan_value Kdo_handlersVKdMM0I (dylan_value function_) {
  dylan_value T2;
  dylan_value T3;
  dylan_value T4;
  dylan_value T5;
  dylan_value T6;

  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:119
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:120
  T2 = &Kalways_trueF32;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:120
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:123
  T3 = MAKE_CLOSURE(&Kdo_with_handlersF29, 1);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:123
  INIT_CLOSURE(T3, 1, T2);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:131
  T4 = primitive_read_thread_variable(Tcurrent_handlersTVKi);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:131
  get_teb()->function = T3;
  Kdo_with_handlersF29I(function_, T4);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:132
  T5 = Tlast_handlersTVKi;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:132
  get_teb()->function = T3;
  T6 = Kdo_with_handlersF29I(function_, T5);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:119
  return(T6);
}

dylan_value Krestart_queryVKdMM0I (dylan_value restart_) {
  dylan_value T2;

  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:42
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:43
  T2 = &KPfalseVKi;
  MV_SET_ELT(0, &KPfalseVKi);
  MV_SET_COUNT(1);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:42
  return(T2);
}

static dylan_value Kalways_trueF32I (dylan_value x_) {
  dylan_value T1;

  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:120
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:121
  T1 = &KPtrueVKi;
  MV_SET_ELT(0, &KPtrueVKi);
  MV_SET_COUNT(1);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:120
  return(T1);
}

static dylan_value Kdo_with_handlersF29I (dylan_value function_, dylan_value handlers_) {
  dylan_value T2T, T2;
  dylan_value T3;
  dylan_value T4;
  dylan_value Utmp_;
  dylan_value T6;
  dylan_value T7;
  dylan_value T8;
  dylan_value T9;
  dylan_value T10;
  dylan_value T11;
  dylan_value T12_0;
  dylan_value T13;
  dylan_value T14_0;
  dylan_value T15;
  CAPTURE_ENVIRONMENT

  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:123
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:124
  T2T = handlers_;
L0: ;
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:124
    T2 = T2T;
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:124
    T10 = primitive_idQ(T2,&KPempty_listVKi);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:124
    if (T10 == &KPfalseVKi) {
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:124
      T11 = SLOT_VALUE_INITD(T2, 0);
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:125
      T3 = function_;
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:125
      T4 = CALL1(&Khandler_typeVKi, T11);
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:126
      Utmp_ = CALL1(&Khandler_testVKi, T11);
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:126
      if (Utmp_ != &KPfalseVKi) {
        T6 = Utmp_;
      } else {
        T6 = CREF(0);
      }
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:126
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:127
      T7 = CALL1(&Khandler_functionVKi, T11);
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:128
      T8 = CALL1(&Khandler_init_argumentsVKi, T11);
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:125
      CALL4(T3, T4, T6, T7, T8);
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:124
      T13 = SLOT_VALUE_INITD(T2, 1);
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:124
      T14_0 = T13;
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:124
      T12_0 = T14_0;
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:124
      T15 = T12_0;
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:124
      T2T = T15;
      goto L0;
    }
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:124
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:124
    T9 = &KPfalseVKi;
    MV_SET_ELT(0, &KPfalseVKi);
    MV_SET_COUNT(1);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:124
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:123
  return(T9);
}

dylan_value KPbreakVKiMM0I (dylan_value condition_, dylan_value noise_) {
  dylan_value T3;
  dylan_value T4;
  DWORD T5;
  dylan_value T6;

  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:25
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:26
  T4 = SLOT_VALUE_INITD(noise_, 0);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:26
  T5 = primitive_cast_integer_as_raw(T4);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:26
  T6 = primitive_machine_word_equalQ(T5,1);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:26
  if (T6 == &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:27
    KerrorVKdMM1I(&K42, &KPempty_vectorVKi);
  }
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:26
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:29
  CONGRUENT_CALL_PROLOG(&Kinvoke_debuggerVKi, 1);
  T3 = CONGRUENT_CALL1(condition_);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:25
  return(T3);
}

static dylan_value Kanonymous_of_makeF47I (dylan_value Unext_method_argsU_) {
  dylan_value T2;
  dylan_value T3;
  dylan_value T4;
  dylan_value T5;
  dylan_value T6;
  dylan_value T7;
  DWORD T8;
  dylan_value T9;
  dylan_value T10;
  dylan_value T11;
  dylan_value T12;
  dylan_value T13;
  dylan_value T14;
  CAPTURE_ENVIRONMENT

  T6 = primitive_idQ(CREF(1),&KPempty_listVKi);
  if (T6 != &KPfalseVKi) {
    T14 = KerrorVKdMM1I(&K48, &KPempty_vectorVKi);
    T5 = T14;
  } else {
    T7 = SLOT_VALUE_INITD(Unext_method_argsU_, 0);
    T8 = primitive_cast_integer_as_raw(T7);
    T9 = primitive_machine_word_equalQ(T8,1);
    if (T9 != &KPfalseVKi) {
      T10 = SLOT_VALUE_INITD(CREF(1), 0);
      T11 = SLOT_VALUE_INITD(CREF(1), 1);
      MEP_CALL_PROLOG(T10, T11, 2);
      T2 = MEP_CALL2(T10, CREF(2), CREF(0));
      T4 = T2;
    } else {
      T12 = SLOT_VALUE_INITD(CREF(1), 0);
      T13 = SLOT_VALUE_INITD(CREF(1), 1);
      T3 = MEP_APPLY1(T12, T13, Unext_method_argsU_);
      T4 = T3;
    }
    T5 = T4;
  }
  return(T5);
}

static dylan_value KUhandler_functionUF66I (dylan_value UdummyU_, dylan_value Unext_handlerU_) {
  dylan_value T3;
  dylan_value all_values_;
  dylan_value T5;
  dylan_value T6;
  CAPTURE_ENVIRONMENT

  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
  primitive_write_thread_variable(Tcurrent_handlersTVKi, CREF(0));
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:61
  T3 = &KPfalseVKi;
  MV_SET_ELT(0, &KPfalseVKi);
  MV_SET_COUNT(1);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
  all_values_ = MV_GET_REST_AT(T3, 0);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
  T5 = MV_SET_REST_AT(all_values_, 0);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
  T6 = NLX(CREF(1), T5);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:55
  return(T6);
}

dylan_value KLsealed_object_errorGZ32ZconstructorVKiMM0I (dylan_value class_, dylan_value init_args_) {
  dylan_value T3;
  dylan_value T4_0;

  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:115
  T3 = primitive_object_allocate_filled(1,&KLsealed_object_errorGVKdW,0,&KPunboundVKi,0,0,&KPunboundVKi);
  APPLY2(&KinitializeVKd, T3, init_args_);
  T4_0 = T3;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:115
  MV_SET_COUNT(1);
  return(T4_0);
}

dylan_value KLtype_errorGZ32ZconstructorVKiMM0I (dylan_value class_, dylan_value init_args_, dylan_value Uunique_condition_format_string_, dylan_value Uunique_condition_format_arguments_, dylan_value Uunique_type_error_value_, dylan_value Uunique_type_error_expected_type_) {
  dylan_value T7;
  dylan_value Uunique_type_error_expected_typeF8;
  dylan_value Uunique_type_error_expected_typeF9;
  dylan_value T10_0;
  dylan_value T11;

  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:92
  T7 = primitive_object_allocate_filled(5,&KLtype_errorGVKdW,4,&KPunboundVKi,0,0,&KPunboundVKi);
  SLOT_VALUE_SETTER(Uunique_condition_format_string_, T7, 0);
  SLOT_VALUE_SETTER(Uunique_condition_format_arguments_, T7, 1);
  SLOT_VALUE_SETTER(Uunique_type_error_value_, T7, 2);
  T11 = primitive_idQ(Uunique_type_error_expected_type_,&KPunboundVKi);
  if (T11 != &KPfalseVKi) {
    Uunique_type_error_expected_typeF9 = Uunique_type_error_expected_type_;
  } else {
    Uunique_type_error_expected_typeF8 = Uunique_type_error_expected_type_;
    Uunique_type_error_expected_typeF9 = Uunique_type_error_expected_typeF8;
  }
  SLOT_VALUE_SETTER(Uunique_type_error_expected_typeF9, T7, 3);
  APPLY2(&KinitializeVKd, T7, init_args_);
  T10_0 = T7;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:92
  MV_SET_COUNT(1);
  return(T10_0);
}

dylan_value KLabortGZ32ZconstructorVKiMM0I (dylan_value class_, dylan_value init_args_) {
  dylan_value T3;
  dylan_value T4_0;

  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:82
  T3 = primitive_object_allocate_filled(1,&KLabortGVKdW,0,&KPunboundVKi,0,0,&KPunboundVKi);
  APPLY2(&KinitializeVKd, T3, init_args_);
  T4_0 = T3;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:82
  MV_SET_COUNT(1);
  return(T4_0);
}

dylan_value KLsimple_restartGZ32ZconstructorVKiMM0I (dylan_value class_, dylan_value init_args_, dylan_value Uunique_condition_format_string_, dylan_value Uunique_condition_format_arguments_) {
  dylan_value T5;
  dylan_value T6_0;

  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:51
  T5 = primitive_object_allocate_filled(3,&KLsimple_restartGVKdW,2,&KPunboundVKi,0,0,&KPunboundVKi);
  SLOT_VALUE_SETTER(Uunique_condition_format_string_, T5, 0);
  SLOT_VALUE_SETTER(Uunique_condition_format_arguments_, T5, 1);
  APPLY2(&KinitializeVKd, T5, init_args_);
  T6_0 = T5;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:51
  MV_SET_COUNT(1);
  return(T6_0);
}

dylan_value Kreturn_allowedQVKdMM0I (dylan_value condition_) {
  dylan_value T2;

  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:74
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:75
  T2 = &KPfalseVKi;
  MV_SET_ELT(0, &KPfalseVKi);
  MV_SET_COUNT(1);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:74
  return(T2);
}

dylan_value KbreakVKdMM0I (dylan_value arguments_) {
  volatile dylan_value Uunwind_exceptionUPexit_7_;
  volatile dylan_value Uoriginal_handlersU_;
  volatile dylan_value T4;
  volatile dylan_value T5;
  volatile dylan_value T6;
  volatile dylan_value T7;
  volatile dylan_value T8;
  volatile _KLsimple_object_vectorGVKd_2 T9 = {&KLsimple_object_vectorGVKdW, (dylan_value) 9};
  volatile dylan_value T10;
  volatile dylan_value T11_0;
  volatile _KLsimple_object_vectorGVKd_8 T12 = {&KLsimple_object_vectorGVKdW, (dylan_value) 33};
  volatile dylan_value T13;
  volatile dylan_value T14;
  volatile dylan_value T15;
  volatile DWORD T16;
  volatile dylan_value T17;
  volatile dylan_value T18;
  volatile dylan_value T19;

  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:12
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
  ENTER_EXIT_FRAME(Uunwind_exceptionUPexit_7_);
  if (nlx_setjmp(FRAME_DEST(Uunwind_exceptionUPexit_7_))) {
  } else {
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
    Uoriginal_handlersU_ = primitive_read_thread_variable(Tcurrent_handlersTVKi);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
    T4 = MAKE_CLOSURE_INITD(&KUhandler_functionUF127, 2, Uoriginal_handlersU_, Uunwind_exceptionUPexit_7_);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:20
    T9.vector_element_[0] = &KJformat_string_;
    T9.vector_element_[1] = &K125;
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:20
    T10 = primitive_copy_vector(&T9);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
    T12.vector_element_[0] = &KJtype_;
    T12.vector_element_[1] = &KLsimple_restartGVKd;
    T12.vector_element_[2] = &KJfunction_;
    T12.vector_element_[3] = T4;
    T12.vector_element_[4] = &KJtest_;
    T12.vector_element_[5] = &KPfalseVKi;
    T12.vector_element_[6] = &KJinit_arguments_;
    T12.vector_element_[7] = T10;
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
    T11_0 = KLhandlerGZ32ZconstructorVKiMM0I(&KLhandlerGVKi, &T12, &KLsimple_restartGVKd, T4, &KPfalseVKi, T10);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
    T13 = T11_0;
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
    T5 = primitive_read_thread_variable(Tcurrent_handlersTVKi);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
    T14 = primitive_object_allocate_filled(3,&KLpairGVKdW,2,&KPunboundVKi,0,0,&KPunboundVKi);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
    SLOT_VALUE_SETTER(T13, T14, 0);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
    SLOT_VALUE_SETTER(T5, T14, 1);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
    primitive_write_thread_variable(Tcurrent_handlersTVKi, T14);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
    ENTER_UNWIND_FRAME(T6);
    if (!nlx_setjmp(FRAME_DEST(T6))) {
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:14
      T15 = SLOT_VALUE_INITD(arguments_, 0);
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:14
      T16 = primitive_cast_integer_as_raw(T15);
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:14
      T17 = primitive_machine_word_equalQ(T16,1);
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:14
      if (T17 != &KPfalseVKi) {
        // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:15
        T18 = KPbreakVKiMM1I(&K126, &KPempty_vectorVKi);
        T7 = T18;
      } else {
        // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:17
        T19 = APPLY1(&KPbreakVKi, arguments_);
        T7 = T19;
      }
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:14
      // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
      FALL_THROUGH_UNWIND(T7);
    }
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
    primitive_write_thread_variable(Tcurrent_handlersTVKi, Uoriginal_handlersU_);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
    CONTINUE_UNWIND();
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
    /* invalidate Uunwind_exceptionUPexit_7_ */
  }
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:22
  T8 = &KPfalseVKi;
  MV_SET_ELT(0, &KPfalseVKi);
  MV_SET_COUNT(1);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:12
  return(T8);
}

static dylan_value KUhandler_functionUF127I (dylan_value UdummyU_, dylan_value Unext_handlerU_) {
  dylan_value T3_0;
  dylan_value all_values_;
  dylan_value T5;
  dylan_value T6;
  CAPTURE_ENVIRONMENT

  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
  primitive_write_thread_variable(Tcurrent_handlersTVKi, CREF(0));
  T3_0 = &KPfalseVKi;
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
  all_values_ = MV_GET_REST_AT(T3_0, 0);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
  T5 = MV_SET_REST_AT(all_values_, 0);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
  T6 = NLX(CREF(1), T5);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:13
  return(T6);
}

dylan_value KabortVKdMM0I () {
  dylan_value T1;
  dylan_value T2_0;

  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:85
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:87
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T1 = CONGRUENT_CALL2(&KLabortGVKd, &KPempty_vectorVKi);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:87
  CONGRUENT_CALL_PROLOG(&KerrorVKd, 2);
  T2_0 = CONGRUENT_CALL2(T1, &KPempty_vectorVKi);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:85
  MV_SET_COUNT(1);
  return(T2_0);
}

dylan_value Kcheck_typeVKdMM0I (dylan_value value_, dylan_value type_) {
  dylan_value T3;
  dylan_value T4;
  dylan_value T5;
  _KLsimple_object_vectorGVKd_4 T6 = {&KLsimple_object_vectorGVKdW, (dylan_value) 17};

  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:106
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:107
  T3 = CALL2(&KinstanceQVKd, value_, type_);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:107
  if (T3 == &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:108
    T6.vector_element_[0] = &KJvalue_;
    T6.vector_element_[1] = value_;
    T6.vector_element_[2] = &KJtype_;
    T6.vector_element_[3] = type_;
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:108
    CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
    T4 = CONGRUENT_CALL2(&KLtype_errorGVKd, &T6);
    // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:108
    CONGRUENT_CALL_PROLOG(&KerrorVKd, 2);
    CONGRUENT_CALL2(T4, &KPempty_vectorVKi);
  }
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:107
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:110
  T5 = value_;
  MV_SET_ELT(0, value_);
  MV_SET_COUNT(1);
  // /home/bruce/Development/dylan/opendylan/sources/dylan/condition-extras.dylan:106
  return(T5);
}


/* SYSTEM INIT CODE */

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

/* USER INIT CODE */

void _Init_dylan__X_condition_extras_for_user () {
  return;
}


/* eof */
