#include "run-time.h"

/* Typedefs for referenced classes */

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

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

typedef struct {
  D wrapper;
} _KLobjectGVKd;

typedef struct {
  D wrapper;
} _KLunboundGVKe;

typedef struct {
  D wrapper;
} _KLbooleanGVKd;

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

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

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

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    D wrapper; \
    D size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(20);
define__KLbyte_stringGVKd(19);
define__KLbyte_stringGVKd(35);
define__KLbyte_stringGVKd(40);
define__KLbyte_stringGVKd(27);
define__KLbyte_stringGVKd(37);
define__KLbyte_stringGVKd(22);
define__KLbyte_stringGVKd(1);
define__KLbyte_stringGVKd(17);
define__KLbyte_stringGVKd(24);
define__KLbyte_stringGVKd(7);
define__KLbyte_stringGVKd(8);
define__KLbyte_stringGVKd(12);
define__KLbyte_stringGVKd(14);
define__KLbyte_stringGVKd(21);
define__KLbyte_stringGVKd(13);
define__KLbyte_stringGVKd(15);
define__KLbyte_stringGVKd(9);
define__KLbyte_stringGVKd(16);
define__KLbyte_stringGVKd(10);
define__KLbyte_stringGVKd(4);
define__KLbyte_stringGVKd(23);
define__KLbyte_stringGVKd(11);
define__KLbyte_stringGVKd(18);
define__KLbyte_stringGVKd(0);

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

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

typedef struct {
  D wrapper;
  D element_type_;
  D representation_;
} _KLobject_dequeGVKe;

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

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

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

typedef struct {
  D wrapper;
} _KLstringGVKd;

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

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

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

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

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

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

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

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

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

typedef struct {
  D wrapper;
  D stretchy_representation_;
} _KLstretchy_object_vectorGVKe;

#define  define__KLsimple_closure_methodGVKi(nrepeated) \
  typedef struct { \
    D wrapper; \
    D xep_; \
    D function_signature_; \
    D mep_; \
    D environment_size_; \
    D environment_element_[nrepeated+1]; \
  } _KLsimple_closure_methodGVKi_##nrepeated;
define__KLsimple_closure_methodGVKi(0);

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

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

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

typedef struct {
  D wrapper;
} _KLdequeGVKd;

typedef struct {
  D wrapper;
} _KLconditionGVKd;

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

typedef struct {
  D wrapper;
} _KLserious_conditionGVKd;

typedef struct {
  D wrapper;
} _KLerrorGVKd;

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

typedef struct {
  D wrapper;
} _KLfile_locatorGYlocatorsVsystem;

typedef struct {
  D wrapper;
  D outer_stream_;
  D private_stream_element_type_value_;
  D private_stream_direction_value_;
  D private_stream_lock_value_;
  D actual_stream_input_buffer_;
  D actual_stream_output_buffer_;
  D stream_shared_buffer_;
  D initial_position_;
  D current_position_;
  D final_position_;
  D stream_locator_;
  D accessor_;
} _KLfile_streamGYstreams_internalsVio;

typedef struct {
  D wrapper;
  D properties_;
  D engine_node_callback_;
  D engine_node_entry_point_;
  D cache_header_engine_node_next_;
  D cache_header_engine_node_parent_;
} _KLsimple_typechecked_cache_header_engine_nodeGVKg;

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

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

typedef struct {
  D wrapper;
} _KLintegerGVKd;

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

typedef struct {
  D wrapper;
} _KLstreamGYcommon_extensionsVcommon_dylan;


/* Typedefs for defined classes */

typedef struct {
  D wrapper;
  D document_location_;
  D document_element_;
} _KLxml_documentGYsimple_xmlVsystem;

typedef struct {
  D wrapper;
} _KLxml_nodeGYsimple_xmlVsystem;

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

typedef struct {
  D wrapper;
  D parser_stack_;
  D parser_element_;
  D parser_text_;
} _KLxml_parserGYsystem_internalsVsystem;

typedef struct {
  D wrapper;
  D node_name_;
  D node_children_;
  D node_attributes_;
  D node_text_;
} _KLxml_elementGYsimple_xmlVsystem;


/* Referenced object declarations */

D KPadd_classVKeI (D);
extern _KLclassGVKd KLclassGVKd;
extern _KLmm_wrapperGVKi_0 KLclassGVKdW;
extern _KLclassGVKd KLmm_wrapperGVKi;
extern _KLmm_wrapperGVKi_1 KLmm_wrapperGVKiW;
extern _KLclassGVKd KLobjectGVKd;
extern _KLmm_wrapperGVKi_0 KLobjectGVKdW;
extern _KLunboundGVKe KPunboundVKi;
extern _KLclassGVKd KLunboundGVKe;
extern _KLmm_wrapperGVKi_0 KLunboundGVKeW;
extern _KLbooleanGVKd KPtrueVKi;
extern _KLclassGVKd KLbooleanGVKd;
extern _KLmm_wrapperGVKi_0 KLbooleanGVKdW;
extern _KLbooleanGVKd KPfalseVKi;
extern _KLclassGVKd 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 _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
extern _KLbyte_stringGVKd_0 KPempty_stringVKi;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLincremental_generic_functionGVKe KinitializeVKd;
extern _KLfunction_classGVKi KLincremental_generic_functionGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
D KLobject_dequeGZ32ZconstructorVKiMM0I (D, D, D);
extern _KLclassGVKd KLobject_dequeGVKe;
extern _KLmm_wrapperGVKi_0 KLobject_dequeGVKeW;
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 _KLclassGVKd KLinstance_slot_descriptorGVKe;
extern _KLmm_wrapperGVKi_0 KLinstance_slot_descriptorGVKeW;
extern _KLclassGVKd KLstringGVKd;
extern _KLmm_wrapperGVKi_0 KLstringGVKdW;
extern _KLclassGVKd KLsealed_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLsealed_generic_functionGVKeW;
extern _KLobject_signatureGVKe KDsignature_LobjectG_object_rest_value_2VKi;
extern _KLclassGVKd KLobject_signatureGVKe;
extern _KLmm_wrapperGVKi_0 KLobject_signatureGVKeW;
extern _KLabsent_engine_nodeGVKg RSINGULAR_Labsent_engine_nodeG;
extern _KLclassGVKd KLabsent_engine_nodeGVKg;
extern _KLmm_wrapperGVKi_0 KLabsent_engine_nodeGVKgW;
extern _KLclassGVKd KLpairGVKd;
extern _KLmm_wrapperGVKi_0 KLpairGVKdW;
extern _KLclassGVKd KLsetter_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLsetter_methodGVKiW;
extern _KLobject_signatureGVKe KDsignature_LobjectG_object_rest_value_1VKi;
extern _KLclassGVKd KLgetter_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLgetter_methodGVKiW;
extern _KLclassGVKd KLunionGVKe;
extern _KLmm_wrapperGVKi_0 KLunionGVKeW;
D Kunion_instanceQVKiI (D, D);
extern _KLsymbolGVKd KJname_;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
D KerrorVKdMM1I (D, D);
extern _KLclassGVKd KLstring_tableGVKe;
extern _KLmm_wrapperGVKi_0 KLstring_tableGVKeW;
D KLstretchy_object_vectorGZ32ZconstructorVKiMM0I (D, D);
extern _KLclassGVKd KLstretchy_object_vectorGVKe;
extern _KLmm_wrapperGVKi_0 KLstretchy_object_vectorGVKeW;
extern _KLincremental_generic_functionGVKe KmakeVKd;
extern _KLsimple_object_vectorGVKd_256 KDsignature_LobjectG_typesVKi;
extern _KLfunction_classGVKi KLsimple_closure_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLsimple_closure_methodGVKiW;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
D Kclass_instanceQ_initialVKiI (D, D);
extern _KLmoduleGVKe Ksimple_xml_moduleYdylan_userVsystem;
extern _KLclassGVKd KLmoduleGVKe;
extern _KLmm_wrapperGVKi_0 KLmoduleGVKeW;
extern _KLclassGVKd KLsingletonGVKd;
extern _KLmm_wrapperGVKi_0 KLsingletonGVKdW;
D Ksingleton_pointer_idQ_instanceQVKiI (D, D);
extern _KLclassGVKd KLdequeGVKd;
extern _KLmm_wrapperGVKi_0 KLdequeGVKdW;
extern _KLmoduleGVKe Ksystem_internals_moduleYdylan_userVsystem;
extern _KLclassGVKd KLconditionGVKd;
extern _KLmm_wrapperGVKi_0 KLconditionGVKdW;
extern _KLclassGVKd KLsimple_conditionGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_conditionGVKeW;
extern _KLclassGVKd KLserious_conditionGVKd;
extern _KLmm_wrapperGVKi_0 KLserious_conditionGVKdW;
extern _KLclassGVKd KLerrorGVKd;
extern _KLmm_wrapperGVKi_0 KLerrorGVKdW;
extern _KLclassGVKd KLsimple_errorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_errorGVKdW;
extern _KLsymbolGVKd KJformat_string_;
extern _KLsymbolGVKd KJformat_arguments_;
extern _KLinstance_slot_descriptorGVKe Kcondition_format_stringVKdHLsimple_conditionG;
extern _KLinstance_slot_descriptorGVKe Kcondition_format_argumentsVKdHLsimple_conditionG;
D Kclass_instanceQ_rcpl_single_smallVKiI (D, D);
extern _KLclassGVKd KLfile_locatorGYlocatorsVsystem;
extern _KLmm_wrapperGVKi_0 KLfile_locatorGYlocatorsVsystemW;
extern _KLsymbolGVKd KJdirection_;
extern _KLsymbolGVKd KJinput_;
extern _KLincremental_generic_functionGVKe Kopen_file_streamYstreams_protocolVcommon_dylan;
extern _KLclassGVKd KLfile_streamGYstreams_internalsVio;
extern _KLmm_wrapperGVKi_0 KLfile_streamGYstreams_internalsVioW;
extern _KLincremental_generic_functionGVKe Kstream_openQYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe KcloseYcommon_extensionsVcommon_dylan;
extern _KLclassGVKd KLsimple_typechecked_cache_header_engine_nodeGVKg;
extern _KLmm_wrapperGVKi_0 KLsimple_typechecked_cache_header_engine_nodeGVKgW;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLclassGVKd KLsignatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLsignatureAvaluesGVKiW;
extern _KLincremental_generic_functionGVKe Kstream_at_endQYstreams_protocolVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kread_lineYstreamsVio;
extern _KLsealed_generic_functionGVKe KconcatenateVKd;
extern _KLincremental_generic_functionGVKe KsizeVKd;
extern _KLincremental_generic_functionGVKe KLVKd;
extern _KLincremental_generic_functionGVKe KelementVKd;
extern _KLincremental_generic_functionGVKe KAVKd;
extern _KLincremental_generic_functionGVKe KEVKd;
extern _KLsymbolGVKd KJstart_;
extern _KLsymbolGVKd KJend_;
extern _KLincremental_generic_functionGVKe Kcopy_sequenceVKd;
extern _KLincremental_generic_functionGVKe K_VKd;
extern _KLincremental_generic_functionGVKe KemptyQVKd;
D KemptyQVKdMM14I (D);
extern _KLincremental_generic_functionGVKe KpopVKd;
extern _KLincremental_generic_functionGVKe KaddXVKd;
extern _KLincremental_generic_functionGVKe KpushVKd;
D KerrorVKdMM0I (D, D);
extern _KLincremental_generic_functionGVKe Kfind_keyVKd;
extern _KLclassGVKd KLintegerGVKd;
extern _KLmm_wrapperGVKi_0 KLintegerGVKdW;
extern _KLsymbolGVKd KJvalue_;
extern _KLsymbolGVKd KJtype_;
extern _KLclassGVKd KLtype_errorGVKd;
extern _KLmm_wrapperGVKi_0 KLtype_errorGVKdW;
extern _KLsealed_generic_functionGVKe KerrorVKd;
D KputhashVKiI (D, D, D);
extern _KLsimple_object_vectorGVKd_2 KDsignature_LstringG_typesVKi;
extern _KLsimple_object_vectorGVKd_16 KDsignature_LintegerG_typesVKi;
extern _KLsimple_object_vectorGVKd_2 KDsignature_Lstring_tableG_typesVKi;
D Kconcatenate_2VKeMM1I (D, D);
extern _KLclassGVKd KLstreamGYcommon_extensionsVcommon_dylan;
extern _KLmm_wrapperGVKi_0 KLstreamGYcommon_extensionsVcommon_dylanW;
D KgethashVKiI (D, D, D, D);
extern _KLincremental_generic_functionGVKe KpositionYcommon_extensionsVcommon_dylan;
D KaddXVKdMM3I (D, D);
extern _KLsimple_object_vectorGVKd_2 KDsignature_LvectorG_typesVKi;
extern _KLsymbolGVKd KJdefault_;

/* Defined object declarations */

