#include "run-time.h"

/* Typedefs for referenced classes */

typedef struct {
  D wrapper;
  D element_type_;
  D table_vector_;
  D initial_entries_;
  D grow_size_function_;
  D weakQ_;
} _KLobject_tableGVKd;

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);

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

typedef struct {
  D wrapper;
} _KLobjectGVKd;

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

typedef struct {
  D wrapper;
  D handle1_;
  D synchronization_name_;
} _KLsimple_lock_iGYthreads_internalVdylan;

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 namespace_name_;
  D library_major_version_;
  D library_minor_version_;
  D library_build_count_;
  D used_libraries_;
  D all_used_libraries_;
  D runtime_module_;
  D library_defined_generics_;
  D library_number_static_dispatches_;
  D library_number_dynamic_dispatches_;
} _KLlibraryGVKe;

typedef struct {
  D wrapper;
} _KLunboundGVKe;

typedef struct {
  D wrapper;
  D xep_;
  D function_signature_;
  D Pgf_cache_;
  D debug_name_;
  D generic_function_methods_;
  D discriminator_;
} _KLsealed_generic_functionGVKe;

typedef struct {
  D wrapper;
  D xep_;
  D function_signature_;
  D mep_;
  D iep_;
  D keyword_specifiers_;
} _KLkeyword_methodGVKe;

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

typedef struct {
  D wrapper;
  D synchronization_;
} _KLtimeout_expiredGYthreadsVdylan;

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

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

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

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    D wrapper; \
    D size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(46);
define__KLbyte_stringGVKd(26);
define__KLbyte_stringGVKd(44);
define__KLbyte_stringGVKd(14);
define__KLbyte_stringGVKd(24);
define__KLbyte_stringGVKd(16);
define__KLbyte_stringGVKd(23);
define__KLbyte_stringGVKd(17);
define__KLbyte_stringGVKd(6);
define__KLbyte_stringGVKd(15);
define__KLbyte_stringGVKd(8);
define__KLbyte_stringGVKd(45);
define__KLbyte_stringGVKd(33);
define__KLbyte_stringGVKd(31);
define__KLbyte_stringGVKd(7);
define__KLbyte_stringGVKd(2);
define__KLbyte_stringGVKd(18);
define__KLbyte_stringGVKd(13);
define__KLbyte_stringGVKd(20);
define__KLbyte_stringGVKd(0);

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

typedef struct {
  D wrapper;
  D xep_;
  D method_slot_descriptor_;
} _KLsetter_methodGVKi;

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

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

typedef struct {
  D wrapper;
} _KLsequenceGVKd;

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

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

typedef struct {
  D wrapper;
  D handle1_;
  D synchronization_name_;
  D associated_lock_;
} _KLnotificationGYthreadsVdylan;

#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_;
} _KLsignatureGVKe;

typedef struct {
  D wrapper;
} _KLstringGVKd;

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

typedef struct {
  D wrapper;
} _KLintegerGVKd;

typedef struct {
  D wrapper;
  D signature_properties_;
  D signature_required_;
  D signature_keys_;
  D signature_key_types_;
  D signature_values_;
} _KLkeyword_signatureAvaluesGVKi;

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

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

typedef struct {
  D wrapper;
  D signature_properties_;
  D signature_required_;
  D signature_keys_;
  D signature_key_types_;
} _KLkeyword_signatureGVKe;

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

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

typedef struct {
  D wrapper;
  D slot_descriptor_properties_;
  D init_data_slot_;
  D slot_owner_;
  D init_keyword_;
  D init_arg_type_;
} _KLinit_arg_descriptorGVKe;

typedef struct {
  D wrapper;
} _KLconditionGVKd;

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

typedef struct {
  D wrapper;
} _KLrestartGVKd;

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

#define  define__KLkeyword_closure_methodGVKe(nrepeated) \
  typedef struct { \
    D wrapper; \
    D xep_; \
    D function_signature_; \
    D mep_; \
    D iep_; \
    D keyword_specifiers_; \
    D environment_size_; \
    D environment_element_[nrepeated+1]; \
  } _KLkeyword_closure_methodGVKe_##nrepeated;
define__KLkeyword_closure_methodGVKe(0);

typedef struct {
  D wrapper;
} _KLserious_conditionGVKd;

typedef struct {
  D wrapper;
} _KLerrorGVKd;

typedef struct {
  D wrapper;
  D instanceQ_iep_;
  D subclass_class_;
} _KLsubclassGVKe;


/* Typedefs for defined classes */

typedef struct {
  D wrapper;
  D condition_format_string_;
  D condition_format_arguments_;
} _KLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_manager;

typedef struct {
  D wrapper;
  D condition_format_string_;
  D condition_format_arguments_;
} _KLinvalid_results_idGYasynchronous_resultsVenvironment_manager;

typedef struct {
  D wrapper;
  D condition_format_string_;
  D condition_format_arguments_;
} _KLtimeout_awaiting_resultsGYasynchronous_resultsVenvironment_manager;

typedef struct {
  D wrapper;
  D condition_format_string_;
  D condition_format_arguments_;
} _KLkeep_waitingGYasynchronous_resultsVenvironment_manager;

typedef struct {
  D wrapper;
  D condition_format_string_;
  D condition_format_arguments_;
  D results_to_assume_;
} _KLassume_resultsGYasynchronous_resultsVenvironment_manager;

typedef struct {
  D wrapper;
  D token_id_;
  D token_results_;
  D token_notification_;
} _KLresults_tokenGYasynchronous_results_implementationVenvironment_manager;


/* Referenced object declarations */

D KLobject_tableGZ32ZconstructorVKiMM0I (D, D, D, D, D, D);
extern _KLclassGVKd KLobject_tableGVKd;
extern _KLclassGVKd KLclassGVKd;
extern _KLmm_wrapperGVKi_0 KLclassGVKdW;
extern _KLclassGVKd KLmm_wrapperGVKi;
extern _KLmm_wrapperGVKi_1 KLmm_wrapperGVKiW;
extern _KLmm_wrapperGVKi_0 KLobject_tableGVKdW;
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLclassGVKd KLobjectGVKd;
extern _KLmm_wrapperGVKi_0 KLobjectGVKdW;
extern _KLsimple_methodGVKe Kdefault_grow_sizeVKe;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLbooleanGVKd KPfalseVKi;
extern _KLclassGVKd KLbooleanGVKd;
extern _KLmm_wrapperGVKi_0 KLbooleanGVKdW;
D KLsimple_lock_iGZ32ZconstructorYthreads_internalVdylanMM0I (D, D, D);
extern _KLclassGVKd KLsimple_lock_iGYthreads_internalVdylan;
extern _KLmm_wrapperGVKi_1 KLsimple_lock_iGYthreads_internalVdylanW;
D KPadd_classVKeI (D);
D KPadd_a_methodVKnI (D, D, D, D, D, D);
extern _KLincremental_generic_functionGVKe KmakeVKd;
extern _KLfunction_classGVKi KLincremental_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
extern _KLlibraryGVKe Kenvironment_manager_libraryYdylan_userVenvironment_manager;
extern _KLclassGVKd KLlibraryGVKe;
extern _KLmm_wrapperGVKi_0 KLlibraryGVKeW;
extern _KLbooleanGVKd KPtrueVKi;
extern _KLincremental_generic_functionGVKe KinitializeVKd;
extern _KLunboundGVKe KPunboundVKi;
extern _KLclassGVKd KLunboundGVKe;
extern _KLmm_wrapperGVKi_0 KLunboundGVKeW;
extern _KLsealed_generic_functionGVKe Kassociated_lockYthreadsVdylan;
extern _KLclassGVKd KLsealed_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLsealed_generic_functionGVKeW;
extern _KLincremental_generic_functionGVKe Kwait_forYthreadsVdylan;
extern _KLkeyword_methodGVKe Krelease_allYthreadsVdylan;
extern _KLfunction_classGVKi KLkeyword_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_methodGVKeW;
extern _KLincremental_generic_functionGVKe KreleaseYthreadsVdylan;
extern _KLsymbolGVKd KJsynchronization_;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLclassGVKd KLtimeout_expiredGYthreadsVdylan;
extern _KLmm_wrapperGVKi_0 KLtimeout_expiredGYthreadsVdylanW;
D KsignalVKdMM0I (D, D);
extern _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
extern _KLobject_signatureGVKe KDsignature_LobjectG_object_rest_value_2VKi;
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 _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLclassGVKd KLpairGVKd;
extern _KLmm_wrapperGVKi_0 KLpairGVKdW;
extern _KLclassGVKd KLsetter_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLsetter_methodGVKiW;
extern _KLclassGVKd KLinstance_slot_descriptorGVKe;
extern _KLmm_wrapperGVKi_0 KLinstance_slot_descriptorGVKeW;
extern _KLclassGVKd KLunionGVKe;
extern _KLmm_wrapperGVKi_0 KLunionGVKeW;
D Kunion_instanceQVKiI (D, D);
extern _KLclassGVKd KLsequenceGVKd;
extern _KLmm_wrapperGVKi_0 KLsequenceGVKdW;
extern _KLclassGVKd KLsingletonGVKd;
extern _KLmm_wrapperGVKi_0 KLsingletonGVKdW;
D Ksingleton_pointer_idQ_instanceQVKiI (D, D);
extern _KLobject_signatureGVKe KDsignature_LobjectG_object_rest_value_1VKi;
extern _KLclassGVKd KLgetter_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLgetter_methodGVKiW;
extern _KLclassGVKd KLnotificationGYthreadsVdylan;
extern _KLmm_wrapperGVKi_1 KLnotificationGYthreadsVdylanW;
extern _KLsymbolGVKd KJlock_;
extern _KLfunction_classGVKi KLsimple_closure_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLsimple_closure_methodGVKiW;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
D KgethashVKiI (D, D, D, D);
D KerrorVKdMM0I (D, D);
extern _KLkeyword_methodGVKe KmakeVKdMM48;
D Kremove_keyXVKdMM0I (D, D);
D KmemberQVKdMM3I (D, D, D, D);
extern _KLsimple_methodGVKe KEEVKd;
D Klock_wait_result_errorYthreads_internalVdylanMM0I (D, D);
D Kstring_to_integerYcommon_extensionsVcommon_dylanI (D, D, D, D, D, D);
D Klock_release_result_errorYthreads_internalVdylanMM0I (D, D);
D Kcurrent_threadYthreadsVdylanI ();
extern _KLsimple_object_vectorGVKd_2 KDsignature_LstringG_typesVKi;
extern _KLclassGVKd KLstringGVKd;
extern _KLmm_wrapperGVKi_0 KLstringGVKdW;
extern _KLsymbolGVKd KJtype_;
extern _KLsymbolGVKd KJfunction_;
extern _KLsymbolGVKd KJtest_;
extern _KLsymbolGVKd KJinit_arguments_;
D KLhandlerGZ32ZconstructorVKiMM0I (D, D, D, D, D, D);
extern _KLclassGVKd KLhandlerGVKi;
extern _KLmm_wrapperGVKi_0 KLhandlerGVKiW;
extern _KLsymbolGVKd KJtimeout_;
extern _KLclassGVKd KLintegerGVKd;
extern _KLmm_wrapperGVKi_0 KLintegerGVKdW;
extern _KLclassGVKd KLkeyword_signatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureAvaluesGVKiW;
extern _KLclassGVKd KLsignatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLsignatureAvaluesGVKiW;
extern _KLsymbolGVKd KJvalue_;
extern _KLclassGVKd KLtype_errorGVKd;
extern _KLmm_wrapperGVKi_0 KLtype_errorGVKdW;
extern _KLsealed_generic_functionGVKe KerrorVKd;
D KputhashVKiI (D, D, D);
extern _KLclassGVKd KLkeyword_signatureGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureGVKeW;
extern _KLclassGVKd KLimplementation_classGVKe;
extern _KLmm_wrapperGVKi_0 KLimplementation_classGVKeW;
extern _KLkeyword_methodGVKe KinitializeVKdMM1;
D KsleepYthreadsVdylanI (D);
D Kinteger_to_stringYcommon_extensionsVcommon_dylanI (D, D, D, D, D);
extern _KLsimple_object_vectorGVKd_2 KDsignature_LclassG_typesVKi;
D Kclass_instanceQ_initialVKiI (D, D);
extern _KLmoduleGVKe Kasynchronous_results_implementation_moduleYdylan_userVenvironment_manager;
extern _KLclassGVKd KLmoduleGVKe;
extern _KLmm_wrapperGVKi_0 KLmoduleGVKeW;
extern _KLsymbolGVKd KJformat_arguments_;
D Kclass_constructor_atomicallyVKiI (D);
extern _KLsimple_object_vectorGVKd_256 KDsignature_LobjectG_typesVKi;
extern _KLclassGVKd KLinit_arg_descriptorGVKe;
extern _KLmm_wrapperGVKi_0 KLinit_arg_descriptorGVKeW;
extern _KLsymbolGVKd KJformat_string_;
extern _KLclassGVKd KLconditionGVKd;
extern _KLmm_wrapperGVKi_0 KLconditionGVKdW;
extern _KLclassGVKd KLsimple_conditionGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_conditionGVKeW;
extern _KLclassGVKd KLrestartGVKd;
extern _KLmm_wrapperGVKi_0 KLrestartGVKdW;
extern _KLclassGVKd KLsimple_restartGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_restartGVKdW;
D Kdefaulted_initialization_argumentsVKiI (D);
D Kconcatenate_2VKeMM1I (D, D);
D KerrorVKdMM1I (D, D);
extern _KLfunction_classGVKi KLkeyword_closure_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_closure_methodGVKeW;
extern _KLbyte_stringGVKd_0 KPempty_stringVKi;
extern _KLinstance_slot_descriptorGVKe Kcondition_format_stringVKdHLsimple_conditionG;
extern _KLinstance_slot_descriptorGVKe Kcondition_format_argumentsVKdHLsimple_conditionG;
extern _KLmoduleGVKe Kasynchronous_results_moduleYdylan_userVenvironment_manager;
extern _KLclassGVKd KLserious_conditionGVKd;
extern _KLmm_wrapperGVKi_0 KLserious_conditionGVKdW;
extern _KLclassGVKd KLerrorGVKd;
extern _KLmm_wrapperGVKi_0 KLerrorGVKdW;
extern _KLclassGVKd KLsubclassGVKe;
extern _KLmm_wrapperGVKi_0 KLsubclassGVKeW;
D Ksubclass_instanceQVKiI (D, D);
extern _KLkeyword_methodGVKe Kdefault_class_constructorVKi;
D Kclass_instanceQ_rcpl_single_smallVKiI (D, D);
extern D TdebuggingQTVKi;
extern D Tdebug_partsTVKi;
extern D Tdebug_out_functionTVKi;
extern D Tcurrent_handlersTVKi;

/* Defined object declarations */

