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

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_;
  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 Pprimitive_name_;
} _KLwarning_objectGVenvironment_protocols;

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

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    D wrapper; \
    D size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(8);
define__KLbyte_stringGVKd(17);
define__KLbyte_stringGVKd(6);
define__KLbyte_stringGVKd(7);
define__KLbyte_stringGVKd(23);
define__KLbyte_stringGVKd(4);
define__KLbyte_stringGVKd(14);
define__KLbyte_stringGVKd(13);
define__KLbyte_stringGVKd(1);
define__KLbyte_stringGVKd(25);
define__KLbyte_stringGVKd(24);

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 properties_;
  D engine_node_callback_;
  D engine_node_entry_point_;
} _KLabsent_engine_nodeGVKg;

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

typedef struct {
  D wrapper;
} _KLstreamGYcommon_extensionsVcommon_dylan;

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 head_;
  D tail_;
} _KLempty_listGVKd;

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


/* Typedefs for defined classes */

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


/* Referenced object declarations */

D Kinstall_reportVenvironment_reportsI (D, D, D, D);
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
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;
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_warningsVenvironment_protocolsI (D, D, D);
extern _KLincremental_generic_functionGVKe Kforward_iteration_protocolVKd;
extern _KLfunction_classGVKi KLincremental_generic_functionGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
extern _KLclassGVKd KLwarning_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLwarning_objectGVenvironment_protocolsW;
extern _KLincremental_generic_functionGVKe Kenvironment_object_libraryVenvironment_protocols;
extern _KLsealed_generic_functionGVKe KformatYformatVio;
extern _KLclassGVKd KLsealed_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLsealed_generic_functionGVKeW;
extern _KLincremental_generic_functionGVKe Kenvironment_object_primitive_nameVenvironment_protocols;
extern _KLincremental_generic_functionGVKe Kprint_environment_object_nameVenvironment_protocols;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLclassGVKd KLsimple_typechecked_cache_header_engine_nodeGVKg;
extern _KLmm_wrapperGVKi_0 KLsimple_typechecked_cache_header_engine_nodeGVKgW;
extern _KLabsent_engine_nodeGVKg RSINGULAR_Labsent_engine_nodeG;
extern _KLclassGVKd KLabsent_engine_nodeGVKg;
extern _KLmm_wrapperGVKi_0 KLabsent_engine_nodeGVKgW;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
extern _KLclassGVKd KLstreamGYcommon_extensionsVcommon_dylan;
extern _KLmm_wrapperGVKi_0 KLstreamGYcommon_extensionsVcommon_dylanW;
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 _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
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 _KLclassGVKd KLproject_objectGVenvironment_protocols;
extern _KLmm_wrapperGVKi_0 KLproject_objectGVenvironment_protocolsW;
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 _KLclassGVKd KLinstance_slot_descriptorGVKe;
extern _KLmm_wrapperGVKi_0 KLinstance_slot_descriptorGVKeW;
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 KJwarnings_;
static _KLbyte_stringGVKd_24 K2;
extern _KLclassGVKd KLwarnings_reportGVenvironment_reports;
extern _KLmm_wrapperGVKi_0 KLwarnings_reportGVenvironment_reportsW;
extern _KLsimple_methodGVKe Kwrite_report_asVenvironment_reportsMM9;
D Kwrite_report_asVenvironment_reportsMM9I (D, D, D);
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K7;
static _KLbyte_stringGVKd_25 K8;
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K9;
static _KLbyte_stringGVKd_24 K10;
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K11;
static _KLsymbolGVKd KJqualify_namesQ_;
static _KLsymbolGVKd KJfull_messageQ_;
static _KLsimple_typechecked_cache_header_engine_nodeGVKg K14;
static _KLbyte_stringGVKd_1 K15;
static _KLbyte_stringGVKd_13 K16;
static _KLbyte_stringGVKd_14 K17;
static _KLsignatureGVKe K18;
static _KLsimple_object_vectorGVKd_3 K19;
static _KLsingletonGVKd K20;
static _KLsymbolGVKd KJtext_;
static _KLbyte_stringGVKd_4 K22;
static _KLimplementation_classGVKe K23;
static _KLsimple_object_vectorGVKd_2 K24;
extern _KLkeyword_methodGVKe KLwarnings_reportGZ32ZconstructorVenvironment_reportsMM0;
D KLwarnings_reportGZ32ZconstructorVenvironment_reportsMM0I (D, D, D, D);
static _KLsimple_object_vectorGVKd_1 K27;
static _KLsimple_object_vectorGVKd_6 K28;
static _KLsymbolGVKd KJproject_;
static _KLbyte_stringGVKd_23 K30;
static _KLbyte_stringGVKd_7 K31;
static _KLkeyword_signatureAvaluesGVKi K32;
static _KLsimple_object_vectorGVKd_4 K33;
static _KLsymbolGVKd KJformat_;
static _KLbyte_stringGVKd_6 K35;
static _KLsimple_object_vectorGVKd_2 K36;
static _KLsimple_object_vectorGVKd_1 K37;
static _KLbyte_stringGVKd_17 K38;
static _KLbyte_stringGVKd_8 K39;

