#include "run-time.h"

/* Typedefs for referenced classes */

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

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 xep_;
  D function_signature_;
  D Pgf_cache_;
  D debug_name_;
  D generic_function_methods_;
  D discriminator_;
} _KLsealed_generic_functionGVKe;

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

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 symbol_name_;
} _KLsymbolGVKd;

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

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;

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    D wrapper; \
    D size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(19);
define__KLbyte_stringGVKd(6);
define__KLbyte_stringGVKd(2);
define__KLbyte_stringGVKd(36);
define__KLbyte_stringGVKd(23);
define__KLbyte_stringGVKd(3);
define__KLbyte_stringGVKd(17);
define__KLbyte_stringGVKd(13);
define__KLbyte_stringGVKd(7);
define__KLbyte_stringGVKd(4);
define__KLbyte_stringGVKd(25);
define__KLbyte_stringGVKd(16);

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

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 signature_properties_;
  D signature_required_;
} _KLsignatureGVKe;

typedef struct {
  D wrapper;
} _KLstreamGYcommon_extensionsVcommon_dylan;

typedef struct {
  D wrapper;
  D Pprimitive_name_;
  D project_proxy_;
  D project_application_;
  D project_compiler_database_;
  D project_next_numeric_id_;
  D project_object_table_;
  D project_query_database_;
  D project_server_path_;
  D environment_object_breakpoints_;
  D source_location_breakpoints_;
  D project_properties_;
  D project_profile_state_;
} _KLproject_objectGVenvironment_protocols;

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

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

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

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

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

#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 report_format_;
} _KLreportGVenvironment_reports;

typedef struct {
  D wrapper;
  D report_format_;
  D report_project_;
} _KLproject_reportGVenvironment_reports;

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

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 namespace_name_;
  D home_library_;
} _KLmoduleGVKe;


/* Typedefs for defined classes */

typedef struct {
  D wrapper;
  D report_format_;
  D report_project_;
  D visited_;
} _KLdependency_reportGVenvironment_reports;


/* Referenced object declarations */

extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLclassGVKd KLclassGVKd;
extern _KLmm_wrapperGVKi_0 KLclassGVKdW;
extern _KLclassGVKd KLmm_wrapperGVKi;
extern _KLmm_wrapperGVKi_1 KLmm_wrapperGVKiW;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
D Kinstall_reportVenvironment_reportsI (D, D, D, D);
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;
D Kproject_nameVenvironment_protocolsI (D);
extern _KLsealed_generic_functionGVKe KformatYformatVio;
extern _KLclassGVKd KLsealed_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLsealed_generic_functionGVKeW;
extern _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
extern _KLincremental_generic_functionGVKe KelementVKd;
extern _KLfunction_classGVKi KLincremental_generic_functionGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
extern _KLsymbolGVKd KJdefault_;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLincremental_generic_functionGVKe Kelement_setterVKd;
extern _KLincremental_generic_functionGVKe Kopen_project_compiler_databaseVenvironment_protocols;
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLincremental_generic_functionGVKe Kparse_project_sourceVenvironment_protocols;
D Kproject_used_projectsVenvironment_protocolsI (D, D, D, D);
extern _KLincremental_generic_functionGVKe Kforward_iteration_protocolVKd;
extern _KLsimple_methodGVKe Kproject_nameVenvironment_protocols;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLobject_signatureGVKe KDsignature_LobjectG_object_rest_value_4VKi;
extern _KLclassGVKd KLobject_signatureGVKe;
extern _KLmm_wrapperGVKi_0 KLobject_signatureGVKeW;
extern _KLabsent_engine_nodeGVKg RSINGULAR_Labsent_engine_nodeG;
extern _KLclassGVKd KLabsent_engine_nodeGVKg;
extern _KLmm_wrapperGVKi_0 KLabsent_engine_nodeGVKgW;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLclassGVKd KLpairGVKd;
extern _KLmm_wrapperGVKi_0 KLpairGVKdW;
extern _KLclassGVKd KLsimple_typechecked_cache_header_engine_nodeGVKg;
extern _KLmm_wrapperGVKi_0 KLsimple_typechecked_cache_header_engine_nodeGVKgW;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
extern _KLclassGVKd KLstreamGYcommon_extensionsVcommon_dylan;
extern _KLmm_wrapperGVKi_0 KLstreamGYcommon_extensionsVcommon_dylanW;
extern _KLclassGVKd KLproject_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLproject_objectGVenvironment_protocolsW;
extern _KLclassGVKd KLsingletonGVKd;
extern _KLmm_wrapperGVKi_0 KLsingletonGVKdW;
D Ksingleton_pointer_idQ_instanceQVKiI (D, D);
extern _KLclassGVKd KLimplementation_classGVKe;
extern _KLmm_wrapperGVKi_0 KLimplementation_classGVKeW;
extern _KLclassGVKd KLinstance_slot_descriptorGVKe;
extern _KLmm_wrapperGVKi_0 KLinstance_slot_descriptorGVKeW;
extern _KLobject_signatureGVKe KDsignature_LobjectG_object_rest_value_1VKi;
extern _KLclassGVKd KLgetter_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLgetter_methodGVKiW;
extern _KLincremental_generic_functionGVKe KmakeVKd;
extern _KLclassGVKd KLstring_tableGVKe;
extern _KLmm_wrapperGVKi_0 KLstring_tableGVKeW;
extern _KLfunction_classGVKi KLsimple_closure_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLsimple_closure_methodGVKiW;
extern _KLclassGVKd KLreportGVenvironment_reports;
extern _KLmm_wrapperGVKi_0 KLreportGVenvironment_reportsW;
extern _KLclassGVKd KLproject_reportGVenvironment_reports;
extern _KLmm_wrapperGVKi_0 KLproject_reportGVenvironment_reportsW;
D KerrorVKdMM1I (D, D);
extern _KLunionGVKe KLreport_formatGVenvironment_reports;
extern _KLclassGVKd KLunionGVKe;
extern _KLmm_wrapperGVKi_0 KLunionGVKeW;
extern _KLfunction_classGVKi KLkeyword_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_methodGVKeW;
extern _KLclassGVKd KLkeyword_signatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureAvaluesGVKiW;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LclassG_typesVKi;
extern _KLsimple_object_vectorGVKd_256 KDsignature_LobjectG_typesVKi;
extern _KLinstance_slot_descriptorGVKe Kreport_formatVenvironment_reportsHLreportG;
extern _KLinstance_slot_descriptorGVKe Kreport_projectVenvironment_reportsHLproject_reportG;
D Kclass_instanceQ_initialVKiI (D, D);
extern _KLmoduleGVKe Kenvironment_reports_moduleYdylan_userVenvironment_reports;
extern _KLclassGVKd KLmoduleGVKe;
extern _KLmm_wrapperGVKi_0 KLmoduleGVKeW;

