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

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

#define  define__KLsimple_object_vectorGVKd(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value size_; \
    dylan_value vector_element_[nrepeated+1]; \
  } _KLsimple_object_vectorGVKd_##nrepeated;
define__KLsimple_object_vectorGVKd(6);
define__KLsimple_object_vectorGVKd(9);
define__KLsimple_object_vectorGVKd(10);
define__KLsimple_object_vectorGVKd(1);
define__KLsimple_object_vectorGVKd(2);
define__KLsimple_object_vectorGVKd(0);
define__KLsimple_object_vectorGVKd(16);

typedef struct {
  dylan_value wrapper;
} _KLintegerGVKd;

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

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

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

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

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

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

typedef struct {
  dylan_value wrapper;
} _KLobject_with_elementsGVKe;

typedef struct {
  dylan_value wrapper;
} _KLmutable_object_with_elementsGVKe;

typedef struct {
  dylan_value wrapper;
} _KLc_valueGVKc;

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

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

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

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

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

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

typedef struct {
  dylan_value wrapper;
  dylan_value instanceQ_iep_;
  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;
  dylan_value namespace_name_;
  dylan_value home_library_;
} _KLmoduleGVKe;

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    dylan_value wrapper; \
    dylan_value size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(8);
define__KLbyte_stringGVKd(9);
define__KLbyte_stringGVKd(17);

typedef struct {
  dylan_value wrapper;
} _KLc_structGVKc;

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

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


/* Typedefs for defined classes */

typedef struct {
  dylan_value wrapper;
} _KLpollfdGYunix_socketsVnetwork;

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

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


/* Referenced object declarations */

dylan_value KPadd_classVKeI (dylan_value);
dylan_value KPadd_nonsiblinged_domainVKnI (dylan_value, dylan_value);
extern _KLincremental_generic_functionGVKe KmakeVKd;
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 _KLclassGVKd KLobjectGVKd;
extern _KLmm_wrapperGVKi_0 KLobjectGVKdW;
extern _KLunboundGVKe KPunboundVKi;
extern _KLclassGVKd KLunboundGVKe;
extern _KLmm_wrapperGVKi_0 KLunboundGVKeW;
extern _KLbooleanGVKd KPtrueVKi;
extern _KLclassGVKd KLbooleanGVKd;
extern _KLmm_wrapperGVKi_0 KLbooleanGVKdW;
extern _KLbooleanGVKd KPfalseVKi;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLclassGVKd KLsignatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLsignatureAvaluesGVKiW;
extern _KLsimple_object_vectorGVKd_16 KDsignature_LintegerG_typesVKi;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLclassGVKd KLintegerGVKd;
extern _KLmm_wrapperGVKi_0 KLintegerGVKdW;
extern _KLclassGVKd KLstandalone_domainGVKe;
extern _KLmm_wrapperGVKi_0 KLstandalone_domainGVKeW;
extern _KLlibraryGVKe Knetwork_libraryYdylan_userVnetwork;
extern _KLclassGVKd KLlibraryGVKe;
extern _KLmm_wrapperGVKi_0 KLlibraryGVKeW;
extern _KLclassGVKd KLsingletonGVKd;
extern _KLmm_wrapperGVKi_0 KLsingletonGVKdW;
dylan_value Ksingleton_pointer_idQ_instanceQVKiI (dylan_value, dylan_value);
extern _KLclassGVKd KLimplementation_classGVKe;
extern _KLmm_wrapperGVKi_0 KLimplementation_classGVKeW;
extern _KLkeyword_methodGVKe Kdefault_class_constructorVKi;
extern _KLfunction_classGVKi KLkeyword_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_methodGVKeW;
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
extern _KLclassGVKd KLobject_with_elementsGVKe;
extern _KLmm_wrapperGVKi_0 KLobject_with_elementsGVKeW;
extern _KLclassGVKd KLmutable_object_with_elementsGVKe;
extern _KLmm_wrapperGVKi_0 KLmutable_object_with_elementsGVKeW;
extern _KLdesignator_classGVKc KLc_valueGVKc;
extern _KLclassGVKd KLdesignator_classGVKc;
extern _KLmm_wrapperGVKi_0 KLdesignator_classGVKcW;
extern _KLmm_wrapperGVKi_0 KLc_valueGVKcW;
extern _KLdesignator_classGVKc KLc_non_structGVKi;
extern _KLmm_wrapperGVKi_0 KLc_non_structGVKiW;
extern _KLdesignator_classGVKc KLc_pointerGVKc;
extern _KLmm_wrapperGVKi_1 KLc_pointerGVKcW;
extern _KLdesignator_classGVKc KLc_voidTGVKc;
extern _KLmm_wrapperGVKi_1 KLc_voidTGVKcW;
extern _KLdesignator_classGVKc KLc_statically_typed_pointerGVKc;
extern _KLmm_wrapperGVKi_1 KLc_statically_typed_pointerGVKcW;
extern _KLdesignator_classGVKc KLc_pointer_to_pointerGVKc;
extern _KLmm_wrapperGVKi_1 KLc_pointer_to_pointerGVKcW;
extern _KLinstance_slot_descriptorGVKe Kraw_pointer_addressVKcHLc_pointerG;
extern _KLclassGVKd KLinstance_slot_descriptorGVKe;
extern _KLmm_wrapperGVKi_0 KLinstance_slot_descriptorGVKeW;
extern _KLclassGVKd KLc_automatic_pointer_designator_classGVKi;
extern _KLmm_wrapperGVKi_0 KLc_automatic_pointer_designator_classGVKiW;
dylan_value Kclass_instanceQ_rcpl_single_largeVKiI (dylan_value, dylan_value);
extern _KLmoduleGVKe Kunix_sockets_moduleYdylan_userVnetwork;
extern _KLclassGVKd KLmoduleGVKe;
extern _KLmm_wrapperGVKi_0 KLmoduleGVKeW;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLdesignator_classGVKc KLc_structGVKc;
extern _KLmm_wrapperGVKi_0 KLc_structGVKcW;
extern _KLclassGVKd KLc_struct_designator_classGVKi;
extern _KLmm_wrapperGVKi_0 KLc_struct_designator_classGVKiW;
dylan_value Kclass_instanceQ_initialVKiI (dylan_value, dylan_value);
extern _KLunionGVKe KLffi_integerGYc_ffi_interfaceVc_ffi;
extern _KLclassGVKd KLunionGVKe;
extern _KLmm_wrapperGVKi_0 KLunionGVKeW;

