#include "opendylan/run-time.h"

/* Generated by Open Dylan 2014.1 for x86_64-linux */

/* Typedefs for referenced classes */

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
  dylan_value debug_name_;
  dylan_value class_implementation_class_;
  dylan_value class_subtype_bit_;
  dylan_value class_module_;
} _KLclassGVKd;

#define  define__KLmm_wrapperGVKi(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value mm_wrapper_implementation_class_; \
    dylan_value mm_wrapper_subtype_mask_; \
    DWORD mm_wrapper_fixed_part_; \
    DWORD mm_wrapper_variable_part_; \
    dylan_value mm_wrapper_number_patterns_; \
    DWORD mm_wrapper_pattern_element_[nrepeated+1]; \
  } _KLmm_wrapperGVKi_##nrepeated;
define__KLmm_wrapperGVKi(1);
define__KLmm_wrapperGVKi(0);

typedef struct {
  dylan_value wrapper;
} _KLobjectGVKd;

typedef struct {
  dylan_value wrapper;
} _KLunboundGVKe;

typedef struct {
  dylan_value wrapper;
} _KLbooleanGVKd;

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

typedef struct {
  dylan_value wrapper;
} _KLstreamGYcommon_extensionsVcommon_dylan;

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

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

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

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

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(11);
define__KLbyte_stringGVKd(15);
define__KLbyte_stringGVKd(23);
define__KLbyte_stringGVKd(5);
define__KLbyte_stringGVKd(16);
define__KLbyte_stringGVKd(19);
define__KLbyte_stringGVKd(12);
define__KLbyte_stringGVKd(13);
define__KLbyte_stringGVKd(20);

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

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

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

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

typedef struct {
  dylan_value wrapper;
  dylan_value xep_;
  dylan_value function_signature_;
  dylan_value Pgf_cache_;
  dylan_value debug_name_;
  dylan_value generic_function_methods_;
  dylan_value discriminator_;
  dylan_value incremental_gf_module_;
  dylan_value incremental_gf_domain_info_;
  dylan_value incremental_gf_method_libraries_;
  dylan_value incremental_gf_properties_;
} _KLincremental_generic_functionGVKe;

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
  dylan_value debug_name_;
  dylan_value class_implementation_class_;
  dylan_value class_subtype_bit_;
  dylan_value class_module_;
} _KLfunction_classGVKi;

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

#define  define__KLsimple_object_vectorGVKd(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value size_; \
    dylan_value vector_element_[nrepeated+1]; \
  } _KLsimple_object_vectorGVKd_##nrepeated;
define__KLsimple_object_vectorGVKd(8);
define__KLsimple_object_vectorGVKd(5);
define__KLsimple_object_vectorGVKd(3);
define__KLsimple_object_vectorGVKd(6);
define__KLsimple_object_vectorGVKd(4);
define__KLsimple_object_vectorGVKd(1);
define__KLsimple_object_vectorGVKd(16);
define__KLsimple_object_vectorGVKd(2);
define__KLsimple_object_vectorGVKd(256);
define__KLsimple_object_vectorGVKd(0);

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

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

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

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

typedef struct {
  dylan_value wrapper;
} _KLstringGVKd;

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

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

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

typedef struct {
  dylan_value wrapper;
} _KLclosable_objectGYcommon_extensionsVcommon_dylan;

typedef struct {
  dylan_value wrapper;
  dylan_value outer_stream_;
  dylan_value private_stream_element_type_value_;
  dylan_value private_stream_direction_value_;
  dylan_value private_stream_lock_value_;
} _KLbasic_streamGYstreamsVio;

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

typedef struct {
  dylan_value wrapper;
} _KLsequenceGVKd;

#define  define__KLstandalone_domainGVKe(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value domain_library_; \
    dylan_value domain_next_; \
    dylan_value domain_number_required_; \
    dylan_value domain_type_[nrepeated+1]; \
  } _KLstandalone_domainGVKe_##nrepeated;
define__KLstandalone_domainGVKe(1);

typedef struct {
  dylan_value wrapper;
  dylan_value namespace_name_;
  dylan_value library_major_version_;
  dylan_value library_minor_version_;
  dylan_value library_build_count_;
  dylan_value used_libraries_;
  dylan_value all_used_libraries_;
  dylan_value runtime_module_;
  dylan_value library_defined_generics_;
  dylan_value library_number_static_dispatches_;
  dylan_value library_number_dynamic_dispatches_;
} _KLlibraryGVKe;

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

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

typedef struct {
  dylan_value wrapper;
  dylan_value synchronization_name_;
} _KLlockGYthreadsVdylan;

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

typedef struct {
  dylan_value wrapper;
} _KLintegerGVKd;

typedef struct {
  dylan_value wrapper;
} _KLmutable_sequenceGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value outer_stream_;
  dylan_value private_stream_element_type_value_;
  dylan_value private_stream_direction_value_;
  dylan_value private_stream_lock_value_;
  dylan_value Pinner_stream_;
  dylan_value circular_first_passQ_;
  dylan_value circular_references_;
  dylan_value circular_next_id_;
} _KLcircular_print_streamGYprint_internalsVio;


/* Typedefs for defined classes */

typedef struct {
  dylan_value wrapper;
  dylan_value outer_stream_;
  dylan_value private_stream_element_type_value_;
  dylan_value private_stream_direction_value_;
  dylan_value private_stream_lock_value_;
  dylan_value Pinner_stream_;
} _KLwrapper_streamGYstreamsVio;

typedef struct {
  dylan_value wrapper;
  dylan_value outer_stream_;
  dylan_value private_stream_element_type_value_;
  dylan_value private_stream_direction_value_;
  dylan_value private_stream_lock_value_;
  dylan_value Pinner_stream_;
} _KLsimple_wrapper_streamGYstreams_internalsVio;


/* Referenced object declarations */