extern _KLclassGVKd KLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_manager;
extern _KLmm_wrapperGVKi_0 KLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_managerW;
extern _KLkeyword_methodGVKe KmakeVKdMenvironment_managerM0;
D KmakeVKdMenvironment_managerM0I (D, D, D);
extern _KLclassGVKd KLinvalid_results_idGYasynchronous_resultsVenvironment_manager;
extern _KLmm_wrapperGVKi_0 KLinvalid_results_idGYasynchronous_resultsVenvironment_managerW;
extern _KLclassGVKd KLtimeout_awaiting_resultsGYasynchronous_resultsVenvironment_manager;
extern _KLmm_wrapperGVKi_0 KLtimeout_awaiting_resultsGYasynchronous_resultsVenvironment_managerW;
extern _KLclassGVKd KLkeep_waitingGYasynchronous_resultsVenvironment_manager;
extern _KLmm_wrapperGVKi_0 KLkeep_waitingGYasynchronous_resultsVenvironment_managerW;
extern _KLclassGVKd KLassume_resultsGYasynchronous_resultsVenvironment_manager;
extern _KLmm_wrapperGVKi_0 KLassume_resultsGYasynchronous_resultsVenvironment_managerW;
extern _KLkeyword_methodGVKe KmakeVKdMenvironment_managerM1;
D KmakeVKdMenvironment_managerM1I (D, D, D);
extern _KLclassGVKd KLresults_tokenGYasynchronous_results_implementationVenvironment_manager;
extern _KLmm_wrapperGVKi_0 KLresults_tokenGYasynchronous_results_implementationVenvironment_managerW;
extern _KLkeyword_methodGVKe KinitializeVKdMenvironment_managerM0;
D KinitializeVKdMenvironment_managerM0I (D, D);
D Kprovide_resultsYasynchronous_resultsVenvironment_managerI (D, D);
D Kid_results_tokenYasynchronous_results_implementationVenvironment_managerI (D, D, D);
extern _KLsealed_generic_functionGVKe Ktoken_notificationYasynchronous_results_implementationVenvironment_manager;
extern _KLsealed_generic_functionGVKe Ktoken_results_setterYasynchronous_results_implementationVenvironment_manager;
extern _KLsetter_methodGVKi Ktoken_results_setterYasynchronous_results_implementationVenvironment_managerMM0;
static _KLpairGVKd K35;
static _KLbyte_stringGVKd_20 K36;
extern _KLinstance_slot_descriptorGVKe Ktoken_resultsYasynchronous_results_implementationVenvironment_managerHLresults_tokenG;
extern _KLsealed_generic_functionGVKe Ktoken_resultsYasynchronous_results_implementationVenvironment_manager;
static _KLunionGVKe K39;
static _KLsingletonGVKd K40;
extern _KLgetter_methodGVKi Ktoken_resultsYasynchronous_results_implementationVenvironment_managerMM0;
static _KLpairGVKd K42;
static _KLbyte_stringGVKd_13 K43;
extern _KLgetter_methodGVKi Ktoken_notificationYasynchronous_results_implementationVenvironment_managerMM0;
static _KLpairGVKd K45;
static _KLbyte_stringGVKd_18 K46;
extern _KLinstance_slot_descriptorGVKe Ktoken_notificationYasynchronous_results_implementationVenvironment_managerHLresults_tokenG;
static _KLsimple_closure_methodGVKi_0 K50;
static D K50I ();
static _KLsignatureGVKe K51;
static _KLunionGVKe K52;
static _KLsymbolGVKd KJid_;
static _KLpairGVKd K54;
static _KLbyte_stringGVKd_2 K55;
static _KLunionGVKe K56;
static _KLsingletonGVKd K57;
static _KLsymbolGVKd KJaborted_;
static _KLbyte_stringGVKd_7 K59;
extern _KLsimple_methodGVKe Kabort_resultsYasynchronous_resultsVenvironment_manager;
D Kabort_resultsYasynchronous_resultsVenvironment_managerI (D);
D Krelease_idYasynchronous_results_implementationVenvironment_managerI (D);
static _KLsimple_closure_methodGVKi_0 Kanonymous_of_release_idF74;
static D Kanonymous_of_release_idF74I ();
static _KLsimple_closure_methodGVKi_0 Kanonymous_of_release_idF72;
static D Kanonymous_of_release_idF72I ();
static _KLsimple_closure_methodGVKi_0 Kanonymous_of_release_idF69;
static D Kanonymous_of_release_idF69I ();
static _KLbyte_stringGVKd_31 K70;
static _KLsignatureGVKe K71;
static _KLbyte_stringGVKd_33 K73;
static _KLbyte_stringGVKd_45 K75;
static _KLsignatureGVKe K76;
extern _KLsimple_methodGVKe Kprovide_resultsYasynchronous_resultsVenvironment_manager;
static _KLsignatureGVKe K78;
static _KLsimple_object_vectorGVKd_2 K79;
extern _KLkeyword_methodGVKe Kwait_for_resultsYasynchronous_resultsVenvironment_manager;
D Kwait_for_resultsYasynchronous_resultsVenvironment_managerI (D, D, D);
static _KLsimple_closure_methodGVKi_0 KUhandler_functionUF90;
static D KUhandler_functionUF90I (D, D);
static _KLsimple_closure_methodGVKi_0 KUhandler_functionUF87;
static D KUhandler_functionUF87I (D, D);
static _KLunionGVKe K86;
static _KLsignatureGVKe K88;
static _KLsimple_object_vectorGVKd_2 K89;
static _KLsignatureGVKe K91;
static _KLsimple_object_vectorGVKd_2 K92;
static _KLkeyword_signatureAvaluesGVKi K93;
static _KLsimple_object_vectorGVKd_2 K94;
static _KLsimple_object_vectorGVKd_1 K95;
static _KLsimple_object_vectorGVKd_1 K96;
static _KLsimple_object_vectorGVKd_1 K97;
extern _KLsimple_methodGVKe Kget_results_idYasynchronous_resultsVenvironment_manager;
D Kget_results_idYasynchronous_resultsVenvironment_managerI ();
static _KLsignatureAvaluesGVKi K100;
static _KLkeyword_signatureGVKe K101;
static _KLsimple_object_vectorGVKd_1 K102;
static _KLimplementation_classGVKe K103;
static _KLsimple_object_vectorGVKd_3 K104;
extern _KLkeyword_methodGVKe KLresults_tokenGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0;
D KLresults_tokenGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0I (D, D);
static _KLsimple_object_vectorGVKd_1 K107;
static _KLsimple_object_vectorGVKd_6 K108;
static D K113I ();
static D K112I ();
static _KLpairGVKd K111;
D Kobtain_idYasynchronous_results_implementationVenvironment_managerI ();
static _KLsimple_closure_methodGVKi_0 Kanonymous_of_obtain_idF137;
static D Kanonymous_of_obtain_idF137I ();
static _KLsimple_closure_methodGVKi_0 Kanonymous_of_obtain_idF136;
static D Kanonymous_of_obtain_idF136I ();
static _KLsimple_closure_methodGVKi_0 Kanonymous_of_obtain_idF135;
static D Kanonymous_of_obtain_idF135I ();
static D Kid_freeQF134I (D);
static D Kfollowing_idF133I (D);
static _KLsimple_closure_methodGVKi_0 Kanonymous_of_obtain_idF132;
static D Kanonymous_of_obtain_idF132I ();
static _KLsimple_closure_methodGVKi_0 Kanonymous_of_obtain_idF131;
static D Kanonymous_of_obtain_idF131I ();
static _KLsimple_closure_methodGVKi_0 Kanonymous_of_obtain_idF130;
static D Kanonymous_of_obtain_idF130I ();
static _KLunionGVKe K129;
static _KLkeyword_signatureAvaluesGVKi K138;
extern _KLinstance_slot_descriptorGVKe Ktoken_idYasynchronous_results_implementationVenvironment_managerHLresults_tokenG;
static _KLsimple_closure_methodGVKi_0 K146;
static D K146I ();
extern _KLsealed_generic_functionGVKe Ktoken_idYasynchronous_results_implementationVenvironment_manager;
extern _KLgetter_methodGVKi Ktoken_idYasynchronous_results_implementationVenvironment_managerMM0;
static _KLpairGVKd K144;
static _KLbyte_stringGVKd_8 K145;
static _KLbyte_stringGVKd_15 K147;
static _KLsimple_closure_methodGVKi_0 Kanonymous_of_makeF150;
static D Kanonymous_of_makeF150I (D);
static _KLsignatureGVKe K151;
static _KLkeyword_signatureAvaluesGVKi K152;
static _KLsimple_object_vectorGVKd_2 K153;
static _KLsymbolGVKd KJassume_;
static _KLbyte_stringGVKd_6 K155;
static _KLsimple_object_vectorGVKd_1 K156;
static _KLsimple_object_vectorGVKd_1 K157;
static _KLsimple_object_vectorGVKd_1 K158;
static _KLsingletonGVKd K159;
static _KLimplementation_classGVKe K160;
static _KLsimple_object_vectorGVKd_3 K161;
extern _KLkeyword_methodGVKe KLassume_resultsGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0;
D KLassume_resultsGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0I (D, D);
static _KLsimple_object_vectorGVKd_1 K164;
static _KLsimple_object_vectorGVKd_6 K165;
static _KLsimple_object_vectorGVKd_1 K166;
static _KLsimple_object_vectorGVKd_1 K167;
static _KLinit_arg_descriptorGVKe Kformat_stringHLassume_resultsGYasynchronous_resultsVenvironment_manager;
static _KLbyte_stringGVKd_17 K169;
extern _KLinstance_slot_descriptorGVKe Kresults_to_assumeYasynchronous_results_implementationVenvironment_managerHLassume_resultsG;
extern _KLsealed_generic_functionGVKe Kresults_to_assumeYasynchronous_results_implementationVenvironment_manager;
extern _KLgetter_methodGVKi Kresults_to_assumeYasynchronous_results_implementationVenvironment_managerMM0;
static _KLpairGVKd K173;
static _KLbyte_stringGVKd_17 K174;
static _KLkeyword_closure_methodGVKe_0 Kdefaulted_initializeF177;
static D Kdefaulted_initializeF177I (D object_, D init_args_, D Uunique_condition_format_string_, D Uunique_condition_format_arguments_, D Uunique_results_to_assume_);
static _KLbyte_stringGVKd_23 K178;
static _KLkeyword_signatureGVKe K179;
static _KLsimple_object_vectorGVKd_6 K180;
static _KLsimple_object_vectorGVKd_3 K181;
static _KLkeyword_signatureAvaluesGVKi K182;
static _KLbyte_stringGVKd_16 K183;
static _KLimplementation_classGVKe K184;
static _KLsimple_object_vectorGVKd_2 K185;
extern _KLkeyword_methodGVKe KLkeep_waitingGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0;
D KLkeep_waitingGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0I (D, D);
static _KLsimple_object_vectorGVKd_6 K188;
static _KLsimple_object_vectorGVKd_1 K189;
static _KLinit_arg_descriptorGVKe Kformat_stringHLkeep_waitingGYasynchronous_resultsVenvironment_manager;
static _KLbyte_stringGVKd_24 K191;
static _KLkeyword_closure_methodGVKe_0 Kdefaulted_initializeF194;
static D Kdefaulted_initializeF194I (D object_, D init_args_, D Uunique_condition_format_string_, D Uunique_condition_format_arguments_);
static _KLkeyword_signatureGVKe K195;
static _KLsimple_object_vectorGVKd_4 K196;
static _KLsimple_object_vectorGVKd_1 K197;
static _KLsimple_object_vectorGVKd_2 K198;
static _KLkeyword_signatureAvaluesGVKi K199;
static _KLbyte_stringGVKd_14 K200;
static _KLimplementation_classGVKe K201;
extern _KLkeyword_methodGVKe KLtimeout_awaiting_resultsGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0;
D KLtimeout_awaiting_resultsGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0I (D, D);
static _KLsimple_object_vectorGVKd_2 K204;
static _KLsimple_object_vectorGVKd_6 K205;
static _KLsimple_object_vectorGVKd_1 K206;
static _KLinit_arg_descriptorGVKe Kformat_stringHLtimeout_awaiting_resultsGYasynchronous_resultsVenvironment_manager;
static _KLbyte_stringGVKd_44 K208;
static _KLkeyword_closure_methodGVKe_0 Kdefaulted_initializeF211;
static D Kdefaulted_initializeF211I (D object_, D init_args_, D Uunique_condition_format_string_, D Uunique_condition_format_arguments_);
static _KLkeyword_signatureGVKe K212;
static _KLsimple_object_vectorGVKd_1 K213;
static _KLkeyword_signatureAvaluesGVKi K214;
static _KLbyte_stringGVKd_26 K215;
static _KLimplementation_classGVKe K216;
extern _KLkeyword_methodGVKe KLinvalid_results_idGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0;
D KLinvalid_results_idGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0I (D, D);
static _KLsimple_object_vectorGVKd_2 K219;
static _KLsimple_object_vectorGVKd_7 K220;
static _KLsimple_object_vectorGVKd_1 K221;
static _KLinit_arg_descriptorGVKe Kformat_stringHLinvalid_results_idGYasynchronous_resultsVenvironment_manager;
static _KLbyte_stringGVKd_46 K223;
static _KLkeyword_closure_methodGVKe_0 Kdefaulted_initializeF226;
static D Kdefaulted_initializeF226I (D object_, D init_args_, D Uunique_condition_format_string_, D Uunique_condition_format_arguments_);
static _KLkeyword_signatureGVKe K227;
static _KLsimple_object_vectorGVKd_1 K228;
static _KLkeyword_signatureAvaluesGVKi K229;
static _KLbyte_stringGVKd_20 K230;
static _KLsimple_closure_methodGVKi_0 Kanonymous_of_makeF233;
static D Kanonymous_of_makeF233I (D);
static _KLbyte_stringGVKd_15 K234;
static _KLkeyword_signatureAvaluesGVKi K235;
static _KLsimple_object_vectorGVKd_2 K236;
static _KLsimple_object_vectorGVKd_1 K237;
static _KLsimple_object_vectorGVKd_1 K238;
static _KLsimple_object_vectorGVKd_1 K239;
static _KLsubclassGVKe K240;
static _KLimplementation_classGVKe K241;
static _KLsimple_object_vectorGVKd_1 K242;
static _KLsimple_object_vectorGVKd_6 K243;
static _KLsimple_object_vectorGVKd_2 K244;
static _KLsimple_object_vectorGVKd_1 K245;
static _KLinit_arg_descriptorGVKe KidHLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_manager;
static _KLbyte_stringGVKd_26 K247;
static _KLpairGVKd K248;
static _KLpairGVKd K249;

/* Indirection variables */

static D IKJid_ = &KJid_;
static D IKJaborted_ = &KJaborted_;
static D IKJassume_ = &KJassume_;

/* Variables */