extern _KLclassGVKd KLxml_documentGYsimple_xmlVsystem;
extern _KLmm_wrapperGVKi_0 KLxml_documentGYsimple_xmlVsystemW;
extern _KLclassGVKd KLxml_nodeGYsimple_xmlVsystem;
extern _KLmm_wrapperGVKi_0 KLxml_nodeGYsimple_xmlVsystemW;
extern _KLclassGVKd KLxml_errorGYsimple_xmlVsystem;
extern _KLmm_wrapperGVKi_0 KLxml_errorGYsimple_xmlVsystemW;
extern _KLclassGVKd KLxml_parserGYsystem_internalsVsystem;
extern _KLmm_wrapperGVKi_0 KLxml_parserGYsystem_internalsVsystemW;
static _KLimplementation_classGVKe K12;
static _KLsimple_object_vectorGVKd_3 K13;
extern _KLkeyword_methodGVKe KLxml_parserGZ32ZconstructorYsystem_internalsVsystemMM0;
D KLxml_parserGZ32ZconstructorYsystem_internalsVsystemMM0I (D, D);
static _KLsimple_object_vectorGVKd_1 K16;
static _KLsimple_object_vectorGVKd_6 K17;
static D K19I ();
static _KLkeyword_signatureAvaluesGVKi K20;
static _KLsimple_object_vectorGVKd_1 K21;
extern _KLinstance_slot_descriptorGVKe Kparser_stackYsystem_internalsVsystemHLxml_parserG;
extern _KLinstance_slot_descriptorGVKe Kparser_elementYsystem_internalsVsystemHLxml_parserG;
extern _KLinstance_slot_descriptorGVKe Kparser_textYsystem_internalsVsystemHLxml_parserG;
extern _KLsealed_generic_functionGVKe Kparser_textYsystem_internalsVsystem;
extern _KLsealed_generic_functionGVKe Kparser_text_setterYsystem_internalsVsystem;
extern _KLsetter_methodGVKi Kparser_text_setterYsystem_internalsVsystemMM0;
static _KLpairGVKd K28;
static _KLbyte_stringGVKd_18 K29;
extern _KLgetter_methodGVKi Kparser_textYsystem_internalsVsystemMM0;
static _KLpairGVKd K31;
static _KLbyte_stringGVKd_11 K32;
extern _KLsealed_generic_functionGVKe Kparser_elementYsystem_internalsVsystem;
extern _KLsealed_generic_functionGVKe Kparser_element_setterYsystem_internalsVsystem;
static _KLunionGVKe K35;
static _KLsingletonGVKd K36;
extern _KLclassGVKd KLxml_elementGYsimple_xmlVsystem;
extern _KLmm_wrapperGVKi_0 KLxml_elementGYsimple_xmlVsystemW;
static _KLimplementation_classGVKe K39;
static _KLsimple_object_vectorGVKd_4 K40;
extern _KLkeyword_methodGVKe KLxml_elementGZ32ZconstructorYsystem_internalsVsystemMM0;
D KLxml_elementGZ32ZconstructorYsystem_internalsVsystemMM0I (D, D, D, D, D);
static _KLsimple_object_vectorGVKd_1 K43;
static _KLsimple_object_vectorGVKd_6 K44;
static _KLbyte_stringGVKd_23 K45;
static D K49I ();
static D K48I ();
static _KLkeyword_signatureAvaluesGVKi K50;
static _KLsimple_object_vectorGVKd_6 K51;
static _KLsymbolGVKd KJattributes_;
static _KLsymbolGVKd KJtext_;
static _KLbyte_stringGVKd_4 K54;
static _KLbyte_stringGVKd_10 K55;
static _KLsimple_object_vectorGVKd_3 K56;
static _KLsimple_object_vectorGVKd_1 K57;
extern _KLinstance_slot_descriptorGVKe Knode_nameYsimple_xmlVsystemHLxml_elementG;
extern _KLinstance_slot_descriptorGVKe Knode_childrenYsimple_xmlVsystemHLxml_elementG;
extern _KLinstance_slot_descriptorGVKe Knode_attributesYsimple_xmlVsystemHLxml_elementG;
extern _KLinstance_slot_descriptorGVKe Knode_textYsimple_xmlVsystemHLxml_elementG;
extern _KLsealed_generic_functionGVKe Knode_textYsimple_xmlVsystem;
extern _KLsealed_generic_functionGVKe Knode_text_setterYsimple_xmlVsystem;
extern _KLsetter_methodGVKi Knode_text_setterYsimple_xmlVsystemMM0;
static _KLpairGVKd K65;
static _KLbyte_stringGVKd_16 K66;
extern _KLgetter_methodGVKi Knode_textYsimple_xmlVsystemMM0;
static _KLpairGVKd K68;
static _KLbyte_stringGVKd_9 K69;
static _KLsimple_closure_methodGVKi_0 K76;
static D K76I ();
extern _KLsealed_generic_functionGVKe Knode_attributesYsimple_xmlVsystem;
extern _KLgetter_methodGVKi Knode_attributesYsimple_xmlVsystemMM0;
static _KLpairGVKd K74;
static _KLbyte_stringGVKd_15 K75;
static _KLsignatureGVKe K77;
static _KLsimple_closure_methodGVKi_0 K84;
static D K84I ();
extern _KLsealed_generic_functionGVKe Knode_childrenYsimple_xmlVsystem;
extern _KLgetter_methodGVKi Knode_childrenYsimple_xmlVsystemMM0;
static _KLpairGVKd K82;
static _KLbyte_stringGVKd_13 K83;
extern _KLsealed_generic_functionGVKe Knode_nameYsimple_xmlVsystem;
extern _KLgetter_methodGVKi Knode_nameYsimple_xmlVsystemMM0;
static _KLpairGVKd K87;
static _KLbyte_stringGVKd_9 K88;
static _KLbyte_stringGVKd_13 K89;
extern _KLsetter_methodGVKi Kparser_element_setterYsystem_internalsVsystemMM0;
static _KLpairGVKd K91;
static _KLbyte_stringGVKd_21 K92;
extern _KLgetter_methodGVKi Kparser_elementYsystem_internalsVsystemMM0;
static _KLpairGVKd K94;
static _KLbyte_stringGVKd_14 K95;
static _KLsimple_closure_methodGVKi_0 K102;
static D K102I ();
extern _KLsealed_generic_functionGVKe Kparser_stackYsystem_internalsVsystem;
extern _KLgetter_methodGVKi Kparser_stackYsystem_internalsVsystemMM0;
static _KLpairGVKd K100;
static _KLbyte_stringGVKd_12 K101;
static _KLbyte_stringGVKd_12 K103;
static _KLimplementation_classGVKe K104;
static _KLsimple_object_vectorGVKd_2 K105;
extern _KLkeyword_methodGVKe KLxml_errorGZ32ZconstructorYsystem_internalsVsystemMM0;
D KLxml_errorGZ32ZconstructorYsystem_internalsVsystemMM0I (D, D, D, D);
static _KLsimple_object_vectorGVKd_1 K108;
static _KLsimple_object_vectorGVKd_7 K109;
static _KLkeyword_signatureAvaluesGVKi K110;
static _KLsimple_object_vectorGVKd_4 K111;
static _KLsimple_object_vectorGVKd_2 K112;
static _KLsimple_object_vectorGVKd_1 K113;
static _KLbyte_stringGVKd_11 K114;
static _KLimplementation_classGVKe K115;
extern _KLkeyword_methodGVKe KLxml_nodeGZ32ZconstructorYsystem_internalsVsystemMM0;
D KLxml_nodeGZ32ZconstructorYsystem_internalsVsystemMM0I (D, D);
static _KLsimple_object_vectorGVKd_6 K118;
static _KLkeyword_signatureAvaluesGVKi K119;
static _KLbyte_stringGVKd_10 K120;
static _KLimplementation_classGVKe K121;
static _KLsimple_object_vectorGVKd_2 K122;
extern _KLkeyword_methodGVKe KLxml_documentGZ32ZconstructorYsystem_internalsVsystemMM0;
D KLxml_documentGZ32ZconstructorYsystem_internalsVsystemMM0I (D, D, D, D);
static _KLsimple_object_vectorGVKd_6 K125;
static _KLsymbolGVKd KJlocation_;
static _KLbyte_stringGVKd_8 K127;
static _KLkeyword_signatureAvaluesGVKi K128;
static _KLsimple_object_vectorGVKd_4 K129;
static _KLsymbolGVKd KJelement_;
static _KLbyte_stringGVKd_7 K131;
static _KLsimple_object_vectorGVKd_2 K132;
static _KLsimple_object_vectorGVKd_1 K133;
extern _KLinstance_slot_descriptorGVKe Kdocument_locationYsimple_xmlVsystemHLxml_documentG;
extern _KLinstance_slot_descriptorGVKe Kdocument_elementYsimple_xmlVsystemHLxml_documentG;
extern _KLsealed_generic_functionGVKe Kdocument_elementYsimple_xmlVsystem;
extern _KLsealed_generic_functionGVKe Kdocument_element_setterYsimple_xmlVsystem;
extern _KLsetter_methodGVKi Kdocument_element_setterYsimple_xmlVsystemMM0;
static _KLpairGVKd K139;
static _KLbyte_stringGVKd_23 K140;
extern _KLgetter_methodGVKi Kdocument_elementYsimple_xmlVsystemMM0;
static _KLpairGVKd K142;
static _KLbyte_stringGVKd_16 K143;
extern _KLsealed_generic_functionGVKe Kdocument_locationYsimple_xmlVsystem;
extern _KLsealed_generic_functionGVKe Kdocument_location_setterYsimple_xmlVsystem;
extern _KLsetter_methodGVKi Kdocument_location_setterYsimple_xmlVsystemMM0;
static _KLpairGVKd K147;
static _KLbyte_stringGVKd_24 K148;
extern _KLgetter_methodGVKi Kdocument_locationYsimple_xmlVsystemMM0;
static _KLpairGVKd K150;
static _KLbyte_stringGVKd_17 K151;
static _KLbyte_stringGVKd_14 K152;
extern _KLsimple_methodGVKe Kread_xml_documentYsimple_xmlVsystemMM0;
D Kread_xml_documentYsimple_xmlVsystemMM0I (D);
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K155;
extern _KLsealed_generic_functionGVKe Ktokenize_xmlYsystem_internalsVsystem;
extern _KLsimple_methodGVKe Ktokenize_xmlYsystem_internalsVsystemMM0;
D Ktokenize_xmlYsystem_internalsVsystemMM0I (D, D);
extern _KLsimple_methodGVKe Ktokenize_xmlYsystem_internalsVsystemMM1;
D Ktokenize_xmlYsystem_internalsVsystemMM1I (D, D);
static _KLpairGVKd K161;
static _KLpairGVKd K162;
static _KLbyte_stringGVKd_12 K163;
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K164;
static _KLsignatureAvaluesGVKi K165;
static _KLsimple_object_vectorGVKd_2 K166;
static _KLsymbolGVKd KJon_end_of_stream_;
static _KLbyte_stringGVKd_1 K168;
extern _KLsimple_methodGVKe Kparse_lineYsystem_internalsVsystemMM0;
D Kparse_lineYsystem_internalsVsystemMM0I (D, D);
D Kparser_debugYsystem_internalsVsystemI (D, D);
static _KLbyte_stringGVKd_22 K172;
D Kparse_tagYsystem_internalsVsystemMM0I (D, D, D, D);
D Kxml_errorYsystem_internalsVsystemI (D, D);
static _KLbyte_stringGVKd_37 K175;
static _KLbyte_stringGVKd_27 K176;
static _KLbyte_stringGVKd_40 K177;
static _KLbyte_stringGVKd_18 K178;
static _KLunionGVKe K179;
static _KLsimple_closure_methodGVKi_0 Kanonymous_of_parse_tagF195;
static D Kanonymous_of_parse_tagF195I (D);
static _KLbyte_stringGVKd_16 K182;
extern _KLkeyword_methodGVKe Kparse_attributesYsystem_internalsVsystemMM0;
D Kparse_attributesYsystem_internalsVsystemMM0I (D, D, D, D);
static _KLbyte_stringGVKd_35 K185;
static _KLbyte_stringGVKd_23 K186;
static _KLbyte_stringGVKd_11 K187;
static _KLbyte_stringGVKd_19 K188;
static _KLbyte_stringGVKd_16 K189;
static _KLbyte_stringGVKd_20 K190;
static _KLbyte_stringGVKd_21 K191;
static _KLkeyword_signatureAvaluesGVKi K192;
static _KLsimple_object_vectorGVKd_4 K193;
static _KLsimple_object_vectorGVKd_2 K194;
static _KLsignatureGVKe K196;
static _KLsignatureAvaluesGVKi K197;
static _KLsimple_object_vectorGVKd_2 K198;
static _KLsimple_object_vectorGVKd_1 K199;
static _KLbyte_stringGVKd_16 K200;
static _KLsignatureAvaluesGVKi K201;
static _KLsimple_object_vectorGVKd_2 K202;
static _KLsignatureAvaluesGVKi K203;
static _KLsimple_object_vectorGVKd_1 K204;
extern _KLsimple_methodGVKe Knode_attributeYsimple_xmlVsystemMM0;
D Knode_attributeYsimple_xmlVsystemMM0I (D, D);
static _KLsignatureAvaluesGVKi K207;
static _KLsimple_object_vectorGVKd_2 K208;
extern _KLsimple_methodGVKe Knode_attribute_setterYsimple_xmlVsystemMM0;
D Knode_attribute_setterYsimple_xmlVsystemMM0I (D, D, D);
static _KLsignatureAvaluesGVKi K211;
static _KLsimple_object_vectorGVKd_3 K212;
extern _KLsimple_methodGVKe Kselect_nodesYsimple_xmlVsystemMM0;
D Kselect_nodesYsimple_xmlVsystemMM0I (D, D);
extern _KLsimple_methodGVKe Kselect_single_nodeYsimple_xmlVsystemMM0;
D Kselect_single_nodeYsimple_xmlVsystemMM0I (D, D);
static _KLsignatureAvaluesGVKi K217;
static _KLsimple_object_vectorGVKd_1 K218;
static _KLsignatureAvaluesGVKi K219;
extern _KLkeyword_methodGVKe Kselect_node_textYsimple_xmlVsystemMM0;
D Kselect_node_textYsimple_xmlVsystemMM0I (D, D, D, D);
static _KLkeyword_signatureAvaluesGVKi K222;
static _KLsimple_object_vectorGVKd_2 K223;
static _KLsimple_object_vectorGVKd_1 K224;
static _KLpairGVKd K225;

/* Indirection variables */

static D IKJattributes_ = &KJattributes_;
static D IKJtext_ = &KJtext_;
static D IKJlocation_ = &KJlocation_;
static D IKJelement_ = &KJelement_;
static D IKJon_end_of_stream_ = &KJon_end_of_stream_;

/* Variables */