/* Defined object declarations */

extern _KLc_struct_designator_classGVKi KLpollfdGYunix_socketsVnetwork;
extern _KLmm_wrapperGVKi_0 KLpollfdGYunix_socketsVnetworkW;
extern _KLc_automatic_pointer_designator_classGVKi KLpollfdTGYunix_socketsVnetwork;
extern _KLmm_wrapperGVKi_1 KLpollfdTGYunix_socketsVnetworkW;
extern _KLstandalone_domainGVKe_1 KmakeVKdRD_networkRD_2;
extern _KLc_automatic_pointer_designator_classGVKi KLpollfdTG_pointerYunix_socketsVnetwork;
extern _KLmm_wrapperGVKi_1 KLpollfdTG_pointerYunix_socketsVnetworkW;
extern _KLstandalone_domainGVKe_1 KmakeVKdRD_networkRD_1;
extern _KLsimple_methodGVKe Kpollfd_fd_setterYunix_socketsVnetworkMM0;
dylan_value Kpollfd_fd_setterYunix_socketsVnetworkMM0I (dylan_value, dylan_value);
dylan_value Kpollfd_events_setterYunix_socketsVnetworkMM0I (dylan_value, dylan_value);
dylan_value Kpollfd_revents_setterYunix_socketsVnetworkMM0I (dylan_value, dylan_value);
static _KLsignatureAvaluesGVKi K17;
static _KLsimple_object_vectorGVKd_2 K18;
static _KLsingletonGVKd K19;
static _KLimplementation_classGVKe K20;
static _KLsimple_object_vectorGVKd_1 K21;
static _KLsimple_object_vectorGVKd_1 K22;
static _KLsimple_object_vectorGVKd_10 K23;
static _KLbyte_stringGVKd_17 K24;
static _KLsingletonGVKd K25;
static _KLimplementation_classGVKe K26;
static _KLsimple_object_vectorGVKd_1 K27;
static _KLsimple_object_vectorGVKd_9 K28;
static _KLbyte_stringGVKd_9 K29;
static _KLimplementation_classGVKe K30;
static _KLsimple_object_vectorGVKd_1 K31;
static _KLsimple_object_vectorGVKd_6 K32;
static _KLbyte_stringGVKd_8 K33;
extern _KLsimple_methodGVKe Kpollfd_reventsYunix_socketsVnetworkMM0;
dylan_value Kpollfd_reventsYunix_socketsVnetworkMM0I (dylan_value);
static _KLsignatureAvaluesGVKi K36;
static _KLsimple_object_vectorGVKd_1 K37;
static _KLsimple_object_vectorGVKd_1 K38;
extern _KLsimple_methodGVKe Kpollfd_revents_setterYunix_socketsVnetworkMM0;
extern _KLsimple_methodGVKe Kpollfd_eventsYunix_socketsVnetworkMM0;
dylan_value Kpollfd_eventsYunix_socketsVnetworkMM0I (dylan_value);
extern _KLsimple_methodGVKe Kpollfd_events_setterYunix_socketsVnetworkMM0;
extern _KLsimple_methodGVKe Kpollfd_fdYunix_socketsVnetworkMM0;
dylan_value Kpollfd_fdYunix_socketsVnetworkMM0I (dylan_value);

