#include "run-time.h"

/* Typedefs for referenced classes */

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

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

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

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

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

typedef struct {
  D wrapper;
} _KLbooleanGVKd;

typedef struct {
  D wrapper;
} _KLobjectGVKd;

typedef struct {
  D wrapper;
} _KLunboundGVKe;

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

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

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

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

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

typedef struct {
  D wrapper;
  D outer_stream_;
  D private_stream_element_type_value_;
  D private_stream_direction_value_;
  D private_stream_lock_value_;
} _KLexternal_streamGYstreams_internalsVio;

#define  define__KLbufferGYstreamsVio(nrepeated) \
  typedef struct { \
    D wrapper; \
    D buffer_next_; \
    D buffer_end_; \
    D buffer_position_; \
    D buffer_dirtyQ_; \
    D buffer_start_; \
    D buffer_on_page_bits_; \
    D buffer_off_page_bits_; \
    D buffer_use_count_; \
    D buffer_owning_stream_; \
    D size_; \
    char buffer_element_[nrepeated+1]; \
  } _KLbufferGYstreamsVio_##nrepeated;

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

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

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    D wrapper; \
    D size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(23);
define__KLbyte_stringGVKd(28);
define__KLbyte_stringGVKd(35);
define__KLbyte_stringGVKd(4);
define__KLbyte_stringGVKd(16);
define__KLbyte_stringGVKd(6);
define__KLbyte_stringGVKd(20);

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

typedef struct {
  D wrapper;
} _KLintegerGVKd;

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

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

typedef struct {
  D wrapper;
} _KLstreamGYcommon_extensionsVcommon_dylan;

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

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

typedef struct {
  D wrapper;
} _KLexternal_stream_accessorGYstreams_internalsVio;

typedef struct {
  D wrapper;
} _KLexternal_file_accessorGYstreams_internalsVio;

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

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

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

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

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

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

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


/* Typedefs for defined classes */

typedef struct {
  D wrapper;
  D wrapper_file_accessor_stream_;
} _KLwrapper_file_accessorGYsystem_internalsVsystem;


/* Referenced object declarations */

