#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 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 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;
  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;
} _KLobjectGVKd;

typedef struct {
  dylan_value wrapper;
} _KLunboundGVKe;

typedef struct {
  dylan_value wrapper;
} _KLbooleanGVKd;

typedef struct {
  dylan_value wrapper;
  dylan_value xep_;
  dylan_value function_signature_;
  dylan_value Pgf_cache_;
  dylan_value debug_name_;
  dylan_value generic_function_methods_;
  dylan_value discriminator_;
} _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(7);
define__KLbyte_stringGVKd(12);
define__KLbyte_stringGVKd(9);
define__KLbyte_stringGVKd(15);
define__KLbyte_stringGVKd(3);
define__KLbyte_stringGVKd(19);
define__KLbyte_stringGVKd(6);
define__KLbyte_stringGVKd(13);
define__KLbyte_stringGVKd(20);
define__KLbyte_stringGVKd(0);

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

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

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

typedef struct {
  dylan_value wrapper;
  dylan_value 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 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;

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

typedef struct {
  dylan_value wrapper;
} _KLexternal_stream_accessorGYstreams_internalsVio;

typedef struct {
  dylan_value wrapper;
} _KLsocket_accessorGYsockets_internalsVnetwork;

typedef struct {
  dylan_value wrapper;
  dylan_value remote_host_;
  dylan_value remote_port_;
  dylan_value local_host_;
  dylan_value local_port_;
  dylan_value socket_descriptor_;
  dylan_value connectedQ_;
  dylan_value connection_closedQ_;
} _KLunix_socket_accessorGYsocketsVnetwork;

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

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

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

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 xep_;
  dylan_value function_signature_;
  dylan_value mep_;
} _KLsimple_methodGVKe;

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 socket_descriptor_;
  dylan_value local_host_;
  dylan_value local_port_;
  dylan_value default_element_type_;
} _KLudp_server_socketGYsocketsVnetwork;

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

typedef struct {
  dylan_value wrapper;
} _KLintegerGVKd;

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

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

typedef struct {
  dylan_value wrapper;
  dylan_value condition_format_string_;
  dylan_value condition_format_arguments_;
  dylan_value socket_condition_details_;
  dylan_value the_closed_socket_;
} _KLsocket_closedGYsocketsVnetwork;

typedef struct {
  dylan_value wrapper;
  DWORD Pmachine_word_data_;
} _KLmachine_wordGVKe;

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_;
} _KLvalue_classGVKi;

typedef struct {
  dylan_value wrapper;
  D raw_pointer_address_;
} _KLsockaddr_inTGYunix_socketsVnetwork;

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_;
  dylan_value alignment_of_;
  dylan_value size_of_;
  dylan_value referenced_type_;
  dylan_value concrete_pointer_type_;
  dylan_value abstract_pointer_type_;
} _KLc_automatic_pointer_designator_classGVKi;

typedef struct {
  dylan_value wrapper;
  D raw_pointer_address_;
} _KLsockaddrTGYunix_socketsVnetwork;

typedef struct {
  dylan_value wrapper;
  D raw_pointer_address_;
} _KLc_signed_intTGYc_ffi_interfaceVc_ffi;

typedef struct {
  dylan_value wrapper;
  dylan_value Paddress_value_;
} _KLipv4_network_order_addressGYsocketsVnetwork;

typedef struct {
  dylan_value wrapper;
  dylan_value Phost_name_;
  dylan_value Phost_address_;
  dylan_value Paliases_;
  dylan_value Paddresses_;
  dylan_value address_family_;
} _KLipv4_addressGYsocketsVnetwork;

typedef struct {
  dylan_value wrapper;
  D raw_pointer_address_;
} _KLc_pointerGVKc;

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_;
  dylan_value alignment_of_;
  dylan_value size_of_;
  dylan_value referenced_type_;
  dylan_value concrete_pointer_type_;
  dylan_value abstract_pointer_type_;
} _KLdesignator_classGVKc;

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 actual_stream_input_buffer_;
  dylan_value actual_stream_output_buffer_;
  dylan_value accessor_;
  dylan_value force_output_before_readQ_;
} _KLudp_socketGYsocketsVnetwork;


/* Typedefs for defined classes */

typedef struct {
  dylan_value wrapper;
  dylan_value remote_host_;
  dylan_value remote_port_;
  dylan_value local_host_;
  dylan_value local_port_;
  dylan_value socket_descriptor_;
  dylan_value connectedQ_;
  dylan_value connection_closedQ_;
  dylan_value reply_socketQ_;
} _KLunix_udp_accessorGYsockets_internalsVnetwork;


/* Referenced object declarations */