extern _KLclassGVKd KLclassGVKd;
extern _KLmm_wrapperGVKi_0 KLclassGVKdW;
extern _KLclassGVKd KLmm_wrapperGVKi;
extern _KLmm_wrapperGVKi_1 KLmm_wrapperGVKiW;
extern _KLclassGVKd KLobjectGVKd;
extern _KLmm_wrapperGVKi_0 KLobjectGVKdW;
extern _KLunboundGVKe KPunboundVKi;
extern _KLclassGVKd KLunboundGVKe;
extern _KLmm_wrapperGVKi_0 KLunboundGVKeW;
extern _KLbooleanGVKd KPtrueVKi;
extern _KLclassGVKd KLbooleanGVKd;
extern _KLmm_wrapperGVKi_0 KLbooleanGVKdW;
extern _KLbooleanGVKd KPfalseVKi;
extern _KLclassGVKd KLinstance_slot_descriptorGVKe;
extern _KLmm_wrapperGVKi_0 KLinstance_slot_descriptorGVKeW;
extern _KLclassGVKd KLstreamGYcommon_extensionsVcommon_dylan;
extern _KLmm_wrapperGVKi_0 KLstreamGYcommon_extensionsVcommon_dylanW;
extern _KLclassGVKd KLsealed_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLsealed_generic_functionGVKeW;
extern _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
extern _KLobject_signatureGVKe KDsignature_LobjectG_object_rest_value_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 _KLobject_signatureGVKe KDsignature_LobjectG_object_rest_value_1VKi;
extern _KLclassGVKd KLgetter_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLgetter_methodGVKiW;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLfunction_classGVKi KLincremental_generic_functionGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
extern _KLmoduleGVKe Kstreams_moduleYdylan_userVio;
extern _KLclassGVKd KLmoduleGVKe;
extern _KLmm_wrapperGVKi_0 KLmoduleGVKeW;
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLclassGVKd KLsignatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLsignatureAvaluesGVKiW;
extern _KLsealed_generic_functionGVKe Kouter_stream_setterYstreamsVio;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLincremental_generic_functionGVKe Kread_toYstreamsVio;
extern _KLfunction_classGVKi KLkeyword_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_methodGVKeW;
extern _KLsymbolGVKd KJtest_;
extern _KLclassGVKd KLkeyword_signatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureAvaluesGVKiW;
extern _KLsimple_object_vectorGVKd_256 KDsignature_LobjectG_typesVKi;
extern _KLincremental_generic_functionGVKe Kread_throughYstreamsVio;
extern _KLincremental_generic_functionGVKe Kread_to_endYstreamsVio;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LsequenceG_typesVKi;
extern _KLincremental_generic_functionGVKe Kskip_throughYstreamsVio;
extern _KLsimple_object_vectorGVKd_16 KDsignature_LbooleanG_typesVKi;
extern _KLincremental_generic_functionGVKe Kread_lineYstreamsVio;
extern _KLincremental_generic_functionGVKe Kread_line_intoXYstreamsVio;
extern _KLsymbolGVKd KJstart_;
extern _KLclassGVKd KLstringGVKd;
extern _KLmm_wrapperGVKi_0 KLstringGVKdW;
extern _KLincremental_generic_functionGVKe Kwrite_lineYstreamsVio;
extern _KLsymbolGVKd KJend_;
extern _KLclassGVKd KLkeyword_signatureGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureGVKeW;
extern _KLincremental_generic_functionGVKe Knew_lineYstreamsVio;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
extern _KLclassGVKd KLimplementation_classGVKe;
extern _KLmm_wrapperGVKi_0 KLimplementation_classGVKeW;
extern _KLkeyword_methodGVKe Kdefault_class_constructorVKi;
extern _KLclassGVKd KLclosable_objectGYcommon_extensionsVcommon_dylan;
extern _KLmm_wrapperGVKi_0 KLclosable_objectGYcommon_extensionsVcommon_dylanW;
extern _KLclassGVKd KLbasic_streamGYstreamsVio;
extern _KLmm_wrapperGVKi_0 KLbasic_streamGYstreamsVioW;
extern _KLinstance_slot_descriptorGVKe Kouter_streamYstreamsVioHLbasic_streamG;
extern _KLinstance_slot_descriptorGVKe Kprivate_stream_element_type_valueYstreams_internalsVioHLbasic_streamG;
extern _KLinstance_slot_descriptorGVKe Kprivate_stream_direction_valueYstreams_internalsVioHLbasic_streamG;
extern _KLinstance_slot_descriptorGVKe Kprivate_stream_lock_valueYstreams_internalsVioHLbasic_streamG;
dylan_value Kclass_instanceQ_rcpl_single_smallVKiI (dylan_value, dylan_value);
extern _KLincremental_generic_functionGVKe Kstream_directionYstreams_internalsVio;
extern _KLincremental_generic_functionGVKe Kstream_limitYstreamsVio;
extern _KLsealed_generic_functionGVKe Kstream_sequence_classYstreamsVio;
extern _KLclassGVKd KLsubclassGVKe;
extern _KLmm_wrapperGVKi_0 KLsubclassGVKeW;
dylan_value Ksubclass_instanceQVKiI (dylan_value, dylan_value);
extern _KLclassGVKd KLsequenceGVKd;
extern _KLmm_wrapperGVKi_0 KLsequenceGVKdW;
extern _KLincremental_generic_functionGVKe Kstream_lockedQYstreamsVio;
extern _KLclassGVKd KLstandalone_domainGVKe;
extern _KLmm_wrapperGVKi_0 KLstandalone_domainGVKeW;
extern _KLlibraryGVKe Kio_libraryYdylan_userVio;
extern _KLclassGVKd KLlibraryGVKe;
extern _KLmm_wrapperGVKi_0 KLlibraryGVKeW;
dylan_value KerrorVKdMM1I (dylan_value, dylan_value);
extern _KLclassGVKd KLtypeGVKd;
extern _KLmm_wrapperGVKi_0 KLtypeGVKdW;
extern _KLincremental_generic_functionGVKe Kslot_initializedQVKd;
extern _KLsealed_generic_functionGVKe Kouter_streamYstreamsVio;
extern _KLkeyword_methodGVKe KinitializeVKdMM1;
extern _KLkeyword_methodGVKe KinitializeVKdMioM0;
extern _KLclassGVKd KLunionGVKe;
extern _KLmm_wrapperGVKi_0 KLunionGVKeW;
dylan_value Kunion_instanceQVKiI (dylan_value, dylan_value);
extern _KLclassGVKd KLlockGYthreadsVdylan;
extern _KLmm_wrapperGVKi_0 KLlockGYthreadsVdylanW;
extern _KLclassGVKd KLsingletonGVKd;
extern _KLmm_wrapperGVKi_0 KLsingletonGVKdW;
dylan_value Ksingleton_pointer_idQ_instanceQVKiI (dylan_value, dylan_value);
extern _KLsymbolGVKd KJouter_stream_;
extern _KLsymbolGVKd KJelement_type_;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LclassG_typesVKi;
dylan_value Kclass_instanceQ_initialVKiI (dylan_value, dylan_value);
extern _KLmoduleGVKe Kstreams_internals_moduleYdylan_userVio;
extern _KLincremental_generic_functionGVKe Klock_streamYstreamsVio;
extern _KLincremental_generic_functionGVKe Kunlock_streamYstreamsVio;
dylan_value KPadd_a_methodVKnI (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLincremental_generic_functionGVKe Kstream_contents_asYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kstream_contentsYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kstream_sizeYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kadjust_stream_positionYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kstream_position_setterYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kstream_positionYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kstream_at_endQYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kstream_element_typeYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kstream_openQYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe KcloseYcommon_extensionsVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kdiscard_outputYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe Ksynchronize_outputYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kforce_outputYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe KwriteYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kwrite_elementYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kdiscard_inputYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kstream_input_availableQYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kread_intoXYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe KreadYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe KpeekYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kunread_elementYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kread_elementYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe KinitializeVKd;
dylan_value KPadd_nonsiblinged_domainVKnI (dylan_value, dylan_value);
extern _KLincremental_generic_functionGVKe KmakeVKd;
extern _KLclassGVKd KLintegerGVKd;
extern _KLmm_wrapperGVKi_0 KLintegerGVKdW;
extern _KLclassGVKd KLmutable_sequenceGVKd;
extern _KLmm_wrapperGVKi_0 KLmutable_sequenceGVKdW;
extern _KLsymbolGVKd KJwaitQ_;
extern _KLsymbolGVKd KJabortQ_;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LtypeG_typesVKi;
extern _KLsymbolGVKd KJfrom_;
extern _KLclassGVKd KLcircular_print_streamGYprint_internalsVio;

/* Defined object declarations */

extern _KLsimple_methodGVKe Kunlock_streamYstreamsVioMM1;
dylan_value Kunlock_streamYstreamsVioMM1I (dylan_value);
extern _KLstandalone_domainGVKe_1 Kunlock_streamYstreamsVioRD_ioRD_0;
extern _KLsimple_methodGVKe Klock_streamYstreamsVioMM1;
dylan_value Klock_streamYstreamsVioMM1I (dylan_value);
extern _KLstandalone_domainGVKe_1 Klock_streamYstreamsVioRD_ioRD_0;
extern _KLsimple_methodGVKe Kstream_lockedQYstreamsVioMM1;
dylan_value Kstream_lockedQYstreamsVioMM1I (dylan_value);
extern _KLsimple_methodGVKe Kstream_sequence_classYstreamsVioMM3;
dylan_value Kstream_sequence_classYstreamsVioMM3I (dylan_value);
extern _KLsimple_methodGVKe Kstream_limitYstreamsVioMM2;
dylan_value Kstream_limitYstreamsVioMM2I (dylan_value);
extern _KLsimple_methodGVKe Kstream_directionYstreams_internalsVioMM1;
dylan_value Kstream_directionYstreams_internalsVioMM1I (dylan_value);
extern _KLclassGVKd KLwrapper_streamGYstreamsVio;
extern _KLmm_wrapperGVKi_0 KLwrapper_streamGYstreamsVioW;
extern _KLsimple_methodGVKe Knew_lineYstreamsVioMM1;
dylan_value Knew_lineYstreamsVioMM1I (dylan_value);
extern _KLkeyword_methodGVKe Kwrite_lineYstreamsVioMM2;
dylan_value Kwrite_lineYstreamsVioMM2I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLkeyword_methodGVKe Kread_line_intoXYstreamsVioMM2;
dylan_value Kread_line_intoXYstreamsVioMM2I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLkeyword_methodGVKe Kread_lineYstreamsVioMM2;
dylan_value Kread_lineYstreamsVioMM2I (dylan_value, dylan_value, dylan_value);
extern _KLkeyword_methodGVKe Kskip_throughYstreamsVioMM1;
dylan_value Kskip_throughYstreamsVioMM1I (dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLsimple_methodGVKe Kread_to_endYstreamsVioMM1;
dylan_value Kread_to_endYstreamsVioMM1I (dylan_value);
extern _KLkeyword_methodGVKe Kread_throughYstreamsVioMM1;
dylan_value Kread_throughYstreamsVioMM1I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLkeyword_methodGVKe Kread_toYstreamsVioMM1;
dylan_value Kread_toYstreamsVioMM1I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLincremental_generic_functionGVKe Kinner_streamYstreamsVio;
extern _KLincremental_generic_functionGVKe Kinner_stream_setterYstreamsVio;
extern _KLinstance_slot_descriptorGVKe KPinner_streamYstreams_internalsVioHLwrapper_streamG;
static _KLsymbolGVKd KJinner_stream_;
extern _KLsealed_generic_functionGVKe KPinner_streamYstreams_internalsVio;
extern _KLsealed_generic_functionGVKe KPinner_stream_setterYstreams_internalsVio;
extern _KLsetter_methodGVKi KPinner_stream_setterYstreams_internalsVioMM0;
static _KLpairGVKd K39;
static _KLbyte_stringGVKd_20 K40;
extern _KLgetter_methodGVKi KPinner_streamYstreams_internalsVioMM0;
static _KLpairGVKd K42;
static _KLbyte_stringGVKd_13 K43;
static _KLbyte_stringGVKd_12 K44;
extern _KLsimple_methodGVKe Kinner_stream_setterYstreamsVioMM0;
dylan_value Kinner_stream_setterYstreamsVioMM0I (dylan_value, dylan_value);
static _KLpairGVKd K47;
static _KLsignatureAvaluesGVKi K48;
static _KLbyte_stringGVKd_19 K49;
static _KLsimple_object_vectorGVKd_2 K50;
static _KLsimple_object_vectorGVKd_1 K51;
extern _KLsimple_methodGVKe Kinner_streamYstreamsVioMM0;
dylan_value Kinner_streamYstreamsVioMM0I (dylan_value);
static _KLpairGVKd K54;
static _KLsignatureAvaluesGVKi K55;
static _KLsimple_object_vectorGVKd_1 K56;
static _KLkeyword_signatureAvaluesGVKi K57;
static _KLsimple_object_vectorGVKd_4 K58;
static _KLsymbolGVKd KJon_end_of_stream_;
static _KLbyte_stringGVKd_16 K60;
static _KLsimple_object_vectorGVKd_2 K61;
static _KLsimple_object_vectorGVKd_2 K62;
static _KLsimple_object_vectorGVKd_2 K63;
static _KLsignatureAvaluesGVKi K64;
static _KLkeyword_signatureAvaluesGVKi K65;
static _KLsimple_object_vectorGVKd_2 K66;
static _KLsimple_object_vectorGVKd_1 K67;
static _KLkeyword_signatureAvaluesGVKi K68;
static _KLsimple_object_vectorGVKd_2 K69;
static _KLsimple_object_vectorGVKd_1 K70;
static _KLkeyword_signatureAvaluesGVKi K71;
static _KLsimple_object_vectorGVKd_6 K72;
static _KLsymbolGVKd KJgrowQ_;
static _KLbyte_stringGVKd_5 K74;
static _KLsimple_object_vectorGVKd_2 K75;
static _KLsimple_object_vectorGVKd_3 K76;
static _KLkeyword_signatureGVKe K77;
static _KLsimple_object_vectorGVKd_4 K78;
static _KLsimple_object_vectorGVKd_2 K79;
static _KLsignatureGVKe K80;
static _KLimplementation_classGVKe K81;
static _KLsimple_object_vectorGVKd_5 K82;
static _KLsimple_object_vectorGVKd_1 K83;
static _KLsimple_object_vectorGVKd_6 K84;
static _KLsimple_object_vectorGVKd_1 K85;
static _KLbyte_stringGVKd_16 K86;
static _KLsignatureAvaluesGVKi K87;
static _KLsignatureGVKe K88;
static _KLsubclassGVKe K89;
static _KLsignatureAvaluesGVKi K90;
static _KLsimple_object_vectorGVKd_1 K91;
static _KLsubclassGVKe K92;
extern _KLclassGVKd KLsimple_wrapper_streamGYstreams_internalsVio;
extern _KLmm_wrapperGVKi_0 KLsimple_wrapper_streamGYstreams_internalsVioW;
static _KLimplementation_classGVKe K95;
extern _KLkeyword_methodGVKe KLsimple_wrapper_streamGZ32ZconstructorYstreams_internalsVioMM0;
dylan_value KLsimple_wrapper_streamGZ32ZconstructorYstreams_internalsVioMM0I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
static _KLsimple_object_vectorGVKd_6 K98;
static _KLbyte_stringGVKd_23 K99;
static _KLunionGVKe K100;
static _KLunionGVKe K101;
static _KLpairGVKd K102;
static _KLpairGVKd K103;
extern _KLkeyword_methodGVKe KinitializeVKdMioM4;
dylan_value KinitializeVKdMioM4I (dylan_value, dylan_value, dylan_value);
static _KLbyte_stringGVKd_15 K106;
static _KLkeyword_signatureGVKe K107;
static _KLsimple_object_vectorGVKd_2 K108;
static _KLsimple_object_vectorGVKd_1 K109;
static _KLsingletonGVKd K110;
static _KLkeyword_signatureAvaluesGVKi K111;
static _KLsimple_object_vectorGVKd_8 K112;
static _KLsymbolGVKd KJstream_lock_;
static _KLbyte_stringGVKd_11 K114;
static _KLsimple_object_vectorGVKd_4 K115;
static _KLsimple_object_vectorGVKd_1 K116;
static _KLbyte_stringGVKd_23 K117;
extern _KLkeyword_methodGVKe Kstream_contents_asYstreams_protocolVcommon_dylanMioM1;
dylan_value Kstream_contents_asYstreams_protocolVcommon_dylanMioM1I (dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLkeyword_methodGVKe Kstream_contentsYstreams_protocolVcommon_dylanMioM1;
dylan_value Kstream_contentsYstreams_protocolVcommon_dylanMioM1I (dylan_value, dylan_value, dylan_value);
extern _KLsimple_methodGVKe Kstream_sizeYstreams_protocolVcommon_dylanMioM1;
dylan_value Kstream_sizeYstreams_protocolVcommon_dylanMioM1I (dylan_value);
extern _KLkeyword_methodGVKe Kadjust_stream_positionYstreams_protocolVcommon_dylanMioM1;
dylan_value Kadjust_stream_positionYstreams_protocolVcommon_dylanMioM1I (dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLsimple_methodGVKe Kstream_position_setterYstreams_protocolVcommon_dylanMioM3;
dylan_value Kstream_position_setterYstreams_protocolVcommon_dylanMioM3I (dylan_value, dylan_value);
extern _KLsimple_methodGVKe Kstream_positionYstreams_protocolVcommon_dylanMioM1;
dylan_value Kstream_positionYstreams_protocolVcommon_dylanMioM1I (dylan_value);
extern _KLsimple_methodGVKe Kstream_at_endQYstreams_protocolVcommon_dylanMioM2;
dylan_value Kstream_at_endQYstreams_protocolVcommon_dylanMioM2I (dylan_value);
extern _KLsimple_methodGVKe Kstream_element_typeYstreams_protocolVcommon_dylanMioM1;
dylan_value Kstream_element_typeYstreams_protocolVcommon_dylanMioM1I (dylan_value);
extern _KLsimple_methodGVKe Kstream_openQYstreams_protocolVcommon_dylanMioM1;
dylan_value Kstream_openQYstreams_protocolVcommon_dylanMioM1I (dylan_value);
extern _KLkeyword_methodGVKe KcloseYcommon_extensionsVcommon_dylanMioM3;
dylan_value KcloseYcommon_extensionsVcommon_dylanMioM3I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLsimple_methodGVKe Kdiscard_outputYstreams_protocolVcommon_dylanMioM1;
dylan_value Kdiscard_outputYstreams_protocolVcommon_dylanMioM1I (dylan_value);
extern _KLsimple_methodGVKe Ksynchronize_outputYstreams_protocolVcommon_dylanMioM1;
dylan_value Ksynchronize_outputYstreams_protocolVcommon_dylanMioM1I (dylan_value);
extern _KLkeyword_methodGVKe Kforce_outputYstreams_protocolVcommon_dylanMioM1;
dylan_value Kforce_outputYstreams_protocolVcommon_dylanMioM1I (dylan_value, dylan_value, dylan_value);
extern _KLkeyword_methodGVKe KwriteYstreams_protocolVcommon_dylanMioM2;
dylan_value KwriteYstreams_protocolVcommon_dylanMioM2I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLsimple_methodGVKe Kwrite_elementYstreams_protocolVcommon_dylanMioM2;
dylan_value Kwrite_elementYstreams_protocolVcommon_dylanMioM2I (dylan_value, dylan_value);
extern _KLsimple_methodGVKe Kdiscard_inputYstreams_protocolVcommon_dylanMioM1;
dylan_value Kdiscard_inputYstreams_protocolVcommon_dylanMioM1I (dylan_value);
extern _KLsimple_methodGVKe Kstream_input_availableQYstreams_protocolVcommon_dylanMioM2;
dylan_value Kstream_input_availableQYstreams_protocolVcommon_dylanMioM2I (dylan_value);
extern _KLkeyword_methodGVKe Kread_intoXYstreams_protocolVcommon_dylanMioM2;
dylan_value Kread_intoXYstreams_protocolVcommon_dylanMioM2I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLkeyword_methodGVKe KreadYstreams_protocolVcommon_dylanMioM2;
dylan_value KreadYstreams_protocolVcommon_dylanMioM2I (dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLkeyword_methodGVKe KpeekYstreams_protocolVcommon_dylanMioM2;
dylan_value KpeekYstreams_protocolVcommon_dylanMioM2I (dylan_value, dylan_value, dylan_value);
extern _KLsimple_methodGVKe Kunread_elementYstreams_protocolVcommon_dylanMioM1;
dylan_value Kunread_elementYstreams_protocolVcommon_dylanMioM1I (dylan_value, dylan_value);
extern _KLkeyword_methodGVKe Kread_elementYstreams_protocolVcommon_dylanMioM2;
dylan_value Kread_elementYstreams_protocolVcommon_dylanMioM2I (dylan_value, dylan_value, dylan_value);
extern _KLstandalone_domainGVKe_1 KinitializeVKdRD_ioRD_2;
extern _KLstandalone_domainGVKe_1 KmakeVKdRD_ioRD_1;
extern _KLkeyword_methodGVKe KmakeVKdMioM2;
dylan_value KmakeVKdMioM2I (dylan_value class_, dylan_value initargs_);
static _KLkeyword_signatureAvaluesGVKi K192;
static _KLsimple_object_vectorGVKd_1 K193;
static _KLsingletonGVKd K194;
static _KLsingletonGVKd K195;
static _KLkeyword_signatureGVKe K196;
static _KLsignatureGVKe K197;
static _KLkeyword_signatureGVKe K198;
static _KLsimple_object_vectorGVKd_2 K199;
static _KLkeyword_signatureGVKe K200;
static _KLsimple_object_vectorGVKd_4 K201;
static _KLsimple_object_vectorGVKd_3 K202;
static _KLsimple_object_vectorGVKd_2 K203;
static _KLsignatureGVKe K204;
static _KLkeyword_signatureGVKe K205;
static _KLsimple_object_vectorGVKd_2 K206;
static _KLsymbolGVKd KJsynchronizeQ_;
static _KLbyte_stringGVKd_12 K208;
static _KLkeyword_signatureGVKe K209;
static _KLsimple_object_vectorGVKd_2 K210;
static _KLsimple_object_vectorGVKd_1 K211;
static _KLkeyword_signatureGVKe K212;
static _KLsimple_object_vectorGVKd_6 K213;
static _KLsimple_object_vectorGVKd_3 K214;
static _KLsignatureAvaluesGVKi K215;
static _KLsignatureGVKe K216;
static _KLsimple_object_vectorGVKd_2 K217;
static _KLkeyword_signatureGVKe K218;
static _KLsimple_object_vectorGVKd_2 K219;
static _KLsimple_object_vectorGVKd_1 K220;
static _KLunionGVKe K221;
static _KLsignatureAvaluesGVKi K222;
static _KLsimple_object_vectorGVKd_1 K223;
static _KLkeyword_signatureAvaluesGVKi K224;
static _KLsimple_object_vectorGVKd_2 K225;
static _KLsymbolGVKd KJclear_contentsQ_;
static _KLbyte_stringGVKd_15 K227;
static _KLsimple_object_vectorGVKd_1 K228;
static _KLkeyword_signatureAvaluesGVKi K229;
static _KLsimple_object_vectorGVKd_2 K230;
static _KLpairGVKd K231;
static _KLpairGVKd K232;

/* Indirection variables */

static dylan_value IKJinner_stream_ = &KJinner_stream_;
static dylan_value IKJon_end_of_stream_ = &KJon_end_of_stream_;
static dylan_value IKJgrowQ_ = &KJgrowQ_;
static dylan_value IKJstream_lock_ = &KJstream_lock_;
static dylan_value IKJsynchronizeQ_ = &KJsynchronizeQ_;
static dylan_value IKJclear_contentsQ_ = &KJclear_contentsQ_;

/* Variables */

dylan_value Lwrapper_streamGYstreamsVio = &KLwrapper_streamGYstreamsVio;
dylan_value Lsimple_wrapper_streamGYstreams_internalsVio = &KLsimple_wrapper_streamGYstreams_internalsVio;
dylan_value inner_streamYstreamsVio = &Kinner_streamYstreamsVio;
dylan_value inner_stream_setterYstreamsVio = &Kinner_stream_setterYstreamsVio;

/* Objects */

_KLsimple_methodGVKe Kunlock_streamYstreamsVioMM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K80,
  &Kunlock_streamYstreamsVioMM1I
};

_KLstandalone_domainGVKe_1 Kunlock_streamYstreamsVioRD_ioRD_0 = {
  &KLstandalone_domainGVKeW /* wrapper */,
  &Kio_libraryYdylan_userVio,
  &KPfalseVKi,
  (dylan_value) 5,
  &KLsimple_wrapper_streamGYstreams_internalsVio
};

_KLsimple_methodGVKe Klock_streamYstreamsVioMM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K80,
  &Klock_streamYstreamsVioMM1I
};

_KLstandalone_domainGVKe_1 Klock_streamYstreamsVioRD_ioRD_0 = {
  &KLstandalone_domainGVKeW /* wrapper */,
  &Kio_libraryYdylan_userVio,
  &KPfalseVKi,
  (dylan_value) 5,
  &KLsimple_wrapper_streamGYstreams_internalsVio
};

_KLsimple_methodGVKe Kstream_lockedQYstreamsVioMM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K87,
  &Kstream_lockedQYstreamsVioMM1I
};

_KLsimple_methodGVKe Kstream_sequence_classYstreamsVioMM3 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K90,
  &Kstream_sequence_classYstreamsVioMM3I
};

_KLsimple_methodGVKe Kstream_limitYstreamsVioMM2 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K88,
  &Kstream_limitYstreamsVioMM2I
};