D KPadd_classVKeI (D);
D KPadd_methodVKnI (D, D, D);
extern _KLincremental_generic_functionGVKe Kplatform_accessor_classYstreams_internalsVio;
extern _KLfunction_classGVKi KLincremental_generic_functionGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLclassGVKd KLclassGVKd;
extern _KLmm_wrapperGVKi_0 KLclassGVKdW;
extern _KLclassGVKd KLmm_wrapperGVKi;
extern _KLmm_wrapperGVKi_1 KLmm_wrapperGVKiW;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
extern _KLlibraryGVKe Ksystem_libraryYdylan_userVsystem;
extern _KLclassGVKd KLlibraryGVKe;
extern _KLmm_wrapperGVKi_0 KLlibraryGVKeW;
D KPadd_a_methodVKnI (D, D, D, D, D, D);
extern _KLincremental_generic_functionGVKe Kaccessor_openYstreams_internalsVio;
extern _KLbooleanGVKd KPfalseVKi;
extern _KLclassGVKd KLbooleanGVKd;
extern _KLmm_wrapperGVKi_0 KLbooleanGVKdW;
extern _KLincremental_generic_functionGVKe Kaccessor_closeYstreams_internalsVio;
extern _KLincremental_generic_functionGVKe Kaccessor_openQYstreams_internalsVio;
extern _KLincremental_generic_functionGVKe Kaccessor_preferred_buffer_sizeYstreams_internalsVio;
extern _KLincremental_generic_functionGVKe Kaccessor_read_intoXYstreams_internalsVio;
extern _KLincremental_generic_functionGVKe Kaccessor_write_fromYstreams_internalsVio;
extern _KLincremental_generic_functionGVKe Kaccessor_force_outputYstreams_internalsVio;
extern _KLincremental_generic_functionGVKe Kaccessor_wait_for_completionYstreams_internalsVio;
extern _KLincremental_generic_functionGVKe Kaccessor_synchronizeYstreams_internalsVio;
extern _KLincremental_generic_functionGVKe Kaccessor_newline_sequenceYstreams_internalsVio;
extern _KLclassGVKd KLobjectGVKd;
extern _KLmm_wrapperGVKi_0 KLobjectGVKdW;
extern _KLunboundGVKe KPunboundVKi;
extern _KLclassGVKd KLunboundGVKe;
extern _KLmm_wrapperGVKi_0 KLunboundGVKeW;
extern _KLbooleanGVKd KPtrueVKi;
extern _KLsealed_generic_functionGVKe Knewline_sequenceYstreams_internalsVio;
extern _KLclassGVKd KLsealed_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLsealed_generic_functionGVKeW;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLclassGVKd KLsignatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLsignatureAvaluesGVKiW;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LsequenceG_typesVKi;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLincremental_generic_functionGVKe Ksynchronize_outputYstreams_protocolVcommon_dylan;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
extern _KLclassGVKd KLexternal_streamGYstreams_internalsVio;
extern _KLmm_wrapperGVKi_0 KLexternal_streamGYstreams_internalsVioW;
extern _KLincremental_generic_functionGVKe Kwait_for_io_completionYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kforce_outputYstreams_protocolVcommon_dylan;
extern _KLclassGVKd KLbufferGYstreamsVio;
extern _KLmm_wrapperGVKi_0 KLbufferGYstreamsVioW;
extern _KLincremental_generic_functionGVKe Kstream_output_bufferYstreams_internalsVio;
extern _KLincremental_generic_functionGVKe KwriteYstreams_protocolVcommon_dylan;
extern _KLsymbolGVKd KJstart_;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLsymbolGVKd KJend_;
extern _KLfunction_classGVKi KLkeyword_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_methodGVKeW;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLclassGVKd KLkeyword_signatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureAvaluesGVKiW;
extern _KLsimple_object_vectorGVKd_256 KDsignature_LobjectG_typesVKi;
extern _KLclassGVKd KLintegerGVKd;
extern _KLmm_wrapperGVKi_0 KLintegerGVKdW;
extern _KLincremental_generic_functionGVKe Kread_intoXYstreams_protocolVcommon_dylan;
extern _KLsimple_object_vectorGVKd_16 KDsignature_LintegerG_typesVKi;
extern _KLincremental_generic_functionGVKe Kstream_openQYstreams_protocolVcommon_dylan;
extern _KLsimple_object_vectorGVKd_16 KDsignature_LbooleanG_typesVKi;
extern _KLincremental_generic_functionGVKe KcloseYcommon_extensionsVcommon_dylan;
extern _KLsymbolGVKd KJabortQ_;
extern _KLsymbolGVKd KJwaitQ_;
extern _KLsymbolGVKd KJdirection_;
extern _KLsymbolGVKd KJif_exists_;
extern _KLsymbolGVKd KJif_does_not_exist_;
extern _KLclassGVKd KLkeyword_signatureGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureGVKeW;
extern _KLclassGVKd KLsingletonGVKd;
extern _KLmm_wrapperGVKi_0 KLsingletonGVKdW;
D Ksingleton_pointer_idQ_instanceQVKiI (D, D);
extern _KLclassGVKd KLstreamGYcommon_extensionsVcommon_dylan;
extern _KLmm_wrapperGVKi_0 KLstreamGYcommon_extensionsVcommon_dylanW;
extern _KLclassGVKd KLimplementation_classGVKe;
extern _KLmm_wrapperGVKi_0 KLimplementation_classGVKeW;
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
extern _KLclassGVKd KLexternal_stream_accessorGYstreams_internalsVio;
extern _KLmm_wrapperGVKi_0 KLexternal_stream_accessorGYstreams_internalsVioW;
extern _KLclassGVKd KLexternal_file_accessorGYstreams_internalsVio;
extern _KLmm_wrapperGVKi_0 KLexternal_file_accessorGYstreams_internalsVioW;
extern _KLincremental_generic_functionGVKe KinitializeVKd;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LclassG_typesVKi;
extern _KLclassGVKd KLinstance_slot_descriptorGVKe;
extern _KLmm_wrapperGVKi_0 KLinstance_slot_descriptorGVKeW;
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 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;
D Kclass_instanceQ_initialVKiI (D, D);
extern _KLmoduleGVKe Ksystem_internals_moduleYdylan_userVsystem;
extern _KLclassGVKd KLmoduleGVKe;
extern _KLmm_wrapperGVKi_0 KLmoduleGVKeW;

/* Defined object declarations */