/* Indirection variables */


/* Variables */

dylan_value pollfd_fd_setterYunix_socketsVnetwork = &Kpollfd_fd_setterYunix_socketsVnetworkMM0;
dylan_value pollfd_fdYunix_socketsVnetwork = &Kpollfd_fdYunix_socketsVnetworkMM0;
dylan_value pollfd_events_setterYunix_socketsVnetwork = &Kpollfd_events_setterYunix_socketsVnetworkMM0;
dylan_value pollfd_eventsYunix_socketsVnetwork = &Kpollfd_eventsYunix_socketsVnetworkMM0;
dylan_value pollfd_revents_setterYunix_socketsVnetwork = &Kpollfd_revents_setterYunix_socketsVnetworkMM0;
dylan_value pollfd_reventsYunix_socketsVnetwork = &Kpollfd_reventsYunix_socketsVnetworkMM0;
dylan_value LpollfdGYunix_socketsVnetwork = &KLpollfdGYunix_socketsVnetwork;
dylan_value LpollfdTGYunix_socketsVnetwork = &KLpollfdTGYunix_socketsVnetwork;
dylan_value LpollfdTG_pointerYunix_socketsVnetwork = &KLpollfdTG_pointerYunix_socketsVnetwork;
dylan_value DpollinYunix_socketsVnetwork = (dylan_value) 5;
dylan_value DpollpriYunix_socketsVnetwork = (dylan_value) 9;
dylan_value DpolloutYunix_socketsVnetwork = (dylan_value) 17;
dylan_value DpollerrYunix_socketsVnetwork = (dylan_value) 33;
dylan_value DpollhupYunix_socketsVnetwork = (dylan_value) 65;
dylan_value DpollnvalYunix_socketsVnetwork = (dylan_value) 129;

/* Objects */

_KLc_struct_designator_classGVKi KLpollfdGYunix_socketsVnetwork = {
  &KLc_struct_designator_classGVKiW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K33,
  &K30,
  (dylan_value) 1,
  &Kunix_sockets_moduleYdylan_userVnetwork,
  (dylan_value) 17,
  (dylan_value) 33,
  &KPfalseVKi,
  &KPfalseVKi,
  &KLpollfdTGYunix_socketsVnetwork
};

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

_KLc_automatic_pointer_designator_classGVKi KLpollfdTGYunix_socketsVnetwork = {
  &KLc_automatic_pointer_designator_classGVKiW /* wrapper */,
  &Kclass_instanceQ_rcpl_single_largeVKiI,
  &K29,
  &K26,
  (dylan_value) 1,
  &Kunix_sockets_moduleYdylan_userVnetwork,
  (dylan_value) 33,
  (dylan_value) 33,
  &KLpollfdGYunix_socketsVnetwork,
  &KPfalseVKi,
  &KLpollfdTG_pointerYunix_socketsVnetwork
};

_KLmm_wrapperGVKi_1 KLpollfdTGYunix_socketsVnetworkW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K26,
  (dylan_value) 1,
  6,
  33554439,
  (dylan_value) 5,
  0
};