/* Defined object declarations */

static _KLsymbolGVKd KJformats_;
static _KLsimple_object_vectorGVKd_2 K2;
static _KLsymbolGVKd KJdependency_graph_;
static _KLbyte_stringGVKd_16 K4;
extern _KLclassGVKd KLdependency_reportGVenvironment_reports;
extern _KLmm_wrapperGVKi_0 KLdependency_reportGVenvironment_reportsW;
extern _KLsimple_methodGVKe Kwrite_report_asVenvironment_reportsMM4;
D Kwrite_report_asVenvironment_reportsMM4I (D, D, D);
extern _KLsimple_methodGVKe Kwrite_report_asVenvironment_reportsMM3;
D Kwrite_report_asVenvironment_reportsMM3I (D, D, D);
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K11;
static _KLbyte_stringGVKd_25 K12;
D Kwrite_projectVenvironment_reportsMM0I (D, D, D, D);
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K14;
static _KLbyte_stringGVKd_4 K15;
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K16;
static _KLbyte_stringGVKd_7 K17;
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K18;
extern _KLsealed_generic_functionGVKe Kwrite_projectVenvironment_reports;
extern _KLsimple_methodGVKe Kwrite_projectVenvironment_reportsMM0;
extern _KLsimple_methodGVKe Kwrite_projectVenvironment_reportsMM1;
D Kwrite_projectVenvironment_reportsMM1I (D, D, D, D);
static _KLpairGVKd K23;
static _KLpairGVKd K24;
static _KLbyte_stringGVKd_13 K25;
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K26;
static _KLbyte_stringGVKd_17 K27;
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K28;
static _KLsignatureGVKe K29;
static _KLsimple_object_vectorGVKd_4 K30;
static _KLsingletonGVKd K31;
static _KLsymbolGVKd KJdot_;
static _KLbyte_stringGVKd_3 K33;
static _KLsignatureGVKe K34;
static _KLsimple_object_vectorGVKd_4 K35;
static _KLsingletonGVKd K36;
static _KLsymbolGVKd KJtext_;
static _KLbyte_stringGVKd_4 K38;
static _KLsignatureGVKe K39;
static _KLsimple_object_vectorGVKd_3 K40;
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K41;
static _KLbyte_stringGVKd_23 K42;
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K43;
static _KLbyte_stringGVKd_36 K44;
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K45;
static _KLbyte_stringGVKd_16 K46;
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K47;
static _KLbyte_stringGVKd_2 K48;
static _KLsignatureGVKe K49;
static _KLsimple_object_vectorGVKd_3 K50;
static _KLimplementation_classGVKe K51;
static _KLsimple_object_vectorGVKd_3 K52;
extern _KLkeyword_methodGVKe KLdependency_reportGZ32ZconstructorVenvironment_reportsMM0;
D KLdependency_reportGZ32ZconstructorVenvironment_reportsMM0I (D, D, D, D);
static _KLsimple_object_vectorGVKd_1 K55;
static _KLsimple_object_vectorGVKd_6 K56;
static _KLsimple_object_vectorGVKd_1 K57;
extern _KLinstance_slot_descriptorGVKe KvisitedVenvironment_reportsHLdependency_reportG;
static _KLsimple_closure_methodGVKi_0 K65;
static D K65I ();
extern _KLsealed_generic_functionGVKe KvisitedVenvironment_reports;
extern _KLgetter_methodGVKi KvisitedVenvironment_reportsMM0;
static _KLpairGVKd K63;
static _KLbyte_stringGVKd_7 K64;
static _KLsignatureGVKe K66;
static _KLsymbolGVKd KJproject_;
static _KLbyte_stringGVKd_23 K68;
static D K70I ();
static _KLbyte_stringGVKd_7 K71;
static _KLkeyword_signatureAvaluesGVKi K72;
static _KLsimple_object_vectorGVKd_4 K73;
static _KLsymbolGVKd KJformat_;
static _KLbyte_stringGVKd_6 K75;
static _KLsimple_object_vectorGVKd_2 K76;
static _KLsimple_object_vectorGVKd_1 K77;
static _KLbyte_stringGVKd_19 K78;
static _KLbyte_stringGVKd_16 K79;
static _KLbyte_stringGVKd_7 K80;