extern _KLclassGVKd KLwrapper_file_accessorGYsystem_internalsVsystem;
extern _KLmm_wrapperGVKi_0 KLwrapper_file_accessorGYsystem_internalsVsystemW;
extern _KLsimple_methodGVKe Kplatform_accessor_classYstreams_internalsVioMsystemM0;
D Kplatform_accessor_classYstreams_internalsVioMsystemM0I (D, D);
extern _KLkeyword_methodGVKe Kaccessor_openYstreams_internalsVioMsystemM0;
D Kaccessor_openYstreams_internalsVioMsystemM0I (D, D, D, D, D, D);
extern _KLkeyword_methodGVKe Kaccessor_closeYstreams_internalsVioMsystemM0;
D Kaccessor_closeYstreams_internalsVioMsystemM0I (D, D, D, D);
extern _KLsimple_methodGVKe Kaccessor_openQYstreams_internalsVioMsystemM0;
D Kaccessor_openQYstreams_internalsVioMsystemM0I (D);
extern _KLsimple_methodGVKe Kaccessor_preferred_buffer_sizeYstreams_internalsVioMsystemM0;
D Kaccessor_preferred_buffer_sizeYstreams_internalsVioMsystemM0I (D);
extern _KLkeyword_methodGVKe Kaccessor_read_intoXYstreams_internalsVioMsystemM0;
D Kaccessor_read_intoXYstreams_internalsVioMsystemM0I (D, D, D, D, D, D);
extern _KLkeyword_methodGVKe Kaccessor_write_fromYstreams_internalsVioMsystemM0;
D Kaccessor_write_fromYstreams_internalsVioMsystemM0I (D, D, D, D, D, D, D);
extern _KLsimple_methodGVKe Kaccessor_force_outputYstreams_internalsVioMsystemM0;
D Kaccessor_force_outputYstreams_internalsVioMsystemM0I (D, D);
extern _KLsimple_methodGVKe Kaccessor_wait_for_completionYstreams_internalsVioMsystemM0;
D Kaccessor_wait_for_completionYstreams_internalsVioMsystemM0I (D);
extern _KLsimple_methodGVKe Kaccessor_synchronizeYstreams_internalsVioMsystemM0;
D Kaccessor_synchronizeYstreams_internalsVioMsystemM0I (D, D);
extern _KLsimple_methodGVKe Kaccessor_newline_sequenceYstreams_internalsVioMsystemM0;
D Kaccessor_newline_sequenceYstreams_internalsVioMsystemM0I (D);
static _KLsignatureAvaluesGVKi K36;
static _KLsimple_object_vectorGVKd_1 K37;
static _KLsignatureGVKe K38;
static _KLsimple_object_vectorGVKd_2 K39;
static _KLsignatureGVKe K40;
static _KLkeyword_signatureAvaluesGVKi K41;
static _KLsimple_object_vectorGVKd_4 K42;
static _KLsymbolGVKd KJbuffer_;
static _KLsymbolGVKd KJreturn_fresh_bufferQ_;
static _KLbyte_stringGVKd_20 K45;
static _KLbyte_stringGVKd_6 K46;
static _KLsimple_object_vectorGVKd_4 K47;
static _KLsimple_object_vectorGVKd_2 K48;
static _KLsimple_object_vectorGVKd_2 K49;
static _KLsymbolGVKd KJon_end_of_stream_;
static _KLbyte_stringGVKd_16 K51;
static _KLkeyword_signatureAvaluesGVKi K52;
static _KLsimple_object_vectorGVKd_2 K53;
static _KLsimple_object_vectorGVKd_1 K54;
static _KLsignatureAvaluesGVKi K55;
static _KLsignatureAvaluesGVKi K56;
static _KLkeyword_signatureAvaluesGVKi K57;
static _KLsimple_object_vectorGVKd_4 K58;
static _KLsimple_object_vectorGVKd_2 K59;
static _KLkeyword_signatureGVKe K60;
static _KLsimple_object_vectorGVKd_6 K61;
static _KLsimple_object_vectorGVKd_2 K62;
static _KLsimple_object_vectorGVKd_3 K63;
static _KLsignatureAvaluesGVKi K64;
static _KLsimple_object_vectorGVKd_2 K65;
static _KLsimple_object_vectorGVKd_1 K66;
static _KLsingletonGVKd K67;
static _KLsingletonGVKd K68;
static _KLsymbolGVKd KJfile_;
static _KLbyte_stringGVKd_4 K70;
static _KLimplementation_classGVKe K71;
static _KLsimple_object_vectorGVKd_1 K72;
extern _KLkeyword_methodGVKe KLwrapper_file_accessorGZ32ZconstructorYsystem_internalsVsystemMM0;
D KLwrapper_file_accessorGZ32ZconstructorYsystem_internalsVsystemMM0I (D, D, D);
static _KLsimple_object_vectorGVKd_1 K75;
static _KLsimple_object_vectorGVKd_6 K76;
static _KLkeyword_signatureAvaluesGVKi K77;
static _KLsimple_object_vectorGVKd_2 K78;
static _KLsymbolGVKd KJstream_;
static _KLbyte_stringGVKd_6 K80;
static _KLsimple_object_vectorGVKd_1 K81;
extern _KLinstance_slot_descriptorGVKe Kwrapper_file_accessor_streamYsystem_internalsVsystemHLwrapper_file_accessorG;
extern _KLsealed_generic_functionGVKe Kwrapper_file_accessor_streamYsystem_internalsVsystem;
extern _KLsealed_generic_functionGVKe Kwrapper_file_accessor_stream_setterYsystem_internalsVsystem;
extern _KLsetter_methodGVKi Kwrapper_file_accessor_stream_setterYsystem_internalsVsystemMM0;
static _KLpairGVKd K86;
static _KLbyte_stringGVKd_35 K87;
extern _KLgetter_methodGVKi Kwrapper_file_accessor_streamYsystem_internalsVsystemMM0;
static _KLpairGVKd K89;
static _KLbyte_stringGVKd_28 K90;
static _KLbyte_stringGVKd_23 K91;