D Dids_in_useYasynchronous_results_implementationVenvironment_manager = &KPunboundVKi;
D Did_pool_lockYasynchronous_results_implementationVenvironment_manager = &KPunboundVKi;
D Lsimple_condition_with_idGYasynchronous_results_implementationVenvironment_manager = &KLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_manager;
D Linvalid_results_idGYasynchronous_resultsVenvironment_manager = &KLinvalid_results_idGYasynchronous_resultsVenvironment_manager;
D Ltimeout_awaiting_resultsGYasynchronous_resultsVenvironment_manager = &KLtimeout_awaiting_resultsGYasynchronous_resultsVenvironment_manager;
D Lkeep_waitingGYasynchronous_resultsVenvironment_manager = &KLkeep_waitingGYasynchronous_resultsVenvironment_manager;
D Lassume_resultsGYasynchronous_resultsVenvironment_manager = &KLassume_resultsGYasynchronous_resultsVenvironment_manager;
D Lresults_tokenGYasynchronous_results_implementationVenvironment_manager = &KLresults_tokenGYasynchronous_results_implementationVenvironment_manager;
D Dtoken_tableYasynchronous_results_implementationVenvironment_manager = &KPunboundVKi;
D get_results_idYasynchronous_resultsVenvironment_manager = &Kget_results_idYasynchronous_resultsVenvironment_manager;
D wait_for_resultsYasynchronous_resultsVenvironment_manager = &Kwait_for_resultsYasynchronous_resultsVenvironment_manager;
D provide_resultsYasynchronous_resultsVenvironment_manager = &Kprovide_resultsYasynchronous_resultsVenvironment_manager;
D abort_resultsYasynchronous_resultsVenvironment_manager = &Kabort_resultsYasynchronous_resultsVenvironment_manager;
D Tnext_idTYasynchronous_results_implementationVenvironment_manager = (D) 1;

/* Objects */

_KLclassGVKd KLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_manager = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_rcpl_single_smallVKiI,
  &K247,
  &K241,
  (D) 1,
  &Kasynchronous_results_implementation_moduleYdylan_userVenvironment_manager
};

_KLmm_wrapperGVKi_0 KLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_managerW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K241,
  (D) 1,
  9,
  33554439,
  (D) 1
};

_KLkeyword_methodGVKe KmakeVKdMenvironment_managerM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_3,
  &K235,
  &key_mep_3,
  &KmakeVKdMenvironment_managerM0I,
  &K236
};

_KLclassGVKd KLinvalid_results_idGYasynchronous_resultsVenvironment_manager = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K230,
  &K216,
  (D) 1,
  &Kasynchronous_results_moduleYdylan_userVenvironment_manager
};

_KLmm_wrapperGVKi_0 KLinvalid_results_idGYasynchronous_resultsVenvironment_managerW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K216,
  (D) 2049,
  9,
  33554439,
  (D) 1
};

_KLclassGVKd KLtimeout_awaiting_resultsGYasynchronous_resultsVenvironment_manager = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K215,
  &K201,
  (D) 1,
  &Kasynchronous_results_moduleYdylan_userVenvironment_manager
};

_KLmm_wrapperGVKi_0 KLtimeout_awaiting_resultsGYasynchronous_resultsVenvironment_managerW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K201,
  (D) 1,
  9,
  33554439,
  (D) 1
};

_KLclassGVKd KLkeep_waitingGYasynchronous_resultsVenvironment_manager = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K200,
  &K184,
  (D) 1,
  &Kasynchronous_results_moduleYdylan_userVenvironment_manager
};

_KLmm_wrapperGVKi_0 KLkeep_waitingGYasynchronous_resultsVenvironment_managerW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K184,
  (D) 1,
  9,
  33554439,
  (D) 1
};

_KLclassGVKd KLassume_resultsGYasynchronous_resultsVenvironment_manager = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K183,
  &K160,
  (D) 1,
  &Kasynchronous_results_moduleYdylan_userVenvironment_manager
};

_KLmm_wrapperGVKi_0 KLassume_resultsGYasynchronous_resultsVenvironment_managerW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K160,
  (D) 1,
  13,
  33554439,
  (D) 1
};

_KLkeyword_methodGVKe KmakeVKdMenvironment_managerM1 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_3,
  &K152,
  &key_mep_3,
  &KmakeVKdMenvironment_managerM1I,
  &K153
};

_KLclassGVKd KLresults_tokenGYasynchronous_results_implementationVenvironment_manager = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K147,
  &K103,
  (D) 1,
  &Kasynchronous_results_implementation_moduleYdylan_userVenvironment_manager
};

_KLmm_wrapperGVKi_0 KLresults_tokenGYasynchronous_results_implementationVenvironment_managerW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K103,
  (D) 1,
  13,
  33554439,
  (D) 1
};

_KLkeyword_methodGVKe KinitializeVKdMenvironment_managerM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_2,
  &K101,
  &key_mep_2,
  &KinitializeVKdMenvironment_managerM0I,
  &KPempty_vectorVKi
};

_KLsealed_generic_functionGVKe Ktoken_notificationYasynchronous_results_implementationVenvironment_manager = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K46,
  &K45,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsealed_generic_functionGVKe Ktoken_results_setterYasynchronous_results_implementationVenvironment_manager = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &KDsignature_LobjectG_object_rest_value_2VKi,
  &KPfalseVKi,
  &K36,
  &K35,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsetter_methodGVKi Ktoken_results_setterYasynchronous_results_implementationVenvironment_managerMM0 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &Ktoken_resultsYasynchronous_results_implementationVenvironment_managerHLresults_tokenG
};

static _KLpairGVKd K35 = {
  &KLpairGVKdW /* wrapper */,
  &Ktoken_results_setterYasynchronous_results_implementationVenvironment_managerMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_20 K36 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 81,
  "token-results-setter"
};

_KLinstance_slot_descriptorGVKe Ktoken_resultsYasynchronous_results_implementationVenvironment_managerHLresults_tokenG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 157,
  &KPfalseVKi,
  &KLresults_tokenGYasynchronous_results_implementationVenvironment_manager,
  &KPfalseVKi,
  &Ktoken_resultsYasynchronous_results_implementationVenvironment_manager,
  &Ktoken_results_setterYasynchronous_results_implementationVenvironment_manager,
  &K39
};

_KLsealed_generic_functionGVKe Ktoken_resultsYasynchronous_results_implementationVenvironment_manager = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K43,
  &K42,
  &RSINGULAR_Labsent_engine_nodeG
};

static _KLunionGVKe K39 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K40,
  &KLsequenceGVKd
};

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

_KLgetter_methodGVKi Ktoken_resultsYasynchronous_results_implementationVenvironment_managerMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Ktoken_resultsYasynchronous_results_implementationVenvironment_managerHLresults_tokenG
};

static _KLpairGVKd K42 = {
  &KLpairGVKdW /* wrapper */,
  &Ktoken_resultsYasynchronous_results_implementationVenvironment_managerMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_13 K43 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 53,
  "token-results"
};

_KLgetter_methodGVKi Ktoken_notificationYasynchronous_results_implementationVenvironment_managerMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Ktoken_notificationYasynchronous_results_implementationVenvironment_managerHLresults_tokenG
};

static _KLpairGVKd K45 = {
  &KLpairGVKdW /* wrapper */,
  &Ktoken_notificationYasynchronous_results_implementationVenvironment_managerMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_18 K46 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 73,
  "token-notification"
};

_KLinstance_slot_descriptorGVKe Ktoken_notificationYasynchronous_results_implementationVenvironment_managerHLresults_tokenG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 149,
  &K50,
  &KLresults_tokenGYasynchronous_results_implementationVenvironment_manager,
  &KPfalseVKi,
  &Ktoken_notificationYasynchronous_results_implementationVenvironment_manager,
  &KPfalseVKi,
  &KLnotificationGYthreadsVdylan
};

static _KLsimple_closure_methodGVKi_0 K50 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_0,
  &K51,
  &K50I,
  (D) 1
};

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

static _KLunionGVKe K52 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K40,
  &K56
};

static _KLsymbolGVKd KJid_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K55
};

static _KLpairGVKd K54 = {
  &KLpairGVKdW /* wrapper */,
  &KmakeVKdMM48,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_2 K55 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 9,
  "id"
};

static _KLunionGVKe K56 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &KLresults_tokenGYasynchronous_results_implementationVenvironment_manager,
  &K57
};

static _KLsingletonGVKd K57 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KJaborted_
};

static _KLsymbolGVKd KJaborted_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K59
};

static _KLbyte_stringGVKd_7 K59 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 29,
  "aborted"
};

_KLsimple_methodGVKe Kabort_resultsYasynchronous_resultsVenvironment_manager = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K76,
  &Kabort_resultsYasynchronous_resultsVenvironment_managerI
};

static _KLsimple_closure_methodGVKi_0 Kanonymous_of_release_idF74 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_0,
  &K71,
  &Kanonymous_of_release_idF74I,
  (D) 1
};

static _KLsimple_closure_methodGVKi_0 Kanonymous_of_release_idF72 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_0,
  &K71,
  &Kanonymous_of_release_idF72I,
  (D) 1
};

static _KLsimple_closure_methodGVKi_0 Kanonymous_of_release_idF69 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_0,
  &K71,
  &Kanonymous_of_release_idF69I,
  (D) 1
};

static _KLbyte_stringGVKd_31 K70 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 125,
  "Releasing lock %= in thread %=\n"
};

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

static _KLbyte_stringGVKd_33 K73 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 133,
  "Waiting for lock %= in thread %=\n"
};

static _KLbyte_stringGVKd_45 K75 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 181,
  "Waiting for lock %= in thread %= returned %=\n"
};

static _KLsignatureGVKe K76 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 41943045,
  &KDsignature_LstringG_typesVKi
};

_KLsimple_methodGVKe Kprovide_resultsYasynchronous_resultsVenvironment_manager = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K78,
  &Kprovide_resultsYasynchronous_resultsVenvironment_managerI
};

static _KLsignatureGVKe K78 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 41943049,
  &K79
};

static _KLsimple_object_vectorGVKd_2 K79 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLstringGVKd,
  &KLsequenceGVKd
};

_KLkeyword_methodGVKe Kwait_for_resultsYasynchronous_resultsVenvironment_manager = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_3,
  &K93,
  &key_mep_3,
  &Kwait_for_resultsYasynchronous_resultsVenvironment_managerI,
  &K94
};

static _KLsimple_closure_methodGVKi_0 KUhandler_functionUF90 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_2,
  &K91,
  &KUhandler_functionUF90I,
  (D) 1
};

static _KLsimple_closure_methodGVKi_0 KUhandler_functionUF87 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_2,
  &K88,
  &KUhandler_functionUF87I,
  (D) 1
};

static _KLunionGVKe K86 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K40,
  &KLintegerGVKd
};

static _KLsignatureGVKe K88 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 44040201,
  &K89
};

static _KLsimple_object_vectorGVKd_2 K89 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLkeep_waitingGYasynchronous_resultsVenvironment_manager,
  &KLobjectGVKd
};

static _KLsignatureGVKe K91 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 44040201,
  &K92
};

static _KLsimple_object_vectorGVKd_2 K92 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLassume_resultsGYasynchronous_resultsVenvironment_manager,
  &KLobjectGVKd
};

static _KLkeyword_signatureAvaluesGVKi K93 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 33817605,
  &KDsignature_LstringG_typesVKi,
  &K95,
  &K96,
  &K97
};

static _KLsimple_object_vectorGVKd_2 K94 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KJtimeout_,
  &KPfalseVKi
};

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

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

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

_KLsimple_methodGVKe Kget_results_idYasynchronous_resultsVenvironment_manager = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_0,
  &K100,
  &Kget_results_idYasynchronous_resultsVenvironment_managerI
};

static _KLsignatureAvaluesGVKi K100 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555457,
  &KPempty_vectorVKi,
  &KDsignature_LstringG_typesVKi
};

static _KLkeyword_signatureGVKe K101 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (D) 49020933,
  &K102,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

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

static _KLimplementation_classGVKe K103 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 527433741,
  &KLresults_tokenGYasynchronous_results_implementationVenvironment_manager,
  &KLresults_tokenGYasynchronous_results_implementationVenvironment_managerW,
  &KPfalseVKi,
  &K104,
  (D) -3,
  &KLresults_tokenGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0,
  &K107,
  &K108,
  (D) 5,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &K104,
  &K104,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_3 K104 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &Ktoken_idYasynchronous_results_implementationVenvironment_managerHLresults_tokenG,
  &Ktoken_resultsYasynchronous_results_implementationVenvironment_managerHLresults_tokenG,
  &Ktoken_notificationYasynchronous_results_implementationVenvironment_managerHLresults_tokenG
};

_KLkeyword_methodGVKe KLresults_tokenGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_2,
  &K138,
  &key_mep_2,
  &KLresults_tokenGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0I,
  &KPempty_vectorVKi
};

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

static _KLsimple_object_vectorGVKd_6 K108 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 25,
  &KLobjectGVKd,
  &KLresults_tokenGYasynchronous_results_implementationVenvironment_manager,
  &KPfalseVKi,
  &KPfalseVKi,
  &KPfalseVKi,
  &KPfalseVKi
};

static _KLpairGVKd K111 = {
  &KLpairGVKdW /* wrapper */,
  &KinitializeVKdMM1,
  &KPempty_listVKi
};

static _KLsimple_closure_methodGVKi_0 Kanonymous_of_obtain_idF137 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_0,
  &K71,
  &Kanonymous_of_obtain_idF137I,
  (D) 1
};

static _KLsimple_closure_methodGVKi_0 Kanonymous_of_obtain_idF136 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_0,
  &K71,
  &Kanonymous_of_obtain_idF136I,
  (D) 1
};

static _KLsimple_closure_methodGVKi_0 Kanonymous_of_obtain_idF135 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_0,
  &K71,
  &Kanonymous_of_obtain_idF135I,
  (D) 1
};

static _KLsimple_closure_methodGVKi_0 Kanonymous_of_obtain_idF132 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_0,
  &K71,
  &Kanonymous_of_obtain_idF132I,
  (D) 1
};

static _KLsimple_closure_methodGVKi_0 Kanonymous_of_obtain_idF131 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_0,
  &K71,
  &Kanonymous_of_obtain_idF131I,
  (D) 1
};

static _KLsimple_closure_methodGVKi_0 Kanonymous_of_obtain_idF130 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_0,
  &K71,
  &Kanonymous_of_obtain_idF130I,
  (D) 1
};

static _KLunionGVKe K129 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K40,
  &KLstringGVKd
};

static _KLkeyword_signatureAvaluesGVKi K138 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 35390469,
  &KDsignature_LclassG_typesVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K102
};

_KLinstance_slot_descriptorGVKe Ktoken_idYasynchronous_results_implementationVenvironment_managerHLresults_tokenG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 149,
  &K146,
  &KLresults_tokenGYasynchronous_results_implementationVenvironment_manager,
  &KPfalseVKi,
  &Ktoken_idYasynchronous_results_implementationVenvironment_manager,
  &KPfalseVKi,
  &KLstringGVKd
};

static _KLsimple_closure_methodGVKi_0 K146 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_0,
  &K51,
  &K146I,
  (D) 1
};