/* Indirection variables */

static D IKJformats_ = &KJformats_;
static D IKJdependency_graph_ = &KJdependency_graph_;
static D IKJdot_ = &KJdot_;
static D IKJtext_ = &KJtext_;
static D IKJproject_ = &KJproject_;
static D IKJformat_ = &KJformat_;

/* Variables */

D Ldependency_reportGVenvironment_reports = &KLdependency_reportGVenvironment_reports;

/* Objects */

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

static _KLsimple_object_vectorGVKd_2 K2 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KJtext_,
  &KJdot_
};

static _KLsymbolGVKd KJdependency_graph_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K79
};

static _KLbyte_stringGVKd_16 K4 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 65,
  "Dependency graph"
};

_KLclassGVKd KLdependency_reportGVenvironment_reports = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K78,
  &K51,
  (D) 1,
  &Kenvironment_reports_moduleYdylan_userVenvironment_reports
};

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

_KLsimple_methodGVKe Kwrite_report_asVenvironment_reportsMM4 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_3,
  &K49,
  &Kwrite_report_asVenvironment_reportsMM4I
};

_KLsimple_methodGVKe Kwrite_report_asVenvironment_reportsMM3 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_3,
  &K39,
  &Kwrite_report_asVenvironment_reportsMM3I
};

static _KLsimple_typechecked_cache_header_engine_nodeGVKg K11 = {
  &KLsimple_typechecked_cache_header_engine_nodeGVKgW /* wrapper */,
  (D) 131129,
  &KPfalseVKi,
  &cache_header_engine_3,
  &RSINGULAR_Labsent_engine_nodeG,
  &KformatYformatVio
};

static _KLbyte_stringGVKd_25 K12 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 101,
  "Dependency data for %s:\n\n"
};

static _KLsimple_typechecked_cache_header_engine_nodeGVKg K14 = {
  &KLsimple_typechecked_cache_header_engine_nodeGVKgW /* wrapper */,
  (D) 131129,
  &KPfalseVKi,
  &cache_header_engine_3,
  &RSINGULAR_Labsent_engine_nodeG,
  &KformatYformatVio
};

static _KLbyte_stringGVKd_4 K15 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 17,
  "%s:\n"
};

static _KLsimple_typechecked_cache_header_engine_nodeGVKg K16 = {
  &KLsimple_typechecked_cache_header_engine_nodeGVKgW /* wrapper */,
  (D) 131129,
  &KPfalseVKi,
  &cache_header_engine_3,
  &RSINGULAR_Labsent_engine_nodeG,
  &KformatYformatVio
};

static _KLbyte_stringGVKd_7 K17 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 29,
  "    %s\n"
};