_KLsimple_methodGVKe Kstream_directionYstreams_internalsVioMM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K87,
  &Kstream_directionYstreams_internalsVioMM1I
};

_KLclassGVKd KLwrapper_streamGYstreamsVio = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_rcpl_single_smallVKiI,
  &K86,
  &K81,
  (dylan_value) 1,
  &Kstreams_moduleYdylan_userVio
};

_KLmm_wrapperGVKi_0 KLwrapper_streamGYstreamsVioW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K81,
  (dylan_value) 1,
  21,
  33554439,
  (dylan_value) 1
};

_KLsimple_methodGVKe Knew_lineYstreamsVioMM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K80,
  &Knew_lineYstreamsVioMM1I
};

_KLkeyword_methodGVKe Kwrite_lineYstreamsVioMM2 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K77,
  &key_mep_5,
  &Kwrite_lineYstreamsVioMM2I,
  &K78
};

_KLkeyword_methodGVKe Kread_line_intoXYstreamsVioMM2 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_6,
  &K71,
  &key_mep_6,
  &Kread_line_intoXYstreamsVioMM2I,
  &K72
};

_KLkeyword_methodGVKe Kread_lineYstreamsVioMM2 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_3,
  &K68,
  &key_mep_3,
  &Kread_lineYstreamsVioMM2I,
  &K69
};