/* Indirection variables */

static D IKJwarnings_ = &KJwarnings_;
static D IKJqualify_namesQ_ = &KJqualify_namesQ_;
static D IKJfull_messageQ_ = &KJfull_messageQ_;
static D IKJtext_ = &KJtext_;
static D IKJproject_ = &KJproject_;
static D IKJformat_ = &KJformat_;

/* Variables */

D Lwarnings_reportGVenvironment_reports = &KLwarnings_reportGVenvironment_reports;

/* Objects */

static _KLsymbolGVKd KJwarnings_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K39
};

static _KLbyte_stringGVKd_24 K2 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 97,
  "Compiler warnings report"
};

_KLclassGVKd KLwarnings_reportGVenvironment_reports = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K38,
  &K23,
  (D) 1,
  &Kenvironment_reports_moduleYdylan_userVenvironment_reports
};

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

_KLsimple_methodGVKe Kwrite_report_asVenvironment_reportsMM9 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_3,
  &K18,
  &Kwrite_report_asVenvironment_reportsMM9I
};

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

static _KLbyte_stringGVKd_25 K8 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 101,
  "-----------------------\n\n"
};

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

static _KLbyte_stringGVKd_24 K10 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 97,
  "Warnings in %s library:\n"
};

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 _KLsymbolGVKd KJqualify_namesQ_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K17
};

static _KLsymbolGVKd KJfull_messageQ_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K16
};

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_1 K15 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 5,
  "\n"
};

static _KLbyte_stringGVKd_13 K16 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 53,
  "full-message?"
};

static _KLbyte_stringGVKd_14 K17 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 57,
  "qualify-names?"
};

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

static _KLsimple_object_vectorGVKd_3 K19 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &KLstreamGYcommon_extensionsVcommon_dylan,
  &KLwarnings_reportGVenvironment_reports,
  &K20
};

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

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

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

static _KLimplementation_classGVKe K23 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 527433737,
  &KLwarnings_reportGVenvironment_reports,
  &KLwarnings_reportGVenvironment_reportsW,
  &KPfalseVKi,
  &K24,
  (D) -3,
  &KLwarnings_reportGZ32ZconstructorVenvironment_reportsMM0,
  &K27,
  &K28,
  (D) 13,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K24,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_2 K24 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &Kreport_formatVenvironment_reportsHLreportG,
  &Kreport_projectVenvironment_reportsHLproject_reportG
};

_KLkeyword_methodGVKe KLwarnings_reportGZ32ZconstructorVenvironment_reportsMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K32,
  &key_mep_2,
  &KLwarnings_reportGZ32ZconstructorVenvironment_reportsMM0I,
  &K33
};

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

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

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

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

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

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

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

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

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

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

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

static _KLbyte_stringGVKd_17 K38 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 69,
  "<warnings-report>"
};

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

/* Code */