_KLstandalone_domainGVKe_1 KmakeVKdRD_networkRD_2 = {
  &KLstandalone_domainGVKeW /* wrapper */,
  &Knetwork_libraryYdylan_userVnetwork,
  &KPfalseVKi,
  (dylan_value) 5,
  &K25
};

_KLc_automatic_pointer_designator_classGVKi KLpollfdTG_pointerYunix_socketsVnetwork = {
  &KLc_automatic_pointer_designator_classGVKiW /* wrapper */,
  &Kclass_instanceQ_rcpl_single_largeVKiI,
  &K24,
  &K20,
  (dylan_value) 1,
  &Kunix_sockets_moduleYdylan_userVnetwork,
  (dylan_value) 33,
  (dylan_value) 33,
  &KLpollfdTGYunix_socketsVnetwork,
  &KPfalseVKi,
  &KPfalseVKi
};

_KLmm_wrapperGVKi_1 KLpollfdTG_pointerYunix_socketsVnetworkW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K20,
  (dylan_value) 1,
  6,
  33554439,
  (dylan_value) 5,
  0
};

_KLstandalone_domainGVKe_1 KmakeVKdRD_networkRD_1 = {
  &KLstandalone_domainGVKeW /* wrapper */,
  &Knetwork_libraryYdylan_userVnetwork,
  &KPfalseVKi,
  (dylan_value) 5,
  &K19
};

_KLsimple_methodGVKe Kpollfd_fd_setterYunix_socketsVnetworkMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K17,
  &Kpollfd_fd_setterYunix_socketsVnetworkMM0I
};

static _KLsignatureAvaluesGVKi K17 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (dylan_value) 33555465,
  &K18,
  &KDsignature_LintegerG_typesVKi
};

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

static _KLsingletonGVKd K19 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KLpollfdTG_pointerYunix_socketsVnetwork
};

static _KLimplementation_classGVKe K20 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (dylan_value) 392691717,
  &KLpollfdTG_pointerYunix_socketsVnetwork,
  &KLpollfdTG_pointerYunix_socketsVnetworkW,
  &KPfalseVKi,
  &K21,
  (dylan_value) -3,
  &Kdefault_class_constructorVKi,
  &K22,
  &K23,
  (dylan_value) 37,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K21,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

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

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

static _KLsimple_object_vectorGVKd_10 K23 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 41,
  &KLobjectGVKd,
  &KLobject_with_elementsGVKe,
  &KLmutable_object_with_elementsGVKe,
  &KLc_valueGVKc,
  &KLc_non_structGVKi,
  &KLc_pointerGVKc,
  &KLc_voidTGVKc,
  &KLc_statically_typed_pointerGVKc,
  &KLc_pointer_to_pointerGVKc,
  &KLpollfdTG_pointerYunix_socketsVnetwork
};

static _KLbyte_stringGVKd_17 K24 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 69,
  "<pollfd*>-pointer"
};

static _KLsingletonGVKd K25 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KLpollfdTGYunix_socketsVnetwork
};

static _KLimplementation_classGVKe K26 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (dylan_value) 392691717,
  &KLpollfdTGYunix_socketsVnetwork,
  &KLpollfdTGYunix_socketsVnetworkW,
  &KPfalseVKi,
  &K21,
  (dylan_value) -3,
  &Kdefault_class_constructorVKi,
  &K27,
  &K28,
  (dylan_value) 33,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K21,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

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

static _KLsimple_object_vectorGVKd_9 K28 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 37,
  &KLobjectGVKd,
  &KLobject_with_elementsGVKe,
  &KLmutable_object_with_elementsGVKe,
  &KLc_valueGVKc,
  &KLc_non_structGVKi,
  &KLc_pointerGVKc,
  &KLc_voidTGVKc,
  &KLc_statically_typed_pointerGVKc,
  &KLpollfdTGYunix_socketsVnetwork
};

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

static _KLimplementation_classGVKe K30 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (dylan_value) 410255361,
  &KLpollfdGYunix_socketsVnetwork,
  &KLpollfdGYunix_socketsVnetworkW,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (dylan_value) -3,
  &Kdefault_class_constructorVKi,
  &K31,
  &K32,
  (dylan_value) 13,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

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