D select_node_textYsimple_xmlVsystem = &Kselect_node_textYsimple_xmlVsystemMM0;
D select_single_nodeYsimple_xmlVsystem = &Kselect_single_nodeYsimple_xmlVsystemMM0;
D select_nodesYsimple_xmlVsystem = &Kselect_nodesYsimple_xmlVsystemMM0;
D node_attribute_setterYsimple_xmlVsystem = &Knode_attribute_setterYsimple_xmlVsystemMM0;
D node_attributeYsimple_xmlVsystem = &Knode_attributeYsimple_xmlVsystemMM0;
D read_xml_documentYsimple_xmlVsystem = &Kread_xml_documentYsimple_xmlVsystemMM0;
D node_nameYsimple_xmlVsystem = &Knode_nameYsimple_xmlVsystem;
D node_childrenYsimple_xmlVsystem = &Knode_childrenYsimple_xmlVsystem;
D node_attributesYsimple_xmlVsystem = &Knode_attributesYsimple_xmlVsystem;
D node_textYsimple_xmlVsystem = &Knode_textYsimple_xmlVsystem;
D node_text_setterYsimple_xmlVsystem = &Knode_text_setterYsimple_xmlVsystem;
D document_locationYsimple_xmlVsystem = &Kdocument_locationYsimple_xmlVsystem;
D document_location_setterYsimple_xmlVsystem = &Kdocument_location_setterYsimple_xmlVsystem;
D document_elementYsimple_xmlVsystem = &Kdocument_elementYsimple_xmlVsystem;
D document_element_setterYsimple_xmlVsystem = &Kdocument_element_setterYsimple_xmlVsystem;
D Lxml_documentGYsimple_xmlVsystem = &KLxml_documentGYsimple_xmlVsystem;
D Lxml_nodeGYsimple_xmlVsystem = &KLxml_nodeGYsimple_xmlVsystem;
D Lxml_elementGYsimple_xmlVsystem = &KLxml_elementGYsimple_xmlVsystem;
D Lxml_errorGYsimple_xmlVsystem = &KLxml_errorGYsimple_xmlVsystem;
D Lxml_parserGYsystem_internalsVsystem = &KLxml_parserGYsystem_internalsVsystem;

/* Objects */

_KLclassGVKd KLxml_documentGYsimple_xmlVsystem = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K152,
  &K121,
  (D) 1,
  &Ksimple_xml_moduleYdylan_userVsystem
};

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

_KLclassGVKd KLxml_nodeGYsimple_xmlVsystem = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_rcpl_single_smallVKiI,
  &K120,
  &K115,
  (D) 1,
  &Ksimple_xml_moduleYdylan_userVsystem
};

_KLmm_wrapperGVKi_0 KLxml_nodeGYsimple_xmlVsystemW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K115,
  (D) 1,
  1,
  33554439,
  (D) 1
};

_KLclassGVKd KLxml_errorGYsimple_xmlVsystem = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K114,
  &K104,
  (D) 1,
  &Ksimple_xml_moduleYdylan_userVsystem
};

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

_KLclassGVKd KLxml_parserGYsystem_internalsVsystem = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K103,
  &K12,
  (D) 1,
  &Ksystem_internals_moduleYdylan_userVsystem
};

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

static _KLimplementation_classGVKe K12 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 527433741,
  &KLxml_parserGYsystem_internalsVsystem,
  &KLxml_parserGYsystem_internalsVsystemW,
  &KPfalseVKi,
  &K13,
  (D) -3,
  &KLxml_parserGZ32ZconstructorYsystem_internalsVsystemMM0,
  &K16,
  &K17,
  (D) 5,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &K13,
  &K13,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_3 K13 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &Kparser_stackYsystem_internalsVsystemHLxml_parserG,
  &Kparser_elementYsystem_internalsVsystemHLxml_parserG,
  &Kparser_textYsystem_internalsVsystemHLxml_parserG
};

_KLkeyword_methodGVKe KLxml_parserGZ32ZconstructorYsystem_internalsVsystemMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_2,
  &K20,
  &key_mep_2,
  &KLxml_parserGZ32ZconstructorYsystem_internalsVsystemMM0I,
  &KPempty_vectorVKi
};

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

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

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

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

_KLinstance_slot_descriptorGVKe Kparser_stackYsystem_internalsVsystemHLxml_parserG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 149,
  &K102,
  &KLxml_parserGYsystem_internalsVsystem,
  &KPfalseVKi,
  &Kparser_stackYsystem_internalsVsystem,
  &KPfalseVKi,
  &KLdequeGVKd
};

_KLinstance_slot_descriptorGVKe Kparser_elementYsystem_internalsVsystemHLxml_parserG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 157,
  &KPfalseVKi,
  &KLxml_parserGYsystem_internalsVsystem,
  &KPfalseVKi,
  &Kparser_elementYsystem_internalsVsystem,
  &Kparser_element_setterYsystem_internalsVsystem,
  &K35
};

_KLinstance_slot_descriptorGVKe Kparser_textYsystem_internalsVsystemHLxml_parserG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 157,
  &KPempty_stringVKi,
  &KLxml_parserGYsystem_internalsVsystem,
  &KPfalseVKi,
  &Kparser_textYsystem_internalsVsystem,
  &Kparser_text_setterYsystem_internalsVsystem,
  &KLstringGVKd
};

_KLsealed_generic_functionGVKe Kparser_textYsystem_internalsVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K32,
  &K31,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsealed_generic_functionGVKe Kparser_text_setterYsystem_internalsVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &KDsignature_LobjectG_object_rest_value_2VKi,
  &KPfalseVKi,
  &K29,
  &K28,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsetter_methodGVKi Kparser_text_setterYsystem_internalsVsystemMM0 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &Kparser_textYsystem_internalsVsystemHLxml_parserG
};

static _KLpairGVKd K28 = {
  &KLpairGVKdW /* wrapper */,
  &Kparser_text_setterYsystem_internalsVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_18 K29 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 73,
  "parser-text-setter"
};

_KLgetter_methodGVKi Kparser_textYsystem_internalsVsystemMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kparser_textYsystem_internalsVsystemHLxml_parserG
};

static _KLpairGVKd K31 = {
  &KLpairGVKdW /* wrapper */,
  &Kparser_textYsystem_internalsVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_11 K32 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 45,
  "parser-text"
};

_KLsealed_generic_functionGVKe Kparser_elementYsystem_internalsVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K95,
  &K94,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsealed_generic_functionGVKe Kparser_element_setterYsystem_internalsVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &KDsignature_LobjectG_object_rest_value_2VKi,
  &KPfalseVKi,
  &K92,
  &K91,
  &RSINGULAR_Labsent_engine_nodeG
};

static _KLunionGVKe K35 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K36,
  &KLxml_elementGYsimple_xmlVsystem
};

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

_KLclassGVKd KLxml_elementGYsimple_xmlVsystem = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K89,
  &K39,
  (D) 1,
  &Ksimple_xml_moduleYdylan_userVsystem
};

_KLmm_wrapperGVKi_0 KLxml_elementGYsimple_xmlVsystemW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K39,
  (D) 1,
  17,
  33554439,
  (D) 1
};

static _KLimplementation_classGVKe K39 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 527433745,
  &KLxml_elementGYsimple_xmlVsystem,
  &KLxml_elementGYsimple_xmlVsystemW,
  &KPfalseVKi,
  &K40,
  (D) -3,
  &KLxml_elementGZ32ZconstructorYsystem_internalsVsystemMM0,
  &K43,
  &K44,
  (D) 9,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &K40,
  &K40,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_4 K40 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 17,
  &Knode_nameYsimple_xmlVsystemHLxml_elementG,
  &Knode_childrenYsimple_xmlVsystemHLxml_elementG,
  &Knode_attributesYsimple_xmlVsystemHLxml_elementG,
  &Knode_textYsimple_xmlVsystemHLxml_elementG
};

_KLkeyword_methodGVKe KLxml_elementGZ32ZconstructorYsystem_internalsVsystemMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K50,
  &key_mep_2,
  &KLxml_elementGZ32ZconstructorYsystem_internalsVsystemMM0I,
  &K51
};

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

static _KLsimple_object_vectorGVKd_6 K44 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 25,
  &KLobjectGVKd,
  &KLxml_nodeGYsimple_xmlVsystem,
  &KLxml_elementGYsimple_xmlVsystem,
  &KPfalseVKi,
  &KPfalseVKi,
  &KPfalseVKi
};

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

static _KLkeyword_signatureAvaluesGVKi K50 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 35390469,
  &KDsignature_LclassG_typesVKi,
  &K56,
  &KDsignature_LobjectG_typesVKi,
  &K57
};

static _KLsimple_object_vectorGVKd_6 K51 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 25,
  &KJname_,
  &KPunboundVKi,
  &KJattributes_,
  &KPunboundVKi,
  &KJtext_,
  &KPempty_stringVKi
};

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

static _KLsymbolGVKd KJtext_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K54
};

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

static _KLbyte_stringGVKd_10 K55 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 41,
  "attributes"
};

static _KLsimple_object_vectorGVKd_3 K56 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &KJname_,
  &KJattributes_,
  &KJtext_
};

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

_KLinstance_slot_descriptorGVKe Knode_nameYsimple_xmlVsystemHLxml_elementG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 193,
  &KPfalseVKi,
  &KLxml_elementGYsimple_xmlVsystem,
  &KJname_,
  &Knode_nameYsimple_xmlVsystem,
  &KPfalseVKi,
  &KLstringGVKd
};

_KLinstance_slot_descriptorGVKe Knode_childrenYsimple_xmlVsystemHLxml_elementG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 149,
  &K84,
  &KLxml_elementGYsimple_xmlVsystem,
  &KPfalseVKi,
  &Knode_childrenYsimple_xmlVsystem,
  &KPfalseVKi,
  &KLstretchy_object_vectorGVKe
};

_KLinstance_slot_descriptorGVKe Knode_attributesYsimple_xmlVsystemHLxml_elementG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 149,
  &K76,
  &KLxml_elementGYsimple_xmlVsystem,
  &KJattributes_,
  &Knode_attributesYsimple_xmlVsystem,
  &KPfalseVKi,
  &KLstring_tableGVKe
};

_KLinstance_slot_descriptorGVKe Knode_textYsimple_xmlVsystemHLxml_elementG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 157,
  &KPempty_stringVKi,
  &KLxml_elementGYsimple_xmlVsystem,
  &KJtext_,
  &Knode_textYsimple_xmlVsystem,
  &Knode_text_setterYsimple_xmlVsystem,
  &KLstringGVKd
};

_KLsealed_generic_functionGVKe Knode_textYsimple_xmlVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K69,
  &K68,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsealed_generic_functionGVKe Knode_text_setterYsimple_xmlVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &KDsignature_LobjectG_object_rest_value_2VKi,
  &KPfalseVKi,
  &K66,
  &K65,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsetter_methodGVKi Knode_text_setterYsimple_xmlVsystemMM0 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &Knode_textYsimple_xmlVsystemHLxml_elementG
};

static _KLpairGVKd K65 = {
  &KLpairGVKdW /* wrapper */,
  &Knode_text_setterYsimple_xmlVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_16 K66 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 65,
  "node-text-setter"
};

_KLgetter_methodGVKi Knode_textYsimple_xmlVsystemMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Knode_textYsimple_xmlVsystemHLxml_elementG
};

static _KLpairGVKd K68 = {
  &KLpairGVKdW /* wrapper */,
  &Knode_textYsimple_xmlVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_9 K69 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 37,
  "node-text"
};

static _KLsimple_closure_methodGVKi_0 K76 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_0,
  &K77,
  &K76I,
  (D) 1
};

_KLsealed_generic_functionGVKe Knode_attributesYsimple_xmlVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K75,
  &K74,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLgetter_methodGVKi Knode_attributesYsimple_xmlVsystemMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Knode_attributesYsimple_xmlVsystemHLxml_elementG
};

static _KLpairGVKd K74 = {
  &KLpairGVKdW /* wrapper */,
  &Knode_attributesYsimple_xmlVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_15 K75 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 61,
  "node-attributes"
};

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

static _KLsimple_closure_methodGVKi_0 K84 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_0,
  &K77,
  &K84I,
  (D) 1
};

_KLsealed_generic_functionGVKe Knode_childrenYsimple_xmlVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K83,
  &K82,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLgetter_methodGVKi Knode_childrenYsimple_xmlVsystemMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Knode_childrenYsimple_xmlVsystemHLxml_elementG
};

static _KLpairGVKd K82 = {
  &KLpairGVKdW /* wrapper */,
  &Knode_childrenYsimple_xmlVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_13 K83 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 53,
  "node-children"
};

_KLsealed_generic_functionGVKe Knode_nameYsimple_xmlVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K88,
  &K87,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLgetter_methodGVKi Knode_nameYsimple_xmlVsystemMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Knode_nameYsimple_xmlVsystemHLxml_elementG
};

static _KLpairGVKd K87 = {
  &KLpairGVKdW /* wrapper */,
  &Knode_nameYsimple_xmlVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_9 K88 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 37,
  "node-name"
};

static _KLbyte_stringGVKd_13 K89 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 53,
  "<xml-element>"
};

_KLsetter_methodGVKi Kparser_element_setterYsystem_internalsVsystemMM0 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &Kparser_elementYsystem_internalsVsystemHLxml_parserG
};

static _KLpairGVKd K91 = {
  &KLpairGVKdW /* wrapper */,
  &Kparser_element_setterYsystem_internalsVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_21 K92 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 85,
  "parser-element-setter"
};

_KLgetter_methodGVKi Kparser_elementYsystem_internalsVsystemMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kparser_elementYsystem_internalsVsystemHLxml_parserG
};

static _KLpairGVKd K94 = {
  &KLpairGVKdW /* wrapper */,
  &Kparser_elementYsystem_internalsVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_14 K95 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 57,
  "parser-element"
};

static _KLsimple_closure_methodGVKi_0 K102 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_0,
  &K77,
  &K102I,
  (D) 1
};

_KLsealed_generic_functionGVKe Kparser_stackYsystem_internalsVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K101,
  &K100,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLgetter_methodGVKi Kparser_stackYsystem_internalsVsystemMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kparser_stackYsystem_internalsVsystemHLxml_parserG
};

static _KLpairGVKd K100 = {
  &KLpairGVKdW /* wrapper */,
  &Kparser_stackYsystem_internalsVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_12 K101 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 49,
  "parser-stack"
};

static _KLbyte_stringGVKd_12 K103 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 49,
  "<xml-parser>"
};

static _KLimplementation_classGVKe K104 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 477102089,
  &KLxml_errorGYsimple_xmlVsystem,
  &KLxml_errorGYsimple_xmlVsystemW,
  &KPfalseVKi,
  &K105,
  (D) -3,
  &KLxml_errorGZ32ZconstructorYsystem_internalsVsystemMM0,
  &K108,
  &K109,
  (D) 25,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K105,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

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

_KLkeyword_methodGVKe KLxml_errorGZ32ZconstructorYsystem_internalsVsystemMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K110,
  &key_mep_2,
  &KLxml_errorGZ32ZconstructorYsystem_internalsVsystemMM0I,
  &K111
};

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