dylan_value KPadd_methodVKnI (dylan_value, dylan_value, dylan_value);
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 Knetwork_libraryYdylan_userVnetwork;
extern _KLclassGVKd KLlibraryGVKe;
extern _KLmm_wrapperGVKi_0 KLlibraryGVKeW;
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 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 _KLclassGVKd KLinstance_slot_descriptorGVKe;
extern _KLmm_wrapperGVKi_0 KLinstance_slot_descriptorGVKeW;
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 _KLclassGVKd KLimplementation_classGVKe;
extern _KLmm_wrapperGVKi_0 KLimplementation_classGVKeW;
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLclassGVKd KLexternal_stream_accessorGYstreams_internalsVio;
extern _KLmm_wrapperGVKi_0 KLexternal_stream_accessorGYstreams_internalsVioW;
extern _KLclassGVKd KLsocket_accessorGYsockets_internalsVnetwork;
extern _KLmm_wrapperGVKi_0 KLsocket_accessorGYsockets_internalsVnetworkW;
extern _KLclassGVKd KLunix_socket_accessorGYsocketsVnetwork;
extern _KLmm_wrapperGVKi_0 KLunix_socket_accessorGYsocketsVnetworkW;
extern _KLincremental_generic_functionGVKe KinitializeVKd;
extern _KLfunction_classGVKi KLkeyword_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_methodGVKeW;
extern _KLclassGVKd KLkeyword_signatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureAvaluesGVKiW;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LclassG_typesVKi;
extern _KLsimple_object_vectorGVKd_256 KDsignature_LobjectG_typesVKi;
extern _KLinstance_slot_descriptorGVKe Kremote_hostYsocketsVnetworkHLunix_socket_accessorG;
extern _KLinstance_slot_descriptorGVKe Kremote_portYsocketsVnetworkHLunix_socket_accessorG;
extern _KLinstance_slot_descriptorGVKe Klocal_hostYsocketsVnetworkHLunix_socket_accessorG;
extern _KLinstance_slot_descriptorGVKe Klocal_portYsocketsVnetworkHLunix_socket_accessorG;
extern _KLinstance_slot_descriptorGVKe Ksocket_descriptorYsocketsVnetworkHLunix_socket_accessorG;
extern _KLinstance_slot_descriptorGVKe KconnectedQYsockets_internalsVnetworkHLunix_socket_accessorG;
extern _KLinstance_slot_descriptorGVKe Kconnection_closedQYsockets_internalsVnetworkHLunix_socket_accessorG;
dylan_value Kclass_instanceQ_initialVKiI (dylan_value, dylan_value);
extern _KLmoduleGVKe Ksockets_internals_moduleYdylan_userVnetwork;
extern _KLclassGVKd KLmoduleGVKe;
extern _KLmm_wrapperGVKi_0 KLmoduleGVKeW;
extern _KLincremental_generic_functionGVKe Ksocket_descriptorYsocketsVnetwork;
extern _KLunionGVKe KLaccessor_socket_descriptorGYsockets_internalsVnetwork;
extern _KLclassGVKd KLunionGVKe;
extern _KLmm_wrapperGVKi_0 KLunionGVKeW;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLclassGVKd KLsignatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLsignatureAvaluesGVKiW;
extern _KLclassGVKd KLudp_server_socketGYsocketsVnetwork;
extern _KLmm_wrapperGVKi_0 KLudp_server_socketGYsocketsVnetworkW;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
extern _KLclassGVKd KLintegerGVKd;
extern _KLmm_wrapperGVKi_0 KLintegerGVKdW;
extern _KLclassGVKd KLsingletonGVKd;
extern _KLmm_wrapperGVKi_0 KLsingletonGVKdW;
dylan_value Ksingleton_pointer_idQ_instanceQVKiI (dylan_value, dylan_value);
dylan_value KPadd_a_methodVKnI (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLincremental_generic_functionGVKe Kaccessor_write_fromYstreams_internalsVio;
extern _KLincremental_generic_functionGVKe Kaccessor_read_intoXYstreams_internalsVio;
extern _KLincremental_generic_functionGVKe Kaccessor_closeYstreams_internalsVio;
dylan_value KerrorVKdMM1I (dylan_value, dylan_value);
extern _KLsymbolGVKd KJabortQ_;
extern _KLsymbolGVKd KJwaitQ_;
extern _KLsimple_object_vectorGVKd_16 KDsignature_LbooleanG_typesVKi;
extern int io_errno ();
extern _KLclassGVKd KLbufferGYstreamsVio;
extern _KLmm_wrapperGVKi_0 KLbufferGYstreamsVioW;
extern _KLincremental_generic_functionGVKe Kstream_input_bufferYstreams_internalsVio;
dylan_value KLsocket_closedGZ32ZconstructorYsockets_internalsVnetworkMM0I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLclassGVKd KLsocket_closedGYsocketsVnetwork;
extern _KLmm_wrapperGVKi_0 KLsocket_closedGYsocketsVnetworkW;
extern _KLbyte_stringGVKd_0 KPempty_stringVKi;
dylan_value KerrorVKdMM0I (dylan_value, dylan_value);
extern _KLvalue_classGVKi KLmachine_wordGVKe;
extern _KLclassGVKd KLvalue_classGVKi;
extern _KLmm_wrapperGVKi_0 KLvalue_classGVKiW;
extern _KLmm_wrapperGVKi_1 KLmachine_wordGVKeW;
dylan_value Kmake_c_pointer_internalVKcI (dylan_value, dylan_value, dylan_value);
extern _KLc_automatic_pointer_designator_classGVKi KLsockaddr_inTGYunix_socketsVnetwork;
extern _KLclassGVKd KLc_automatic_pointer_designator_classGVKi;
extern _KLmm_wrapperGVKi_0 KLc_automatic_pointer_designator_classGVKiW;
extern _KLmm_wrapperGVKi_1 KLsockaddr_inTGYunix_socketsVnetworkW;
dylan_value Ksin_family_value_setterYunix_socketsVnetworkMM0I (dylan_value, dylan_value);
dylan_value Ksin_addr_value_setterYunix_socketsVnetworkMM0I (dylan_value, dylan_value);
dylan_value Ksin_port_value_setterYunix_socketsVnetworkMM0I (dylan_value, dylan_value);
extern _KLc_automatic_pointer_designator_classGVKi KLsockaddrTGYunix_socketsVnetwork;
extern _KLmm_wrapperGVKi_1 KLsockaddrTGYunix_socketsVnetworkW;
extern _KLc_automatic_pointer_designator_classGVKi KLc_signed_intTGYc_ffi_interfaceVc_ffi;
extern _KLmm_wrapperGVKi_1 KLc_signed_intTGYc_ffi_interfaceVc_ffiW;
extern _KLincremental_generic_functionGVKe Kpointer_value_setterVKc;
extern _KLunionGVKe KLffi_integerGYc_ffi_interfaceVc_ffi;
extern _KLincremental_generic_functionGVKe Kremote_hostYsocketsVnetwork;
extern _KLincremental_generic_functionGVKe Kremote_portYsocketsVnetwork;
extern _KLkeyword_methodGVKe Kunix_socket_errorYsockets_internalsVnetwork;
dylan_value Ksin_addr_valueYunix_socketsVnetworkMM0I (dylan_value);
extern _KLincremental_generic_functionGVKe KmakeVKd;
extern _KLclassGVKd KLipv4_network_order_addressGYsocketsVnetwork;
extern _KLmm_wrapperGVKi_0 KLipv4_network_order_addressGYsocketsVnetworkW;
extern _KLclassGVKd KLipv4_addressGYsocketsVnetwork;
extern _KLmm_wrapperGVKi_0 KLipv4_addressGYsocketsVnetworkW;
dylan_value Ksin_port_valueYunix_socketsVnetworkMM0I (dylan_value);
extern _KLsealed_generic_functionGVKe Kremote_port_setterYsockets_internalsVnetwork;
extern _KLincremental_generic_functionGVKe KdestroyYc_ffi_interfaceVc_ffi;
extern unsigned short ntohs (unsigned short);
extern _KLsimple_object_vectorGVKd_16 KDsignature_LintegerG_typesVKi;
extern int recvfrom (int, void*, int, int, void*, void*);
extern _KLdesignator_classGVKc KLc_pointerGVKc;
extern _KLclassGVKd KLdesignator_classGVKc;
extern _KLmm_wrapperGVKi_0 KLdesignator_classGVKcW;
extern _KLmm_wrapperGVKi_1 KLc_pointerGVKcW;
extern _KLclassGVKd KLudp_socketGYsocketsVnetwork;
extern _KLmm_wrapperGVKi_0 KLudp_socketGYsocketsVnetworkW;
extern int io_errno ();
extern _KLincremental_generic_functionGVKe Kstream_output_bufferYstreams_internalsVio;
extern _KLsealed_generic_functionGVKe Kaddress_familyYsockets_internalsVnetwork;
extern _KLsimple_methodGVKe Ksin_family_value_setterYunix_socketsVnetworkMM0;
extern _KLincremental_generic_functionGVKe Knumeric_host_addressYsocketsVnetwork;
extern _KLsealed_generic_functionGVKe Knetwork_orderYsocketsVnetwork;
extern _KLsimple_methodGVKe Ksin_addr_value_setterYunix_socketsVnetworkMM0;
extern _KLsimple_methodGVKe Ksin_port_value_setterYunix_socketsVnetworkMM0;
extern _KLincremental_generic_functionGVKe K_VKd;
extern int sendto (int, void*, int, int, void*, unsigned int);
extern unsigned short htons (unsigned short);

/* Defined object declarations */

extern _KLsimple_methodGVKe Kplatform_accessor_classYstreams_internalsVioMnetworkM1;
dylan_value Kplatform_accessor_classYstreams_internalsVioMnetworkM1I (dylan_value, dylan_value);
extern _KLsimple_methodGVKe Kaccessor_listenYsockets_internalsVnetworkMM1;
dylan_value Kaccessor_listenYsockets_internalsVnetworkMM1I (dylan_value, dylan_value);
extern _KLsimple_methodGVKe Ksocket_codeYsockets_internalsVnetworkMM3;
dylan_value Ksocket_codeYsockets_internalsVnetworkMM3I (dylan_value socket_);
extern _KLsimple_methodGVKe Ksocket_codeYsockets_internalsVnetworkMM2;
dylan_value Ksocket_codeYsockets_internalsVnetworkMM2I (dylan_value accessor_);
extern _KLsimple_methodGVKe Kaccessor_acceptYsocketsVnetworkMM1;
dylan_value Kaccessor_acceptYsocketsVnetworkMM1I (dylan_value);
extern _KLsealed_generic_functionGVKe Kreply_socketQ_setterYsockets_internalsVnetwork;
extern _KLsetter_methodGVKi Kreply_socketQ_setterYsockets_internalsVnetworkMM0;
static _KLpairGVKd K13;
static _KLbyte_stringGVKd_20 K14;
extern _KLinstance_slot_descriptorGVKe Kreply_socketQYsockets_internalsVnetworkHLunix_udp_accessorG;
extern _KLclassGVKd KLunix_udp_accessorGYsockets_internalsVnetwork;
extern _KLmm_wrapperGVKi_0 KLunix_udp_accessorGYsockets_internalsVnetworkW;
static _KLsymbolGVKd KJreplyQ_;
extern _KLsealed_generic_functionGVKe Kreply_socketQYsockets_internalsVnetwork;
extern _KLgetter_methodGVKi Kreply_socketQYsockets_internalsVnetworkMM0;
static _KLpairGVKd K21;
static _KLbyte_stringGVKd_13 K22;
static _KLbyte_stringGVKd_6 K23;
static _KLimplementation_classGVKe K24;
static _KLsimple_object_vectorGVKd_8 K25;
extern _KLkeyword_methodGVKe KLunix_udp_accessorGZ32ZconstructorYsockets_internalsVnetworkMM0;
dylan_value KLunix_udp_accessorGZ32ZconstructorYsockets_internalsVnetworkMM0I (dylan_value, dylan_value, dylan_value);
static _KLsimple_object_vectorGVKd_1 K28;
static _KLsimple_object_vectorGVKd_6 K29;
static _KLsimple_object_vectorGVKd_1 K30;
static _KLkeyword_signatureAvaluesGVKi K31;
static _KLsimple_object_vectorGVKd_2 K32;
static _KLsimple_object_vectorGVKd_1 K33;
static _KLsimple_object_vectorGVKd_1 K34;
static _KLbyte_stringGVKd_19 K35;
static _KLsignatureAvaluesGVKi K36;
static _KLsimple_object_vectorGVKd_1 K37;
static _KLsimple_object_vectorGVKd_1 K38;
static _KLsignatureGVKe K39;
static _KLsignatureGVKe K40;
static _KLsignatureGVKe K41;
static _KLsimple_object_vectorGVKd_2 K42;
static _KLsignatureAvaluesGVKi K43;
static _KLsimple_object_vectorGVKd_2 K44;
static _KLsimple_object_vectorGVKd_1 K45;
static _KLsingletonGVKd K46;
static _KLsingletonGVKd K47;
static _KLsymbolGVKd KJudp_;
static _KLbyte_stringGVKd_3 K49;
extern _KLkeyword_methodGVKe Kaccessor_write_fromYstreams_internalsVioMnetworkM1;
dylan_value Kaccessor_write_fromYstreams_internalsVioMnetworkM1I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLkeyword_methodGVKe Kaccessor_read_intoXYstreams_internalsVioMnetworkM1;
dylan_value Kaccessor_read_intoXYstreams_internalsVioMnetworkM1I (dylan_value, dylan_value, dylan_value, dylan_value, dylan_value, dylan_value);
extern _KLkeyword_methodGVKe Kaccessor_closeYstreams_internalsVioMnetworkM1;
dylan_value Kaccessor_closeYstreams_internalsVioMnetworkM1I (dylan_value, dylan_value, dylan_value, dylan_value);
static _KLbyte_stringGVKd_15 K59;
static _KLkeyword_signatureAvaluesGVKi K60;
static _KLsimple_object_vectorGVKd_4 K61;
static _KLsimple_object_vectorGVKd_2 K62;
static _KLsymbolGVKd KJsocket_;
static _KLmachine_wordGVKe K64;
static _KLsymbolGVKd KJaddress_;
static _KLsimple_methodGVKe Kunix_recv_buffer_fromF78;
static dylan_value Kunix_recv_buffer_fromF78I (dylan_value socket_, dylan_value buffer_, dylan_value length_, dylan_value flags_, dylan_value address_, dylan_value address_len_);
static _KLbyte_stringGVKd_9 K68;
static _KLsymbolGVKd KJhost_address_;
static _KLsymbolGVKd KJhost_port_;
static _KLsimple_methodGVKe KntohsF73;
static dylan_value KntohsF73I (dylan_value netshort_);
static _KLsignatureAvaluesGVKi K74;
static _KLsimple_object_vectorGVKd_1 K75;
static _KLbyte_stringGVKd_9 K76;
static _KLbyte_stringGVKd_12 K77;
static _KLsignatureAvaluesGVKi K79;
static _KLsimple_object_vectorGVKd_6 K80;
static _KLbyte_stringGVKd_7 K81;
static _KLbyte_stringGVKd_6 K82;
static _KLkeyword_signatureAvaluesGVKi K83;
static _KLsimple_object_vectorGVKd_2 K84;
static _KLsymbolGVKd KJbuffer_;
static _KLbyte_stringGVKd_6 K86;
static _KLsimple_object_vectorGVKd_4 K87;
static _KLsimple_object_vectorGVKd_1 K88;
static _KLbyte_stringGVKd_13 K89;
static _KLsimple_methodGVKe KhtonsF98;
static dylan_value KhtonsF98I (dylan_value hostshort_);
static _KLsimple_methodGVKe Kunix_send_buffer_toF95;
static dylan_value Kunix_send_buffer_toF95I (dylan_value socket_, dylan_value message_, dylan_value length_, dylan_value flags_, dylan_value dest_addr_, dylan_value dest_len_);
static _KLbyte_stringGVKd_9 K94;
static _KLsignatureAvaluesGVKi K96;
static _KLsimple_object_vectorGVKd_6 K97;
static _KLkeyword_signatureAvaluesGVKi K99;
static _KLsimple_object_vectorGVKd_4 K100;
static _KLsymbolGVKd KJreturn_fresh_bufferQ_;
static _KLbyte_stringGVKd_20 K102;
static _KLsimple_object_vectorGVKd_2 K103;
static _KLsimple_object_vectorGVKd_2 K104;

/* Indirection variables */

static dylan_value IKJreplyQ_ = &KJreplyQ_;
static dylan_value IKJudp_ = &KJudp_;
static dylan_value IKJsocket_ = &KJsocket_;
static dylan_value IKJaddress_ = &KJaddress_;
static dylan_value IKJhost_address_ = &KJhost_address_;
static dylan_value IKJhost_port_ = &KJhost_port_;
static dylan_value IKJbuffer_ = &KJbuffer_;
static dylan_value IKJreturn_fresh_bufferQ_ = &KJreturn_fresh_bufferQ_;

/* Variables */

dylan_value reply_socketQ_setterYsockets_internalsVnetwork = &Kreply_socketQ_setterYsockets_internalsVnetwork;
dylan_value Lunix_udp_accessorGYsockets_internalsVnetwork = &KLunix_udp_accessorGYsockets_internalsVnetwork;

/* Objects */

_KLsimple_methodGVKe Kplatform_accessor_classYstreams_internalsVioMnetworkM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K43,
  &Kplatform_accessor_classYstreams_internalsVioMnetworkM1I
};