_KLkeyword_methodGVKe Kskip_throughYstreamsVioMM1 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K65,
  &key_mep_4,
  &Kskip_throughYstreamsVioMM1I,
  &K66
};

_KLsimple_methodGVKe Kread_to_endYstreamsVioMM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K64,
  &Kread_to_endYstreamsVioMM1I
};

_KLkeyword_methodGVKe Kread_throughYstreamsVioMM1 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K57,
  &key_mep_5,
  &Kread_throughYstreamsVioMM1I,
  &K58
};

_KLkeyword_methodGVKe Kread_toYstreamsVioMM1 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K57,
  &key_mep_5,
  &Kread_toYstreamsVioMM1I,
  &K58
};

_KLincremental_generic_functionGVKe Kinner_streamYstreamsVio = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &K55,
  (dylan_value) 1,
  &K44,
  &K54,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kstreams_moduleYdylan_userVio,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) 25
};

_KLincremental_generic_functionGVKe Kinner_stream_setterYstreamsVio = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &K48,
  (dylan_value) 1,
  &K49,
  &K47,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kstreams_moduleYdylan_userVio,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) 25
};

_KLinstance_slot_descriptorGVKe KPinner_streamYstreams_internalsVioHLwrapper_streamG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (dylan_value) 193,
  &KPfalseVKi,
  &KLwrapper_streamGYstreamsVio,
  &KJinner_stream_,
  &KPinner_streamYstreams_internalsVio,
  &KPinner_stream_setterYstreams_internalsVio,
  &KLstreamGYcommon_extensionsVcommon_dylan
};

static _KLsymbolGVKd KJinner_stream_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K44
};

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

_KLsealed_generic_functionGVKe KPinner_stream_setterYstreams_internalsVio = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &KDsignature_LobjectG_object_rest_value_2VKi,
  &KPfalseVKi,
  &K40,
  &K39,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsetter_methodGVKi KPinner_stream_setterYstreams_internalsVioMM0 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &KPinner_streamYstreams_internalsVioHLwrapper_streamG
};

static _KLpairGVKd K39 = {
  &KLpairGVKdW /* wrapper */,
  &KPinner_stream_setterYstreams_internalsVioMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_20 K40 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 81,
  "%inner-stream-setter"
};

_KLgetter_methodGVKi KPinner_streamYstreams_internalsVioMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &KPinner_streamYstreams_internalsVioHLwrapper_streamG
};

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

static _KLbyte_stringGVKd_13 K43 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 53,
  "%inner-stream"
};

static _KLbyte_stringGVKd_12 K44 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 49,
  "inner-stream"
};

_KLsimple_methodGVKe Kinner_stream_setterYstreamsVioMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K48,
  &Kinner_stream_setterYstreamsVioMM0I
};

static _KLpairGVKd K47 = {
  &KLpairGVKdW /* wrapper */,
  &Kinner_stream_setterYstreamsVioMM0,
  &KPempty_listVKi
};

static _KLsignatureAvaluesGVKi K48 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555465,
  &K50,
  &K51
};

static _KLbyte_stringGVKd_19 K49 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 77,
  "inner-stream-setter"
};

static _KLsimple_object_vectorGVKd_2 K50 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KLstreamGYcommon_extensionsVcommon_dylan,
  &KLwrapper_streamGYstreamsVio
};

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

_KLsimple_methodGVKe Kinner_streamYstreamsVioMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K55,
  &Kinner_streamYstreamsVioMM0I
};

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

static _KLsignatureAvaluesGVKi K55 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555461,
  &K56,
  &K51
};

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

static _KLkeyword_signatureAvaluesGVKi K57 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 34867209,
  &K61,
  &K62,
  &KDsignature_LobjectG_typesVKi,
  &K63
};

static _KLsimple_object_vectorGVKd_4 K58 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 17,
  &KJon_end_of_stream_,
  &KPfalseVKi,
  &KJtest_,
  &KPfalseVKi
};

static _KLsymbolGVKd KJon_end_of_stream_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K60
};

static _KLbyte_stringGVKd_16 K60 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 65,
  "on-end-of-stream"
};

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

static _KLsimple_object_vectorGVKd_2 K62 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KJon_end_of_stream_,
  &KJtest_
};

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

static _KLsignatureAvaluesGVKi K64 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555461,
  &K56,
  &KDsignature_LsequenceG_typesVKi
};

static _KLkeyword_signatureAvaluesGVKi K65 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 34866185,
  &K61,
  &K67,
  &KDsignature_LobjectG_typesVKi,
  &KDsignature_LbooleanG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K66 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KJtest_,
  &KPfalseVKi
};

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

static _KLkeyword_signatureAvaluesGVKi K68 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 34867205,
  &K56,
  &K70,
  &KDsignature_LobjectG_typesVKi,
  &K63
};

static _KLsimple_object_vectorGVKd_2 K69 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KJon_end_of_stream_,
  &KPfalseVKi
};

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

static _KLkeyword_signatureAvaluesGVKi K71 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 34867209,
  &K75,
  &K76,
  &KDsignature_LobjectG_typesVKi,
  &K63
};

static _KLsimple_object_vectorGVKd_6 K72 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 25,
  &KJstart_,
  &KPfalseVKi,
  &KJon_end_of_stream_,
  &KPfalseVKi,
  &KJgrowQ_,
  &KPfalseVKi
};

static _KLsymbolGVKd KJgrowQ_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K74
};

static _KLbyte_stringGVKd_5 K74 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 21,
  "grow?"
};

static _KLsimple_object_vectorGVKd_2 K75 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KLwrapper_streamGYstreamsVio,
  &KLstringGVKd
};

static _KLsimple_object_vectorGVKd_3 K76 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 13,
  &KJstart_,
  &KJon_end_of_stream_,
  &KJgrowQ_
};

static _KLkeyword_signatureGVKe K77 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (dylan_value) 43253769,
  &K75,
  &K79,
  &KDsignature_LobjectG_typesVKi
};

static _KLsimple_object_vectorGVKd_4 K78 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 17,
  &KJstart_,
  &KPfalseVKi,
  &KJend_,
  &KPfalseVKi
};

static _KLsimple_object_vectorGVKd_2 K79 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KJstart_,
  &KJend_
};

static _KLsignatureGVKe K80 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 41943045,
  &K56
};

static _KLimplementation_classGVKe K81 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (dylan_value) 325845013,
  &KLwrapper_streamGYstreamsVio,
  &KLwrapper_streamGYstreamsVioW,
  &KPfalseVKi,
  &K82,
  (dylan_value) -3,
  &Kdefault_class_constructorVKi,
  &K83,
  &K84,
  (dylan_value) 17,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &K231,
  &KPempty_vectorVKi,
  &K85,
  &K82,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_5 K82 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 21,
  &Kouter_streamYstreamsVioHLbasic_streamG,
  &Kprivate_stream_element_type_valueYstreams_internalsVioHLbasic_streamG,
  &Kprivate_stream_direction_valueYstreams_internalsVioHLbasic_streamG,
  &Kprivate_stream_lock_valueYstreams_internalsVioHLbasic_streamG,
  &KPinner_streamYstreams_internalsVioHLwrapper_streamG
};

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

static _KLsimple_object_vectorGVKd_6 K84 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 25,
  &KLobjectGVKd,
  &KLclosable_objectGYcommon_extensionsVcommon_dylan,
  &KLstreamGYcommon_extensionsVcommon_dylan,
  &KLbasic_streamGYstreamsVio,
  &KLwrapper_streamGYstreamsVio,
  &KPfalseVKi
};

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

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

static _KLsignatureAvaluesGVKi K87 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555461,
  &K56,
  &KDsignature_LbooleanG_typesVKi
};

static _KLsignatureGVKe K88 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 41944069,
  &K56
};

static _KLsubclassGVKe K89 = {
  &KLsubclassGVKeW /* wrapper */,
  &Ksubclass_instanceQVKiI,
  &KLsequenceGVKd
};

static _KLsignatureAvaluesGVKi K90 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555461,
  &K56,
  &K91
};

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

static _KLsubclassGVKe K92 = {
  &KLsubclassGVKeW /* wrapper */,
  &Ksubclass_instanceQVKiI,
  &KLsequenceGVKd
};

_KLclassGVKd KLsimple_wrapper_streamGYstreams_internalsVio = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K117,
  &K95,
  (dylan_value) 1,
  &Kstreams_internals_moduleYdylan_userVio
};

_KLmm_wrapperGVKi_0 KLsimple_wrapper_streamGYstreams_internalsVioW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K95,
  (dylan_value) 1,
  21,
  33554439,
  (dylan_value) 1
};

static _KLimplementation_classGVKe K95 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (dylan_value) 477102101,
  &KLsimple_wrapper_streamGYstreams_internalsVio,
  &KLsimple_wrapper_streamGYstreams_internalsVioW,
  &KPfalseVKi,
  &K82,
  (dylan_value) -3,
  &KLsimple_wrapper_streamGZ32ZconstructorYstreams_internalsVioMM0,
  &K56,
  &K98,
  (dylan_value) 21,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K82,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

_KLkeyword_methodGVKe KLsimple_wrapper_streamGZ32ZconstructorYstreams_internalsVioMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_6,
  &K111,
  &key_mep_2,
  &KLsimple_wrapper_streamGZ32ZconstructorYstreams_internalsVioMM0I,
  &K112
};

static _KLsimple_object_vectorGVKd_6 K98 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 25,
  &KLobjectGVKd,
  &KLclosable_objectGYcommon_extensionsVcommon_dylan,
  &KLstreamGYcommon_extensionsVcommon_dylan,
  &KLbasic_streamGYstreamsVio,
  &KLwrapper_streamGYstreamsVio,
  &KLsimple_wrapper_streamGYstreams_internalsVio
};

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