/* Indirection variables */

static D IKJbuffer_ = &KJbuffer_;
static D IKJreturn_fresh_bufferQ_ = &KJreturn_fresh_bufferQ_;
static D IKJon_end_of_stream_ = &KJon_end_of_stream_;
static D IKJfile_ = &KJfile_;
static D IKJstream_ = &KJstream_;

/* Variables */

D Lwrapper_file_accessorGYsystem_internalsVsystem = &KLwrapper_file_accessorGYsystem_internalsVsystem;

/* Objects */

_KLclassGVKd KLwrapper_file_accessorGYsystem_internalsVsystem = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K91,
  &K71,
  (D) 1,
  &Ksystem_internals_moduleYdylan_userVsystem
};

_KLmm_wrapperGVKi_0 KLwrapper_file_accessorGYsystem_internalsVsystemW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K71,
  (D) 1,
  5,
  33554439,
  (D) 1
};

_KLsimple_methodGVKe Kplatform_accessor_classYstreams_internalsVioMsystemM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K64,
  &Kplatform_accessor_classYstreams_internalsVioMsystemM0I
};

_KLkeyword_methodGVKe Kaccessor_openYstreams_internalsVioMsystemM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_6,
  &K60,
  &key_mep_6,
  &Kaccessor_openYstreams_internalsVioMsystemM0I,
  &K61
};

_KLkeyword_methodGVKe Kaccessor_closeYstreams_internalsVioMsystemM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K57,
  &key_mep_4,
  &Kaccessor_closeYstreams_internalsVioMsystemM0I,
  &K58
};

_KLsimple_methodGVKe Kaccessor_openQYstreams_internalsVioMsystemM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K56,
  &Kaccessor_openQYstreams_internalsVioMsystemM0I
};

_KLsimple_methodGVKe Kaccessor_preferred_buffer_sizeYstreams_internalsVioMsystemM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K55,
  &Kaccessor_preferred_buffer_sizeYstreams_internalsVioMsystemM0I
};

_KLkeyword_methodGVKe Kaccessor_read_intoXYstreams_internalsVioMsystemM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_6,
  &K52,
  &key_mep_6,
  &Kaccessor_read_intoXYstreams_internalsVioMsystemM0I,
  &K53
};

_KLkeyword_methodGVKe Kaccessor_write_fromYstreams_internalsVioMsystemM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_7,
  &K41,
  &key_mep_7,
  &Kaccessor_write_fromYstreams_internalsVioMsystemM0I,
  &K42
};

_KLsimple_methodGVKe Kaccessor_force_outputYstreams_internalsVioMsystemM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K38,
  &Kaccessor_force_outputYstreams_internalsVioMsystemM0I
};

_KLsimple_methodGVKe Kaccessor_wait_for_completionYstreams_internalsVioMsystemM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K40,
  &Kaccessor_wait_for_completionYstreams_internalsVioMsystemM0I
};