_KLsimple_methodGVKe Kaccessor_listenYsockets_internalsVnetworkMM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K41,
  &Kaccessor_listenYsockets_internalsVnetworkMM1I
};

_KLsimple_methodGVKe Ksocket_codeYsockets_internalsVnetworkMM3 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K40,
  &Ksocket_codeYsockets_internalsVnetworkMM3I
};

_KLsimple_methodGVKe Ksocket_codeYsockets_internalsVnetworkMM2 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K39,
  &Ksocket_codeYsockets_internalsVnetworkMM2I
};

_KLsimple_methodGVKe Kaccessor_acceptYsocketsVnetworkMM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K36,
  &Kaccessor_acceptYsocketsVnetworkMM1I
};

_KLsealed_generic_functionGVKe Kreply_socketQ_setterYsockets_internalsVnetwork = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &KDsignature_LobjectG_object_rest_value_2VKi,
  &KPfalseVKi,
  &K14,
  &K13,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsetter_methodGVKi Kreply_socketQ_setterYsockets_internalsVnetworkMM0 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &Kreply_socketQYsockets_internalsVnetworkHLunix_udp_accessorG
};

static _KLpairGVKd K13 = {
  &KLpairGVKdW /* wrapper */,
  &Kreply_socketQ_setterYsockets_internalsVnetworkMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_20 K14 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 81,
  "reply-socket?-setter"
};

_KLinstance_slot_descriptorGVKe Kreply_socketQYsockets_internalsVnetworkHLunix_udp_accessorG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (dylan_value) 157,
  &KPfalseVKi,
  &KLunix_udp_accessorGYsockets_internalsVnetwork,
  &KJreplyQ_,
  &Kreply_socketQYsockets_internalsVnetwork,
  &Kreply_socketQ_setterYsockets_internalsVnetwork,
  &KLbooleanGVKd
};

_KLclassGVKd KLunix_udp_accessorGYsockets_internalsVnetwork = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K35,
  &K24,
  (dylan_value) 1,
  &Ksockets_internals_moduleYdylan_userVnetwork
};

_KLmm_wrapperGVKi_0 KLunix_udp_accessorGYsockets_internalsVnetworkW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K24,
  (dylan_value) 1,
  33,
  33554439,
  (dylan_value) 1
};

static _KLsymbolGVKd KJreplyQ_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K23
};

_KLsealed_generic_functionGVKe Kreply_socketQYsockets_internalsVnetwork = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K22,
  &K21,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLgetter_methodGVKi Kreply_socketQYsockets_internalsVnetworkMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kreply_socketQYsockets_internalsVnetworkHLunix_udp_accessorG
};

static _KLpairGVKd K21 = {
  &KLpairGVKdW /* wrapper */,
  &Kreply_socketQYsockets_internalsVnetworkMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_13 K22 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 53,
  "reply-socket?"
};

static _KLbyte_stringGVKd_6 K23 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 25,
  "reply?"
};

static _KLimplementation_classGVKe K24 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (dylan_value) 527433761,
  &KLunix_udp_accessorGYsockets_internalsVnetwork,
  &KLunix_udp_accessorGYsockets_internalsVnetworkW,
  &KPfalseVKi,
  &K25,
  (dylan_value) -3,
  &KLunix_udp_accessorGZ32ZconstructorYsockets_internalsVnetworkMM0,
  &K28,
  &K29,
  (dylan_value) 17,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &K30,
  &K25,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_8 K25 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 33,
  &Kremote_hostYsocketsVnetworkHLunix_socket_accessorG,
  &Kremote_portYsocketsVnetworkHLunix_socket_accessorG,
  &Klocal_hostYsocketsVnetworkHLunix_socket_accessorG,
  &Klocal_portYsocketsVnetworkHLunix_socket_accessorG,
  &Ksocket_descriptorYsocketsVnetworkHLunix_socket_accessorG,
  &KconnectedQYsockets_internalsVnetworkHLunix_socket_accessorG,
  &Kconnection_closedQYsockets_internalsVnetworkHLunix_socket_accessorG,
  &Kreply_socketQYsockets_internalsVnetworkHLunix_udp_accessorG
};