static _KLunionGVKe K100 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K110,
  &KLstreamGYcommon_extensionsVcommon_dylan
};

static _KLunionGVKe K101 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K110,
  &KLlockGYthreadsVdylan
};

static _KLpairGVKd K102 = {
  &KLpairGVKdW /* wrapper */,
  &KinitializeVKdMioM0,
  &K103
};

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

_KLkeyword_methodGVKe KinitializeVKdMioM4 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_3,
  &K107,
  &key_mep_3,
  &KinitializeVKdMioM4I,
  &K108
};

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

static _KLkeyword_signatureGVKe K107 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (dylan_value) 46399493,
  &K56,
  &K109,
  &KDsignature_LobjectG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K108 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KJinner_stream_,
  &KPfalseVKi
};

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

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

static _KLkeyword_signatureAvaluesGVKi K111 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 35390469,
  &KDsignature_LclassG_typesVKi,
  &K115,
  &KDsignature_LobjectG_typesVKi,
  &K116
};

static _KLsimple_object_vectorGVKd_8 K112 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 33,
  &KJouter_stream_,
  &KPunboundVKi,
  &KJelement_type_,
  &KLobjectGVKd,
  &KJstream_lock_,
  &KPfalseVKi,
  &KJinner_stream_,
  &KPunboundVKi
};

static _KLsymbolGVKd KJstream_lock_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K114
};

static _KLbyte_stringGVKd_11 K114 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 45,
  "stream-lock"
};

static _KLsimple_object_vectorGVKd_4 K115 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 17,
  &KJouter_stream_,
  &KJelement_type_,
  &KJstream_lock_,
  &KJinner_stream_
};

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

static _KLbyte_stringGVKd_23 K117 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 93,
  "<simple-wrapper-stream>"
};

_KLkeyword_methodGVKe Kstream_contents_asYstreams_protocolVcommon_dylanMioM1 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K229,
  &key_mep_4,
  &Kstream_contents_asYstreams_protocolVcommon_dylanMioM1I,
  &K225
};

_KLkeyword_methodGVKe Kstream_contentsYstreams_protocolVcommon_dylanMioM1 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_3,
  &K224,
  &key_mep_3,
  &Kstream_contentsYstreams_protocolVcommon_dylanMioM1I,
  &K225
};

_KLsimple_methodGVKe Kstream_sizeYstreams_protocolVcommon_dylanMioM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K222,
  &Kstream_sizeYstreams_protocolVcommon_dylanMioM1I
};

_KLkeyword_methodGVKe Kadjust_stream_positionYstreams_protocolVcommon_dylanMioM1 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K218,
  &key_mep_4,
  &Kadjust_stream_positionYstreams_protocolVcommon_dylanMioM1I,
  &K219
};

_KLsimple_methodGVKe Kstream_position_setterYstreams_protocolVcommon_dylanMioM3 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K216,
  &Kstream_position_setterYstreams_protocolVcommon_dylanMioM3I
};

_KLsimple_methodGVKe Kstream_positionYstreams_protocolVcommon_dylanMioM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K88,
  &Kstream_positionYstreams_protocolVcommon_dylanMioM1I
};

_KLsimple_methodGVKe Kstream_at_endQYstreams_protocolVcommon_dylanMioM2 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K87,
  &Kstream_at_endQYstreams_protocolVcommon_dylanMioM2I
};

_KLsimple_methodGVKe Kstream_element_typeYstreams_protocolVcommon_dylanMioM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K215,
  &Kstream_element_typeYstreams_protocolVcommon_dylanMioM1I
};

_KLsimple_methodGVKe Kstream_openQYstreams_protocolVcommon_dylanMioM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K87,
  &Kstream_openQYstreams_protocolVcommon_dylanMioM1I
};

_KLkeyword_methodGVKe KcloseYcommon_extensionsVcommon_dylanMioM3 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K212,
  &key_mep_5,
  &KcloseYcommon_extensionsVcommon_dylanMioM3I,
  &K213
};

_KLsimple_methodGVKe Kdiscard_outputYstreams_protocolVcommon_dylanMioM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K80,
  &Kdiscard_outputYstreams_protocolVcommon_dylanMioM1I
};

_KLsimple_methodGVKe Ksynchronize_outputYstreams_protocolVcommon_dylanMioM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K80,
  &Ksynchronize_outputYstreams_protocolVcommon_dylanMioM1I
};

_KLkeyword_methodGVKe Kforce_outputYstreams_protocolVcommon_dylanMioM1 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_3,
  &K209,
  &key_mep_3,
  &Kforce_outputYstreams_protocolVcommon_dylanMioM1I,
  &K210
};

_KLkeyword_methodGVKe KwriteYstreams_protocolVcommon_dylanMioM2 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K205,
  &key_mep_5,
  &KwriteYstreams_protocolVcommon_dylanMioM2I,
  &K78
};

_KLsimple_methodGVKe Kwrite_elementYstreams_protocolVcommon_dylanMioM2 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K204,
  &Kwrite_elementYstreams_protocolVcommon_dylanMioM2I
};

_KLsimple_methodGVKe Kdiscard_inputYstreams_protocolVcommon_dylanMioM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K80,
  &Kdiscard_inputYstreams_protocolVcommon_dylanMioM1I
};

_KLsimple_methodGVKe Kstream_input_availableQYstreams_protocolVcommon_dylanMioM2 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K87,
  &Kstream_input_availableQYstreams_protocolVcommon_dylanMioM2I
};

_KLkeyword_methodGVKe Kread_intoXYstreams_protocolVcommon_dylanMioM2 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_6,
  &K200,
  &key_mep_6,
  &Kread_intoXYstreams_protocolVcommon_dylanMioM2I,
  &K201
};

_KLkeyword_methodGVKe KreadYstreams_protocolVcommon_dylanMioM2 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K198,
  &key_mep_4,
  &KreadYstreams_protocolVcommon_dylanMioM2I,
  &K69
};

_KLkeyword_methodGVKe KpeekYstreams_protocolVcommon_dylanMioM2 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_3,
  &K196,
  &key_mep_3,
  &KpeekYstreams_protocolVcommon_dylanMioM2I,
  &K69
};

_KLsimple_methodGVKe Kunread_elementYstreams_protocolVcommon_dylanMioM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K197,
  &Kunread_elementYstreams_protocolVcommon_dylanMioM1I
};

_KLkeyword_methodGVKe Kread_elementYstreams_protocolVcommon_dylanMioM2 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_3,
  &K196,
  &key_mep_3,
  &Kread_elementYstreams_protocolVcommon_dylanMioM2I,
  &K69
};

_KLstandalone_domainGVKe_1 KinitializeVKdRD_ioRD_2 = {
  &KLstandalone_domainGVKeW /* wrapper */,
  &Kio_libraryYdylan_userVio,
  &KPfalseVKi,
  (dylan_value) 5,
  &KLsimple_wrapper_streamGYstreams_internalsVio
};

_KLstandalone_domainGVKe_1 KmakeVKdRD_ioRD_1 = {
  &KLstandalone_domainGVKeW /* wrapper */,
  &Kio_libraryYdylan_userVio,
  &KPfalseVKi,
  (dylan_value) 5,
  &K195
};

_KLkeyword_methodGVKe KmakeVKdMioM2 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_2,
  &K192,
  &key_mep_2,
  &KmakeVKdMioM2I,
  &KPempty_vectorVKi
};

static _KLkeyword_signatureAvaluesGVKi K192 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 34866181,
  &K193,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K116
};

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

static _KLsingletonGVKd K194 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KLwrapper_streamGYstreamsVio
};

static _KLsingletonGVKd K195 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KLsimple_wrapper_streamGYstreams_internalsVio
};

static _KLkeyword_signatureGVKe K196 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (dylan_value) 43254789,
  &K56,
  &K70,
  &KDsignature_LobjectG_typesVKi
};

static _KLsignatureGVKe K197 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 41944073,
  &K61
};

static _KLkeyword_signatureGVKe K198 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (dylan_value) 43254793,
  &K199,
  &K70,
  &KDsignature_LobjectG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K199 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KLwrapper_streamGYstreamsVio,
  &KLintegerGVKd
};

static _KLkeyword_signatureGVKe K200 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (dylan_value) 43254797,
  &K202,
  &K203,
  &KDsignature_LobjectG_typesVKi
};

static _KLsimple_object_vectorGVKd_4 K201 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 17,
  &KJstart_,
  &KPfalseVKi,
  &KJon_end_of_stream_,
  &KPfalseVKi
};

static _KLsimple_object_vectorGVKd_3 K202 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 13,
  &KLwrapper_streamGYstreamsVio,
  &KLintegerGVKd,
  &KLmutable_sequenceGVKd
};

static _KLsimple_object_vectorGVKd_2 K203 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KJstart_,
  &KJon_end_of_stream_
};

static _KLsignatureGVKe K204 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 41943049,
  &K61
};

static _KLkeyword_signatureGVKe K205 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (dylan_value) 43253769,
  &K206,
  &K79,
  &KDsignature_LobjectG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K206 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KLwrapper_streamGYstreamsVio,
  &KLsequenceGVKd
};

static _KLsymbolGVKd KJsynchronizeQ_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K208
};

static _KLbyte_stringGVKd_12 K208 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 49,
  "synchronize?"
};

static _KLkeyword_signatureGVKe K209 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (dylan_value) 42205189,
  &K56,
  &K211,
  &KDsignature_LobjectG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K210 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KJsynchronizeQ_,
  &KPfalseVKi
};

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

static _KLkeyword_signatureGVKe K212 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (dylan_value) 43253765,
  &K56,
  &K214,
  &KDsignature_LobjectG_typesVKi
};

static _KLsimple_object_vectorGVKd_6 K213 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 25,
  &KJwaitQ_,
  &KPfalseVKi,
  &KJsynchronizeQ_,
  &KPfalseVKi,
  &KJabortQ_,
  &KPfalseVKi
};

static _KLsimple_object_vectorGVKd_3 K214 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 13,
  &KJwaitQ_,
  &KJsynchronizeQ_,
  &KJabortQ_
};

static _KLsignatureAvaluesGVKi K215 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555461,
  &K56,
  &KDsignature_LtypeG_typesVKi
};

static _KLsignatureGVKe K216 = {
  &KLsignatureGVKeW /* wrapper */,
  (dylan_value) 41944073,
  &K217
};

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

static _KLkeyword_signatureGVKe K218 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (dylan_value) 43254793,
  &K199,
  &K220,
  &KDsignature_LobjectG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K219 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KJfrom_,
  &KPfalseVKi
};

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

static _KLunionGVKe K221 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K110,
  &KLintegerGVKd
};

static _KLsignatureAvaluesGVKi K222 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555461,
  &K56,
  &K223
};

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