static _KLsimple_object_vectorGVKd_7 K109 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 29,
  &KLobjectGVKd,
  &KLconditionGVKd,
  &KLsimple_conditionGVKe,
  &KLserious_conditionGVKd,
  &KLerrorGVKd,
  &KLsimple_errorGVKd,
  &KLxml_errorGYsimple_xmlVsystem
};

static _KLkeyword_signatureAvaluesGVKi K110 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 35390469,
  &KDsignature_LclassG_typesVKi,
  &K112,
  &KDsignature_LobjectG_typesVKi,
  &K113
};

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

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

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

static _KLbyte_stringGVKd_11 K114 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 45,
  "<xml-error>"
};

static _KLimplementation_classGVKe K115 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 477102081,
  &KLxml_nodeGYsimple_xmlVsystem,
  &KLxml_nodeGYsimple_xmlVsystemW,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) -3,
  &KLxml_nodeGZ32ZconstructorYsystem_internalsVsystemMM0,
  &K16,
  &K118,
  (D) 5,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &K225,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

_KLkeyword_methodGVKe KLxml_nodeGZ32ZconstructorYsystem_internalsVsystemMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_2,
  &K119,
  &key_mep_2,
  &KLxml_nodeGZ32ZconstructorYsystem_internalsVsystemMM0I,
  &KPempty_vectorVKi
};

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

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

static _KLbyte_stringGVKd_10 K120 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 41,
  "<xml-node>"
};

static _KLimplementation_classGVKe K121 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 477102089,
  &KLxml_documentGYsimple_xmlVsystem,
  &KLxml_documentGYsimple_xmlVsystemW,
  &KPfalseVKi,
  &K122,
  (D) -3,
  &KLxml_documentGZ32ZconstructorYsystem_internalsVsystemMM0,
  &K16,
  &K125,
  (D) 5,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &K122,
  &K122,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_2 K122 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &Kdocument_locationYsimple_xmlVsystemHLxml_documentG,
  &Kdocument_elementYsimple_xmlVsystemHLxml_documentG
};

_KLkeyword_methodGVKe KLxml_documentGZ32ZconstructorYsystem_internalsVsystemMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K128,
  &key_mep_2,
  &KLxml_documentGZ32ZconstructorYsystem_internalsVsystemMM0I,
  &K129
};

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

static _KLsymbolGVKd KJlocation_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K127
};

static _KLbyte_stringGVKd_8 K127 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 33,
  "location"
};

static _KLkeyword_signatureAvaluesGVKi K128 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 35390469,
  &KDsignature_LclassG_typesVKi,
  &K132,
  &KDsignature_LobjectG_typesVKi,
  &K133
};

static _KLsimple_object_vectorGVKd_4 K129 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 17,
  &KJlocation_,
  &KPunboundVKi,
  &KJelement_,
  &KPfalseVKi
};

static _KLsymbolGVKd KJelement_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K131
};

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

static _KLsimple_object_vectorGVKd_2 K132 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KJlocation_,
  &KJelement_
};

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

_KLinstance_slot_descriptorGVKe Kdocument_locationYsimple_xmlVsystemHLxml_documentG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 193,
  &KPfalseVKi,
  &KLxml_documentGYsimple_xmlVsystem,
  &KJlocation_,
  &Kdocument_locationYsimple_xmlVsystem,
  &Kdocument_location_setterYsimple_xmlVsystem,
  &KLfile_locatorGYlocatorsVsystem
};

_KLinstance_slot_descriptorGVKe Kdocument_elementYsimple_xmlVsystemHLxml_documentG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 157,
  &KPfalseVKi,
  &KLxml_documentGYsimple_xmlVsystem,
  &KJelement_,
  &Kdocument_elementYsimple_xmlVsystem,
  &Kdocument_element_setterYsimple_xmlVsystem,
  &K35
};

_KLsealed_generic_functionGVKe Kdocument_elementYsimple_xmlVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K143,
  &K142,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsealed_generic_functionGVKe Kdocument_element_setterYsimple_xmlVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &KDsignature_LobjectG_object_rest_value_2VKi,
  &KPfalseVKi,
  &K140,
  &K139,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsetter_methodGVKi Kdocument_element_setterYsimple_xmlVsystemMM0 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &Kdocument_elementYsimple_xmlVsystemHLxml_documentG
};

static _KLpairGVKd K139 = {
  &KLpairGVKdW /* wrapper */,
  &Kdocument_element_setterYsimple_xmlVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_23 K140 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 93,
  "document-element-setter"
};

_KLgetter_methodGVKi Kdocument_elementYsimple_xmlVsystemMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kdocument_elementYsimple_xmlVsystemHLxml_documentG
};

static _KLpairGVKd K142 = {
  &KLpairGVKdW /* wrapper */,
  &Kdocument_elementYsimple_xmlVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_16 K143 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 65,
  "document-element"
};

_KLsealed_generic_functionGVKe Kdocument_locationYsimple_xmlVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K151,
  &K150,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsealed_generic_functionGVKe Kdocument_location_setterYsimple_xmlVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &KDsignature_LobjectG_object_rest_value_2VKi,
  &KPfalseVKi,
  &K148,
  &K147,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsetter_methodGVKi Kdocument_location_setterYsimple_xmlVsystemMM0 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &Kdocument_locationYsimple_xmlVsystemHLxml_documentG
};

static _KLpairGVKd K147 = {
  &KLpairGVKdW /* wrapper */,
  &Kdocument_location_setterYsimple_xmlVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_24 K148 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 97,
  "document-location-setter"
};

_KLgetter_methodGVKi Kdocument_locationYsimple_xmlVsystemMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kdocument_locationYsimple_xmlVsystemHLxml_documentG
};

static _KLpairGVKd K150 = {
  &KLpairGVKdW /* wrapper */,
  &Kdocument_locationYsimple_xmlVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_17 K151 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 69,
  "document-location"
};

static _KLbyte_stringGVKd_14 K152 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 57,
  "<xml-document>"
};

_KLsimple_methodGVKe Kread_xml_documentYsimple_xmlVsystemMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K203,
  &Kread_xml_documentYsimple_xmlVsystemMM0I
};

static _KLsimple_typechecked_cache_header_engine_nodeGVKg K155 = {
  &KLsimple_typechecked_cache_header_engine_nodeGVKgW /* wrapper */,
  (D) 65593,
  &KPfalseVKi,
  &cache_header_engine_2,
  &RSINGULAR_Labsent_engine_nodeG,
  &Ktokenize_xmlYsystem_internalsVsystem
};

_KLsealed_generic_functionGVKe Ktokenize_xmlYsystem_internalsVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &KDsignature_LobjectG_object_rest_value_2VKi,
  (D) 5,
  &K163,
  &K161,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsimple_methodGVKe Ktokenize_xmlYsystem_internalsVsystemMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K201,
  &Ktokenize_xmlYsystem_internalsVsystemMM0I
};

_KLsimple_methodGVKe Ktokenize_xmlYsystem_internalsVsystemMM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K165,
  &Ktokenize_xmlYsystem_internalsVsystemMM1I
};

static _KLpairGVKd K161 = {
  &KLpairGVKdW /* wrapper */,
  &Ktokenize_xmlYsystem_internalsVsystemMM0,
  &K162
};

static _KLpairGVKd K162 = {
  &KLpairGVKdW /* wrapper */,
  &Ktokenize_xmlYsystem_internalsVsystemMM1,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_12 K163 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 49,
  "tokenize-xml"
};

static _KLsimple_typechecked_cache_header_engine_nodeGVKg K164 = {
  &KLsimple_typechecked_cache_header_engine_nodeGVKgW /* wrapper */,
  (D) 65593,
  &KPfalseVKi,
  &cache_header_engine_2,
  &RSINGULAR_Labsent_engine_nodeG,
  &Ktokenize_xmlYsystem_internalsVsystem
};

static _KLsignatureAvaluesGVKi K165 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K166,
  &K57
};

static _KLsimple_object_vectorGVKd_2 K166 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLxml_parserGYsystem_internalsVsystem,
  &KLfile_locatorGYlocatorsVsystem
};

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

static _KLbyte_stringGVKd_1 K168 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 5,
  " "
};

_KLsimple_methodGVKe Kparse_lineYsystem_internalsVsystemMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K197,
  &Kparse_lineYsystem_internalsVsystemMM0I
};

static _KLbyte_stringGVKd_22 K172 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 89,
  "> Processing line \'%s\'"
};

static _KLbyte_stringGVKd_37 K175 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 149,
  "No name was found! (index %d in \'%s\')"
};

static _KLbyte_stringGVKd_27 K176 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 109,
  "Mismatched closing tag \'%s\'"
};

static _KLbyte_stringGVKd_40 K177 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 161,
  "Found attributes \'%=\' for close tag \'%s\'"
};

static _KLbyte_stringGVKd_18 K178 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 73,
  "++ Children now %="
};

static _KLunionGVKe K179 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K36,
  &KLstringGVKd
};

static _KLsimple_closure_methodGVKi_0 Kanonymous_of_parse_tagF195 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &rest_xep_0,
  &K196,
  &Kanonymous_of_parse_tagF195I,
  (D) 1
};

static _KLbyte_stringGVKd_16 K182 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 65,
  ">   Parsing \'%s\'"
};

_KLkeyword_methodGVKe Kparse_attributesYsystem_internalsVsystemMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K192,
  &key_mep_4,
  &Kparse_attributesYsystem_internalsVsystemMM0I,
  &K193
};

static _KLbyte_stringGVKd_35 K185 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 141,
  ">      Parsing attributes from \'%s\'"
};

static _KLbyte_stringGVKd_23 K186 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 93,
  "Found %s, checking \'%s\'"
};

static _KLbyte_stringGVKd_11 K187 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 45,
  "Found quote"
};

static _KLbyte_stringGVKd_19 K188 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 77,
  "Found closing quote"
};

static _KLbyte_stringGVKd_16 K189 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 65,
  "Found value \'%s\'"
};

static _KLbyte_stringGVKd_20 K190 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 81,
  "Starting again at %d"
};

static _KLbyte_stringGVKd_21 K191 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 85,
  "Missing quote in \'%s\'"
};

static _KLkeyword_signatureAvaluesGVKi K192 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 33817605,
  &KDsignature_LstringG_typesVKi,
  &K194,
  &KDsignature_LintegerG_typesVKi,
  &KDsignature_Lstring_tableG_typesVKi
};

static _KLsimple_object_vectorGVKd_4 K193 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 17,
  &KJstart_,
  (D) 1,
  &KJend_,
  &KPunboundVKi
};

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

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

static _KLsignatureAvaluesGVKi K197 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K198,
  &K199
};

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

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

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

static _KLsignatureAvaluesGVKi K201 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K202,
  &K57
};

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

static _KLsignatureAvaluesGVKi K203 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K204,
  &K133
};

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

_KLsimple_methodGVKe Knode_attributeYsimple_xmlVsystemMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K207,
  &Knode_attributeYsimple_xmlVsystemMM0I
};

static _KLsignatureAvaluesGVKi K207 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K208,
  &K199
};

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

_KLsimple_methodGVKe Knode_attribute_setterYsimple_xmlVsystemMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_3,
  &K211,
  &Knode_attribute_setterYsimple_xmlVsystemMM0I
};

static _KLsignatureAvaluesGVKi K211 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555469,
  &K212,
  &KDsignature_LstringG_typesVKi
};

static _KLsimple_object_vectorGVKd_3 K212 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &KLstringGVKd,
  &KLxml_elementGYsimple_xmlVsystem,
  &KLstringGVKd
};

_KLsimple_methodGVKe Kselect_nodesYsimple_xmlVsystemMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K219,
  &Kselect_nodesYsimple_xmlVsystemMM0I
};

_KLsimple_methodGVKe Kselect_single_nodeYsimple_xmlVsystemMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K217,
  &Kselect_single_nodeYsimple_xmlVsystemMM0I
};

static _KLsignatureAvaluesGVKi K217 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K208,
  &K218
};

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

static _KLsignatureAvaluesGVKi K219 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K208,
  &KDsignature_LvectorG_typesVKi
};

_KLkeyword_methodGVKe Kselect_node_textYsimple_xmlVsystemMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K222,
  &key_mep_4,
  &Kselect_node_textYsimple_xmlVsystemMM0I,
  &K223
};

static _KLkeyword_signatureAvaluesGVKi K222 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 33817609,
  &K208,
  &K224,
  &KDsignature_LstringG_typesVKi,
  &KDsignature_LstringG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K223 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KJdefault_,
  &KPempty_stringVKi
};

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

static _KLpairGVKd K225 = {
  &KLpairGVKdW /* wrapper */,
  &KLxml_elementGYsimple_xmlVsystem,
  &KPempty_listVKi
};

/* Code */

D KLxml_parserGZ32ZconstructorYsystem_internalsVsystemMM0I (D class_, D init_args_) {
  D T3;
  D T4;
  D T5_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:119
  T3 = primitive_object_allocate_filled(4,&KLxml_parserGYsystem_internalsVsystemW,3,&KPunboundVKi,0,0,&KPunboundVKi);
  T4 = K19I();
  SLOT_VALUE_SETTER(T4, T3, 0);
  SLOT_VALUE_SETTER(&KPfalseVKi, T3, 1);
  SLOT_VALUE_SETTER(&KPempty_stringVKi, T3, 2);
  APPLY2(&KinitializeVKd, T3, init_args_);
  T5_0 = T3;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:119
  MV_SET_COUNT(1);
  return(T5_0);
}

static D K19I () {
  D T0_0;
  D T1;
  D T2_0;

  T2_0 = KLobject_dequeGZ32ZconstructorVKiMM0I(&KLobject_dequeGVKe, &KPempty_vectorVKi, &KLobjectGVKd);
  T1 = T2_0;
  T0_0 = T1;
  MV_SET_COUNT(1);
  return(T0_0);
}