_KLkeyword_methodGVKe KLunix_udp_accessorGZ32ZconstructorYsockets_internalsVnetworkMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_3,
  &K31,
  &key_mep_2,
  &KLunix_udp_accessorGZ32ZconstructorYsockets_internalsVnetworkMM0I,
  &K32
};

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

static _KLsimple_object_vectorGVKd_6 K29 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 25,
  &KLobjectGVKd,
  &KLexternal_stream_accessorGYstreams_internalsVio,
  &KLsocket_accessorGYsockets_internalsVnetwork,
  &KLunix_socket_accessorGYsocketsVnetwork,
  &KLunix_udp_accessorGYsockets_internalsVnetwork,
  &KPfalseVKi
};

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

static _KLkeyword_signatureAvaluesGVKi K31 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 35390469,
  &KDsignature_LclassG_typesVKi,
  &K33,
  &KDsignature_LobjectG_typesVKi,
  &K34
};

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

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

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

static _KLbyte_stringGVKd_19 K35 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 77,
  "<unix-udp-accessor>"
};

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

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

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

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

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

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

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

static _KLsignatureAvaluesGVKi K43 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555465,
  &K44,
  &K45
};

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

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

static _KLsingletonGVKd K46 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KLunix_udp_accessorGYsockets_internalsVnetwork
};

static _KLsingletonGVKd K47 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KJudp_
};

static _KLsymbolGVKd KJudp_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K49
};

static _KLbyte_stringGVKd_3 K49 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 13,
  "udp"
};

_KLkeyword_methodGVKe Kaccessor_write_fromYstreams_internalsVioMnetworkM1 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_7,
  &K99,
  &key_mep_7,
  &Kaccessor_write_fromYstreams_internalsVioMnetworkM1I,
  &K100
};

_KLkeyword_methodGVKe Kaccessor_read_intoXYstreams_internalsVioMnetworkM1 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_6,
  &K83,
  &key_mep_6,
  &Kaccessor_read_intoXYstreams_internalsVioMnetworkM1I,
  &K84
};

_KLkeyword_methodGVKe Kaccessor_closeYstreams_internalsVioMnetworkM1 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K60,
  &key_mep_4,
  &Kaccessor_closeYstreams_internalsVioMnetworkM1I,
  &K61
};

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

static _KLkeyword_signatureAvaluesGVKi K60 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 38011909,
  &K34,
  &K62,
  &KDsignature_LobjectG_typesVKi,
  &KDsignature_LbooleanG_typesVKi
};

static _KLsimple_object_vectorGVKd_4 K61 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 17,
  &KJabortQ_,
  &KPfalseVKi,
  &KJwaitQ_,
  &KPtrueVKi
};

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

static _KLsymbolGVKd KJsocket_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K82
};

static _KLmachine_wordGVKe K64 = {
  &KLmachine_wordGVKeW /* wrapper */,
  0
};

static _KLsymbolGVKd KJaddress_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K81
};

static _KLsimple_methodGVKe Kunix_recv_buffer_fromF78 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_6,
  &K79,
  &Kunix_recv_buffer_fromF78I
};

static _KLbyte_stringGVKd_9 K68 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 37,
  "unix-recv"
};

static _KLsymbolGVKd KJhost_address_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K77
};

static _KLsymbolGVKd KJhost_port_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K76
};

static _KLsimple_methodGVKe KntohsF73 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K74,
  &KntohsF73I
};

static _KLsignatureAvaluesGVKi K74 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555461,
  &KDsignature_LintegerG_typesVKi,
  &K75
};

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

static _KLbyte_stringGVKd_9 K76 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 37,
  "host-port"
};

static _KLbyte_stringGVKd_12 K77 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 49,
  "host-address"
};

static _KLsignatureAvaluesGVKi K79 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555481,
  &K80,
  &K75
};

static _KLsimple_object_vectorGVKd_6 K80 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 25,
  &KLintegerGVKd,
  &KLmachine_wordGVKe,
  &KLintegerGVKd,
  &KLintegerGVKd,
  &KLc_pointerGVKc,
  &KLc_pointerGVKc
};

static _KLbyte_stringGVKd_7 K81 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 29,
  "address"
};

static _KLbyte_stringGVKd_6 K82 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 25,
  "socket"
};

static _KLkeyword_signatureAvaluesGVKi K83 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 38011921,
  &K87,
  &K88,
  &KDsignature_LobjectG_typesVKi,
  &KDsignature_LintegerG_typesVKi
};

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

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

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

static _KLsimple_object_vectorGVKd_4 K87 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 17,
  &KLunix_udp_accessorGYsockets_internalsVnetwork,
  &KLudp_socketGYsocketsVnetwork,
  &KLintegerGVKd,
  &KLintegerGVKd
};

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

static _KLbyte_stringGVKd_13 K89 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 53,
  "Stream closed"
};

static _KLsimple_methodGVKe KhtonsF98 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K74,
  &KhtonsF98I
};

static _KLsimple_methodGVKe Kunix_send_buffer_toF95 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_6,
  &K96,
  &Kunix_send_buffer_toF95I
};

static _KLbyte_stringGVKd_9 K94 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 37,
  "unix-send"
};

static _KLsignatureAvaluesGVKi K96 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555481,
  &K97,
  &K75
};

static _KLsimple_object_vectorGVKd_6 K97 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 25,
  &KLintegerGVKd,
  &KLmachine_wordGVKe,
  &KLintegerGVKd,
  &KLintegerGVKd,
  &KLc_pointerGVKc,
  &KLintegerGVKd
};

static _KLkeyword_signatureAvaluesGVKi K99 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 38012945,
  &K87,
  &K103,
  &KDsignature_LobjectG_typesVKi,
  &K104
};

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

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

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

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

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

/* Code */

dylan_value Kplatform_accessor_classYstreams_internalsVioMnetworkM1I (dylan_value type_, dylan_value locator_) {
  dylan_value T3_0;

  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:14
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:16
  T3_0 = &KLunix_udp_accessorGYsockets_internalsVnetwork;
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:14
  MV_SET_COUNT(1);
  return(T3_0);
}

dylan_value Kaccessor_listenYsockets_internalsVnetworkMM1I (dylan_value the_socket_, dylan_value backlog_) {
  dylan_value T3;

  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:29
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:29
  T3 = &KPfalseVKi;
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:29
  MV_SET_COUNT(0);
  return(T3);
}

dylan_value Ksocket_codeYsockets_internalsVnetworkMM3I (dylan_value socket_) {
  dylan_value T2;

  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:24
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:26
  T2 = (dylan_value) 9;
  MV_SET_ELT(0, (dylan_value) 9);
  MV_SET_COUNT(1);
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:24
  return(T2);
}

dylan_value Ksocket_codeYsockets_internalsVnetworkMM2I (dylan_value accessor_) {
  dylan_value T2;

  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:19
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:21
  T2 = (dylan_value) 9;
  MV_SET_ELT(0, (dylan_value) 9);
  MV_SET_COUNT(1);
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:19
  return(T2);
}

dylan_value Kaccessor_acceptYsocketsVnetworkMM1I (dylan_value server_socket_) {
  dylan_value T2_0;
  dylan_value T3_0;

  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:38
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:41
  CONGRUENT_CALL_PROLOG(&Ksocket_descriptorYsocketsVnetwork, 1);
  T2_0 = CONGRUENT_CALL1(server_socket_);
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:38
  T3_0 = T2_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T2_0);
    primitive_type_check(T3_0, &KLaccessor_socket_descriptorGYsockets_internalsVnetwork);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:38
  MV_SET_COUNT(1);
  return(T3_0);
}

dylan_value KLunix_udp_accessorGZ32ZconstructorYsockets_internalsVnetworkMM0I (dylan_value class_, dylan_value init_args_, dylan_value Uunique_reply_socketQ_) {
  dylan_value T4;
  dylan_value Uunique_reply_socketQF5;
  dylan_value T6_0;

  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:10
  T4 = primitive_object_allocate_filled(9,&KLunix_udp_accessorGYsockets_internalsVnetworkW,8,&KPunboundVKi,0,0,&KPunboundVKi);
  SLOT_VALUE_SETTER(&KPfalseVKi, T4, 0);
  SLOT_VALUE_SETTER(&KPfalseVKi, T4, 1);
  SLOT_VALUE_SETTER(&KPfalseVKi, T4, 2);
  SLOT_VALUE_SETTER(&KPfalseVKi, T4, 3);
  SLOT_VALUE_SETTER(&KPunboundVKi, T4, 4);
  SLOT_VALUE_SETTER(&KPfalseVKi, T4, 5);
  SLOT_VALUE_SETTER(&KPfalseVKi, T4, 6);
  primitive_type_check(Uunique_reply_socketQ_, &KLbooleanGVKd);
  Uunique_reply_socketQF5 = Uunique_reply_socketQ_;
  SLOT_VALUE_SETTER(Uunique_reply_socketQF5, T4, 7);
  APPLY2(&KinitializeVKd, T4, init_args_);
  T6_0 = T4;
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:10
  MV_SET_COUNT(1);
  return(T6_0);
}