static _KLsimple_object_vectorGVKd_6 K32 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (dylan_value) 25,
  &KLobjectGVKd,
  &KLc_valueGVKc,
  &KLc_structGVKc,
  &KLpollfdGYunix_socketsVnetwork,
  &KPfalseVKi,
  &KPfalseVKi
};

static _KLbyte_stringGVKd_8 K33 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (dylan_value) 33,
  "<pollfd>"
};

_KLsimple_methodGVKe Kpollfd_reventsYunix_socketsVnetworkMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K36,
  &Kpollfd_reventsYunix_socketsVnetworkMM0I
};

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

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

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

_KLsimple_methodGVKe Kpollfd_revents_setterYunix_socketsVnetworkMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K17,
  &Kpollfd_revents_setterYunix_socketsVnetworkMM0I
};

_KLsimple_methodGVKe Kpollfd_eventsYunix_socketsVnetworkMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K36,
  &Kpollfd_eventsYunix_socketsVnetworkMM0I
};

_KLsimple_methodGVKe Kpollfd_events_setterYunix_socketsVnetworkMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K17,
  &Kpollfd_events_setterYunix_socketsVnetworkMM0I
};

_KLsimple_methodGVKe Kpollfd_fdYunix_socketsVnetworkMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K36,
  &Kpollfd_fdYunix_socketsVnetworkMM0I
};

/* Code */

dylan_value Kpollfd_fd_setterYunix_socketsVnetworkMM0I (dylan_value new_value_, dylan_value struct_) {
  void* T3;
  dylan_value T4_0;
  DWORD T5;

  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  // /home/bruce/Development/dylan/opendylan/sources/lib/c-ffi/c-types.dylan:96
  T5 = primitive_unwrap_abstract_integer(new_value_);
  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  T3 = primitive_unwrap_c_pointer(struct_);
  primitive_c_signed_int_at_setter(T5,T3,0,0);
  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  T4_0 = new_value_;
  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  MV_SET_COUNT(1);
  return(T4_0);
}

dylan_value Kpollfd_events_setterYunix_socketsVnetworkMM0I (dylan_value new_value_, dylan_value struct_) {
  void* T3;
  dylan_value T4_0;
  DWORD T5;

  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  // /home/bruce/Development/dylan/opendylan/sources/lib/c-ffi/c-types.dylan:102
  T5 = primitive_unwrap_abstract_integer(new_value_);
  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  T3 = primitive_unwrap_c_pointer(struct_);
  primitive_c_signed_short_at_setter(T5,T3,0,4);
  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  T4_0 = new_value_;
  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  MV_SET_COUNT(1);
  return(T4_0);
}

dylan_value Kpollfd_revents_setterYunix_socketsVnetworkMM0I (dylan_value new_value_, dylan_value struct_) {
  void* T3;
  dylan_value T4_0;
  DWORD T5;

  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  // /home/bruce/Development/dylan/opendylan/sources/lib/c-ffi/c-types.dylan:102
  T5 = primitive_unwrap_abstract_integer(new_value_);
  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  T3 = primitive_unwrap_c_pointer(struct_);
  primitive_c_signed_short_at_setter(T5,T3,0,6);
  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  T4_0 = new_value_;
  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  MV_SET_COUNT(1);
  return(T4_0);
}

dylan_value Kpollfd_reventsYunix_socketsVnetworkMM0I (dylan_value struct_) {
  void* T2;
  short T3;
  DWORD T4;
  DWORD T5;
  DWORD T6;
  dylan_value T7;
  DWORD T8;
  DWORD T9;
  DWORD raw_result_;
  dylan_value T11_0;
  dylan_value T12;
  dylan_value T13_0;

  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  T2 = primitive_unwrap_c_pointer(struct_);
  T3 = primitive_c_signed_short_at(T2,0,6);
  T4 = primitive_machine_word_shift_left_signal_overflow(T3,2);
  T5 = primitive_machine_word_logior(T4,1);
  T6 = primitive_machine_word_logand(T5,131073);
  T7 = primitive_machine_word_equalQ(T6,1);
  if (T7 != &KPfalseVKi) {
    T8 = primitive_machine_word_logand(T3,65535);
    raw_result_ = T8;
  } else {
    T9 = primitive_machine_word_logior(T3,4294901760);
    raw_result_ = T9;
  }
  // /home/bruce/Development/dylan/opendylan/sources/lib/c-ffi/c-types.dylan:102
  T12 = primitive_wrap_abstract_integer(raw_result_);
  // /home/bruce/Development/dylan/opendylan/sources/lib/c-ffi/c-types.dylan:102
  T13_0 = T12;
  // /home/bruce/Development/dylan/opendylan/sources/lib/c-ffi/c-types.dylan:102
  T11_0 = T13_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T13_0);
    primitive_type_check(T11_0, &KLffi_integerGYc_ffi_interfaceVc_ffi);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  MV_SET_COUNT(1);
  return(T11_0);
}