static _KLsimple_typechecked_cache_header_engine_nodeGVKg K18 = {
  &KLsimple_typechecked_cache_header_engine_nodeGVKgW /* wrapper */,
  (D) 196665,
  &KPfalseVKi,
  &cache_header_engine_4,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kwrite_projectVenvironment_reports
};

_KLsealed_generic_functionGVKe Kwrite_projectVenvironment_reports = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_4,
  &KDsignature_LobjectG_object_rest_value_4VKi,
  (D) 29,
  &K25,
  &K23,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsimple_methodGVKe Kwrite_projectVenvironment_reportsMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_4,
  &K34,
  &Kwrite_projectVenvironment_reportsMM0I
};

_KLsimple_methodGVKe Kwrite_projectVenvironment_reportsMM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_4,
  &K29,
  &Kwrite_projectVenvironment_reportsMM1I
};

static _KLpairGVKd K23 = {
  &KLpairGVKdW /* wrapper */,
  &Kwrite_projectVenvironment_reportsMM0,
  &K24
};

static _KLpairGVKd K24 = {
  &KLpairGVKdW /* wrapper */,
  &Kwrite_projectVenvironment_reportsMM1,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_13 K25 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 53,
  "write-project"
};

static _KLsimple_typechecked_cache_header_engine_nodeGVKg K26 = {
  &KLsimple_typechecked_cache_header_engine_nodeGVKgW /* wrapper */,
  (D) 131129,
  &KPfalseVKi,
  &cache_header_engine_3,
  &RSINGULAR_Labsent_engine_nodeG,
  &KformatYformatVio
};

static _KLbyte_stringGVKd_17 K27 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 69,
  "    \"%s\" -> \"%s\"\n"
};

static _KLsimple_typechecked_cache_header_engine_nodeGVKg K28 = {
  &KLsimple_typechecked_cache_header_engine_nodeGVKgW /* wrapper */,
  (D) 196665,
  &KPfalseVKi,
  &cache_header_engine_4,
  &RSINGULAR_Labsent_engine_nodeG,
  &Kwrite_projectVenvironment_reports
};

static _KLsignatureGVKe K29 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 44040209,
  &K30
};

static _KLsimple_object_vectorGVKd_4 K30 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 17,
  &KLdependency_reportGVenvironment_reports,
  &KLstreamGYcommon_extensionsVcommon_dylan,
  &KLproject_objectGVenvironment_protocols,
  &K31
};

static _KLsingletonGVKd K31 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KJdot_
};

static _KLsymbolGVKd KJdot_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K33
};

static _KLbyte_stringGVKd_3 K33 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 13,
  "dot"
};

static _KLsignatureGVKe K34 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 44040209,
  &K35
};

static _KLsimple_object_vectorGVKd_4 K35 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 17,
  &KLdependency_reportGVenvironment_reports,
  &KLstreamGYcommon_extensionsVcommon_dylan,
  &KLproject_objectGVenvironment_protocols,
  &K36
};

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

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

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

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

static _KLsimple_object_vectorGVKd_3 K40 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &KLstreamGYcommon_extensionsVcommon_dylan,
  &KLdependency_reportGVenvironment_reports,
  &K36
};

static _KLsimple_typechecked_cache_header_engine_nodeGVKg K41 = {
  &KLsimple_typechecked_cache_header_engine_nodeGVKgW /* wrapper */,
  (D) 131129,
  &KPfalseVKi,
  &cache_header_engine_3,
  &RSINGULAR_Labsent_engine_nodeG,
  &KformatYformatVio
};

static _KLbyte_stringGVKd_23 K42 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 93,
  "digraph dependencies {\n"
};

static _KLsimple_typechecked_cache_header_engine_nodeGVKg K43 = {
  &KLsimple_typechecked_cache_header_engine_nodeGVKgW /* wrapper */,
  (D) 131129,
  &KPfalseVKi,
  &cache_header_engine_3,
  &RSINGULAR_Labsent_engine_nodeG,
  &KformatYformatVio
};

static _KLbyte_stringGVKd_36 K44 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 145,
  "    label=\"Dependency graph for %s\"\n"
};

static _KLsimple_typechecked_cache_header_engine_nodeGVKg K45 = {
  &KLsimple_typechecked_cache_header_engine_nodeGVKgW /* wrapper */,
  (D) 131129,
  &KPfalseVKi,
  &cache_header_engine_3,
  &RSINGULAR_Labsent_engine_nodeG,
  &KformatYformatVio
};

static _KLbyte_stringGVKd_16 K46 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 65,
  "    fontsize=20\n"
};