D KLxml_elementGZ32ZconstructorYsystem_internalsVsystemMM0I (D class_, D init_args_, D Uunique_node_name_, D Uunique_node_attributes_, D Uunique_node_text_) {
  D T6;
  D Uunique_node_nameF7;
  D T8;
  D T9;
  D Uunique_node_attributesF10;
  D T11;
  D Uunique_node_nameF12;
  D T13;
  D Uunique_node_attributesF14;
  D Uunique_node_textF15;
  D T16_0;
  D T17;
  _KLsimple_object_vectorGVKd_1 T18 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T19;
  D T20;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:21
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:21
  T17 = primitive_idQ(Uunique_node_name_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:21
  if (T17 != &KPfalseVKi) {
    T18.vector_element_[0] = &KJname_;
    T19 = KerrorVKdMM1I(&K45, &T18);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:21
    T6 = T19;
    Uunique_node_nameF7 = T6;
  } else {
    Uunique_node_nameF7 = Uunique_node_name_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:21
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:21
  T20 = primitive_idQ(Uunique_node_attributes_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:21
  if (T20 != &KPfalseVKi) {
    T8 = K49I();
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:21
    T9 = T8;
    Uunique_node_attributesF10 = T9;
  } else {
    Uunique_node_attributesF10 = Uunique_node_attributes_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:21
  T11 = primitive_object_allocate_filled(5,&KLxml_elementGYsimple_xmlVsystemW,4,&KPunboundVKi,0,0,&KPunboundVKi);
  primitive_type_check(Uunique_node_nameF7, &KLstringGVKd);
  Uunique_node_nameF12 = Uunique_node_nameF7;
  SLOT_VALUE_SETTER(Uunique_node_nameF12, T11, 0);
  T13 = K48I();
  SLOT_VALUE_SETTER(T13, T11, 1);
  primitive_type_check(Uunique_node_attributesF10, &KLstring_tableGVKe);
  Uunique_node_attributesF14 = Uunique_node_attributesF10;
  SLOT_VALUE_SETTER(Uunique_node_attributesF14, T11, 2);
  primitive_type_check(Uunique_node_text_, &KLstringGVKd);
  Uunique_node_textF15 = Uunique_node_text_;
  SLOT_VALUE_SETTER(Uunique_node_textF15, T11, 3);
  APPLY2(&KinitializeVKd, T11, init_args_);
  T16_0 = T11;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:21
  MV_SET_COUNT(1);
  return(T16_0);
}

static D K49I () {
  D T0;
  D T1_0;

  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T0 = CONGRUENT_CALL2(&KLstring_tableGVKe, &KPempty_vectorVKi);
  T1_0 = T0;
  MV_SET_COUNT(1);
  return(T1_0);
}

static D K48I () {
  D T0_0;
  D T1;
  D T2_0;

  T2_0 = KLstretchy_object_vectorGZ32ZconstructorVKiMM0I(&KLstretchy_object_vectorGVKe, &KPempty_vectorVKi);
  T1 = T2_0;
  T0_0 = T1;
  MV_SET_COUNT(1);
  return(T0_0);
}

static D K76I () {
  D T0;
  D T1_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:25
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:25
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T0 = CONGRUENT_CALL2(&KLstring_tableGVKe, &KPempty_vectorVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:25
  T1_0 = T0;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:25
  MV_SET_COUNT(1);
  return(T1_0);
}

static D K84I () {
  D T0_0;
  D T1;
  D T2_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:24
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:24
  T2_0 = KLstretchy_object_vectorGZ32ZconstructorVKiMM0I(&KLstretchy_object_vectorGVKe, &KPempty_vectorVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:24
  T1 = T2_0;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:24
  T0_0 = T1;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:24
  MV_SET_COUNT(1);
  return(T0_0);
}

static D K102I () {
  D T0_0;
  D T1;
  D T2_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:120
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:120
  T2_0 = KLobject_dequeGZ32ZconstructorVKiMM0I(&KLobject_dequeGVKe, &KPempty_vectorVKi, &KLobjectGVKd);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:120
  T1 = T2_0;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:120
  T0_0 = T1;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:120
  MV_SET_COUNT(1);
  return(T0_0);
}

D KLxml_errorGZ32ZconstructorYsystem_internalsVsystemMM0I (D class_, D init_args_, D Uunique_condition_format_string_, D Uunique_condition_format_arguments_) {
  D T5;
  D T6_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:96
  T5 = primitive_object_allocate_filled(3,&KLxml_errorGYsimple_xmlVsystemW,2,&KPunboundVKi,0,0,&KPunboundVKi);
  SLOT_VALUE_SETTER(Uunique_condition_format_string_, T5, 0);
  SLOT_VALUE_SETTER(Uunique_condition_format_arguments_, T5, 1);
  APPLY2(&KinitializeVKd, T5, init_args_);
  T6_0 = T5;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:96
  MV_SET_COUNT(1);
  return(T6_0);
}

D KLxml_nodeGZ32ZconstructorYsystem_internalsVsystemMM0I (D class_, D init_args_) {
  D T3;
  D T4_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:18
  T3 = primitive_object_allocate_filled(1,&KLxml_nodeGYsimple_xmlVsystemW,0,&KPunboundVKi,0,0,&KPunboundVKi);
  APPLY2(&KinitializeVKd, T3, init_args_);
  T4_0 = T3;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:18
  MV_SET_COUNT(1);
  return(T4_0);
}

D KLxml_documentGZ32ZconstructorYsystem_internalsVsystemMM0I (D class_, D init_args_, D Uunique_document_location_, D Uunique_document_element_) {
  D T5;
  D Uunique_document_locationF6;
  D T7;
  D Uunique_document_locationF8;
  D Uunique_document_elementF9;
  D T10_0;
  D T11;
  _KLsimple_object_vectorGVKd_1 T12 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T13;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:11
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:11
  T11 = primitive_idQ(Uunique_document_location_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:11
  if (T11 != &KPfalseVKi) {
    T12.vector_element_[0] = IKJlocation_;
    T13 = KerrorVKdMM1I(&K45, &T12);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:11
    T5 = T13;
    Uunique_document_locationF6 = T5;
  } else {
    Uunique_document_locationF6 = Uunique_document_location_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:11
  T7 = primitive_object_allocate_filled(3,&KLxml_documentGYsimple_xmlVsystemW,2,&KPunboundVKi,0,0,&KPunboundVKi);
  primitive_type_check(Uunique_document_locationF6, &KLfile_locatorGYlocatorsVsystem);
  Uunique_document_locationF8 = Uunique_document_locationF6;
  SLOT_VALUE_SETTER(Uunique_document_locationF8, T7, 0);
  primitive_type_check(Uunique_document_element_, &K35);
  Uunique_document_elementF9 = Uunique_document_element_;
  SLOT_VALUE_SETTER(Uunique_document_elementF9, T7, 1);
  APPLY2(&KinitializeVKd, T7, init_args_);
  T10_0 = T7;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:11
  MV_SET_COUNT(1);
  return(T10_0);
}

D Kread_xml_documentYsimple_xmlVsystemMM0I (D locator_) {
  D parser_;
  D T3_0;
  D T4;
  _KLsimple_object_vectorGVKd_4 T5 = {&KLsimple_object_vectorGVKdW, (D) 17};

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:31
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:33
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  parser_ = CONGRUENT_CALL2(&KLxml_parserGYsystem_internalsVsystem, &KPempty_vectorVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:36
  ENGINE_NODE_CALL_PROLOG(&Ktokenize_xmlYsystem_internalsVsystem, &K155, 2);
  T4 = ENGINE_NODE_CALL2(&K155, parser_, locator_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:34
  T5.vector_element_[0] = IKJlocation_;
  T5.vector_element_[1] = locator_;
  T5.vector_element_[2] = IKJelement_;
  T5.vector_element_[3] = T4;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:34
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T3_0 = CONGRUENT_CALL2(&KLxml_documentGYsimple_xmlVsystem, &T5);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:31
  MV_SET_COUNT(1);
  return(T3_0);
}

D Ktokenize_xmlYsystem_internalsVsystemMM0I (D parser_, D stream_) {
  D returnPexit_14_;
  D lineF4;
  D T5;
  D new_remainder_;
  D T7;
  D T8_0;
  D remainder_;
  D T10;
  D T11;
  D lineF12;
  D T13;
  D T14;
  D T15;
  _KLsimple_object_vectorGVKd_2 T16 = {&KLsimple_object_vectorGVKdW, (D) 9};
  D T17;
  D T18;
  D T19_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:263
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:266
  remainder_ = &KPfalseVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:267
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:268
L0: ;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:268
    CONGRUENT_CALL_PROLOG(&Kstream_at_endQYstreams_protocolVcommon_dylan, 1);
    T7 = CONGRUENT_CALL1(stream_);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:268
    if (T7 == &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:269
      T16.vector_element_[0] = IKJon_end_of_stream_;
      T16.vector_element_[1] = &KPfalseVKi;
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:269
      CONGRUENT_CALL_PROLOG(&Kread_lineYstreamsVio, 2);
      lineF4 = CONGRUENT_CALL2(stream_, &T16);
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:269
      lineF12 = lineF4;
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:270
      T13 = lineF12;
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:270
      if (T13 != &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:271
        T10 = remainder_;
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:271
        if (T10 != &KPfalseVKi) {
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:272
          T11 = remainder_;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:272
          T15 = lineF12;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:272
          T5 = CALL3(&KconcatenateVKd, T11, &K168, T15);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:272
          lineF12 = T5;
        }
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:271
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:274
        T14 = lineF12;
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:274
        new_remainder_ = CALL2(&Kparse_lineYsystem_internalsVsystemMM0, parser_, T14);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:275
        remainder_ = new_remainder_;
      } else {
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:267
        T17 = MV_SET_REST_AT(&KPempty_vectorVKi, 0);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:267
        T17;
        goto L1;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:270
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:268
      goto L0;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:268
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:268
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:267
  L1: ;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:281
  T18 = SLOT_VALUE_INITD(parser_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:281
  T19_0 = T18;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:263
  T8_0 = T19_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T19_0);
    primitive_type_check(T8_0, &KLxml_elementGYsimple_xmlVsystem);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:263
  MV_SET_COUNT(1);
  return(T8_0);
}

D Ktokenize_xmlYsystem_internalsVsystemMM1I (D parser_, D locator_) {
  D T3;
  D T4;
  D stream_;
  D T6;
  D T7;
  D T8_0;
  D Ustream_;
  D T10;
  D T11;
  D T12;
  D T13;
  _KLsimple_object_vectorGVKd_2 T14 = {&KLsimple_object_vectorGVKdW, (D) 9};
  D T15_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:297
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:300
  Ustream_ = &KPfalseVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:300
  ENTER_UNWIND_FRAME(T3);
  if (!nlx_setjmp(FRAME_DEST(T3))) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:300
    T14.vector_element_[0] = &KJdirection_;
    T14.vector_element_[1] = &KJinput_;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:300
    CONGRUENT_CALL_PROLOG(&Kopen_file_streamYstreams_protocolVcommon_dylan, 2);
    T4 = CONGRUENT_CALL2(locator_, &T14);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:300
    Ustream_ = T4;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:300
    T13 = Ustream_;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:300
    primitive_type_check(T13, &KLfile_streamGYstreams_internalsVio);
    stream_ = T13;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:301
    ENGINE_NODE_CALL_PROLOG(&Ktokenize_xmlYsystem_internalsVsystem, &K164, 2);
    T15_0 = ENGINE_NODE_CALL2(&K164, parser_, stream_);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:300
    FALL_THROUGH_UNWIND(T15_0);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:300
  T11 = Ustream_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:300
  if (T11 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:300
    T12 = Ustream_;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:300
    T6 = CALL1(&Kstream_openQYstreams_protocolVcommon_dylan, T12);
    T7 = T6;
  } else {
    T7 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:300
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:300
  if (T7 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:300
    T10 = Ustream_;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:300
    CALL1(&KcloseYcommon_extensionsVcommon_dylan, T10);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:300
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:300
  CONTINUE_UNWIND();
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:297
  T8_0 = T15_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T15_0);
    primitive_type_check(T8_0, &KLxml_elementGYsimple_xmlVsystem);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:297
  MV_SET_COUNT(1);
  return(T8_0);
}

D Kparse_lineYsystem_internalsVsystemMM0I (D parser_, D line_) {
  D Uend_;
  D Uobject_;
  D T5;
  D T6;
  D T7;
  D T8;
  D T9;
  D T10;
  D T11;
  D T12;
  D T13;
  D T14;
  D T15;
  D T16;
  D T17;
  D T18_0;
  D T18_1;
  D name_;
  D attributes_;
  D T21;
  D T22;
  D nodeF23;
  D T24;
  D T25;
  D T26;
  D T27;
  D T28;
  D parent_;
  D T30;
  D T31;
  D nodeF32;
  D T33;
  D T34;
  D T35;
  D T36_0;
  D T37_0;
  D T38_0;
  D closing_tagQ_;
  D T40;
  D start_;
  D T42;
  D T43;
  D T44;
  D T45;
  D pos_;
  D T47;
  D T48;
  D T49;
  D T50;
  D T51;
  D T52;
  D T53;
  D T54;
  D T55;
  D T56;
  D T57;
  D T58;
  D T59;
  D T60;
  D T61;
  D end_pos_;
  D T63;
  D T64;
  D T65;
  _KLsimple_object_vectorGVKd_1 T66 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T67;
  _KLsimple_object_vectorGVKd_4 T68 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T69;
  D T70_0;
  D T71;
  _KLsimple_object_vectorGVKd_2 T72 = {&KLsimple_object_vectorGVKdW, (D) 9};
  D T73;
  _KLsimple_object_vectorGVKd_4 T74 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T75;
  _KLsimple_object_vectorGVKd_1 T76 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T77;
  _KLsimple_object_vectorGVKd_1 T78 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T79;
  _KLsimple_object_vectorGVKd_2 T80 = {&KLsimple_object_vectorGVKdW, (D) 9};
  D T81;
  _KLsimple_object_vectorGVKd_1 T82 = {&KLsimple_object_vectorGVKdW, (D) 5};
  _KLsimple_object_vectorGVKd_4 T83 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T84;
  D T85;
  D T86_0;
  D T87;
  _KLsimple_object_vectorGVKd_2 T88 = {&KLsimple_object_vectorGVKdW, (D) 9};
  D T89_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:193
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:196
  closing_tagQ_ = &KPfalseVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:197
  start_ = (D) 1;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:198
  pos_ = (D) 1;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:199
  CONGRUENT_CALL_PROLOG(&KsizeVKd, 1);
  Uend_ = CONGRUENT_CALL1(line_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:200
  T65 = SLOT_VALUE_INITD(parser_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:201
  T66.vector_element_[0] = line_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:201
  Kparser_debugYsystem_internalsVsystemI(&K172, &T66);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:202
L0: ;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:202
    T48 = pos_;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:202
    CONGRUENT_CALL_PROLOG(&KLVKd, 2);
    T35 = CONGRUENT_CALL2(T48, Uend_);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:202
    if (T35 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:203
      T61 = pos_;
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:203
      CONGRUENT_CALL_PROLOG(&KelementVKd, 3);
      Uobject_ = CONGRUENT_CALL3(line_, T61, &KPempty_vectorVKi);
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:203
      T67 = primitive_idQ(Uobject_,C('<'));
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:203
      if (T67 != &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:205
        T60 = pos_;
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:205
        CONGRUENT_CALL_PROLOG(&KAVKd, 2);
        T5 = CONGRUENT_CALL2(T60, (D) 5);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:205
        CONGRUENT_CALL_PROLOG(&KLVKd, 2);
        T6 = CONGRUENT_CALL2(T5, Uend_);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:205
        if (T6 != &KPfalseVKi) {
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:206
          T59 = pos_;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:206
          CONGRUENT_CALL_PROLOG(&KAVKd, 2);
          T7 = CONGRUENT_CALL2(T59, (D) 5);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:206
          CONGRUENT_CALL_PROLOG(&KelementVKd, 3);
          T8 = CONGRUENT_CALL3(line_, T7, &KPempty_vectorVKi);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:206
          CONGRUENT_CALL_PROLOG(&KEVKd, 2);
          T9 = CONGRUENT_CALL2(T8, C('/'));
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:206
          if (T9 != &KPfalseVKi) {
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:207
            T45 = start_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:207
            T58 = pos_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:207
            T68.vector_element_[0] = &KJstart_;
            T68.vector_element_[1] = T45;
            T68.vector_element_[2] = &KJend_;
            T68.vector_element_[3] = T58;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:207
            CONGRUENT_CALL_PROLOG(&Kcopy_sequenceVKd, 2);
            T10 = CONGRUENT_CALL2(line_, &T68);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:207
            CALL2(&Kparser_text_setterYsystem_internalsVsystem, T10, parser_);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:208
            closing_tagQ_ = &KPtrueVKi;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:209
            T57 = pos_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:209
            CONGRUENT_CALL_PROLOG(&KAVKd, 2);
            T11 = CONGRUENT_CALL2(T57, (D) 5);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:209
            pos_ = T11;
          }
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:206
        }
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:205
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:212
        T56 = pos_;
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:212
        start_ = T56;
      } else {
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:203
        T69 = primitive_idQ(Uobject_,C('>'));
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:203
        if (T69 != &KPfalseVKi) {
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:214
          T55 = pos_;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:214
          end_pos_ = T55;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:215
          T54 = pos_;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:215
          CONGRUENT_CALL_PROLOG(&KLVKd, 2);
          T70_0 = CONGRUENT_CALL2((D) 1, T54);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:215
          T71 = T70_0;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:215
          if (T71 != &KPfalseVKi) {
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:215
            T53 = pos_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:215
            CONGRUENT_CALL_PROLOG(&K_VKd, 2);
            T12 = CONGRUENT_CALL2(T53, (D) 5);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:215
            CONGRUENT_CALL_PROLOG(&KelementVKd, 3);
            T13 = CONGRUENT_CALL3(line_, T12, &KPempty_vectorVKi);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:215
            CONGRUENT_CALL_PROLOG(&KEVKd, 2);
            T14 = CONGRUENT_CALL2(T13, C('/'));
            T15 = T14;
          } else {
            T15 = &KPfalseVKi;
          }
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:215
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:215
          if (T15 != &KPfalseVKi) {
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:216
            closing_tagQ_ = &KPtrueVKi;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:217
            T52 = pos_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:217
            CONGRUENT_CALL_PROLOG(&K_VKd, 2);
            T16 = CONGRUENT_CALL2(T52, (D) 5);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:217
            end_pos_ = T16;
          }
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:215
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:219
          T44 = start_;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:219
          CONGRUENT_CALL_PROLOG(&KAVKd, 2);
          T17 = CONGRUENT_CALL2(T44, (D) 5);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:219
          T64 = end_pos_;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:219
          T18_0 = Kparse_tagYsystem_internalsVsystemMM0I(line_, &KPempty_vectorVKi, T17, T64);
          T18_1 = MV_GET_ELT(1);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:215
          name_ = T18_0;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:215
          attributes_ = T18_1;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:220
          CONGRUENT_CALL_PROLOG(&KemptyQVKd, 1);
          T21 = CONGRUENT_CALL1(name_);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:220
          if (T21 != &KPfalseVKi) {
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:221
            T43 = start_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:221
            CONGRUENT_CALL_PROLOG(&KAVKd, 2);
            T22 = CONGRUENT_CALL2(T43, (D) 5);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:221
            T72.vector_element_[0] = T22;
            T72.vector_element_[1] = line_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:221
            Kxml_errorYsystem_internalsVsystemI(&K175, &T72);
          }
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:220
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:223
          T40 = closing_tagQ_;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:223
          if (T40 != &KPfalseVKi) {
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:224
            T51 = pos_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:224
            T63 = end_pos_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:224
            CONGRUENT_CALL_PROLOG(&KEVKd, 2);
            T73 = CONGRUENT_CALL2(T63, T51);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:224
            if (T73 != &KPfalseVKi) {
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:230
              T77 = SLOT_VALUE_INITD(parser_, 1);
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:231
              T26 = CALL1(&Knode_nameYsimple_xmlVsystem, T77);
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:231
              CONGRUENT_CALL_PROLOG(&KEVKd, 2);
              T27 = CONGRUENT_CALL2(name_, T26);
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:231
              if (T27 == &KPfalseVKi) {
                // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:232
                T78.vector_element_[0] = name_;
                // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:232
                Kxml_errorYsystem_internalsVsystemI(&K176, &T78);
              }
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:231
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:234
              T79 = KemptyQVKdMM14I(attributes_);
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:234
              if (T79 == &KPfalseVKi) {
                // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:235
                T80.vector_element_[0] = attributes_;
                T80.vector_element_[1] = name_;
                // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:235
                Kxml_errorYsystem_internalsVsystemI(&K177, &T80);
              }
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:234
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:237
              T81 = SLOT_VALUE_INITD(parser_, 2);
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:237
              CALL2(&Knode_text_setterYsimple_xmlVsystem, T81, T77);
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:238
              SLOT_VALUE_SETTER(&KPempty_stringVKi, parser_, 2);
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:239
              CONGRUENT_CALL_PROLOG(&KemptyQVKd, 1);
              T28 = CONGRUENT_CALL1(T65);
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:239
              if (T28 == &KPfalseVKi) {
                // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:240
                CONGRUENT_CALL_PROLOG(&KpopVKd, 1);
                parent_ = CONGRUENT_CALL1(T65);
                // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:241
                T30 = CALL1(&Knode_childrenYsimple_xmlVsystem, parent_);
                // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:241
                CALL2(&KaddXVKd, T30, T77);
                // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:242
                T31 = CALL1(&Knode_childrenYsimple_xmlVsystem, parent_);
                // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:242
                T82.vector_element_[0] = T31;
                // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:242
                Kparser_debugYsystem_internalsVsystemI(&K178, &T82);
                // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:243
                CALL2(&Kparser_element_setterYsystem_internalsVsystem, parent_, parser_);
              }
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:239
            } else {
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:225
              T74.vector_element_[0] = &KJname_;
              T74.vector_element_[1] = name_;
              T74.vector_element_[2] = IKJattributes_;
              T74.vector_element_[3] = attributes_;
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:225
              CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
              nodeF23 = CONGRUENT_CALL2(&KLxml_elementGYsimple_xmlVsystem, &T74);
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:226
              T75 = SLOT_VALUE_INITD(parser_, 1);
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:227
              T24 = CALL1(&Knode_childrenYsimple_xmlVsystem, T75);
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:227
              CALL2(&KaddXVKd, T24, nodeF23);
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:228
              T25 = CALL1(&Knode_childrenYsimple_xmlVsystem, T75);
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:228
              T76.vector_element_[0] = T25;
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:228
              Kparser_debugYsystem_internalsVsystemI(&K178, &T76);
            }
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:224
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:246
            closing_tagQ_ = &KPfalseVKi;
          } else {
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:248
            T83.vector_element_[0] = &KJname_;
            T83.vector_element_[1] = name_;
            T83.vector_element_[2] = IKJattributes_;
            T83.vector_element_[3] = attributes_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:248
            CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
            nodeF32 = CONGRUENT_CALL2(&KLxml_elementGYsimple_xmlVsystem, &T83);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:249
            T84 = SLOT_VALUE_INITD(parser_, 1);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:249
            if (T84 != &KPfalseVKi) {
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:250
              T85 = SLOT_VALUE_INITD(parser_, 1);
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:250
              CONGRUENT_CALL_PROLOG(&KpushVKd, 2);
              CONGRUENT_CALL2(T65, T85);
            }
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:249
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:252
            SLOT_VALUE_SETTER(nodeF32, parser_, 1);
          }
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:223
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:254
          T50 = pos_;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:254
          CONGRUENT_CALL_PROLOG(&KAVKd, 2);
          T33 = CONGRUENT_CALL2(T50, (D) 5);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:254
          start_ = T33;
        }
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:203
      }
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:203
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:258
      T49 = pos_;
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:258
      CONGRUENT_CALL_PROLOG(&KAVKd, 2);
      T34 = CONGRUENT_CALL2(T49, (D) 5);
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:258
      pos_ = T34;
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:202
      goto L0;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:202
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:202
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:260
  T47 = pos_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:260
  CONGRUENT_CALL_PROLOG(&KLVKd, 2);
  T86_0 = CONGRUENT_CALL2((D) 1, T47);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:260
  T87 = T86_0;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:260
  if (T87 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:260
    T42 = start_;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:260
    T88.vector_element_[0] = &KJstart_;
    T88.vector_element_[1] = T42;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:260
    CONGRUENT_CALL_PROLOG(&Kcopy_sequenceVKd, 2);
    T36_0 = CONGRUENT_CALL2(line_, &T88);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:260
    T89_0 = T36_0;
    {
      MV_CHECK_TYPE_PROLOGUE(T36_0);
      primitive_type_check(T89_0, &K179);
      MV_CHECK_TYPE_EPILOGUE();
    }
    T38_0 = T89_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:260
    T37_0 = &KPfalseVKi;
    T38_0 = T37_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:260
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:193
  MV_SET_COUNT(1);
  return(T38_0);
}

D Kparser_debugYsystem_internalsVsystemI (D message_, D args_) {
  D T3;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:111
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:113
  T3 = &KPfalseVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:111
  MV_SET_COUNT(0);
  return(T3);
}

D Kparse_tagYsystem_internalsVsystemMM0I (D string_, D Urest_, D start_, D Uend_) {
  D T5;
  D T6;
  D T7;
  D stringF8;
  D options_pos_;
  D name_;
  D T11;
  D T12;
  D T13;
  D T14;
  D T15_0;
  D T15_1;
  _KLsimple_object_vectorGVKd_4 T16 = {&KLsimple_object_vectorGVKdW, (D) 17};
  _KLsimple_object_vectorGVKd_1 T17 = {&KLsimple_object_vectorGVKdW, (D) 5};
  _KLsimple_object_vectorGVKd_1 T18 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T19;
  D T20;
  _KLsimple_object_vectorGVKd_2 T21 = {&KLsimple_object_vectorGVKdW, (D) 9};
  D T22_0;
  D T22_1;
  D T23_0;
  D T23_1;
  D T24_0;
  D T24_1;
  D T25_0;
  D T25_1;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:178
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:182
  if (start_ != &KPfalseVKi) {
    T5 = start_;
  } else {
    T5 = (D) 1;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:182
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:182
  if (Uend_ != &KPfalseVKi) {
    T7 = Uend_;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:182
    CONGRUENT_CALL_PROLOG(&KsizeVKd, 1);
    T6 = CONGRUENT_CALL1(string_);
    T7 = T6;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:182
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:182
  T16.vector_element_[0] = &KJstart_;
  T16.vector_element_[1] = T5;
  T16.vector_element_[2] = &KJend_;
  T16.vector_element_[3] = T7;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:182
  CONGRUENT_CALL_PROLOG(&Kcopy_sequenceVKd, 2);
  stringF8 = CONGRUENT_CALL2(string_, &T16);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:183
  T17.vector_element_[0] = stringF8;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:183
  Kparser_debugYsystem_internalsVsystemI(&K182, &T17);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:184
  T18.vector_element_[0] = C(' ');
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:184
  T19 = primitive_copy_vector(&T18);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:184
  T20 = MAKE_CLOSURE_INITD(&Kanonymous_of_parse_tagF195, 1, T19);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:184
  CONGRUENT_CALL_PROLOG(&Kfind_keyVKd, 3);
  options_pos_ = CONGRUENT_CALL3(stringF8, T20, &KPempty_vectorVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:185
  if (options_pos_ != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:186
    T21.vector_element_[0] = &KJend_;
    T21.vector_element_[1] = options_pos_;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:186
    CONGRUENT_CALL_PROLOG(&Kcopy_sequenceVKd, 2);
    name_ = CONGRUENT_CALL2(stringF8, &T21);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:187
    CONGRUENT_CALL_PROLOG(&KAVKd, 2);
    T11 = CONGRUENT_CALL2(options_pos_, (D) 5);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:187
    CONGRUENT_CALL_PROLOG(&KsizeVKd, 1);
    T12 = CONGRUENT_CALL1(stringF8);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:187
    T13 = CALL5(&Kparse_attributesYsystem_internalsVsystemMM0, stringF8, &KJstart_, T11, &KJend_, T12);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:187
    T22_0 = name_;
    T22_1 = T13;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:187
    T24_0 = T22_0;
    T24_1 = T22_1;
    {
      MV_CHECK_TYPE_PROLOGUE(T22_0);
      primitive_type_check(T24_0, &KLstringGVKd);
      primitive_type_check(T24_1, &KLstring_tableGVKe);
      MV_CHECK_TYPE_EPILOGUE();
    }
    T15_0 = T24_0;
    T15_1 = T24_1;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:189
    CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
    T14 = CONGRUENT_CALL2(&KLstring_tableGVKe, &KPempty_vectorVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:189
    T23_0 = stringF8;
    T23_1 = T14;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:189
    T25_0 = T23_0;
    T25_1 = T23_1;
    {
      MV_CHECK_TYPE_PROLOGUE(T23_0);
      primitive_type_check(T25_0, &KLstringGVKd);
      primitive_type_check(T25_1, &KLstring_tableGVKe);
      MV_CHECK_TYPE_EPILOGUE();
    }
    T15_0 = T25_0;
    T15_1 = T25_1;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:185
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:178
  MV_SET_ELT(1, T15_1);
  MV_SET_COUNT(2);
  return(T15_0);
}

D Kxml_errorYsystem_internalsVsystemI (D message_, D args_) {
  D T3;
  D T4;
  _KLsimple_object_vectorGVKd_4 T5 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T6;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:99
  T4 = primitive_copy_vector(args_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:101
  T5.vector_element_[0] = &KJformat_string_;
  T5.vector_element_[1] = message_;
  T5.vector_element_[2] = &KJformat_arguments_;
  T5.vector_element_[3] = T4;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:101
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T3 = CONGRUENT_CALL2(&KLxml_errorGYsimple_xmlVsystem, &T5);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:101
  T6 = KerrorVKdMM0I(T3, &KPempty_vectorVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:99
  MV_SET_COUNT(0);
  return(T6);
}

static D Kanonymous_of_parse_tagF195I (D args_) {
  D T1;
  D T2;
  CAPTURE_ENVIRONMENT

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:184
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:184
  T1 = Kconcatenate_2VKeMM1I(CREF(0), args_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:184
  T2 = APPLY1(&KEVKd, T1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:184
  return(T2);
}

D Kparse_attributesYsystem_internalsVsystemMM0I (D string_, D Urest_, D start_, D Uend_) {
  D startF5;
  D T6;
  D T7;
  DWORD UendF8;
  D attributes_;
  D T10;
  D T11;
  D T12;
  D T13;
  D T14;
  D T15;
  D T16;
  D T17;
  D name_;
  D T19;
  D T20;
  D T21;
  D T22;
  D T23;
  D T24;
  D T25;
  D T26;
  D T27;
  D T28;
  D T29;
  D T30;
  D T31;
  D value_;
  D T33;
  D T34;
  D T35;
  D T36_0;
  D pos_;
  D T38;
  D T39;
  D T40;
  D T41;
  D T42;
  D T43;
  D T44;
  D T45;
  D T46;
  D T47;
  D T48;
  D T49;
  D T50;
  D T51;
  D T52;
  D T53;
  D T54;
  D T55;
  D T56;
  D T57;
  D T58;
  D T59;
  D T60;
  D T61;
  D T62;
  D T63;
  D last_pos_;
  D T65;
  D pos2_;
  D T67;
  D T68;
  D T69;
  D T70;
  D T71;
  D T72;
  D T73;
  D T74;
  D T75;
  _KLsimple_object_vectorGVKd_4 T76 = {&KLsimple_object_vectorGVKdW, (D) 17};
  _KLsimple_object_vectorGVKd_1 T77 = {&KLsimple_object_vectorGVKdW, (D) 5};
  DWORD T78;
  D T79;
  DWORD T80;
  DWORD T81;
  D T82;
  DWORD T83;
  D T84;
  DWORD T85;
  DWORD T86;
  D T87;
  DWORD T88;
  D T89;
  D T90;
  D T91;
  D T92;
  D T93;
  DWORD T94;
  DWORD T95;
  D T96;
  DWORD T97;
  D T98;
  _KLsimple_object_vectorGVKd_4 T99 = {&KLsimple_object_vectorGVKdW, (D) 17};
  DWORD T100;
  D T101;
  DWORD T102;
  DWORD T103;
  D T104;
  DWORD T105;
  DWORD T106;
  D T107;
  _KLsimple_object_vectorGVKd_2 T108 = {&KLsimple_object_vectorGVKdW, (D) 9};
  _KLsimple_object_vectorGVKd_2 T109 = {&KLsimple_object_vectorGVKdW, (D) 9};
  DWORD T110;
  D T111;
  DWORD T112;
  DWORD T113;
  D T114;
  D T115;
  DWORD T116;
  DWORD T117;
  D T118;
  D T119;
  D T120;
  _KLsimple_object_vectorGVKd_4 T121 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T122;
  D T123;
  _KLsimple_object_vectorGVKd_4 T124 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T125;
  _KLsimple_object_vectorGVKd_1 T126 = {&KLsimple_object_vectorGVKdW, (D) 5};
  DWORD T127;
  D T128;
  _KLsimple_object_vectorGVKd_1 T129 = {&KLsimple_object_vectorGVKdW, (D) 5};
  _KLsimple_object_vectorGVKd_4 T130 = {&KLsimple_object_vectorGVKdW, (D) 17};
  _KLsimple_object_vectorGVKd_1 T131 = {&KLsimple_object_vectorGVKdW, (D) 5};

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:125
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:125
  primitive_type_check(start_, &KLintegerGVKd);
  startF5 = start_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:125
  T73 = primitive_idQ(Uend_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:125
  if (T73 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:127
    CONGRUENT_CALL_PROLOG(&KsizeVKd, 1);
    T6 = CONGRUENT_CALL1(string_);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:125
    T7 = T6;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:125
    primitive_type_check(T7, &KLintegerGVKd);
    T74 = T7;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:134
    T80 = primitive_cast_integer_as_raw(T74);
    UendF8 = T80;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:125
    primitive_type_check(Uend_, &KLintegerGVKd);
    T75 = Uend_;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:134
    T81 = primitive_cast_integer_as_raw(T75);
    UendF8 = T81;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:125
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:134
  T82 = primitive_cast_raw_as_integer(UendF8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:129
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  attributes_ = CONGRUENT_CALL2(&KLstring_tableGVKe, &KPempty_vectorVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:130
  pos_ = startF5;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:131
  last_pos_ = startF5;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:133
  T76.vector_element_[0] = &KJstart_;
  T76.vector_element_[1] = startF5;
  T76.vector_element_[2] = &KJend_;
  T76.vector_element_[3] = T82;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:133
  CONGRUENT_CALL_PROLOG(&Kcopy_sequenceVKd, 2);
  T10 = CONGRUENT_CALL2(string_, &T76);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:132
  T77.vector_element_[0] = T10;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:132
  Kparser_debugYsystem_internalsVsystemI(&K185, &T77);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:134
L0: ;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:134
    T38 = pos_;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:134
    T78 = primitive_cast_integer_as_raw(T38);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:134
    T79 = primitive_machine_word_less_thanQ(T78,UendF8);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:134
    if (T79 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:135
    L1: ;
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:135
        T62 = pos_;
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:135
        T83 = primitive_cast_integer_as_raw(T62);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:135
        T84 = primitive_machine_word_less_thanQ(T83,UendF8);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:135
        if (T84 != &KPfalseVKi) {
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:135
          T61 = pos_;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:135
          CONGRUENT_CALL_PROLOG(&KelementVKd, 3);
          T11 = CONGRUENT_CALL3(string_, T61, &KPempty_vectorVKi);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:135
          CONGRUENT_CALL_PROLOG(&KEVKd, 2);
          T12 = CONGRUENT_CALL2(T11, C(' '));
          T13 = T12;
        } else {
          T13 = &KPfalseVKi;
        }
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:135
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:135
        if (T13 != &KPfalseVKi) {
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:136
          T63 = pos_;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:136
          T85 = primitive_cast_integer_as_raw(T63);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:136
          T86 = primitive_machine_word_add_signal_overflow(T85,4);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:136
          T87 = primitive_cast_raw_as_integer(T86);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:136
          pos_ = T87;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:135
          goto L1;
        }
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:135
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:135
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:138
      T60 = pos_;
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:138
      last_pos_ = T60;
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
    L2: ;
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
        T58 = pos_;
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
        T88 = primitive_cast_integer_as_raw(T58);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
        T89 = primitive_machine_word_less_thanQ(T88,UendF8);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
        if (T89 != &KPfalseVKi) {
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
          T57 = pos_;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
          CONGRUENT_CALL_PROLOG(&KelementVKd, 3);
          T14 = CONGRUENT_CALL3(string_, T57, &KPempty_vectorVKi);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
          CONGRUENT_CALL_PROLOG(&KEVKd, 2);
          T90 = CONGRUENT_CALL2(T14, C('='));
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
          T91 = primitive_not(T90);
          T15 = T91;
        } else {
          T15 = &KPfalseVKi;
        }
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
        if (T15 != &KPfalseVKi) {
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
          T56 = pos_;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
          CONGRUENT_CALL_PROLOG(&KelementVKd, 3);
          T16 = CONGRUENT_CALL3(string_, T56, &KPempty_vectorVKi);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
          CONGRUENT_CALL_PROLOG(&KEVKd, 2);
          T92 = CONGRUENT_CALL2(T16, C(' '));
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
          T93 = primitive_not(T92);
          T17 = T93;
        } else {
          T17 = &KPfalseVKi;
        }
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
        if (T17 != &KPfalseVKi) {
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:140
          T59 = pos_;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:140
          T94 = primitive_cast_integer_as_raw(T59);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:140
          T95 = primitive_machine_word_add_signal_overflow(T94,4);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:140
          T96 = primitive_cast_raw_as_integer(T95);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:140
          pos_ = T96;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
          goto L2;
        }
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:139
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:142
      T55 = pos_;
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:142
      T97 = primitive_cast_integer_as_raw(T55);
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:142
      T98 = primitive_machine_word_less_thanQ(T97,UendF8);
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:142
      if (T98 != &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:143
        T54 = pos_;
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:143
        T65 = last_pos_;
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:143
        T99.vector_element_[0] = &KJstart_;
        T99.vector_element_[1] = T65;
        T99.vector_element_[2] = &KJend_;
        T99.vector_element_[3] = T54;
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:143
        CONGRUENT_CALL_PROLOG(&Kcopy_sequenceVKd, 2);
        name_ = CONGRUENT_CALL2(string_, &T99);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:144
      L3: ;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:144
          T52 = pos_;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:144
          T100 = primitive_cast_integer_as_raw(T52);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:144
          T101 = primitive_machine_word_less_thanQ(T100,UendF8);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:144
          if (T101 != &KPfalseVKi) {
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:144
            T51 = pos_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:144
            CONGRUENT_CALL_PROLOG(&KelementVKd, 3);
            T19 = CONGRUENT_CALL3(string_, T51, &KPempty_vectorVKi);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:144
            CONGRUENT_CALL_PROLOG(&KEVKd, 2);
            T20 = CONGRUENT_CALL2(T19, C(' '));
            T21 = T20;
          } else {
            T21 = &KPfalseVKi;
          }
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:144
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:144
          if (T21 != &KPfalseVKi) {
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:145
            T53 = pos_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:145
            T102 = primitive_cast_integer_as_raw(T53);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:145
            T103 = primitive_machine_word_add_signal_overflow(T102,4);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:145
            T104 = primitive_cast_raw_as_integer(T103);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:145
            pos_ = T104;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:144
            goto L3;
          }
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:144
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:144
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:147
        T50 = pos_;
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:147
        T105 = primitive_cast_integer_as_raw(T50);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:147
        T106 = primitive_machine_word_add_signal_overflow(T105,4);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:147
        T107 = primitive_cast_raw_as_integer(T106);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:147
        pos_ = T107;
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:148
        T49 = pos_;
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:148
        T108.vector_element_[0] = &KJstart_;
        T108.vector_element_[1] = T49;
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:148
        CONGRUENT_CALL_PROLOG(&Kcopy_sequenceVKd, 2);
        T22 = CONGRUENT_CALL2(string_, &T108);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:148
        T109.vector_element_[0] = name_;
        T109.vector_element_[1] = T22;
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:148
        Kparser_debugYsystem_internalsVsystemI(&K186, &T109);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:149
      L4: ;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:149
          T47 = pos_;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:149
          T110 = primitive_cast_integer_as_raw(T47);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:149
          T111 = primitive_machine_word_less_thanQ(T110,UendF8);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:149
          if (T111 != &KPfalseVKi) {
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:149
            T46 = pos_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:149
            CONGRUENT_CALL_PROLOG(&KelementVKd, 3);
            T23 = CONGRUENT_CALL3(string_, T46, &KPempty_vectorVKi);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:149
            CONGRUENT_CALL_PROLOG(&KEVKd, 2);
            T24 = CONGRUENT_CALL2(T23, C(' '));
            T25 = T24;
          } else {
            T25 = &KPfalseVKi;
          }
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:149
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:149
          if (T25 != &KPfalseVKi) {
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:150
            T48 = pos_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:150
            T112 = primitive_cast_integer_as_raw(T48);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:150
            T113 = primitive_machine_word_add_signal_overflow(T112,4);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:150
            T114 = primitive_cast_raw_as_integer(T113);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:150
            pos_ = T114;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:149
            goto L4;
          }
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:149
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:149
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:152
        T45 = pos_;
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:152
        CONGRUENT_CALL_PROLOG(&KelementVKd, 3);
        T26 = CONGRUENT_CALL3(string_, T45, &KPempty_vectorVKi);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:152
        T115 = primitive_idQ(T26,C('\"'));
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:152
        if (T115 != &KPfalseVKi) {
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:153
          Kparser_debugYsystem_internalsVsystemI(&K187, &KPempty_vectorVKi);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:154
          T44 = pos_;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:154
          T116 = primitive_cast_integer_as_raw(T44);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:154
          T117 = primitive_machine_word_add_signal_overflow(T116,4);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:154
          T118 = primitive_cast_raw_as_integer(T117);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:154
          pos_ = T118;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:153
          T43 = pos_;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:153
          pos2_ = T43;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:156
        L5: ;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:156
            T71 = pos2_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:156
            CONGRUENT_CALL_PROLOG(&KLVKd, 2);
            T28 = CONGRUENT_CALL2(T71, T82);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:156
            if (T28 != &KPfalseVKi) {
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:156
              T70 = pos2_;
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:156
              CONGRUENT_CALL_PROLOG(&KelementVKd, 3);
              T29 = CONGRUENT_CALL3(string_, T70, &KPempty_vectorVKi);
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:156
              CONGRUENT_CALL_PROLOG(&KEVKd, 2);
              T119 = CONGRUENT_CALL2(T29, C('\"'));
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:156
              T120 = primitive_not(T119);
              T30 = T120;
            } else {
              T30 = &KPfalseVKi;
            }
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:156
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:156
            if (T30 != &KPfalseVKi) {
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:157
              T72 = pos2_;
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:157
              CONGRUENT_CALL_PROLOG(&KAVKd, 2);
              T27 = CONGRUENT_CALL2(T72, (D) 5);
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:157
              pos2_ = T27;
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:156
              goto L5;
            }
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:156
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:156
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:159
          T69 = pos2_;
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:159
          CONGRUENT_CALL_PROLOG(&KLVKd, 2);
          T31 = CONGRUENT_CALL2(T69, T82);
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:159
          if (T31 != &KPfalseVKi) {
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:160
            Kparser_debugYsystem_internalsVsystemI(&K188, &KPempty_vectorVKi);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:161
            T42 = pos_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:161
            T68 = pos2_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:161
            T121.vector_element_[0] = &KJstart_;
            T121.vector_element_[1] = T42;
            T121.vector_element_[2] = &KJend_;
            T121.vector_element_[3] = T68;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:161
            CONGRUENT_CALL_PROLOG(&Kcopy_sequenceVKd, 2);
            value_ = CONGRUENT_CALL2(string_, &T121);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:162
            T122 = SLOT_VALUE_INITD(attributes_, 0);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:162
            T123 = primitive_instanceQ(value_,T122);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:162
            if (T123 == &KPfalseVKi) {
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:162
              T124.vector_element_[0] = &KJvalue_;
              T124.vector_element_[1] = value_;
              T124.vector_element_[2] = &KJtype_;
              T124.vector_element_[3] = T122;
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:162
              CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
              T125 = CONGRUENT_CALL2(&KLtype_errorGVKd, &T124);
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:162
              CONGRUENT_CALL_PROLOG(&KerrorVKd, 2);
              CONGRUENT_CALL2(T125, &KPempty_vectorVKi);
            }
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:162
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:162
            KputhashVKiI(value_, attributes_, name_);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:163
            T126.vector_element_[0] = value_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:163
            Kparser_debugYsystem_internalsVsystemI(&K189, &T126);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:164
            T67 = pos2_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:164
            CONGRUENT_CALL_PROLOG(&KAVKd, 2);
            T33 = CONGRUENT_CALL2(T67, (D) 5);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:164
            primitive_type_check(T33, &KLintegerGVKd);
            T34 = T33;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:164
            pos_ = T34;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:165
            T41 = pos_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:165
            last_pos_ = T41;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:166
            T40 = pos_;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:166
            T127 = primitive_cast_integer_as_raw(T40);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:166
            T128 = primitive_machine_word_less_thanQ(T127,UendF8);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:166
            if (T128 != &KPfalseVKi) {
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:167
              T39 = pos_;
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:167
              T129.vector_element_[0] = T39;
              // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:167
              Kparser_debugYsystem_internalsVsystemI(&K190, &T129);
            }
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:166
          } else {
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:170
            T130.vector_element_[0] = &KJstart_;
            T130.vector_element_[1] = startF5;
            T130.vector_element_[2] = &KJend_;
            T130.vector_element_[3] = T82;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:170
            CONGRUENT_CALL_PROLOG(&Kcopy_sequenceVKd, 2);
            T35 = CONGRUENT_CALL2(string_, &T130);
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:170
            T131.vector_element_[0] = T35;
            // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:170
            Kxml_errorYsystem_internalsVsystemI(&K191, &T131);
          }
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:159
        }
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:152
      }
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:142
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:134
      goto L0;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:134
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:134
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:175
  T36_0 = attributes_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:125
  MV_SET_COUNT(1);
  return(T36_0);
}

D Knode_attributeYsimple_xmlVsystemMM0I (D xml_element_, D attribute_) {
  D T3_0;
  D T4;
  D T5_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:39
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:42
  T4 = SLOT_VALUE_INITD(xml_element_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:42
  T5_0 = KgethashVKiI(T4, attribute_, &KPfalseVKi, &KPtrueVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:39
  T3_0 = T5_0;
  {
    MV_CHECK_TYPE_PROLOGUE(T5_0);
    primitive_type_check(T3_0, &K179);
    MV_CHECK_TYPE_EPILOGUE();
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:39
  MV_SET_COUNT(1);
  return(T3_0);
}

D Knode_attribute_setterYsimple_xmlVsystemMM0I (D value_, D xml_element_, D attribute_) {
  D T4_0;
  D T5;
  D T6;
  D T7;
  _KLsimple_object_vectorGVKd_4 T8 = {&KLsimple_object_vectorGVKdW, (D) 17};
  D T9;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:45
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:48
  T5 = SLOT_VALUE_INITD(xml_element_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:48
  T6 = SLOT_VALUE_INITD(T5, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:48
  T7 = primitive_instanceQ(value_,T6);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:48
  if (T7 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:48
    T8.vector_element_[0] = &KJvalue_;
    T8.vector_element_[1] = value_;
    T8.vector_element_[2] = &KJtype_;
    T8.vector_element_[3] = T6;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:48
    CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
    T9 = CONGRUENT_CALL2(&KLtype_errorGVKd, &T8);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:48
    CONGRUENT_CALL_PROLOG(&KerrorVKd, 2);
    CONGRUENT_CALL2(T9, &KPempty_vectorVKi);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:48
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:48
  KputhashVKiI(value_, T5, attribute_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:48
  T4_0 = value_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:45
  MV_SET_COUNT(1);
  return(T4_0);
}

D Kselect_nodesYsimple_xmlVsystemMM0I (D node_, D path_) {
  D pos_;
  D T4;
  D subnode_;
  D T6;
  D T7_0;
  D T8_0;
  D T9_0;
  DWORD T10T, T10;
  D T11;
  D T12;
  D T13_0;
  D T14_0;
  D T15;
  D T16;
  _KLsimple_object_vectorGVKd_2 T17 = {&KLsimple_object_vectorGVKdW, (D) 9};
  DWORD T18;
  DWORD T19;
  D T20;
  _KLsimple_object_vectorGVKd_2 T21 = {&KLsimple_object_vectorGVKdW, (D) 9};
  D results_;
  D T23_0;
  D T24;
  D T25;
  D T26;
  DWORD T27;
  D T28;
  D T29;
  D T30;
  DWORD T31;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:51
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:54
  CONGRUENT_CALL_PROLOG(&KpositionYcommon_extensionsVcommon_dylan, 3);
  pos_ = CONGRUENT_CALL3(path_, C('/'), &KPempty_vectorVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:55
  if (pos_ != &KPfalseVKi) {
    T15 = pos_;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:56
    T17.vector_element_[0] = &KJend_;
    T17.vector_element_[1] = T15;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:56
    CONGRUENT_CALL_PROLOG(&Kcopy_sequenceVKd, 2);
    T4 = CONGRUENT_CALL2(path_, &T17);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:56
    subnode_ = CALL2(&Kselect_single_nodeYsimple_xmlVsystemMM0, node_, T4);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:57
    if (subnode_ != &KPfalseVKi) {
      T16 = subnode_;
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:58
      T18 = primitive_cast_integer_as_raw(T15);
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:58
      T19 = primitive_machine_word_add_signal_overflow(T18,4);
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:58
      T20 = primitive_cast_raw_as_integer(T19);
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:58
      T21.vector_element_[0] = &KJstart_;
      T21.vector_element_[1] = T20;
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:58
      CONGRUENT_CALL_PROLOG(&Kcopy_sequenceVKd, 2);
      T6 = CONGRUENT_CALL2(path_, &T21);
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:58
      T7_0 = CALL2(&Kselect_nodesYsimple_xmlVsystemMM0, T16, T6);
      T9_0 = T7_0;
    } else {
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:60
      T8_0 = &KPempty_vectorVKi;
      T9_0 = T8_0;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:57
    T14_0 = T9_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:63
    T23_0 = KLstretchy_object_vectorGZ32ZconstructorVKiMM0I(&KLstretchy_object_vectorGVKe, &KPempty_vectorVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:63
    results_ = T23_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:64
    T24 = SLOT_VALUE_INITD(node_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:64
    T25 = SLOT_VALUE_INITD(T24, 0);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:64
    T26 = SLOT_VALUE_INITD(T25, 0);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:64
    T27 = primitive_cast_integer_as_raw(T26);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:64
    T10T = 1;
  L0: ;
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:64
      T10 = T10T;
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:64
      T28 = primitive_machine_word_equalQ(T10,T27);
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:64
      if (T28 == &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:64
        T29 = SLOT_VALUE_INITD(T24, 0);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:64
        T30 = REPEATED_D_SLOT_VALUE_TAGGED(T29, 2, T10);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:65
        T11 = CALL1(&Knode_nameYsimple_xmlVsystem, T30);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:65
        CONGRUENT_CALL_PROLOG(&KEVKd, 2);
        T12 = CONGRUENT_CALL2(T11, path_);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:65
        if (T12 != &KPfalseVKi) {
          // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:66
          KaddXVKdMM3I(results_, T30);
        }
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:65
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:64
        T31 = primitive_machine_word_add_signal_overflow(T10,4);
        // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:64
        T10T = T31;
        goto L0;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:64
      // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:64
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:69
    T13_0 = results_;
    T14_0 = T13_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:55
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:51
  MV_SET_COUNT(1);
  return(T14_0);
}

D Kselect_single_nodeYsimple_xmlVsystemMM0I (D node_, D path_) {
  D nodes_;
  D T4;
  D T5_0;
  D T6_0;
  D T7_0;
  D T8_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:73
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:76
  nodes_ = Kselect_nodesYsimple_xmlVsystemMM0I(node_, path_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:77
  CONGRUENT_CALL_PROLOG(&KemptyQVKd, 1);
  T4 = CONGRUENT_CALL1(nodes_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:77
  if (T4 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:77
    T6_0 = &KPfalseVKi;
    T7_0 = T6_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:78
    CONGRUENT_CALL_PROLOG(&KelementVKd, 3);
    T5_0 = CONGRUENT_CALL3(nodes_, (D) 1, &KPempty_vectorVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:78
    T8_0 = T5_0;
    {
      MV_CHECK_TYPE_PROLOGUE(T5_0);
      primitive_type_check(T8_0, &K35);
      MV_CHECK_TYPE_EPILOGUE();
    }
    T7_0 = T8_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:77
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:73
  MV_SET_COUNT(1);
  return(T7_0);
}

D Kselect_node_textYsimple_xmlVsystemMM0I (D node_, D path_, D Urest_, D default_) {
  D defaultF5;
  D nodes_;
  D T7;
  D T8;
  D T9;
  D Utmp_;
  D T11_0;
  D T12_0;
  D T13_0;
  D T14_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:82
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:82
  primitive_type_check(default_, &KLstringGVKd);
  defaultF5 = default_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:86
  nodes_ = Kselect_nodesYsimple_xmlVsystemMM0I(node_, path_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:87
  CONGRUENT_CALL_PROLOG(&KemptyQVKd, 1);
  T7 = CONGRUENT_CALL1(nodes_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:87
  if (T7 != &KPfalseVKi) {
    Utmp_ = &KPfalseVKi;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:88
    CONGRUENT_CALL_PROLOG(&KelementVKd, 3);
    T8 = CONGRUENT_CALL3(nodes_, (D) 1, &KPempty_vectorVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:88
    T9 = CALL1(&Knode_textYsimple_xmlVsystem, T8);
    Utmp_ = T9;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:87
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:87
  if (Utmp_ != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:87
    T11_0 = Utmp_;
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:87
    T14_0 = T11_0;
    {
      MV_CHECK_TYPE_PROLOGUE(T11_0);
      primitive_type_check(T14_0, &KLstringGVKd);
      MV_CHECK_TYPE_EPILOGUE();
    }
    T13_0 = T14_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:90
    T12_0 = defaultF5;
    T13_0 = T12_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:87
  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:82
  MV_SET_COUNT(1);
  return(T13_0);
}


/* SYSTEM INIT CODE */

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

    T0 = KPresolve_symbolVKiI(&KJattributes_);
    if (T0 != &KJattributes_) {
      IKJattributes_ = T0;
      primitive_slot_value_setter(T0, &Knode_attributesYsimple_xmlVsystemHLxml_elementG, 3);
      primitive_repeated_slot_value_setter(T0, &K56, 1, 1);
      primitive_repeated_slot_value_setter(T0, &K51, 1, 2);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJtext_);
    if (T0 != &KJtext_) {
      primitive_slot_value_setter(T0, &Knode_textYsimple_xmlVsystemHLxml_elementG, 3);
      primitive_repeated_slot_value_setter(T0, &K56, 1, 2);
      primitive_repeated_slot_value_setter(T0, &K51, 1, 4);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJlocation_);
    if (T0 != &KJlocation_) {
      IKJlocation_ = T0;
      primitive_slot_value_setter(T0, &Kdocument_locationYsimple_xmlVsystemHLxml_documentG, 3);
      primitive_repeated_slot_value_setter(T0, &K132, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K129, 1, 0);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJelement_);
    if (T0 != &KJelement_) {
      IKJelement_ = T0;
      primitive_slot_value_setter(T0, &Kdocument_elementYsimple_xmlVsystemHLxml_documentG, 3);
      primitive_repeated_slot_value_setter(T0, &K132, 1, 1);
      primitive_repeated_slot_value_setter(T0, &K129, 1, 2);
    }
  }
  {
    D T0;

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

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:11
  T0 = KPadd_classVKeI(&KLxml_documentGYsimple_xmlVsystem);
  goto I0;
}
I0:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:18
  T0 = KPadd_classVKeI(&KLxml_nodeGYsimple_xmlVsystem);
  goto I3;
}
I3:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:96
  T0 = KPadd_classVKeI(&KLxml_errorGYsimple_xmlVsystem);
  goto I6;
}
I6:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/xml.dylan:119
  T0 = KPadd_classVKeI(&KLxml_parserGYsystem_internalsVsystem);
  goto I9;
}
I9:

  return;
}

/* USER INIT CODE */

void _Init_system__X_xml_for_user () {
  return;
}


/* eof */