dylan_value Kaccessor_write_fromYstreams_internalsVioMnetworkM1I (dylan_value accessor_, dylan_value stream_, dylan_value offset_, dylan_value count_, dylan_value Urest_, dylan_value buffer_, dylan_value return_fresh_bufferQ_) {
  dylan_value T8;
  dylan_value T9;
  dylan_value the_descriptor_;
  dylan_value T11;
  dylan_value inaddr_;
  dylan_value the_remote_host_;
  dylan_value T14;
  dylan_value T15;
  dylan_value T16;
  dylan_value T17;
  dylan_value T18;
  dylan_value T19;
  dylan_value T20;
  dylan_value T21;
  dylan_value T22;
  dylan_value T23_0;
  dylan_value T23_1;
  dylan_value T24;
  dylan_value T25;
  dylan_value with_stack_struct_temp_;
  dylan_value T27;
  dylan_value T28;
  dylan_value T29;
  dylan_value remaining_;
  dylan_value T31;
  dylan_value T32;
  dylan_value T33;
  dylan_value T34;
  dylan_value T35;
  dylan_value T36;
  dylan_value T37;
  dylan_value T38_0;
  dylan_value T39;
  dylan_value T40;
  dylan_value T41_0;
  dylan_value T42_0;
  dylan_value T43;
  void* T44;
  DADDR T45;
  dylan_value T46;
  _KLsimple_object_vectorGVKd_2 T47 = {&KLsimple_object_vectorGVKdW, (dylan_value) 9};
  dylan_value addr_;
  dylan_value T49;
  dylan_value T50_0;
  DWORD T51;
  dylan_value T52;
  dylan_value T53;
  dylan_value result_;
  dylan_value T55;
  dylan_value T56;
  dylan_value T57;
  DWORD T58;
  DWORD T59;
  DWORD T60;
  DWORD T61;
  DWORD T62;
  DWORD T63;
  DWORD T64;
  dylan_value T65;
  D T66;
  DWORD T67;
  DWORD T68_0;
  DWORD T68_1;
  DWORD v1_;
  dylan_value T70;
  dylan_value T71;
  int T72;
  dylan_value T73_0;
  dylan_value T74;
  dylan_value T75_0;
  dylan_value T76;
  dylan_value T77;
  dylan_value T78;
  dylan_value T79;
  dylan_value T80;
  dylan_value T81;
  dylan_value T82_0;
  dylan_value T82_1;
  dylan_value T83;
  dylan_value T84;
  dylan_value T85;
  dylan_value T86;
  dylan_value T87;
  dylan_value T88;
  dylan_value T89_0;
  dylan_value T89_1;
  dylan_value T90_0;
  dylan_value T90_1;

  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:110
  T25 = primitive_copy_vector(Urest_);
  T24 = primitive_next_methods_parameter();
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:116
  T33 = SLOT_VALUE_INITD(accessor_, 7);
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:116
  if (T33 != &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:117
    if (buffer_ != &KPfalseVKi) {
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:117
      primitive_type_check(buffer_, &KLbufferGYstreamsVio);
      T34 = buffer_;
      T9 = T34;
    } else {
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:117
      CONGRUENT_CALL_PROLOG(&Kstream_output_bufferYstreams_internalsVio, 1);
      T8 = CONGRUENT_CALL1(stream_);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:117
      primitive_type_check(T8, &KLbufferGYstreamsVio);
      T35 = T8;
      T9 = T35;
    }
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:117
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:118
    CONGRUENT_CALL_PROLOG(&Ksocket_descriptorYsocketsVnetwork, 1);
    the_descriptor_ = CONGRUENT_CALL1(accessor_);
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:119
    T36 = SLOT_VALUE_INITD(accessor_, 6);
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:119
    if (T36 != &KPfalseVKi) {
      T11 = T36;
    } else {
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:119
      T37 = primitive_not(the_descriptor_);
      T11 = T37;
    }
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:119
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:119
    if (T11 != &KPfalseVKi) {
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:120
      KerrorVKdMM1I(&K89, &KPempty_vectorVKi);
    } else {
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:122
      with_stack_struct_temp_ = &KPfalseVKi;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:122
      T40 = primitive_manual_allocate((dylan_value) 65);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:122
      T41_0 = T40;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:122
      T42_0 = T41_0;
      {
        MV_CHECK_TYPE_PROLOGUE(T41_0);
        primitive_type_check(T42_0, &KLmachine_wordGVKe);
        MV_CHECK_TYPE_EPILOGUE();
      }
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:122
      T43 = T42_0;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:122
      T38_0 = Kmake_c_pointer_internalVKcI(&KLsockaddr_inTGYunix_socketsVnetwork, T43, &KPempty_vectorVKi);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:122
      T39 = T38_0;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:122
      with_stack_struct_temp_ = T39;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:122
      T29 = with_stack_struct_temp_;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:122
      primitive_type_check(T29, &KLsockaddr_inTGYunix_socketsVnetwork);
      inaddr_ = T29;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:123
      CONGRUENT_CALL_PROLOG(&Kremote_hostYsocketsVnetwork, 1);
      the_remote_host_ = CONGRUENT_CALL1(accessor_);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:124
      T14 = CALL1(&Kaddress_familyYsockets_internalsVnetwork, the_remote_host_);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:124
      CALL2(&Ksin_family_value_setterYunix_socketsVnetworkMM0, T14, inaddr_);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:125
      T15 = CALL1(&Knumeric_host_addressYsocketsVnetwork, the_remote_host_);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:125
      CONGRUENT_CALL_PROLOG(&Knetwork_orderYsocketsVnetwork, 1);
      T16 = CONGRUENT_CALL1(T15);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:125
      CALL2(&Ksin_addr_value_setterYunix_socketsVnetworkMM0, T16, inaddr_);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:126
      CONGRUENT_CALL_PROLOG(&Kremote_portYsocketsVnetwork, 1);
      T17 = CONGRUENT_CALL1(accessor_);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:126
      T18 = CALL1(&KhtonsF98, T17);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:126
      CALL2(&Ksin_port_value_setterYunix_socketsVnetworkMM0, T18, inaddr_);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:124
      remaining_ = count_;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:128
      T44 = primitive_unwrap_c_pointer(inaddr_);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:128
      T45 = primitive_cast_pointer_as_raw(T44);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:128
      T46 = primitive_wrap_machine_word(T45);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:128
      T47.vector_element_[0] = IKJaddress_;
      T47.vector_element_[1] = T46;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:128
      T49 = primitive_copy_vector(&T47);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:128
      T50_0 = Kmake_c_pointer_internalVKcI(&KLsockaddrTGYunix_socketsVnetwork, T46, T49);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:128
      addr_ = T50_0;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:129
    L0: ;
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:129
        T31 = remaining_;
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:129
        T51 = primitive_cast_integer_as_raw(T31);
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:129
        T52 = primitive_machine_word_less_thanQ(1,T51);
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:129
        if (T52 != &KPfalseVKi) {
          // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:131
        L1: ;
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:132
            CONGRUENT_CALL_PROLOG(&Ksocket_descriptorYsocketsVnetwork, 1);
            T53 = CONGRUENT_CALL1(accessor_);
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:134
            T58 = primitive_cast_integer_as_raw(offset_);
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:134
            T59 = primitive_cast_integer_as_raw(count_);
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:134
            T60 = primitive_machine_word_logxor(T59,1);
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:134
            T61 = primitive_machine_word_add_signal_overflow(T58,T60);
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:134
            T57 = remaining_;
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:134
            T62 = primitive_cast_integer_as_raw(T57);
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:134
            T63 = primitive_machine_word_logxor(T62,1);
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:134
            T64 = primitive_machine_word_subtract_signal_overflow(T61,T63);
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:134
            T65 = primitive_cast_raw_as_integer(T64);
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:133
            T66 = primitive_repeated_slot_as_raw(T9,11);
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:133
            T67 = primitive_unwrap_abstract_integer(T65);
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:133
            T68_0 = primitive_machine_word_unsigned_add_with_carry_byref(T67,T66,(DWORD*)&T68_1);
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:133
            v1_ = T68_0;
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:133
            T70 = primitive_wrap_machine_word(v1_);
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:132
            T56 = remaining_;
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:132
            result_ = CALL6(&Kunix_send_buffer_toF95, T53, T70, T56, (dylan_value) 1, addr_, (dylan_value) 65);
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:131
            T71 = primitive_idQ(result_,(dylan_value) -3);
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:131
            if (T71 != &KPfalseVKi) {
              // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:131
              T72 = io_errno();
              // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:131
              T74 = primitive_wrap_abstract_integer(T72);
              // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:131
              T75_0 = T74;
              // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:131
              T73_0 = T75_0;
              {
                MV_CHECK_TYPE_PROLOGUE(T75_0);
                primitive_type_check(T73_0, &KLffi_integerGYc_ffi_interfaceVc_ffi);
                MV_CHECK_TYPE_EPILOGUE();
              }
              // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:131
              T76 = T73_0;
              // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:131
              T77 = primitive_idQ(T76,(dylan_value) 17);
              T55 = T77;
            } else {
              T55 = &KPfalseVKi;
            }
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:131
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:131
            if (T55 != &KPfalseVKi) {
              // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:131
              goto L1;
              // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:131
              T79 = T78;
              T80 = T79;
            } else {
              T80 = result_;
            }
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:131
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:131
          // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:139
          T81 = primitive_idQ(T80,(dylan_value) -3);
          // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:139
          if (T81 != &KPfalseVKi) {
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:140
            CONGRUENT_CALL_PROLOG(&Kremote_hostYsocketsVnetwork, 1);
            T19 = CONGRUENT_CALL1(stream_);
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:141
            CONGRUENT_CALL_PROLOG(&Kremote_portYsocketsVnetwork, 1);
            T20 = CONGRUENT_CALL1(stream_);
            // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:140
            CALL5(&Kunix_socket_errorYsockets_internalsVnetwork, &K94, IKJhost_address_, T19, IKJhost_port_, T20);
          }
          // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:139
          // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:143
          T32 = remaining_;
          // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:143
          CONGRUENT_CALL_PROLOG(&K_VKd, 2);
          T21 = CONGRUENT_CALL2(T32, T80);
          // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:143
          primitive_type_check(T21, &KLintegerGVKd);
          T22 = T21;
          // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:143
          remaining_ = T22;
          // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:129
          goto L0;
        }
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:129
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:129
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:122
      T27 = with_stack_struct_temp_;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:122
      if (T27 != &KPfalseVKi) {
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:122
        T28 = with_stack_struct_temp_;
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:122
        CALL1(&KdestroyYc_ffi_interfaceVc_ffi, T28);
      }
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:122
    }
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:119
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:147
    T82_0 = count_;
    T82_1 = T9;
    T23_0 = T82_0;
    T23_1 = T82_1;
  } else {
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:149
    T85 = primitive_idQ(T24,&KPempty_listVKi);
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:149
    if (T85 != &KPfalseVKi) {
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:149
      T88 = KerrorVKdMM1I(&K59, &KPempty_vectorVKi);
      T84 = T88;
    } else {
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:149
      T86 = SLOT_VALUE_INITD(T24, 0);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:149
      T87 = SLOT_VALUE_INITD(T24, 1);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:149
      MEP_CALL_PROLOG(T86, T87, 5);
      T83 = MEP_CALL5(T86, accessor_, stream_, offset_, count_, T25);
      T84 = T83;
    }
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:149
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:149
    T89_0 = T84;
    T89_1 = MV_GET_ELT(1);
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:149
    T90_0 = T89_0;
    T90_1 = T89_1;
    {
      MV_CHECK_TYPE_PROLOGUE(T89_0);
      primitive_type_check(T90_0, &KLintegerGVKd);
      primitive_type_check(T90_1, &KLbufferGYstreamsVio);
      MV_CHECK_TYPE_EPILOGUE();
    }
    T23_0 = T90_0;
    T23_1 = T90_1;
  }
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:116
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:110
  MV_SET_ELT(1, T23_1);
  MV_SET_COUNT(2);
  return(T23_0);
}