static _KLsimple_typechecked_cache_header_engine_nodeGVKg K47 = {
  &KLsimple_typechecked_cache_header_engine_nodeGVKgW /* wrapper */,
  (D) 131129,
  &KPfalseVKi,
  &cache_header_engine_3,
  &RSINGULAR_Labsent_engine_nodeG,
  &KformatYformatVio
};

static _KLbyte_stringGVKd_2 K48 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 9,
  "}\n"
};

static _KLsignatureGVKe K49 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 41943053,
  &K50
};

static _KLsimple_object_vectorGVKd_3 K50 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &KLstreamGYcommon_extensionsVcommon_dylan,
  &KLdependency_reportGVenvironment_reports,
  &K31
};

static _KLimplementation_classGVKe K51 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 527433741,
  &KLdependency_reportGVenvironment_reports,
  &KLdependency_reportGVenvironment_reportsW,
  &KPfalseVKi,
  &K52,
  (D) -3,
  &KLdependency_reportGZ32ZconstructorVenvironment_reportsMM0,
  &K55,
  &K56,
  (D) 13,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &K57,
  &K52,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_3 K52 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &Kreport_formatVenvironment_reportsHLreportG,
  &Kreport_projectVenvironment_reportsHLproject_reportG,
  &KvisitedVenvironment_reportsHLdependency_reportG
};

_KLkeyword_methodGVKe KLdependency_reportGZ32ZconstructorVenvironment_reportsMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K72,
  &key_mep_2,
  &KLdependency_reportGZ32ZconstructorVenvironment_reportsMM0I,
  &K73
};

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

static _KLsimple_object_vectorGVKd_6 K56 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 25,
  &KLobjectGVKd,
  &KLreportGVenvironment_reports,
  &KLproject_reportGVenvironment_reports,
  &KLdependency_reportGVenvironment_reports,
  &KPfalseVKi,
  &KPfalseVKi
};

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

_KLinstance_slot_descriptorGVKe KvisitedVenvironment_reportsHLdependency_reportG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 149,
  &K65,
  &KLdependency_reportGVenvironment_reports,
  &KPfalseVKi,
  &KvisitedVenvironment_reports,
  &KPfalseVKi,
  &KLobjectGVKd
};

static _KLsimple_closure_methodGVKi_0 K65 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_0,
  &K66,
  &K65I,
  (D) 1
};

_KLsealed_generic_functionGVKe KvisitedVenvironment_reports = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K64,
  &K63,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLgetter_methodGVKi KvisitedVenvironment_reportsMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &KvisitedVenvironment_reportsHLdependency_reportG
};

static _KLpairGVKd K63 = {
  &KLpairGVKdW /* wrapper */,
  &KvisitedVenvironment_reportsMM0,
  &KPempty_listVKi
};

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

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

static _KLsymbolGVKd KJproject_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K71
};

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

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

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

static _KLsimple_object_vectorGVKd_4 K73 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 17,
  &KJformat_,
  &KJtext_,
  &KJproject_,
  &KPunboundVKi
};

static _KLsymbolGVKd KJformat_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K75
};

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

static _KLsimple_object_vectorGVKd_2 K76 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KJformat_,
  &KJproject_
};

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

static _KLbyte_stringGVKd_19 K78 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 77,
  "<dependency-report>"
};

static _KLbyte_stringGVKd_16 K79 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 65,
  "dependency-graph"
};

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

/* Code */