_KLsimple_methodGVKe Kaccessor_synchronizeYstreams_internalsVioMsystemM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K38,
  &Kaccessor_synchronizeYstreams_internalsVioMsystemM0I
};

_KLsimple_methodGVKe Kaccessor_newline_sequenceYstreams_internalsVioMsystemM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K36,
  &Kaccessor_newline_sequenceYstreams_internalsVioMsystemM0I
};

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

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

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

static _KLsimple_object_vectorGVKd_2 K39 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLwrapper_file_accessorGYsystem_internalsVsystem,
  &KLexternal_streamGYstreams_internalsVio
};

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

static _KLkeyword_signatureAvaluesGVKi K41 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 33818641,
  &K47,
  &K48,
  &KDsignature_LobjectG_typesVKi,
  &K49
};

static _KLsimple_object_vectorGVKd_4 K42 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 17,
  &KJbuffer_,
  &KPfalseVKi,
  &KJreturn_fresh_bufferQ_,
  &KPfalseVKi
};

static _KLsymbolGVKd KJbuffer_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K46
};

static _KLsymbolGVKd KJreturn_fresh_bufferQ_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K45
};

static _KLbyte_stringGVKd_20 K45 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 81,
  "return-fresh-buffer?"
};

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

static _KLsimple_object_vectorGVKd_4 K47 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 17,
  &KLwrapper_file_accessorGYsystem_internalsVsystem,
  &KLexternal_streamGYstreams_internalsVio,
  &KLintegerGVKd,
  &KLintegerGVKd
};

static _KLsimple_object_vectorGVKd_2 K48 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KJbuffer_,
  &KJreturn_fresh_bufferQ_
};

static _KLsimple_object_vectorGVKd_2 K49 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLintegerGVKd,
  &KLbufferGYstreamsVio
};

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

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

static _KLkeyword_signatureAvaluesGVKi K52 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 33817617,
  &K47,
  &K54,
  &KDsignature_LobjectG_typesVKi,
  &KDsignature_LintegerG_typesVKi
};

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

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

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

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

static _KLkeyword_signatureAvaluesGVKi K57 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 34866181,
  &K37,
  &K59,
  &KDsignature_LobjectG_typesVKi,
  &KDsignature_LbooleanG_typesVKi
};

static _KLsimple_object_vectorGVKd_4 K58 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 17,
  &KJabortQ_,
  &KPfalseVKi,
  &KJwaitQ_,
  &KPfalseVKi
};

static _KLsimple_object_vectorGVKd_2 K59 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KJabortQ_,
  &KJwaitQ_
};

static _KLkeyword_signatureGVKe K60 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (D) 42729481,
  &K62,
  &K63,
  &KDsignature_LobjectG_typesVKi
};

static _KLsimple_object_vectorGVKd_6 K61 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 25,
  &KJdirection_,
  &KPfalseVKi,
  &KJif_exists_,
  &KPfalseVKi,
  &KJif_does_not_exist_,
  &KPfalseVKi
};

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

static _KLsimple_object_vectorGVKd_3 K63 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &KJdirection_,
  &KJif_exists_,
  &KJif_does_not_exist_
};

static _KLsignatureAvaluesGVKi K64 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K65,
  &K66
};

static _KLsimple_object_vectorGVKd_2 K65 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &K68,
  &KLstreamGYcommon_extensionsVcommon_dylan
};

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

static _KLsingletonGVKd K67 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KLwrapper_file_accessorGYsystem_internalsVsystem
};

static _KLsingletonGVKd K68 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KJfile_
};

static _KLsymbolGVKd KJfile_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K70
};

static _KLbyte_stringGVKd_4 K70 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 17,
  "file"
};

static _KLimplementation_classGVKe K71 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 527433733,
  &KLwrapper_file_accessorGYsystem_internalsVsystem,
  &KLwrapper_file_accessorGYsystem_internalsVsystemW,
  &KPfalseVKi,
  &K72,
  (D) -3,
  &KLwrapper_file_accessorGZ32ZconstructorYsystem_internalsVsystemMM0,
  &K75,
  &K76,
  (D) 13,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &K72,
  &K72,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

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

_KLkeyword_methodGVKe KLwrapper_file_accessorGZ32ZconstructorYsystem_internalsVsystemMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_3,
  &K77,
  &key_mep_2,
  &KLwrapper_file_accessorGZ32ZconstructorYsystem_internalsVsystemMM0I,
  &K78
};

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