dylan_value Kaccessor_read_intoXYstreams_internalsVioMnetworkM1I (dylan_value accessor_, dylan_value stream_, dylan_value offset_, dylan_value count_, dylan_value Urest_, dylan_value buffer_) {
  dylan_value T7;
  dylan_value T8;
  dylan_value the_descriptor_;
  dylan_value T10;
  dylan_value inaddr_;
  dylan_value size_pointer_;
  dylan_value T13;
  dylan_value T14;
  dylan_value T15;
  dylan_value T16;
  dylan_value T17;
  dylan_value T18;
  dylan_value T19;
  dylan_value T20_0;
  dylan_value T21;
  dylan_value T22_0;
  dylan_value T23;
  dylan_value T24_0;
  dylan_value T25_0;
  dylan_value T26_0;
  dylan_value T27;
  dylan_value T28;
  dylan_value with_stack_struct_tempF29;
  dylan_value T30;
  dylan_value T31;
  dylan_value T32;
  dylan_value with_stack_struct_tempF33;
  dylan_value T34;
  dylan_value T35;
  dylan_value T36;
  dylan_value T37;
  dylan_value T38;
  dylan_value T39;
  dylan_value T40;
  dylan_value T41;
  dylan_value T42;
  dylan_value T43_0;
  _KLsimple_object_vectorGVKd_2 T44 = {&KLsimple_object_vectorGVKdW, (dylan_value) 9};
  dylan_value T45_0;
  dylan_value T46_0;
  dylan_value T47;
  dylan_value T48;
  dylan_value T49_0;
  dylan_value T50_0;
  dylan_value T51;
  void* T52;
  DADDR T53;
  dylan_value T54;
  _KLsimple_object_vectorGVKd_2 T55 = {&KLsimple_object_vectorGVKdW, (dylan_value) 9};
  dylan_value addr_;
  dylan_value T57;
  dylan_value T58_0;
  dylan_value T59_0;
  dylan_value T60;
  dylan_value T61;
  dylan_value T62_0;
  dylan_value T63_0;
  dylan_value T64;
  dylan_value result_;
  dylan_value T66;
  D T67;
  DWORD T68;
  DWORD T69_0;
  DWORD T69_1;
  DWORD v1_;
  dylan_value T71;
  dylan_value T72;
  int T73;
  dylan_value T74_0;
  dylan_value T75;
  dylan_value T76_0;
  dylan_value T77;
  dylan_value T78;
  dylan_value T79;
  dylan_value T80;
  dylan_value T81;
  dylan_value T82;
  dylan_value T83;
  _KLsimple_object_vectorGVKd_2 T84 = {&KLsimple_object_vectorGVKdW, (dylan_value) 9};
  _KLsimple_object_vectorGVKd_2 T85 = {&KLsimple_object_vectorGVKdW, (dylan_value) 9};
  dylan_value T86;
  dylan_value T87;
  dylan_value T88;
  dylan_value T89;
  dylan_value T90;
  dylan_value T91;
  dylan_value T92_0;
  dylan_value T93_0;
  dylan_value T94_0;

  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:59
  T28 = primitive_copy_vector(Urest_);
  T27 = primitive_next_methods_parameter();
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:63
  T37 = SLOT_VALUE_INITD(accessor_, 7);
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:63
  if (T37 != &KPfalseVKi) {
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:64
    if (buffer_ != &KPfalseVKi) {
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:64
      primitive_type_check(buffer_, &KLbufferGYstreamsVio);
      T38 = buffer_;
      T8 = T38;
    } else {
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:64
      CONGRUENT_CALL_PROLOG(&Kstream_input_bufferYstreams_internalsVio, 1);
      T7 = CONGRUENT_CALL1(stream_);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:64
      primitive_type_check(T7, &KLbufferGYstreamsVio);
      T39 = T7;
      T8 = T39;
    }
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:64
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:65
    CONGRUENT_CALL_PROLOG(&Ksocket_descriptorYsocketsVnetwork, 1);
    the_descriptor_ = CONGRUENT_CALL1(accessor_);
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:66
    T40 = SLOT_VALUE_INITD(accessor_, 6);
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:66
    if (T40 != &KPfalseVKi) {
      T10 = T40;
    } else {
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:66
      T41 = primitive_not(the_descriptor_);
      T10 = T41;
    }
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:66
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:66
    if (T10 != &KPfalseVKi) {
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:67
      T44.vector_element_[0] = IKJsocket_;
      T44.vector_element_[1] = stream_;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:67
      T43_0 = KLsocket_closedGZ32ZconstructorYsockets_internalsVnetworkMM0I(&KLsocket_closedGYsocketsVnetwork, &T44, &KPempty_stringVKi, &KPempty_vectorVKi, &KPfalseVKi, stream_);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:67
      T42 = T43_0;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:67
      T45_0 = KerrorVKdMM0I(T42, &KPempty_vectorVKi);
      T25_0 = T45_0;
    } else {
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:69
      with_stack_struct_tempF29 = &KPfalseVKi;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:69
      T48 = primitive_manual_allocate((dylan_value) 65);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:69
      T49_0 = T48;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:69
      T50_0 = T49_0;
      {
        MV_CHECK_TYPE_PROLOGUE(T49_0);
        primitive_type_check(T50_0, &KLmachine_wordGVKe);
        MV_CHECK_TYPE_EPILOGUE();
      }
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:69
      T51 = T50_0;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:69
      T46_0 = Kmake_c_pointer_internalVKcI(&KLsockaddr_inTGYunix_socketsVnetwork, T51, &KPempty_vectorVKi);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:69
      T47 = T46_0;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:69
      with_stack_struct_tempF29 = T47;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:69
      T32 = with_stack_struct_tempF29;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:69
      primitive_type_check(T32, &KLsockaddr_inTGYunix_socketsVnetwork);
      inaddr_ = T32;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:71
      Ksin_family_value_setterYunix_socketsVnetworkMM0I((dylan_value) 1, inaddr_);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:72
      Ksin_addr_value_setterYunix_socketsVnetworkMM0I(&K64, inaddr_);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:73
      Ksin_port_value_setterYunix_socketsVnetworkMM0I((dylan_value) 1, inaddr_);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:74
      T52 = primitive_unwrap_c_pointer(inaddr_);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:74
      T53 = primitive_cast_pointer_as_raw(T52);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:74
      T54 = primitive_wrap_machine_word(T53);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:74
      T55.vector_element_[0] = IKJaddress_;
      T55.vector_element_[1] = T54;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:74
      T57 = primitive_copy_vector(&T55);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:74
      T58_0 = Kmake_c_pointer_internalVKcI(&KLsockaddrTGYunix_socketsVnetwork, T54, T57);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:74
      addr_ = T58_0;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:75
      with_stack_struct_tempF33 = &KPfalseVKi;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:75
      T61 = primitive_manual_allocate((dylan_value) 65);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:75
      T62_0 = T61;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:75
      T63_0 = T62_0;
      {
        MV_CHECK_TYPE_PROLOGUE(T62_0);
        primitive_type_check(T63_0, &KLmachine_wordGVKe);
        MV_CHECK_TYPE_EPILOGUE();
      }
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:75
      T64 = T63_0;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:75
      T59_0 = Kmake_c_pointer_internalVKcI(&KLc_signed_intTGYc_ffi_interfaceVc_ffi, T64, &KPempty_vectorVKi);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:75
      T60 = T59_0;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:75
      with_stack_struct_tempF33 = T60;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:75
      T36 = with_stack_struct_tempF33;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:75
      primitive_type_check(T36, &KLc_signed_intTGYc_ffi_interfaceVc_ffi);
      size_pointer_ = T36;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:76
      CONGRUENT_CALL_PROLOG(&Kpointer_value_setterVKc, 3);
      CONGRUENT_CALL3((dylan_value) 65, size_pointer_, &KPempty_vectorVKi);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:78
    L0: ;
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:80
        T67 = primitive_repeated_slot_as_raw(T8,11);
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:80
        T68 = primitive_unwrap_abstract_integer(offset_);
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:80
        T69_0 = primitive_machine_word_unsigned_add_with_carry_byref(T68,T67,(DWORD*)&T69_1);
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:80
        v1_ = T69_0;
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:80
        T71 = primitive_wrap_machine_word(v1_);
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:79
        result_ = CALL6(&Kunix_recv_buffer_fromF78, the_descriptor_, T71, count_, (dylan_value) 1, addr_, size_pointer_);
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:78
        T72 = primitive_idQ(result_,(dylan_value) -3);
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:78
        if (T72 != &KPfalseVKi) {
          // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:78
          T73 = io_errno();
          // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:78
          T75 = primitive_wrap_abstract_integer(T73);
          // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:78
          T76_0 = T75;
          // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:78
          T74_0 = T76_0;
          {
            MV_CHECK_TYPE_PROLOGUE(T76_0);
            primitive_type_check(T74_0, &KLffi_integerGYc_ffi_interfaceVc_ffi);
            MV_CHECK_TYPE_EPILOGUE();
          }
          // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:78
          T77 = T74_0;
          // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:78
          T78 = primitive_idQ(T77,(dylan_value) 17);
          T66 = T78;
        } else {
          T66 = &KPfalseVKi;
        }
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:78
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:78
        if (T66 != &KPfalseVKi) {
          // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:78
          goto L0;
          // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:78
          T80 = T79;
          T81 = T80;
        } else {
          T81 = result_;
        }
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:78
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:78
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:85
      T82 = primitive_idQ(T81,(dylan_value) -3);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:85
      if (T82 != &KPfalseVKi) {
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:86
        CONGRUENT_CALL_PROLOG(&Kremote_hostYsocketsVnetwork, 1);
        T13 = CONGRUENT_CALL1(stream_);
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:87
        CONGRUENT_CALL_PROLOG(&Kremote_portYsocketsVnetwork, 1);
        T14 = CONGRUENT_CALL1(stream_);
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:86
        CALL5(&Kunix_socket_errorYsockets_internalsVnetwork, &K68, IKJhost_address_, T13, IKJhost_port_, T14);
      } else {
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:88
        T83 = primitive_idQ(T81,(dylan_value) 1);
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:85
        if (T83 != &KPfalseVKi) {
          // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:89
          SLOT_VALUE_SETTER(&KPtrueVKi, accessor_, 6);
        }
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:85
      }
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:85
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:95
      T15 = Ksin_addr_valueYunix_socketsVnetworkMM0I(inaddr_);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:94
      T84.vector_element_[0] = IKJaddress_;
      T84.vector_element_[1] = T15;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:94
      CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
      T16 = CONGRUENT_CALL2(&KLipv4_network_order_addressGYsocketsVnetwork, &T84);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:93
      T85.vector_element_[0] = IKJaddress_;
      T85.vector_element_[1] = T16;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:93
      CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
      T17 = CONGRUENT_CALL2(&KLipv4_addressGYsocketsVnetwork, &T85);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:92
      SLOT_VALUE_SETTER(T17, accessor_, 0);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:96
      T18 = Ksin_port_valueYunix_socketsVnetworkMM0I(inaddr_);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:96
      T19 = CALL1(&KntohsF73, T18);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:96
      CALL2(&Kremote_port_setterYsockets_internalsVnetwork, T19, accessor_);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:98
      T20_0 = T81;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:75
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:75
      T34 = with_stack_struct_tempF33;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:75
      if (T34 != &KPfalseVKi) {
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:75
        T35 = with_stack_struct_tempF33;
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:75
        CALL1(&KdestroyYc_ffi_interfaceVc_ffi, T35);
      }
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:75
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:75
      T22_0 = T20_0;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:69
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:69
      T30 = with_stack_struct_tempF29;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:69
      if (T30 != &KPfalseVKi) {
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:69
        T31 = with_stack_struct_tempF29;
        // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:69
        CALL1(&KdestroyYc_ffi_interfaceVc_ffi, T31);
      }
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:69
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:69
      T24_0 = T22_0;
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:69
      T94_0 = T24_0;
      {
        MV_CHECK_TYPE_PROLOGUE(T24_0);
        primitive_type_check(T94_0, &KLintegerGVKd);
        MV_CHECK_TYPE_EPILOGUE();
      }
      T25_0 = T94_0;
    }
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:66
    T26_0 = T25_0;
  } else {
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:103
    T88 = primitive_idQ(T27,&KPempty_listVKi);
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:103
    if (T88 != &KPfalseVKi) {
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:103
      T91 = KerrorVKdMM1I(&K59, &KPempty_vectorVKi);
      T87 = T91;
    } else {
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:103
      T89 = SLOT_VALUE_INITD(T27, 0);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:103
      T90 = SLOT_VALUE_INITD(T27, 1);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:103
      MEP_CALL_PROLOG(T89, T90, 5);
      T86 = MEP_CALL5(T89, accessor_, stream_, offset_, count_, T28);
      T87 = T86;
    }
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:103
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:103
    T92_0 = T87;
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:103
    T93_0 = T92_0;
    {
      MV_CHECK_TYPE_PROLOGUE(T92_0);
      primitive_type_check(T93_0, &KLintegerGVKd);
      MV_CHECK_TYPE_EPILOGUE();
    }
    T26_0 = T93_0;
  }
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:63
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:59
  MV_SET_COUNT(1);
  return(T26_0);
}