static _KLkeyword_signatureAvaluesGVKi K224 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 34866181,
  &K56,
  &K228,
  &KDsignature_LobjectG_typesVKi,
  &KDsignature_LsequenceG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K225 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KJclear_contentsQ_,
  &KPfalseVKi
};

static _KLsymbolGVKd KJclear_contentsQ_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K227
};

static _KLbyte_stringGVKd_15 K227 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 61,
  "clear-contents?"
};

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

static _KLkeyword_signatureAvaluesGVKi K229 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 34866185,
  &K230,
  &K228,
  &KDsignature_LobjectG_typesVKi,
  &KDsignature_LsequenceG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K230 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 9,
  &KLtypeGVKd,
  &KLwrapper_streamGYstreamsVio
};

static _KLpairGVKd K231 = {
  &KLpairGVKdW /* wrapper */,
  &KLcircular_print_streamGYprint_internalsVio,
  &K232
};

static _KLpairGVKd K232 = {
  &KLpairGVKdW /* wrapper */,
  &KLsimple_wrapper_streamGYstreams_internalsVio,
  &KPempty_listVKi
};

/* Code */

dylan_value Kunlock_streamYstreamsVioMM1I (dylan_value stream_) {
  dylan_value T2;
  dylan_value T3;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:283
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:285
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T2 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:285
  CONGRUENT_CALL_PROLOG(&Kunlock_streamYstreamsVio, 1);
  T3 = CONGRUENT_CALL1(T2);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:283
  MV_SET_COUNT(0);
  return(T3);
}

dylan_value Klock_streamYstreamsVioMM1I (dylan_value stream_) {
  dylan_value T2;
  dylan_value T3;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:278
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:280
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T2 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:280
  CONGRUENT_CALL_PROLOG(&Klock_streamYstreamsVio, 1);
  T3 = CONGRUENT_CALL1(T2);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:278
  MV_SET_COUNT(0);
  return(T3);
}

dylan_value Kstream_lockedQYstreamsVioMM1I (dylan_value stream_) {
  dylan_value T2;
  dylan_value T3_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:273
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:275
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T2 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:275
  CONGRUENT_CALL_PROLOG(&Kstream_lockedQYstreamsVio, 1);
  T3_0 = CONGRUENT_CALL1(T2);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:273
  MV_SET_COUNT(1);
  return(T3_0);
}

dylan_value Kstream_sequence_classYstreamsVioMM3I (dylan_value stream_) {
  dylan_value T2;
  dylan_value T3_0;
  dylan_value T4_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:290
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:292
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T2 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:292
  CONGRUENT_CALL_PROLOG(&Kstream_sequence_classYstreamsVio, 1);
  T3_0 = CONGRUENT_CALL1(T2);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:290
  T4_0 = T3_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T3_0);
    primitive_type_check(T4_0, &K89);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:290
  MV_SET_COUNT(1);
  return(T4_0);
}

dylan_value Kstream_limitYstreamsVioMM2I (dylan_value stream_) {
  dylan_value T2;
  dylan_value T3_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:298
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:300
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T2 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:300
  CONGRUENT_CALL_PROLOG(&Kstream_limitYstreamsVio, 1);
  T3_0 = CONGRUENT_CALL1(T2);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:298
  MV_SET_COUNT(1);
  return(T3_0);
}

dylan_value Kstream_directionYstreams_internalsVioMM1I (dylan_value stream_) {
  dylan_value T2;
  dylan_value T3_0;
  dylan_value T4_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:225
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:227
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T2 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:227
  CONGRUENT_CALL_PROLOG(&Kstream_directionYstreams_internalsVio, 1);
  T3_0 = CONGRUENT_CALL1(T2);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:225
  T4_0 = T3_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T3_0);
    primitive_type_check(T4_0, &KLbooleanGVKd);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:225
  MV_SET_COUNT(1);
  return(T4_0);
}

dylan_value Knew_lineYstreamsVioMM1I (dylan_value stream_) {
  dylan_value T2;
  dylan_value T3;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:197
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:198
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T2 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:198
  CONGRUENT_CALL_PROLOG(&Knew_lineYstreamsVio, 1);
  T3 = CONGRUENT_CALL1(T2);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:197
  MV_SET_COUNT(0);
  return(T3);
}