static _KLsimple_object_vectorGVKd_6 K76 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 25,
  &KLobjectGVKd,
  &KLexternal_stream_accessorGYstreams_internalsVio,
  &KLexternal_file_accessorGYstreams_internalsVio,
  &KLwrapper_file_accessorGYsystem_internalsVsystem,
  &KPfalseVKi,
  &KPfalseVKi
};

static _KLkeyword_signatureAvaluesGVKi K77 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 35390469,
  &KDsignature_LclassG_typesVKi,
  &K81,
  &KDsignature_LobjectG_typesVKi,
  &K37
};

static _KLsimple_object_vectorGVKd_2 K78 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KJstream_,
  &KPunboundVKi
};

static _KLsymbolGVKd KJstream_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K80
};

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

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

_KLinstance_slot_descriptorGVKe Kwrapper_file_accessor_streamYsystem_internalsVsystemHLwrapper_file_accessorG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 129,
  &KPfalseVKi,
  &KLwrapper_file_accessorGYsystem_internalsVsystem,
  &KJstream_,
  &Kwrapper_file_accessor_streamYsystem_internalsVsystem,
  &Kwrapper_file_accessor_stream_setterYsystem_internalsVsystem,
  &KLobjectGVKd
};

_KLsealed_generic_functionGVKe Kwrapper_file_accessor_streamYsystem_internalsVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K90,
  &K89,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsealed_generic_functionGVKe Kwrapper_file_accessor_stream_setterYsystem_internalsVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &KDsignature_LobjectG_object_rest_value_2VKi,
  &KPfalseVKi,
  &K87,
  &K86,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsetter_methodGVKi Kwrapper_file_accessor_stream_setterYsystem_internalsVsystemMM0 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &Kwrapper_file_accessor_streamYsystem_internalsVsystemHLwrapper_file_accessorG
};

static _KLpairGVKd K86 = {
  &KLpairGVKdW /* wrapper */,
  &Kwrapper_file_accessor_stream_setterYsystem_internalsVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_35 K87 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 141,
  "wrapper-file-accessor-stream-setter"
};

_KLgetter_methodGVKi Kwrapper_file_accessor_streamYsystem_internalsVsystemMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kwrapper_file_accessor_streamYsystem_internalsVsystemHLwrapper_file_accessorG
};

static _KLpairGVKd K89 = {
  &KLpairGVKdW /* wrapper */,
  &Kwrapper_file_accessor_streamYsystem_internalsVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_28 K90 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 113,
  "wrapper-file-accessor-stream"
};

static _KLbyte_stringGVKd_23 K91 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 93,
  "<wrapper-file-accessor>"
};

/* Code */

D Kplatform_accessor_classYstreams_internalsVioMsystemM0I (D type_, D locator_) {
  D T3_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:16
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:19
  T3_0 = &KLwrapper_file_accessorGYsystem_internalsVsystem;
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:16
  MV_SET_COUNT(1);
  return(T3_0);
}