_KLsealed_generic_functionGVKe Ktoken_idYasynchronous_results_implementationVenvironment_manager = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K145,
  &K144,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLgetter_methodGVKi Ktoken_idYasynchronous_results_implementationVenvironment_managerMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Ktoken_idYasynchronous_results_implementationVenvironment_managerHLresults_tokenG
};

static _KLpairGVKd K144 = {
  &KLpairGVKdW /* wrapper */,
  &Ktoken_idYasynchronous_results_implementationVenvironment_managerMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_8 K145 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 33,
  "token-id"
};

static _KLbyte_stringGVKd_15 K147 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 61,
  "<results-token>"
};

static _KLsimple_closure_methodGVKi_0 Kanonymous_of_makeF150 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &rest_xep_0,
  &K151,
  &Kanonymous_of_makeF150I,
  (D) 1
};

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

static _KLkeyword_signatureAvaluesGVKi K152 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 39584773,
  &K156,
  &K157,
  &KDsignature_LobjectG_typesVKi,
  &K158
};

static _KLsimple_object_vectorGVKd_2 K153 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KJassume_,
  &KPfalseVKi
};

static _KLsymbolGVKd KJassume_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K155
};

static _KLbyte_stringGVKd_6 K155 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 25,
  "assume"
};

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

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

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

static _KLsingletonGVKd K159 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KLassume_resultsGYasynchronous_resultsVenvironment_manager
};

static _KLimplementation_classGVKe K160 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 527433741,
  &KLassume_resultsGYasynchronous_resultsVenvironment_manager,
  &KLassume_resultsGYasynchronous_resultsVenvironment_managerW,
  &KPfalseVKi,
  &K161,
  (D) -3,
  &KLassume_resultsGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0,
  &K164,
  &K165,
  (D) 21,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &K166,
  &K161,
  &KPempty_vectorVKi,
  &K167,
  &KPempty_vectorVKi,
  (D) -7,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_3 K161 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &Kcondition_format_stringVKdHLsimple_conditionG,
  &Kcondition_format_argumentsVKdHLsimple_conditionG,
  &Kresults_to_assumeYasynchronous_results_implementationVenvironment_managerHLassume_resultsG
};

_KLkeyword_methodGVKe KLassume_resultsGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_2,
  &K182,
  &key_mep_2,
  &KLassume_resultsGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0I,
  &KPempty_vectorVKi
};

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

static _KLsimple_object_vectorGVKd_6 K165 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 25,
  &KLobjectGVKd,
  &KLconditionGVKd,
  &KLsimple_conditionGVKe,
  &KLrestartGVKd,
  &KLsimple_restartGVKd,
  &KLassume_resultsGYasynchronous_resultsVenvironment_manager
};

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

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

static _KLinit_arg_descriptorGVKe Kformat_stringHLassume_resultsGYasynchronous_resultsVenvironment_manager = {
  &KLinit_arg_descriptorGVKeW /* wrapper */,
  (D) 29,
  &K169,
  &KLassume_resultsGYasynchronous_resultsVenvironment_manager,
  &KJformat_string_,
  &KLobjectGVKd
};

static _KLbyte_stringGVKd_17 K169 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 69,
  "Assume results %="
};

_KLinstance_slot_descriptorGVKe Kresults_to_assumeYasynchronous_results_implementationVenvironment_managerHLassume_resultsG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 193,
  &KPfalseVKi,
  &KLassume_resultsGYasynchronous_resultsVenvironment_manager,
  &KJassume_,
  &Kresults_to_assumeYasynchronous_results_implementationVenvironment_manager,
  &KPfalseVKi,
  &K39
};

_KLsealed_generic_functionGVKe Kresults_to_assumeYasynchronous_results_implementationVenvironment_manager = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K174,
  &K173,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLgetter_methodGVKi Kresults_to_assumeYasynchronous_results_implementationVenvironment_managerMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kresults_to_assumeYasynchronous_results_implementationVenvironment_managerHLassume_resultsG
};

static _KLpairGVKd K173 = {
  &KLpairGVKdW /* wrapper */,
  &Kresults_to_assumeYasynchronous_results_implementationVenvironment_managerMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_17 K174 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 69,
  "results-to-assume"
};

static _KLkeyword_closure_methodGVKe_0 Kdefaulted_initializeF177 = {
  &KLkeyword_closure_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K179,
  &key_mep_5,
  &Kdefaulted_initializeF177I,
  &K180,
  (D) 1
};

static _KLbyte_stringGVKd_23 K178 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 93,
  "Missing init keyword %="
};

static _KLkeyword_signatureGVKe K179 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (D) 45875205,
  &K158,
  &K181,
  &KDsignature_LobjectG_typesVKi
};

static _KLsimple_object_vectorGVKd_6 K180 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 25,
  &KJformat_string_,
  &KPempty_stringVKi,
  &KJformat_arguments_,
  &KPempty_vectorVKi,
  &KJassume_,
  &KPunboundVKi
};

static _KLsimple_object_vectorGVKd_3 K181 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &KJformat_string_,
  &KJformat_arguments_,
  &KJassume_
};

static _KLkeyword_signatureAvaluesGVKi K182 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 35390469,
  &KDsignature_LclassG_typesVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K158
};

static _KLbyte_stringGVKd_16 K183 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 65,
  "<assume-results>"
};

static _KLimplementation_classGVKe K184 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 477102089,
  &KLkeep_waitingGYasynchronous_resultsVenvironment_manager,
  &KLkeep_waitingGYasynchronous_resultsVenvironment_managerW,
  &KPfalseVKi,
  &K185,
  (D) -3,
  &KLkeep_waitingGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0,
  &K164,
  &K188,
  (D) 21,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K185,
  &KPempty_vectorVKi,
  &K189,
  &KPempty_vectorVKi,
  (D) -7,
  &KPempty_vectorVKi
};

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

_KLkeyword_methodGVKe KLkeep_waitingGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_2,
  &K199,
  &key_mep_2,
  &KLkeep_waitingGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0I,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_6 K188 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 25,
  &KLobjectGVKd,
  &KLconditionGVKd,
  &KLsimple_conditionGVKe,
  &KLrestartGVKd,
  &KLsimple_restartGVKd,
  &KLkeep_waitingGYasynchronous_resultsVenvironment_manager
};

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

static _KLinit_arg_descriptorGVKe Kformat_stringHLkeep_waitingGYasynchronous_resultsVenvironment_manager = {
  &KLinit_arg_descriptorGVKeW /* wrapper */,
  (D) 29,
  &K191,
  &KLkeep_waitingGYasynchronous_resultsVenvironment_manager,
  &KJformat_string_,
  &KLobjectGVKd
};

static _KLbyte_stringGVKd_24 K191 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 97,
  "Keep waiting for results"
};

static _KLkeyword_closure_methodGVKe_0 Kdefaulted_initializeF194 = {
  &KLkeyword_closure_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K195,
  &key_mep_4,
  &Kdefaulted_initializeF194I,
  &K196,
  (D) 1
};

static _KLkeyword_signatureGVKe K195 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (D) 45875205,
  &K197,
  &K198,
  &KDsignature_LobjectG_typesVKi
};

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

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

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

static _KLkeyword_signatureAvaluesGVKi K199 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 35390469,
  &KDsignature_LclassG_typesVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K197
};

static _KLbyte_stringGVKd_14 K200 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 57,
  "<keep-waiting>"
};

static _KLimplementation_classGVKe K201 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 477102089,
  &KLtimeout_awaiting_resultsGYasynchronous_resultsVenvironment_manager,
  &KLtimeout_awaiting_resultsGYasynchronous_resultsVenvironment_managerW,
  &KPfalseVKi,
  &K185,
  (D) -3,
  &KLtimeout_awaiting_resultsGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0,
  &K204,
  &K205,
  (D) 21,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K185,
  &KPempty_vectorVKi,
  &K206,
  &KPempty_vectorVKi,
  (D) -7,
  &KPempty_vectorVKi
};

_KLkeyword_methodGVKe KLtimeout_awaiting_resultsGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_2,
  &K214,
  &key_mep_2,
  &KLtimeout_awaiting_resultsGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0I,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_2 K204 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLserious_conditionGVKd,
  &KLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_manager
};

static _KLsimple_object_vectorGVKd_6 K205 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 25,
  &KLobjectGVKd,
  &KLconditionGVKd,
  &KLsimple_conditionGVKe,
  &KLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_manager,
  &KLserious_conditionGVKd,
  &KLtimeout_awaiting_resultsGYasynchronous_resultsVenvironment_manager
};

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

static _KLinit_arg_descriptorGVKe Kformat_stringHLtimeout_awaiting_resultsGYasynchronous_resultsVenvironment_manager = {
  &KLinit_arg_descriptorGVKeW /* wrapper */,
  (D) 29,
  &K208,
  &KLtimeout_awaiting_resultsGYasynchronous_resultsVenvironment_manager,
  &KJformat_string_,
  &KLobjectGVKd
};

static _KLbyte_stringGVKd_44 K208 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 177,
  "Timed out while waiting for results on ID %s"
};

static _KLkeyword_closure_methodGVKe_0 Kdefaulted_initializeF211 = {
  &KLkeyword_closure_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K212,
  &key_mep_4,
  &Kdefaulted_initializeF211I,
  &K196,
  (D) 1
};

static _KLkeyword_signatureGVKe K212 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (D) 45875205,
  &K213,
  &K198,
  &KDsignature_LobjectG_typesVKi
};

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

static _KLkeyword_signatureAvaluesGVKi K214 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 35390469,
  &KDsignature_LclassG_typesVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K213
};

static _KLbyte_stringGVKd_26 K215 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 105,
  "<timeout-awaiting-results>"
};

static _KLimplementation_classGVKe K216 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 477102089,
  &KLinvalid_results_idGYasynchronous_resultsVenvironment_manager,
  &KLinvalid_results_idGYasynchronous_resultsVenvironment_managerW,
  &KPfalseVKi,
  &K185,
  (D) -3,
  &KLinvalid_results_idGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0,
  &K219,
  &K220,
  (D) 25,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K185,
  &KPempty_vectorVKi,
  &K221,
  &KPempty_vectorVKi,
  (D) -7,
  &KPempty_vectorVKi
};

_KLkeyword_methodGVKe KLinvalid_results_idGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_2,
  &K229,
  &key_mep_2,
  &KLinvalid_results_idGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0I,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_2 K219 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLerrorGVKd,
  &KLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_manager
};

static _KLsimple_object_vectorGVKd_7 K220 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 29,
  &KLobjectGVKd,
  &KLconditionGVKd,
  &KLsimple_conditionGVKe,
  &KLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_manager,
  &KLserious_conditionGVKd,
  &KLerrorGVKd,
  &KLinvalid_results_idGYasynchronous_resultsVenvironment_manager
};

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

static _KLinit_arg_descriptorGVKe Kformat_stringHLinvalid_results_idGYasynchronous_resultsVenvironment_manager = {
  &KLinit_arg_descriptorGVKeW /* wrapper */,
  (D) 29,
  &K223,
  &KLinvalid_results_idGYasynchronous_resultsVenvironment_manager,
  &KJformat_string_,
  &KLobjectGVKd
};

static _KLbyte_stringGVKd_46 K223 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 185,
  "Attempted to wait for results on invalid ID %s"
};

static _KLkeyword_closure_methodGVKe_0 Kdefaulted_initializeF226 = {
  &KLkeyword_closure_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K227,
  &key_mep_4,
  &Kdefaulted_initializeF226I,
  &K196,
  (D) 1
};

static _KLkeyword_signatureGVKe K227 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (D) 45875205,
  &K228,
  &K198,
  &KDsignature_LobjectG_typesVKi
};

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

static _KLkeyword_signatureAvaluesGVKi K229 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 35390469,
  &KDsignature_LclassG_typesVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K228
};

static _KLbyte_stringGVKd_20 K230 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 81,
  "<invalid-results-id>"
};

static _KLsimple_closure_methodGVKi_0 Kanonymous_of_makeF233 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &rest_xep_0,
  &K151,
  &Kanonymous_of_makeF233I,
  (D) 1
};

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

static _KLkeyword_signatureAvaluesGVKi K235 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 39584773,
  &K237,
  &K238,
  &KDsignature_LobjectG_typesVKi,
  &K239
};

static _KLsimple_object_vectorGVKd_2 K236 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KJid_,
  &KPfalseVKi
};

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

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

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

static _KLsubclassGVKe K240 = {
  &KLsubclassGVKeW /* wrapper */,
  &Ksubclass_instanceQVKiI,
  &KLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_manager
};

static _KLimplementation_classGVKe K241 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 410255369,
  &KLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_manager,
  &KLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_managerW,
  &KPfalseVKi,
  &K185,
  (D) -3,
  &Kdefault_class_constructorVKi,
  &K242,
  &K243,
  (D) 13,
  &KPempty_vectorVKi,
  &K244,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &K248,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K185,
  &KPempty_vectorVKi,
  &K245,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

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

static _KLsimple_object_vectorGVKd_6 K243 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 25,
  &KLobjectGVKd,
  &KLconditionGVKd,
  &KLsimple_conditionGVKe,
  &KLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_manager,
  &KPfalseVKi,
  &KPfalseVKi
};

static _KLsimple_object_vectorGVKd_2 K244 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLserious_conditionGVKd,
  &KLerrorGVKd
};

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

static _KLinit_arg_descriptorGVKe KidHLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_manager = {
  &KLinit_arg_descriptorGVKeW /* wrapper */,
  (D) 65,
  &KPfalseVKi,
  &KLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_manager,
  &KJid_,
  &KLobjectGVKd
};

static _KLbyte_stringGVKd_26 K247 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 105,
  "<simple-condition-with-id>"
};

static _KLpairGVKd K248 = {
  &KLpairGVKdW /* wrapper */,
  &KLtimeout_awaiting_resultsGYasynchronous_resultsVenvironment_manager,
  &K249
};

static _KLpairGVKd K249 = {
  &KLpairGVKdW /* wrapper */,
  &KLinvalid_results_idGYasynchronous_resultsVenvironment_manager,
  &KPempty_listVKi
};

/* Code */

D KmakeVKdMenvironment_managerM0I (D class_, D initargs_, D id_) {
  D T4_0;
  D T5;
  D T6;
  D T7;
  _KLsimple_object_vectorGVKd_1 T8 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T9;
  D T10_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:120
  T7 = primitive_copy_vector(initargs_);
  T5 = primitive_next_methods_parameter();
  T6 = MAKE_CLOSURE_INITD(&Kanonymous_of_makeF233, 3, T7, T5, class_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:124
  T8.vector_element_[0] = id_;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:124
  T9 = primitive_copy_vector(&T8);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:124
  T10_0 = APPLY4(T6, class_, &KJformat_arguments_, T9, T7);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:120
  T4_0 = T10_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T10_0);
    primitive_type_check(T4_0, &KLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_manager);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:120
  MV_SET_COUNT(1);
  return(T4_0);
}