dylan_value Kwrite_lineYstreamsVioMM2I (dylan_value stream_, dylan_value string_, dylan_value keys_, dylan_value Ustart_, dylan_value Uend_) {
  dylan_value T6;
  dylan_value T7;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:190
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:194
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T6 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:194
  T7 = APPLY3(&Kwrite_lineYstreamsVio, T6, string_, keys_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:190
  MV_SET_COUNT(0);
  return(T7);
}

dylan_value Kread_line_intoXYstreamsVioMM2I (dylan_value stream_, dylan_value string_, dylan_value keys_, dylan_value start_, dylan_value on_end_of_stream_, dylan_value growQ_) {
  dylan_value T7;
  dylan_value T8_0;
  dylan_value T8_1;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:182
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:187
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T7 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:187
  T8_0 = APPLY3(&Kread_line_intoXYstreamsVio, T7, string_, keys_);
  T8_1 = MV_GET_ELT(1);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:182
  MV_SET_ELT(1, T8_1);
  MV_SET_COUNT(2);
  return(T8_0);
}

dylan_value Kread_lineYstreamsVioMM2I (dylan_value stream_, dylan_value keys_, dylan_value on_end_of_stream_) {
  dylan_value T4;
  dylan_value T5_0;
  dylan_value T5_1;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:175
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:179
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T4 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:179
  T5_0 = APPLY2(&Kread_lineYstreamsVio, T4, keys_);
  T5_1 = MV_GET_ELT(1);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:175
  MV_SET_ELT(1, T5_1);
  MV_SET_COUNT(2);
  return(T5_0);
}

dylan_value Kskip_throughYstreamsVioMM1I (dylan_value stream_, dylan_value elt_, dylan_value keys_, dylan_value test_) {
  dylan_value T5;
  dylan_value T6_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:165
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:169
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T5 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:169
  T6_0 = APPLY3(&Kskip_throughYstreamsVio, T5, elt_, keys_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:165
  MV_SET_COUNT(1);
  return(T6_0);
}

dylan_value Kread_to_endYstreamsVioMM1I (dylan_value stream_) {
  dylan_value T2;
  dylan_value T3_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:159
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:162
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T2 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:162
  CONGRUENT_CALL_PROLOG(&Kread_to_endYstreamsVio, 1);
  T3_0 = CONGRUENT_CALL1(T2);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:159
  MV_SET_COUNT(1);
  return(T3_0);
}

dylan_value Kread_throughYstreamsVioMM1I (dylan_value stream_, dylan_value elt_, dylan_value keys_, dylan_value on_end_of_stream_, dylan_value test_) {
  dylan_value T6;
  dylan_value T7_0;
  dylan_value T7_1;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:152
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:156
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T6 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:156
  T7_0 = APPLY3(&Kread_throughYstreamsVio, T6, elt_, keys_);
  T7_1 = MV_GET_ELT(1);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:152
  MV_SET_ELT(1, T7_1);
  MV_SET_COUNT(2);
  return(T7_0);
}

dylan_value Kread_toYstreamsVioMM1I (dylan_value stream_, dylan_value elt_, dylan_value keys_, dylan_value on_end_of_stream_, dylan_value test_) {
  dylan_value T6;
  dylan_value T7_0;
  dylan_value T7_1;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:145
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:149
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T6 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:149
  T7_0 = APPLY3(&Kread_toYstreamsVio, T6, elt_, keys_);
  T7_1 = MV_GET_ELT(1);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:145
  MV_SET_ELT(1, T7_1);
  MV_SET_COUNT(2);
  return(T7_0);
}

dylan_value Kinner_stream_setterYstreamsVioMM0I (dylan_value stream_, dylan_value wrapper_stream_) {
  dylan_value T3_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:43
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:46
  SLOT_VALUE_SETTER(stream_, wrapper_stream_, 4);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:47
  CALL2(&Kouter_stream_setterYstreamsVio, wrapper_stream_, stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:48
  T3_0 = stream_;
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:43
  MV_SET_COUNT(1);
  return(T3_0);
}

dylan_value Kinner_streamYstreamsVioMM0I (dylan_value wrapper_stream_) {
  dylan_value T2;
  dylan_value T3_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:34
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:36
  T2 = SLOT_VALUE_INITD(wrapper_stream_, 4);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:36
  T3_0 = T2;
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:34
  MV_SET_COUNT(1);
  return(T3_0);
}

dylan_value KLsimple_wrapper_streamGZ32ZconstructorYstreams_internalsVioMM0I (dylan_value class_, dylan_value init_args_, dylan_value Uunique_outer_stream_, dylan_value Uunique_private_stream_element_type_value_, dylan_value Uunique_private_stream_lock_value_, dylan_value Uunique_Pinner_stream_) {
  dylan_value T7;
  dylan_value Uunique_Pinner_streamF8;
  dylan_value T9;
  dylan_value Uunique_outer_streamF10;
  dylan_value Uunique_outer_streamF11;
  dylan_value Uunique_private_stream_element_type_valueF12;
  dylan_value Uunique_private_stream_lock_valueF13;
  dylan_value Uunique_Pinner_streamF14;
  dylan_value T15_0;
  dylan_value T16;
  _KLsimple_object_vectorGVKd_1 T17 = {&KLsimple_object_vectorGVKdW, (dylan_value) 5};
  dylan_value T18;
  dylan_value T19;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:16
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:16
  T16 = primitive_idQ(Uunique_Pinner_stream_,&KPunboundVKi);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:16
  if (T16 != &KPfalseVKi) {
    T17.vector_element_[0] = IKJinner_stream_;
    T18 = KerrorVKdMM1I(&K99, &T17);
    // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:16
    T7 = T18;
    Uunique_Pinner_streamF8 = T7;
  } else {
    Uunique_Pinner_streamF8 = Uunique_Pinner_stream_;
  }
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:16
  T9 = primitive_object_allocate_filled(6,&KLsimple_wrapper_streamGYstreams_internalsVioW,5,&KPunboundVKi,0,0,&KPunboundVKi);
  T19 = primitive_idQ(Uunique_outer_stream_,&KPunboundVKi);
  if (T19 != &KPfalseVKi) {
    Uunique_outer_streamF11 = Uunique_outer_stream_;
  } else {
    primitive_type_check(Uunique_outer_stream_, &K100);
    Uunique_outer_streamF10 = Uunique_outer_stream_;
    Uunique_outer_streamF11 = Uunique_outer_streamF10;
  }
  SLOT_VALUE_SETTER(Uunique_outer_streamF11, T9, 0);
  primitive_type_check(Uunique_private_stream_element_type_value_, &KLtypeGVKd);
  Uunique_private_stream_element_type_valueF12 = Uunique_private_stream_element_type_value_;
  SLOT_VALUE_SETTER(Uunique_private_stream_element_type_valueF12, T9, 1);
  SLOT_VALUE_SETTER(&KPunboundVKi, T9, 2);
  primitive_type_check(Uunique_private_stream_lock_value_, &K101);
  Uunique_private_stream_lock_valueF13 = Uunique_private_stream_lock_value_;
  SLOT_VALUE_SETTER(Uunique_private_stream_lock_valueF13, T9, 3);
  primitive_type_check(Uunique_Pinner_streamF8, &KLstreamGYcommon_extensionsVcommon_dylan);
  Uunique_Pinner_streamF14 = Uunique_Pinner_streamF8;
  SLOT_VALUE_SETTER(Uunique_Pinner_streamF14, T9, 4);
  MEP_APPLY2(&KinitializeVKdMioM4, &K102, T9, init_args_);
  T15_0 = T9;
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:16
  MV_SET_COUNT(1);
  return(T15_0);
}

dylan_value KinitializeVKdMioM4I (dylan_value wrapper_stream_, dylan_value Urest_, dylan_value stream_) {
  dylan_value T4;
  dylan_value T5;
  dylan_value T6;
  dylan_value T7;
  dylan_value T8;
  dylan_value T9;
  dylan_value T10;
  dylan_value T11;
  dylan_value T12;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:51
  T9 = primitive_copy_vector(Urest_);
  T8 = primitive_next_methods_parameter();
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:53
  T10 = primitive_idQ(T8,&KPempty_listVKi);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:53
  if (T10 != &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:53
    KerrorVKdMM1I(&K106, &KPempty_vectorVKi);
  } else {
    // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:53
    T11 = SLOT_VALUE_INITD(T8, 0);
    // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:53
    T12 = SLOT_VALUE_INITD(T8, 1);
    // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:53
    MEP_CALL_PROLOG(T11, T12, 2);
    MEP_CALL2(T11, wrapper_stream_, T9);
  }
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:53
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:54
  CALL2(&Kouter_stream_setterYstreamsVio, wrapper_stream_, stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:55
  CONGRUENT_CALL_PROLOG(&Kslot_initializedQVKd, 2);
  T4 = CONGRUENT_CALL2(wrapper_stream_, &Kouter_streamYstreamsVio);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:55
  if (T4 != &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:55
    T6 = &KPfalseVKi;
    T7 = T6;
  } else {
    // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:56
    SLOT_VALUE_SETTER(wrapper_stream_, wrapper_stream_, 0);
    // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:56
    T5 = &KPfalseVKi;
    T7 = T5;
  }
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:55
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:51
  MV_SET_COUNT(0);
  return(T7);
}

dylan_value Kstream_contents_asYstreams_protocolVcommon_dylanMioM1I (dylan_value type_, dylan_value stream_, dylan_value keys_, dylan_value clear_contentsQ_) {
  dylan_value T5;
  dylan_value T6_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:263
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:267
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T5 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:267
  T6_0 = APPLY3(&Kstream_contents_asYstreams_protocolVcommon_dylan, type_, T5, keys_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:263
  MV_SET_COUNT(1);
  return(T6_0);
}

dylan_value Kstream_contentsYstreams_protocolVcommon_dylanMioM1I (dylan_value stream_, dylan_value keys_, dylan_value clear_contentsQ_) {
  dylan_value T4;
  dylan_value T5_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:256
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:260
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T4 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:260
  T5_0 = APPLY2(&Kstream_contentsYstreams_protocolVcommon_dylan, T4, keys_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:256
  MV_SET_COUNT(1);
  return(T5_0);
}

dylan_value Kstream_sizeYstreams_protocolVcommon_dylanMioM1I (dylan_value stream_) {
  dylan_value T2;
  dylan_value T3_0;
  dylan_value T4_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:251
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:253
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T2 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:253
  CONGRUENT_CALL_PROLOG(&Kstream_sizeYstreams_protocolVcommon_dylan, 1);
  T3_0 = CONGRUENT_CALL1(T2);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:251
  T4_0 = T3_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T3_0);
    primitive_type_check(T4_0, &K221);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:251
  MV_SET_COUNT(1);
  return(T4_0);
}

dylan_value Kadjust_stream_positionYstreams_protocolVcommon_dylanMioM1I (dylan_value stream_, dylan_value delta_, dylan_value keys_, dylan_value from_) {
  dylan_value T5;
  dylan_value T6_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:244
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:248
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T5 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:248
  T6_0 = APPLY3(&Kadjust_stream_positionYstreams_protocolVcommon_dylan, T5, delta_, keys_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:244
  MV_SET_COUNT(1);
  return(T6_0);
}

dylan_value Kstream_position_setterYstreams_protocolVcommon_dylanMioM3I (dylan_value position_, dylan_value stream_) {
  dylan_value T3;
  dylan_value T4_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:238
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:241
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T3 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:241
  CONGRUENT_CALL_PROLOG(&Kstream_position_setterYstreams_protocolVcommon_dylan, 2);
  T4_0 = CONGRUENT_CALL2(position_, T3);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:238
  MV_SET_COUNT(1);
  return(T4_0);
}

dylan_value Kstream_positionYstreams_protocolVcommon_dylanMioM1I (dylan_value stream_) {
  dylan_value T2;
  dylan_value T3_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:233
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:235
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T2 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:235
  CONGRUENT_CALL_PROLOG(&Kstream_positionYstreams_protocolVcommon_dylan, 1);
  T3_0 = CONGRUENT_CALL1(T2);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:233
  MV_SET_COUNT(1);
  return(T3_0);
}

dylan_value Kstream_at_endQYstreams_protocolVcommon_dylanMioM2I (dylan_value stream_) {
  dylan_value T2;
  dylan_value T3_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:220
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:222
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T2 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:222
  CONGRUENT_CALL_PROLOG(&Kstream_at_endQYstreams_protocolVcommon_dylan, 1);
  T3_0 = CONGRUENT_CALL1(T2);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:220
  MV_SET_COUNT(1);
  return(T3_0);
}

dylan_value Kstream_element_typeYstreams_protocolVcommon_dylanMioM1I (dylan_value stream_) {
  dylan_value T2;
  dylan_value T3_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:215
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:217
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T2 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:217
  CONGRUENT_CALL_PROLOG(&Kstream_element_typeYstreams_protocolVcommon_dylan, 1);
  T3_0 = CONGRUENT_CALL1(T2);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:215
  MV_SET_COUNT(1);
  return(T3_0);
}

dylan_value Kstream_openQYstreams_protocolVcommon_dylanMioM1I (dylan_value stream_) {
  dylan_value T2;
  dylan_value T3_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:210
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:212
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T2 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:212
  CONGRUENT_CALL_PROLOG(&Kstream_openQYstreams_protocolVcommon_dylan, 1);
  T3_0 = CONGRUENT_CALL1(T2);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:210
  MV_SET_COUNT(1);
  return(T3_0);
}

dylan_value KcloseYcommon_extensionsVcommon_dylanMioM3I (dylan_value stream_, dylan_value keys_, dylan_value waitQ_, dylan_value synchronizeQ_, dylan_value abortQ_) {
  dylan_value T6;
  dylan_value T7;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:204
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:207
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T6 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:207
  T7 = APPLY2(&KcloseYcommon_extensionsVcommon_dylan, T6, keys_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:204
  MV_SET_COUNT(0);
  return(T7);
}

dylan_value Kdiscard_outputYstreams_protocolVcommon_dylanMioM1I (dylan_value stream_) {
  dylan_value T2;
  dylan_value T3;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:137
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:139
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T2 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:139
  CONGRUENT_CALL_PROLOG(&Kdiscard_outputYstreams_protocolVcommon_dylan, 1);
  T3 = CONGRUENT_CALL1(T2);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:137
  MV_SET_COUNT(0);
  return(T3);
}

dylan_value Ksynchronize_outputYstreams_protocolVcommon_dylanMioM1I (dylan_value stream_) {
  dylan_value T2;
  dylan_value T3;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:132
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:134
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T2 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:134
  CONGRUENT_CALL_PROLOG(&Ksynchronize_outputYstreams_protocolVcommon_dylan, 1);
  T3 = CONGRUENT_CALL1(T2);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:132
  MV_SET_COUNT(0);
  return(T3);
}

dylan_value Kforce_outputYstreams_protocolVcommon_dylanMioM1I (dylan_value stream_, dylan_value Urest_, dylan_value synchronizeQ_) {
  dylan_value T4;
  dylan_value T5;
  _KLsimple_object_vectorGVKd_2 T6 = {&KLsimple_object_vectorGVKdW, (dylan_value) 9};

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:127
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:129
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T4 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:129
  T6.vector_element_[0] = IKJsynchronizeQ_;
  T6.vector_element_[1] = synchronizeQ_;
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:129
  CONGRUENT_CALL_PROLOG(&Kforce_outputYstreams_protocolVcommon_dylan, 2);
  T5 = CONGRUENT_CALL2(T4, &T6);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:127
  MV_SET_COUNT(0);
  return(T5);
}

dylan_value KwriteYstreams_protocolVcommon_dylanMioM2I (dylan_value stream_, dylan_value elements_, dylan_value keys_, dylan_value Ustart_, dylan_value Uend_) {
  dylan_value T6;
  dylan_value T7;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:120
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:124
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T6 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:124
  T7 = APPLY3(&KwriteYstreams_protocolVcommon_dylan, T6, elements_, keys_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:120
  MV_SET_COUNT(0);
  return(T7);
}

dylan_value Kwrite_elementYstreams_protocolVcommon_dylanMioM2I (dylan_value stream_, dylan_value elt_) {
  dylan_value T3;
  dylan_value T4;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:115
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:117
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T3 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:117
  CONGRUENT_CALL_PROLOG(&Kwrite_elementYstreams_protocolVcommon_dylan, 2);
  T4 = CONGRUENT_CALL2(T3, elt_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:115
  MV_SET_COUNT(0);
  return(T4);
}

dylan_value Kdiscard_inputYstreams_protocolVcommon_dylanMioM1I (dylan_value stream_) {
  dylan_value T2;
  dylan_value T3;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:107
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:109
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T2 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:109
  CONGRUENT_CALL_PROLOG(&Kdiscard_inputYstreams_protocolVcommon_dylan, 1);
  T3 = CONGRUENT_CALL1(T2);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:107
  MV_SET_COUNT(0);
  return(T3);
}

dylan_value Kstream_input_availableQYstreams_protocolVcommon_dylanMioM2I (dylan_value stream_) {
  dylan_value T2;
  dylan_value T3_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:102
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:104
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T2 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:104
  CONGRUENT_CALL_PROLOG(&Kstream_input_availableQYstreams_protocolVcommon_dylan, 1);
  T3_0 = CONGRUENT_CALL1(T2);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:102
  MV_SET_COUNT(1);
  return(T3_0);
}

dylan_value Kread_intoXYstreams_protocolVcommon_dylanMioM2I (dylan_value stream_, dylan_value n_, dylan_value seq_, dylan_value keys_, dylan_value start_, dylan_value on_end_of_stream_) {
  dylan_value T7;
  dylan_value T8_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:94
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:99
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T7 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:99
  T8_0 = APPLY4(&Kread_intoXYstreams_protocolVcommon_dylan, T7, n_, seq_, keys_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:94
  MV_SET_COUNT(1);
  return(T8_0);
}

dylan_value KreadYstreams_protocolVcommon_dylanMioM2I (dylan_value stream_, dylan_value n_, dylan_value keys_, dylan_value on_end_of_stream_) {
  dylan_value T5;
  dylan_value T6_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:87
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:91
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T5 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:91
  T6_0 = APPLY3(&KreadYstreams_protocolVcommon_dylan, T5, n_, keys_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:87
  MV_SET_COUNT(1);
  return(T6_0);
}

dylan_value KpeekYstreams_protocolVcommon_dylanMioM2I (dylan_value stream_, dylan_value keys_, dylan_value on_end_of_stream_) {
  dylan_value T4;
  dylan_value T5_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:80
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:84
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T4 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:84
  T5_0 = APPLY2(&KpeekYstreams_protocolVcommon_dylan, T4, keys_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:80
  MV_SET_COUNT(1);
  return(T5_0);
}

dylan_value Kunread_elementYstreams_protocolVcommon_dylanMioM1I (dylan_value stream_, dylan_value elt_) {
  dylan_value T3;
  dylan_value T4_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:74
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:77
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T3 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:77
  CONGRUENT_CALL_PROLOG(&Kunread_elementYstreams_protocolVcommon_dylan, 2);
  T4_0 = CONGRUENT_CALL2(T3, elt_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:74
  MV_SET_COUNT(1);
  return(T4_0);
}

dylan_value Kread_elementYstreams_protocolVcommon_dylanMioM2I (dylan_value stream_, dylan_value keys_, dylan_value on_end_of_stream_) {
  dylan_value T4;
  dylan_value T5_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:67
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:71
  CONGRUENT_CALL_PROLOG(&Kinner_streamYstreamsVio, 1);
  T4 = CONGRUENT_CALL1(stream_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:71
  T5_0 = APPLY2(&Kread_elementYstreams_protocolVcommon_dylan, T4, keys_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:67
  MV_SET_COUNT(1);
  return(T5_0);
}

dylan_value KmakeVKdMioM2I (dylan_value class_, dylan_value initargs_) {
  dylan_value T3_0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:19
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:22
  T3_0 = APPLY2(&KLsimple_wrapper_streamGZ32ZconstructorYstreams_internalsVioMM0, &KLsimple_wrapper_streamGYstreams_internalsVio, initargs_);
  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:19
  MV_SET_COUNT(1);
  return(T3_0);
}


/* SYSTEM INIT CODE */

void _Init_io__X_10Ewrapper_stream_for_system () {
  extern dylan_value KPresolve_symbolVKiI(dylan_value);
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJinner_stream_);
    if (T0 != &KJinner_stream_) {
      primitive_repeated_slot_value_setter(T0, &K115, 1, 3);
      primitive_repeated_slot_value_setter(T0, &K112, 1, 6);
      primitive_repeated_slot_value_setter(T0, &K109, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K108, 1, 0);
      IKJinner_stream_ = T0;
      primitive_slot_value_setter(T0, &KPinner_streamYstreams_internalsVioHLwrapper_streamG, 3);
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJon_end_of_stream_);
    if (T0 != &KJon_end_of_stream_) {
      primitive_repeated_slot_value_setter(T0, &K203, 1, 1);
      primitive_repeated_slot_value_setter(T0, &K201, 1, 2);
      primitive_repeated_slot_value_setter(T0, &K76, 1, 1);
      primitive_repeated_slot_value_setter(T0, &K72, 1, 2);
      primitive_repeated_slot_value_setter(T0, &K70, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K69, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K62, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K58, 1, 0);
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJgrowQ_);
    if (T0 != &KJgrowQ_) {
      primitive_repeated_slot_value_setter(T0, &K76, 1, 2);
      primitive_repeated_slot_value_setter(T0, &K72, 1, 4);
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJstream_lock_);
    if (T0 != &KJstream_lock_) {
      primitive_repeated_slot_value_setter(T0, &K115, 1, 2);
      primitive_repeated_slot_value_setter(T0, &K112, 1, 4);
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJsynchronizeQ_);
    if (T0 != &KJsynchronizeQ_) {
      primitive_repeated_slot_value_setter(T0, &K214, 1, 1);
      primitive_repeated_slot_value_setter(T0, &K213, 1, 2);
      primitive_repeated_slot_value_setter(T0, &K211, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K210, 1, 0);
      IKJsynchronizeQ_ = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJclear_contentsQ_);
    if (T0 != &KJclear_contentsQ_) {
      primitive_repeated_slot_value_setter(T0, &K228, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K225, 1, 0);
    }
  }
  return;
}

/* USER INIT CODE */

void _Init_io__X_10Ewrapper_stream_for_user () {
{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:19
  T0 = KPadd_a_methodVKnI(&KmakeVKd, &KmakeVKdMioM2, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I191;
}
I191:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:25
  T0 = KPadd_nonsiblinged_domainVKnI(&KmakeVKd, &KmakeVKdRD_ioRD_1);
  goto I188;
}
I188:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:26
  T0 = KPadd_nonsiblinged_domainVKnI(&KinitializeVKd, &KinitializeVKdRD_ioRD_2);
  goto I186;
}
I186:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:51
  T0 = KPadd_a_methodVKnI(&KinitializeVKd, &KinitializeVKdMioM4, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I184;
}
I184:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:67
  T0 = KPadd_a_methodVKnI(&Kread_elementYstreams_protocolVcommon_dylan, &Kread_elementYstreams_protocolVcommon_dylanMioM2, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I183;
}
I183:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:74
  T0 = KPadd_a_methodVKnI(&Kunread_elementYstreams_protocolVcommon_dylan, &Kunread_elementYstreams_protocolVcommon_dylanMioM1, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I180;
}
I180:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:80
  T0 = KPadd_a_methodVKnI(&KpeekYstreams_protocolVcommon_dylan, &KpeekYstreams_protocolVcommon_dylanMioM2, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I177;
}
I177:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:87
  T0 = KPadd_a_methodVKnI(&KreadYstreams_protocolVcommon_dylan, &KreadYstreams_protocolVcommon_dylanMioM2, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I174;
}
I174:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:94
  T0 = KPadd_a_methodVKnI(&Kread_intoXYstreams_protocolVcommon_dylan, &Kread_intoXYstreams_protocolVcommon_dylanMioM2, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I171;
}
I171:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:102
  T0 = KPadd_a_methodVKnI(&Kstream_input_availableQYstreams_protocolVcommon_dylan, &Kstream_input_availableQYstreams_protocolVcommon_dylanMioM2, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I168;
}
I168:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:107
  T0 = KPadd_a_methodVKnI(&Kdiscard_inputYstreams_protocolVcommon_dylan, &Kdiscard_inputYstreams_protocolVcommon_dylanMioM1, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I165;
}
I165:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:115
  T0 = KPadd_a_methodVKnI(&Kwrite_elementYstreams_protocolVcommon_dylan, &Kwrite_elementYstreams_protocolVcommon_dylanMioM2, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I162;
}
I162:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:120
  T0 = KPadd_a_methodVKnI(&KwriteYstreams_protocolVcommon_dylan, &KwriteYstreams_protocolVcommon_dylanMioM2, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I159;
}
I159:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:127
  T0 = KPadd_a_methodVKnI(&Kforce_outputYstreams_protocolVcommon_dylan, &Kforce_outputYstreams_protocolVcommon_dylanMioM1, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I156;
}
I156:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:132
  T0 = KPadd_a_methodVKnI(&Ksynchronize_outputYstreams_protocolVcommon_dylan, &Ksynchronize_outputYstreams_protocolVcommon_dylanMioM1, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I153;
}
I153:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:137
  T0 = KPadd_a_methodVKnI(&Kdiscard_outputYstreams_protocolVcommon_dylan, &Kdiscard_outputYstreams_protocolVcommon_dylanMioM1, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I150;
}
I150:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:204
  T0 = KPadd_a_methodVKnI(&KcloseYcommon_extensionsVcommon_dylan, &KcloseYcommon_extensionsVcommon_dylanMioM3, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I147;
}
I147:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:210
  T0 = KPadd_a_methodVKnI(&Kstream_openQYstreams_protocolVcommon_dylan, &Kstream_openQYstreams_protocolVcommon_dylanMioM1, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I144;
}
I144:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:215
  T0 = KPadd_a_methodVKnI(&Kstream_element_typeYstreams_protocolVcommon_dylan, &Kstream_element_typeYstreams_protocolVcommon_dylanMioM1, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I141;
}
I141:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:220
  T0 = KPadd_a_methodVKnI(&Kstream_at_endQYstreams_protocolVcommon_dylan, &Kstream_at_endQYstreams_protocolVcommon_dylanMioM2, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I138;
}
I138:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:233
  T0 = KPadd_a_methodVKnI(&Kstream_positionYstreams_protocolVcommon_dylan, &Kstream_positionYstreams_protocolVcommon_dylanMioM1, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I135;
}
I135:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:238
  T0 = KPadd_a_methodVKnI(&Kstream_position_setterYstreams_protocolVcommon_dylan, &Kstream_position_setterYstreams_protocolVcommon_dylanMioM3, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I132;
}
I132:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:244
  T0 = KPadd_a_methodVKnI(&Kadjust_stream_positionYstreams_protocolVcommon_dylan, &Kadjust_stream_positionYstreams_protocolVcommon_dylanMioM1, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I129;
}
I129:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:251
  T0 = KPadd_a_methodVKnI(&Kstream_sizeYstreams_protocolVcommon_dylan, &Kstream_sizeYstreams_protocolVcommon_dylanMioM1, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I126;
}
I126:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:256
  T0 = KPadd_a_methodVKnI(&Kstream_contentsYstreams_protocolVcommon_dylan, &Kstream_contentsYstreams_protocolVcommon_dylanMioM1, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I123;
}
I123:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/io/streams/wrapper-stream.dylan:263
  T0 = KPadd_a_methodVKnI(&Kstream_contents_asYstreams_protocolVcommon_dylan, &Kstream_contents_asYstreams_protocolVcommon_dylanMioM1, &Kio_libraryYdylan_userVio, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I120;
}
I120:

  return;
}


/* eof */