dylan_value Kpollfd_eventsYunix_socketsVnetworkMM0I (dylan_value struct_) {
  void* T2;
  short T3;
  DWORD T4;
  DWORD T5;
  DWORD T6;
  dylan_value T7;
  DWORD T8;
  DWORD T9;
  DWORD raw_result_;
  dylan_value T11_0;
  dylan_value T12;
  dylan_value T13_0;

  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  T2 = primitive_unwrap_c_pointer(struct_);
  T3 = primitive_c_signed_short_at(T2,0,4);
  T4 = primitive_machine_word_shift_left_signal_overflow(T3,2);
  T5 = primitive_machine_word_logior(T4,1);
  T6 = primitive_machine_word_logand(T5,131073);
  T7 = primitive_machine_word_equalQ(T6,1);
  if (T7 != &KPfalseVKi) {
    T8 = primitive_machine_word_logand(T3,65535);
    raw_result_ = T8;
  } else {
    T9 = primitive_machine_word_logior(T3,4294901760);
    raw_result_ = T9;
  }
  // /home/bruce/Development/dylan/opendylan/sources/lib/c-ffi/c-types.dylan:102
  T12 = primitive_wrap_abstract_integer(raw_result_);
  // /home/bruce/Development/dylan/opendylan/sources/lib/c-ffi/c-types.dylan:102
  T13_0 = T12;
  // /home/bruce/Development/dylan/opendylan/sources/lib/c-ffi/c-types.dylan:102
  T11_0 = T13_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T13_0);
    primitive_type_check(T11_0, &KLffi_integerGYc_ffi_interfaceVc_ffi);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  MV_SET_COUNT(1);
  return(T11_0);
}

dylan_value Kpollfd_fdYunix_socketsVnetworkMM0I (dylan_value struct_) {
  void* T2;
  int T3;
  dylan_value T4_0;
  dylan_value T5;
  dylan_value T6_0;

  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  T2 = primitive_unwrap_c_pointer(struct_);
  T3 = primitive_c_signed_int_at(T2,0,0);
  // /home/bruce/Development/dylan/opendylan/sources/lib/c-ffi/c-types.dylan:96
  T5 = primitive_wrap_abstract_integer(T3);
  // /home/bruce/Development/dylan/opendylan/sources/lib/c-ffi/c-types.dylan:96
  T6_0 = T5;
  // /home/bruce/Development/dylan/opendylan/sources/lib/c-ffi/c-types.dylan:96
  T4_0 = T6_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T6_0);
    primitive_type_check(T4_0, &KLffi_integerGYc_ffi_interfaceVc_ffi);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  MV_SET_COUNT(1);
  return(T4_0);
}


/* SYSTEM INIT CODE */

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

  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  T0 = KPadd_classVKeI(&KLpollfdGYunix_socketsVnetwork);
  goto I0;
}
I0:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  T0 = KPadd_classVKeI(&KLpollfdTGYunix_socketsVnetwork);
  goto I3;
}
I3:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  T0 = KPadd_classVKeI(&KLpollfdTG_pointerYunix_socketsVnetwork);
  goto I8;
}
I8:

  return;
}

/* USER INIT CODE */

void _Init_network__X_8Epoll_for_user () {
{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  T0 = KPadd_nonsiblinged_domainVKnI(&KmakeVKd, &KmakeVKdRD_networkRD_2);
  goto I7;
}
I7:

{
  dylan_value T0;

  // /home/bruce/Development/dylan/opendylan/sources/network/unix-sockets/poll.dylan:3
  T0 = KPadd_nonsiblinged_domainVKnI(&KmakeVKd, &KmakeVKdRD_networkRD_1);
  goto I12;
}
I12:

  return;
}


/* eof */