D KmakeVKdMenvironment_managerM1I (D class_, D initargs_, D assume_) {
  D T4_0;
  D T5;
  _KLsimple_object_vectorGVKd_1 T6 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T7;
  D T8_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:154
  T5 = MAKE_CLOSURE_INITD(&Kanonymous_of_makeF150, 2, initargs_, class_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:158
  T6.vector_element_[0] = assume_;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:158
  T7 = primitive_copy_vector(&T6);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:158
  T8_0 = APPLY4(T5, class_, &KJformat_arguments_, T7, initargs_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:154
  T4_0 = T8_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T8_0);
    primitive_type_check(T4_0, &KLassume_resultsGYasynchronous_resultsVenvironment_manager);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:154
  MV_SET_COUNT(1);
  return(T4_0);
}

D KinitializeVKdMenvironment_managerM0I (D token_, D Urest_) {
  D T3;
  D T4;
  D T5;
  D T6;
  _KLsimple_object_vectorGVKd_4 T7 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T8;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:179
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:182
  T4 = SLOT_VALUE_INITD(token_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:182
  T5 = SLOT_VALUE_INITD(Dtoken_tableYasynchronous_results_implementationVenvironment_manager, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:182
  T6 = primitive_instanceQ(token_,T5);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:182
  if (T6 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:182
    T7.vector_element_[0] = &KJvalue_;
    T7.vector_element_[1] = token_;
    T7.vector_element_[2] = &KJtype_;
    T7.vector_element_[3] = T5;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:182
    CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
    T8 = CONGRUENT_CALL2(&KLtype_errorGVKd, &T7);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:182
    CONGRUENT_CALL_PROLOG(&KerrorVKd, 2);
    CONGRUENT_CALL2(T8, &KPempty_vectorVKi);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:182
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:182
  KputhashVKiI(token_, Dtoken_tableYasynchronous_results_implementationVenvironment_manager, T4);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:182
  T3 = token_;
  MV_SET_ELT(0, token_);
  MV_SET_COUNT(1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:179
  return(T3);
}

D Kprovide_resultsYasynchronous_resultsVenvironment_managerI (D id_, D results_) {
  D token_;
  D notification_;
  D DlockD_;
  D T6;
  D T7;
  D T8;
  D T9;
  D T10;
  D T11;
  D T12;
  _KLsimple_object_vectorGVKd_2 T13 = {&KLsimple_object_vectorGVKdW, (D) 9};
  D T14;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:244
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:247
  token_ = Kid_results_tokenYasynchronous_results_implementationVenvironment_managerI(id_, &KPempty_vectorVKi, &KPfalseVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:248
  if (token_ != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:249
    notification_ = CALL1(&Ktoken_notificationYasynchronous_results_implementationVenvironment_manager, token_);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:250
    DlockD_ = CALL1(&Kassociated_lockYthreadsVdylan, notification_);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:250
    T6 = CALL1(&Kwait_forYthreadsVdylan, DlockD_);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:250
    if (T6 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:250
      ENTER_UNWIND_FRAME(T7);
      if (!nlx_setjmp(FRAME_DEST(T7))) {
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:251
        CALL2(&Ktoken_results_setterYasynchronous_results_implementationVenvironment_manager, results_, token_);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:252
        T8 = CALL1(&Krelease_allYthreadsVdylan, notification_);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:250
        FALL_THROUGH_UNWIND(T8);
      }
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:250
      CALL1(&KreleaseYthreadsVdylan, DlockD_);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:250
      CONTINUE_UNWIND();
      T10 = T8;
    } else {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:250
      T13.vector_element_[0] = &KJsynchronization_;
      T13.vector_element_[1] = DlockD_;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:250
      CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
      T9 = CONGRUENT_CALL2(&KLtimeout_expiredGYthreadsVdylan, &T13);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:250
      T14 = KsignalVKdMM0I(T9, &KPempty_vectorVKi);
      T10 = T14;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:250
    T12 = T10;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:248
    T11 = &KPfalseVKi;
    T12 = T11;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:248
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:244
  MV_SET_COUNT(0);
  return(T12);
}

D Kid_results_tokenYasynchronous_results_implementationVenvironment_managerI (D id_, D Urest_, D errorQ_) {
  D errorQF4;
  D T5_0;
  D T6_0;
  D T7_0;
  D T8_0;
  D T9_0;
  D token_;
  _KLsimple_object_vectorGVKd_2 T11 = {&KLsimple_object_vectorGVKdW, (D) 9};
  D T12;
  D T13_0;
  D T14_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:193
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:193
  primitive_type_check(errorQ_, &KLbooleanGVKd);
  errorQF4 = errorQ_;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:196
  T9_0 = KgethashVKiI(Dtoken_tableYasynchronous_results_implementationVenvironment_manager, id_, &KPfalseVKi, &KPtrueVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:196
  token_ = T9_0;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:197
  if (token_ != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:198
    T5_0 = token_;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:198
    T14_0 = T5_0;
    {
      MV_CHECK_TYPE_PROLOGUE(T5_0);
      primitive_type_check(T14_0, &K52);
      MV_CHECK_TYPE_EPILOGUE();
    }
    T8_0 = T14_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:200
    if (errorQF4 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:201
      T11.vector_element_[0] = IKJid_;
      T11.vector_element_[1] = id_;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:201
      MIEP_CALL_PROLOG(&K54);
      T12 = KmakeVKdMenvironment_managerM0I(&KLinvalid_results_idGYasynchronous_resultsVenvironment_manager, &T11, id_);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:201
      T13_0 = KerrorVKdMM0I(T12, &KPempty_vectorVKi);
      T7_0 = T13_0;
    } else {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:200
      T6_0 = &KPfalseVKi;
      T7_0 = T6_0;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:200
    T8_0 = T7_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:197
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:193
  MV_SET_COUNT(1);
  return(T8_0);
}

static D K50I () {
  D T0;
  D T1_0;
  D T2;
  D T3_0;
  _KLsimple_object_vectorGVKd_2 T4 = {&KLsimple_object_vectorGVKdW, (D) 9};

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:168
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:168
  T3_0 = KLsimple_lock_iGZ32ZconstructorYthreads_internalVdylanMM0I(&KLsimple_lock_iGYthreads_internalVdylan, &KPempty_vectorVKi, &KPfalseVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:168
  T2 = T3_0;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:168
  T4.vector_element_[0] = &KJlock_;
  T4.vector_element_[1] = T2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:168
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T0 = CONGRUENT_CALL2(&KLnotificationGYthreadsVdylan, &T4);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:168
  T1_0 = T0;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:168
  MV_SET_COUNT(1);
  return(T1_0);
}

D Kabort_resultsYasynchronous_resultsVenvironment_managerI (D id_) {
  D T1;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:259
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:260
  Kremove_keyXVKdMM0I(Dtoken_tableYasynchronous_results_implementationVenvironment_manager, id_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:261
  T1 = Krelease_idYasynchronous_results_implementationVenvironment_managerI(id_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:259
  MV_SET_COUNT(0);
  return(T1);
}

D Krelease_idYasynchronous_results_implementationVenvironment_managerI (D id_string_) {
  D T1;
  D id_;
  D T3;
  D T4;
  D T5;
  D T6;
  D T7;
  D T8;
  D T9;
  D T10;
  D T11_0;
  D T12;
  D T13;
  D T14;
  D T15;
  D T16;
  D T17;
  D T18;
  D T19;
  D T20;
  D T21;
  D T22_0;
  D T23;
  D T24;
  D T25;
  D T26;
  D T27;
  D T28;
  D T29_0;
  D T30;
  D T31;
  D T32;
  D T33;
  D T34;
  D T35;
  D T36;
  D T37;
  D T38;
  D T39;
  D T40_0;
  D T41;
  D T42;
  D T43;
  D res_;
  D T45;
  _KLsimple_object_vectorGVKd_2 T46 = {&KLsimple_object_vectorGVKdW, (D) 9};
  D T47;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:88
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  T5 = TdebuggingQTVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  if (T5 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T6 = Tdebug_partsTVKi;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T7 = primitive_idQ(T6,&KPempty_listVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T8 = primitive_not(T7);
    T9 = T8;
  } else {
    T9 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  if (T9 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T10 = Tdebug_partsTVKi;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T11_0 = KmemberQVKdMM3I(&KJlock_, T10, &KPempty_vectorVKi, &KEEVKd);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T12 = T11_0;
    T13 = T12;
  } else {
    T13 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  if (T13 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T14 = Tdebug_out_functionTVKi;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    CALL1(T14, &Kanonymous_of_release_idF72);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  T15 = primitive_wait_for_simple_lock(Did_pool_lockYasynchronous_results_implementationVenvironment_manager);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  T16 = TdebuggingQTVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  if (T16 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T17 = Tdebug_partsTVKi;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T18 = primitive_idQ(T17,&KPempty_listVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T19 = primitive_not(T18);
    T20 = T19;
  } else {
    T20 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  if (T20 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T21 = Tdebug_partsTVKi;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T22_0 = KmemberQVKdMM3I(&KJlock_, T21, &KPempty_vectorVKi, &KEEVKd);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T23 = T22_0;
    T24 = T23;
  } else {
    T24 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  if (T24 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T25 = Tdebug_out_functionTVKi;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T26 = MAKE_CLOSURE_INITD(&Kanonymous_of_release_idF74, 1, T15);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    CALL1(T25, T26);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  T27 = primitive_idQ(T15,(D) 1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  if (T27 != &KPfalseVKi) {
    T32 = &KPtrueVKi;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T28 = primitive_idQ(T15,(D) 5);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    if (T28 != &KPfalseVKi) {
      T31 = &KPfalseVKi;
    } else {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
      T29_0 = Klock_wait_result_errorYthreads_internalVdylanMM0I(Did_pool_lockYasynchronous_results_implementationVenvironment_manager, T15);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
      T30 = T29_0;
      T31 = T30;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T32 = T31;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  if (T32 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    ENTER_UNWIND_FRAME(T1);
    if (!nlx_setjmp(FRAME_DEST(T1))) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:90
      id_ = Kstring_to_integerYcommon_extensionsVcommon_dylanI(id_string_, &KPempty_vectorVKi, (D) 41, (D) 1, &KPfalseVKi, &KPfalseVKi);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:95
      T33 = Kremove_keyXVKdMM0I(Dids_in_useYasynchronous_results_implementationVenvironment_manager, id_);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
      FALL_THROUGH_UNWIND(T33);
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T34 = TdebuggingQTVKi;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    if (T34 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
      T35 = Tdebug_partsTVKi;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
      T36 = primitive_idQ(T35,&KPempty_listVKi);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
      T37 = primitive_not(T36);
      T38 = T37;
    } else {
      T38 = &KPfalseVKi;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    if (T38 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
      T39 = Tdebug_partsTVKi;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
      T40_0 = KmemberQVKdMM3I(&KJlock_, T39, &KPempty_vectorVKi, &KEEVKd);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
      T41 = T40_0;
      T42 = T41;
    } else {
      T42 = &KPfalseVKi;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    if (T42 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
      T43 = Tdebug_out_functionTVKi;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
      CALL1(T43, &Kanonymous_of_release_idF69);
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    res_ = primitive_release_simple_lock(Did_pool_lockYasynchronous_results_implementationVenvironment_manager);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T45 = primitive_idQ(res_,(D) 1);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    if (T45 == &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
      Klock_release_result_errorYthreads_internalVdylanMM0I(Did_pool_lockYasynchronous_results_implementationVenvironment_manager, res_);
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    CONTINUE_UNWIND();
    T4 = T33;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T46.vector_element_[0] = &KJsynchronization_;
    T46.vector_element_[1] = Did_pool_lockYasynchronous_results_implementationVenvironment_manager;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
    T3 = CONGRUENT_CALL2(&KLtimeout_expiredGYthreadsVdylan, &T46);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T47 = KsignalVKdMM0I(T3, &KPempty_vectorVKi);
    T4 = T47;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:88
  MV_SET_COUNT(0);
  return(T4);
}

static D Kanonymous_of_release_idF74I () {
  D T0;
  D T1;
  D T2_0;
  D T3;
  D T4;
  _KLsimple_object_vectorGVKd_4 T5 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T6;
  D T7_0;
  CAPTURE_ENVIRONMENT

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  T0 = Kcurrent_threadYthreadsVdylanI();
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  T1 = SLOT_VALUE_INITD(T0, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  if (T1 != &KPfalseVKi) {
    T4 = T1;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T2_0 = Kcurrent_threadYthreadsVdylanI();
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T3 = T2_0;
    T4 = T3;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  T5.vector_element_[0] = &K75;
  T5.vector_element_[1] = Did_pool_lockYasynchronous_results_implementationVenvironment_manager;
  T5.vector_element_[2] = T4;
  T5.vector_element_[3] = CREF(0);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  T6 = primitive_copy_vector(&T5);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  T7_0 = T6;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  MV_SET_COUNT(1);
  return(T7_0);
}

static D Kanonymous_of_release_idF72I () {
  D T0;
  D T1;
  D T2_0;
  D T3;
  D T4;
  _KLsimple_object_vectorGVKd_3 T5 = {&KLsimple_object_vectorGVKdW, (D) 13};
  D T6;
  D T7_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  T0 = Kcurrent_threadYthreadsVdylanI();
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  T1 = SLOT_VALUE_INITD(T0, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  if (T1 != &KPfalseVKi) {
    T4 = T1;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T2_0 = Kcurrent_threadYthreadsVdylanI();
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T3 = T2_0;
    T4 = T3;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  T5.vector_element_[0] = &K73;
  T5.vector_element_[1] = Did_pool_lockYasynchronous_results_implementationVenvironment_manager;
  T5.vector_element_[2] = T4;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  T6 = primitive_copy_vector(&T5);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  T7_0 = T6;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  MV_SET_COUNT(1);
  return(T7_0);
}

static D Kanonymous_of_release_idF69I () {
  D T0;
  D T1;
  D T2_0;
  D T3;
  D T4;
  _KLsimple_object_vectorGVKd_3 T5 = {&KLsimple_object_vectorGVKdW, (D) 13};
  D T6;
  D T7_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  T0 = Kcurrent_threadYthreadsVdylanI();
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  T1 = SLOT_VALUE_INITD(T0, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  if (T1 != &KPfalseVKi) {
    T4 = T1;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T2_0 = Kcurrent_threadYthreadsVdylanI();
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
    T3 = T2_0;
    T4 = T3;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  T5.vector_element_[0] = &K70;
  T5.vector_element_[1] = Did_pool_lockYasynchronous_results_implementationVenvironment_manager;
  T5.vector_element_[2] = T4;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  T6 = primitive_copy_vector(&T5);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  T7_0 = T6;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:89
  MV_SET_COUNT(1);
  return(T7_0);
}

D Kwait_for_resultsYasynchronous_resultsVenvironment_managerI (D id_, D Urest_, D timeout_) {
  volatile D timeoutF4;
  volatile D token_;
  volatile D notification_;
  volatile D DlockD_;
  volatile D T8;
  volatile D T9;
  volatile D Uunwind_exceptionUPexit_3_;
  volatile D T11;
  volatile D Uoriginal_handlersUF12;
  volatile D T13;
  volatile D T14;
  volatile D T15;
  volatile D T16;
  volatile D T17;
  volatile D T18;
  volatile D Uunwind_exceptionUPexit_4_;
  volatile D Uoriginal_handlersUF20;
  volatile D T21;
  volatile D T22;
  volatile D T23;
  volatile D T24;
  volatile D T25;
  volatile D T26_0;
  volatile D T27;
  volatile D T28_0;
  volatile D results_;
  volatile D got_notificationQ_;
  volatile D T31;
  volatile D T32;
  volatile D T33;
  volatile _KLsimple_object_vectorGVKd_8 T34 = {&KLsimple_object_vectorGVKdW, (D) 33};
  volatile D T35_0;
  volatile D T36;
  volatile D T37;
  volatile _KLsimple_object_vectorGVKd_8 T38 = {&KLsimple_object_vectorGVKdW, (D) 33};
  volatile D T39_0;
  volatile D T40;
  volatile D T41;
  volatile _KLsimple_object_vectorGVKd_2 T42 = {&KLsimple_object_vectorGVKdW, (D) 9};
  volatile D T43;
  volatile D T44;
  volatile _KLsimple_object_vectorGVKd_2 T45 = {&KLsimple_object_vectorGVKdW, (D) 9};
  volatile D T46_0;
  volatile D T47_0;
  volatile D T48_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:208
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:208
  primitive_type_check(timeout_, &K86);
  timeoutF4 = timeout_;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:212
  token_ = Kid_results_tokenYasynchronous_results_implementationVenvironment_managerI(id_, &KPempty_vectorVKi, &KPtrueVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:213
  notification_ = CALL1(&Ktoken_notificationYasynchronous_results_implementationVenvironment_manager, token_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:214
  results_ = MAKE_D_CELL(&KPfalseVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:215
  got_notificationQ_ = &KPfalseVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:216
  DlockD_ = CALL1(&Kassociated_lockYthreadsVdylan, notification_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:216
  T8 = CALL1(&Kwait_forYthreadsVdylan, DlockD_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:216
  if (T8 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:216
    ENTER_UNWIND_FRAME(T9);
    if (!nlx_setjmp(FRAME_DEST(T9))) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
      ENTER_EXIT_FRAME(Uunwind_exceptionUPexit_3_);
      if (nlx_setjmp(FRAME_DEST(Uunwind_exceptionUPexit_3_))) {
            T26_0 = FRAME_RETVAL(Uunwind_exceptionUPexit_3_);
      } else {
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
        Uoriginal_handlersUF12 = primitive_read_thread_variable(Tcurrent_handlersTVKi);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
        T13 = MAKE_CLOSURE_INITD(&KUhandler_functionUF90, 3, results_, Uoriginal_handlersUF12, Uunwind_exceptionUPexit_3_);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
        T34.vector_element_[0] = &KJtype_;
        T34.vector_element_[1] = &KLassume_resultsGYasynchronous_resultsVenvironment_manager;
        T34.vector_element_[2] = &KJfunction_;
        T34.vector_element_[3] = T13;
        T34.vector_element_[4] = &KJtest_;
        T34.vector_element_[5] = &KPfalseVKi;
        T34.vector_element_[6] = &KJinit_arguments_;
        T34.vector_element_[7] = &KPempty_vectorVKi;
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
        T35_0 = KLhandlerGZ32ZconstructorVKiMM0I(&KLhandlerGVKi, &T34, &KLassume_resultsGYasynchronous_resultsVenvironment_manager, T13, &KPfalseVKi, &KPempty_vectorVKi);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
        T36 = T35_0;
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
        T14 = primitive_read_thread_variable(Tcurrent_handlersTVKi);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
        T37 = primitive_object_allocate_filled(3,&KLpairGVKdW,2,&KPunboundVKi,0,0,&KPunboundVKi);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
        SLOT_VALUE_SETTER(T36, T37, 0);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
        SLOT_VALUE_SETTER(T14, T37, 1);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
        primitive_write_thread_variable(Tcurrent_handlersTVKi, T37);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
        ENTER_UNWIND_FRAME(T15);
        if (!nlx_setjmp(FRAME_DEST(T15))) {
          // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
          ENTER_UNWIND_FRAME(T16);
          if (!nlx_setjmp(FRAME_DEST(T16))) {
            // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:218
            T17 = CALL1(&Ktoken_resultsYasynchronous_results_implementationVenvironment_manager, token_);
            // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:218
            if (T17 == &KPfalseVKi) {
              // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:219
            L0: ;
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:219
                T32 = got_notificationQ_;
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:219
                if (T32 == &KPfalseVKi) {
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:220
                  T18 = CALL3(&Kwait_forYthreadsVdylan, notification_, &KJtimeout_, timeoutF4);
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:220
                  got_notificationQ_ = T18;
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:221
                  T33 = got_notificationQ_;
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:221
                  if (T33 == &KPfalseVKi) {
                    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
                    ENTER_EXIT_FRAME(Uunwind_exceptionUPexit_4_);
                    if (nlx_setjmp(FRAME_DEST(Uunwind_exceptionUPexit_4_))) {
                    } else {
                      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
                      Uoriginal_handlersUF20 = primitive_read_thread_variable(Tcurrent_handlersTVKi);
                      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
                      T21 = MAKE_CLOSURE_INITD(&KUhandler_functionUF87, 2, Uoriginal_handlersUF20, Uunwind_exceptionUPexit_4_);
                      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
                      T38.vector_element_[0] = &KJtype_;
                      T38.vector_element_[1] = &KLkeep_waitingGYasynchronous_resultsVenvironment_manager;
                      T38.vector_element_[2] = &KJfunction_;
                      T38.vector_element_[3] = T21;
                      T38.vector_element_[4] = &KJtest_;
                      T38.vector_element_[5] = &KPfalseVKi;
                      T38.vector_element_[6] = &KJinit_arguments_;
                      T38.vector_element_[7] = &KPempty_vectorVKi;
                      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
                      T39_0 = KLhandlerGZ32ZconstructorVKiMM0I(&KLhandlerGVKi, &T38, &KLkeep_waitingGYasynchronous_resultsVenvironment_manager, T21, &KPfalseVKi, &KPempty_vectorVKi);
                      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
                      T40 = T39_0;
                      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
                      T22 = primitive_read_thread_variable(Tcurrent_handlersTVKi);
                      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
                      T41 = primitive_object_allocate_filled(3,&KLpairGVKdW,2,&KPunboundVKi,0,0,&KPunboundVKi);
                      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
                      SLOT_VALUE_SETTER(T40, T41, 0);
                      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
                      SLOT_VALUE_SETTER(T22, T41, 1);
                      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
                      primitive_write_thread_variable(Tcurrent_handlersTVKi, T41);
                      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
                      ENTER_UNWIND_FRAME(T23);
                      if (!nlx_setjmp(FRAME_DEST(T23))) {
                        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:223
                        T42.vector_element_[0] = IKJid_;
                        T42.vector_element_[1] = id_;
                        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:223
                        MIEP_CALL_PROLOG(&K54);
                        T43 = KmakeVKdMenvironment_managerM0I(&KLtimeout_awaiting_resultsGYasynchronous_resultsVenvironment_manager, &T42, id_);
                        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:223
                        T44 = KerrorVKdMM0I(T43, &KPempty_vectorVKi);
                        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
                        FALL_THROUGH_UNWIND(T44);
                      }
                      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
                      primitive_write_thread_variable(Tcurrent_handlersTVKi, Uoriginal_handlersUF20);
                      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
                      CONTINUE_UNWIND();
                      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
                      /* invalidate Uunwind_exceptionUPexit_4_ */
                    }
                  }
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:221
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:219
                  goto L0;
                }
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:219
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:219
            }
            // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:218
            // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:230
            T24 = CALL1(&Ktoken_resultsYasynchronous_results_implementationVenvironment_manager, token_);
            // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:230
            SET_D_CELL_VAL(results_, T24);
            // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:230
            T25 = T24;
            MV_SET_ELT(0, T24);
            MV_SET_COUNT(1);
            // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
            FALL_THROUGH_UNWIND(T25);
          }
          // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:232
          T31 = got_notificationQ_;
          // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:232
          if (T31 != &KPfalseVKi) {
            // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:233
            Kabort_resultsYasynchronous_resultsVenvironment_managerI(id_);
          }
          // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:232
          // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
          CONTINUE_UNWIND();
          // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
          FALL_THROUGH_UNWIND(T25);
        }
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
        primitive_write_thread_variable(Tcurrent_handlersTVKi, Uoriginal_handlersUF12);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
        CONTINUE_UNWIND();
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
      T26_0 = T25;
        /* invalidate Uunwind_exceptionUPexit_3_ */
      }
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:216
      FALL_THROUGH_UNWIND(T26_0);
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:216
    CALL1(&KreleaseYthreadsVdylan, DlockD_);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:216
    CONTINUE_UNWIND();
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
    T47_0 = T26_0;
    {
      MV_CHECK_TYPE_PROLOGUE(T26_0);
      primitive_type_check(T47_0, &K39);
      MV_CHECK_TYPE_EPILOGUE();
    }
    T28_0 = T47_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:216
    T45.vector_element_[0] = &KJsynchronization_;
    T45.vector_element_[1] = DlockD_;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:216
    CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
    T27 = CONGRUENT_CALL2(&KLtimeout_expiredGYthreadsVdylan, &T45);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:216
    T46_0 = KsignalVKdMM0I(T27, &KPempty_vectorVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:216
    T48_0 = T46_0;
    {
      MV_CHECK_TYPE_PROLOGUE(T46_0);
      primitive_type_check(T48_0, &K39);
      MV_CHECK_TYPE_EPILOGUE();
    }
    T28_0 = T48_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:216
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:208
  MV_SET_COUNT(1);
  return(T28_0);
}

static D KUhandler_functionUF90I (D assumption_, D Unext_handlerU_) {
  D T3;
  D all_values_;
  D T5;
  D T6;
  D T7;
  CAPTURE_ENVIRONMENT

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
  primitive_write_thread_variable(Tcurrent_handlersTVKi, CREF(1));
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:237
  T5 = SLOT_VALUE_INITD(assumption_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:237
  SET_D_CELL_VAL(CREF(0), T5);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:237
  T3 = T5;
  MV_SET_ELT(0, T5);
  MV_SET_COUNT(1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
  all_values_ = MV_GET_REST_AT(T3, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
  T6 = MV_SET_REST_AT(all_values_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
  T7 = NLX(CREF(2), T6);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:217
  return(T7);
}

static D KUhandler_functionUF87I (D UdummyU_, D Unext_handlerU_) {
  D T3_0;
  D all_values_;
  D T5;
  D T6;
  CAPTURE_ENVIRONMENT

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
  primitive_write_thread_variable(Tcurrent_handlersTVKi, CREF(0));
  T3_0 = &KPfalseVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
  all_values_ = MV_GET_REST_AT(T3_0, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
  T5 = MV_SET_REST_AT(all_values_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
  T6 = NLX(CREF(1), T5);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:222
  return(T6);
}

D Kget_results_idYasynchronous_resultsVenvironment_managerI () {
  D T0;
  D T1;
  D T2_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:187
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:188
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T0 = CONGRUENT_CALL2(&KLresults_tokenGYasynchronous_results_implementationVenvironment_manager, &KPempty_vectorVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:188
  T1 = SLOT_VALUE_INITD(T0, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:188
  T2_0 = T1;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:187
  MV_SET_COUNT(1);
  return(T2_0);
}

D KLresults_tokenGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0I (D class_, D init_args_) {
  D T3;
  D T4;
  D T5;
  D T6_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:163
  T3 = primitive_object_allocate_filled(4,&KLresults_tokenGYasynchronous_results_implementationVenvironment_managerW,3,&KPunboundVKi,0,0,&KPunboundVKi);
  T4 = K113I();
  SLOT_VALUE_SETTER(T4, T3, 0);
  SLOT_VALUE_SETTER(&KPfalseVKi, T3, 1);
  T5 = K112I();
  SLOT_VALUE_SETTER(T5, T3, 2);
  MIEP_CALL_PROLOG(&K111);
  KinitializeVKdMenvironment_managerM0I(T3, init_args_);
  T6_0 = T3;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:163
  MV_SET_COUNT(1);
  return(T6_0);
}

static D K113I () {
  D T0;
  D init_value_;
  D T2_0;

  T0 = Kobtain_idYasynchronous_results_implementationVenvironment_managerI();
  primitive_type_check(T0, &KLstringGVKd);
  init_value_ = T0;
  T2_0 = init_value_;
  MV_SET_COUNT(1);
  return(T2_0);
}

static D K112I () {
  D T0;
  D T1_0;
  D T2;
  D T3_0;
  _KLsimple_object_vectorGVKd_2 T4 = {&KLsimple_object_vectorGVKdW, (D) 9};

  T3_0 = KLsimple_lock_iGZ32ZconstructorYthreads_internalVdylanMM0I(&KLsimple_lock_iGYthreads_internalVdylan, &KPempty_vectorVKi, &KPfalseVKi);
  T2 = T3_0;
  T4.vector_element_[0] = &KJlock_;
  T4.vector_element_[1] = T2;
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T0 = CONGRUENT_CALL2(&KLnotificationGYthreadsVdylan, &T4);
  T1_0 = T0;
  MV_SET_COUNT(1);
  return(T1_0);
}

D Kobtain_idYasynchronous_results_implementationVenvironment_managerI () {
  D T0;
  D T1;
  D T2;
  D T3;
  D T4;
  D T5;
  DWORD id_T, id_;
  D T7;
  D Utmp_;
  D T9;
  D T10;
  D T11;
  D T12;
  D T13;
  D T14_0;
  D T15;
  D T16_0;
  D free_id_;
  D T18;
  D T19;
  D T20;
  D T21;
  D T22;
  D T23;
  D T24;
  D T25;
  D T26_0;
  D T27;
  D T28;
  D T29;
  D T30;
  D T31;
  D T32;
  D T33;
  D T34;
  D T35;
  D T36;
  D T37_0;
  D T38;
  D T39;
  D T40;
  D T41;
  D T42;
  D T43;
  D T44_0;
  D T45;
  D T46;
  D T47;
  DWORD T48;
  D T49;
  DWORD T50;
  DWORD T51;
  D T52;
  DWORD T53;
  D T54;
  D T55;
  D T56;
  D T57;
  D T58;
  D T59;
  D T60;
  D T61_0;
  D T62;
  D T63;
  D T64;
  D resF65;
  D T66;
  D T67;
  D T68;
  D T69;
  D T70;
  D T71;
  D T72;
  D T73_0;
  D T74;
  D T75;
  D T76;
  D T77;
  D T78;
  D T79;
  D T80;
  D T81;
  D T82;
  D T83;
  D T84_0;
  D T85;
  D T86;
  D T87;
  D T88;
  D T89;
  D T90;
  D T91;
  D T92;
  D T93;
  _KLsimple_object_vectorGVKd_4 T94 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T95;
  D T96;
  D T97;
  D T98;
  D T99;
  D T100;
  D T101;
  D T102_0;
  D T103;
  D T104;
  D T105;
  D resF106;
  D T107;
  _KLsimple_object_vectorGVKd_2 T108 = {&KLsimple_object_vectorGVKdW, (D) 9};
  D T109_0;
  D T110_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:48
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  T20 = TdebuggingQTVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  if (T20 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T21 = Tdebug_partsTVKi;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T22 = primitive_idQ(T21,&KPempty_listVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T23 = primitive_not(T22);
    T24 = T23;
  } else {
    T24 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  if (T24 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T25 = Tdebug_partsTVKi;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T26_0 = KmemberQVKdMM3I(&KJlock_, T25, &KPempty_vectorVKi, &KEEVKd);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T27 = T26_0;
    T28 = T27;
  } else {
    T28 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  if (T28 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T29 = Tdebug_out_functionTVKi;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    CALL1(T29, &Kanonymous_of_obtain_idF135);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  T30 = primitive_wait_for_simple_lock(Did_pool_lockYasynchronous_results_implementationVenvironment_manager);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  T31 = TdebuggingQTVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  if (T31 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T32 = Tdebug_partsTVKi;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T33 = primitive_idQ(T32,&KPempty_listVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T34 = primitive_not(T33);
    T35 = T34;
  } else {
    T35 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  if (T35 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T36 = Tdebug_partsTVKi;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T37_0 = KmemberQVKdMM3I(&KJlock_, T36, &KPempty_vectorVKi, &KEEVKd);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T38 = T37_0;
    T39 = T38;
  } else {
    T39 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  if (T39 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T40 = Tdebug_out_functionTVKi;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T41 = MAKE_CLOSURE_INITD(&Kanonymous_of_obtain_idF137, 1, T30);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    CALL1(T40, T41);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  T42 = primitive_idQ(T30,(D) 1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  if (T42 != &KPfalseVKi) {
    T47 = &KPtrueVKi;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T43 = primitive_idQ(T30,(D) 5);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    if (T43 != &KPfalseVKi) {
      T46 = &KPfalseVKi;
    } else {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
      T44_0 = Klock_wait_result_errorYthreads_internalVdylanMM0I(Did_pool_lockYasynchronous_results_implementationVenvironment_manager, T30);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
      T45 = T44_0;
      T46 = T45;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T47 = T46;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  if (T47 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    ENTER_UNWIND_FRAME(T0);
    if (!nlx_setjmp(FRAME_DEST(T0))) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:57
      T1 = Tnext_idTYasynchronous_results_implementationVenvironment_manager;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:57
      T2 = Kid_freeQF134I(T1);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:57
      if (T2 != &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:59
        T3 = Tnext_idTYasynchronous_results_implementationVenvironment_manager;
        T12 = T3;
      } else {
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:64
        free_id_ = &KPfalseVKi;
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:65
      L0: ;
          // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:65
          T19 = free_id_;
          // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:65
          if (T19 == &KPfalseVKi) {
            // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:66
            T4 = Tnext_idTYasynchronous_results_implementationVenvironment_manager;
            // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:66
            T5 = Kfollowing_idF133I(T4);
            // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:67
            T50 = primitive_cast_integer_as_raw(T5);
            // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:66
            id_T = T50;
          L1: ;
              // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:66
              id_ = id_T;
              // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:67
              T52 = primitive_cast_raw_as_integer(id_);
              // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:67
              Utmp_ = Kid_freeQF134I(T52);
              // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:67
              if (Utmp_ != &KPfalseVKi) {
                T10 = Utmp_;
              } else {
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:67
                T9 = Tnext_idTYasynchronous_results_implementationVenvironment_manager;
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:67
                T48 = primitive_cast_integer_as_raw(T9);
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:67
                T49 = primitive_machine_word_equalQ(id_,T48);
                T10 = T49;
              }
              // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:67
              // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:66
              if (T10 == &KPfalseVKi) {
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:66
                T7 = Kfollowing_idF133I(T52);
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:67
                T51 = primitive_cast_integer_as_raw(T7);
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:66
                id_T = T51;
                goto L1;
              }
              // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:66
              // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:69
              T11 = Tnext_idTYasynchronous_results_implementationVenvironment_manager;
              // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:69
              T53 = primitive_cast_integer_as_raw(T11);
              // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:69
              T54 = primitive_machine_word_equalQ(id_,T53);
              // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:69
              if (T54 != &KPfalseVKi) {
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                T55 = TdebuggingQTVKi;
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                if (T55 != &KPfalseVKi) {
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                  T56 = Tdebug_partsTVKi;
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                  T57 = primitive_idQ(T56,&KPempty_listVKi);
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                  T58 = primitive_not(T57);
                  T59 = T58;
                } else {
                  T59 = &KPfalseVKi;
                }
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                if (T59 != &KPfalseVKi) {
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                  T60 = Tdebug_partsTVKi;
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                  T61_0 = KmemberQVKdMM3I(&KJlock_, T60, &KPempty_vectorVKi, &KEEVKd);
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                  T62 = T61_0;
                  T63 = T62;
                } else {
                  T63 = &KPfalseVKi;
                }
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                if (T63 != &KPfalseVKi) {
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                  T64 = Tdebug_out_functionTVKi;
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                  CALL1(T64, &Kanonymous_of_obtain_idF132);
                }
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                resF65 = primitive_release_simple_lock(Did_pool_lockYasynchronous_results_implementationVenvironment_manager);
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                T66 = primitive_idQ(resF65,(D) 1);
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                if (T66 == &KPfalseVKi) {
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                  Klock_release_result_errorYthreads_internalVdylanMM0I(Did_pool_lockYasynchronous_results_implementationVenvironment_manager, resF65);
                }
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:71
                KsleepYthreadsVdylanI((D) 13);
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                T67 = TdebuggingQTVKi;
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                if (T67 != &KPfalseVKi) {
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                  T68 = Tdebug_partsTVKi;
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                  T69 = primitive_idQ(T68,&KPempty_listVKi);
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                  T70 = primitive_not(T69);
                  T71 = T70;
                } else {
                  T71 = &KPfalseVKi;
                }
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                if (T71 != &KPfalseVKi) {
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                  T72 = Tdebug_partsTVKi;
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                  T73_0 = KmemberQVKdMM3I(&KJlock_, T72, &KPempty_vectorVKi, &KEEVKd);
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                  T74 = T73_0;
                  T75 = T74;
                } else {
                  T75 = &KPfalseVKi;
                }
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                if (T75 != &KPfalseVKi) {
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                  T76 = Tdebug_out_functionTVKi;
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                  CALL1(T76, &Kanonymous_of_obtain_idF131);
                }
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                T77 = primitive_wait_for_simple_lock(Did_pool_lockYasynchronous_results_implementationVenvironment_manager);
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                T78 = TdebuggingQTVKi;
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                if (T78 != &KPfalseVKi) {
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                  T79 = Tdebug_partsTVKi;
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                  T80 = primitive_idQ(T79,&KPempty_listVKi);
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                  T81 = primitive_not(T80);
                  T82 = T81;
                } else {
                  T82 = &KPfalseVKi;
                }
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                if (T82 != &KPfalseVKi) {
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                  T83 = Tdebug_partsTVKi;
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                  T84_0 = KmemberQVKdMM3I(&KJlock_, T83, &KPempty_vectorVKi, &KEEVKd);
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                  T85 = T84_0;
                  T86 = T85;
                } else {
                  T86 = &KPfalseVKi;
                }
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                if (T86 != &KPfalseVKi) {
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                  T87 = Tdebug_out_functionTVKi;
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                  T88 = MAKE_CLOSURE_INITD(&Kanonymous_of_obtain_idF136, 1, T77);
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                  CALL1(T87, T88);
                }
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                T89 = primitive_idQ(T77,(D) 1);
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                if (T89 == &KPfalseVKi) {
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                  T90 = primitive_idQ(T77,(D) 5);
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                  if (T90 == &KPfalseVKi) {
                    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                    Klock_wait_result_errorYthreads_internalVdylanMM0I(Did_pool_lockYasynchronous_results_implementationVenvironment_manager, T77);
                  }
                  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
                }
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
              } else {
                // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:74
                free_id_ = T52;
              }
              // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:69
              // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:66
            // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:65
            goto L0;
          }
          // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:65
          // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:65
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:57
        T18 = free_id_;
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:57
        primitive_type_check(T18, &KLintegerGVKd);
        T91 = T18;
        T12 = T91;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:57
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:80
      T13 = Kfollowing_idF133I(T12);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:80
      Tnext_idTYasynchronous_results_implementationVenvironment_manager = T13;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:81
      T92 = SLOT_VALUE_INITD(Dids_in_useYasynchronous_results_implementationVenvironment_manager, 0);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:81
      T93 = primitive_instanceQ(&KPtrueVKi,T92);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:81
      if (T93 == &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:81
        T94.vector_element_[0] = &KJvalue_;
        T94.vector_element_[1] = &KPtrueVKi;
        T94.vector_element_[2] = &KJtype_;
        T94.vector_element_[3] = T92;
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:81
        CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
        T95 = CONGRUENT_CALL2(&KLtype_errorGVKd, &T94);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:81
        CONGRUENT_CALL_PROLOG(&KerrorVKd, 2);
        CONGRUENT_CALL2(T95, &KPempty_vectorVKi);
      }
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:81
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:81
      KputhashVKiI(&KPtrueVKi, Dids_in_useYasynchronous_results_implementationVenvironment_manager, T12);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:82
      T14_0 = Kinteger_to_stringYcommon_extensionsVcommon_dylanI(T12, &KPempty_vectorVKi, (D) 41, (D) 1, C('0'));
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
      FALL_THROUGH_UNWIND(T14_0);
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T96 = TdebuggingQTVKi;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    if (T96 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
      T97 = Tdebug_partsTVKi;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
      T98 = primitive_idQ(T97,&KPempty_listVKi);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
      T99 = primitive_not(T98);
      T100 = T99;
    } else {
      T100 = &KPfalseVKi;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    if (T100 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
      T101 = Tdebug_partsTVKi;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
      T102_0 = KmemberQVKdMM3I(&KJlock_, T101, &KPempty_vectorVKi, &KEEVKd);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
      T103 = T102_0;
      T104 = T103;
    } else {
      T104 = &KPfalseVKi;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    if (T104 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
      T105 = Tdebug_out_functionTVKi;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
      CALL1(T105, &Kanonymous_of_obtain_idF130);
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    resF106 = primitive_release_simple_lock(Did_pool_lockYasynchronous_results_implementationVenvironment_manager);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T107 = primitive_idQ(resF106,(D) 1);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    if (T107 == &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
      Klock_release_result_errorYthreads_internalVdylanMM0I(Did_pool_lockYasynchronous_results_implementationVenvironment_manager, resF106);
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    CONTINUE_UNWIND();
    T16_0 = T14_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T108.vector_element_[0] = &KJsynchronization_;
    T108.vector_element_[1] = Did_pool_lockYasynchronous_results_implementationVenvironment_manager;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
    T15 = CONGRUENT_CALL2(&KLtimeout_expiredGYthreadsVdylan, &T108);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T109_0 = KsignalVKdMM0I(T15, &KPempty_vectorVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T110_0 = T109_0;
    {
      MV_CHECK_TYPE_PROLOGUE(T109_0);
      primitive_type_check(T110_0, &K129);
      MV_CHECK_TYPE_EPILOGUE();
    }
    T16_0 = T110_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:48
  MV_SET_COUNT(1);
  return(T16_0);
}

static D Kanonymous_of_obtain_idF137I () {
  D T0;
  D T1;
  D T2_0;
  D T3;
  D T4;
  _KLsimple_object_vectorGVKd_4 T5 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T6;
  D T7_0;
  CAPTURE_ENVIRONMENT

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  T0 = Kcurrent_threadYthreadsVdylanI();
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  T1 = SLOT_VALUE_INITD(T0, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  if (T1 != &KPfalseVKi) {
    T4 = T1;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T2_0 = Kcurrent_threadYthreadsVdylanI();
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T3 = T2_0;
    T4 = T3;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  T5.vector_element_[0] = &K75;
  T5.vector_element_[1] = Did_pool_lockYasynchronous_results_implementationVenvironment_manager;
  T5.vector_element_[2] = T4;
  T5.vector_element_[3] = CREF(0);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  T6 = primitive_copy_vector(&T5);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  T7_0 = T6;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  MV_SET_COUNT(1);
  return(T7_0);
}

static D Kanonymous_of_obtain_idF136I () {
  D T0;
  D T1;
  D T2_0;
  D T3;
  D T4;
  _KLsimple_object_vectorGVKd_4 T5 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T6;
  D T7_0;
  CAPTURE_ENVIRONMENT

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
  T0 = Kcurrent_threadYthreadsVdylanI();
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
  T1 = SLOT_VALUE_INITD(T0, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
  if (T1 != &KPfalseVKi) {
    T4 = T1;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
    T2_0 = Kcurrent_threadYthreadsVdylanI();
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
    T3 = T2_0;
    T4 = T3;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
  T5.vector_element_[0] = &K75;
  T5.vector_element_[1] = Did_pool_lockYasynchronous_results_implementationVenvironment_manager;
  T5.vector_element_[2] = T4;
  T5.vector_element_[3] = CREF(0);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
  T6 = primitive_copy_vector(&T5);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
  T7_0 = T6;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
  MV_SET_COUNT(1);
  return(T7_0);
}

static D Kanonymous_of_obtain_idF135I () {
  D T0;
  D T1;
  D T2_0;
  D T3;
  D T4;
  _KLsimple_object_vectorGVKd_3 T5 = {&KLsimple_object_vectorGVKdW, (D) 13};
  D T6;
  D T7_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  T0 = Kcurrent_threadYthreadsVdylanI();
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  T1 = SLOT_VALUE_INITD(T0, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  if (T1 != &KPfalseVKi) {
    T4 = T1;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T2_0 = Kcurrent_threadYthreadsVdylanI();
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T3 = T2_0;
    T4 = T3;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  T5.vector_element_[0] = &K73;
  T5.vector_element_[1] = Did_pool_lockYasynchronous_results_implementationVenvironment_manager;
  T5.vector_element_[2] = T4;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  T6 = primitive_copy_vector(&T5);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  T7_0 = T6;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  MV_SET_COUNT(1);
  return(T7_0);
}

static D Kid_freeQF134I (D id_) {
  D T2_0;
  D T3;
  D T4;
  D T5_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:49
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:50
  T2_0 = KgethashVKiI(Dids_in_useYasynchronous_results_implementationVenvironment_manager, id_, &KPfalseVKi, &KPtrueVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:50
  T3 = T2_0;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:50
  T4 = primitive_not(T3);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:50
  T5_0 = T4;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:49
  MV_SET_COUNT(1);
  return(T5_0);
}

static D Kfollowing_idF133I (D id_) {
  D T1_0;
  D T2_0;
  DWORD T3;
  D T4;
  DWORD T5;
  D T6;
  D T7_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:52
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:53
  T3 = primitive_cast_integer_as_raw(id_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:53
  T4 = primitive_machine_word_equalQ(T3,0x7FFFFFFDL);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:53
  if (T4 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:53
    T1_0 = (D) 1;
    T2_0 = T1_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:53
    T5 = primitive_machine_word_add_signal_overflow(T3,4);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:53
    T6 = primitive_cast_raw_as_integer(T5);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:53
    T7_0 = T6;
    T2_0 = T7_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:53
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:52
  MV_SET_COUNT(1);
  return(T2_0);
}

static D Kanonymous_of_obtain_idF132I () {
  D T0;
  D T1;
  D T2_0;
  D T3;
  D T4;
  _KLsimple_object_vectorGVKd_3 T5 = {&KLsimple_object_vectorGVKdW, (D) 13};
  D T6;
  D T7_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
  T0 = Kcurrent_threadYthreadsVdylanI();
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
  T1 = SLOT_VALUE_INITD(T0, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
  if (T1 != &KPfalseVKi) {
    T4 = T1;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
    T2_0 = Kcurrent_threadYthreadsVdylanI();
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
    T3 = T2_0;
    T4 = T3;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
  T5.vector_element_[0] = &K70;
  T5.vector_element_[1] = Did_pool_lockYasynchronous_results_implementationVenvironment_manager;
  T5.vector_element_[2] = T4;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
  T6 = primitive_copy_vector(&T5);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
  T7_0 = T6;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:70
  MV_SET_COUNT(1);
  return(T7_0);
}

static D Kanonymous_of_obtain_idF131I () {
  D T0;
  D T1;
  D T2_0;
  D T3;
  D T4;
  _KLsimple_object_vectorGVKd_3 T5 = {&KLsimple_object_vectorGVKdW, (D) 13};
  D T6;
  D T7_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
  T0 = Kcurrent_threadYthreadsVdylanI();
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
  T1 = SLOT_VALUE_INITD(T0, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
  if (T1 != &KPfalseVKi) {
    T4 = T1;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
    T2_0 = Kcurrent_threadYthreadsVdylanI();
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
    T3 = T2_0;
    T4 = T3;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
  T5.vector_element_[0] = &K73;
  T5.vector_element_[1] = Did_pool_lockYasynchronous_results_implementationVenvironment_manager;
  T5.vector_element_[2] = T4;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
  T6 = primitive_copy_vector(&T5);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
  T7_0 = T6;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:72
  MV_SET_COUNT(1);
  return(T7_0);
}

static D Kanonymous_of_obtain_idF130I () {
  D T0;
  D T1;
  D T2_0;
  D T3;
  D T4;
  _KLsimple_object_vectorGVKd_3 T5 = {&KLsimple_object_vectorGVKdW, (D) 13};
  D T6;
  D T7_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  T0 = Kcurrent_threadYthreadsVdylanI();
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  T1 = SLOT_VALUE_INITD(T0, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  if (T1 != &KPfalseVKi) {
    T4 = T1;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T2_0 = Kcurrent_threadYthreadsVdylanI();
    // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
    T3 = T2_0;
    T4 = T3;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  T5.vector_element_[0] = &K70;
  T5.vector_element_[1] = Did_pool_lockYasynchronous_results_implementationVenvironment_manager;
  T5.vector_element_[2] = T4;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  T6 = primitive_copy_vector(&T5);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  T7_0 = T6;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:55
  MV_SET_COUNT(1);
  return(T7_0);
}

static D K146I () {
  D T0;
  D init_value_;
  D T2_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:164
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:164
  T0 = Kobtain_idYasynchronous_results_implementationVenvironment_managerI();
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:164
  primitive_type_check(T0, &KLstringGVKd);
  init_value_ = T0;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:164
  T2_0 = init_value_;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:164
  MV_SET_COUNT(1);
  return(T2_0);
}

static D Kanonymous_of_makeF150I (D Unext_method_argsU_) {
  D T2;
  D T3;
  D T4;
  DWORD T5;
  D T6;
  D T7;
  D T8_0;
  CAPTURE_ENVIRONMENT

  T4 = SLOT_VALUE_INITD(Unext_method_argsU_, 0);
  T5 = primitive_cast_integer_as_raw(T4);
  T6 = primitive_machine_word_equalQ(T5,1);
  if (T6 != &KPfalseVKi) {
    T7 = Kclass_constructor_atomicallyVKiI(CREF(1));
    T8_0 = APPLY2(T7, CREF(1), CREF(0));
    T3 = T8_0;
    MV_SET_COUNT(1);
  } else {
    T2 = MEP_APPLY1(&KmakeVKdMM48, &KPempty_listVKi, Unext_method_argsU_);
    T3 = T2;
  }
  return(T3);
}

D KLassume_resultsGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0I (D class_, D init_args_) {
  D T3;
  D T4;
  D T5_0;
  D T6;
  D init_argsF7;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:148
  T6 = primitive_copy_vector(init_args_);
  T3 = Kdefaulted_initialization_argumentsVKiI(&KLassume_resultsGYasynchronous_resultsVenvironment_manager);
  init_argsF7 = Kconcatenate_2VKeMM1I(T6, T3);
  T4 = primitive_object_allocate_filled(4,&KLassume_resultsGYasynchronous_resultsVenvironment_managerW,3,&KPunboundVKi,0,0,&KPunboundVKi);
  APPLY2(&Kdefaulted_initializeF177, T4, init_argsF7);
  T5_0 = T4;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:148
  MV_SET_COUNT(1);
  return(T5_0);
}

static D Kdefaulted_initializeF177I (D object_, D init_args_, D Uunique_condition_format_string_, D Uunique_condition_format_arguments_, D Uunique_results_to_assume_) {
  D T6;
  D Uunique_results_to_assumeF7;
  D Uunique_results_to_assumeF8;
  D T9;
  _KLsimple_object_vectorGVKd_1 T10 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T11;
  D T12;

  T9 = primitive_idQ(Uunique_results_to_assume_,&KPunboundVKi);
  if (T9 != &KPfalseVKi) {
    T10.vector_element_[0] = IKJassume_;
    T11 = KerrorVKdMM1I(&K178, &T10);
    T6 = T11;
    Uunique_results_to_assumeF7 = T6;
  } else {
    Uunique_results_to_assumeF7 = Uunique_results_to_assume_;
  }
  SLOT_VALUE_SETTER(Uunique_condition_format_string_, object_, 0);
  SLOT_VALUE_SETTER(Uunique_condition_format_arguments_, object_, 1);
  primitive_type_check(Uunique_results_to_assumeF7, &K39);
  Uunique_results_to_assumeF8 = Uunique_results_to_assumeF7;
  SLOT_VALUE_SETTER(Uunique_results_to_assumeF8, object_, 2);
  T12 = APPLY2(&KinitializeVKd, object_, init_args_);
  return(T12);
}

D KLkeep_waitingGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0I (D class_, D init_args_) {
  D T3;
  D T4;
  D T5_0;
  D T6;
  D init_argsF7;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:142
  T6 = primitive_copy_vector(init_args_);
  T3 = Kdefaulted_initialization_argumentsVKiI(&KLkeep_waitingGYasynchronous_resultsVenvironment_manager);
  init_argsF7 = Kconcatenate_2VKeMM1I(T6, T3);
  T4 = primitive_object_allocate_filled(3,&KLkeep_waitingGYasynchronous_resultsVenvironment_managerW,2,&KPunboundVKi,0,0,&KPunboundVKi);
  APPLY2(&Kdefaulted_initializeF194, T4, init_argsF7);
  T5_0 = T4;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:142
  MV_SET_COUNT(1);
  return(T5_0);
}

static D Kdefaulted_initializeF194I (D object_, D init_args_, D Uunique_condition_format_string_, D Uunique_condition_format_arguments_) {
  D T5;

  SLOT_VALUE_SETTER(Uunique_condition_format_string_, object_, 0);
  SLOT_VALUE_SETTER(Uunique_condition_format_arguments_, object_, 1);
  T5 = APPLY2(&KinitializeVKd, object_, init_args_);
  return(T5);
}

D KLtimeout_awaiting_resultsGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0I (D class_, D init_args_) {
  D T3;
  D T4;
  D T5_0;
  D T6;
  D init_argsF7;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:135
  T6 = primitive_copy_vector(init_args_);
  T3 = Kdefaulted_initialization_argumentsVKiI(&KLtimeout_awaiting_resultsGYasynchronous_resultsVenvironment_manager);
  init_argsF7 = Kconcatenate_2VKeMM1I(T6, T3);
  T4 = primitive_object_allocate_filled(3,&KLtimeout_awaiting_resultsGYasynchronous_resultsVenvironment_managerW,2,&KPunboundVKi,0,0,&KPunboundVKi);
  APPLY2(&Kdefaulted_initializeF211, T4, init_argsF7);
  T5_0 = T4;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:135
  MV_SET_COUNT(1);
  return(T5_0);
}

static D Kdefaulted_initializeF211I (D object_, D init_args_, D Uunique_condition_format_string_, D Uunique_condition_format_arguments_) {
  D T5;

  SLOT_VALUE_SETTER(Uunique_condition_format_string_, object_, 0);
  SLOT_VALUE_SETTER(Uunique_condition_format_arguments_, object_, 1);
  T5 = APPLY2(&KinitializeVKd, object_, init_args_);
  return(T5);
}

D KLinvalid_results_idGZ32ZconstructorYasynchronous_results_implementationVenvironment_managerMM0I (D class_, D init_args_) {
  D T3;
  D T4;
  D T5_0;
  D T6;
  D init_argsF7;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:129
  T6 = primitive_copy_vector(init_args_);
  T3 = Kdefaulted_initialization_argumentsVKiI(&KLinvalid_results_idGYasynchronous_resultsVenvironment_manager);
  init_argsF7 = Kconcatenate_2VKeMM1I(T6, T3);
  T4 = primitive_object_allocate_filled(3,&KLinvalid_results_idGYasynchronous_resultsVenvironment_managerW,2,&KPunboundVKi,0,0,&KPunboundVKi);
  APPLY2(&Kdefaulted_initializeF226, T4, init_argsF7);
  T5_0 = T4;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:129
  MV_SET_COUNT(1);
  return(T5_0);
}

static D Kdefaulted_initializeF226I (D object_, D init_args_, D Uunique_condition_format_string_, D Uunique_condition_format_arguments_) {
  D T5;

  SLOT_VALUE_SETTER(Uunique_condition_format_string_, object_, 0);
  SLOT_VALUE_SETTER(Uunique_condition_format_arguments_, object_, 1);
  T5 = APPLY2(&KinitializeVKd, object_, init_args_);
  return(T5);
}

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

  T6 = primitive_idQ(CREF(1),&KPempty_listVKi);
  if (T6 != &KPfalseVKi) {
    T14 = KerrorVKdMM1I(&K234, &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);
}


/* SYSTEM INIT CODE */

void _Init_environment_manager__X_asynch_results_for_system () {
  extern D KPresolve_symbolVKiI(D);
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJid_);
    if (T0 != &KJid_) {
      primitive_slot_value_setter(T0, &KidHLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_manager, 3);
      primitive_repeated_slot_value_setter(T0, &K238, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K236, 1, 0);
      IKJid_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJaborted_);
    if (T0 != &KJaborted_) {
      primitive_slot_value_setter(T0, &K57, 1);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJassume_);
    if (T0 != &KJassume_) {
      primitive_repeated_slot_value_setter(T0, &K181, 1, 2);
      primitive_repeated_slot_value_setter(T0, &K180, 1, 4);
      IKJassume_ = T0;
      primitive_slot_value_setter(T0, &Kresults_to_assumeYasynchronous_results_implementationVenvironment_managerHLassume_resultsG, 3);
      primitive_repeated_slot_value_setter(T0, &K157, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K153, 1, 0);
    }
  }
{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:116
  T0 = KPadd_classVKeI(&KLsimple_condition_with_idGYasynchronous_results_implementationVenvironment_manager);
  goto I2;
}
I2:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:129
  T0 = KPadd_classVKeI(&KLinvalid_results_idGYasynchronous_resultsVenvironment_manager);
  goto I8;
}
I8:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:135
  T0 = KPadd_classVKeI(&KLtimeout_awaiting_resultsGYasynchronous_resultsVenvironment_manager);
  goto I11;
}
I11:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:142
  T0 = KPadd_classVKeI(&KLkeep_waitingGYasynchronous_resultsVenvironment_manager);
  goto I14;
}
I14:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:148
  T0 = KPadd_classVKeI(&KLassume_resultsGYasynchronous_resultsVenvironment_manager);
  goto I17;
}
I17:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:163
  T0 = KPadd_classVKeI(&KLresults_tokenGYasynchronous_results_implementationVenvironment_manager);
  goto I23;
}
I23:

  return;
}

/* USER INIT CODE */

void _Init_environment_manager__X_asynch_results_for_user () {
{
  D T0;
  D T1;
  D T2_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:29
  T2_0 = KLobject_tableGZ32ZconstructorVKiMM0I(&KLobject_tableGVKd, &KPempty_vectorVKi, &KLobjectGVKd, (D) 41, &Kdefault_grow_sizeVKe, &KPfalseVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:29
  T1 = T2_0;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:29
  Dids_in_useYasynchronous_results_implementationVenvironment_manager = T1;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:29
  T0 = &KPfalseVKi;
  goto I0;
}
I0:

{
  D T0;
  D T1;
  D T2_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:35
  T2_0 = KLsimple_lock_iGZ32ZconstructorYthreads_internalVdylanMM0I(&KLsimple_lock_iGYthreads_internalVdylan, &KPempty_vectorVKi, &KPfalseVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:35
  T1 = T2_0;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:35
  Did_pool_lockYasynchronous_results_implementationVenvironment_manager = T1;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:35
  T0 = &KPfalseVKi;
  goto I1;
}
I1:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:120
  T0 = KPadd_a_methodVKnI(&KmakeVKd, &KmakeVKdMenvironment_managerM0, &Kenvironment_manager_libraryYdylan_userVenvironment_manager, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I7;
}
I7:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:154
  T0 = KPadd_a_methodVKnI(&KmakeVKd, &KmakeVKdMenvironment_managerM1, &Kenvironment_manager_libraryYdylan_userVenvironment_manager, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I22;
}
I22:

{
  D T0;
  D T1;
  D T2_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:175
  T2_0 = KLobject_tableGZ32ZconstructorVKiMM0I(&KLobject_tableGVKd, &KPempty_vectorVKi, &KLobjectGVKd, (D) 41, &Kdefault_grow_sizeVKe, &KPfalseVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:175
  T1 = T2_0;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:175
  Dtoken_tableYasynchronous_results_implementationVenvironment_manager = T1;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:175
  T0 = &KPfalseVKi;
  goto I26;
}
I26:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/manager/asynch-results.dylan:179
  T0 = KPadd_a_methodVKnI(&KinitializeVKd, &KinitializeVKdMenvironment_managerM0, &Kenvironment_manager_libraryYdylan_userVenvironment_manager, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I29;
}
I29:

  return;
}


/* eof */