D Kwrite_report_asVenvironment_reportsMM4I (D stream_, D report_, D Uformat_) {
  D T4;
  D T5;
  _KLsimple_object_vectorGVKd_1 T6 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T7;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:42
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:44
  T5 = SLOT_VALUE_INITD(report_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:45
  ENGINE_NODE_CALL_PROLOG(&KformatYformatVio, &K41, 3);
  ENGINE_NODE_CALL3(&K41, stream_, &K42, &KPempty_vectorVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:46
  Kwrite_projectVenvironment_reportsMM1I(report_, stream_, T5, Uformat_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:47
  T4 = Kproject_nameVenvironment_protocolsI(T5);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:47
  T6.vector_element_[0] = T4;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:47
  ENGINE_NODE_CALL_PROLOG(&KformatYformatVio, &K43, 3);
  ENGINE_NODE_CALL3(&K43, stream_, &K44, &T6);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:48
  ENGINE_NODE_CALL_PROLOG(&KformatYformatVio, &K45, 3);
  ENGINE_NODE_CALL3(&K45, stream_, &K46, &KPempty_vectorVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:49
  ENGINE_NODE_CALL_PROLOG(&KformatYformatVio, &K47, 3);
  T7 = ENGINE_NODE_CALL3(&K47, stream_, &K48, &KPempty_vectorVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:42
  MV_SET_COUNT(0);
  return(T7);
}

D Kwrite_report_asVenvironment_reportsMM3I (D stream_, D report_, D Uformat_) {
  D T4;
  D T5;
  _KLsimple_object_vectorGVKd_1 T6 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T7;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:16
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:18
  T5 = SLOT_VALUE_INITD(report_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:19
  T4 = Kproject_nameVenvironment_protocolsI(T5);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:19
  T6.vector_element_[0] = T4;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:19
  ENGINE_NODE_CALL_PROLOG(&KformatYformatVio, &K11, 3);
  ENGINE_NODE_CALL3(&K11, stream_, &K12, &T6);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:20
  T7 = Kwrite_projectVenvironment_reportsMM0I(report_, stream_, T5, Uformat_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:16
  MV_SET_COUNT(0);
  return(T7);
}

D Kwrite_projectVenvironment_reportsMM0I (D report_, D stream_, D project_, D Uformat_) {
  D T5;
  D T6;
  D T7;
  D T8;
  D used_;
  D T10;
  D T11;
  D T12;
  D T13;
  D T14;
  D T15;
  D T16;
  D T17T, T17;
  D T18;
  D T19;
  D T20;
  D T21;
  D T22;
  D T23;
  D T24;
  D T25;
  D T26;
  D T27;
  D T28T, T28;
  D T29;
  D T30;
  D T31;
  D T32;
  D T33;
  D T34;
  D T35;
  _KLsimple_object_vectorGVKd_1 T36 = {&KLsimple_object_vectorGVKdW, (D) 5};
  _KLsimple_object_vectorGVKd_1 T37 = {&KLsimple_object_vectorGVKdW, (D) 5};

  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:23
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:26
  T35 = SLOT_VALUE_INITD(report_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:26
  T5 = Kproject_nameVenvironment_protocolsI(project_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:26
  T6 = CALL4(&KelementVKd, T35, T5, &KJdefault_, &KPfalseVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:26
  if (T6 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:26
    T33 = &KPfalseVKi;
    MV_SET_ELT(0, &KPfalseVKi);
    MV_SET_COUNT(1);
    T34 = T33;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:27
    T7 = Kproject_nameVenvironment_protocolsI(project_);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:27
    CALL3(&Kelement_setterVKd, &KPtrueVKi, T35, T7);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:28
    CONGRUENT_CALL_PROLOG(&Kopen_project_compiler_databaseVenvironment_protocols, 2);
    T8 = CONGRUENT_CALL2(project_, &KPempty_vectorVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:28
    if (T8 == &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:29
      CONGRUENT_CALL_PROLOG(&Kparse_project_sourceVenvironment_protocols, 2);
      CONGRUENT_CALL2(project_, &KPempty_vectorVKi);
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:28
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:31
    used_ = Kproject_used_projectsVenvironment_protocolsI(project_, &KPempty_vectorVKi, &KPfalseVKi, &KPfalseVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:32
    T10 = Kproject_nameVenvironment_protocolsI(project_);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:32
    T36.vector_element_[0] = T10;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:32
    ENGINE_NODE_CALL_PROLOG(&KformatYformatVio, &K14, 3);
    ENGINE_NODE_CALL3(&K14, stream_, &K15, &T36);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:33
    CONGRUENT_CALL_PROLOG(&Kforward_iteration_protocolVKd, 1);
    T11 = CONGRUENT_CALL1(used_);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:33
    T12 = T11;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:33
    T13 = MV_GET_ELT(1);
;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:33
    T14 = MV_GET_ELT(2);
;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:33
    T15 = MV_GET_ELT(3);
;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:33
    T16 = MV_GET_ELT(5);
;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:33
    T17T = T12;
  L0: ;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:33
      T17 = T17T;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:33
      T18 = CALL3(T15, used_, T17, T13);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:33
      if (T18 == &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:33
        T19 = CALL2(T16, used_, T17);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:34
        T20 = CALL1(&Kproject_nameVenvironment_protocols, T19);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:34
        T37.vector_element_[0] = T20;
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:34
        ENGINE_NODE_CALL_PROLOG(&KformatYformatVio, &K16, 3);
        ENGINE_NODE_CALL3(&K16, stream_, &K17, &T37);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:33
        T21 = CALL2(T14, used_, T17);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:33
        T17T = T21;
        goto L0;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:33
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:33
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:36
    CONGRUENT_CALL_PROLOG(&Kforward_iteration_protocolVKd, 1);
    T22 = CONGRUENT_CALL1(used_);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:36
    T23 = T22;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:36
    T24 = MV_GET_ELT(1);
;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:36
    T25 = MV_GET_ELT(2);
;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:36
    T26 = MV_GET_ELT(3);
;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:36
    T27 = MV_GET_ELT(5);
;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:36
    T28T = T23;
  L1: ;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:36
      T28 = T28T;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:36
      T29 = CALL3(T26, used_, T28, T24);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:36
      if (T29 == &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:36
        T30 = CALL2(T27, used_, T28);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:37
        ENGINE_NODE_CALL_PROLOG(&Kwrite_projectVenvironment_reports, &K18, 4);
        ENGINE_NODE_CALL4(&K18, report_, stream_, T30, Uformat_);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:36
        T31 = CALL2(T25, used_, T28);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:36
        T28T = T31;
        goto L1;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:36
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:36
      T32 = &KPfalseVKi;
      MV_SET_ELT(0, &KPfalseVKi);
      MV_SET_COUNT(1);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:36
    T34 = T32;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:26
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:23
  return(T34);
}

D Kwrite_projectVenvironment_reportsMM1I (D report_, D stream_, D project_, D Uformat_) {
  D T5;
  D T6;
  D T7;
  D T8;
  D used_;
  D T10;
  D T11;
  D T12;
  D T13;
  D T14;
  D T15;
  D T16T, T16;
  D T17;
  D T18;
  D T19;
  D T20;
  D T21;
  D T22;
  D T23;
  D T24;
  D T25;
  D T26;
  D T27;
  D T28T, T28;
  D T29;
  D T30;
  D T31;
  D T32;
  D T33;
  D T34;
  D T35;
  _KLsimple_object_vectorGVKd_2 T36 = {&KLsimple_object_vectorGVKdW, (D) 9};

  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:52
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:55
  T35 = SLOT_VALUE_INITD(report_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:55
  T5 = Kproject_nameVenvironment_protocolsI(project_);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:55
  T6 = CALL4(&KelementVKd, T35, T5, &KJdefault_, &KPfalseVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:55
  if (T6 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:55
    T33 = &KPfalseVKi;
    MV_SET_ELT(0, &KPfalseVKi);
    MV_SET_COUNT(1);
    T34 = T33;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:56
    T7 = Kproject_nameVenvironment_protocolsI(project_);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:56
    CALL3(&Kelement_setterVKd, &KPtrueVKi, T35, T7);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:57
    CONGRUENT_CALL_PROLOG(&Kopen_project_compiler_databaseVenvironment_protocols, 2);
    T8 = CONGRUENT_CALL2(project_, &KPempty_vectorVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:57
    if (T8 == &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:58
      CONGRUENT_CALL_PROLOG(&Kparse_project_sourceVenvironment_protocols, 2);
      CONGRUENT_CALL2(project_, &KPempty_vectorVKi);
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:57
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:60
    used_ = Kproject_used_projectsVenvironment_protocolsI(project_, &KPempty_vectorVKi, &KPfalseVKi, &KPfalseVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:61
    CONGRUENT_CALL_PROLOG(&Kforward_iteration_protocolVKd, 1);
    T10 = CONGRUENT_CALL1(used_);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:61
    T11 = T10;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:61
    T12 = MV_GET_ELT(1);
;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:61
    T13 = MV_GET_ELT(2);
;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:61
    T14 = MV_GET_ELT(3);
;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:61
    T15 = MV_GET_ELT(5);
;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:61
    T16T = T11;
  L0: ;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:61
      T16 = T16T;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:61
      T17 = CALL3(T14, used_, T16, T12);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:61
      if (T17 == &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:61
        T18 = CALL2(T15, used_, T16);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:62
        T19 = Kproject_nameVenvironment_protocolsI(project_);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:62
        T20 = CALL1(&Kproject_nameVenvironment_protocols, T18);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:62
        T36.vector_element_[0] = T19;
        T36.vector_element_[1] = T20;
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:62
        ENGINE_NODE_CALL_PROLOG(&KformatYformatVio, &K26, 3);
        ENGINE_NODE_CALL3(&K26, stream_, &K27, &T36);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:61
        T21 = CALL2(T13, used_, T16);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:61
        T16T = T21;
        goto L0;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:61
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:61
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:64
    CONGRUENT_CALL_PROLOG(&Kforward_iteration_protocolVKd, 1);
    T22 = CONGRUENT_CALL1(used_);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:64
    T23 = T22;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:64
    T24 = MV_GET_ELT(1);
;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:64
    T25 = MV_GET_ELT(2);
;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:64
    T26 = MV_GET_ELT(3);
;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:64
    T27 = MV_GET_ELT(5);
;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:64
    T28T = T23;
  L1: ;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:64
      T28 = T28T;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:64
      T29 = CALL3(T26, used_, T28, T24);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:64
      if (T29 == &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:64
        T30 = CALL2(T27, used_, T28);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:65
        ENGINE_NODE_CALL_PROLOG(&Kwrite_projectVenvironment_reports, &K28, 4);
        ENGINE_NODE_CALL4(&K28, report_, stream_, T30, Uformat_);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:64
        T31 = CALL2(T25, used_, T28);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:64
        T28T = T31;
        goto L1;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:64
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:64
      T32 = &KPfalseVKi;
      MV_SET_ELT(0, &KPfalseVKi);
      MV_SET_COUNT(1);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:64
    T34 = T32;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:55
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:52
  return(T34);
}

D KLdependency_reportGZ32ZconstructorVenvironment_reportsMM0I (D class_, D init_args_, D Uunique_report_format_, D Uunique_report_project_) {
  D T5;
  D Uunique_report_projectF6;
  D T7;
  D Uunique_report_formatF8;
  D Uunique_report_projectF9;
  D T10;
  D T11_0;
  D T12;
  _KLsimple_object_vectorGVKd_1 T13 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T14;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:9
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:9
  T12 = primitive_idQ(Uunique_report_project_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:9
  if (T12 != &KPfalseVKi) {
    T13.vector_element_[0] = IKJproject_;
    T14 = KerrorVKdMM1I(&K68, &T13);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:9
    T5 = T14;
    Uunique_report_projectF6 = T5;
  } else {
    Uunique_report_projectF6 = Uunique_report_project_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:9
  T7 = primitive_object_allocate_filled(4,&KLdependency_reportGVenvironment_reportsW,3,&KPunboundVKi,0,0,&KPunboundVKi);
  primitive_type_check(Uunique_report_format_, &KLreport_formatGVenvironment_reports);
  Uunique_report_formatF8 = Uunique_report_format_;
  SLOT_VALUE_SETTER(Uunique_report_formatF8, T7, 0);
  primitive_type_check(Uunique_report_projectF6, &KLproject_objectGVenvironment_protocols);
  Uunique_report_projectF9 = Uunique_report_projectF6;
  SLOT_VALUE_SETTER(Uunique_report_projectF9, T7, 1);
  T10 = K70I();
  SLOT_VALUE_SETTER(T10, T7, 2);
  T11_0 = T7;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:9
  MV_SET_COUNT(1);
  return(T11_0);
}

static D K65I () {
  D init_value_;
  D T2_0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:10
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:10
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  init_value_ = CONGRUENT_CALL2(&KLstring_tableGVKe, &KPempty_vectorVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:10
  T2_0 = init_value_;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:10
  MV_SET_COUNT(1);
  return(T2_0);
}

static D K70I () {
  D init_value_;
  D T2_0;

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


/* SYSTEM INIT CODE */

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

    T0 = KPresolve_symbolVKiI(&KJformats_);
    if (T0 != &KJformats_) {
      IKJformats_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJdependency_graph_);
    if (T0 != &KJdependency_graph_) {
      IKJdependency_graph_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJdot_);
    if (T0 != &KJdot_) {
      primitive_repeated_slot_value_setter(T0, &K2, 1, 1);
      primitive_slot_value_setter(T0, &K31, 1);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJtext_);
    if (T0 != &KJtext_) {
      primitive_repeated_slot_value_setter(T0, &K2, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K73, 1, 1);
      primitive_slot_value_setter(T0, &K36, 1);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJproject_);
    if (T0 != &KJproject_) {
      primitive_repeated_slot_value_setter(T0, &K76, 1, 1);
      primitive_repeated_slot_value_setter(T0, &K73, 1, 2);
      IKJproject_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJformat_);
    if (T0 != &KJformat_) {
      primitive_repeated_slot_value_setter(T0, &K76, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K73, 1, 0);
    }
  }
  return;
}

/* USER INIT CODE */

void _Init_environment_reports__X_dependency_report_for_user () {
{
  D T0;
  _KLsimple_object_vectorGVKd_2 T1 = {&KLsimple_object_vectorGVKdW, (D) 9};

  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:13
  T1.vector_element_[0] = IKJformats_;
  T1.vector_element_[1] = &K2;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/dependency-report.dylan:13
  T0 = Kinstall_reportVenvironment_reportsI(IKJdependency_graph_, &K4, &KLdependency_reportGVenvironment_reports, &T1);
  goto I0;
}
I0:

  return;
}


/* eof */