dylan_value Kaccessor_closeYstreams_internalsVioMnetworkM1I (dylan_value accessor_, dylan_value Urest_, dylan_value abortQ_, dylan_value waitQ_) {
  dylan_value T5_0;
  dylan_value T6_0;
  dylan_value T7;
  dylan_value T8;
  dylan_value T9;
  dylan_value T10;
  dylan_value T11;
  dylan_value T12;
  dylan_value T13;
  dylan_value T14;
  dylan_value T15;
  dylan_value T16_0;
  dylan_value T17_0;

  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:46
  T8 = primitive_copy_vector(Urest_);
  T7 = primitive_next_methods_parameter();
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:50
  T9 = SLOT_VALUE_INITD(accessor_, 7);
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:50
  if (T9 != &KPfalseVKi) {
    T5_0 = &KPfalseVKi;
    T6_0 = T5_0;
  } else {
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:53
    T12 = primitive_idQ(T7,&KPempty_listVKi);
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:53
    if (T12 != &KPfalseVKi) {
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:53
      T15 = KerrorVKdMM1I(&K59, &KPempty_vectorVKi);
      T11 = T15;
    } else {
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:53
      T13 = SLOT_VALUE_INITD(T7, 0);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:53
      T14 = SLOT_VALUE_INITD(T7, 1);
      // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:53
      MEP_CALL_PROLOG(T13, T14, 2);
      T10 = MEP_CALL2(T13, accessor_, T8);
      T11 = T10;
    }
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:53
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:53
    T16_0 = T11;
    // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:53
    T17_0 = T16_0;
    {
      MV_CHECK_TYPE_PROLOGUE(T16_0);
      primitive_type_check(T17_0, &KLbooleanGVKd);
      MV_CHECK_TYPE_EPILOGUE();
    }
    T6_0 = T17_0;
  }
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:50
  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:46
  MV_SET_COUNT(1);
  return(T6_0);
}