D Kaccessor_openYstreams_internalsVioMsystemM0I (D accessor_, D locator_, D Urest_, D direction_, D if_exists_, D if_does_not_exist_) {
  D T7;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:22
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:27
  SLOT_VALUE_SETTER(locator_, accessor_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:27
  T7 = &KPfalseVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:22
  MV_SET_COUNT(0);
  return(T7);
}

D Kaccessor_closeYstreams_internalsVioMsystemM0I (D x_, D keys_, D abortQ_, D waitQ_) {
  D T5;
  D T6_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:30
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:33
  T5 = SLOT_VALUE(x_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:34
  T6_0 = APPLY2(&KcloseYcommon_extensionsVcommon_dylan, T5, keys_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:30
  MV_SET_COUNT(1);
  return(T6_0);
}

D Kaccessor_openQYstreams_internalsVioMsystemM0I (D x_) {
  D T2_0;
  D T3;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:37
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:40
  T3 = SLOT_VALUE(x_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:41
  T2_0 = CALL1(&Kstream_openQYstreams_protocolVcommon_dylan, T3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:37
  MV_SET_COUNT(1);
  return(T2_0);
}

D Kaccessor_preferred_buffer_sizeYstreams_internalsVioMsystemM0I (D x_) {
  D T2_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:44
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:47
  T2_0 = (D) 4097;
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:44
  MV_SET_COUNT(1);
  return(T2_0);
}

D Kaccessor_read_intoXYstreams_internalsVioMsystemM0I (D x_, D stream_, D offset_, D count_, D Urest_, D buffer_) {
  D T7;
  D T8;
  D T9_0;
  D T10_0;
  D T11;
  D T12;
  D T13;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:50
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:54
  if (buffer_ != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:54
    primitive_type_check(buffer_, &KLbufferGYstreamsVio);
    T11 = buffer_;
    T8 = T11;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:54
    T7 = CALL1(&Kstream_output_bufferYstreams_internalsVio, stream_);
    // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:54
    primitive_type_check(T7, &KLbufferGYstreamsVio);
    T12 = T7;
    T8 = T12;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:54
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:55
  T13 = SLOT_VALUE(x_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:56
  T9_0 = CALL7(&Kread_intoXYstreams_protocolVcommon_dylan, T13, count_, T8, &KJstart_, offset_, IKJon_end_of_stream_, &KPfalseVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:50
  T10_0 = T9_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T9_0);
    primitive_type_check(T10_0, &KLintegerGVKd);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:50
  MV_SET_COUNT(1);
  return(T10_0);
}

D Kaccessor_write_fromYstreams_internalsVioMsystemM0I (D x_, D stream_, D offset_, D count_, D Urest_, D buffer_, D return_fresh_bufferQ_) {
  D T8;
  D T9;
  D T10;
  D T11;
  D T12;
  DWORD T13;
  DWORD T14;
  DWORD T15;
  DWORD T16;
  D T17;
  D T18_0;
  D T18_1;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:59
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:64
  if (buffer_ != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:64
    primitive_type_check(buffer_, &KLbufferGYstreamsVio);
    T10 = buffer_;
    T9 = T10;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:64
    T8 = CALL1(&Kstream_output_bufferYstreams_internalsVio, stream_);
    // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:64
    primitive_type_check(T8, &KLbufferGYstreamsVio);
    T11 = T8;
    T9 = T11;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:64
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:65
  T12 = SLOT_VALUE(x_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:66
  T13 = primitive_cast_integer_as_raw(offset_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:66
  T14 = primitive_cast_integer_as_raw(count_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:66
  T15 = primitive_machine_word_logxor(T14,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:66
  T16 = primitive_machine_word_add_signal_overflow(T13,T15);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:66
  T17 = primitive_cast_raw_as_integer(T16);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:66
  CALL6(&KwriteYstreams_protocolVcommon_dylan, T12, T9, &KJstart_, offset_, &KJend_, T17);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:67
  CALL1(&Kforce_outputYstreams_protocolVcommon_dylan, T12);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:68
  T18_0 = count_;
  T18_1 = T9;
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:59
  MV_SET_ELT(1, T18_1);
  MV_SET_COUNT(2);
  return(T18_0);
}

D Kaccessor_force_outputYstreams_internalsVioMsystemM0I (D x_, D stream_) {
  D T3;
  D T4;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:71
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:74
  T4 = SLOT_VALUE(x_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:75
  T3 = CALL1(&Kforce_outputYstreams_protocolVcommon_dylan, T4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:71
  MV_SET_COUNT(0);
  return(T3);
}

D Kaccessor_wait_for_completionYstreams_internalsVioMsystemM0I (D x_) {
  D T2;
  D T3;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:78
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:81
  T3 = SLOT_VALUE(x_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:82
  T2 = CALL1(&Kwait_for_io_completionYstreams_protocolVcommon_dylan, T3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:78
  MV_SET_COUNT(0);
  return(T2);
}

D Kaccessor_synchronizeYstreams_internalsVioMsystemM0I (D x_, D stream_) {
  D T3;
  D T4;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:85
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:88
  T4 = SLOT_VALUE(x_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:89
  T3 = CALL1(&Ksynchronize_outputYstreams_protocolVcommon_dylan, T4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:85
  MV_SET_COUNT(0);
  return(T3);
}

D Kaccessor_newline_sequenceYstreams_internalsVioMsystemM0I (D x_) {
  D T2_0;
  D T3;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:92
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:95
  T3 = SLOT_VALUE(x_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:96
  T2_0 = CALL1(&Knewline_sequenceYstreams_internalsVio, T3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:92
  MV_SET_COUNT(1);
  return(T2_0);
}

D KLwrapper_file_accessorGZ32ZconstructorYsystem_internalsVsystemMM0I (D class_, D init_args_, D Uunique_wrapper_file_accessor_stream_) {
  D T4;
  D T5_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:9
  T4 = primitive_object_allocate_filled(2,&KLwrapper_file_accessorGYsystem_internalsVsystemW,1,&KPunboundVKi,0,0,&KPunboundVKi);
  SLOT_VALUE_SETTER(Uunique_wrapper_file_accessor_stream_, T4, 0);
  APPLY2(&KinitializeVKd, T4, init_args_);
  T5_0 = T4;
  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:9
  MV_SET_COUNT(1);
  return(T5_0);
}


/* SYSTEM INIT CODE */

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

    T0 = KPresolve_symbolVKiI(&KJbuffer_);
    if (T0 != &KJbuffer_) {
      primitive_repeated_slot_value_setter(T0, &K54, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K53, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K48, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K42, 1, 0);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJreturn_fresh_bufferQ_);
    if (T0 != &KJreturn_fresh_bufferQ_) {
      primitive_repeated_slot_value_setter(T0, &K48, 1, 1);
      primitive_repeated_slot_value_setter(T0, &K42, 1, 2);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJon_end_of_stream_);
    if (T0 != &KJon_end_of_stream_) {
      IKJon_end_of_stream_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJfile_);
    if (T0 != &KJfile_) {
      primitive_slot_value_setter(T0, &K68, 1);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJstream_);
    if (T0 != &KJstream_) {
      primitive_slot_value_setter(T0, &Kwrapper_file_accessor_streamYsystem_internalsVsystemHLwrapper_file_accessorG, 3);
      primitive_repeated_slot_value_setter(T0, &K81, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K78, 1, 0);
    }
  }
{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:9
  T0 = KPadd_classVKeI(&KLwrapper_file_accessorGYsystem_internalsVsystem);
  goto I0;
}
I0:

  return;
}

/* USER INIT CODE */

void _Init_system__X_14Ewrapper_file_accessor_for_user () {
{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:16
  T0 = KPadd_methodVKnI(&Kplatform_accessor_classYstreams_internalsVio, &Kplatform_accessor_classYstreams_internalsVioMsystemM0, &Ksystem_libraryYdylan_userVsystem);
  goto I5;
}
I5:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:22
  T0 = KPadd_a_methodVKnI(&Kaccessor_openYstreams_internalsVio, &Kaccessor_openYstreams_internalsVioMsystemM0, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I8;
}
I8:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:30
  T0 = KPadd_a_methodVKnI(&Kaccessor_closeYstreams_internalsVio, &Kaccessor_closeYstreams_internalsVioMsystemM0, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I11;
}
I11:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:37
  T0 = KPadd_a_methodVKnI(&Kaccessor_openQYstreams_internalsVio, &Kaccessor_openQYstreams_internalsVioMsystemM0, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I14;
}
I14:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:44
  T0 = KPadd_a_methodVKnI(&Kaccessor_preferred_buffer_sizeYstreams_internalsVio, &Kaccessor_preferred_buffer_sizeYstreams_internalsVioMsystemM0, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I17;
}
I17:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:50
  T0 = KPadd_a_methodVKnI(&Kaccessor_read_intoXYstreams_internalsVio, &Kaccessor_read_intoXYstreams_internalsVioMsystemM0, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I20;
}
I20:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:59
  T0 = KPadd_a_methodVKnI(&Kaccessor_write_fromYstreams_internalsVio, &Kaccessor_write_fromYstreams_internalsVioMsystemM0, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I23;
}
I23:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:71
  T0 = KPadd_a_methodVKnI(&Kaccessor_force_outputYstreams_internalsVio, &Kaccessor_force_outputYstreams_internalsVioMsystemM0, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I26;
}
I26:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:78
  T0 = KPadd_a_methodVKnI(&Kaccessor_wait_for_completionYstreams_internalsVio, &Kaccessor_wait_for_completionYstreams_internalsVioMsystemM0, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I29;
}
I29:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:85
  T0 = KPadd_a_methodVKnI(&Kaccessor_synchronizeYstreams_internalsVio, &Kaccessor_synchronizeYstreams_internalsVioMsystemM0, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I32;
}
I32:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/file-system/wrapper-file-accessor.dylan:92
  T0 = KPadd_a_methodVKnI(&Kaccessor_newline_sequenceYstreams_internalsVio, &Kaccessor_newline_sequenceYstreams_internalsVioMsystemM0, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I35;
}
I35:

  return;
}


/* eof */