D Kwrite_report_asVenvironment_reportsMM9I (D stream_, D report_, D Uformat_) {
  D T4;
  D T5;
  D T6;
  D T7;
  D T8;
  D T9;
  D T10;
  D T11T, T11;
  D T12;
  D warning_;
  D T14;
  D library_;
  D T16;
  D T17;
  D T18;
  D last_library_;
  D T20;
  D T21;
  D T22;
  D T23;
  _KLsimple_object_vectorGVKd_1 T24 = {&KLsimple_object_vectorGVKdW, (D) 5};
  _KLsimple_object_vectorGVKd_4 T25 = {&KLsimple_object_vectorGVKdW, (D) 17};

  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:22
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:25
  T22 = SLOT_VALUE_INITD(report_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:26
  last_library_ = &KPfalseVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
  T4 = Kproject_warningsVenvironment_protocolsI(T22, &KPempty_vectorVKi, &KPfalseVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
  CONGRUENT_CALL_PROLOG(&Kforward_iteration_protocolVKd, 1);
  T5 = CONGRUENT_CALL1(T4);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
  T6 = T5;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
  T7 = MV_GET_ELT(1);
;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
  T8 = MV_GET_ELT(2);
;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
  T9 = MV_GET_ELT(3);
;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
  T10 = MV_GET_ELT(5);
;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
  T11T = T6;
L0: ;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
    T11 = T11T;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
    T12 = CALL3(T9, T4, T11, T7);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
    if (T12 == &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
      T14 = CALL2(T10, T4, T11);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
      primitive_type_check(T14, &KLwarning_objectGVenvironment_protocols);
      warning_ = T14;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:28
      CONGRUENT_CALL_PROLOG(&Kenvironment_object_libraryVenvironment_protocols, 2);
      library_ = CONGRUENT_CALL2(T22, warning_);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:29
      T21 = last_library_;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:29
      T23 = primitive_idQ(library_,T21);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:29
      if (T23 == &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:30
        T20 = last_library_;
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:30
        if (T20 != &KPfalseVKi) {
          // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:31
          ENGINE_NODE_CALL_PROLOG(&KformatYformatVio, &K7, 3);
          ENGINE_NODE_CALL3(&K7, stream_, &K8, &KPempty_vectorVKi);
        }
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:30
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:34
        T16 = CALL2(&Kenvironment_object_primitive_nameVenvironment_protocols, T22, library_);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:33
        T24.vector_element_[0] = T16;
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:33
        ENGINE_NODE_CALL_PROLOG(&KformatYformatVio, &K9, 3);
        ENGINE_NODE_CALL3(&K9, stream_, &K10, &T24);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:35
        ENGINE_NODE_CALL_PROLOG(&KformatYformatVio, &K11, 3);
        ENGINE_NODE_CALL3(&K11, stream_, &K8, &KPempty_vectorVKi);
        // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:36
        last_library_ = library_;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:29
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:38
      T25.vector_element_[0] = IKJqualify_namesQ_;
      T25.vector_element_[1] = &KPfalseVKi;
      T25.vector_element_[2] = IKJfull_messageQ_;
      T25.vector_element_[3] = &KPtrueVKi;
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:38
      CONGRUENT_CALL_PROLOG(&Kprint_environment_object_nameVenvironment_protocols, 4);
      CONGRUENT_CALL4(stream_, T22, warning_, &T25);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:42
      ENGINE_NODE_CALL_PROLOG(&KformatYformatVio, &K14, 3);
      ENGINE_NODE_CALL3(&K14, stream_, &K15, &KPempty_vectorVKi);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
      T17 = CALL2(T8, T4, T11);
      // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
      T11T = T17;
      goto L0;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
    T18 = &KPfalseVKi;
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:27
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:22
  MV_SET_COUNT(0);
  return(T18);
}

D KLwarnings_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_0;
  D T11;
  _KLsimple_object_vectorGVKd_1 T12 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T13;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:11
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:11
  T11 = primitive_idQ(Uunique_report_project_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:11
  if (T11 != &KPfalseVKi) {
    T12.vector_element_[0] = IKJproject_;
    T13 = KerrorVKdMM1I(&K30, &T12);
    // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:11
    T5 = T13;
    Uunique_report_projectF6 = T5;
  } else {
    Uunique_report_projectF6 = Uunique_report_project_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:11
  T7 = primitive_object_allocate_filled(3,&KLwarnings_reportGVenvironment_reportsW,2,&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_0 = T7;
  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:11
  MV_SET_COUNT(1);
  return(T10_0);
}


/* SYSTEM INIT CODE */

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

    T0 = KPresolve_symbolVKiI(&KJwarnings_);
    if (T0 != &KJwarnings_) {
      IKJwarnings_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJqualify_namesQ_);
    if (T0 != &KJqualify_namesQ_) {
      IKJqualify_namesQ_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJfull_messageQ_);
    if (T0 != &KJfull_messageQ_) {
      IKJfull_messageQ_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJtext_);
    if (T0 != &KJtext_) {
      primitive_repeated_slot_value_setter(T0, &K33, 1, 1);
      primitive_slot_value_setter(T0, &K20, 1);
    }
  }
  {
    D T0;

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

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

/* USER INIT CODE */

void _Init_environment_reports__X_warnings_report_for_user () {
{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/environment/reports/warnings-report.dylan:17
  T0 = Kinstall_reportVenvironment_reportsI(IKJwarnings_, &K2, &KLwarnings_reportGVenvironment_reports, &KPempty_vectorVKi);
  goto I0;
}
I0:

  return;
}


/* eof */