static dylan_value Kunix_recv_buffer_fromF78I (dylan_value socket_, dylan_value buffer_, dylan_value length_, dylan_value flags_, dylan_value address_, dylan_value address_len_) {
  void* T6;
  void* T7;
  void* T8;
  int T9;
  DWORD T10;
  DWORD T11;
  DWORD T12;
  dylan_value T13_0;
  dylan_value T14;
  dylan_value T15_0;
  dylan_value T16;
  dylan_value T17_0;

  T10 = primitive_unwrap_abstract_integer(socket_);
  T6 = primitive_unwrap_c_pointer(buffer_);
  T11 = primitive_unwrap_abstract_integer(length_);
  T12 = primitive_unwrap_abstract_integer(flags_);
  T7 = primitive_unwrap_c_pointer(address_);
  T8 = primitive_unwrap_c_pointer(address_len_);
  T9 = recvfrom(T10, T6, T11, T12, T7, T8);
  T14 = primitive_wrap_abstract_integer(T9);
  T15_0 = T14;
  T13_0 = T15_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T15_0);
    primitive_type_check(T13_0, &KLffi_integerGYc_ffi_interfaceVc_ffi);
    MV_CHECK_TYPE_EPILOGUE();
  }
  T16 = T13_0;
  T17_0 = T16;
  MV_SET_COUNT(1);
  return(T17_0);
}

static dylan_value KntohsF73I (dylan_value netshort_) {
  unsigned short T1;
  DWORD T2;
  DWORD raw_result_;
  dylan_value T4_0;
  dylan_value T5;
  dylan_value T6_0;
  dylan_value T7;
  dylan_value T8_0;

  T2 = primitive_unwrap_abstract_integer(netshort_);
  T1 = ntohs(T2);
  raw_result_ = primitive_machine_word_logand(T1,65535);
  T5 = primitive_wrap_abstract_integer(raw_result_);
  T6_0 = T5;
  T4_0 = T6_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T6_0);
    primitive_type_check(T4_0, &KLffi_integerGYc_ffi_interfaceVc_ffi);
    MV_CHECK_TYPE_EPILOGUE();
  }
  T7 = T4_0;
  T8_0 = T7;
  MV_SET_COUNT(1);
  return(T8_0);
}

static dylan_value KhtonsF98I (dylan_value hostshort_) {
  unsigned short T1;
  DWORD T2;
  DWORD raw_result_;
  dylan_value T4_0;
  dylan_value T5;
  dylan_value T6_0;
  dylan_value T7;
  dylan_value T8_0;

  T2 = primitive_unwrap_abstract_integer(hostshort_);
  T1 = htons(T2);
  raw_result_ = primitive_machine_word_logand(T1,65535);
  T5 = primitive_wrap_abstract_integer(raw_result_);
  T6_0 = T5;
  T4_0 = T6_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T6_0);
    primitive_type_check(T4_0, &KLffi_integerGYc_ffi_interfaceVc_ffi);
    MV_CHECK_TYPE_EPILOGUE();
  }
  T7 = T4_0;
  T8_0 = T7;
  MV_SET_COUNT(1);
  return(T8_0);
}

static dylan_value Kunix_send_buffer_toF95I (dylan_value socket_, dylan_value message_, dylan_value length_, dylan_value flags_, dylan_value dest_addr_, dylan_value dest_len_) {
  void* T6;
  void* T7;
  int T8;
  DWORD T9;
  DWORD T10;
  DWORD T11;
  DWORD T12;
  dylan_value T13_0;
  dylan_value T14;
  dylan_value T15_0;
  dylan_value T16;
  dylan_value T17_0;

  T9 = primitive_unwrap_abstract_integer(socket_);
  T6 = primitive_unwrap_c_pointer(message_);
  T10 = primitive_unwrap_abstract_integer(length_);
  T11 = primitive_unwrap_abstract_integer(flags_);
  T7 = primitive_unwrap_c_pointer(dest_addr_);
  T12 = primitive_unwrap_abstract_integer(dest_len_);
  T8 = sendto(T9, T6, T10, T11, T7, T12);
  T14 = primitive_wrap_abstract_integer(T8);
  T15_0 = T14;
  T13_0 = T15_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T15_0);
    primitive_type_check(T13_0, &KLffi_integerGYc_ffi_interfaceVc_ffi);
    MV_CHECK_TYPE_EPILOGUE();
  }
  T16 = T13_0;
  T17_0 = T16;
  MV_SET_COUNT(1);
  return(T17_0);
}


/* SYSTEM INIT CODE */

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

    T0 = KPresolve_symbolVKiI(&KJreplyQ_);
    if (T0 != &KJreplyQ_) {
      primitive_repeated_slot_value_setter(T0, &K33, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K32, 1, 0);
      primitive_slot_value_setter(T0, &Kreply_socketQYsockets_internalsVnetworkHLunix_udp_accessorG, 3);
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJudp_);
    if (T0 != &KJudp_) {
      primitive_slot_value_setter(T0, &K47, 1);
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJsocket_);
    if (T0 != &KJsocket_) {
      IKJsocket_ = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJaddress_);
    if (T0 != &KJaddress_) {
      IKJaddress_ = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJhost_address_);
    if (T0 != &KJhost_address_) {
      IKJhost_address_ = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJhost_port_);
    if (T0 != &KJhost_port_) {
      IKJhost_port_ = T0;
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJbuffer_);
    if (T0 != &KJbuffer_) {
      primitive_repeated_slot_value_setter(T0, &K103, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K100, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K88, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K84, 1, 0);
    }
  }
  {
    dylan_value T0;

    T0 = KPresolve_symbolVKiI(&KJreturn_fresh_bufferQ_);
    if (T0 != &KJreturn_fresh_bufferQ_) {
      primitive_repeated_slot_value_setter(T0, &K103, 1, 1);
      primitive_repeated_slot_value_setter(T0, &K100, 1, 2);
    }
  }
  return;
}

/* USER INIT CODE */

void _Init_network__X_18Eunix_Z85ZZ68ZZ80Z_sockets_for_user () {
{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:14
  T0 = KPadd_methodVKnI(&Kplatform_accessor_classYstreams_internalsVio, &Kplatform_accessor_classYstreams_internalsVioMnetworkM1, &Knetwork_libraryYdylan_userVnetwork);
  goto I2;
}
I2:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:46
  T0 = KPadd_a_methodVKnI(&Kaccessor_closeYstreams_internalsVio, &Kaccessor_closeYstreams_internalsVioMnetworkM1, &Knetwork_libraryYdylan_userVnetwork, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I58;
}
I58:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:59
  T0 = KPadd_a_methodVKnI(&Kaccessor_read_intoXYstreams_internalsVio, &Kaccessor_read_intoXYstreams_internalsVioMnetworkM1, &Knetwork_libraryYdylan_userVnetwork, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I55;
}
I55:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/network/sockets/unix-UDP-sockets.dylan:110
  T0 = KPadd_a_methodVKnI(&Kaccessor_write_fromYstreams_internalsVio, &Kaccessor_write_fromYstreams_internalsVioMnetworkM1, &Knetwork_libraryYdylan_userVnetwork, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I52;
}
I52:

  return;
}


/* eof */
