#include "run-time.h"

/* Typedefs for referenced classes */

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 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;
  D namespace_name_;
  D library_major_version_;
  D library_minor_version_;
  D library_build_count_;
  D used_libraries_;
  D all_used_libraries_;
  D runtime_module_;
  D library_defined_generics_;
  D library_number_static_dispatches_;
  D library_number_dynamic_dispatches_;
} _KLlibraryGVKe;

typedef struct {
  D wrapper;
} _KLbooleanGVKd;

typedef struct {
  D wrapper;
} _KLobjectGVKd;

typedef struct {
  D wrapper;
} _KLunboundGVKe;

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;

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    D wrapper; \
    D size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(13);
define__KLbyte_stringGVKd(28);
define__KLbyte_stringGVKd(10);
define__KLbyte_stringGVKd(83);
define__KLbyte_stringGVKd(76);
define__KLbyte_stringGVKd(31);
define__KLbyte_stringGVKd(6);
define__KLbyte_stringGVKd(15);
define__KLbyte_stringGVKd(12);
define__KLbyte_stringGVKd(19);
define__KLbyte_stringGVKd(16);
define__KLbyte_stringGVKd(21);
define__KLbyte_stringGVKd(17);
define__KLbyte_stringGVKd(24);
define__KLbyte_stringGVKd(22);
define__KLbyte_stringGVKd(4);
define__KLbyte_stringGVKd(5);
define__KLbyte_stringGVKd(36);
define__KLbyte_stringGVKd(3);
define__KLbyte_stringGVKd(29);
define__KLbyte_stringGVKd(8);
define__KLbyte_stringGVKd(9);
define__KLbyte_stringGVKd(7);
define__KLbyte_stringGVKd(23);
define__KLbyte_stringGVKd(14);

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;

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

typedef struct {
  D wrapper;
} _KLrealGVKd;

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

typedef struct {
  D wrapper;
  D handler_type_;
  D handler_function_;
  D handler_test_;
  D handler_init_arguments_;
} _KLhandlerGVKi;

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

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 init_arg_type_;
} _KLinit_arg_descriptorGVKe;

typedef struct {
  D wrapper;
} _KLconditionGVKd;

typedef struct {
  D wrapper;
} _KLserious_conditionGVKd;

typedef struct {
  D wrapper;
} _KLerrorGVKd;

typedef struct {
  D wrapper;
} _KLintegerGVKd;

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

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

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

typedef struct {
  D wrapper;
} _KLrestartGVKd;

#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 Puniversal_date_;
  D Puniversal_time_;
  D date_year_;
  D date_month_;
  D date_day_;
  D date_hours_;
  D date_minutes_;
  D date_seconds_;
  D date_microseconds_;
  D date_time_zone_offset_;
} _KLdateGYdateVsystem;

typedef struct {
  D wrapper;
} _KLnumberGVKd;

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

typedef struct {
  D wrapper;
  D signature_properties_;
  D signature_required_;
  D signature_rest_value_;
} _KLsignatureArest_valueGVKi;

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

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

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

typedef struct {
  D wrapper;
  D signature_properties_;
  D signature_required_;
  D signature_keys_;
  D signature_key_types_;
} _KLkeyword_signatureGVKe;


/* Typedefs for defined classes */

typedef struct {
  D wrapper;
  D Pduration_months_;
  D Pduration_days_;
  D Pduration_seconds_;
  D Pduration_microseconds_;
} _KLdurationGYdateVsystem;

typedef struct {
  D wrapper;
  D dae_year_;
  D dae_month_;
  D dae_day_;
} _KLdate_arithmetic_errorGYdateVsystem;

typedef struct {
  D wrapper;
  D dae_year_;
  D dae_month_;
  D dae_day_;
} _KLdate_arithmetic_error_restartGYdateVsystem;

typedef struct {
  D wrapper;
  D dae_year_;
  D dae_month_;
  D dae_day_;
} _KLdate_arithmetic_use_last_valid_dayGYdateVsystem;

typedef struct {
  D wrapper;
  D dae_year_;
  D dae_month_;
  D dae_day_;
} _KLdate_arithmetic_invalid_dayGYdateVsystem;

typedef struct {
  D wrapper;
  D Pduration_months_;
  D Pduration_days_;
  D Pduration_seconds_;
  D Pduration_microseconds_;
} _KLdayStime_durationGYdateVsystem;

typedef struct {
  D wrapper;
  D Pduration_months_;
  D Pduration_days_;
  D Pduration_seconds_;
  D Pduration_microseconds_;
} _KLyearSmonth_durationGYdateVsystem;


/* Referenced object declarations */

D KPadd_classVKeI (D);
D KPadd_nonsiblinged_domainVKnI (D, D);
extern _KLincremental_generic_functionGVKe KEVKd;
extern _KLfunction_classGVKi KLincremental_generic_functionGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLclassGVKd KLclassGVKd;
extern _KLmm_wrapperGVKi_0 KLclassGVKdW;
extern _KLclassGVKd KLmm_wrapperGVKi;
extern _KLmm_wrapperGVKi_1 KLmm_wrapperGVKiW;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
extern _KLincremental_generic_functionGVKe KLVKd;
extern _KLincremental_generic_functionGVKe KAVKd;
extern _KLincremental_generic_functionGVKe K_VKd;
extern _KLincremental_generic_functionGVKe KTVKd;
extern _KLincremental_generic_functionGVKe KSVKd;
D KPadd_a_methodVKnI (D, D, D, D, D, D);
extern _KLincremental_generic_functionGVKe KmakeVKd;
extern _KLlibraryGVKe Ksystem_libraryYdylan_userVsystem;
extern _KLclassGVKd KLlibraryGVKe;
extern _KLmm_wrapperGVKi_0 KLlibraryGVKeW;
extern _KLbooleanGVKd KPfalseVKi;
extern _KLclassGVKd KLbooleanGVKd;
extern _KLmm_wrapperGVKi_0 KLbooleanGVKdW;
extern _KLbooleanGVKd KPtrueVKi;
extern _KLclassGVKd KLobjectGVKd;
extern _KLmm_wrapperGVKi_0 KLobjectGVKdW;
extern _KLunboundGVKe KPunboundVKi;
extern _KLclassGVKd KLunboundGVKe;
extern _KLmm_wrapperGVKi_0 KLunboundGVKeW;
extern _KLsealed_generic_functionGVKe KroundSVKd;
extern _KLclassGVKd KLsealed_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLsealed_generic_functionGVKeW;
extern _KLobject_signatureGVKe KDsignature_LobjectG_object_rest_value_1VKi;
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 _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLclassGVKd KLsignatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLsignatureAvaluesGVKiW;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLclassGVKd KLrealGVKd;
extern _KLmm_wrapperGVKi_0 KLrealGVKdW;
extern _KLsealed_generic_functionGVKe KroundVKd;
D Kclone_dateYsystem_internalsVsystemI (D);
D Kdays_in_monthYsystem_internalsVsystemI (D, D);
extern _KLsymbolGVKd KJtype_;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLsymbolGVKd KJfunction_;
extern _KLsymbolGVKd KJtest_;
extern _KLsymbolGVKd KJinit_arguments_;
D KLhandlerGZ32ZconstructorVKiMM0I (D, D, D, D, D, D);
extern _KLclassGVKd KLhandlerGVKi;
extern _KLmm_wrapperGVKi_0 KLhandlerGVKiW;
extern _KLmm_wrapperGVKi_0 KLpairGVKdW;
D KsignalVKdMM0I (D, D);
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
extern _KLclassGVKd KLimplementation_classGVKe;
extern _KLmm_wrapperGVKi_0 KLimplementation_classGVKeW;
extern _KLclassGVKd KLinit_arg_descriptorGVKe;
extern _KLmm_wrapperGVKi_0 KLinit_arg_descriptorGVKeW;
extern _KLclassGVKd KLconditionGVKd;
extern _KLmm_wrapperGVKi_0 KLconditionGVKdW;
extern _KLclassGVKd KLserious_conditionGVKd;
extern _KLmm_wrapperGVKi_0 KLserious_conditionGVKdW;
extern _KLclassGVKd KLerrorGVKd;
extern _KLmm_wrapperGVKi_0 KLerrorGVKdW;
D KerrorVKdMM1I (D, D);
extern _KLclassGVKd KLintegerGVKd;
extern _KLmm_wrapperGVKi_0 KLintegerGVKdW;
extern _KLincremental_generic_functionGVKe KinitializeVKd;
extern _KLfunction_classGVKi KLkeyword_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_methodGVKeW;
extern _KLclassGVKd KLkeyword_signatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureAvaluesGVKiW;
extern _KLsimple_object_vectorGVKd_2 KDsignature_LclassG_typesVKi;
extern _KLsimple_object_vectorGVKd_256 KDsignature_LobjectG_typesVKi;
extern _KLclassGVKd KLinstance_slot_descriptorGVKe;
extern _KLmm_wrapperGVKi_0 KLinstance_slot_descriptorGVKeW;
extern _KLclassGVKd KLpairGVKd;
extern _KLclassGVKd KLgetter_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLgetter_methodGVKiW;
D Kclass_instanceQ_initialVKiI (D, D);
extern _KLmoduleGVKe Kdate_moduleYdylan_userVsystem;
extern _KLclassGVKd KLmoduleGVKe;
extern _KLmm_wrapperGVKi_0 KLmoduleGVKeW;
extern _KLclassGVKd KLrestartGVKd;
extern _KLmm_wrapperGVKi_0 KLrestartGVKdW;
extern _KLfunction_classGVKi KLsimple_closure_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLsimple_closure_methodGVKiW;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
extern _KLclassGVKd KLdateGYdateVsystem;
extern _KLmm_wrapperGVKi_0 KLdateGYdateVsystemW;
D Kdate_universal_dateYsystem_internalsVsystemMM0I (D);
D Kdate_universal_timeYsystem_internalsVsystemMM0I (D);
extern _KLclassGVKd KLnumberGVKd;
extern _KLmm_wrapperGVKi_0 KLnumberGVKdW;
extern _KLobject_signatureGVKe KDsignature_LobjectG_object_rest_value_2VKi;
extern _KLclassGVKd KLsetter_methodGVKi;
extern _KLmm_wrapperGVKi_0 KLsetter_methodGVKiW;
extern _KLsimple_object_vectorGVKd_16 KDsignature_LbooleanG_typesVKi;
extern _KLclassGVKd KLsignatureArest_valueGVKi;
extern _KLmm_wrapperGVKi_0 KLsignatureArest_valueGVKiW;
extern _KLsimple_object_vectorGVKd_16 KDsignature_LintegerG_typesVKi;
extern _KLkeyword_methodGVKe Kdefault_class_constructorVKi;
D Kclass_instanceQ_rcpl_single_largeVKiI (D, D);
D Kgeneral_rcpl_class_instanceQVKiI (D, D);
extern _KLclassGVKd KLunionGVKe;
extern _KLmm_wrapperGVKi_0 KLunionGVKeW;
D Kunion_instanceQVKiI (D, D);
extern _KLclassGVKd KLsingletonGVKd;
extern _KLmm_wrapperGVKi_0 KLsingletonGVKdW;
D Ksingleton_pointer_idQ_instanceQVKiI (D, D);
extern _KLclassGVKd KLstandalone_domainGVKe;
extern _KLmm_wrapperGVKi_0 KLstandalone_domainGVKeW;
D Kclass_instanceQ_rcpl_single_smallVKiI (D, D);
extern _KLincremental_generic_functionGVKe Kreturn_descriptionVKd;
extern _KLincremental_generic_functionGVKe Kcondition_to_stringYcommon_extensionsVcommon_dylan;
extern _KLincremental_generic_functionGVKe Kreturn_allowedQVKd;
extern _KLclassGVKd KLkeyword_signatureGVKe;
extern _KLmm_wrapperGVKi_0 KLkeyword_signatureGVKeW;
D KelementVKdMM11I (D, D, D, D);
extern _KLsealed_generic_functionGVKe Kunsupplied_objectVKi;
D Kformat_to_stringYformatVioMM0I (D, D);
extern _KLsimple_object_vectorGVKd_2 KDsignature_LstringG_typesVKi;
extern D Tcurrent_handlersTVKi;
extern D Dmonth_namesYsystem_internalsVsystem;

/* Defined object declarations */

extern _KLclassGVKd KLdurationGYdateVsystem;
extern _KLmm_wrapperGVKi_0 KLdurationGYdateVsystemW;
extern _KLstandalone_domainGVKe_2 KEVKdRD_systemRD_10;
extern _KLstandalone_domainGVKe_2 KLVKdRD_systemRD_2;
extern _KLstandalone_domainGVKe_2 KAVKdRD_systemRD_6;
extern _KLstandalone_domainGVKe_2 KAVKdRD_systemRD_5;
extern _KLstandalone_domainGVKe_2 KAVKdRD_systemRD_4;
extern _KLstandalone_domainGVKe_2 K_VKdRD_systemRD_6;
extern _KLstandalone_domainGVKe_2 K_VKdRD_systemRD_5;
extern _KLstandalone_domainGVKe_2 K_VKdRD_systemRD_4;
extern _KLstandalone_domainGVKe_2 KTVKdRD_systemRD_3;
extern _KLstandalone_domainGVKe_2 KTVKdRD_systemRD_2;
extern _KLstandalone_domainGVKe_2 KSVKdRD_systemRD_1;
extern _KLkeyword_methodGVKe KmakeVKdMsystemM1;
D KmakeVKdMsystemM1I (D, D, D, D, D, D, D, D, D);
extern _KLclassGVKd KLdate_arithmetic_errorGYdateVsystem;
extern _KLmm_wrapperGVKi_0 KLdate_arithmetic_errorGYdateVsystemW;
extern _KLclassGVKd KLdate_arithmetic_error_restartGYdateVsystem;
extern _KLmm_wrapperGVKi_0 KLdate_arithmetic_error_restartGYdateVsystemW;
extern _KLsimple_methodGVKe KEVKdMsystemM1;
D KEVKdMsystemM1I (D, D);
extern _KLsimple_methodGVKe KAVKdMsystemM0;
D KAVKdMsystemM0I (D, D);
extern _KLsimple_methodGVKe KAVKdMsystemM1;
D KAVKdMsystemM1I (D, D);
extern _KLsimple_methodGVKe K_VKdMsystemM0;
D K_VKdMsystemM0I (D, D);
extern _KLsimple_methodGVKe K_VKdMsystemM1;
D K_VKdMsystemM1I (D, D);
extern _KLsimple_methodGVKe KTVKdMsystemM0;
D KTVKdMsystemM0I (D, D);
extern _KLsimple_methodGVKe KTVKdMsystemM1;
D KTVKdMsystemM1I (D, D);
extern _KLsimple_methodGVKe KSVKdMsystemM0;
D KSVKdMsystemM0I (D, D);
extern _KLsealed_generic_functionGVKe Kclone_durationYsystem_internalsVsystem;
static _KLbyte_stringGVKd_14 K59;
static _KLsignatureAvaluesGVKi K60;
static _KLsimple_object_vectorGVKd_2 K61;
static _KLsimple_object_vectorGVKd_1 K62;
static _KLsignatureAvaluesGVKi K63;
static _KLsimple_object_vectorGVKd_2 K64;
static _KLsimple_closure_methodGVKi_0 KUhandler_functionUF114;
static D KUhandler_functionUF114I (D, D);
static _KLsymbolGVKd KJyear_;
static _KLsymbolGVKd KJmonth_;
extern _KLclassGVKd KLdate_arithmetic_use_last_valid_dayGYdateVsystem;
extern _KLmm_wrapperGVKi_0 KLdate_arithmetic_use_last_valid_dayGYdateVsystemW;
static _KLsymbolGVKd KJday_;
extern _KLclassGVKd KLdate_arithmetic_invalid_dayGYdateVsystem;
extern _KLmm_wrapperGVKi_0 KLdate_arithmetic_invalid_dayGYdateVsystemW;
static _KLimplementation_classGVKe K74;
static _KLsimple_object_vectorGVKd_3 K75;
extern _KLkeyword_methodGVKe KLdate_arithmetic_invalid_dayGZ32ZconstructorYsystem_internalsVsystemMM0;
D KLdate_arithmetic_invalid_dayGZ32ZconstructorYsystem_internalsVsystemMM0I (D, D, D, D, D);
static _KLsimple_object_vectorGVKd_1 K78;
static _KLsimple_object_vectorGVKd_6 K79;
static _KLsimple_object_vectorGVKd_1 K80;
static _KLinit_arg_descriptorGVKe KdayHLdate_arithmetic_invalid_dayGYdateVsystem;
static _KLbyte_stringGVKd_23 K82;
static _KLkeyword_signatureAvaluesGVKi K83;
static _KLsimple_object_vectorGVKd_6 K84;
static _KLsimple_object_vectorGVKd_3 K85;
static _KLsimple_object_vectorGVKd_1 K86;
extern _KLinstance_slot_descriptorGVKe Kdae_yearYsystem_internalsVsystemHLdate_arithmetic_errorG;
extern _KLinstance_slot_descriptorGVKe Kdae_monthYsystem_internalsVsystemHLdate_arithmetic_errorG;
extern _KLinstance_slot_descriptorGVKe Kdae_dayYsystem_internalsVsystemHLdate_arithmetic_errorG;
extern _KLsealed_generic_functionGVKe Kdae_dayYsystem_internalsVsystem;
extern _KLgetter_methodGVKi Kdae_dayYsystem_internalsVsystemMM0;
static _KLpairGVKd K92;
static _KLbyte_stringGVKd_7 K93;
extern _KLsealed_generic_functionGVKe Kdae_monthYsystem_internalsVsystem;
extern _KLgetter_methodGVKi Kdae_monthYsystem_internalsVsystemMM0;
static _KLpairGVKd K96;
static _KLbyte_stringGVKd_9 K97;
extern _KLsealed_generic_functionGVKe Kdae_yearYsystem_internalsVsystem;
extern _KLgetter_methodGVKi Kdae_yearYsystem_internalsVsystemMM0;
static _KLpairGVKd K100;
static _KLbyte_stringGVKd_8 K101;
static _KLbyte_stringGVKd_29 K102;
static _KLbyte_stringGVKd_3 K103;
static _KLimplementation_classGVKe K104;
extern _KLkeyword_methodGVKe KLdate_arithmetic_use_last_valid_dayGZ32ZconstructorYsystem_internalsVsystemMM0;
D KLdate_arithmetic_use_last_valid_dayGZ32ZconstructorYsystem_internalsVsystemMM0I (D, D, D, D, D);
static _KLsimple_object_vectorGVKd_1 K107;
static _KLsimple_object_vectorGVKd_8 K108;
static _KLkeyword_signatureAvaluesGVKi K109;
static _KLsimple_object_vectorGVKd_1 K110;
static _KLbyte_stringGVKd_36 K111;
static _KLbyte_stringGVKd_5 K112;
static _KLbyte_stringGVKd_4 K113;
static _KLsignatureGVKe K115;
static _KLsimple_object_vectorGVKd_2 K116;
static _KLsignatureAvaluesGVKi K117;
static _KLsimple_object_vectorGVKd_2 K118;
static _KLsimple_object_vectorGVKd_1 K119;
static _KLsymbolGVKd KJdays_;
static _KLsymbolGVKd KJseconds_;
static _KLsymbolGVKd KJmicroseconds_;
extern _KLclassGVKd KLdayStime_durationGYdateVsystem;
extern _KLmm_wrapperGVKi_0 KLdayStime_durationGYdateVsystemW;
static _KLimplementation_classGVKe K125;
static _KLsimple_object_vectorGVKd_4 K126;
extern _KLkeyword_methodGVKe KLdayStime_durationGZ32ZconstructorYsystem_internalsVsystemMM0;
D KLdayStime_durationGZ32ZconstructorYsystem_internalsVsystemMM0I (D, D);
static _KLsimple_object_vectorGVKd_6 K129;
static _KLkeyword_signatureAvaluesGVKi K130;
static _KLsimple_object_vectorGVKd_1 K131;
extern _KLinstance_slot_descriptorGVKe KPduration_monthsYsystem_internalsVsystemHLdurationG;
extern _KLinstance_slot_descriptorGVKe KPduration_daysYsystem_internalsVsystemHLdurationG;
extern _KLinstance_slot_descriptorGVKe KPduration_secondsYsystem_internalsVsystemHLdurationG;
extern _KLinstance_slot_descriptorGVKe KPduration_microsecondsYsystem_internalsVsystemHLdurationG;
extern _KLsealed_generic_functionGVKe KPduration_microsecondsYsystem_internalsVsystem;
extern _KLsealed_generic_functionGVKe KPduration_microseconds_setterYsystem_internalsVsystem;
extern _KLsetter_methodGVKi KPduration_microseconds_setterYsystem_internalsVsystemMM0;
static _KLpairGVKd K139;
static _KLbyte_stringGVKd_29 K140;
extern _KLgetter_methodGVKi KPduration_microsecondsYsystem_internalsVsystemMM0;
static _KLpairGVKd K142;
static _KLbyte_stringGVKd_22 K143;
extern _KLsealed_generic_functionGVKe KPduration_secondsYsystem_internalsVsystem;
extern _KLsealed_generic_functionGVKe KPduration_seconds_setterYsystem_internalsVsystem;
extern _KLsetter_methodGVKi KPduration_seconds_setterYsystem_internalsVsystemMM0;
static _KLpairGVKd K147;
static _KLbyte_stringGVKd_24 K148;
extern _KLgetter_methodGVKi KPduration_secondsYsystem_internalsVsystemMM0;
static _KLpairGVKd K150;
static _KLbyte_stringGVKd_17 K151;
extern _KLsealed_generic_functionGVKe KPduration_daysYsystem_internalsVsystem;
extern _KLsealed_generic_functionGVKe KPduration_days_setterYsystem_internalsVsystem;
extern _KLsetter_methodGVKi KPduration_days_setterYsystem_internalsVsystemMM0;
static _KLpairGVKd K155;
static _KLbyte_stringGVKd_21 K156;
extern _KLgetter_methodGVKi KPduration_daysYsystem_internalsVsystemMM0;
static _KLpairGVKd K158;
static _KLbyte_stringGVKd_14 K159;
extern _KLsealed_generic_functionGVKe KPduration_monthsYsystem_internalsVsystem;
extern _KLsealed_generic_functionGVKe KPduration_months_setterYsystem_internalsVsystem;
extern _KLsetter_methodGVKi KPduration_months_setterYsystem_internalsVsystemMM0;
static _KLpairGVKd K163;
static _KLbyte_stringGVKd_23 K164;
extern _KLgetter_methodGVKi KPduration_monthsYsystem_internalsVsystemMM0;
static _KLpairGVKd K166;
static _KLbyte_stringGVKd_16 K167;
static _KLbyte_stringGVKd_19 K168;
static _KLbyte_stringGVKd_12 K169;
static _KLbyte_stringGVKd_7 K170;
static _KLbyte_stringGVKd_4 K171;
static _KLsignatureAvaluesGVKi K172;
static _KLsimple_object_vectorGVKd_2 K173;
static _KLsimple_closure_methodGVKi_0 KUhandler_functionUF176;
static D KUhandler_functionUF176I (D, D);
static _KLsignatureAvaluesGVKi K177;
static _KLsimple_object_vectorGVKd_2 K178;
static _KLsimple_closure_methodGVKi_0 KUhandler_functionUF181;
static D KUhandler_functionUF181I (D, D);
static _KLsignatureAvaluesGVKi K182;
static _KLsimple_object_vectorGVKd_2 K183;
extern _KLsealed_generic_functionGVKe Kdecode_durationYdateVsystem;
extern _KLsimple_methodGVKe Kdecode_durationYdateVsystemMM0;
D Kdecode_durationYdateVsystemMM0I (D);
extern _KLsimple_methodGVKe Kdecode_durationYdateVsystemMM1;
D Kdecode_durationYdateVsystemMM1I (D);
static _KLpairGVKd K189;
static _KLpairGVKd K190;
static _KLsignatureArest_valueGVKi K191;
static _KLbyte_stringGVKd_15 K192;
static _KLsignatureAvaluesGVKi K193;
static _KLsignatureAvaluesGVKi K194;
static _KLsimple_object_vectorGVKd_1 K195;
extern _KLclassGVKd KLyearSmonth_durationGYdateVsystem;
extern _KLmm_wrapperGVKi_0 KLyearSmonth_durationGYdateVsystemW;
static _KLimplementation_classGVKe K198;
extern _KLkeyword_methodGVKe KLyearSmonth_durationGZ32ZconstructorYsystem_internalsVsystemMM0;
D KLyearSmonth_durationGZ32ZconstructorYsystem_internalsVsystemMM0I (D, D);
static _KLsimple_object_vectorGVKd_6 K201;
static _KLkeyword_signatureAvaluesGVKi K202;
static _KLbyte_stringGVKd_21 K203;
extern _KLsimple_methodGVKe Kencode_dayStime_durationYdateVsystem;
D Kencode_dayStime_durationYdateVsystemI (D days_, D hours_, D minutes_, D seconds_, D microseconds_);
static _KLsymbolGVKd KJhours_;
static _KLsymbolGVKd KJminutes_;
static _KLbyte_stringGVKd_7 K208;
static _KLbyte_stringGVKd_5 K209;
static _KLsignatureAvaluesGVKi K210;
extern _KLsimple_methodGVKe Kencode_yearSmonth_durationYdateVsystem;
D Kencode_yearSmonth_durationYdateVsystemI (D years_, D months_);
static _KLsymbolGVKd KJyears_;
static _KLsymbolGVKd KJmonths_;
static _KLbyte_stringGVKd_6 K215;
static _KLbyte_stringGVKd_5 K216;
static _KLsignatureAvaluesGVKi K217;
static _KLimplementation_classGVKe K218;
static _KLsimple_object_vectorGVKd_2 K219;
static _KLsimple_object_vectorGVKd_7 K220;
static _KLbyte_stringGVKd_31 K221;
static _KLimplementation_classGVKe K222;
static _KLsimple_object_vectorGVKd_1 K223;
static _KLsimple_object_vectorGVKd_6 K224;
static _KLsimple_object_vectorGVKd_1 K225;
static _KLsimple_object_vectorGVKd_1 K226;
static _KLbyte_stringGVKd_23 K227;
static _KLunionGVKe K228;
static _KLbyte_stringGVKd_76 K229;
static _KLbyte_stringGVKd_83 K230;
static _KLsingletonGVKd K231;
static _KLkeyword_signatureAvaluesGVKi K232;
static _KLsimple_object_vectorGVKd_14 K233;
static _KLsimple_object_vectorGVKd_1 K234;
static _KLsimple_object_vectorGVKd_7 K235;
static _KLsimple_object_vectorGVKd_7 K236;
static _KLsingletonGVKd K237;
static _KLimplementation_classGVKe K238;
static _KLsimple_object_vectorGVKd_1 K239;
static _KLsimple_object_vectorGVKd_6 K240;
static _KLbyte_stringGVKd_10 K241;
extern _KLsimple_methodGVKe K_VKdMsystemM3;
D K_VKdMsystemM3I (D, D);
extern _KLsimple_methodGVKe K_VKdMsystemM2;
D K_VKdMsystemM2I (D, D);
extern _KLsimple_methodGVKe KAVKdMsystemM3;
D KAVKdMsystemM3I (D, D);
extern _KLsimple_methodGVKe KAVKdMsystemM2;
D KAVKdMsystemM2I (D, D);
extern _KLsimple_methodGVKe KLVKdMsystemM2;
D KLVKdMsystemM2I (D, D);
extern _KLsimple_methodGVKe KLVKdMsystemM1;
D KLVKdMsystemM1I (D, D);
extern _KLsimple_methodGVKe Kreturn_descriptionVKdMsystemM0;
D Kreturn_descriptionVKdMsystemM0I (D);
extern _KLsimple_methodGVKe Kcondition_to_stringYcommon_extensionsVcommon_dylanMsystemM1;
D Kcondition_to_stringYcommon_extensionsVcommon_dylanMsystemM1I (D);
extern _KLsimple_methodGVKe Kreturn_allowedQVKdMsystemM0;
D Kreturn_allowedQVKdMsystemM0I (D);
extern _KLsimple_methodGVKe Kcondition_to_stringYcommon_extensionsVcommon_dylanMsystemM0;
D Kcondition_to_stringYcommon_extensionsVcommon_dylanMsystemM0I (D);
extern _KLkeyword_methodGVKe KinitializeVKdMsystemM2;
D KinitializeVKdMsystemM2I (D, D, D, D, D, D, D);
extern _KLkeyword_methodGVKe KinitializeVKdMsystemM1;
D KinitializeVKdMsystemM1I (D, D, D, D);
extern _KLsimple_methodGVKe Kclone_durationYsystem_internalsVsystemMM0;
D Kclone_durationYsystem_internalsVsystemMM0I (D duration_);
extern _KLsimple_methodGVKe Kclone_durationYsystem_internalsVsystemMM1;
D Kclone_durationYsystem_internalsVsystemMM1I (D duration_);
static _KLpairGVKd K282;
static _KLpairGVKd K283;
static _KLsignatureAvaluesGVKi K284;
static _KLsignatureAvaluesGVKi K285;
static _KLkeyword_signatureGVKe K286;
static _KLsimple_object_vectorGVKd_4 K287;
static _KLsimple_object_vectorGVKd_2 K288;
static _KLkeyword_signatureGVKe K289;
static _KLsimple_object_vectorGVKd_10 K290;
static _KLsimple_object_vectorGVKd_5 K291;
static _KLbyte_stringGVKd_28 K292;
static _KLsignatureAvaluesGVKi K293;
static _KLsignatureAvaluesGVKi K294;
static _KLbyte_stringGVKd_13 K295;
static _KLsignatureAvaluesGVKi K296;
static _KLsignatureAvaluesGVKi K297;
static _KLsignatureAvaluesGVKi K298;
static _KLsimple_object_vectorGVKd_2 K299;
static _KLsignatureAvaluesGVKi K300;
static _KLsimple_object_vectorGVKd_2 K301;
static _KLsignatureAvaluesGVKi K302;
static _KLsignatureAvaluesGVKi K303;
static _KLpairGVKd K304;
static _KLpairGVKd K305;
static _KLpairGVKd K306;
static _KLpairGVKd K307;
static _KLpairGVKd K308;

/* Indirection variables */

static D IKJyear_ = &KJyear_;
static D IKJmonth_ = &KJmonth_;
static D IKJday_ = &KJday_;
static D IKJdays_ = &KJdays_;
static D IKJseconds_ = &KJseconds_;
static D IKJmicroseconds_ = &KJmicroseconds_;
static D IKJhours_ = &KJhours_;
static D IKJminutes_ = &KJminutes_;
static D IKJyears_ = &KJyears_;
static D IKJmonths_ = &KJmonths_;

/* Variables */

D LdurationGYdateVsystem = &KLdurationGYdateVsystem;
D LyearSmonth_durationGYdateVsystem = &KLyearSmonth_durationGYdateVsystem;
D LdayStime_durationGYdateVsystem = &KLdayStime_durationGYdateVsystem;
D Ldate_arithmetic_errorGYdateVsystem = &KLdate_arithmetic_errorGYdateVsystem;
D Ldate_arithmetic_error_restartGYdateVsystem = &KLdate_arithmetic_error_restartGYdateVsystem;
D Ldate_arithmetic_invalid_dayGYdateVsystem = &KLdate_arithmetic_invalid_dayGYdateVsystem;
D Ldate_arithmetic_use_last_valid_dayGYdateVsystem = &KLdate_arithmetic_use_last_valid_dayGYdateVsystem;
D encode_yearSmonth_durationYdateVsystem = &Kencode_yearSmonth_durationYdateVsystem;
D encode_dayStime_durationYdateVsystem = &Kencode_dayStime_durationYdateVsystem;
D decode_durationYdateVsystem = &Kdecode_durationYdateVsystem;

/* Objects */

_KLclassGVKd KLdurationGYdateVsystem = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_rcpl_single_smallVKiI,
  &K241,
  &K238,
  (D) 1,
  &Kdate_moduleYdylan_userVsystem
};

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

_KLstandalone_domainGVKe_2 KEVKdRD_systemRD_10 = {
  &KLstandalone_domainGVKeW /* wrapper */,
  &Ksystem_libraryYdylan_userVsystem,
  &KPfalseVKi,
  (D) 9,
  &KLdurationGYdateVsystem,
  &KLdurationGYdateVsystem
};

_KLstandalone_domainGVKe_2 KLVKdRD_systemRD_2 = {
  &KLstandalone_domainGVKeW /* wrapper */,
  &Ksystem_libraryYdylan_userVsystem,
  &KPfalseVKi,
  (D) 9,
  &KLdurationGYdateVsystem,
  &KLdurationGYdateVsystem
};

_KLstandalone_domainGVKe_2 KAVKdRD_systemRD_6 = {
  &KLstandalone_domainGVKeW /* wrapper */,
  &Ksystem_libraryYdylan_userVsystem,
  &KPfalseVKi,
  (D) 9,
  &KLdurationGYdateVsystem,
  &KLdurationGYdateVsystem
};

_KLstandalone_domainGVKe_2 KAVKdRD_systemRD_5 = {
  &KLstandalone_domainGVKeW /* wrapper */,
  &Ksystem_libraryYdylan_userVsystem,
  &KPfalseVKi,
  (D) 9,
  &KLdateGYdateVsystem,
  &KLdurationGYdateVsystem
};

_KLstandalone_domainGVKe_2 KAVKdRD_systemRD_4 = {
  &KLstandalone_domainGVKeW /* wrapper */,
  &Ksystem_libraryYdylan_userVsystem,
  &KPfalseVKi,
  (D) 9,
  &KLdurationGYdateVsystem,
  &KLdateGYdateVsystem
};

_KLstandalone_domainGVKe_2 K_VKdRD_systemRD_6 = {
  &KLstandalone_domainGVKeW /* wrapper */,
  &Ksystem_libraryYdylan_userVsystem,
  &KPfalseVKi,
  (D) 9,
  &KLdurationGYdateVsystem,
  &KLdurationGYdateVsystem
};

_KLstandalone_domainGVKe_2 K_VKdRD_systemRD_5 = {
  &KLstandalone_domainGVKeW /* wrapper */,
  &Ksystem_libraryYdylan_userVsystem,
  &KPfalseVKi,
  (D) 9,
  &KLdateGYdateVsystem,
  &KLdateGYdateVsystem
};

_KLstandalone_domainGVKe_2 K_VKdRD_systemRD_4 = {
  &KLstandalone_domainGVKeW /* wrapper */,
  &Ksystem_libraryYdylan_userVsystem,
  &KPfalseVKi,
  (D) 9,
  &KLdateGYdateVsystem,
  &KLdurationGYdateVsystem
};

_KLstandalone_domainGVKe_2 KTVKdRD_systemRD_3 = {
  &KLstandalone_domainGVKeW /* wrapper */,
  &Ksystem_libraryYdylan_userVsystem,
  &KPfalseVKi,
  (D) 9,
  &KLdurationGYdateVsystem,
  &KLrealGVKd
};

_KLstandalone_domainGVKe_2 KTVKdRD_systemRD_2 = {
  &KLstandalone_domainGVKeW /* wrapper */,
  &Ksystem_libraryYdylan_userVsystem,
  &KPfalseVKi,
  (D) 9,
  &KLrealGVKd,
  &KLdurationGYdateVsystem
};

_KLstandalone_domainGVKe_2 KSVKdRD_systemRD_1 = {
  &KLstandalone_domainGVKeW /* wrapper */,
  &Ksystem_libraryYdylan_userVsystem,
  &KPfalseVKi,
  (D) 9,
  &KLdurationGYdateVsystem,
  &KLrealGVKd
};

_KLkeyword_methodGVKe KmakeVKdMsystemM1 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_9,
  &K232,
  &key_mep_9,
  &KmakeVKdMsystemM1I,
  &K233
};

_KLclassGVKd KLdate_arithmetic_errorGYdateVsystem = {
  &KLclassGVKdW /* wrapper */,
  &Kgeneral_rcpl_class_instanceQVKiI,
  &K227,
  &K222,
  (D) 1,
  &Kdate_moduleYdylan_userVsystem
};

_KLmm_wrapperGVKi_0 KLdate_arithmetic_errorGYdateVsystemW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K222,
  (D) 2049,
  13,
  33554439,
  (D) 1
};

_KLclassGVKd KLdate_arithmetic_error_restartGYdateVsystem = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_rcpl_single_largeVKiI,
  &K221,
  &K218,
  (D) 1,
  &Kdate_moduleYdylan_userVsystem
};

_KLmm_wrapperGVKi_0 KLdate_arithmetic_error_restartGYdateVsystemW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K218,
  (D) 2049,
  13,
  33554439,
  (D) 1
};

_KLsimple_methodGVKe KEVKdMsystemM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K182,
  &KEVKdMsystemM1I
};

_KLsimple_methodGVKe KAVKdMsystemM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K117,
  &KAVKdMsystemM0I
};

_KLsimple_methodGVKe KAVKdMsystemM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K177,
  &KAVKdMsystemM1I
};

_KLsimple_methodGVKe K_VKdMsystemM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K172,
  &K_VKdMsystemM0I
};

_KLsimple_methodGVKe K_VKdMsystemM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K117,
  &K_VKdMsystemM1I
};

_KLsimple_methodGVKe KTVKdMsystemM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K60,
  &KTVKdMsystemM0I
};

_KLsimple_methodGVKe KTVKdMsystemM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K63,
  &KTVKdMsystemM1I
};

_KLsimple_methodGVKe KSVKdMsystemM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K60,
  &KSVKdMsystemM0I
};

_KLsealed_generic_functionGVKe Kclone_durationYsystem_internalsVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  (D) 1,
  &K59,
  &K282,
  &RSINGULAR_Labsent_engine_nodeG
};

static _KLbyte_stringGVKd_14 K59 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 57,
  "clone-duration"
};

static _KLsignatureAvaluesGVKi K60 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K61,
  &K62
};

static _KLsimple_object_vectorGVKd_2 K61 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLdurationGYdateVsystem,
  &KLrealGVKd
};

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

static _KLsignatureAvaluesGVKi K63 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K64,
  &K62
};

static _KLsimple_object_vectorGVKd_2 K64 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLrealGVKd,
  &KLdurationGYdateVsystem
};

static _KLsimple_closure_methodGVKi_0 KUhandler_functionUF114 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_2,
  &K115,
  &KUhandler_functionUF114I,
  (D) 1
};

static _KLsymbolGVKd KJyear_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K113
};

static _KLsymbolGVKd KJmonth_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K112
};

_KLclassGVKd KLdate_arithmetic_use_last_valid_dayGYdateVsystem = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K111,
  &K104,
  (D) 1,
  &Kdate_moduleYdylan_userVsystem
};

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

static _KLsymbolGVKd KJday_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K103
};

_KLclassGVKd KLdate_arithmetic_invalid_dayGYdateVsystem = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K102,
  &K74,
  (D) 1,
  &Kdate_moduleYdylan_userVsystem
};

_KLmm_wrapperGVKi_0 KLdate_arithmetic_invalid_dayGYdateVsystemW = {
  &KLmm_wrapperGVKiW /* wrapper */,
  &K74,
  (D) 2049,
  13,
  33554439,
  (D) 1
};

static _KLimplementation_classGVKe K74 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 527433741,
  &KLdate_arithmetic_invalid_dayGYdateVsystem,
  &KLdate_arithmetic_invalid_dayGYdateVsystemW,
  &KPfalseVKi,
  &K75,
  (D) -3,
  &KLdate_arithmetic_invalid_dayGZ32ZconstructorYsystem_internalsVsystemMM0,
  &K78,
  &K79,
  (D) 21,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K75,
  &KPempty_vectorVKi,
  &K80,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_3 K75 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &Kdae_yearYsystem_internalsVsystemHLdate_arithmetic_errorG,
  &Kdae_monthYsystem_internalsVsystemHLdate_arithmetic_errorG,
  &Kdae_dayYsystem_internalsVsystemHLdate_arithmetic_errorG
};

_KLkeyword_methodGVKe KLdate_arithmetic_invalid_dayGZ32ZconstructorYsystem_internalsVsystemMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K83,
  &key_mep_2,
  &KLdate_arithmetic_invalid_dayGZ32ZconstructorYsystem_internalsVsystemMM0I,
  &K84
};

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

static _KLsimple_object_vectorGVKd_6 K79 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 25,
  &KLobjectGVKd,
  &KLconditionGVKd,
  &KLserious_conditionGVKd,
  &KLerrorGVKd,
  &KLdate_arithmetic_errorGYdateVsystem,
  &KLdate_arithmetic_invalid_dayGYdateVsystem
};

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

static _KLinit_arg_descriptorGVKe KdayHLdate_arithmetic_invalid_dayGYdateVsystem = {
  &KLinit_arg_descriptorGVKeW /* wrapper */,
  (D) 65,
  &KPfalseVKi,
  &KLdate_arithmetic_invalid_dayGYdateVsystem,
  &KJday_,
  &KLobjectGVKd
};

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

static _KLkeyword_signatureAvaluesGVKi K83 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 35390469,
  &KDsignature_LclassG_typesVKi,
  &K85,
  &KDsignature_LobjectG_typesVKi,
  &K86
};

static _KLsimple_object_vectorGVKd_6 K84 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 25,
  &KJyear_,
  &KPunboundVKi,
  &KJmonth_,
  &KPunboundVKi,
  &KJday_,
  &KPunboundVKi
};

static _KLsimple_object_vectorGVKd_3 K85 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &KJyear_,
  &KJmonth_,
  &KJday_
};

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

_KLinstance_slot_descriptorGVKe Kdae_yearYsystem_internalsVsystemHLdate_arithmetic_errorG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 193,
  &KPfalseVKi,
  &KLdate_arithmetic_errorGYdateVsystem,
  &KJyear_,
  &Kdae_yearYsystem_internalsVsystem,
  &KPfalseVKi,
  &KLintegerGVKd
};

_KLinstance_slot_descriptorGVKe Kdae_monthYsystem_internalsVsystemHLdate_arithmetic_errorG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 193,
  &KPfalseVKi,
  &KLdate_arithmetic_errorGYdateVsystem,
  &KJmonth_,
  &Kdae_monthYsystem_internalsVsystem,
  &KPfalseVKi,
  &KLintegerGVKd
};

_KLinstance_slot_descriptorGVKe Kdae_dayYsystem_internalsVsystemHLdate_arithmetic_errorG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 129,
  &KPfalseVKi,
  &KLdate_arithmetic_errorGYdateVsystem,
  &KJday_,
  &Kdae_dayYsystem_internalsVsystem,
  &KPfalseVKi,
  &KLintegerGVKd
};

_KLsealed_generic_functionGVKe Kdae_dayYsystem_internalsVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K93,
  &K92,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLgetter_methodGVKi Kdae_dayYsystem_internalsVsystemMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kdae_dayYsystem_internalsVsystemHLdate_arithmetic_errorG
};

static _KLpairGVKd K92 = {
  &KLpairGVKdW /* wrapper */,
  &Kdae_dayYsystem_internalsVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_7 K93 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 29,
  "dae-day"
};

_KLsealed_generic_functionGVKe Kdae_monthYsystem_internalsVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K97,
  &K96,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLgetter_methodGVKi Kdae_monthYsystem_internalsVsystemMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kdae_monthYsystem_internalsVsystemHLdate_arithmetic_errorG
};

static _KLpairGVKd K96 = {
  &KLpairGVKdW /* wrapper */,
  &Kdae_monthYsystem_internalsVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_9 K97 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 37,
  "dae-month"
};

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

_KLgetter_methodGVKi Kdae_yearYsystem_internalsVsystemMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &Kdae_yearYsystem_internalsVsystemHLdate_arithmetic_errorG
};

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

static _KLbyte_stringGVKd_8 K101 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 33,
  "dae-year"
};

static _KLbyte_stringGVKd_29 K102 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 117,
  "<date-arithmetic-invalid-day>"
};

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

static _KLimplementation_classGVKe K104 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 527433741,
  &KLdate_arithmetic_use_last_valid_dayGYdateVsystem,
  &KLdate_arithmetic_use_last_valid_dayGYdateVsystemW,
  &KPfalseVKi,
  &K75,
  (D) -3,
  &KLdate_arithmetic_use_last_valid_dayGZ32ZconstructorYsystem_internalsVsystemMM0,
  &K107,
  &K108,
  (D) 29,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K75,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

_KLkeyword_methodGVKe KLdate_arithmetic_use_last_valid_dayGZ32ZconstructorYsystem_internalsVsystemMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_5,
  &K109,
  &key_mep_2,
  &KLdate_arithmetic_use_last_valid_dayGZ32ZconstructorYsystem_internalsVsystemMM0I,
  &K84
};

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

static _KLsimple_object_vectorGVKd_8 K108 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 33,
  &KLobjectGVKd,
  &KLconditionGVKd,
  &KLrestartGVKd,
  &KLserious_conditionGVKd,
  &KLerrorGVKd,
  &KLdate_arithmetic_errorGYdateVsystem,
  &KLdate_arithmetic_error_restartGYdateVsystem,
  &KLdate_arithmetic_use_last_valid_dayGYdateVsystem
};

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

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

static _KLbyte_stringGVKd_36 K111 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 145,
  "<date-arithmetic-use-last-valid-day>"
};

static _KLbyte_stringGVKd_5 K112 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 21,
  "month"
};

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

static _KLsignatureGVKe K115 = {
  &KLsignatureGVKeW /* wrapper */,
  (D) 44040201,
  &K116
};

static _KLsimple_object_vectorGVKd_2 K116 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLdate_arithmetic_use_last_valid_dayGYdateVsystem,
  &KLobjectGVKd
};

static _KLsignatureAvaluesGVKi K117 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K118,
  &K119
};

static _KLsimple_object_vectorGVKd_2 K118 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLdateGYdateVsystem,
  &KLdurationGYdateVsystem
};

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

static _KLsymbolGVKd KJdays_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K171
};

static _KLsymbolGVKd KJseconds_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K170
};

static _KLsymbolGVKd KJmicroseconds_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K169
};

_KLclassGVKd KLdayStime_durationGYdateVsystem = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K168,
  &K125,
  (D) 1,
  &Kdate_moduleYdylan_userVsystem
};

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

static _KLimplementation_classGVKe K125 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 527433745,
  &KLdayStime_durationGYdateVsystem,
  &KLdayStime_durationGYdateVsystemW,
  &KPfalseVKi,
  &K126,
  (D) -3,
  &KLdayStime_durationGZ32ZconstructorYsystem_internalsVsystemMM0,
  &K62,
  &K129,
  (D) 13,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K126,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_4 K126 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 17,
  &KPduration_monthsYsystem_internalsVsystemHLdurationG,
  &KPduration_daysYsystem_internalsVsystemHLdurationG,
  &KPduration_secondsYsystem_internalsVsystemHLdurationG,
  &KPduration_microsecondsYsystem_internalsVsystemHLdurationG
};

_KLkeyword_methodGVKe KLdayStime_durationGZ32ZconstructorYsystem_internalsVsystemMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_2,
  &K130,
  &key_mep_2,
  &KLdayStime_durationGZ32ZconstructorYsystem_internalsVsystemMM0I,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_6 K129 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 25,
  &KLobjectGVKd,
  &KLnumberGVKd,
  &KLdurationGYdateVsystem,
  &KLdayStime_durationGYdateVsystem,
  &KPfalseVKi,
  &KPfalseVKi
};

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

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

_KLinstance_slot_descriptorGVKe KPduration_monthsYsystem_internalsVsystemHLdurationG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 157,
  (D) 1,
  &KLdurationGYdateVsystem,
  &KPfalseVKi,
  &KPduration_monthsYsystem_internalsVsystem,
  &KPduration_months_setterYsystem_internalsVsystem,
  &KLintegerGVKd
};

_KLinstance_slot_descriptorGVKe KPduration_daysYsystem_internalsVsystemHLdurationG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 157,
  (D) 1,
  &KLdurationGYdateVsystem,
  &KPfalseVKi,
  &KPduration_daysYsystem_internalsVsystem,
  &KPduration_days_setterYsystem_internalsVsystem,
  &KLintegerGVKd
};

_KLinstance_slot_descriptorGVKe KPduration_secondsYsystem_internalsVsystemHLdurationG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 157,
  (D) 1,
  &KLdurationGYdateVsystem,
  &KPfalseVKi,
  &KPduration_secondsYsystem_internalsVsystem,
  &KPduration_seconds_setterYsystem_internalsVsystem,
  &KLintegerGVKd
};

_KLinstance_slot_descriptorGVKe KPduration_microsecondsYsystem_internalsVsystemHLdurationG = {
  &KLinstance_slot_descriptorGVKeW /* wrapper */,
  (D) 157,
  (D) 1,
  &KLdurationGYdateVsystem,
  &KPfalseVKi,
  &KPduration_microsecondsYsystem_internalsVsystem,
  &KPduration_microseconds_setterYsystem_internalsVsystem,
  &KLintegerGVKd
};

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

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

_KLsetter_methodGVKi KPduration_microseconds_setterYsystem_internalsVsystemMM0 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &KPduration_microsecondsYsystem_internalsVsystemHLdurationG
};

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

static _KLbyte_stringGVKd_29 K140 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 117,
  "%duration-microseconds-setter"
};

_KLgetter_methodGVKi KPduration_microsecondsYsystem_internalsVsystemMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &KPduration_microsecondsYsystem_internalsVsystemHLdurationG
};

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

static _KLbyte_stringGVKd_22 K143 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 89,
  "%duration-microseconds"
};

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

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

_KLsetter_methodGVKi KPduration_seconds_setterYsystem_internalsVsystemMM0 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &KPduration_secondsYsystem_internalsVsystemHLdurationG
};

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

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

_KLgetter_methodGVKi KPduration_secondsYsystem_internalsVsystemMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &KPduration_secondsYsystem_internalsVsystemHLdurationG
};

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

static _KLbyte_stringGVKd_17 K151 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 69,
  "%duration-seconds"
};

_KLsealed_generic_functionGVKe KPduration_daysYsystem_internalsVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K159,
  &K158,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsealed_generic_functionGVKe KPduration_days_setterYsystem_internalsVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &KDsignature_LobjectG_object_rest_value_2VKi,
  &KPfalseVKi,
  &K156,
  &K155,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsetter_methodGVKi KPduration_days_setterYsystem_internalsVsystemMM0 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &KPduration_daysYsystem_internalsVsystemHLdurationG
};

static _KLpairGVKd K155 = {
  &KLpairGVKdW /* wrapper */,
  &KPduration_days_setterYsystem_internalsVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_21 K156 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 85,
  "%duration-days-setter"
};

_KLgetter_methodGVKi KPduration_daysYsystem_internalsVsystemMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &KPduration_daysYsystem_internalsVsystemHLdurationG
};

static _KLpairGVKd K158 = {
  &KLpairGVKdW /* wrapper */,
  &KPduration_daysYsystem_internalsVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_14 K159 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 57,
  "%duration-days"
};

_KLsealed_generic_functionGVKe KPduration_monthsYsystem_internalsVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &KDsignature_LobjectG_object_rest_value_1VKi,
  &KPfalseVKi,
  &K167,
  &K166,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsealed_generic_functionGVKe KPduration_months_setterYsystem_internalsVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_2,
  &KDsignature_LobjectG_object_rest_value_2VKi,
  &KPfalseVKi,
  &K164,
  &K163,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsetter_methodGVKi KPduration_months_setterYsystem_internalsVsystemMM0 = {
  &KLsetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_setter_xep,
  &KPduration_monthsYsystem_internalsVsystemHLdurationG
};

static _KLpairGVKd K163 = {
  &KLpairGVKdW /* wrapper */,
  &KPduration_months_setterYsystem_internalsVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_23 K164 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 93,
  "%duration-months-setter"
};

_KLgetter_methodGVKi KPduration_monthsYsystem_internalsVsystemMM0 = {
  &KLgetter_methodGVKiW /* wrapper */,
  &slotacc_single_q_instance_getter_xep,
  &KPduration_monthsYsystem_internalsVsystemHLdurationG
};

static _KLpairGVKd K166 = {
  &KLpairGVKdW /* wrapper */,
  &KPduration_monthsYsystem_internalsVsystemMM0,
  &KPempty_listVKi
};

static _KLbyte_stringGVKd_16 K167 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 65,
  "%duration-months"
};

static _KLbyte_stringGVKd_19 K168 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 77,
  "<day/time-duration>"
};

static _KLbyte_stringGVKd_12 K169 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 49,
  "microseconds"
};

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

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

static _KLsignatureAvaluesGVKi K172 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K173,
  &K131
};

static _KLsimple_object_vectorGVKd_2 K173 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLdateGYdateVsystem,
  &KLdateGYdateVsystem
};

static _KLsimple_closure_methodGVKi_0 KUhandler_functionUF176 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_2,
  &K115,
  &KUhandler_functionUF176I,
  (D) 1
};

static _KLsignatureAvaluesGVKi K177 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K178,
  &K119
};

static _KLsimple_object_vectorGVKd_2 K178 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLdurationGYdateVsystem,
  &KLdateGYdateVsystem
};

static _KLsimple_closure_methodGVKi_0 KUhandler_functionUF181 = {
  &KLsimple_closure_methodGVKiW /* wrapper */,
  &xep_2,
  &K115,
  &KUhandler_functionUF181I,
  (D) 1
};

static _KLsignatureAvaluesGVKi K182 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K183,
  &KDsignature_LbooleanG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K183 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLdurationGYdateVsystem,
  &KLdurationGYdateVsystem
};

_KLsealed_generic_functionGVKe Kdecode_durationYdateVsystem = {
  &KLsealed_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &K191,
  &KPfalseVKi,
  &K192,
  &K189,
  &RSINGULAR_Labsent_engine_nodeG
};

_KLsimple_methodGVKe Kdecode_durationYdateVsystemMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K194,
  &Kdecode_durationYdateVsystemMM0I
};

_KLsimple_methodGVKe Kdecode_durationYdateVsystemMM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K193,
  &Kdecode_durationYdateVsystemMM1I
};

static _KLpairGVKd K189 = {
  &KLpairGVKdW /* wrapper */,
  &Kdecode_durationYdateVsystemMM0,
  &K190
};

static _KLpairGVKd K190 = {
  &KLpairGVKdW /* wrapper */,
  &Kdecode_durationYdateVsystemMM1,
  &KPempty_listVKi
};

static _KLsignatureArest_valueGVKi K191 = {
  &KLsignatureArest_valueGVKiW /* wrapper */,
  (D) 44040197,
  &K62,
  &KLintegerGVKd
};

static _KLbyte_stringGVKd_15 K192 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 61,
  "decode-duration"
};

static _KLsignatureAvaluesGVKi K193 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33559557,
  &K131,
  &KDsignature_LintegerG_typesVKi
};

static _KLsignatureAvaluesGVKi K194 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33556485,
  &K195,
  &KDsignature_LintegerG_typesVKi
};

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

_KLclassGVKd KLyearSmonth_durationGYdateVsystem = {
  &KLclassGVKdW /* wrapper */,
  &Kclass_instanceQ_initialVKiI,
  &K203,
  &K198,
  (D) 1,
  &Kdate_moduleYdylan_userVsystem
};

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

static _KLimplementation_classGVKe K198 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 527433745,
  &KLyearSmonth_durationGYdateVsystem,
  &KLyearSmonth_durationGYdateVsystemW,
  &KPfalseVKi,
  &K126,
  (D) -3,
  &KLyearSmonth_durationGZ32ZconstructorYsystem_internalsVsystemMM0,
  &K62,
  &K201,
  (D) 13,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K126,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

_KLkeyword_methodGVKe KLyearSmonth_durationGZ32ZconstructorYsystem_internalsVsystemMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_2,
  &K202,
  &key_mep_2,
  &KLyearSmonth_durationGZ32ZconstructorYsystem_internalsVsystemMM0I,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_6 K201 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 25,
  &KLobjectGVKd,
  &KLnumberGVKd,
  &KLdurationGYdateVsystem,
  &KLyearSmonth_durationGYdateVsystem,
  &KPfalseVKi,
  &KPfalseVKi
};

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

static _KLbyte_stringGVKd_21 K203 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 85,
  "<year/month-duration>"
};

_KLsimple_methodGVKe Kencode_dayStime_durationYdateVsystem = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_5,
  &K210,
  &Kencode_dayStime_durationYdateVsystemI
};

static _KLsymbolGVKd KJhours_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K209
};

static _KLsymbolGVKd KJminutes_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K208
};

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

static _KLbyte_stringGVKd_5 K209 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 21,
  "hours"
};

static _KLsignatureAvaluesGVKi K210 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555477,
  &KDsignature_LintegerG_typesVKi,
  &K131
};

_KLsimple_methodGVKe Kencode_yearSmonth_durationYdateVsystem = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K217,
  &Kencode_yearSmonth_durationYdateVsystemI
};

static _KLsymbolGVKd KJyears_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K216
};

static _KLsymbolGVKd KJmonths_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K215
};

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

static _KLbyte_stringGVKd_5 K216 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 21,
  "years"
};

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

static _KLimplementation_classGVKe K218 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 410255373,
  &KLdate_arithmetic_error_restartGYdateVsystem,
  &KLdate_arithmetic_error_restartGYdateVsystemW,
  &KPfalseVKi,
  &K75,
  (D) -3,
  &Kdefault_class_constructorVKi,
  &K219,
  &K220,
  (D) 25,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &K308,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &K75,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

static _KLsimple_object_vectorGVKd_2 K219 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLdate_arithmetic_errorGYdateVsystem,
  &KLrestartGVKd
};

static _KLsimple_object_vectorGVKd_7 K220 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 29,
  &KLobjectGVKd,
  &KLconditionGVKd,
  &KLrestartGVKd,
  &KLserious_conditionGVKd,
  &KLerrorGVKd,
  &KLdate_arithmetic_errorGYdateVsystem,
  &KLdate_arithmetic_error_restartGYdateVsystem
};

static _KLbyte_stringGVKd_31 K221 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 125,
  "<date-arithmetic-error-restart>"
};

static _KLimplementation_classGVKe K222 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 460587021,
  &KLdate_arithmetic_errorGYdateVsystem,
  &KLdate_arithmetic_errorGYdateVsystemW,
  &KPfalseVKi,
  &K75,
  (D) -3,
  &Kdefault_class_constructorVKi,
  &K223,
  &K224,
  (D) 17,
  &K225,
  &K226,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &K306,
  &KPempty_vectorVKi,
  &K75,
  &K75,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

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

static _KLsimple_object_vectorGVKd_6 K224 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 25,
  &KLobjectGVKd,
  &KLconditionGVKd,
  &KLserious_conditionGVKd,
  &KLerrorGVKd,
  &KLdate_arithmetic_errorGYdateVsystem,
  &KPfalseVKi
};

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

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

static _KLbyte_stringGVKd_23 K227 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 93,
  "<date-arithmetic-error>"
};

static _KLunionGVKe K228 = {
  &KLunionGVKeW /* wrapper */,
  &Kunion_instanceQVKiI,
  &K231,
  &KLintegerGVKd
};

static _KLbyte_stringGVKd_76 K229 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 305,
  "Can\'t make(<duration>) with both years/months and days/hours/minutes/seconds"
};

static _KLbyte_stringGVKd_83 K230 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 333,
  "Either years/months or days/hours/minutes/seconds must be given to make(<duration>)"
};

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

static _KLkeyword_signatureAvaluesGVKi K232 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 35390469,
  &K234,
  &K235,
  &K236,
  &K62
};

static _KLsimple_object_vectorGVKd_14 K233 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 57,
  &KJyears_,
  &KPfalseVKi,
  &KJmonths_,
  &KPfalseVKi,
  &KJdays_,
  &KPfalseVKi,
  &KJhours_,
  &KPfalseVKi,
  &KJminutes_,
  &KPfalseVKi,
  &KJseconds_,
  &KPfalseVKi,
  &KJmicroseconds_,
  &KPfalseVKi
};

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

static _KLsimple_object_vectorGVKd_7 K235 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 29,
  &KJyears_,
  &KJmonths_,
  &KJdays_,
  &KJhours_,
  &KJminutes_,
  &KJseconds_,
  &KJmicroseconds_
};

static _KLsimple_object_vectorGVKd_7 K236 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 29,
  &K228,
  &K228,
  &K228,
  &K228,
  &K228,
  &K228,
  &K228
};

static _KLsingletonGVKd K237 = {
  &KLsingletonGVKdW /* wrapper */,
  &Ksingleton_pointer_idQ_instanceQVKiI,
  &KLdurationGYdateVsystem
};

static _KLimplementation_classGVKe K238 = {
  &KLimplementation_classGVKeW /* wrapper */,
  (D) 460587025,
  &KLdurationGYdateVsystem,
  &KLdurationGYdateVsystemW,
  &KPfalseVKi,
  &K126,
  (D) -3,
  &Kdefault_class_constructorVKi,
  &K239,
  &K240,
  (D) 9,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_listVKi,
  &KPempty_listVKi,
  &K304,
  &KPempty_vectorVKi,
  &K126,
  &K126,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi,
  &KPempty_vectorVKi
};

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

static _KLsimple_object_vectorGVKd_6 K240 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 25,
  &KLobjectGVKd,
  &KLnumberGVKd,
  &KLdurationGYdateVsystem,
  &KPfalseVKi,
  &KPfalseVKi,
  &KPfalseVKi
};

static _KLbyte_stringGVKd_10 K241 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 41,
  "<duration>"
};

_KLsimple_methodGVKe K_VKdMsystemM3 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K303,
  &K_VKdMsystemM3I
};

_KLsimple_methodGVKe K_VKdMsystemM2 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K302,
  &K_VKdMsystemM2I
};

_KLsimple_methodGVKe KAVKdMsystemM3 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K303,
  &KAVKdMsystemM3I
};

_KLsimple_methodGVKe KAVKdMsystemM2 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K302,
  &KAVKdMsystemM2I
};

_KLsimple_methodGVKe KLVKdMsystemM2 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K300,
  &KLVKdMsystemM2I
};

_KLsimple_methodGVKe KLVKdMsystemM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K298,
  &KLVKdMsystemM1I
};

_KLsimple_methodGVKe Kreturn_descriptionVKdMsystemM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K297,
  &Kreturn_descriptionVKdMsystemM0I
};

_KLsimple_methodGVKe Kcondition_to_stringYcommon_extensionsVcommon_dylanMsystemM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K296,
  &Kcondition_to_stringYcommon_extensionsVcommon_dylanMsystemM1I
};

_KLsimple_methodGVKe Kreturn_allowedQVKdMsystemM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K294,
  &Kreturn_allowedQVKdMsystemM0I
};

_KLsimple_methodGVKe Kcondition_to_stringYcommon_extensionsVcommon_dylanMsystemM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K293,
  &Kcondition_to_stringYcommon_extensionsVcommon_dylanMsystemM0I
};

_KLkeyword_methodGVKe KinitializeVKdMsystemM2 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_7,
  &K289,
  &key_mep_7,
  &KinitializeVKdMsystemM2I,
  &K290
};

_KLkeyword_methodGVKe KinitializeVKdMsystemM1 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K286,
  &key_mep_4,
  &KinitializeVKdMsystemM1I,
  &K287
};

_KLsimple_methodGVKe Kclone_durationYsystem_internalsVsystemMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K285,
  &Kclone_durationYsystem_internalsVsystemMM0I
};

_KLsimple_methodGVKe Kclone_durationYsystem_internalsVsystemMM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K284,
  &Kclone_durationYsystem_internalsVsystemMM1I
};

static _KLpairGVKd K282 = {
  &KLpairGVKdW /* wrapper */,
  &Kclone_durationYsystem_internalsVsystemMM0,
  &K283
};

static _KLpairGVKd K283 = {
  &KLpairGVKdW /* wrapper */,
  &Kclone_durationYsystem_internalsVsystemMM1,
  &KPempty_listVKi
};

static _KLsignatureAvaluesGVKi K284 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K131,
  &K131
};

static _KLsignatureAvaluesGVKi K285 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K195,
  &K195
};

static _KLkeyword_signatureGVKe K286 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (D) 44826629,
  &K195,
  &K288,
  &KDsignature_LintegerG_typesVKi
};

static _KLsimple_object_vectorGVKd_4 K287 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 17,
  &KJyears_,
  (D) 1,
  &KJmonths_,
  (D) 1
};

static _KLsimple_object_vectorGVKd_2 K288 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KJyears_,
  &KJmonths_
};

static _KLkeyword_signatureGVKe K289 = {
  &KLkeyword_signatureGVKeW /* wrapper */,
  (D) 44826629,
  &K131,
  &K291,
  &KDsignature_LintegerG_typesVKi
};

static _KLsimple_object_vectorGVKd_10 K290 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 41,
  &KJdays_,
  (D) 1,
  &KJhours_,
  (D) 1,
  &KJminutes_,
  (D) 1,
  &KJseconds_,
  (D) 1,
  &KJmicroseconds_,
  (D) 1
};

static _KLsimple_object_vectorGVKd_5 K291 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 21,
  &KJdays_,
  &KJhours_,
  &KJminutes_,
  &KJseconds_,
  &KJmicroseconds_
};

static _KLbyte_stringGVKd_28 K292 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 113,
  "%s, %d does not have %d days"
};

static _KLsignatureAvaluesGVKi K293 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K86,
  &KDsignature_LstringG_typesVKi
};

static _KLsignatureAvaluesGVKi K294 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K86,
  &KDsignature_LbooleanG_typesVKi
};

static _KLbyte_stringGVKd_13 K295 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 53,
  "Use %s %d, %d"
};

static _KLsignatureAvaluesGVKi K296 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K110,
  &KDsignature_LstringG_typesVKi
};

static _KLsignatureAvaluesGVKi K297 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K86,
  &K110
};

static _KLsignatureAvaluesGVKi K298 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K299,
  &KDsignature_LbooleanG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K299 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLyearSmonth_durationGYdateVsystem,
  &KLyearSmonth_durationGYdateVsystem
};

static _KLsignatureAvaluesGVKi K300 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K301,
  &KDsignature_LbooleanG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K301 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLdayStime_durationGYdateVsystem,
  &KLdayStime_durationGYdateVsystem
};

static _KLsignatureAvaluesGVKi K302 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K299,
  &K195
};

static _KLsignatureAvaluesGVKi K303 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555465,
  &K301,
  &K131
};

static _KLpairGVKd K304 = {
  &KLpairGVKdW /* wrapper */,
  &KLdayStime_durationGYdateVsystem,
  &K305
};

static _KLpairGVKd K305 = {
  &KLpairGVKdW /* wrapper */,
  &KLyearSmonth_durationGYdateVsystem,
  &KPempty_listVKi
};

static _KLpairGVKd K306 = {
  &KLpairGVKdW /* wrapper */,
  &KLdate_arithmetic_invalid_dayGYdateVsystem,
  &K307
};

static _KLpairGVKd K307 = {
  &KLpairGVKdW /* wrapper */,
  &KLdate_arithmetic_error_restartGYdateVsystem,
  &KPempty_listVKi
};

static _KLpairGVKd K308 = {
  &KLpairGVKdW /* wrapper */,
  &KLdate_arithmetic_use_last_valid_dayGYdateVsystem,
  &KPempty_listVKi
};

/* Code */

D KmakeVKdMsystemM1I (D class_, D init_keywords_, D years_, D months_, D days_, D hours_, D minutes_, D seconds_, D microseconds_) {
  D yearsF10;
  D monthsF11;
  D daysF12;
  D hoursF13;
  D minutesF14;
  D secondsF15;
  D microsecondsF16;
  D T17;
  D UtmpF18;
  D UtmpF19;
  D UtmpF20;
  D T21;
  D UtmpF22;
  D UtmpF23;
  D UtmpF24;
  D T25;
  D T26_0;
  D T27_0;
  D T28_0;
  D T29_0;
  D T30_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:41
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:41
  primitive_type_check(years_, &K228);
  yearsF10 = years_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:41
  primitive_type_check(months_, &K228);
  monthsF11 = months_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:41
  primitive_type_check(days_, &K228);
  daysF12 = days_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:41
  primitive_type_check(hours_, &K228);
  hoursF13 = hours_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:41
  primitive_type_check(minutes_, &K228);
  minutesF14 = minutes_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:41
  primitive_type_check(seconds_, &K228);
  secondsF15 = seconds_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:41
  primitive_type_check(microseconds_, &K228);
  microsecondsF16 = microseconds_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:52
  if (yearsF10 != &KPfalseVKi) {
    T17 = yearsF10;
  } else {
    T17 = monthsF11;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:52
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:51
  if (T17 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:53
    if (daysF12 != &KPfalseVKi) {
      UtmpF18 = daysF12;
    } else {
      UtmpF18 = hoursF13;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:53
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:53
    if (UtmpF18 != &KPfalseVKi) {
      UtmpF19 = UtmpF18;
    } else {
      UtmpF19 = minutesF14;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:53
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:53
    if (UtmpF19 != &KPfalseVKi) {
      UtmpF20 = UtmpF19;
    } else {
      UtmpF20 = secondsF15;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:53
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:53
    if (UtmpF20 != &KPfalseVKi) {
      T21 = UtmpF20;
    } else {
      T21 = microsecondsF16;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:53
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:53
    if (T21 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:54
      KerrorVKdMM1I(&K229, &KPempty_vectorVKi);
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:53
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:56
    T28_0 = APPLY2(&KmakeVKd, &KLyearSmonth_durationGYdateVsystem, init_keywords_);
    T27_0 = T28_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:57
    if (daysF12 != &KPfalseVKi) {
      UtmpF22 = daysF12;
    } else {
      UtmpF22 = hoursF13;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:57
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:57
    if (UtmpF22 != &KPfalseVKi) {
      UtmpF23 = UtmpF22;
    } else {
      UtmpF23 = minutesF14;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:57
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:57
    if (UtmpF23 != &KPfalseVKi) {
      UtmpF24 = UtmpF23;
    } else {
      UtmpF24 = secondsF15;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:57
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:57
    if (UtmpF24 != &KPfalseVKi) {
      T25 = UtmpF24;
    } else {
      T25 = microsecondsF16;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:57
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:51
    if (T25 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:58
      T29_0 = APPLY2(&KmakeVKd, &KLdayStime_durationGYdateVsystem, init_keywords_);
      T26_0 = T29_0;
    } else {
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:60
      T30_0 = KerrorVKdMM1I(&K230, &KPempty_vectorVKi);
      T26_0 = T30_0;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:51
    T27_0 = T26_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:51
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:41
  MV_SET_COUNT(1);
  return(T27_0);
}

D KEVKdMsystemM1I (D x_, D y_) {
  D T3;
  D T4;
  D T5_0;
  D T6_0;
  D T7;
  D T8;
  DWORD T9;
  DWORD T10;
  D T11;
  D T12;
  D T13;
  DWORD T14;
  DWORD T15;
  D T16;
  D T17;
  D T18;
  DWORD T19;
  DWORD T20;
  D T21;
  D T22;
  D T23;
  DWORD T24;
  DWORD T25;
  D T26;
  D T27_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:216
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:217
  T7 = SLOT_VALUE_INITD(x_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:217
  T8 = SLOT_VALUE_INITD(y_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:217
  T9 = primitive_cast_integer_as_raw(T7);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:217
  T10 = primitive_cast_integer_as_raw(T8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:217
  T11 = primitive_machine_word_equalQ(T9,T10);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:217
  if (T11 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:218
    T12 = SLOT_VALUE_INITD(x_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:218
    T13 = SLOT_VALUE_INITD(y_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:218
    T14 = primitive_cast_integer_as_raw(T12);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:218
    T15 = primitive_cast_integer_as_raw(T13);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:218
    T16 = primitive_machine_word_equalQ(T14,T15);
    T3 = T16;
  } else {
    T3 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:217
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:217
  if (T3 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:219
    T17 = SLOT_VALUE_INITD(x_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:219
    T18 = SLOT_VALUE_INITD(y_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:219
    T19 = primitive_cast_integer_as_raw(T17);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:219
    T20 = primitive_cast_integer_as_raw(T18);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:219
    T21 = primitive_machine_word_equalQ(T19,T20);
    T4 = T21;
  } else {
    T4 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:217
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:217
  if (T4 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:220
    T22 = SLOT_VALUE_INITD(x_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:220
    T23 = SLOT_VALUE_INITD(y_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:220
    T24 = primitive_cast_integer_as_raw(T22);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:220
    T25 = primitive_cast_integer_as_raw(T23);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:220
    T26 = primitive_machine_word_equalQ(T24,T25);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:220
    T27_0 = T26;
    T6_0 = T27_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:217
    T5_0 = &KPfalseVKi;
    T6_0 = T5_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:217
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:216
  MV_SET_COUNT(1);
  return(T6_0);
}

D KAVKdMsystemM0I (D x_, D y_) {
  volatile D T3;
  volatile D T4;
  volatile D T5;
  volatile DWORD T6;
  volatile DWORD T7;
  volatile DWORD T8;
  volatile DWORD T9;
  volatile D T10;
  volatile D T11;
  volatile D T12;
  volatile D Uunwind_exceptionUPexit_4_;
  volatile D Uoriginal_handlersU_;
  volatile D T15;
  volatile D T16;
  volatile D T17;
  volatile D T18;
  volatile D T19;
  volatile DWORD T20;
  volatile DWORD T21;
  volatile D T22;
  volatile D T23;
  volatile DWORD T24;
  volatile DWORD T25_0;
  volatile DWORD T25_1;
  volatile DWORD quotientF26;
  volatile DWORD remainderF27;
  volatile DWORD T28;
  volatile DWORD T29;
  volatile DWORD T30;
  volatile DWORD T31;
  volatile D T32;
  volatile D T33;
  volatile DWORD T34;
  volatile DWORD T35;
  volatile D T36;
  volatile D T37;
  volatile D T38;
  volatile D T39;
  volatile DWORD T40;
  volatile DWORD T41;
  volatile D T42;
  volatile D T43;
  volatile D T44;
  volatile _KLsimple_object_vectorGVKd_4 T45 = {&KLsimple_object_vectorGVKdW, (D) 17};
  volatile D T46;
  volatile _KLsimple_object_vectorGVKd_8 T47 = {&KLsimple_object_vectorGVKdW, (D) 33};
  volatile D T48_0;
  volatile D T49;
  volatile D T50;
  volatile D T51;
  volatile D T52;
  volatile D T53;
  volatile _KLsimple_object_vectorGVKd_6 T54 = {&KLsimple_object_vectorGVKdW, (D) 25};
  volatile D T55;
  volatile D T56;
  volatile DWORD T57;
  volatile DWORD T58;
  volatile DWORD T59;
  volatile DWORD T60;
  volatile D T61;
  volatile D T62;
  volatile D T63;
  volatile DWORD T64;
  volatile DWORD T65;
  volatile DWORD T66;
  volatile DWORD T67;
  volatile D T68;
  volatile D T69;
  volatile D T70;
  volatile DWORD T71;
  volatile DWORD T72;
  volatile DWORD T73;
  volatile DWORD T74;
  volatile D T75;
  volatile D T76;
  volatile D T77;
  volatile D T78;
  volatile D T79;
  volatile D T80;
  volatile D T81;
  volatile D T82;
  volatile D T83;
  volatile D T84;
  volatile D T85_0;
  volatile D T86;
  volatile DWORD T87;
  volatile D T88;
  volatile D T89;
  volatile DWORD T90;
  volatile D T91;
  volatile D T92;
  volatile DWORD T93;
  volatile DWORD T94;
  volatile DWORD T95_0;
  volatile DWORD T95_1;
  volatile DWORD quotientF96;
  volatile DWORD remainderF97;
  volatile DWORD T98;
  volatile DWORD T99;
  volatile DWORD T100;
  volatile D T101;
  volatile D T102;
  volatile DWORD T103;
  volatile DWORD T104;
  volatile D T105;
  volatile D T106;
  volatile DWORD T107;
  volatile D T108;
  volatile D T109;
  volatile DWORD T110;
  volatile D T111;
  volatile D T112;
  volatile DWORD T113;
  volatile DWORD T114;
  volatile DWORD T115_0;
  volatile DWORD T115_1;
  volatile DWORD quotientF116;
  volatile DWORD remainderF117;
  volatile DWORD T118;
  volatile DWORD T119;
  volatile DWORD T120;
  volatile D T121;
  volatile D T122;
  volatile DWORD T123;
  volatile DWORD T124;
  volatile D T125;
  volatile D T126;
  volatile DWORD T127;
  volatile D T128;
  volatile D T129;
  volatile DWORD T130;
  volatile D T131;
  volatile D T132;
  volatile DWORD T133;
  volatile DWORD T134;
  volatile DWORD T135_0;
  volatile DWORD T135_1;
  volatile DWORD quotientF136;
  volatile DWORD remainderF137;
  volatile DWORD T138;
  volatile DWORD T139;
  volatile DWORD T140;
  volatile D T141;
  volatile D T142;
  volatile DWORD T143;
  volatile DWORD T144;
  volatile D T145;
  volatile D T146;
  volatile DWORD T147;
  volatile D T148;
  volatile D T149;
  volatile DWORD T150;
  volatile D T151;
  volatile D T152;
  volatile DWORD T153;
  volatile DWORD T154;
  volatile DWORD T155_0;
  volatile DWORD T155_1;
  volatile DWORD quotientF156;
  volatile DWORD remainderF157;
  volatile DWORD T158;
  volatile DWORD T159;
  volatile DWORD T160;
  volatile D T161;
  volatile D T162;
  volatile DWORD T163;
  volatile DWORD T164;
  volatile D T165;
  volatile D T166;
  volatile D T167;
  volatile D T168;
  volatile DWORD T169;
  volatile DWORD T170;
  volatile D T171;
  volatile D T172;
  volatile D T173;
  volatile D T174;
  volatile DWORD T175;
  volatile DWORD T176;
  volatile DWORD T177;
  volatile DWORD T178;
  volatile D T179;
  volatile D T180;
  volatile DWORD T181;
  volatile D T182;
  volatile D T183;
  volatile DWORD T184;
  volatile DWORD T185;
  volatile D T186;
  volatile D T187;
  volatile DWORD T188;
  volatile DWORD T189;
  volatile D T190;
  volatile D T191;
  volatile DWORD T192;
  volatile D T193;
  volatile D T194;
  volatile DWORD T195;
  volatile D T196;
  volatile D T197;
  volatile DWORD T198;
  volatile DWORD T199;
  volatile D T200;
  volatile D T201;
  volatile DWORD T202;
  volatile DWORD T203;
  volatile D T204;
  volatile D T205;
  volatile D T206;
  volatile D T207;
  volatile DWORD T208;
  volatile DWORD T209;
  volatile DWORD T210;
  volatile DWORD T211;
  volatile D T212;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:272
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T3 = Kclone_dateYsystem_internalsVsystemI(x_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T4 = SLOT_VALUE(T3, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T5 = SLOT_VALUE_INITD(y_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T6 = primitive_cast_integer_as_raw(T4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T7 = primitive_cast_integer_as_raw(T5);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T8 = primitive_machine_word_logxor(T7,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T9 = primitive_machine_word_add_signal_overflow(T6,T8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T10 = primitive_cast_raw_as_integer(T9);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  SLOT_VALUE_SETTER(T10, T3, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T19 = SLOT_VALUE(T3, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T20 = primitive_cast_integer_as_raw(T19);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T21 = primitive_machine_word_subtract_signal_overflow(T20,4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T22 = primitive_machine_word_less_thanQ(-3,T21);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  if (T22 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T23 = primitive_machine_word_less_thanQ(T21,49);
    T11 = T23;
  } else {
    T11 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  if (T11 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T24 = primitive_machine_word_shift_right(T21,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T25_0 = primitive_machine_word_floorS_byref(T24,12,(DWORD*)&T25_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    quotientF26 = T25_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    remainderF27 = T25_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T28 = primitive_machine_word_shift_left_signal_overflow(quotientF26,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T29 = primitive_machine_word_shift_left_signal_overflow(remainderF27,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T30 = primitive_machine_word_logior(T29,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T31 = primitive_machine_word_add_signal_overflow(T30,4);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T32 = primitive_cast_raw_as_integer(T31);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    SLOT_VALUE_SETTER(T32, T3, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T33 = SLOT_VALUE(T3, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T34 = primitive_cast_integer_as_raw(T33);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T35 = primitive_machine_word_add_signal_overflow(T34,T28);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T36 = primitive_cast_raw_as_integer(T35);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    SLOT_VALUE_SETTER(T36, T3, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T37 = SLOT_VALUE(T3, 4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T38 = SLOT_VALUE(T3, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T39 = SLOT_VALUE(T3, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T12 = Kdays_in_monthYsystem_internalsVsystemI(T38, T39);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T40 = primitive_cast_integer_as_raw(T12);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T41 = primitive_cast_integer_as_raw(T37);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T42 = primitive_machine_word_less_thanQ(T40,T41);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  if (T42 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    ENTER_EXIT_FRAME(Uunwind_exceptionUPexit_4_);
    if (nlx_setjmp(FRAME_DEST(Uunwind_exceptionUPexit_4_))) {
    } else {
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      Uoriginal_handlersU_ = primitive_read_thread_variable(Tcurrent_handlersTVKi);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T15 = MAKE_CLOSURE_INITD(&KUhandler_functionUF181, 3, Uoriginal_handlersU_, Uunwind_exceptionUPexit_4_, T3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T43 = SLOT_VALUE(T3, 2);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T44 = SLOT_VALUE(T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T45.vector_element_[0] = IKJyear_;
      T45.vector_element_[1] = T43;
      T45.vector_element_[2] = IKJmonth_;
      T45.vector_element_[3] = T44;
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T46 = primitive_copy_vector(&T45);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T47.vector_element_[0] = &KJtype_;
      T47.vector_element_[1] = &KLdate_arithmetic_use_last_valid_dayGYdateVsystem;
      T47.vector_element_[2] = &KJfunction_;
      T47.vector_element_[3] = T15;
      T47.vector_element_[4] = &KJtest_;
      T47.vector_element_[5] = &KPfalseVKi;
      T47.vector_element_[6] = &KJinit_arguments_;
      T47.vector_element_[7] = T46;
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T48_0 = KLhandlerGZ32ZconstructorVKiMM0I(&KLhandlerGVKi, &T47, &KLdate_arithmetic_use_last_valid_dayGYdateVsystem, T15, &KPfalseVKi, T46);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T49 = T48_0;
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T16 = primitive_read_thread_variable(Tcurrent_handlersTVKi);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T50 = primitive_object_allocate_filled(3,&KLpairGVKdW,2,&KPunboundVKi,0,0,&KPunboundVKi);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      SLOT_VALUE_SETTER(T49, T50, 0);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      SLOT_VALUE_SETTER(T16, T50, 1);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      primitive_write_thread_variable(Tcurrent_handlersTVKi, T50);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      ENTER_UNWIND_FRAME(T17);
      if (!nlx_setjmp(FRAME_DEST(T17))) {
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T51 = SLOT_VALUE(T3, 2);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T52 = SLOT_VALUE(T3, 3);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T53 = SLOT_VALUE(T3, 4);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T54.vector_element_[0] = IKJyear_;
        T54.vector_element_[1] = T51;
        T54.vector_element_[2] = IKJmonth_;
        T54.vector_element_[3] = T52;
        T54.vector_element_[4] = IKJday_;
        T54.vector_element_[5] = T53;
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
        T18 = CONGRUENT_CALL2(&KLdate_arithmetic_invalid_dayGYdateVsystem, &T54);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        KsignalVKdMM0I(T18, &KPempty_vectorVKi);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        FALL_THROUGH_UNWIND(&KPfalseVKi);
      }
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      primitive_write_thread_variable(Tcurrent_handlersTVKi, Uoriginal_handlersU_);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      CONTINUE_UNWIND();
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      /* invalidate Uunwind_exceptionUPexit_4_ */
    }
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T55 = SLOT_VALUE(T3, 4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T56 = SLOT_VALUE_INITD(y_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T57 = primitive_cast_integer_as_raw(T55);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T58 = primitive_cast_integer_as_raw(T56);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T59 = primitive_machine_word_logxor(T58,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T60 = primitive_machine_word_add_signal_overflow(T57,T59);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T61 = primitive_cast_raw_as_integer(T60);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  SLOT_VALUE_SETTER(T61, T3, 4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T62 = SLOT_VALUE_INITD(T3, 7);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T63 = SLOT_VALUE_INITD(y_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T64 = primitive_cast_integer_as_raw(T62);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T65 = primitive_cast_integer_as_raw(T63);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T66 = primitive_machine_word_logxor(T65,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T67 = primitive_machine_word_add_signal_overflow(T64,T66);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T68 = primitive_cast_raw_as_integer(T67);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  SLOT_VALUE_SETTER(T68, T3, 7);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T69 = SLOT_VALUE_INITD(T3, 8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T70 = SLOT_VALUE_INITD(y_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T71 = primitive_cast_integer_as_raw(T69);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T72 = primitive_cast_integer_as_raw(T70);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T73 = primitive_machine_word_logxor(T72,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T74 = primitive_machine_word_add_signal_overflow(T71,T73);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T75 = primitive_cast_raw_as_integer(T74);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  SLOT_VALUE_SETTER(T75, T3, 8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T86 = SLOT_VALUE_INITD(T3, 8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T87 = primitive_cast_integer_as_raw(T86);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T88 = primitive_machine_word_less_thanQ(-3,T87);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  if (T88 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T89 = SLOT_VALUE_INITD(T3, 8);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T90 = primitive_cast_integer_as_raw(T89);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T91 = primitive_machine_word_less_thanQ(T90,4000001);
    T76 = T91;
  } else {
    T76 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  if (T76 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T92 = SLOT_VALUE_INITD(T3, 8);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T93 = primitive_cast_integer_as_raw(T92);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T94 = primitive_machine_word_shift_right(T93,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T95_0 = primitive_machine_word_floorS_byref(T94,1000000,(DWORD*)&T95_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    quotientF96 = T95_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    remainderF97 = T95_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T98 = primitive_machine_word_shift_left_signal_overflow(quotientF96,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T99 = primitive_machine_word_shift_left_signal_overflow(remainderF97,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T100 = primitive_machine_word_logior(T99,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T101 = primitive_cast_raw_as_integer(T100);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    SLOT_VALUE_SETTER(T101, T3, 8);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T102 = SLOT_VALUE_INITD(T3, 7);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T103 = primitive_cast_integer_as_raw(T102);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T104 = primitive_machine_word_add_signal_overflow(T103,T98);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T105 = primitive_cast_raw_as_integer(T104);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    SLOT_VALUE_SETTER(T105, T3, 7);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T106 = SLOT_VALUE_INITD(T3, 7);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T107 = primitive_cast_integer_as_raw(T106);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T108 = primitive_machine_word_less_thanQ(-3,T107);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  if (T108 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T109 = SLOT_VALUE_INITD(T3, 7);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T110 = primitive_cast_integer_as_raw(T109);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T111 = primitive_machine_word_less_thanQ(T110,241);
    T77 = T111;
  } else {
    T77 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  if (T77 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T112 = SLOT_VALUE_INITD(T3, 7);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T113 = primitive_cast_integer_as_raw(T112);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T114 = primitive_machine_word_shift_right(T113,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T115_0 = primitive_machine_word_floorS_byref(T114,60,(DWORD*)&T115_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    quotientF116 = T115_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    remainderF117 = T115_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T118 = primitive_machine_word_shift_left_signal_overflow(quotientF116,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T119 = primitive_machine_word_shift_left_signal_overflow(remainderF117,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T120 = primitive_machine_word_logior(T119,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T121 = primitive_cast_raw_as_integer(T120);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    SLOT_VALUE_SETTER(T121, T3, 7);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T122 = SLOT_VALUE_INITD(T3, 6);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T123 = primitive_cast_integer_as_raw(T122);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T124 = primitive_machine_word_add_signal_overflow(T123,T118);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T125 = primitive_cast_raw_as_integer(T124);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    SLOT_VALUE_SETTER(T125, T3, 6);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T126 = SLOT_VALUE_INITD(T3, 6);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T127 = primitive_cast_integer_as_raw(T126);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T128 = primitive_machine_word_less_thanQ(-3,T127);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  if (T128 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T129 = SLOT_VALUE_INITD(T3, 6);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T130 = primitive_cast_integer_as_raw(T129);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T131 = primitive_machine_word_less_thanQ(T130,241);
    T78 = T131;
  } else {
    T78 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  if (T78 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T132 = SLOT_VALUE_INITD(T3, 6);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T133 = primitive_cast_integer_as_raw(T132);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T134 = primitive_machine_word_shift_right(T133,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T135_0 = primitive_machine_word_floorS_byref(T134,60,(DWORD*)&T135_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    quotientF136 = T135_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    remainderF137 = T135_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T138 = primitive_machine_word_shift_left_signal_overflow(quotientF136,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T139 = primitive_machine_word_shift_left_signal_overflow(remainderF137,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T140 = primitive_machine_word_logior(T139,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T141 = primitive_cast_raw_as_integer(T140);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    SLOT_VALUE_SETTER(T141, T3, 6);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T142 = SLOT_VALUE_INITD(T3, 5);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T143 = primitive_cast_integer_as_raw(T142);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T144 = primitive_machine_word_add_signal_overflow(T143,T138);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T145 = primitive_cast_raw_as_integer(T144);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    SLOT_VALUE_SETTER(T145, T3, 5);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T146 = SLOT_VALUE_INITD(T3, 5);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T147 = primitive_cast_integer_as_raw(T146);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T148 = primitive_machine_word_less_thanQ(-3,T147);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  if (T148 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T149 = SLOT_VALUE_INITD(T3, 5);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T150 = primitive_cast_integer_as_raw(T149);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T151 = primitive_machine_word_less_thanQ(T150,97);
    T79 = T151;
  } else {
    T79 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  if (T79 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T152 = SLOT_VALUE_INITD(T3, 5);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T153 = primitive_cast_integer_as_raw(T152);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T154 = primitive_machine_word_shift_right(T153,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T155_0 = primitive_machine_word_floorS_byref(T154,24,(DWORD*)&T155_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    quotientF156 = T155_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    remainderF157 = T155_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T158 = primitive_machine_word_shift_left_signal_overflow(quotientF156,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T159 = primitive_machine_word_shift_left_signal_overflow(remainderF157,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T160 = primitive_machine_word_logior(T159,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T161 = primitive_cast_raw_as_integer(T160);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    SLOT_VALUE_SETTER(T161, T3, 5);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T162 = SLOT_VALUE(T3, 4);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T163 = primitive_cast_integer_as_raw(T162);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T164 = primitive_machine_word_add_signal_overflow(T163,T158);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T165 = primitive_cast_raw_as_integer(T164);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    SLOT_VALUE_SETTER(T165, T3, 4);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
L0: ;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T166 = SLOT_VALUE(T3, 4);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T167 = SLOT_VALUE(T3, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T168 = SLOT_VALUE(T3, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T82 = Kdays_in_monthYsystem_internalsVsystemI(T167, T168);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T169 = primitive_cast_integer_as_raw(T82);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T170 = primitive_cast_integer_as_raw(T166);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T171 = primitive_machine_word_less_thanQ(T169,T170);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    if (T171 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T172 = SLOT_VALUE(T3, 4);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T173 = SLOT_VALUE(T3, 2);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T174 = SLOT_VALUE(T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T80 = Kdays_in_monthYsystem_internalsVsystemI(T173, T174);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T175 = primitive_cast_integer_as_raw(T172);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T176 = primitive_cast_integer_as_raw(T80);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T177 = primitive_machine_word_logxor(T176,1);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T178 = primitive_machine_word_subtract_signal_overflow(T175,T177);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T179 = primitive_cast_raw_as_integer(T178);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      SLOT_VALUE_SETTER(T179, T3, 4);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T180 = SLOT_VALUE(T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T181 = primitive_cast_integer_as_raw(T180);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T182 = primitive_machine_word_equalQ(T181,49);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      if (T182 != &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T183 = SLOT_VALUE(T3, 2);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T184 = primitive_cast_integer_as_raw(T183);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T185 = primitive_machine_word_add_signal_overflow(T184,4);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T186 = primitive_cast_raw_as_integer(T185);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        SLOT_VALUE_SETTER(T186, T3, 2);
        T81 = (D) 5;
      } else {
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T187 = SLOT_VALUE(T3, 3);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T188 = primitive_cast_integer_as_raw(T187);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T189 = primitive_machine_word_add_signal_overflow(T188,4);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T190 = primitive_cast_raw_as_integer(T189);
        T81 = T190;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      SLOT_VALUE_SETTER(T81, T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      goto L0;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
L1: ;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T191 = SLOT_VALUE(T3, 4);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T192 = primitive_cast_integer_as_raw(T191);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    T193 = primitive_machine_word_less_thanQ(T192,5);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    if (T193 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T194 = SLOT_VALUE(T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T195 = primitive_cast_integer_as_raw(T194);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T196 = primitive_machine_word_equalQ(T195,5);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      if (T196 != &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T197 = SLOT_VALUE(T3, 2);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T198 = primitive_cast_integer_as_raw(T197);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T199 = primitive_machine_word_subtract_signal_overflow(T198,4);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T200 = primitive_cast_raw_as_integer(T199);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        SLOT_VALUE_SETTER(T200, T3, 2);
        T83 = (D) 49;
      } else {
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T201 = SLOT_VALUE(T3, 3);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T202 = primitive_cast_integer_as_raw(T201);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T203 = primitive_machine_word_subtract_signal_overflow(T202,4);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
        T204 = primitive_cast_raw_as_integer(T203);
        T83 = T204;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      SLOT_VALUE_SETTER(T83, T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T205 = SLOT_VALUE(T3, 4);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T206 = SLOT_VALUE(T3, 2);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T207 = SLOT_VALUE(T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T84 = Kdays_in_monthYsystem_internalsVsystemI(T206, T207);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T208 = primitive_cast_integer_as_raw(T205);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T209 = primitive_cast_integer_as_raw(T84);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T210 = primitive_machine_word_logxor(T209,1);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T211 = primitive_machine_word_add_signal_overflow(T208,T210);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      T212 = primitive_cast_raw_as_integer(T211);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      SLOT_VALUE_SETTER(T212, T3, 4);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
      goto L1;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T85_0 = T3;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:272
  MV_SET_COUNT(1);
  return(T85_0);
}

D KAVKdMsystemM1I (D x_, D y_) {
  volatile D T3;
  volatile D T4;
  volatile D T5;
  volatile DWORD T6;
  volatile DWORD T7;
  volatile DWORD T8;
  volatile DWORD T9;
  volatile D T10;
  volatile D T11;
  volatile D T12;
  volatile D Uunwind_exceptionUPexit_4_;
  volatile D Uoriginal_handlersU_;
  volatile D T15;
  volatile D T16;
  volatile D T17;
  volatile D T18;
  volatile D T19;
  volatile DWORD T20;
  volatile DWORD T21;
  volatile D T22;
  volatile D T23;
  volatile DWORD T24;
  volatile DWORD T25_0;
  volatile DWORD T25_1;
  volatile DWORD quotientF26;
  volatile DWORD remainderF27;
  volatile DWORD T28;
  volatile DWORD T29;
  volatile DWORD T30;
  volatile DWORD T31;
  volatile D T32;
  volatile D T33;
  volatile DWORD T34;
  volatile DWORD T35;
  volatile D T36;
  volatile D T37;
  volatile D T38;
  volatile D T39;
  volatile DWORD T40;
  volatile DWORD T41;
  volatile D T42;
  volatile D T43;
  volatile D T44;
  volatile _KLsimple_object_vectorGVKd_4 T45 = {&KLsimple_object_vectorGVKdW, (D) 17};
  volatile D T46;
  volatile _KLsimple_object_vectorGVKd_8 T47 = {&KLsimple_object_vectorGVKdW, (D) 33};
  volatile D T48_0;
  volatile D T49;
  volatile D T50;
  volatile D T51;
  volatile D T52;
  volatile D T53;
  volatile _KLsimple_object_vectorGVKd_6 T54 = {&KLsimple_object_vectorGVKdW, (D) 25};
  volatile D T55;
  volatile D T56;
  volatile DWORD T57;
  volatile DWORD T58;
  volatile DWORD T59;
  volatile DWORD T60;
  volatile D T61;
  volatile D T62;
  volatile D T63;
  volatile DWORD T64;
  volatile DWORD T65;
  volatile DWORD T66;
  volatile DWORD T67;
  volatile D T68;
  volatile D T69;
  volatile D T70;
  volatile DWORD T71;
  volatile DWORD T72;
  volatile DWORD T73;
  volatile DWORD T74;
  volatile D T75;
  volatile D T76;
  volatile D T77;
  volatile D T78;
  volatile D T79;
  volatile D T80;
  volatile D T81;
  volatile D T82;
  volatile D T83;
  volatile D T84;
  volatile D T85_0;
  volatile D T86;
  volatile DWORD T87;
  volatile D T88;
  volatile D T89;
  volatile DWORD T90;
  volatile D T91;
  volatile D T92;
  volatile DWORD T93;
  volatile DWORD T94;
  volatile DWORD T95_0;
  volatile DWORD T95_1;
  volatile DWORD quotientF96;
  volatile DWORD remainderF97;
  volatile DWORD T98;
  volatile DWORD T99;
  volatile DWORD T100;
  volatile D T101;
  volatile D T102;
  volatile DWORD T103;
  volatile DWORD T104;
  volatile D T105;
  volatile D T106;
  volatile DWORD T107;
  volatile D T108;
  volatile D T109;
  volatile DWORD T110;
  volatile D T111;
  volatile D T112;
  volatile DWORD T113;
  volatile DWORD T114;
  volatile DWORD T115_0;
  volatile DWORD T115_1;
  volatile DWORD quotientF116;
  volatile DWORD remainderF117;
  volatile DWORD T118;
  volatile DWORD T119;
  volatile DWORD T120;
  volatile D T121;
  volatile D T122;
  volatile DWORD T123;
  volatile DWORD T124;
  volatile D T125;
  volatile D T126;
  volatile DWORD T127;
  volatile D T128;
  volatile D T129;
  volatile DWORD T130;
  volatile D T131;
  volatile D T132;
  volatile DWORD T133;
  volatile DWORD T134;
  volatile DWORD T135_0;
  volatile DWORD T135_1;
  volatile DWORD quotientF136;
  volatile DWORD remainderF137;
  volatile DWORD T138;
  volatile DWORD T139;
  volatile DWORD T140;
  volatile D T141;
  volatile D T142;
  volatile DWORD T143;
  volatile DWORD T144;
  volatile D T145;
  volatile D T146;
  volatile DWORD T147;
  volatile D T148;
  volatile D T149;
  volatile DWORD T150;
  volatile D T151;
  volatile D T152;
  volatile DWORD T153;
  volatile DWORD T154;
  volatile DWORD T155_0;
  volatile DWORD T155_1;
  volatile DWORD quotientF156;
  volatile DWORD remainderF157;
  volatile DWORD T158;
  volatile DWORD T159;
  volatile DWORD T160;
  volatile D T161;
  volatile D T162;
  volatile DWORD T163;
  volatile DWORD T164;
  volatile D T165;
  volatile D T166;
  volatile D T167;
  volatile D T168;
  volatile DWORD T169;
  volatile DWORD T170;
  volatile D T171;
  volatile D T172;
  volatile D T173;
  volatile D T174;
  volatile DWORD T175;
  volatile DWORD T176;
  volatile DWORD T177;
  volatile DWORD T178;
  volatile D T179;
  volatile D T180;
  volatile DWORD T181;
  volatile D T182;
  volatile D T183;
  volatile DWORD T184;
  volatile DWORD T185;
  volatile D T186;
  volatile D T187;
  volatile DWORD T188;
  volatile DWORD T189;
  volatile D T190;
  volatile D T191;
  volatile DWORD T192;
  volatile D T193;
  volatile D T194;
  volatile DWORD T195;
  volatile D T196;
  volatile D T197;
  volatile DWORD T198;
  volatile DWORD T199;
  volatile D T200;
  volatile D T201;
  volatile DWORD T202;
  volatile DWORD T203;
  volatile D T204;
  volatile D T205;
  volatile D T206;
  volatile D T207;
  volatile DWORD T208;
  volatile DWORD T209;
  volatile DWORD T210;
  volatile DWORD T211;
  volatile D T212;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:276
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T3 = Kclone_dateYsystem_internalsVsystemI(y_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T4 = SLOT_VALUE(T3, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T5 = SLOT_VALUE_INITD(x_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T6 = primitive_cast_integer_as_raw(T4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T7 = primitive_cast_integer_as_raw(T5);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T8 = primitive_machine_word_logxor(T7,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T9 = primitive_machine_word_add_signal_overflow(T6,T8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T10 = primitive_cast_raw_as_integer(T9);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  SLOT_VALUE_SETTER(T10, T3, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T19 = SLOT_VALUE(T3, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T20 = primitive_cast_integer_as_raw(T19);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T21 = primitive_machine_word_subtract_signal_overflow(T20,4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T22 = primitive_machine_word_less_thanQ(-3,T21);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  if (T22 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T23 = primitive_machine_word_less_thanQ(T21,49);
    T11 = T23;
  } else {
    T11 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  if (T11 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T24 = primitive_machine_word_shift_right(T21,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T25_0 = primitive_machine_word_floorS_byref(T24,12,(DWORD*)&T25_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    quotientF26 = T25_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    remainderF27 = T25_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T28 = primitive_machine_word_shift_left_signal_overflow(quotientF26,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T29 = primitive_machine_word_shift_left_signal_overflow(remainderF27,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T30 = primitive_machine_word_logior(T29,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T31 = primitive_machine_word_add_signal_overflow(T30,4);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T32 = primitive_cast_raw_as_integer(T31);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    SLOT_VALUE_SETTER(T32, T3, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T33 = SLOT_VALUE(T3, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T34 = primitive_cast_integer_as_raw(T33);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T35 = primitive_machine_word_add_signal_overflow(T34,T28);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T36 = primitive_cast_raw_as_integer(T35);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    SLOT_VALUE_SETTER(T36, T3, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T37 = SLOT_VALUE(T3, 4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T38 = SLOT_VALUE(T3, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T39 = SLOT_VALUE(T3, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T12 = Kdays_in_monthYsystem_internalsVsystemI(T38, T39);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T40 = primitive_cast_integer_as_raw(T12);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T41 = primitive_cast_integer_as_raw(T37);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T42 = primitive_machine_word_less_thanQ(T40,T41);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  if (T42 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    ENTER_EXIT_FRAME(Uunwind_exceptionUPexit_4_);
    if (nlx_setjmp(FRAME_DEST(Uunwind_exceptionUPexit_4_))) {
    } else {
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      Uoriginal_handlersU_ = primitive_read_thread_variable(Tcurrent_handlersTVKi);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T15 = MAKE_CLOSURE_INITD(&KUhandler_functionUF176, 3, Uoriginal_handlersU_, Uunwind_exceptionUPexit_4_, T3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T43 = SLOT_VALUE(T3, 2);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T44 = SLOT_VALUE(T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T45.vector_element_[0] = IKJyear_;
      T45.vector_element_[1] = T43;
      T45.vector_element_[2] = IKJmonth_;
      T45.vector_element_[3] = T44;
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T46 = primitive_copy_vector(&T45);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T47.vector_element_[0] = &KJtype_;
      T47.vector_element_[1] = &KLdate_arithmetic_use_last_valid_dayGYdateVsystem;
      T47.vector_element_[2] = &KJfunction_;
      T47.vector_element_[3] = T15;
      T47.vector_element_[4] = &KJtest_;
      T47.vector_element_[5] = &KPfalseVKi;
      T47.vector_element_[6] = &KJinit_arguments_;
      T47.vector_element_[7] = T46;
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T48_0 = KLhandlerGZ32ZconstructorVKiMM0I(&KLhandlerGVKi, &T47, &KLdate_arithmetic_use_last_valid_dayGYdateVsystem, T15, &KPfalseVKi, T46);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T49 = T48_0;
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T16 = primitive_read_thread_variable(Tcurrent_handlersTVKi);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T50 = primitive_object_allocate_filled(3,&KLpairGVKdW,2,&KPunboundVKi,0,0,&KPunboundVKi);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      SLOT_VALUE_SETTER(T49, T50, 0);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      SLOT_VALUE_SETTER(T16, T50, 1);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      primitive_write_thread_variable(Tcurrent_handlersTVKi, T50);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      ENTER_UNWIND_FRAME(T17);
      if (!nlx_setjmp(FRAME_DEST(T17))) {
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T51 = SLOT_VALUE(T3, 2);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T52 = SLOT_VALUE(T3, 3);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T53 = SLOT_VALUE(T3, 4);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T54.vector_element_[0] = IKJyear_;
        T54.vector_element_[1] = T51;
        T54.vector_element_[2] = IKJmonth_;
        T54.vector_element_[3] = T52;
        T54.vector_element_[4] = IKJday_;
        T54.vector_element_[5] = T53;
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
        T18 = CONGRUENT_CALL2(&KLdate_arithmetic_invalid_dayGYdateVsystem, &T54);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        KsignalVKdMM0I(T18, &KPempty_vectorVKi);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        FALL_THROUGH_UNWIND(&KPfalseVKi);
      }
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      primitive_write_thread_variable(Tcurrent_handlersTVKi, Uoriginal_handlersU_);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      CONTINUE_UNWIND();
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      /* invalidate Uunwind_exceptionUPexit_4_ */
    }
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T55 = SLOT_VALUE(T3, 4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T56 = SLOT_VALUE_INITD(x_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T57 = primitive_cast_integer_as_raw(T55);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T58 = primitive_cast_integer_as_raw(T56);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T59 = primitive_machine_word_logxor(T58,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T60 = primitive_machine_word_add_signal_overflow(T57,T59);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T61 = primitive_cast_raw_as_integer(T60);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  SLOT_VALUE_SETTER(T61, T3, 4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T62 = SLOT_VALUE_INITD(T3, 7);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T63 = SLOT_VALUE_INITD(x_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T64 = primitive_cast_integer_as_raw(T62);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T65 = primitive_cast_integer_as_raw(T63);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T66 = primitive_machine_word_logxor(T65,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T67 = primitive_machine_word_add_signal_overflow(T64,T66);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T68 = primitive_cast_raw_as_integer(T67);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  SLOT_VALUE_SETTER(T68, T3, 7);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T69 = SLOT_VALUE_INITD(T3, 8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T70 = SLOT_VALUE_INITD(x_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T71 = primitive_cast_integer_as_raw(T69);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T72 = primitive_cast_integer_as_raw(T70);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T73 = primitive_machine_word_logxor(T72,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T74 = primitive_machine_word_add_signal_overflow(T71,T73);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T75 = primitive_cast_raw_as_integer(T74);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  SLOT_VALUE_SETTER(T75, T3, 8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T86 = SLOT_VALUE_INITD(T3, 8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T87 = primitive_cast_integer_as_raw(T86);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T88 = primitive_machine_word_less_thanQ(-3,T87);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  if (T88 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T89 = SLOT_VALUE_INITD(T3, 8);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T90 = primitive_cast_integer_as_raw(T89);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T91 = primitive_machine_word_less_thanQ(T90,4000001);
    T76 = T91;
  } else {
    T76 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  if (T76 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T92 = SLOT_VALUE_INITD(T3, 8);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T93 = primitive_cast_integer_as_raw(T92);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T94 = primitive_machine_word_shift_right(T93,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T95_0 = primitive_machine_word_floorS_byref(T94,1000000,(DWORD*)&T95_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    quotientF96 = T95_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    remainderF97 = T95_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T98 = primitive_machine_word_shift_left_signal_overflow(quotientF96,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T99 = primitive_machine_word_shift_left_signal_overflow(remainderF97,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T100 = primitive_machine_word_logior(T99,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T101 = primitive_cast_raw_as_integer(T100);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    SLOT_VALUE_SETTER(T101, T3, 8);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T102 = SLOT_VALUE_INITD(T3, 7);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T103 = primitive_cast_integer_as_raw(T102);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T104 = primitive_machine_word_add_signal_overflow(T103,T98);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T105 = primitive_cast_raw_as_integer(T104);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    SLOT_VALUE_SETTER(T105, T3, 7);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T106 = SLOT_VALUE_INITD(T3, 7);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T107 = primitive_cast_integer_as_raw(T106);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T108 = primitive_machine_word_less_thanQ(-3,T107);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  if (T108 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T109 = SLOT_VALUE_INITD(T3, 7);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T110 = primitive_cast_integer_as_raw(T109);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T111 = primitive_machine_word_less_thanQ(T110,241);
    T77 = T111;
  } else {
    T77 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  if (T77 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T112 = SLOT_VALUE_INITD(T3, 7);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T113 = primitive_cast_integer_as_raw(T112);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T114 = primitive_machine_word_shift_right(T113,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T115_0 = primitive_machine_word_floorS_byref(T114,60,(DWORD*)&T115_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    quotientF116 = T115_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    remainderF117 = T115_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T118 = primitive_machine_word_shift_left_signal_overflow(quotientF116,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T119 = primitive_machine_word_shift_left_signal_overflow(remainderF117,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T120 = primitive_machine_word_logior(T119,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T121 = primitive_cast_raw_as_integer(T120);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    SLOT_VALUE_SETTER(T121, T3, 7);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T122 = SLOT_VALUE_INITD(T3, 6);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T123 = primitive_cast_integer_as_raw(T122);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T124 = primitive_machine_word_add_signal_overflow(T123,T118);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T125 = primitive_cast_raw_as_integer(T124);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    SLOT_VALUE_SETTER(T125, T3, 6);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T126 = SLOT_VALUE_INITD(T3, 6);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T127 = primitive_cast_integer_as_raw(T126);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T128 = primitive_machine_word_less_thanQ(-3,T127);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  if (T128 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T129 = SLOT_VALUE_INITD(T3, 6);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T130 = primitive_cast_integer_as_raw(T129);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T131 = primitive_machine_word_less_thanQ(T130,241);
    T78 = T131;
  } else {
    T78 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  if (T78 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T132 = SLOT_VALUE_INITD(T3, 6);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T133 = primitive_cast_integer_as_raw(T132);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T134 = primitive_machine_word_shift_right(T133,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T135_0 = primitive_machine_word_floorS_byref(T134,60,(DWORD*)&T135_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    quotientF136 = T135_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    remainderF137 = T135_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T138 = primitive_machine_word_shift_left_signal_overflow(quotientF136,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T139 = primitive_machine_word_shift_left_signal_overflow(remainderF137,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T140 = primitive_machine_word_logior(T139,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T141 = primitive_cast_raw_as_integer(T140);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    SLOT_VALUE_SETTER(T141, T3, 6);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T142 = SLOT_VALUE_INITD(T3, 5);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T143 = primitive_cast_integer_as_raw(T142);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T144 = primitive_machine_word_add_signal_overflow(T143,T138);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T145 = primitive_cast_raw_as_integer(T144);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    SLOT_VALUE_SETTER(T145, T3, 5);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T146 = SLOT_VALUE_INITD(T3, 5);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T147 = primitive_cast_integer_as_raw(T146);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T148 = primitive_machine_word_less_thanQ(-3,T147);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  if (T148 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T149 = SLOT_VALUE_INITD(T3, 5);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T150 = primitive_cast_integer_as_raw(T149);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T151 = primitive_machine_word_less_thanQ(T150,97);
    T79 = T151;
  } else {
    T79 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  if (T79 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T152 = SLOT_VALUE_INITD(T3, 5);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T153 = primitive_cast_integer_as_raw(T152);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T154 = primitive_machine_word_shift_right(T153,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T155_0 = primitive_machine_word_floorS_byref(T154,24,(DWORD*)&T155_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    quotientF156 = T155_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    remainderF157 = T155_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T158 = primitive_machine_word_shift_left_signal_overflow(quotientF156,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T159 = primitive_machine_word_shift_left_signal_overflow(remainderF157,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T160 = primitive_machine_word_logior(T159,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T161 = primitive_cast_raw_as_integer(T160);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    SLOT_VALUE_SETTER(T161, T3, 5);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T162 = SLOT_VALUE(T3, 4);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T163 = primitive_cast_integer_as_raw(T162);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T164 = primitive_machine_word_add_signal_overflow(T163,T158);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T165 = primitive_cast_raw_as_integer(T164);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    SLOT_VALUE_SETTER(T165, T3, 4);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
L0: ;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T166 = SLOT_VALUE(T3, 4);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T167 = SLOT_VALUE(T3, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T168 = SLOT_VALUE(T3, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T82 = Kdays_in_monthYsystem_internalsVsystemI(T167, T168);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T169 = primitive_cast_integer_as_raw(T82);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T170 = primitive_cast_integer_as_raw(T166);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T171 = primitive_machine_word_less_thanQ(T169,T170);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    if (T171 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T172 = SLOT_VALUE(T3, 4);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T173 = SLOT_VALUE(T3, 2);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T174 = SLOT_VALUE(T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T80 = Kdays_in_monthYsystem_internalsVsystemI(T173, T174);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T175 = primitive_cast_integer_as_raw(T172);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T176 = primitive_cast_integer_as_raw(T80);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T177 = primitive_machine_word_logxor(T176,1);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T178 = primitive_machine_word_subtract_signal_overflow(T175,T177);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T179 = primitive_cast_raw_as_integer(T178);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      SLOT_VALUE_SETTER(T179, T3, 4);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T180 = SLOT_VALUE(T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T181 = primitive_cast_integer_as_raw(T180);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T182 = primitive_machine_word_equalQ(T181,49);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      if (T182 != &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T183 = SLOT_VALUE(T3, 2);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T184 = primitive_cast_integer_as_raw(T183);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T185 = primitive_machine_word_add_signal_overflow(T184,4);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T186 = primitive_cast_raw_as_integer(T185);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        SLOT_VALUE_SETTER(T186, T3, 2);
        T81 = (D) 5;
      } else {
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T187 = SLOT_VALUE(T3, 3);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T188 = primitive_cast_integer_as_raw(T187);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T189 = primitive_machine_word_add_signal_overflow(T188,4);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T190 = primitive_cast_raw_as_integer(T189);
        T81 = T190;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      SLOT_VALUE_SETTER(T81, T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      goto L0;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
L1: ;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T191 = SLOT_VALUE(T3, 4);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T192 = primitive_cast_integer_as_raw(T191);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    T193 = primitive_machine_word_less_thanQ(T192,5);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    if (T193 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T194 = SLOT_VALUE(T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T195 = primitive_cast_integer_as_raw(T194);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T196 = primitive_machine_word_equalQ(T195,5);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      if (T196 != &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T197 = SLOT_VALUE(T3, 2);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T198 = primitive_cast_integer_as_raw(T197);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T199 = primitive_machine_word_subtract_signal_overflow(T198,4);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T200 = primitive_cast_raw_as_integer(T199);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        SLOT_VALUE_SETTER(T200, T3, 2);
        T83 = (D) 49;
      } else {
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T201 = SLOT_VALUE(T3, 3);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T202 = primitive_cast_integer_as_raw(T201);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T203 = primitive_machine_word_subtract_signal_overflow(T202,4);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
        T204 = primitive_cast_raw_as_integer(T203);
        T83 = T204;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      SLOT_VALUE_SETTER(T83, T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T205 = SLOT_VALUE(T3, 4);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T206 = SLOT_VALUE(T3, 2);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T207 = SLOT_VALUE(T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T84 = Kdays_in_monthYsystem_internalsVsystemI(T206, T207);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T208 = primitive_cast_integer_as_raw(T205);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T209 = primitive_cast_integer_as_raw(T84);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T210 = primitive_machine_word_logxor(T209,1);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T211 = primitive_machine_word_add_signal_overflow(T208,T210);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      T212 = primitive_cast_raw_as_integer(T211);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      SLOT_VALUE_SETTER(T212, T3, 4);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
      goto L1;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T85_0 = T3;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:276
  MV_SET_COUNT(1);
  return(T85_0);
}

D K_VKdMsystemM0I (D x_, D y_) {
  D T3;
  D T4;
  D T5;
  D T6;
  D T7_0;
  DWORD T8;
  DWORD T9;
  DWORD T10;
  DWORD T11;
  D T12;
  DWORD T13;
  DWORD T14;
  DWORD T15;
  DWORD T16;
  D T17;
  D T18;
  D T19;
  DWORD T20;
  DWORD T21;
  DWORD T22;
  DWORD T23;
  D T24;
  _KLsimple_object_vectorGVKd_6 T25 = {&KLsimple_object_vectorGVKdW, (D) 25};

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:280
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:281
  T3 = Kdate_universal_dateYsystem_internalsVsystemMM0I(x_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:281
  T4 = Kdate_universal_dateYsystem_internalsVsystemMM0I(y_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:281
  T8 = primitive_cast_integer_as_raw(T3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:281
  T9 = primitive_cast_integer_as_raw(T4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:281
  T10 = primitive_machine_word_logxor(T9,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:281
  T11 = primitive_machine_word_subtract_signal_overflow(T8,T10);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:281
  T12 = primitive_cast_raw_as_integer(T11);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:282
  T5 = Kdate_universal_timeYsystem_internalsVsystemMM0I(x_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:282
  T6 = Kdate_universal_timeYsystem_internalsVsystemMM0I(y_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:282
  T13 = primitive_cast_integer_as_raw(T5);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:282
  T14 = primitive_cast_integer_as_raw(T6);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:282
  T15 = primitive_machine_word_logxor(T14,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:282
  T16 = primitive_machine_word_subtract_signal_overflow(T13,T15);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:282
  T17 = primitive_cast_raw_as_integer(T16);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:283
  T18 = SLOT_VALUE_INITD(x_, 8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:283
  T19 = SLOT_VALUE_INITD(y_, 8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:283
  T20 = primitive_cast_integer_as_raw(T18);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:283
  T21 = primitive_cast_integer_as_raw(T19);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:283
  T22 = primitive_machine_word_logxor(T21,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:283
  T23 = primitive_machine_word_subtract_signal_overflow(T20,T22);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:283
  T24 = primitive_cast_raw_as_integer(T23);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:281
  T25.vector_element_[0] = IKJdays_;
  T25.vector_element_[1] = T12;
  T25.vector_element_[2] = IKJseconds_;
  T25.vector_element_[3] = T17;
  T25.vector_element_[4] = IKJmicroseconds_;
  T25.vector_element_[5] = T24;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:281
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T7_0 = CONGRUENT_CALL2(&KLdayStime_durationGYdateVsystem, &T25);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:280
  MV_SET_COUNT(1);
  return(T7_0);
}

D K_VKdMsystemM1I (D x_, D y_) {
  volatile D T3;
  volatile D T4;
  volatile D T5;
  volatile DWORD T6;
  volatile DWORD T7;
  volatile DWORD T8;
  volatile DWORD T9;
  volatile D T10;
  volatile D T11;
  volatile D T12;
  volatile D Uunwind_exceptionUPexit_4_;
  volatile D Uoriginal_handlersU_;
  volatile D T15;
  volatile D T16;
  volatile D T17;
  volatile D T18;
  volatile D T19;
  volatile DWORD T20;
  volatile DWORD T21;
  volatile D T22;
  volatile D T23;
  volatile DWORD T24;
  volatile DWORD T25_0;
  volatile DWORD T25_1;
  volatile DWORD quotientF26;
  volatile DWORD remainderF27;
  volatile DWORD T28;
  volatile DWORD T29;
  volatile DWORD T30;
  volatile DWORD T31;
  volatile D T32;
  volatile D T33;
  volatile DWORD T34;
  volatile DWORD T35;
  volatile D T36;
  volatile D T37;
  volatile D T38;
  volatile D T39;
  volatile DWORD T40;
  volatile DWORD T41;
  volatile D T42;
  volatile D T43;
  volatile D T44;
  volatile _KLsimple_object_vectorGVKd_4 T45 = {&KLsimple_object_vectorGVKdW, (D) 17};
  volatile D T46;
  volatile _KLsimple_object_vectorGVKd_8 T47 = {&KLsimple_object_vectorGVKdW, (D) 33};
  volatile D T48_0;
  volatile D T49;
  volatile D T50;
  volatile D T51;
  volatile D T52;
  volatile D T53;
  volatile _KLsimple_object_vectorGVKd_6 T54 = {&KLsimple_object_vectorGVKdW, (D) 25};
  volatile D T55;
  volatile D T56;
  volatile DWORD T57;
  volatile DWORD T58;
  volatile DWORD T59;
  volatile DWORD T60;
  volatile D T61;
  volatile D T62;
  volatile D T63;
  volatile DWORD T64;
  volatile DWORD T65;
  volatile DWORD T66;
  volatile DWORD T67;
  volatile D T68;
  volatile D T69;
  volatile D T70;
  volatile DWORD T71;
  volatile DWORD T72;
  volatile DWORD T73;
  volatile DWORD T74;
  volatile D T75;
  volatile D T76;
  volatile D T77;
  volatile D T78;
  volatile D T79;
  volatile D T80;
  volatile D T81;
  volatile D T82;
  volatile D T83;
  volatile D T84;
  volatile D T85_0;
  volatile D T86;
  volatile DWORD T87;
  volatile D T88;
  volatile D T89;
  volatile DWORD T90;
  volatile D T91;
  volatile D T92;
  volatile DWORD T93;
  volatile DWORD T94;
  volatile DWORD T95_0;
  volatile DWORD T95_1;
  volatile DWORD quotientF96;
  volatile DWORD remainderF97;
  volatile DWORD T98;
  volatile DWORD T99;
  volatile DWORD T100;
  volatile D T101;
  volatile D T102;
  volatile DWORD T103;
  volatile DWORD T104;
  volatile D T105;
  volatile D T106;
  volatile DWORD T107;
  volatile D T108;
  volatile D T109;
  volatile DWORD T110;
  volatile D T111;
  volatile D T112;
  volatile DWORD T113;
  volatile DWORD T114;
  volatile DWORD T115_0;
  volatile DWORD T115_1;
  volatile DWORD quotientF116;
  volatile DWORD remainderF117;
  volatile DWORD T118;
  volatile DWORD T119;
  volatile DWORD T120;
  volatile D T121;
  volatile D T122;
  volatile DWORD T123;
  volatile DWORD T124;
  volatile D T125;
  volatile D T126;
  volatile DWORD T127;
  volatile D T128;
  volatile D T129;
  volatile DWORD T130;
  volatile D T131;
  volatile D T132;
  volatile DWORD T133;
  volatile DWORD T134;
  volatile DWORD T135_0;
  volatile DWORD T135_1;
  volatile DWORD quotientF136;
  volatile DWORD remainderF137;
  volatile DWORD T138;
  volatile DWORD T139;
  volatile DWORD T140;
  volatile D T141;
  volatile D T142;
  volatile DWORD T143;
  volatile DWORD T144;
  volatile D T145;
  volatile D T146;
  volatile DWORD T147;
  volatile D T148;
  volatile D T149;
  volatile DWORD T150;
  volatile D T151;
  volatile D T152;
  volatile DWORD T153;
  volatile DWORD T154;
  volatile DWORD T155_0;
  volatile DWORD T155_1;
  volatile DWORD quotientF156;
  volatile DWORD remainderF157;
  volatile DWORD T158;
  volatile DWORD T159;
  volatile DWORD T160;
  volatile D T161;
  volatile D T162;
  volatile DWORD T163;
  volatile DWORD T164;
  volatile D T165;
  volatile D T166;
  volatile D T167;
  volatile D T168;
  volatile DWORD T169;
  volatile DWORD T170;
  volatile D T171;
  volatile D T172;
  volatile D T173;
  volatile D T174;
  volatile DWORD T175;
  volatile DWORD T176;
  volatile DWORD T177;
  volatile DWORD T178;
  volatile D T179;
  volatile D T180;
  volatile DWORD T181;
  volatile D T182;
  volatile D T183;
  volatile DWORD T184;
  volatile DWORD T185;
  volatile D T186;
  volatile D T187;
  volatile DWORD T188;
  volatile DWORD T189;
  volatile D T190;
  volatile D T191;
  volatile DWORD T192;
  volatile D T193;
  volatile D T194;
  volatile DWORD T195;
  volatile D T196;
  volatile D T197;
  volatile DWORD T198;
  volatile DWORD T199;
  volatile D T200;
  volatile D T201;
  volatile DWORD T202;
  volatile DWORD T203;
  volatile D T204;
  volatile D T205;
  volatile D T206;
  volatile D T207;
  volatile DWORD T208;
  volatile DWORD T209;
  volatile DWORD T210;
  volatile DWORD T211;
  volatile D T212;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:286
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:287
  T3 = Kclone_dateYsystem_internalsVsystemI(x_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:288
  T4 = SLOT_VALUE(T3, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:288
  T5 = SLOT_VALUE_INITD(y_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:288
  T6 = primitive_cast_integer_as_raw(T4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:288
  T7 = primitive_cast_integer_as_raw(T5);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:288
  T8 = primitive_machine_word_logxor(T7,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:288
  T9 = primitive_machine_word_subtract_signal_overflow(T6,T8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:288
  T10 = primitive_cast_raw_as_integer(T9);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:288
  SLOT_VALUE_SETTER(T10, T3, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  T19 = SLOT_VALUE(T3, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  T20 = primitive_cast_integer_as_raw(T19);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  T21 = primitive_machine_word_subtract_signal_overflow(T20,4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  T22 = primitive_machine_word_less_thanQ(-3,T21);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  if (T22 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
    T23 = primitive_machine_word_less_thanQ(T21,49);
    T11 = T23;
  } else {
    T11 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  if (T11 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
    T24 = primitive_machine_word_shift_right(T21,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
    T25_0 = primitive_machine_word_floorS_byref(T24,12,(DWORD*)&T25_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
    quotientF26 = T25_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
    remainderF27 = T25_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
    T28 = primitive_machine_word_shift_left_signal_overflow(quotientF26,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
    T29 = primitive_machine_word_shift_left_signal_overflow(remainderF27,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
    T30 = primitive_machine_word_logior(T29,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
    T31 = primitive_machine_word_add_signal_overflow(T30,4);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
    T32 = primitive_cast_raw_as_integer(T31);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
    SLOT_VALUE_SETTER(T32, T3, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
    T33 = SLOT_VALUE(T3, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
    T34 = primitive_cast_integer_as_raw(T33);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
    T35 = primitive_machine_word_add_signal_overflow(T34,T28);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
    T36 = primitive_cast_raw_as_integer(T35);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
    SLOT_VALUE_SETTER(T36, T3, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  T37 = SLOT_VALUE(T3, 4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  T38 = SLOT_VALUE(T3, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  T39 = SLOT_VALUE(T3, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  T12 = Kdays_in_monthYsystem_internalsVsystemI(T38, T39);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  T40 = primitive_cast_integer_as_raw(T12);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  T41 = primitive_cast_integer_as_raw(T37);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  T42 = primitive_machine_word_less_thanQ(T40,T41);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  if (T42 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
    ENTER_EXIT_FRAME(Uunwind_exceptionUPexit_4_);
    if (nlx_setjmp(FRAME_DEST(Uunwind_exceptionUPexit_4_))) {
    } else {
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
      Uoriginal_handlersU_ = primitive_read_thread_variable(Tcurrent_handlersTVKi);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
      T15 = MAKE_CLOSURE_INITD(&KUhandler_functionUF114, 3, Uoriginal_handlersU_, Uunwind_exceptionUPexit_4_, T3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
      T43 = SLOT_VALUE(T3, 2);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
      T44 = SLOT_VALUE(T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
      T45.vector_element_[0] = IKJyear_;
      T45.vector_element_[1] = T43;
      T45.vector_element_[2] = IKJmonth_;
      T45.vector_element_[3] = T44;
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
      T46 = primitive_copy_vector(&T45);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
      T47.vector_element_[0] = &KJtype_;
      T47.vector_element_[1] = &KLdate_arithmetic_use_last_valid_dayGYdateVsystem;
      T47.vector_element_[2] = &KJfunction_;
      T47.vector_element_[3] = T15;
      T47.vector_element_[4] = &KJtest_;
      T47.vector_element_[5] = &KPfalseVKi;
      T47.vector_element_[6] = &KJinit_arguments_;
      T47.vector_element_[7] = T46;
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
      T48_0 = KLhandlerGZ32ZconstructorVKiMM0I(&KLhandlerGVKi, &T47, &KLdate_arithmetic_use_last_valid_dayGYdateVsystem, T15, &KPfalseVKi, T46);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
      T49 = T48_0;
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
      T16 = primitive_read_thread_variable(Tcurrent_handlersTVKi);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
      T50 = primitive_object_allocate_filled(3,&KLpairGVKdW,2,&KPunboundVKi,0,0,&KPunboundVKi);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
      SLOT_VALUE_SETTER(T49, T50, 0);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
      SLOT_VALUE_SETTER(T16, T50, 1);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
      primitive_write_thread_variable(Tcurrent_handlersTVKi, T50);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
      ENTER_UNWIND_FRAME(T17);
      if (!nlx_setjmp(FRAME_DEST(T17))) {
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
        T51 = SLOT_VALUE(T3, 2);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
        T52 = SLOT_VALUE(T3, 3);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
        T53 = SLOT_VALUE(T3, 4);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
        T54.vector_element_[0] = IKJyear_;
        T54.vector_element_[1] = T51;
        T54.vector_element_[2] = IKJmonth_;
        T54.vector_element_[3] = T52;
        T54.vector_element_[4] = IKJday_;
        T54.vector_element_[5] = T53;
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
        CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
        T18 = CONGRUENT_CALL2(&KLdate_arithmetic_invalid_dayGYdateVsystem, &T54);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
        KsignalVKdMM0I(T18, &KPempty_vectorVKi);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
        FALL_THROUGH_UNWIND(&KPfalseVKi);
      }
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
      primitive_write_thread_variable(Tcurrent_handlersTVKi, Uoriginal_handlersU_);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
      CONTINUE_UNWIND();
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
      /* invalidate Uunwind_exceptionUPexit_4_ */
    }
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:290
  T55 = SLOT_VALUE(T3, 4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:290
  T56 = SLOT_VALUE_INITD(y_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:290
  T57 = primitive_cast_integer_as_raw(T55);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:290
  T58 = primitive_cast_integer_as_raw(T56);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:290
  T59 = primitive_machine_word_logxor(T58,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:290
  T60 = primitive_machine_word_subtract_signal_overflow(T57,T59);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:290
  T61 = primitive_cast_raw_as_integer(T60);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:290
  SLOT_VALUE_SETTER(T61, T3, 4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:291
  T62 = SLOT_VALUE_INITD(T3, 7);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:291
  T63 = SLOT_VALUE_INITD(y_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:291
  T64 = primitive_cast_integer_as_raw(T62);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:291
  T65 = primitive_cast_integer_as_raw(T63);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:291
  T66 = primitive_machine_word_logxor(T65,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:291
  T67 = primitive_machine_word_subtract_signal_overflow(T64,T66);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:291
  T68 = primitive_cast_raw_as_integer(T67);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:291
  SLOT_VALUE_SETTER(T68, T3, 7);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:292
  T69 = SLOT_VALUE_INITD(T3, 8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:292
  T70 = SLOT_VALUE_INITD(y_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:292
  T71 = primitive_cast_integer_as_raw(T69);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:292
  T72 = primitive_cast_integer_as_raw(T70);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:292
  T73 = primitive_machine_word_logxor(T72,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:292
  T74 = primitive_machine_word_subtract_signal_overflow(T71,T73);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:292
  T75 = primitive_cast_raw_as_integer(T74);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:292
  SLOT_VALUE_SETTER(T75, T3, 8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  T86 = SLOT_VALUE_INITD(T3, 8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  T87 = primitive_cast_integer_as_raw(T86);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  T88 = primitive_machine_word_less_thanQ(-3,T87);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  if (T88 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T89 = SLOT_VALUE_INITD(T3, 8);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T90 = primitive_cast_integer_as_raw(T89);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T91 = primitive_machine_word_less_thanQ(T90,4000001);
    T76 = T91;
  } else {
    T76 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  if (T76 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T92 = SLOT_VALUE_INITD(T3, 8);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T93 = primitive_cast_integer_as_raw(T92);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T94 = primitive_machine_word_shift_right(T93,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T95_0 = primitive_machine_word_floorS_byref(T94,1000000,(DWORD*)&T95_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    quotientF96 = T95_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    remainderF97 = T95_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T98 = primitive_machine_word_shift_left_signal_overflow(quotientF96,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T99 = primitive_machine_word_shift_left_signal_overflow(remainderF97,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T100 = primitive_machine_word_logior(T99,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T101 = primitive_cast_raw_as_integer(T100);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    SLOT_VALUE_SETTER(T101, T3, 8);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T102 = SLOT_VALUE_INITD(T3, 7);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T103 = primitive_cast_integer_as_raw(T102);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T104 = primitive_machine_word_add_signal_overflow(T103,T98);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T105 = primitive_cast_raw_as_integer(T104);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    SLOT_VALUE_SETTER(T105, T3, 7);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  T106 = SLOT_VALUE_INITD(T3, 7);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  T107 = primitive_cast_integer_as_raw(T106);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  T108 = primitive_machine_word_less_thanQ(-3,T107);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  if (T108 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T109 = SLOT_VALUE_INITD(T3, 7);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T110 = primitive_cast_integer_as_raw(T109);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T111 = primitive_machine_word_less_thanQ(T110,241);
    T77 = T111;
  } else {
    T77 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  if (T77 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T112 = SLOT_VALUE_INITD(T3, 7);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T113 = primitive_cast_integer_as_raw(T112);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T114 = primitive_machine_word_shift_right(T113,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T115_0 = primitive_machine_word_floorS_byref(T114,60,(DWORD*)&T115_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    quotientF116 = T115_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    remainderF117 = T115_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T118 = primitive_machine_word_shift_left_signal_overflow(quotientF116,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T119 = primitive_machine_word_shift_left_signal_overflow(remainderF117,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T120 = primitive_machine_word_logior(T119,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T121 = primitive_cast_raw_as_integer(T120);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    SLOT_VALUE_SETTER(T121, T3, 7);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T122 = SLOT_VALUE_INITD(T3, 6);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T123 = primitive_cast_integer_as_raw(T122);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T124 = primitive_machine_word_add_signal_overflow(T123,T118);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T125 = primitive_cast_raw_as_integer(T124);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    SLOT_VALUE_SETTER(T125, T3, 6);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  T126 = SLOT_VALUE_INITD(T3, 6);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  T127 = primitive_cast_integer_as_raw(T126);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  T128 = primitive_machine_word_less_thanQ(-3,T127);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  if (T128 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T129 = SLOT_VALUE_INITD(T3, 6);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T130 = primitive_cast_integer_as_raw(T129);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T131 = primitive_machine_word_less_thanQ(T130,241);
    T78 = T131;
  } else {
    T78 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  if (T78 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T132 = SLOT_VALUE_INITD(T3, 6);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T133 = primitive_cast_integer_as_raw(T132);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T134 = primitive_machine_word_shift_right(T133,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T135_0 = primitive_machine_word_floorS_byref(T134,60,(DWORD*)&T135_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    quotientF136 = T135_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    remainderF137 = T135_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T138 = primitive_machine_word_shift_left_signal_overflow(quotientF136,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T139 = primitive_machine_word_shift_left_signal_overflow(remainderF137,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T140 = primitive_machine_word_logior(T139,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T141 = primitive_cast_raw_as_integer(T140);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    SLOT_VALUE_SETTER(T141, T3, 6);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T142 = SLOT_VALUE_INITD(T3, 5);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T143 = primitive_cast_integer_as_raw(T142);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T144 = primitive_machine_word_add_signal_overflow(T143,T138);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T145 = primitive_cast_raw_as_integer(T144);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    SLOT_VALUE_SETTER(T145, T3, 5);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  T146 = SLOT_VALUE_INITD(T3, 5);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  T147 = primitive_cast_integer_as_raw(T146);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  T148 = primitive_machine_word_less_thanQ(-3,T147);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  if (T148 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T149 = SLOT_VALUE_INITD(T3, 5);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T150 = primitive_cast_integer_as_raw(T149);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T151 = primitive_machine_word_less_thanQ(T150,97);
    T79 = T151;
  } else {
    T79 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  if (T79 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T152 = SLOT_VALUE_INITD(T3, 5);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T153 = primitive_cast_integer_as_raw(T152);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T154 = primitive_machine_word_shift_right(T153,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T155_0 = primitive_machine_word_floorS_byref(T154,24,(DWORD*)&T155_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    quotientF156 = T155_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    remainderF157 = T155_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T158 = primitive_machine_word_shift_left_signal_overflow(quotientF156,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T159 = primitive_machine_word_shift_left_signal_overflow(remainderF157,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T160 = primitive_machine_word_logior(T159,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T161 = primitive_cast_raw_as_integer(T160);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    SLOT_VALUE_SETTER(T161, T3, 5);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T162 = SLOT_VALUE(T3, 4);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T163 = primitive_cast_integer_as_raw(T162);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T164 = primitive_machine_word_add_signal_overflow(T163,T158);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T165 = primitive_cast_raw_as_integer(T164);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    SLOT_VALUE_SETTER(T165, T3, 4);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
L0: ;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T166 = SLOT_VALUE(T3, 4);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T167 = SLOT_VALUE(T3, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T168 = SLOT_VALUE(T3, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T82 = Kdays_in_monthYsystem_internalsVsystemI(T167, T168);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T169 = primitive_cast_integer_as_raw(T82);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T170 = primitive_cast_integer_as_raw(T166);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T171 = primitive_machine_word_less_thanQ(T169,T170);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    if (T171 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T172 = SLOT_VALUE(T3, 4);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T173 = SLOT_VALUE(T3, 2);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T174 = SLOT_VALUE(T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T80 = Kdays_in_monthYsystem_internalsVsystemI(T173, T174);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T175 = primitive_cast_integer_as_raw(T172);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T176 = primitive_cast_integer_as_raw(T80);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T177 = primitive_machine_word_logxor(T176,1);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T178 = primitive_machine_word_subtract_signal_overflow(T175,T177);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T179 = primitive_cast_raw_as_integer(T178);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      SLOT_VALUE_SETTER(T179, T3, 4);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T180 = SLOT_VALUE(T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T181 = primitive_cast_integer_as_raw(T180);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T182 = primitive_machine_word_equalQ(T181,49);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      if (T182 != &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
        T183 = SLOT_VALUE(T3, 2);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
        T184 = primitive_cast_integer_as_raw(T183);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
        T185 = primitive_machine_word_add_signal_overflow(T184,4);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
        T186 = primitive_cast_raw_as_integer(T185);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
        SLOT_VALUE_SETTER(T186, T3, 2);
        T81 = (D) 5;
      } else {
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
        T187 = SLOT_VALUE(T3, 3);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
        T188 = primitive_cast_integer_as_raw(T187);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
        T189 = primitive_machine_word_add_signal_overflow(T188,4);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
        T190 = primitive_cast_raw_as_integer(T189);
        T81 = T190;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      SLOT_VALUE_SETTER(T81, T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      goto L0;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
L1: ;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T191 = SLOT_VALUE(T3, 4);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T192 = primitive_cast_integer_as_raw(T191);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    T193 = primitive_machine_word_less_thanQ(T192,5);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    if (T193 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T194 = SLOT_VALUE(T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T195 = primitive_cast_integer_as_raw(T194);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T196 = primitive_machine_word_equalQ(T195,5);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      if (T196 != &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
        T197 = SLOT_VALUE(T3, 2);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
        T198 = primitive_cast_integer_as_raw(T197);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
        T199 = primitive_machine_word_subtract_signal_overflow(T198,4);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
        T200 = primitive_cast_raw_as_integer(T199);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
        SLOT_VALUE_SETTER(T200, T3, 2);
        T83 = (D) 49;
      } else {
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
        T201 = SLOT_VALUE(T3, 3);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
        T202 = primitive_cast_integer_as_raw(T201);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
        T203 = primitive_machine_word_subtract_signal_overflow(T202,4);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
        T204 = primitive_cast_raw_as_integer(T203);
        T83 = T204;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      SLOT_VALUE_SETTER(T83, T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T205 = SLOT_VALUE(T3, 4);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T206 = SLOT_VALUE(T3, 2);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T207 = SLOT_VALUE(T3, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T84 = Kdays_in_monthYsystem_internalsVsystemI(T206, T207);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T208 = primitive_cast_integer_as_raw(T205);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T209 = primitive_cast_integer_as_raw(T84);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T210 = primitive_machine_word_logxor(T209,1);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T211 = primitive_machine_word_add_signal_overflow(T208,T210);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      T212 = primitive_cast_raw_as_integer(T211);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      SLOT_VALUE_SETTER(T212, T3, 4);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
      goto L1;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:293
  T85_0 = T3;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:286
  MV_SET_COUNT(1);
  return(T85_0);
}

D KTVKdMsystemM0I (D x_, D y_) {
  D T3;
  D new_;
  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;
  D UtmpF19;
  D UtmpF20;
  D T21;
  DSINT T22;
  DSINT T23;
  D UtmpF24;
  D UtmpF25;
  D T26;
  DSINT T27;
  DSINT T28;
  D T29_0;
  D T30;
  DWORD T31;
  D T32;
  D T33;
  DWORD T34;
  D T35;
  D T36;
  DWORD T37;
  DWORD T38;
  DWORD T39_0;
  DWORD T39_1;
  DWORD quotientF40;
  DWORD remainderF41;
  DWORD T42;
  DWORD T43;
  DWORD T44;
  D T45;
  D T46;
  DWORD T47;
  DWORD T48;
  D T49;
  D T50;
  DWORD T51;
  D T52;
  D T53;
  DWORD T54;
  D T55;
  D T56;
  DWORD T57;
  DWORD T58;
  DWORD T59_0;
  DWORD T59_1;
  DWORD quotientF60;
  DWORD remainderF61;
  DWORD T62;
  DWORD T63;
  DWORD T64;
  D T65;
  D T66;
  DWORD T67;
  DWORD T68;
  D T69;
  D T70;
  DWORD T71;
  D T72;
  D T73;
  DWORD T74;
  D T75;
  D T76;
  DWORD T77;
  D T78;
  D T79;
  DWORD T80;
  D T81;
  D T82;
  DWORD T83;
  D T84;
  D T85;
  DWORD T86;
  DWORD T87;
  DWORD T88;
  D T89;
  D T90;
  DWORD T91;
  DWORD T92;
  DWORD T93;
  D T94;
  D T95;
  DWORD T96;
  D T97;
  D T98;
  DWORD T99;
  D T100;
  D T101;
  DWORD T102;
  D T103;
  D T104;
  DWORD T105;
  D T106;
  D T107;
  DWORD T108;
  D T109;
  D T110;
  DWORD T111;
  DWORD T112;
  DWORD T113;
  D T114;
  D T115;
  DWORD T116;
  DWORD T117;
  DWORD T118;
  D T119;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:346
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  CONGRUENT_CALL_PROLOG(&Kclone_durationYsystem_internalsVsystem, 1);
  T3 = CONGRUENT_CALL1(x_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  primitive_type_check(T3, &KLdurationGYdateVsystem);
  new_ = T3;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T13 = SLOT_VALUE_INITD(new_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  CONGRUENT_CALL_PROLOG(&KTVKd, 2);
  T5 = CONGRUENT_CALL2(y_, T13);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T6 = CALL1(&KroundVKd, T5);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  SLOT_VALUE_SETTER(T6, new_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T14 = SLOT_VALUE_INITD(new_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  CONGRUENT_CALL_PROLOG(&KTVKd, 2);
  T7 = CONGRUENT_CALL2(y_, T14);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T8 = CALL1(&KroundVKd, T7);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  SLOT_VALUE_SETTER(T8, new_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T15 = SLOT_VALUE_INITD(new_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  CONGRUENT_CALL_PROLOG(&KTVKd, 2);
  T9 = CONGRUENT_CALL2(y_, T15);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T10 = CALL1(&KroundVKd, T9);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  SLOT_VALUE_SETTER(T10, new_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T16 = SLOT_VALUE_INITD(new_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  CONGRUENT_CALL_PROLOG(&KTVKd, 2);
  T11 = CONGRUENT_CALL2(y_, T16);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T12 = CALL1(&KroundVKd, T11);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  SLOT_VALUE_SETTER(T12, new_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T30 = SLOT_VALUE_INITD(new_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T31 = primitive_cast_integer_as_raw(T30);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T32 = primitive_machine_word_less_thanQ(-3999999,T31);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  if (T32 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T33 = SLOT_VALUE_INITD(new_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T34 = primitive_cast_integer_as_raw(T33);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T35 = primitive_machine_word_less_thanQ(T34,4000001);
    T17 = T35;
  } else {
    T17 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  if (T17 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T36 = SLOT_VALUE_INITD(new_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T37 = primitive_cast_integer_as_raw(T36);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T38 = primitive_machine_word_shift_right(T37,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T39_0 = primitive_machine_word_floorS_byref(T38,1000000,(DWORD*)&T39_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    quotientF40 = T39_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    remainderF41 = T39_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T42 = primitive_machine_word_shift_left_signal_overflow(quotientF40,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T43 = primitive_machine_word_shift_left_signal_overflow(remainderF41,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T44 = primitive_machine_word_logior(T43,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T45 = primitive_cast_raw_as_integer(T44);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    SLOT_VALUE_SETTER(T45, new_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T46 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T47 = primitive_cast_integer_as_raw(T46);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T48 = primitive_machine_word_add_signal_overflow(T47,T42);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T49 = primitive_cast_raw_as_integer(T48);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    SLOT_VALUE_SETTER(T49, new_, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T50 = SLOT_VALUE_INITD(new_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T51 = primitive_cast_integer_as_raw(T50);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T52 = primitive_machine_word_less_thanQ(-345599,T51);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  if (T52 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T53 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T54 = primitive_cast_integer_as_raw(T53);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T55 = primitive_machine_word_less_thanQ(T54,345601);
    T18 = T55;
  } else {
    T18 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  if (T18 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T56 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T57 = primitive_cast_integer_as_raw(T56);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T58 = primitive_machine_word_shift_right(T57,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T59_0 = primitive_machine_word_floorS_byref(T58,86400,(DWORD*)&T59_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    quotientF60 = T59_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    remainderF61 = T59_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T62 = primitive_machine_word_shift_left_signal_overflow(quotientF60,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T63 = primitive_machine_word_shift_left_signal_overflow(remainderF61,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T64 = primitive_machine_word_logior(T63,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T65 = primitive_cast_raw_as_integer(T64);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    SLOT_VALUE_SETTER(T65, new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T66 = SLOT_VALUE_INITD(new_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T67 = primitive_cast_integer_as_raw(T66);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T68 = primitive_machine_word_add_signal_overflow(T67,T62);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T69 = primitive_cast_raw_as_integer(T68);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    SLOT_VALUE_SETTER(T69, new_, 1);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T70 = SLOT_VALUE_INITD(new_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T71 = primitive_cast_integer_as_raw(T70);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T72 = primitive_machine_word_less_thanQ(T71,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T73 = SLOT_VALUE_INITD(new_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T74 = primitive_cast_integer_as_raw(T73);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T75 = primitive_machine_word_less_thanQ(T74,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  CONGRUENT_CALL_PROLOG(&KEVKd, 2);
  UtmpF19 = CONGRUENT_CALL2(T72, T75);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  if (UtmpF19 != &KPfalseVKi) {
    UtmpF20 = UtmpF19;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T76 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T77 = primitive_cast_integer_as_raw(T76);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T78 = primitive_machine_word_equalQ(T77,1);
    UtmpF20 = T78;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  if (UtmpF20 != &KPfalseVKi) {
    T21 = UtmpF20;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T79 = SLOT_VALUE_INITD(new_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T80 = primitive_cast_integer_as_raw(T79);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T81 = primitive_machine_word_equalQ(T80,1);
    T21 = T81;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  if (T21 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T82 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T83 = primitive_cast_integer_as_raw(T82);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T84 = primitive_machine_word_less_thanQ(T83,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T85 = SLOT_VALUE_INITD(new_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    if (T84 != &KPfalseVKi) {
      T22 = -3;
    } else {
      T22 = 5;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T86 = primitive_cast_integer_as_raw(T85);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T87 = primitive_machine_word_logxor(T22,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T88 = primitive_machine_word_add_signal_overflow(T86,T87);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T89 = primitive_cast_raw_as_integer(T88);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    SLOT_VALUE_SETTER(T89, new_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T90 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    if (T84 != &KPfalseVKi) {
      T23 = 345601;
    } else {
      T23 = -345599;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T91 = primitive_cast_integer_as_raw(T90);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T92 = primitive_machine_word_logxor(T23,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T93 = primitive_machine_word_add_signal_overflow(T91,T92);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T94 = primitive_cast_raw_as_integer(T93);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    SLOT_VALUE_SETTER(T94, new_, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T95 = SLOT_VALUE_INITD(new_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T96 = primitive_cast_integer_as_raw(T95);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T97 = primitive_machine_word_less_thanQ(T96,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T98 = SLOT_VALUE_INITD(new_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T99 = primitive_cast_integer_as_raw(T98);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T100 = primitive_machine_word_less_thanQ(T99,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  CONGRUENT_CALL_PROLOG(&KEVKd, 2);
  UtmpF24 = CONGRUENT_CALL2(T97, T100);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  if (UtmpF24 != &KPfalseVKi) {
    UtmpF25 = UtmpF24;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T101 = SLOT_VALUE_INITD(new_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T102 = primitive_cast_integer_as_raw(T101);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T103 = primitive_machine_word_equalQ(T102,1);
    UtmpF25 = T103;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  if (UtmpF25 != &KPfalseVKi) {
    T26 = UtmpF25;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T104 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T105 = primitive_cast_integer_as_raw(T104);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T106 = primitive_machine_word_equalQ(T105,1);
    T26 = T106;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  if (T26 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T107 = SLOT_VALUE_INITD(new_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T108 = primitive_cast_integer_as_raw(T107);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T109 = primitive_machine_word_less_thanQ(T108,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T110 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    if (T109 != &KPfalseVKi) {
      T27 = -3;
    } else {
      T27 = 5;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T111 = primitive_cast_integer_as_raw(T110);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T112 = primitive_machine_word_logxor(T27,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T113 = primitive_machine_word_add_signal_overflow(T111,T112);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T114 = primitive_cast_raw_as_integer(T113);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    SLOT_VALUE_SETTER(T114, new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T115 = SLOT_VALUE_INITD(new_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    if (T109 != &KPfalseVKi) {
      T28 = 4000001;
    } else {
      T28 = -3999999;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T116 = primitive_cast_integer_as_raw(T115);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T117 = primitive_machine_word_logxor(T28,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T118 = primitive_machine_word_add_signal_overflow(T116,T117);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    T119 = primitive_cast_raw_as_integer(T118);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
    SLOT_VALUE_SETTER(T119, new_, 3);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:347
  T29_0 = new_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:346
  MV_SET_COUNT(1);
  return(T29_0);
}

D KTVKdMsystemM1I (D x_, D y_) {
  D T3;
  D new_;
  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;
  D UtmpF19;
  D UtmpF20;
  D T21;
  DSINT T22;
  DSINT T23;
  D UtmpF24;
  D UtmpF25;
  D T26;
  DSINT T27;
  DSINT T28;
  D T29_0;
  D T30;
  DWORD T31;
  D T32;
  D T33;
  DWORD T34;
  D T35;
  D T36;
  DWORD T37;
  DWORD T38;
  DWORD T39_0;
  DWORD T39_1;
  DWORD quotientF40;
  DWORD remainderF41;
  DWORD T42;
  DWORD T43;
  DWORD T44;
  D T45;
  D T46;
  DWORD T47;
  DWORD T48;
  D T49;
  D T50;
  DWORD T51;
  D T52;
  D T53;
  DWORD T54;
  D T55;
  D T56;
  DWORD T57;
  DWORD T58;
  DWORD T59_0;
  DWORD T59_1;
  DWORD quotientF60;
  DWORD remainderF61;
  DWORD T62;
  DWORD T63;
  DWORD T64;
  D T65;
  D T66;
  DWORD T67;
  DWORD T68;
  D T69;
  D T70;
  DWORD T71;
  D T72;
  D T73;
  DWORD T74;
  D T75;
  D T76;
  DWORD T77;
  D T78;
  D T79;
  DWORD T80;
  D T81;
  D T82;
  DWORD T83;
  D T84;
  D T85;
  DWORD T86;
  DWORD T87;
  DWORD T88;
  D T89;
  D T90;
  DWORD T91;
  DWORD T92;
  DWORD T93;
  D T94;
  D T95;
  DWORD T96;
  D T97;
  D T98;
  DWORD T99;
  D T100;
  D T101;
  DWORD T102;
  D T103;
  D T104;
  DWORD T105;
  D T106;
  D T107;
  DWORD T108;
  D T109;
  D T110;
  DWORD T111;
  DWORD T112;
  DWORD T113;
  D T114;
  D T115;
  DWORD T116;
  DWORD T117;
  DWORD T118;
  D T119;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:350
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  CONGRUENT_CALL_PROLOG(&Kclone_durationYsystem_internalsVsystem, 1);
  T3 = CONGRUENT_CALL1(y_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  primitive_type_check(T3, &KLdurationGYdateVsystem);
  new_ = T3;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T13 = SLOT_VALUE_INITD(new_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  CONGRUENT_CALL_PROLOG(&KTVKd, 2);
  T5 = CONGRUENT_CALL2(x_, T13);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T6 = CALL1(&KroundVKd, T5);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  SLOT_VALUE_SETTER(T6, new_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T14 = SLOT_VALUE_INITD(new_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  CONGRUENT_CALL_PROLOG(&KTVKd, 2);
  T7 = CONGRUENT_CALL2(x_, T14);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T8 = CALL1(&KroundVKd, T7);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  SLOT_VALUE_SETTER(T8, new_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T15 = SLOT_VALUE_INITD(new_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  CONGRUENT_CALL_PROLOG(&KTVKd, 2);
  T9 = CONGRUENT_CALL2(x_, T15);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T10 = CALL1(&KroundVKd, T9);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  SLOT_VALUE_SETTER(T10, new_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T16 = SLOT_VALUE_INITD(new_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  CONGRUENT_CALL_PROLOG(&KTVKd, 2);
  T11 = CONGRUENT_CALL2(x_, T16);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T12 = CALL1(&KroundVKd, T11);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  SLOT_VALUE_SETTER(T12, new_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T30 = SLOT_VALUE_INITD(new_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T31 = primitive_cast_integer_as_raw(T30);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T32 = primitive_machine_word_less_thanQ(-3999999,T31);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  if (T32 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T33 = SLOT_VALUE_INITD(new_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T34 = primitive_cast_integer_as_raw(T33);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T35 = primitive_machine_word_less_thanQ(T34,4000001);
    T17 = T35;
  } else {
    T17 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  if (T17 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T36 = SLOT_VALUE_INITD(new_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T37 = primitive_cast_integer_as_raw(T36);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T38 = primitive_machine_word_shift_right(T37,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T39_0 = primitive_machine_word_floorS_byref(T38,1000000,(DWORD*)&T39_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    quotientF40 = T39_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    remainderF41 = T39_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T42 = primitive_machine_word_shift_left_signal_overflow(quotientF40,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T43 = primitive_machine_word_shift_left_signal_overflow(remainderF41,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T44 = primitive_machine_word_logior(T43,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T45 = primitive_cast_raw_as_integer(T44);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    SLOT_VALUE_SETTER(T45, new_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T46 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T47 = primitive_cast_integer_as_raw(T46);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T48 = primitive_machine_word_add_signal_overflow(T47,T42);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T49 = primitive_cast_raw_as_integer(T48);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    SLOT_VALUE_SETTER(T49, new_, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T50 = SLOT_VALUE_INITD(new_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T51 = primitive_cast_integer_as_raw(T50);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T52 = primitive_machine_word_less_thanQ(-345599,T51);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  if (T52 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T53 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T54 = primitive_cast_integer_as_raw(T53);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T55 = primitive_machine_word_less_thanQ(T54,345601);
    T18 = T55;
  } else {
    T18 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  if (T18 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T56 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T57 = primitive_cast_integer_as_raw(T56);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T58 = primitive_machine_word_shift_right(T57,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T59_0 = primitive_machine_word_floorS_byref(T58,86400,(DWORD*)&T59_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    quotientF60 = T59_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    remainderF61 = T59_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T62 = primitive_machine_word_shift_left_signal_overflow(quotientF60,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T63 = primitive_machine_word_shift_left_signal_overflow(remainderF61,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T64 = primitive_machine_word_logior(T63,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T65 = primitive_cast_raw_as_integer(T64);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    SLOT_VALUE_SETTER(T65, new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T66 = SLOT_VALUE_INITD(new_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T67 = primitive_cast_integer_as_raw(T66);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T68 = primitive_machine_word_add_signal_overflow(T67,T62);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T69 = primitive_cast_raw_as_integer(T68);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    SLOT_VALUE_SETTER(T69, new_, 1);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T70 = SLOT_VALUE_INITD(new_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T71 = primitive_cast_integer_as_raw(T70);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T72 = primitive_machine_word_less_thanQ(T71,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T73 = SLOT_VALUE_INITD(new_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T74 = primitive_cast_integer_as_raw(T73);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T75 = primitive_machine_word_less_thanQ(T74,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  CONGRUENT_CALL_PROLOG(&KEVKd, 2);
  UtmpF19 = CONGRUENT_CALL2(T72, T75);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  if (UtmpF19 != &KPfalseVKi) {
    UtmpF20 = UtmpF19;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T76 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T77 = primitive_cast_integer_as_raw(T76);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T78 = primitive_machine_word_equalQ(T77,1);
    UtmpF20 = T78;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  if (UtmpF20 != &KPfalseVKi) {
    T21 = UtmpF20;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T79 = SLOT_VALUE_INITD(new_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T80 = primitive_cast_integer_as_raw(T79);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T81 = primitive_machine_word_equalQ(T80,1);
    T21 = T81;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  if (T21 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T82 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T83 = primitive_cast_integer_as_raw(T82);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T84 = primitive_machine_word_less_thanQ(T83,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T85 = SLOT_VALUE_INITD(new_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    if (T84 != &KPfalseVKi) {
      T22 = -3;
    } else {
      T22 = 5;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T86 = primitive_cast_integer_as_raw(T85);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T87 = primitive_machine_word_logxor(T22,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T88 = primitive_machine_word_add_signal_overflow(T86,T87);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T89 = primitive_cast_raw_as_integer(T88);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    SLOT_VALUE_SETTER(T89, new_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T90 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    if (T84 != &KPfalseVKi) {
      T23 = 345601;
    } else {
      T23 = -345599;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T91 = primitive_cast_integer_as_raw(T90);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T92 = primitive_machine_word_logxor(T23,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T93 = primitive_machine_word_add_signal_overflow(T91,T92);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T94 = primitive_cast_raw_as_integer(T93);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    SLOT_VALUE_SETTER(T94, new_, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T95 = SLOT_VALUE_INITD(new_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T96 = primitive_cast_integer_as_raw(T95);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T97 = primitive_machine_word_less_thanQ(T96,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T98 = SLOT_VALUE_INITD(new_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T99 = primitive_cast_integer_as_raw(T98);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T100 = primitive_machine_word_less_thanQ(T99,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  CONGRUENT_CALL_PROLOG(&KEVKd, 2);
  UtmpF24 = CONGRUENT_CALL2(T97, T100);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  if (UtmpF24 != &KPfalseVKi) {
    UtmpF25 = UtmpF24;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T101 = SLOT_VALUE_INITD(new_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T102 = primitive_cast_integer_as_raw(T101);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T103 = primitive_machine_word_equalQ(T102,1);
    UtmpF25 = T103;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  if (UtmpF25 != &KPfalseVKi) {
    T26 = UtmpF25;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T104 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T105 = primitive_cast_integer_as_raw(T104);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T106 = primitive_machine_word_equalQ(T105,1);
    T26 = T106;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  if (T26 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T107 = SLOT_VALUE_INITD(new_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T108 = primitive_cast_integer_as_raw(T107);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T109 = primitive_machine_word_less_thanQ(T108,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T110 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    if (T109 != &KPfalseVKi) {
      T27 = -3;
    } else {
      T27 = 5;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T111 = primitive_cast_integer_as_raw(T110);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T112 = primitive_machine_word_logxor(T27,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T113 = primitive_machine_word_add_signal_overflow(T111,T112);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T114 = primitive_cast_raw_as_integer(T113);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    SLOT_VALUE_SETTER(T114, new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T115 = SLOT_VALUE_INITD(new_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    if (T109 != &KPfalseVKi) {
      T28 = 4000001;
    } else {
      T28 = -3999999;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T116 = primitive_cast_integer_as_raw(T115);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T117 = primitive_machine_word_logxor(T28,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T118 = primitive_machine_word_add_signal_overflow(T116,T117);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    T119 = primitive_cast_raw_as_integer(T118);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
    SLOT_VALUE_SETTER(T119, new_, 3);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:351
  T29_0 = new_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:350
  MV_SET_COUNT(1);
  return(T29_0);
}

D KSVKdMsystemM0I (D x_, D y_) {
  D T3;
  D new_;
  D T5;
  D T6;
  D T7;
  D T8;
  D T9;
  D T10;
  D T11;
  D T12;
  D T13;
  D T14;
  D UtmpF15;
  D UtmpF16;
  D T17;
  DSINT T18;
  DSINT T19;
  D UtmpF20;
  D UtmpF21;
  D T22;
  DSINT T23;
  DSINT T24;
  D T25_0;
  D T26;
  DWORD T27;
  D T28;
  D T29;
  DWORD T30;
  D T31;
  D T32;
  DWORD T33;
  DWORD T34;
  DWORD T35_0;
  DWORD T35_1;
  DWORD quotientF36;
  DWORD remainderF37;
  DWORD T38;
  DWORD T39;
  DWORD T40;
  D T41;
  D T42;
  DWORD T43;
  DWORD T44;
  D T45;
  D T46;
  DWORD T47;
  D T48;
  D T49;
  DWORD T50;
  D T51;
  D T52;
  DWORD T53;
  DWORD T54;
  DWORD T55_0;
  DWORD T55_1;
  DWORD quotientF56;
  DWORD remainderF57;
  DWORD T58;
  DWORD T59;
  DWORD T60;
  D T61;
  D T62;
  DWORD T63;
  DWORD T64;
  D T65;
  D T66;
  DWORD T67;
  D T68;
  D T69;
  DWORD T70;
  D T71;
  D T72;
  DWORD T73;
  D T74;
  D T75;
  DWORD T76;
  D T77;
  D T78;
  DWORD T79;
  D T80;
  D T81;
  DWORD T82;
  DWORD T83;
  DWORD T84;
  D T85;
  D T86;
  DWORD T87;
  DWORD T88;
  DWORD T89;
  D T90;
  D T91;
  DWORD T92;
  D T93;
  D T94;
  DWORD T95;
  D T96;
  D T97;
  DWORD T98;
  D T99;
  D T100;
  DWORD T101;
  D T102;
  D T103;
  DWORD T104;
  D T105;
  D T106;
  DWORD T107;
  DWORD T108;
  DWORD T109;
  D T110;
  D T111;
  DWORD T112;
  DWORD T113;
  DWORD T114;
  D T115;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:354
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:355
  CONGRUENT_CALL_PROLOG(&Kclone_durationYsystem_internalsVsystem, 1);
  T3 = CONGRUENT_CALL1(x_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:355
  primitive_type_check(T3, &KLdurationGYdateVsystem);
  new_ = T3;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:356
  T9 = SLOT_VALUE_INITD(new_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:356
  T5 = CALL2(&KroundSVKd, T9, y_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:356
  SLOT_VALUE_SETTER(T5, new_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:357
  T10 = SLOT_VALUE_INITD(new_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:357
  T6 = CALL2(&KroundSVKd, T10, y_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:357
  SLOT_VALUE_SETTER(T6, new_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:358
  T11 = SLOT_VALUE_INITD(new_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:358
  T7 = CALL2(&KroundSVKd, T11, y_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:358
  SLOT_VALUE_SETTER(T7, new_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:359
  T12 = SLOT_VALUE_INITD(new_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:359
  T8 = CALL2(&KroundSVKd, T12, y_);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:359
  SLOT_VALUE_SETTER(T8, new_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  T26 = SLOT_VALUE_INITD(new_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  T27 = primitive_cast_integer_as_raw(T26);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  T28 = primitive_machine_word_less_thanQ(-3999999,T27);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  if (T28 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T29 = SLOT_VALUE_INITD(new_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T30 = primitive_cast_integer_as_raw(T29);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T31 = primitive_machine_word_less_thanQ(T30,4000001);
    T13 = T31;
  } else {
    T13 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  if (T13 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T32 = SLOT_VALUE_INITD(new_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T33 = primitive_cast_integer_as_raw(T32);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T34 = primitive_machine_word_shift_right(T33,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T35_0 = primitive_machine_word_floorS_byref(T34,1000000,(DWORD*)&T35_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    quotientF36 = T35_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    remainderF37 = T35_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T38 = primitive_machine_word_shift_left_signal_overflow(quotientF36,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T39 = primitive_machine_word_shift_left_signal_overflow(remainderF37,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T40 = primitive_machine_word_logior(T39,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T41 = primitive_cast_raw_as_integer(T40);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    SLOT_VALUE_SETTER(T41, new_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T42 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T43 = primitive_cast_integer_as_raw(T42);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T44 = primitive_machine_word_add_signal_overflow(T43,T38);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T45 = primitive_cast_raw_as_integer(T44);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    SLOT_VALUE_SETTER(T45, new_, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  T46 = SLOT_VALUE_INITD(new_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  T47 = primitive_cast_integer_as_raw(T46);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  T48 = primitive_machine_word_less_thanQ(-345599,T47);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  if (T48 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T49 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T50 = primitive_cast_integer_as_raw(T49);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T51 = primitive_machine_word_less_thanQ(T50,345601);
    T14 = T51;
  } else {
    T14 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  if (T14 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T52 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T53 = primitive_cast_integer_as_raw(T52);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T54 = primitive_machine_word_shift_right(T53,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T55_0 = primitive_machine_word_floorS_byref(T54,86400,(DWORD*)&T55_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    quotientF56 = T55_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    remainderF57 = T55_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T58 = primitive_machine_word_shift_left_signal_overflow(quotientF56,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T59 = primitive_machine_word_shift_left_signal_overflow(remainderF57,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T60 = primitive_machine_word_logior(T59,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T61 = primitive_cast_raw_as_integer(T60);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    SLOT_VALUE_SETTER(T61, new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T62 = SLOT_VALUE_INITD(new_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T63 = primitive_cast_integer_as_raw(T62);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T64 = primitive_machine_word_add_signal_overflow(T63,T58);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T65 = primitive_cast_raw_as_integer(T64);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    SLOT_VALUE_SETTER(T65, new_, 1);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  T66 = SLOT_VALUE_INITD(new_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  T67 = primitive_cast_integer_as_raw(T66);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  T68 = primitive_machine_word_less_thanQ(T67,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  T69 = SLOT_VALUE_INITD(new_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  T70 = primitive_cast_integer_as_raw(T69);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  T71 = primitive_machine_word_less_thanQ(T70,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  CONGRUENT_CALL_PROLOG(&KEVKd, 2);
  UtmpF15 = CONGRUENT_CALL2(T68, T71);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  if (UtmpF15 != &KPfalseVKi) {
    UtmpF16 = UtmpF15;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T72 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T73 = primitive_cast_integer_as_raw(T72);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T74 = primitive_machine_word_equalQ(T73,1);
    UtmpF16 = T74;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  if (UtmpF16 != &KPfalseVKi) {
    T17 = UtmpF16;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T75 = SLOT_VALUE_INITD(new_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T76 = primitive_cast_integer_as_raw(T75);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T77 = primitive_machine_word_equalQ(T76,1);
    T17 = T77;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  if (T17 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T78 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T79 = primitive_cast_integer_as_raw(T78);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T80 = primitive_machine_word_less_thanQ(T79,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T81 = SLOT_VALUE_INITD(new_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    if (T80 != &KPfalseVKi) {
      T18 = -3;
    } else {
      T18 = 5;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T82 = primitive_cast_integer_as_raw(T81);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T83 = primitive_machine_word_logxor(T18,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T84 = primitive_machine_word_add_signal_overflow(T82,T83);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T85 = primitive_cast_raw_as_integer(T84);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    SLOT_VALUE_SETTER(T85, new_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T86 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    if (T80 != &KPfalseVKi) {
      T19 = 345601;
    } else {
      T19 = -345599;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T87 = primitive_cast_integer_as_raw(T86);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T88 = primitive_machine_word_logxor(T19,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T89 = primitive_machine_word_add_signal_overflow(T87,T88);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T90 = primitive_cast_raw_as_integer(T89);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    SLOT_VALUE_SETTER(T90, new_, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  T91 = SLOT_VALUE_INITD(new_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  T92 = primitive_cast_integer_as_raw(T91);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  T93 = primitive_machine_word_less_thanQ(T92,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  T94 = SLOT_VALUE_INITD(new_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  T95 = primitive_cast_integer_as_raw(T94);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  T96 = primitive_machine_word_less_thanQ(T95,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  CONGRUENT_CALL_PROLOG(&KEVKd, 2);
  UtmpF20 = CONGRUENT_CALL2(T93, T96);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  if (UtmpF20 != &KPfalseVKi) {
    UtmpF21 = UtmpF20;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T97 = SLOT_VALUE_INITD(new_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T98 = primitive_cast_integer_as_raw(T97);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T99 = primitive_machine_word_equalQ(T98,1);
    UtmpF21 = T99;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  if (UtmpF21 != &KPfalseVKi) {
    T22 = UtmpF21;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T100 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T101 = primitive_cast_integer_as_raw(T100);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T102 = primitive_machine_word_equalQ(T101,1);
    T22 = T102;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  if (T22 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T103 = SLOT_VALUE_INITD(new_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T104 = primitive_cast_integer_as_raw(T103);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T105 = primitive_machine_word_less_thanQ(T104,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T106 = SLOT_VALUE_INITD(new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    if (T105 != &KPfalseVKi) {
      T23 = -3;
    } else {
      T23 = 5;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T107 = primitive_cast_integer_as_raw(T106);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T108 = primitive_machine_word_logxor(T23,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T109 = primitive_machine_word_add_signal_overflow(T107,T108);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T110 = primitive_cast_raw_as_integer(T109);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    SLOT_VALUE_SETTER(T110, new_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T111 = SLOT_VALUE_INITD(new_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    if (T105 != &KPfalseVKi) {
      T24 = 4000001;
    } else {
      T24 = -3999999;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T112 = primitive_cast_integer_as_raw(T111);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T113 = primitive_machine_word_logxor(T24,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T114 = primitive_machine_word_add_signal_overflow(T112,T113);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    T115 = primitive_cast_raw_as_integer(T114);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
    SLOT_VALUE_SETTER(T115, new_, 3);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:360
  T25_0 = new_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:354
  MV_SET_COUNT(1);
  return(T25_0);
}

static D KUhandler_functionUF114I (D UdummyU_, D Unext_handlerU_) {
  D T3;
  D T4;
  D all_values_;
  D T6;
  D T7;
  D T8;
  D T9;
  CAPTURE_ENVIRONMENT

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  primitive_write_thread_variable(Tcurrent_handlersTVKi, CREF(0));
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  T6 = SLOT_VALUE(CREF(2), 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  T7 = SLOT_VALUE(CREF(2), 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  T3 = Kdays_in_monthYsystem_internalsVsystemI(T6, T7);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  SLOT_VALUE_SETTER(T3, CREF(2), 4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  T4 = T3;
  MV_SET_ELT(0, T3);
  MV_SET_COUNT(1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  all_values_ = MV_GET_REST_AT(T4, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  T8 = MV_SET_REST_AT(all_values_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  T9 = NLX(CREF(1), T8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:289
  return(T9);
}

D KLdate_arithmetic_invalid_dayGZ32ZconstructorYsystem_internalsVsystemMM0I (D class_, D init_args_, D Uunique_dae_year_, D Uunique_dae_month_, D Uunique_dae_day_) {
  D T6;
  D Uunique_dae_yearF7;
  D T8;
  D Uunique_dae_monthF9;
  D T10;
  D Uunique_dae_yearF11;
  D Uunique_dae_monthF12;
  D Uunique_dae_dayF13;
  D Uunique_dae_dayF14;
  D T15_0;
  D T16;
  _KLsimple_object_vectorGVKd_1 T17 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T18;
  D T19;
  _KLsimple_object_vectorGVKd_1 T20 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T21;
  D T22;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:150
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:150
  T16 = primitive_idQ(Uunique_dae_year_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:150
  if (T16 != &KPfalseVKi) {
    T17.vector_element_[0] = IKJyear_;
    T18 = KerrorVKdMM1I(&K82, &T17);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:150
    T6 = T18;
    Uunique_dae_yearF7 = T6;
  } else {
    Uunique_dae_yearF7 = Uunique_dae_year_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:150
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:150
  T19 = primitive_idQ(Uunique_dae_month_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:150
  if (T19 != &KPfalseVKi) {
    T20.vector_element_[0] = IKJmonth_;
    T21 = KerrorVKdMM1I(&K82, &T20);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:150
    T8 = T21;
    Uunique_dae_monthF9 = T8;
  } else {
    Uunique_dae_monthF9 = Uunique_dae_month_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:150
  T10 = primitive_object_allocate_filled(4,&KLdate_arithmetic_invalid_dayGYdateVsystemW,3,&KPunboundVKi,0,0,&KPunboundVKi);
  primitive_type_check(Uunique_dae_yearF7, &KLintegerGVKd);
  Uunique_dae_yearF11 = Uunique_dae_yearF7;
  SLOT_VALUE_SETTER(Uunique_dae_yearF11, T10, 0);
  primitive_type_check(Uunique_dae_monthF9, &KLintegerGVKd);
  Uunique_dae_monthF12 = Uunique_dae_monthF9;
  SLOT_VALUE_SETTER(Uunique_dae_monthF12, T10, 1);
  T22 = primitive_idQ(Uunique_dae_day_,&KPunboundVKi);
  if (T22 != &KPfalseVKi) {
    Uunique_dae_dayF14 = Uunique_dae_day_;
  } else {
    primitive_type_check(Uunique_dae_day_, &KLintegerGVKd);
    Uunique_dae_dayF13 = Uunique_dae_day_;
    Uunique_dae_dayF14 = Uunique_dae_dayF13;
  }
  SLOT_VALUE_SETTER(Uunique_dae_dayF14, T10, 2);
  APPLY2(&KinitializeVKd, T10, init_args_);
  T15_0 = T10;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:150
  MV_SET_COUNT(1);
  return(T15_0);
}

D KLdate_arithmetic_use_last_valid_dayGZ32ZconstructorYsystem_internalsVsystemMM0I (D class_, D init_args_, D Uunique_dae_year_, D Uunique_dae_month_, D Uunique_dae_day_) {
  D T6;
  D Uunique_dae_yearF7;
  D T8;
  D Uunique_dae_monthF9;
  D T10;
  D Uunique_dae_yearF11;
  D Uunique_dae_monthF12;
  D Uunique_dae_dayF13;
  D Uunique_dae_dayF14;
  D T15_0;
  D T16;
  _KLsimple_object_vectorGVKd_1 T17 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T18;
  D T19;
  _KLsimple_object_vectorGVKd_1 T20 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T21;
  D T22;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:167
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:167
  T16 = primitive_idQ(Uunique_dae_year_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:167
  if (T16 != &KPfalseVKi) {
    T17.vector_element_[0] = IKJyear_;
    T18 = KerrorVKdMM1I(&K82, &T17);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:167
    T6 = T18;
    Uunique_dae_yearF7 = T6;
  } else {
    Uunique_dae_yearF7 = Uunique_dae_year_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:167
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:167
  T19 = primitive_idQ(Uunique_dae_month_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:167
  if (T19 != &KPfalseVKi) {
    T20.vector_element_[0] = IKJmonth_;
    T21 = KerrorVKdMM1I(&K82, &T20);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:167
    T8 = T21;
    Uunique_dae_monthF9 = T8;
  } else {
    Uunique_dae_monthF9 = Uunique_dae_month_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:167
  T10 = primitive_object_allocate_filled(4,&KLdate_arithmetic_use_last_valid_dayGYdateVsystemW,3,&KPunboundVKi,0,0,&KPunboundVKi);
  primitive_type_check(Uunique_dae_yearF7, &KLintegerGVKd);
  Uunique_dae_yearF11 = Uunique_dae_yearF7;
  SLOT_VALUE_SETTER(Uunique_dae_yearF11, T10, 0);
  primitive_type_check(Uunique_dae_monthF9, &KLintegerGVKd);
  Uunique_dae_monthF12 = Uunique_dae_monthF9;
  SLOT_VALUE_SETTER(Uunique_dae_monthF12, T10, 1);
  T22 = primitive_idQ(Uunique_dae_day_,&KPunboundVKi);
  if (T22 != &KPfalseVKi) {
    Uunique_dae_dayF14 = Uunique_dae_day_;
  } else {
    primitive_type_check(Uunique_dae_day_, &KLintegerGVKd);
    Uunique_dae_dayF13 = Uunique_dae_day_;
    Uunique_dae_dayF14 = Uunique_dae_dayF13;
  }
  SLOT_VALUE_SETTER(Uunique_dae_dayF14, T10, 2);
  APPLY2(&KinitializeVKd, T10, init_args_);
  T15_0 = T10;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:167
  MV_SET_COUNT(1);
  return(T15_0);
}

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

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:26
  T3 = primitive_object_allocate_filled(5,&KLdayStime_durationGYdateVsystemW,4,&KPunboundVKi,0,0,&KPunboundVKi);
  SLOT_VALUE_SETTER((D) 1, T3, 0);
  SLOT_VALUE_SETTER((D) 1, T3, 1);
  SLOT_VALUE_SETTER((D) 1, T3, 2);
  SLOT_VALUE_SETTER((D) 1, T3, 3);
  APPLY2(&KinitializeVKd, T3, init_args_);
  T4_0 = T3;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:26
  MV_SET_COUNT(1);
  return(T4_0);
}

static D KUhandler_functionUF176I (D UdummyU_, D Unext_handlerU_) {
  D T3;
  D T4;
  D all_values_;
  D T6;
  D T7;
  D T8;
  D T9;
  CAPTURE_ENVIRONMENT

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  primitive_write_thread_variable(Tcurrent_handlersTVKi, CREF(0));
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T6 = SLOT_VALUE(CREF(2), 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T7 = SLOT_VALUE(CREF(2), 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T3 = Kdays_in_monthYsystem_internalsVsystemI(T6, T7);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  SLOT_VALUE_SETTER(T3, CREF(2), 4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T4 = T3;
  MV_SET_ELT(0, T3);
  MV_SET_COUNT(1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  all_values_ = MV_GET_REST_AT(T4, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T8 = MV_SET_REST_AT(all_values_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  T9 = NLX(CREF(1), T8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:277
  return(T9);
}

static D KUhandler_functionUF181I (D UdummyU_, D Unext_handlerU_) {
  D T3;
  D T4;
  D all_values_;
  D T6;
  D T7;
  D T8;
  D T9;
  CAPTURE_ENVIRONMENT

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  primitive_write_thread_variable(Tcurrent_handlersTVKi, CREF(0));
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T6 = SLOT_VALUE(CREF(2), 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T7 = SLOT_VALUE(CREF(2), 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T3 = Kdays_in_monthYsystem_internalsVsystemI(T6, T7);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  SLOT_VALUE_SETTER(T3, CREF(2), 4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T4 = T3;
  MV_SET_ELT(0, T3);
  MV_SET_COUNT(1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  all_values_ = MV_GET_REST_AT(T4, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T8 = MV_SET_REST_AT(all_values_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  T9 = NLX(CREF(1), T8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:273
  return(T9);
}

D Kdecode_durationYdateVsystemMM0I (D duration_) {
  D T2;
  DWORD T3;
  DWORD T4;
  DWORD T5_0;
  DWORD T5_1;
  DWORD quotient_;
  DWORD remainder_;
  DWORD T8;
  DWORD T9;
  D T10;
  DWORD T11;
  DWORD T12;
  D T13;
  D T14_0;
  D T14_1;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:203
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:205
  T2 = SLOT_VALUE_INITD(duration_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:205
  T3 = primitive_cast_integer_as_raw(T2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:205
  T4 = primitive_machine_word_shift_right(T3,2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:205
  T5_0 = primitive_machine_word_truncateS_byref(T4,12,(DWORD*)&T5_1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:205
  quotient_ = T5_0;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:205
  remainder_ = T5_1;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:205
  T8 = primitive_machine_word_shift_left_signal_overflow(quotient_,2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:205
  T9 = primitive_machine_word_logior(T8,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:205
  T10 = primitive_cast_raw_as_integer(T9);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:205
  T11 = primitive_machine_word_shift_left_signal_overflow(remainder_,2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:205
  T12 = primitive_machine_word_logior(T11,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:205
  T13 = primitive_cast_raw_as_integer(T12);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:205
  T14_0 = T10;
  T14_1 = T13;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:203
  MV_SET_ELT(1, T14_1);
  MV_SET_COUNT(2);
  return(T14_0);
}

D Kdecode_durationYdateVsystemMM1I (D duration_) {
  D T2;
  DWORD T3;
  DWORD T4;
  DWORD T5_0;
  DWORD T5_1;
  DWORD quotientF6;
  DWORD remainderF7;
  DWORD T8;
  DWORD T9;
  D T10;
  DWORD T11_0;
  DWORD T11_1;
  DWORD quotientF12;
  DWORD remainderF13;
  DWORD T14;
  DWORD T15;
  D T16;
  DWORD T17;
  DWORD T18;
  D T19;
  D T20;
  D T21;
  D T22_0;
  D T22_1;
  D T22_2;
  D T22_3;
  D T22_4;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:208
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:211
  T2 = SLOT_VALUE_INITD(duration_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:211
  T3 = primitive_cast_integer_as_raw(T2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:211
  T4 = primitive_machine_word_shift_right(T3,2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:211
  T5_0 = primitive_machine_word_truncateS_byref(T4,60,(DWORD*)&T5_1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:211
  quotientF6 = T5_0;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:211
  remainderF7 = T5_1;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:211
  T8 = primitive_machine_word_shift_left_signal_overflow(remainderF7,2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:211
  T9 = primitive_machine_word_logior(T8,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:211
  T10 = primitive_cast_raw_as_integer(T9);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:212
  T11_0 = primitive_machine_word_truncateS_byref(quotientF6,60,(DWORD*)&T11_1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:212
  quotientF12 = T11_0;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:212
  remainderF13 = T11_1;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:212
  T14 = primitive_machine_word_shift_left_signal_overflow(quotientF12,2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:212
  T15 = primitive_machine_word_logior(T14,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:212
  T16 = primitive_cast_raw_as_integer(T15);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:212
  T17 = primitive_machine_word_shift_left_signal_overflow(remainderF13,2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:212
  T18 = primitive_machine_word_logior(T17,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:212
  T19 = primitive_cast_raw_as_integer(T18);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:213
  T20 = SLOT_VALUE_INITD(duration_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:213
  T21 = SLOT_VALUE_INITD(duration_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:213
  T22_0 = T20;
  T22_1 = T16;
  T22_2 = T19;
  T22_3 = T10;
  T22_4 = T21;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:208
  MV_SET_ELT(1, T22_1);
  MV_SET_ELT(2, T22_2);
  MV_SET_ELT(3, T22_3);
  MV_SET_ELT(4, T22_4);
  MV_SET_COUNT(5);
  return(T22_0);
}

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

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:23
  T3 = primitive_object_allocate_filled(5,&KLyearSmonth_durationGYdateVsystemW,4,&KPunboundVKi,0,0,&KPunboundVKi);
  SLOT_VALUE_SETTER((D) 1, T3, 0);
  SLOT_VALUE_SETTER((D) 1, T3, 1);
  SLOT_VALUE_SETTER((D) 1, T3, 2);
  SLOT_VALUE_SETTER((D) 1, T3, 3);
  APPLY2(&KinitializeVKd, T3, init_args_);
  T4_0 = T3;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:23
  MV_SET_COUNT(1);
  return(T4_0);
}

D Kencode_dayStime_durationYdateVsystemI (D days_, D hours_, D minutes_, D seconds_, D microseconds_) {
  D T5_0;
  _KLsimple_object_vectorGVKd_10 T6 = {&KLsimple_object_vectorGVKdW, (D) 41};

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:192
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:196
  T6.vector_element_[0] = IKJdays_;
  T6.vector_element_[1] = days_;
  T6.vector_element_[2] = IKJhours_;
  T6.vector_element_[3] = hours_;
  T6.vector_element_[4] = IKJminutes_;
  T6.vector_element_[5] = minutes_;
  T6.vector_element_[6] = IKJseconds_;
  T6.vector_element_[7] = seconds_;
  T6.vector_element_[8] = IKJmicroseconds_;
  T6.vector_element_[9] = microseconds_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:196
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T5_0 = CONGRUENT_CALL2(&KLdayStime_durationGYdateVsystem, &T6);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:192
  MV_SET_COUNT(1);
  return(T5_0);
}

D Kencode_yearSmonth_durationYdateVsystemI (D years_, D months_) {
  D T2_0;
  _KLsimple_object_vectorGVKd_4 T3 = {&KLsimple_object_vectorGVKdW, (D) 17};

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:187
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:189
  T3.vector_element_[0] = IKJyears_;
  T3.vector_element_[1] = years_;
  T3.vector_element_[2] = IKJmonths_;
  T3.vector_element_[3] = months_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:189
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T2_0 = CONGRUENT_CALL2(&KLyearSmonth_durationGYdateVsystem, &T3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:187
  MV_SET_COUNT(1);
  return(T2_0);
}

D K_VKdMsystemM3I (D x_, D y_) {
  D T3;
  D T4;
  DWORD T5;
  DWORD T6;
  DWORD T7;
  DWORD T8;
  D T9;
  D T10;
  D T11;
  DWORD T12;
  DWORD T13;
  DWORD T14;
  DWORD T15;
  D T16;
  D T17;
  D T18;
  DWORD T19;
  DWORD T20;
  DWORD T21;
  DWORD T22;
  D T23;
  D T24;
  D T25;
  DWORD T26;
  DWORD T27;
  DWORD T28;
  DWORD T29;
  D T30;
  D T31;
  D T32;
  D UtmpF33;
  D UtmpF34;
  D T35;
  DSINT T36;
  DSINT T37;
  D UtmpF38;
  D UtmpF39;
  D T40;
  DSINT T41;
  DSINT T42;
  D T43_0;
  D T44;
  DWORD T45;
  D T46;
  D T47;
  DWORD T48;
  D T49;
  D T50;
  DWORD T51;
  DWORD T52;
  DWORD T53_0;
  DWORD T53_1;
  DWORD quotientF54;
  DWORD remainderF55;
  DWORD T56;
  DWORD T57;
  DWORD T58;
  D T59;
  D T60;
  DWORD T61;
  DWORD T62;
  D T63;
  D T64;
  DWORD T65;
  D T66;
  D T67;
  DWORD T68;
  D T69;
  D T70;
  DWORD T71;
  DWORD T72;
  DWORD T73_0;
  DWORD T73_1;
  DWORD quotientF74;
  DWORD remainderF75;
  DWORD T76;
  DWORD T77;
  DWORD T78;
  D T79;
  D T80;
  DWORD T81;
  DWORD T82;
  D T83;
  D T84;
  DWORD T85;
  D T86;
  D T87;
  DWORD T88;
  D T89;
  D T90;
  DWORD T91;
  D T92;
  D T93;
  DWORD T94;
  D T95;
  D T96;
  DWORD T97;
  D T98;
  D T99;
  DWORD T100;
  DWORD T101;
  DWORD T102;
  D T103;
  D T104;
  DWORD T105;
  DWORD T106;
  DWORD T107;
  D T108;
  D T109;
  DWORD T110;
  D T111;
  D T112;
  DWORD T113;
  D T114;
  D T115;
  DWORD T116;
  D T117;
  D T118;
  DWORD T119;
  D T120;
  D T121;
  DWORD T122;
  D T123;
  D T124;
  DWORD T125;
  DWORD T126;
  DWORD T127;
  D T128;
  D T129;
  DWORD T130;
  DWORD T131;
  DWORD T132;
  D T133;
  D T134_0;
  D T135;
  D T136;
  D T137;
  _KLsimple_object_vectorGVKd_6 T138 = {&KLsimple_object_vectorGVKdW, (D) 25};
  D T139;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:331
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T135 = SLOT_VALUE_INITD(x_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T136 = SLOT_VALUE_INITD(x_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T137 = SLOT_VALUE_INITD(x_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T138.vector_element_[0] = IKJdays_;
  T138.vector_element_[1] = T135;
  T138.vector_element_[2] = IKJseconds_;
  T138.vector_element_[3] = T136;
  T138.vector_element_[4] = IKJmicroseconds_;
  T138.vector_element_[5] = T137;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T134_0 = CONGRUENT_CALL2(&KLdayStime_durationGYdateVsystem, &T138);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T139 = T134_0;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T3 = SLOT_VALUE_INITD(T139, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T4 = SLOT_VALUE_INITD(y_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T5 = primitive_cast_integer_as_raw(T3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T6 = primitive_cast_integer_as_raw(T4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T7 = primitive_machine_word_logxor(T6,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T8 = primitive_machine_word_subtract_signal_overflow(T5,T7);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T9 = primitive_cast_raw_as_integer(T8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  SLOT_VALUE_SETTER(T9, T139, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T10 = SLOT_VALUE_INITD(T139, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T11 = SLOT_VALUE_INITD(y_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T12 = primitive_cast_integer_as_raw(T10);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T13 = primitive_cast_integer_as_raw(T11);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T14 = primitive_machine_word_logxor(T13,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T15 = primitive_machine_word_subtract_signal_overflow(T12,T14);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T16 = primitive_cast_raw_as_integer(T15);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  SLOT_VALUE_SETTER(T16, T139, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T17 = SLOT_VALUE_INITD(T139, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T18 = SLOT_VALUE_INITD(y_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T19 = primitive_cast_integer_as_raw(T17);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T20 = primitive_cast_integer_as_raw(T18);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T21 = primitive_machine_word_logxor(T20,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T22 = primitive_machine_word_subtract_signal_overflow(T19,T21);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T23 = primitive_cast_raw_as_integer(T22);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  SLOT_VALUE_SETTER(T23, T139, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T24 = SLOT_VALUE_INITD(T139, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T25 = SLOT_VALUE_INITD(y_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T26 = primitive_cast_integer_as_raw(T24);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T27 = primitive_cast_integer_as_raw(T25);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T28 = primitive_machine_word_logxor(T27,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T29 = primitive_machine_word_subtract_signal_overflow(T26,T28);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T30 = primitive_cast_raw_as_integer(T29);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  SLOT_VALUE_SETTER(T30, T139, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T44 = SLOT_VALUE_INITD(T139, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T45 = primitive_cast_integer_as_raw(T44);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T46 = primitive_machine_word_less_thanQ(-3999999,T45);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  if (T46 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T47 = SLOT_VALUE_INITD(T139, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T48 = primitive_cast_integer_as_raw(T47);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T49 = primitive_machine_word_less_thanQ(T48,4000001);
    T31 = T49;
  } else {
    T31 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  if (T31 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T50 = SLOT_VALUE_INITD(T139, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T51 = primitive_cast_integer_as_raw(T50);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T52 = primitive_machine_word_shift_right(T51,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T53_0 = primitive_machine_word_floorS_byref(T52,1000000,(DWORD*)&T53_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    quotientF54 = T53_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    remainderF55 = T53_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T56 = primitive_machine_word_shift_left_signal_overflow(quotientF54,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T57 = primitive_machine_word_shift_left_signal_overflow(remainderF55,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T58 = primitive_machine_word_logior(T57,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T59 = primitive_cast_raw_as_integer(T58);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    SLOT_VALUE_SETTER(T59, T139, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T60 = SLOT_VALUE_INITD(T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T61 = primitive_cast_integer_as_raw(T60);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T62 = primitive_machine_word_add_signal_overflow(T61,T56);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T63 = primitive_cast_raw_as_integer(T62);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    SLOT_VALUE_SETTER(T63, T139, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T64 = SLOT_VALUE_INITD(T139, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T65 = primitive_cast_integer_as_raw(T64);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T66 = primitive_machine_word_less_thanQ(-345599,T65);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  if (T66 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T67 = SLOT_VALUE_INITD(T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T68 = primitive_cast_integer_as_raw(T67);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T69 = primitive_machine_word_less_thanQ(T68,345601);
    T32 = T69;
  } else {
    T32 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  if (T32 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T70 = SLOT_VALUE_INITD(T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T71 = primitive_cast_integer_as_raw(T70);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T72 = primitive_machine_word_shift_right(T71,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T73_0 = primitive_machine_word_floorS_byref(T72,86400,(DWORD*)&T73_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    quotientF74 = T73_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    remainderF75 = T73_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T76 = primitive_machine_word_shift_left_signal_overflow(quotientF74,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T77 = primitive_machine_word_shift_left_signal_overflow(remainderF75,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T78 = primitive_machine_word_logior(T77,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T79 = primitive_cast_raw_as_integer(T78);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    SLOT_VALUE_SETTER(T79, T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T80 = SLOT_VALUE_INITD(T139, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T81 = primitive_cast_integer_as_raw(T80);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T82 = primitive_machine_word_add_signal_overflow(T81,T76);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T83 = primitive_cast_raw_as_integer(T82);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    SLOT_VALUE_SETTER(T83, T139, 1);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T84 = SLOT_VALUE_INITD(T139, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T85 = primitive_cast_integer_as_raw(T84);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T86 = primitive_machine_word_less_thanQ(T85,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T87 = SLOT_VALUE_INITD(T139, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T88 = primitive_cast_integer_as_raw(T87);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T89 = primitive_machine_word_less_thanQ(T88,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  CONGRUENT_CALL_PROLOG(&KEVKd, 2);
  UtmpF33 = CONGRUENT_CALL2(T86, T89);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  if (UtmpF33 != &KPfalseVKi) {
    UtmpF34 = UtmpF33;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T90 = SLOT_VALUE_INITD(T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T91 = primitive_cast_integer_as_raw(T90);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T92 = primitive_machine_word_equalQ(T91,1);
    UtmpF34 = T92;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  if (UtmpF34 != &KPfalseVKi) {
    T35 = UtmpF34;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T93 = SLOT_VALUE_INITD(T139, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T94 = primitive_cast_integer_as_raw(T93);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T95 = primitive_machine_word_equalQ(T94,1);
    T35 = T95;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  if (T35 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T96 = SLOT_VALUE_INITD(T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T97 = primitive_cast_integer_as_raw(T96);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T98 = primitive_machine_word_less_thanQ(T97,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T99 = SLOT_VALUE_INITD(T139, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    if (T98 != &KPfalseVKi) {
      T36 = -3;
    } else {
      T36 = 5;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T100 = primitive_cast_integer_as_raw(T99);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T101 = primitive_machine_word_logxor(T36,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T102 = primitive_machine_word_add_signal_overflow(T100,T101);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T103 = primitive_cast_raw_as_integer(T102);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    SLOT_VALUE_SETTER(T103, T139, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T104 = SLOT_VALUE_INITD(T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    if (T98 != &KPfalseVKi) {
      T37 = 345601;
    } else {
      T37 = -345599;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T105 = primitive_cast_integer_as_raw(T104);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T106 = primitive_machine_word_logxor(T37,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T107 = primitive_machine_word_add_signal_overflow(T105,T106);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T108 = primitive_cast_raw_as_integer(T107);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    SLOT_VALUE_SETTER(T108, T139, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T109 = SLOT_VALUE_INITD(T139, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T110 = primitive_cast_integer_as_raw(T109);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T111 = primitive_machine_word_less_thanQ(T110,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T112 = SLOT_VALUE_INITD(T139, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T113 = primitive_cast_integer_as_raw(T112);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T114 = primitive_machine_word_less_thanQ(T113,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  CONGRUENT_CALL_PROLOG(&KEVKd, 2);
  UtmpF38 = CONGRUENT_CALL2(T111, T114);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  if (UtmpF38 != &KPfalseVKi) {
    UtmpF39 = UtmpF38;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T115 = SLOT_VALUE_INITD(T139, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T116 = primitive_cast_integer_as_raw(T115);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T117 = primitive_machine_word_equalQ(T116,1);
    UtmpF39 = T117;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  if (UtmpF39 != &KPfalseVKi) {
    T40 = UtmpF39;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T118 = SLOT_VALUE_INITD(T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T119 = primitive_cast_integer_as_raw(T118);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T120 = primitive_machine_word_equalQ(T119,1);
    T40 = T120;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  if (T40 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T121 = SLOT_VALUE_INITD(T139, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T122 = primitive_cast_integer_as_raw(T121);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T123 = primitive_machine_word_less_thanQ(T122,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T124 = SLOT_VALUE_INITD(T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    if (T123 != &KPfalseVKi) {
      T41 = -3;
    } else {
      T41 = 5;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T125 = primitive_cast_integer_as_raw(T124);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T126 = primitive_machine_word_logxor(T41,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T127 = primitive_machine_word_add_signal_overflow(T125,T126);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T128 = primitive_cast_raw_as_integer(T127);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    SLOT_VALUE_SETTER(T128, T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T129 = SLOT_VALUE_INITD(T139, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    if (T123 != &KPfalseVKi) {
      T42 = 4000001;
    } else {
      T42 = -3999999;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T130 = primitive_cast_integer_as_raw(T129);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T131 = primitive_machine_word_logxor(T42,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T132 = primitive_machine_word_add_signal_overflow(T130,T131);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    T133 = primitive_cast_raw_as_integer(T132);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
    SLOT_VALUE_SETTER(T133, T139, 3);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:333
  T43_0 = T139;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:331
  MV_SET_COUNT(1);
  return(T43_0);
}

D K_VKdMsystemM2I (D x_, D y_) {
  D T3;
  D T4;
  DWORD T5;
  DWORD T6;
  DWORD T7;
  DWORD T8;
  D T9;
  D T10;
  D T11;
  DWORD T12;
  DWORD T13;
  DWORD T14;
  DWORD T15;
  D T16;
  D T17;
  D T18;
  DWORD T19;
  DWORD T20;
  DWORD T21;
  DWORD T22;
  D T23;
  D T24;
  D T25;
  DWORD T26;
  DWORD T27;
  DWORD T28;
  DWORD T29;
  D T30;
  D T31;
  D T32;
  D UtmpF33;
  D UtmpF34;
  D T35;
  DSINT T36;
  DSINT T37;
  D UtmpF38;
  D UtmpF39;
  D T40;
  DSINT T41;
  DSINT T42;
  D T43_0;
  D T44;
  DWORD T45;
  D T46;
  D T47;
  DWORD T48;
  D T49;
  D T50;
  DWORD T51;
  DWORD T52;
  DWORD T53_0;
  DWORD T53_1;
  DWORD quotientF54;
  DWORD remainderF55;
  DWORD T56;
  DWORD T57;
  DWORD T58;
  D T59;
  D T60;
  DWORD T61;
  DWORD T62;
  D T63;
  D T64;
  DWORD T65;
  D T66;
  D T67;
  DWORD T68;
  D T69;
  D T70;
  DWORD T71;
  DWORD T72;
  DWORD T73_0;
  DWORD T73_1;
  DWORD quotientF74;
  DWORD remainderF75;
  DWORD T76;
  DWORD T77;
  DWORD T78;
  D T79;
  D T80;
  DWORD T81;
  DWORD T82;
  D T83;
  D T84;
  DWORD T85;
  D T86;
  D T87;
  DWORD T88;
  D T89;
  D T90;
  DWORD T91;
  D T92;
  D T93;
  DWORD T94;
  D T95;
  D T96;
  DWORD T97;
  D T98;
  D T99;
  DWORD T100;
  DWORD T101;
  DWORD T102;
  D T103;
  D T104;
  DWORD T105;
  DWORD T106;
  DWORD T107;
  D T108;
  D T109;
  DWORD T110;
  D T111;
  D T112;
  DWORD T113;
  D T114;
  D T115;
  DWORD T116;
  D T117;
  D T118;
  DWORD T119;
  D T120;
  D T121;
  DWORD T122;
  D T123;
  D T124;
  DWORD T125;
  DWORD T126;
  DWORD T127;
  D T128;
  D T129;
  DWORD T130;
  DWORD T131;
  DWORD T132;
  D T133;
  D T134_0;
  D T135;
  _KLsimple_object_vectorGVKd_2 T136 = {&KLsimple_object_vectorGVKdW, (D) 9};
  D T137;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:326
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T135 = SLOT_VALUE_INITD(x_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T136.vector_element_[0] = IKJmonths_;
  T136.vector_element_[1] = T135;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T134_0 = CONGRUENT_CALL2(&KLyearSmonth_durationGYdateVsystem, &T136);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T137 = T134_0;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T3 = SLOT_VALUE_INITD(T137, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T4 = SLOT_VALUE_INITD(y_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T5 = primitive_cast_integer_as_raw(T3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T6 = primitive_cast_integer_as_raw(T4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T7 = primitive_machine_word_logxor(T6,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T8 = primitive_machine_word_subtract_signal_overflow(T5,T7);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T9 = primitive_cast_raw_as_integer(T8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  SLOT_VALUE_SETTER(T9, T137, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T10 = SLOT_VALUE_INITD(T137, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T11 = SLOT_VALUE_INITD(y_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T12 = primitive_cast_integer_as_raw(T10);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T13 = primitive_cast_integer_as_raw(T11);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T14 = primitive_machine_word_logxor(T13,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T15 = primitive_machine_word_subtract_signal_overflow(T12,T14);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T16 = primitive_cast_raw_as_integer(T15);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  SLOT_VALUE_SETTER(T16, T137, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T17 = SLOT_VALUE_INITD(T137, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T18 = SLOT_VALUE_INITD(y_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T19 = primitive_cast_integer_as_raw(T17);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T20 = primitive_cast_integer_as_raw(T18);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T21 = primitive_machine_word_logxor(T20,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T22 = primitive_machine_word_subtract_signal_overflow(T19,T21);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T23 = primitive_cast_raw_as_integer(T22);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  SLOT_VALUE_SETTER(T23, T137, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T24 = SLOT_VALUE_INITD(T137, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T25 = SLOT_VALUE_INITD(y_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T26 = primitive_cast_integer_as_raw(T24);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T27 = primitive_cast_integer_as_raw(T25);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T28 = primitive_machine_word_logxor(T27,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T29 = primitive_machine_word_subtract_signal_overflow(T26,T28);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T30 = primitive_cast_raw_as_integer(T29);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  SLOT_VALUE_SETTER(T30, T137, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T44 = SLOT_VALUE_INITD(T137, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T45 = primitive_cast_integer_as_raw(T44);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T46 = primitive_machine_word_less_thanQ(-3999999,T45);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  if (T46 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T47 = SLOT_VALUE_INITD(T137, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T48 = primitive_cast_integer_as_raw(T47);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T49 = primitive_machine_word_less_thanQ(T48,4000001);
    T31 = T49;
  } else {
    T31 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  if (T31 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T50 = SLOT_VALUE_INITD(T137, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T51 = primitive_cast_integer_as_raw(T50);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T52 = primitive_machine_word_shift_right(T51,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T53_0 = primitive_machine_word_floorS_byref(T52,1000000,(DWORD*)&T53_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    quotientF54 = T53_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    remainderF55 = T53_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T56 = primitive_machine_word_shift_left_signal_overflow(quotientF54,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T57 = primitive_machine_word_shift_left_signal_overflow(remainderF55,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T58 = primitive_machine_word_logior(T57,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T59 = primitive_cast_raw_as_integer(T58);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    SLOT_VALUE_SETTER(T59, T137, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T60 = SLOT_VALUE_INITD(T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T61 = primitive_cast_integer_as_raw(T60);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T62 = primitive_machine_word_add_signal_overflow(T61,T56);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T63 = primitive_cast_raw_as_integer(T62);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    SLOT_VALUE_SETTER(T63, T137, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T64 = SLOT_VALUE_INITD(T137, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T65 = primitive_cast_integer_as_raw(T64);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T66 = primitive_machine_word_less_thanQ(-345599,T65);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  if (T66 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T67 = SLOT_VALUE_INITD(T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T68 = primitive_cast_integer_as_raw(T67);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T69 = primitive_machine_word_less_thanQ(T68,345601);
    T32 = T69;
  } else {
    T32 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  if (T32 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T70 = SLOT_VALUE_INITD(T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T71 = primitive_cast_integer_as_raw(T70);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T72 = primitive_machine_word_shift_right(T71,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T73_0 = primitive_machine_word_floorS_byref(T72,86400,(DWORD*)&T73_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    quotientF74 = T73_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    remainderF75 = T73_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T76 = primitive_machine_word_shift_left_signal_overflow(quotientF74,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T77 = primitive_machine_word_shift_left_signal_overflow(remainderF75,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T78 = primitive_machine_word_logior(T77,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T79 = primitive_cast_raw_as_integer(T78);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    SLOT_VALUE_SETTER(T79, T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T80 = SLOT_VALUE_INITD(T137, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T81 = primitive_cast_integer_as_raw(T80);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T82 = primitive_machine_word_add_signal_overflow(T81,T76);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T83 = primitive_cast_raw_as_integer(T82);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    SLOT_VALUE_SETTER(T83, T137, 1);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T84 = SLOT_VALUE_INITD(T137, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T85 = primitive_cast_integer_as_raw(T84);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T86 = primitive_machine_word_less_thanQ(T85,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T87 = SLOT_VALUE_INITD(T137, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T88 = primitive_cast_integer_as_raw(T87);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T89 = primitive_machine_word_less_thanQ(T88,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  CONGRUENT_CALL_PROLOG(&KEVKd, 2);
  UtmpF33 = CONGRUENT_CALL2(T86, T89);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  if (UtmpF33 != &KPfalseVKi) {
    UtmpF34 = UtmpF33;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T90 = SLOT_VALUE_INITD(T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T91 = primitive_cast_integer_as_raw(T90);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T92 = primitive_machine_word_equalQ(T91,1);
    UtmpF34 = T92;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  if (UtmpF34 != &KPfalseVKi) {
    T35 = UtmpF34;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T93 = SLOT_VALUE_INITD(T137, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T94 = primitive_cast_integer_as_raw(T93);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T95 = primitive_machine_word_equalQ(T94,1);
    T35 = T95;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  if (T35 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T96 = SLOT_VALUE_INITD(T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T97 = primitive_cast_integer_as_raw(T96);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T98 = primitive_machine_word_less_thanQ(T97,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T99 = SLOT_VALUE_INITD(T137, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    if (T98 != &KPfalseVKi) {
      T36 = -3;
    } else {
      T36 = 5;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T100 = primitive_cast_integer_as_raw(T99);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T101 = primitive_machine_word_logxor(T36,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T102 = primitive_machine_word_add_signal_overflow(T100,T101);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T103 = primitive_cast_raw_as_integer(T102);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    SLOT_VALUE_SETTER(T103, T137, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T104 = SLOT_VALUE_INITD(T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    if (T98 != &KPfalseVKi) {
      T37 = 345601;
    } else {
      T37 = -345599;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T105 = primitive_cast_integer_as_raw(T104);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T106 = primitive_machine_word_logxor(T37,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T107 = primitive_machine_word_add_signal_overflow(T105,T106);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T108 = primitive_cast_raw_as_integer(T107);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    SLOT_VALUE_SETTER(T108, T137, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T109 = SLOT_VALUE_INITD(T137, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T110 = primitive_cast_integer_as_raw(T109);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T111 = primitive_machine_word_less_thanQ(T110,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T112 = SLOT_VALUE_INITD(T137, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T113 = primitive_cast_integer_as_raw(T112);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T114 = primitive_machine_word_less_thanQ(T113,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  CONGRUENT_CALL_PROLOG(&KEVKd, 2);
  UtmpF38 = CONGRUENT_CALL2(T111, T114);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  if (UtmpF38 != &KPfalseVKi) {
    UtmpF39 = UtmpF38;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T115 = SLOT_VALUE_INITD(T137, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T116 = primitive_cast_integer_as_raw(T115);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T117 = primitive_machine_word_equalQ(T116,1);
    UtmpF39 = T117;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  if (UtmpF39 != &KPfalseVKi) {
    T40 = UtmpF39;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T118 = SLOT_VALUE_INITD(T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T119 = primitive_cast_integer_as_raw(T118);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T120 = primitive_machine_word_equalQ(T119,1);
    T40 = T120;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  if (T40 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T121 = SLOT_VALUE_INITD(T137, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T122 = primitive_cast_integer_as_raw(T121);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T123 = primitive_machine_word_less_thanQ(T122,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T124 = SLOT_VALUE_INITD(T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    if (T123 != &KPfalseVKi) {
      T41 = -3;
    } else {
      T41 = 5;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T125 = primitive_cast_integer_as_raw(T124);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T126 = primitive_machine_word_logxor(T41,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T127 = primitive_machine_word_add_signal_overflow(T125,T126);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T128 = primitive_cast_raw_as_integer(T127);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    SLOT_VALUE_SETTER(T128, T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T129 = SLOT_VALUE_INITD(T137, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    if (T123 != &KPfalseVKi) {
      T42 = 4000001;
    } else {
      T42 = -3999999;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T130 = primitive_cast_integer_as_raw(T129);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T131 = primitive_machine_word_logxor(T42,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T132 = primitive_machine_word_add_signal_overflow(T130,T131);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    T133 = primitive_cast_raw_as_integer(T132);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
    SLOT_VALUE_SETTER(T133, T137, 3);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:328
  T43_0 = T137;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:326
  MV_SET_COUNT(1);
  return(T43_0);
}

D KAVKdMsystemM3I (D x_, D y_) {
  D T3;
  D T4;
  DWORD T5;
  DWORD T6;
  DWORD T7;
  DWORD T8;
  D T9;
  D T10;
  D T11;
  DWORD T12;
  DWORD T13;
  DWORD T14;
  DWORD T15;
  D T16;
  D T17;
  D T18;
  DWORD T19;
  DWORD T20;
  DWORD T21;
  DWORD T22;
  D T23;
  D T24;
  D T25;
  DWORD T26;
  DWORD T27;
  DWORD T28;
  DWORD T29;
  D T30;
  D T31;
  D T32;
  D UtmpF33;
  D UtmpF34;
  D T35;
  DSINT T36;
  DSINT T37;
  D UtmpF38;
  D UtmpF39;
  D T40;
  DSINT T41;
  DSINT T42;
  D T43_0;
  D T44;
  DWORD T45;
  D T46;
  D T47;
  DWORD T48;
  D T49;
  D T50;
  DWORD T51;
  DWORD T52;
  DWORD T53_0;
  DWORD T53_1;
  DWORD quotientF54;
  DWORD remainderF55;
  DWORD T56;
  DWORD T57;
  DWORD T58;
  D T59;
  D T60;
  DWORD T61;
  DWORD T62;
  D T63;
  D T64;
  DWORD T65;
  D T66;
  D T67;
  DWORD T68;
  D T69;
  D T70;
  DWORD T71;
  DWORD T72;
  DWORD T73_0;
  DWORD T73_1;
  DWORD quotientF74;
  DWORD remainderF75;
  DWORD T76;
  DWORD T77;
  DWORD T78;
  D T79;
  D T80;
  DWORD T81;
  DWORD T82;
  D T83;
  D T84;
  DWORD T85;
  D T86;
  D T87;
  DWORD T88;
  D T89;
  D T90;
  DWORD T91;
  D T92;
  D T93;
  DWORD T94;
  D T95;
  D T96;
  DWORD T97;
  D T98;
  D T99;
  DWORD T100;
  DWORD T101;
  DWORD T102;
  D T103;
  D T104;
  DWORD T105;
  DWORD T106;
  DWORD T107;
  D T108;
  D T109;
  DWORD T110;
  D T111;
  D T112;
  DWORD T113;
  D T114;
  D T115;
  DWORD T116;
  D T117;
  D T118;
  DWORD T119;
  D T120;
  D T121;
  DWORD T122;
  D T123;
  D T124;
  DWORD T125;
  DWORD T126;
  DWORD T127;
  D T128;
  D T129;
  DWORD T130;
  DWORD T131;
  DWORD T132;
  D T133;
  D T134_0;
  D T135;
  D T136;
  D T137;
  _KLsimple_object_vectorGVKd_6 T138 = {&KLsimple_object_vectorGVKdW, (D) 25};
  D T139;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:311
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T135 = SLOT_VALUE_INITD(x_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T136 = SLOT_VALUE_INITD(x_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T137 = SLOT_VALUE_INITD(x_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T138.vector_element_[0] = IKJdays_;
  T138.vector_element_[1] = T135;
  T138.vector_element_[2] = IKJseconds_;
  T138.vector_element_[3] = T136;
  T138.vector_element_[4] = IKJmicroseconds_;
  T138.vector_element_[5] = T137;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T134_0 = CONGRUENT_CALL2(&KLdayStime_durationGYdateVsystem, &T138);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T139 = T134_0;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T3 = SLOT_VALUE_INITD(T139, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T4 = SLOT_VALUE_INITD(y_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T5 = primitive_cast_integer_as_raw(T3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T6 = primitive_cast_integer_as_raw(T4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T7 = primitive_machine_word_logxor(T6,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T8 = primitive_machine_word_add_signal_overflow(T5,T7);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T9 = primitive_cast_raw_as_integer(T8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  SLOT_VALUE_SETTER(T9, T139, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T10 = SLOT_VALUE_INITD(T139, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T11 = SLOT_VALUE_INITD(y_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T12 = primitive_cast_integer_as_raw(T10);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T13 = primitive_cast_integer_as_raw(T11);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T14 = primitive_machine_word_logxor(T13,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T15 = primitive_machine_word_add_signal_overflow(T12,T14);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T16 = primitive_cast_raw_as_integer(T15);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  SLOT_VALUE_SETTER(T16, T139, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T17 = SLOT_VALUE_INITD(T139, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T18 = SLOT_VALUE_INITD(y_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T19 = primitive_cast_integer_as_raw(T17);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T20 = primitive_cast_integer_as_raw(T18);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T21 = primitive_machine_word_logxor(T20,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T22 = primitive_machine_word_add_signal_overflow(T19,T21);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T23 = primitive_cast_raw_as_integer(T22);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  SLOT_VALUE_SETTER(T23, T139, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T24 = SLOT_VALUE_INITD(T139, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T25 = SLOT_VALUE_INITD(y_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T26 = primitive_cast_integer_as_raw(T24);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T27 = primitive_cast_integer_as_raw(T25);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T28 = primitive_machine_word_logxor(T27,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T29 = primitive_machine_word_add_signal_overflow(T26,T28);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T30 = primitive_cast_raw_as_integer(T29);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  SLOT_VALUE_SETTER(T30, T139, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T44 = SLOT_VALUE_INITD(T139, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T45 = primitive_cast_integer_as_raw(T44);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T46 = primitive_machine_word_less_thanQ(-3999999,T45);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  if (T46 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T47 = SLOT_VALUE_INITD(T139, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T48 = primitive_cast_integer_as_raw(T47);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T49 = primitive_machine_word_less_thanQ(T48,4000001);
    T31 = T49;
  } else {
    T31 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  if (T31 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T50 = SLOT_VALUE_INITD(T139, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T51 = primitive_cast_integer_as_raw(T50);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T52 = primitive_machine_word_shift_right(T51,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T53_0 = primitive_machine_word_floorS_byref(T52,1000000,(DWORD*)&T53_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    quotientF54 = T53_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    remainderF55 = T53_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T56 = primitive_machine_word_shift_left_signal_overflow(quotientF54,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T57 = primitive_machine_word_shift_left_signal_overflow(remainderF55,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T58 = primitive_machine_word_logior(T57,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T59 = primitive_cast_raw_as_integer(T58);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    SLOT_VALUE_SETTER(T59, T139, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T60 = SLOT_VALUE_INITD(T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T61 = primitive_cast_integer_as_raw(T60);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T62 = primitive_machine_word_add_signal_overflow(T61,T56);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T63 = primitive_cast_raw_as_integer(T62);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    SLOT_VALUE_SETTER(T63, T139, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T64 = SLOT_VALUE_INITD(T139, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T65 = primitive_cast_integer_as_raw(T64);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T66 = primitive_machine_word_less_thanQ(-345599,T65);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  if (T66 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T67 = SLOT_VALUE_INITD(T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T68 = primitive_cast_integer_as_raw(T67);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T69 = primitive_machine_word_less_thanQ(T68,345601);
    T32 = T69;
  } else {
    T32 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  if (T32 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T70 = SLOT_VALUE_INITD(T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T71 = primitive_cast_integer_as_raw(T70);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T72 = primitive_machine_word_shift_right(T71,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T73_0 = primitive_machine_word_floorS_byref(T72,86400,(DWORD*)&T73_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    quotientF74 = T73_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    remainderF75 = T73_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T76 = primitive_machine_word_shift_left_signal_overflow(quotientF74,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T77 = primitive_machine_word_shift_left_signal_overflow(remainderF75,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T78 = primitive_machine_word_logior(T77,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T79 = primitive_cast_raw_as_integer(T78);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    SLOT_VALUE_SETTER(T79, T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T80 = SLOT_VALUE_INITD(T139, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T81 = primitive_cast_integer_as_raw(T80);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T82 = primitive_machine_word_add_signal_overflow(T81,T76);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T83 = primitive_cast_raw_as_integer(T82);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    SLOT_VALUE_SETTER(T83, T139, 1);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T84 = SLOT_VALUE_INITD(T139, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T85 = primitive_cast_integer_as_raw(T84);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T86 = primitive_machine_word_less_thanQ(T85,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T87 = SLOT_VALUE_INITD(T139, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T88 = primitive_cast_integer_as_raw(T87);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T89 = primitive_machine_word_less_thanQ(T88,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  CONGRUENT_CALL_PROLOG(&KEVKd, 2);
  UtmpF33 = CONGRUENT_CALL2(T86, T89);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  if (UtmpF33 != &KPfalseVKi) {
    UtmpF34 = UtmpF33;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T90 = SLOT_VALUE_INITD(T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T91 = primitive_cast_integer_as_raw(T90);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T92 = primitive_machine_word_equalQ(T91,1);
    UtmpF34 = T92;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  if (UtmpF34 != &KPfalseVKi) {
    T35 = UtmpF34;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T93 = SLOT_VALUE_INITD(T139, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T94 = primitive_cast_integer_as_raw(T93);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T95 = primitive_machine_word_equalQ(T94,1);
    T35 = T95;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  if (T35 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T96 = SLOT_VALUE_INITD(T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T97 = primitive_cast_integer_as_raw(T96);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T98 = primitive_machine_word_less_thanQ(T97,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T99 = SLOT_VALUE_INITD(T139, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    if (T98 != &KPfalseVKi) {
      T36 = -3;
    } else {
      T36 = 5;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T100 = primitive_cast_integer_as_raw(T99);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T101 = primitive_machine_word_logxor(T36,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T102 = primitive_machine_word_add_signal_overflow(T100,T101);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T103 = primitive_cast_raw_as_integer(T102);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    SLOT_VALUE_SETTER(T103, T139, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T104 = SLOT_VALUE_INITD(T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    if (T98 != &KPfalseVKi) {
      T37 = 345601;
    } else {
      T37 = -345599;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T105 = primitive_cast_integer_as_raw(T104);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T106 = primitive_machine_word_logxor(T37,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T107 = primitive_machine_word_add_signal_overflow(T105,T106);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T108 = primitive_cast_raw_as_integer(T107);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    SLOT_VALUE_SETTER(T108, T139, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T109 = SLOT_VALUE_INITD(T139, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T110 = primitive_cast_integer_as_raw(T109);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T111 = primitive_machine_word_less_thanQ(T110,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T112 = SLOT_VALUE_INITD(T139, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T113 = primitive_cast_integer_as_raw(T112);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T114 = primitive_machine_word_less_thanQ(T113,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  CONGRUENT_CALL_PROLOG(&KEVKd, 2);
  UtmpF38 = CONGRUENT_CALL2(T111, T114);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  if (UtmpF38 != &KPfalseVKi) {
    UtmpF39 = UtmpF38;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T115 = SLOT_VALUE_INITD(T139, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T116 = primitive_cast_integer_as_raw(T115);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T117 = primitive_machine_word_equalQ(T116,1);
    UtmpF39 = T117;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  if (UtmpF39 != &KPfalseVKi) {
    T40 = UtmpF39;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T118 = SLOT_VALUE_INITD(T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T119 = primitive_cast_integer_as_raw(T118);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T120 = primitive_machine_word_equalQ(T119,1);
    T40 = T120;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  if (T40 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T121 = SLOT_VALUE_INITD(T139, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T122 = primitive_cast_integer_as_raw(T121);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T123 = primitive_machine_word_less_thanQ(T122,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T124 = SLOT_VALUE_INITD(T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    if (T123 != &KPfalseVKi) {
      T41 = -3;
    } else {
      T41 = 5;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T125 = primitive_cast_integer_as_raw(T124);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T126 = primitive_machine_word_logxor(T41,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T127 = primitive_machine_word_add_signal_overflow(T125,T126);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T128 = primitive_cast_raw_as_integer(T127);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    SLOT_VALUE_SETTER(T128, T139, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T129 = SLOT_VALUE_INITD(T139, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    if (T123 != &KPfalseVKi) {
      T42 = 4000001;
    } else {
      T42 = -3999999;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T130 = primitive_cast_integer_as_raw(T129);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T131 = primitive_machine_word_logxor(T42,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T132 = primitive_machine_word_add_signal_overflow(T130,T131);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    T133 = primitive_cast_raw_as_integer(T132);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
    SLOT_VALUE_SETTER(T133, T139, 3);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:313
  T43_0 = T139;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:311
  MV_SET_COUNT(1);
  return(T43_0);
}

D KAVKdMsystemM2I (D x_, D y_) {
  D T3;
  D T4;
  DWORD T5;
  DWORD T6;
  DWORD T7;
  DWORD T8;
  D T9;
  D T10;
  D T11;
  DWORD T12;
  DWORD T13;
  DWORD T14;
  DWORD T15;
  D T16;
  D T17;
  D T18;
  DWORD T19;
  DWORD T20;
  DWORD T21;
  DWORD T22;
  D T23;
  D T24;
  D T25;
  DWORD T26;
  DWORD T27;
  DWORD T28;
  DWORD T29;
  D T30;
  D T31;
  D T32;
  D UtmpF33;
  D UtmpF34;
  D T35;
  DSINT T36;
  DSINT T37;
  D UtmpF38;
  D UtmpF39;
  D T40;
  DSINT T41;
  DSINT T42;
  D T43_0;
  D T44;
  DWORD T45;
  D T46;
  D T47;
  DWORD T48;
  D T49;
  D T50;
  DWORD T51;
  DWORD T52;
  DWORD T53_0;
  DWORD T53_1;
  DWORD quotientF54;
  DWORD remainderF55;
  DWORD T56;
  DWORD T57;
  DWORD T58;
  D T59;
  D T60;
  DWORD T61;
  DWORD T62;
  D T63;
  D T64;
  DWORD T65;
  D T66;
  D T67;
  DWORD T68;
  D T69;
  D T70;
  DWORD T71;
  DWORD T72;
  DWORD T73_0;
  DWORD T73_1;
  DWORD quotientF74;
  DWORD remainderF75;
  DWORD T76;
  DWORD T77;
  DWORD T78;
  D T79;
  D T80;
  DWORD T81;
  DWORD T82;
  D T83;
  D T84;
  DWORD T85;
  D T86;
  D T87;
  DWORD T88;
  D T89;
  D T90;
  DWORD T91;
  D T92;
  D T93;
  DWORD T94;
  D T95;
  D T96;
  DWORD T97;
  D T98;
  D T99;
  DWORD T100;
  DWORD T101;
  DWORD T102;
  D T103;
  D T104;
  DWORD T105;
  DWORD T106;
  DWORD T107;
  D T108;
  D T109;
  DWORD T110;
  D T111;
  D T112;
  DWORD T113;
  D T114;
  D T115;
  DWORD T116;
  D T117;
  D T118;
  DWORD T119;
  D T120;
  D T121;
  DWORD T122;
  D T123;
  D T124;
  DWORD T125;
  DWORD T126;
  DWORD T127;
  D T128;
  D T129;
  DWORD T130;
  DWORD T131;
  DWORD T132;
  D T133;
  D T134_0;
  D T135;
  _KLsimple_object_vectorGVKd_2 T136 = {&KLsimple_object_vectorGVKdW, (D) 9};
  D T137;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:306
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T135 = SLOT_VALUE_INITD(x_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T136.vector_element_[0] = IKJmonths_;
  T136.vector_element_[1] = T135;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T134_0 = CONGRUENT_CALL2(&KLyearSmonth_durationGYdateVsystem, &T136);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T137 = T134_0;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T3 = SLOT_VALUE_INITD(T137, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T4 = SLOT_VALUE_INITD(y_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T5 = primitive_cast_integer_as_raw(T3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T6 = primitive_cast_integer_as_raw(T4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T7 = primitive_machine_word_logxor(T6,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T8 = primitive_machine_word_add_signal_overflow(T5,T7);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T9 = primitive_cast_raw_as_integer(T8);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  SLOT_VALUE_SETTER(T9, T137, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T10 = SLOT_VALUE_INITD(T137, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T11 = SLOT_VALUE_INITD(y_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T12 = primitive_cast_integer_as_raw(T10);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T13 = primitive_cast_integer_as_raw(T11);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T14 = primitive_machine_word_logxor(T13,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T15 = primitive_machine_word_add_signal_overflow(T12,T14);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T16 = primitive_cast_raw_as_integer(T15);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  SLOT_VALUE_SETTER(T16, T137, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T17 = SLOT_VALUE_INITD(T137, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T18 = SLOT_VALUE_INITD(y_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T19 = primitive_cast_integer_as_raw(T17);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T20 = primitive_cast_integer_as_raw(T18);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T21 = primitive_machine_word_logxor(T20,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T22 = primitive_machine_word_add_signal_overflow(T19,T21);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T23 = primitive_cast_raw_as_integer(T22);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  SLOT_VALUE_SETTER(T23, T137, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T24 = SLOT_VALUE_INITD(T137, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T25 = SLOT_VALUE_INITD(y_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T26 = primitive_cast_integer_as_raw(T24);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T27 = primitive_cast_integer_as_raw(T25);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T28 = primitive_machine_word_logxor(T27,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T29 = primitive_machine_word_add_signal_overflow(T26,T28);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T30 = primitive_cast_raw_as_integer(T29);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  SLOT_VALUE_SETTER(T30, T137, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T44 = SLOT_VALUE_INITD(T137, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T45 = primitive_cast_integer_as_raw(T44);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T46 = primitive_machine_word_less_thanQ(-3999999,T45);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  if (T46 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T47 = SLOT_VALUE_INITD(T137, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T48 = primitive_cast_integer_as_raw(T47);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T49 = primitive_machine_word_less_thanQ(T48,4000001);
    T31 = T49;
  } else {
    T31 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  if (T31 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T50 = SLOT_VALUE_INITD(T137, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T51 = primitive_cast_integer_as_raw(T50);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T52 = primitive_machine_word_shift_right(T51,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T53_0 = primitive_machine_word_floorS_byref(T52,1000000,(DWORD*)&T53_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    quotientF54 = T53_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    remainderF55 = T53_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T56 = primitive_machine_word_shift_left_signal_overflow(quotientF54,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T57 = primitive_machine_word_shift_left_signal_overflow(remainderF55,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T58 = primitive_machine_word_logior(T57,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T59 = primitive_cast_raw_as_integer(T58);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    SLOT_VALUE_SETTER(T59, T137, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T60 = SLOT_VALUE_INITD(T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T61 = primitive_cast_integer_as_raw(T60);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T62 = primitive_machine_word_add_signal_overflow(T61,T56);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T63 = primitive_cast_raw_as_integer(T62);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    SLOT_VALUE_SETTER(T63, T137, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T64 = SLOT_VALUE_INITD(T137, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T65 = primitive_cast_integer_as_raw(T64);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T66 = primitive_machine_word_less_thanQ(-345599,T65);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  if (T66 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T67 = SLOT_VALUE_INITD(T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T68 = primitive_cast_integer_as_raw(T67);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T69 = primitive_machine_word_less_thanQ(T68,345601);
    T32 = T69;
  } else {
    T32 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  if (T32 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T70 = SLOT_VALUE_INITD(T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T71 = primitive_cast_integer_as_raw(T70);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T72 = primitive_machine_word_shift_right(T71,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T73_0 = primitive_machine_word_floorS_byref(T72,86400,(DWORD*)&T73_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    quotientF74 = T73_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    remainderF75 = T73_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T76 = primitive_machine_word_shift_left_signal_overflow(quotientF74,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T77 = primitive_machine_word_shift_left_signal_overflow(remainderF75,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T78 = primitive_machine_word_logior(T77,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T79 = primitive_cast_raw_as_integer(T78);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    SLOT_VALUE_SETTER(T79, T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T80 = SLOT_VALUE_INITD(T137, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T81 = primitive_cast_integer_as_raw(T80);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T82 = primitive_machine_word_add_signal_overflow(T81,T76);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T83 = primitive_cast_raw_as_integer(T82);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    SLOT_VALUE_SETTER(T83, T137, 1);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T84 = SLOT_VALUE_INITD(T137, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T85 = primitive_cast_integer_as_raw(T84);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T86 = primitive_machine_word_less_thanQ(T85,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T87 = SLOT_VALUE_INITD(T137, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T88 = primitive_cast_integer_as_raw(T87);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T89 = primitive_machine_word_less_thanQ(T88,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  CONGRUENT_CALL_PROLOG(&KEVKd, 2);
  UtmpF33 = CONGRUENT_CALL2(T86, T89);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  if (UtmpF33 != &KPfalseVKi) {
    UtmpF34 = UtmpF33;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T90 = SLOT_VALUE_INITD(T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T91 = primitive_cast_integer_as_raw(T90);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T92 = primitive_machine_word_equalQ(T91,1);
    UtmpF34 = T92;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  if (UtmpF34 != &KPfalseVKi) {
    T35 = UtmpF34;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T93 = SLOT_VALUE_INITD(T137, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T94 = primitive_cast_integer_as_raw(T93);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T95 = primitive_machine_word_equalQ(T94,1);
    T35 = T95;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  if (T35 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T96 = SLOT_VALUE_INITD(T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T97 = primitive_cast_integer_as_raw(T96);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T98 = primitive_machine_word_less_thanQ(T97,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T99 = SLOT_VALUE_INITD(T137, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    if (T98 != &KPfalseVKi) {
      T36 = -3;
    } else {
      T36 = 5;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T100 = primitive_cast_integer_as_raw(T99);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T101 = primitive_machine_word_logxor(T36,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T102 = primitive_machine_word_add_signal_overflow(T100,T101);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T103 = primitive_cast_raw_as_integer(T102);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    SLOT_VALUE_SETTER(T103, T137, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T104 = SLOT_VALUE_INITD(T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    if (T98 != &KPfalseVKi) {
      T37 = 345601;
    } else {
      T37 = -345599;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T105 = primitive_cast_integer_as_raw(T104);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T106 = primitive_machine_word_logxor(T37,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T107 = primitive_machine_word_add_signal_overflow(T105,T106);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T108 = primitive_cast_raw_as_integer(T107);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    SLOT_VALUE_SETTER(T108, T137, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T109 = SLOT_VALUE_INITD(T137, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T110 = primitive_cast_integer_as_raw(T109);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T111 = primitive_machine_word_less_thanQ(T110,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T112 = SLOT_VALUE_INITD(T137, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T113 = primitive_cast_integer_as_raw(T112);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T114 = primitive_machine_word_less_thanQ(T113,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  CONGRUENT_CALL_PROLOG(&KEVKd, 2);
  UtmpF38 = CONGRUENT_CALL2(T111, T114);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  if (UtmpF38 != &KPfalseVKi) {
    UtmpF39 = UtmpF38;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T115 = SLOT_VALUE_INITD(T137, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T116 = primitive_cast_integer_as_raw(T115);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T117 = primitive_machine_word_equalQ(T116,1);
    UtmpF39 = T117;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  if (UtmpF39 != &KPfalseVKi) {
    T40 = UtmpF39;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T118 = SLOT_VALUE_INITD(T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T119 = primitive_cast_integer_as_raw(T118);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T120 = primitive_machine_word_equalQ(T119,1);
    T40 = T120;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  if (T40 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T121 = SLOT_VALUE_INITD(T137, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T122 = primitive_cast_integer_as_raw(T121);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T123 = primitive_machine_word_less_thanQ(T122,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T124 = SLOT_VALUE_INITD(T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    if (T123 != &KPfalseVKi) {
      T41 = -3;
    } else {
      T41 = 5;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T125 = primitive_cast_integer_as_raw(T124);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T126 = primitive_machine_word_logxor(T41,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T127 = primitive_machine_word_add_signal_overflow(T125,T126);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T128 = primitive_cast_raw_as_integer(T127);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    SLOT_VALUE_SETTER(T128, T137, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T129 = SLOT_VALUE_INITD(T137, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    if (T123 != &KPfalseVKi) {
      T42 = 4000001;
    } else {
      T42 = -3999999;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T130 = primitive_cast_integer_as_raw(T129);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T131 = primitive_machine_word_logxor(T42,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T132 = primitive_machine_word_add_signal_overflow(T130,T131);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    T133 = primitive_cast_raw_as_integer(T132);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
    SLOT_VALUE_SETTER(T133, T137, 3);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:308
  T43_0 = T137;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:306
  MV_SET_COUNT(1);
  return(T43_0);
}

D KLVKdMsystemM2I (D x_, D y_) {
  D T3_0;
  D T4_0;
  D T5_0;
  D T6_0;
  D T7_0;
  D T8_0;
  D T9_0;
  D T10_0;
  D T11;
  D T12;
  DWORD T13;
  DWORD T14;
  D T15;
  D T16;
  D T17;
  DWORD T18;
  DWORD T19;
  D T20;
  D T21;
  D T22;
  DWORD T23;
  DWORD T24;
  D T25;
  D T26;
  D T27;
  DWORD T28;
  DWORD T29;
  D T30;
  D T31;
  D T32;
  DWORD T33;
  DWORD T34;
  D T35;
  D T36_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:228
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:230
  T11 = SLOT_VALUE_INITD(x_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:230
  T12 = SLOT_VALUE_INITD(y_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:230
  T13 = primitive_cast_integer_as_raw(T11);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:230
  T14 = primitive_cast_integer_as_raw(T12);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:230
  T15 = primitive_machine_word_less_thanQ(T13,T14);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:230
  if (T15 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:230
    T3_0 = T15;
    T10_0 = T3_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:231
    T16 = SLOT_VALUE_INITD(x_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:231
    T17 = SLOT_VALUE_INITD(y_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:231
    T18 = primitive_cast_integer_as_raw(T16);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:231
    T19 = primitive_cast_integer_as_raw(T17);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:231
    T20 = primitive_machine_word_equalQ(T18,T19);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:231
    if (T20 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:232
      T21 = SLOT_VALUE_INITD(x_, 2);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:232
      T22 = SLOT_VALUE_INITD(y_, 2);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:232
      T23 = primitive_cast_integer_as_raw(T21);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:232
      T24 = primitive_cast_integer_as_raw(T22);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:232
      T25 = primitive_machine_word_less_thanQ(T23,T24);
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:232
      if (T25 != &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:232
        T4_0 = T25;
        T7_0 = T4_0;
      } else {
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:233
        T26 = SLOT_VALUE_INITD(x_, 2);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:233
        T27 = SLOT_VALUE_INITD(y_, 2);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:233
        T28 = primitive_cast_integer_as_raw(T26);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:233
        T29 = primitive_cast_integer_as_raw(T27);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:233
        T30 = primitive_machine_word_equalQ(T28,T29);
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:233
        if (T30 != &KPfalseVKi) {
          // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:234
          T31 = SLOT_VALUE_INITD(x_, 3);
          // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:234
          T32 = SLOT_VALUE_INITD(y_, 3);
          // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:234
          T33 = primitive_cast_integer_as_raw(T31);
          // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:234
          T34 = primitive_cast_integer_as_raw(T32);
          // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:234
          T35 = primitive_machine_word_less_thanQ(T33,T34);
          // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:234
          T36_0 = T35;
          T6_0 = T36_0;
        } else {
          // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:233
          T5_0 = &KPfalseVKi;
          T6_0 = T5_0;
        }
        // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:233
        T7_0 = T6_0;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:232
      T9_0 = T7_0;
    } else {
      // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:231
      T8_0 = &KPfalseVKi;
      T9_0 = T8_0;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:231
    T10_0 = T9_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:230
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:228
  MV_SET_COUNT(1);
  return(T10_0);
}

D KLVKdMsystemM1I (D x_, D y_) {
  D T3;
  D T4;
  DWORD T5;
  DWORD T6;
  D T7;
  D T8_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:223
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:225
  T3 = SLOT_VALUE_INITD(x_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:225
  T4 = SLOT_VALUE_INITD(y_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:225
  T5 = primitive_cast_integer_as_raw(T3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:225
  T6 = primitive_cast_integer_as_raw(T4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:225
  T7 = primitive_machine_word_less_thanQ(T5,T6);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:225
  T8_0 = T7;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:223
  MV_SET_COUNT(1);
  return(T8_0);
}

D Kreturn_descriptionVKdMsystemM0I (D condition_) {
  D T2_0;
  D T3;
  D T4;
  _KLsimple_object_vectorGVKd_4 T5 = {&KLsimple_object_vectorGVKdW, (D) 17};

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:178
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:180
  T3 = SLOT_VALUE_INITD(condition_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:181
  T4 = SLOT_VALUE_INITD(condition_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:180
  T5.vector_element_[0] = IKJyear_;
  T5.vector_element_[1] = T3;
  T5.vector_element_[2] = IKJmonth_;
  T5.vector_element_[3] = T4;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:180
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T2_0 = CONGRUENT_CALL2(&KLdate_arithmetic_use_last_valid_dayGYdateVsystem, &T5);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:178
  MV_SET_COUNT(1);
  return(T2_0);
}

D Kcondition_to_stringYcommon_extensionsVcommon_dylanMsystemM1I (D condition_) {
  D T2;
  D T3;
  DWORD T4;
  DWORD T5;
  D T6;
  D T7;
  D T8;
  _KLsimple_object_vectorGVKd_3 T9 = {&KLsimple_object_vectorGVKdW, (D) 13};
  D T10_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:170
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:173
  T3 = SLOT_VALUE_INITD(condition_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:173
  T4 = primitive_cast_integer_as_raw(T3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:173
  T5 = primitive_machine_word_subtract_signal_overflow(T4,4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:173
  T6 = primitive_cast_raw_as_integer(T5);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:173
  T7 = KelementVKdMM11I(Dmonth_namesYsystem_internalsVsystem, T6, &KPempty_vectorVKi, &Kunsupplied_objectVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:174
  T8 = SLOT_VALUE_INITD(condition_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:174
  T2 = Kdays_in_monthYsystem_internalsVsystemI(T8, T3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:172
  T9.vector_element_[0] = T7;
  T9.vector_element_[1] = T2;
  T9.vector_element_[2] = T8;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:172
  T10_0 = Kformat_to_stringYformatVioMM0I(&K295, &T9);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:170
  MV_SET_COUNT(1);
  return(T10_0);
}

D Kreturn_allowedQVKdMsystemM0I (D condition_) {
  D T2_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:162
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:164
  T2_0 = &KPtrueVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:162
  MV_SET_COUNT(1);
  return(T2_0);
}

D Kcondition_to_stringYcommon_extensionsVcommon_dylanMsystemM0I (D condition_) {
  D T2;
  DWORD T3;
  DWORD T4;
  D T5;
  D T6;
  D T7;
  D T8;
  _KLsimple_object_vectorGVKd_3 T9 = {&KLsimple_object_vectorGVKdW, (D) 13};
  D T10_0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:154
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:157
  T2 = SLOT_VALUE_INITD(condition_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:157
  T3 = primitive_cast_integer_as_raw(T2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:157
  T4 = primitive_machine_word_subtract_signal_overflow(T3,4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:157
  T5 = primitive_cast_raw_as_integer(T4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:157
  T6 = KelementVKdMM11I(Dmonth_namesYsystem_internalsVsystem, T5, &KPempty_vectorVKi, &Kunsupplied_objectVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:158
  T7 = SLOT_VALUE_INITD(condition_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:159
  T8 = SLOT_VALUE_INITD(condition_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:156
  T9.vector_element_[0] = T6;
  T9.vector_element_[1] = T7;
  T9.vector_element_[2] = T8;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:156
  T10_0 = Kformat_to_stringYformatVioMM0I(&K292, &T9);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:154
  MV_SET_COUNT(1);
  return(T10_0);
}

D KinitializeVKdMsystemM2I (D duration_, D Urest_, D days_, D hours_, D minutes_, D seconds_, D microseconds_) {
  D daysF8;
  D hoursF9;
  D minutesF10;
  D secondsF11;
  D microsecondsF12;
  DWORD T13;
  DWORD T14;
  DWORD T15;
  DWORD T16;
  DWORD T17;
  DWORD T18;
  DWORD T19;
  DWORD T20;
  DWORD T21;
  DWORD T22;
  DWORD T23;
  DWORD T24;
  DWORD T25;
  D T26;
  D T27;
  D T28;
  D UtmpF29;
  D UtmpF30;
  D T31;
  DSINT T32;
  DSINT T33;
  D UtmpF34;
  D UtmpF35;
  D T36;
  DSINT T37;
  DSINT T38;
  D T39_0;
  D T40;
  DWORD T41;
  D T42;
  D T43;
  DWORD T44;
  D T45;
  D T46;
  DWORD T47;
  DWORD T48;
  DWORD T49_0;
  DWORD T49_1;
  DWORD quotientF50;
  DWORD remainderF51;
  DWORD T52;
  DWORD T53;
  DWORD T54;
  D T55;
  D T56;
  DWORD T57;
  DWORD T58;
  D T59;
  D T60;
  DWORD T61;
  D T62;
  D T63;
  DWORD T64;
  D T65;
  D T66;
  DWORD T67;
  DWORD T68;
  DWORD T69_0;
  DWORD T69_1;
  DWORD quotientF70;
  DWORD remainderF71;
  DWORD T72;
  DWORD T73;
  DWORD T74;
  D T75;
  D T76;
  DWORD T77;
  DWORD T78;
  D T79;
  D T80;
  DWORD T81;
  D T82;
  D T83;
  DWORD T84;
  D T85;
  D T86;
  DWORD T87;
  D T88;
  D T89;
  DWORD T90;
  D T91;
  D T92;
  DWORD T93;
  D T94;
  D T95;
  DWORD T96;
  DWORD T97;
  DWORD T98;
  D T99;
  D T100;
  DWORD T101;
  DWORD T102;
  DWORD T103;
  D T104;
  D T105;
  DWORD T106;
  D T107;
  D T108;
  DWORD T109;
  D T110;
  D T111;
  DWORD T112;
  D T113;
  D T114;
  DWORD T115;
  D T116;
  D T117;
  DWORD T118;
  D T119;
  D T120;
  DWORD T121;
  DWORD T122;
  DWORD T123;
  D T124;
  D T125;
  DWORD T126;
  DWORD T127;
  DWORD T128;
  D T129;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:74
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:74
  primitive_type_check(days_, &KLintegerGVKd);
  daysF8 = days_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:74
  primitive_type_check(hours_, &KLintegerGVKd);
  hoursF9 = hours_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:74
  primitive_type_check(minutes_, &KLintegerGVKd);
  minutesF10 = minutes_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:74
  primitive_type_check(seconds_, &KLintegerGVKd);
  secondsF11 = seconds_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:74
  primitive_type_check(microseconds_, &KLintegerGVKd);
  microsecondsF12 = microseconds_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:81
  SLOT_VALUE_SETTER(daysF8, duration_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:82
  T13 = primitive_cast_integer_as_raw(hoursF9);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:82
  T14 = primitive_machine_word_shift_right(T13,2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:82
  T15 = primitive_machine_word_multiply_signal_overflow(240,T14);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:82
  T16 = primitive_machine_word_logior(T15,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:82
  T17 = primitive_cast_integer_as_raw(minutesF10);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:82
  T18 = primitive_machine_word_logxor(T16,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:82
  T19 = primitive_machine_word_add_signal_overflow(T17,T18);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:82
  T20 = primitive_machine_word_shift_right(T19,2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:82
  T21 = primitive_machine_word_multiply_signal_overflow(240,T20);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:82
  T22 = primitive_machine_word_logior(T21,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:82
  T23 = primitive_cast_integer_as_raw(secondsF11);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:82
  T24 = primitive_machine_word_logxor(T22,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:82
  T25 = primitive_machine_word_add_signal_overflow(T23,T24);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:82
  T26 = primitive_cast_raw_as_integer(T25);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:82
  SLOT_VALUE_SETTER(T26, duration_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:83
  SLOT_VALUE_SETTER(microsecondsF12, duration_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  T40 = SLOT_VALUE_INITD(duration_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  T41 = primitive_cast_integer_as_raw(T40);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  T42 = primitive_machine_word_less_thanQ(-3999999,T41);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  if (T42 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T43 = SLOT_VALUE_INITD(duration_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T44 = primitive_cast_integer_as_raw(T43);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T45 = primitive_machine_word_less_thanQ(T44,4000001);
    T27 = T45;
  } else {
    T27 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  if (T27 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T46 = SLOT_VALUE_INITD(duration_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T47 = primitive_cast_integer_as_raw(T46);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T48 = primitive_machine_word_shift_right(T47,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T49_0 = primitive_machine_word_floorS_byref(T48,1000000,(DWORD*)&T49_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    quotientF50 = T49_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    remainderF51 = T49_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T52 = primitive_machine_word_shift_left_signal_overflow(quotientF50,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T53 = primitive_machine_word_shift_left_signal_overflow(remainderF51,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T54 = primitive_machine_word_logior(T53,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T55 = primitive_cast_raw_as_integer(T54);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    SLOT_VALUE_SETTER(T55, duration_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T56 = SLOT_VALUE_INITD(duration_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T57 = primitive_cast_integer_as_raw(T56);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T58 = primitive_machine_word_add_signal_overflow(T57,T52);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T59 = primitive_cast_raw_as_integer(T58);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    SLOT_VALUE_SETTER(T59, duration_, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  T60 = SLOT_VALUE_INITD(duration_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  T61 = primitive_cast_integer_as_raw(T60);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  T62 = primitive_machine_word_less_thanQ(-345599,T61);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  if (T62 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T63 = SLOT_VALUE_INITD(duration_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T64 = primitive_cast_integer_as_raw(T63);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T65 = primitive_machine_word_less_thanQ(T64,345601);
    T28 = T65;
  } else {
    T28 = &KPfalseVKi;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  if (T28 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T66 = SLOT_VALUE_INITD(duration_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T67 = primitive_cast_integer_as_raw(T66);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T68 = primitive_machine_word_shift_right(T67,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T69_0 = primitive_machine_word_floorS_byref(T68,86400,(DWORD*)&T69_1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    quotientF70 = T69_0;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    remainderF71 = T69_1;
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T72 = primitive_machine_word_shift_left_signal_overflow(quotientF70,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T73 = primitive_machine_word_shift_left_signal_overflow(remainderF71,2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T74 = primitive_machine_word_logior(T73,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T75 = primitive_cast_raw_as_integer(T74);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    SLOT_VALUE_SETTER(T75, duration_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T76 = SLOT_VALUE_INITD(duration_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T77 = primitive_cast_integer_as_raw(T76);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T78 = primitive_machine_word_add_signal_overflow(T77,T72);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T79 = primitive_cast_raw_as_integer(T78);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    SLOT_VALUE_SETTER(T79, duration_, 1);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  T80 = SLOT_VALUE_INITD(duration_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  T81 = primitive_cast_integer_as_raw(T80);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  T82 = primitive_machine_word_less_thanQ(T81,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  T83 = SLOT_VALUE_INITD(duration_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  T84 = primitive_cast_integer_as_raw(T83);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  T85 = primitive_machine_word_less_thanQ(T84,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  CONGRUENT_CALL_PROLOG(&KEVKd, 2);
  UtmpF29 = CONGRUENT_CALL2(T82, T85);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  if (UtmpF29 != &KPfalseVKi) {
    UtmpF30 = UtmpF29;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T86 = SLOT_VALUE_INITD(duration_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T87 = primitive_cast_integer_as_raw(T86);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T88 = primitive_machine_word_equalQ(T87,1);
    UtmpF30 = T88;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  if (UtmpF30 != &KPfalseVKi) {
    T31 = UtmpF30;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T89 = SLOT_VALUE_INITD(duration_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T90 = primitive_cast_integer_as_raw(T89);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T91 = primitive_machine_word_equalQ(T90,1);
    T31 = T91;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  if (T31 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T92 = SLOT_VALUE_INITD(duration_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T93 = primitive_cast_integer_as_raw(T92);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T94 = primitive_machine_word_less_thanQ(T93,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T95 = SLOT_VALUE_INITD(duration_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    if (T94 != &KPfalseVKi) {
      T32 = -3;
    } else {
      T32 = 5;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T96 = primitive_cast_integer_as_raw(T95);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T97 = primitive_machine_word_logxor(T32,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T98 = primitive_machine_word_add_signal_overflow(T96,T97);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T99 = primitive_cast_raw_as_integer(T98);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    SLOT_VALUE_SETTER(T99, duration_, 1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T100 = SLOT_VALUE_INITD(duration_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    if (T94 != &KPfalseVKi) {
      T33 = 345601;
    } else {
      T33 = -345599;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T101 = primitive_cast_integer_as_raw(T100);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T102 = primitive_machine_word_logxor(T33,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T103 = primitive_machine_word_add_signal_overflow(T101,T102);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T104 = primitive_cast_raw_as_integer(T103);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    SLOT_VALUE_SETTER(T104, duration_, 2);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  T105 = SLOT_VALUE_INITD(duration_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  T106 = primitive_cast_integer_as_raw(T105);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  T107 = primitive_machine_word_less_thanQ(T106,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  T108 = SLOT_VALUE_INITD(duration_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  T109 = primitive_cast_integer_as_raw(T108);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  T110 = primitive_machine_word_less_thanQ(T109,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  CONGRUENT_CALL_PROLOG(&KEVKd, 2);
  UtmpF34 = CONGRUENT_CALL2(T107, T110);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  if (UtmpF34 != &KPfalseVKi) {
    UtmpF35 = UtmpF34;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T111 = SLOT_VALUE_INITD(duration_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T112 = primitive_cast_integer_as_raw(T111);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T113 = primitive_machine_word_equalQ(T112,1);
    UtmpF35 = T113;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  if (UtmpF35 != &KPfalseVKi) {
    T36 = UtmpF35;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T114 = SLOT_VALUE_INITD(duration_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T115 = primitive_cast_integer_as_raw(T114);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T116 = primitive_machine_word_equalQ(T115,1);
    T36 = T116;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  if (T36 == &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T117 = SLOT_VALUE_INITD(duration_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T118 = primitive_cast_integer_as_raw(T117);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T119 = primitive_machine_word_less_thanQ(T118,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T120 = SLOT_VALUE_INITD(duration_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    if (T119 != &KPfalseVKi) {
      T37 = -3;
    } else {
      T37 = 5;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T121 = primitive_cast_integer_as_raw(T120);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T122 = primitive_machine_word_logxor(T37,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T123 = primitive_machine_word_add_signal_overflow(T121,T122);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T124 = primitive_cast_raw_as_integer(T123);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    SLOT_VALUE_SETTER(T124, duration_, 2);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T125 = SLOT_VALUE_INITD(duration_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    if (T119 != &KPfalseVKi) {
      T38 = 4000001;
    } else {
      T38 = -3999999;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T126 = primitive_cast_integer_as_raw(T125);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T127 = primitive_machine_word_logxor(T38,1);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T128 = primitive_machine_word_add_signal_overflow(T126,T127);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    T129 = primitive_cast_raw_as_integer(T128);
    // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
    SLOT_VALUE_SETTER(T129, duration_, 3);
  }
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:84
  T39_0 = duration_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:74
  MV_SET_COUNT(1);
  return(T39_0);
}

D KinitializeVKdMsystemM1I (D duration_, D Urest_, D years_, D months_) {
  D yearsF5;
  D monthsF6;
  D T7;
  DWORD T8;
  DWORD T9;
  DWORD T10;
  DWORD T11;
  DWORD T12;
  DWORD T13;
  DWORD T14;
  D T15;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:66
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:66
  primitive_type_check(years_, &KLintegerGVKd);
  yearsF5 = years_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:66
  primitive_type_check(months_, &KLintegerGVKd);
  monthsF6 = months_;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:70
  T8 = primitive_cast_integer_as_raw(yearsF5);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:70
  T9 = primitive_machine_word_shift_right(T8,2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:70
  T10 = primitive_machine_word_multiply_signal_overflow(48,T9);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:70
  T11 = primitive_machine_word_logior(T10,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:70
  T12 = primitive_cast_integer_as_raw(monthsF6);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:70
  T13 = primitive_machine_word_logxor(T12,1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:70
  T14 = primitive_machine_word_add_signal_overflow(T11,T13);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:70
  T15 = primitive_cast_raw_as_integer(T14);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:70
  SLOT_VALUE_SETTER(T15, duration_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:71
  T7 = duration_;
  MV_SET_ELT(0, duration_);
  MV_SET_COUNT(1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:66
  return(T7);
}

D Kclone_durationYsystem_internalsVsystemMM0I (D duration_) {
  D T2_0;
  D T3;
  _KLsimple_object_vectorGVKd_2 T4 = {&KLsimple_object_vectorGVKdW, (D) 9};

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:90
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:92
  T3 = SLOT_VALUE_INITD(duration_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:92
  T4.vector_element_[0] = IKJmonths_;
  T4.vector_element_[1] = T3;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:92
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T2_0 = CONGRUENT_CALL2(&KLyearSmonth_durationGYdateVsystem, &T4);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:90
  MV_SET_COUNT(1);
  return(T2_0);
}

D Kclone_durationYsystem_internalsVsystemMM1I (D duration_) {
  D T2_0;
  D T3;
  D T4;
  D T5;
  _KLsimple_object_vectorGVKd_6 T6 = {&KLsimple_object_vectorGVKdW, (D) 25};

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:95
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:97
  T3 = SLOT_VALUE_INITD(duration_, 1);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:98
  T4 = SLOT_VALUE_INITD(duration_, 2);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:99
  T5 = SLOT_VALUE_INITD(duration_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:97
  T6.vector_element_[0] = IKJdays_;
  T6.vector_element_[1] = T3;
  T6.vector_element_[2] = IKJseconds_;
  T6.vector_element_[3] = T4;
  T6.vector_element_[4] = IKJmicroseconds_;
  T6.vector_element_[5] = T5;
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:97
  CONGRUENT_CALL_PROLOG(&KmakeVKd, 2);
  T2_0 = CONGRUENT_CALL2(&KLdayStime_durationGYdateVsystem, &T6);
  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:95
  MV_SET_COUNT(1);
  return(T2_0);
}


/* SYSTEM INIT CODE */

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

    T0 = KPresolve_symbolVKiI(&KJyear_);
    if (T0 != &KJyear_) {
      IKJyear_ = T0;
      primitive_slot_value_setter(T0, &Kdae_yearYsystem_internalsVsystemHLdate_arithmetic_errorG, 3);
      primitive_repeated_slot_value_setter(T0, &K85, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K84, 1, 0);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJmonth_);
    if (T0 != &KJmonth_) {
      IKJmonth_ = T0;
      primitive_slot_value_setter(T0, &Kdae_monthYsystem_internalsVsystemHLdate_arithmetic_errorG, 3);
      primitive_repeated_slot_value_setter(T0, &K85, 1, 1);
      primitive_repeated_slot_value_setter(T0, &K84, 1, 2);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJday_);
    if (T0 != &KJday_) {
      IKJday_ = T0;
      primitive_slot_value_setter(T0, &Kdae_dayYsystem_internalsVsystemHLdate_arithmetic_errorG, 3);
      primitive_repeated_slot_value_setter(T0, &K85, 1, 2);
      primitive_repeated_slot_value_setter(T0, &K84, 1, 4);
      primitive_slot_value_setter(T0, &KdayHLdate_arithmetic_invalid_dayGYdateVsystem, 3);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJdays_);
    if (T0 != &KJdays_) {
      IKJdays_ = T0;
      primitive_repeated_slot_value_setter(T0, &K291, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K290, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K235, 1, 2);
      primitive_repeated_slot_value_setter(T0, &K233, 1, 4);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJseconds_);
    if (T0 != &KJseconds_) {
      IKJseconds_ = T0;
      primitive_repeated_slot_value_setter(T0, &K291, 1, 3);
      primitive_repeated_slot_value_setter(T0, &K290, 1, 6);
      primitive_repeated_slot_value_setter(T0, &K235, 1, 5);
      primitive_repeated_slot_value_setter(T0, &K233, 1, 10);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJmicroseconds_);
    if (T0 != &KJmicroseconds_) {
      IKJmicroseconds_ = T0;
      primitive_repeated_slot_value_setter(T0, &K291, 1, 4);
      primitive_repeated_slot_value_setter(T0, &K290, 1, 8);
      primitive_repeated_slot_value_setter(T0, &K235, 1, 6);
      primitive_repeated_slot_value_setter(T0, &K233, 1, 12);
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJhours_);
    if (T0 != &KJhours_) {
      primitive_repeated_slot_value_setter(T0, &K291, 1, 1);
      primitive_repeated_slot_value_setter(T0, &K290, 1, 2);
      primitive_repeated_slot_value_setter(T0, &K235, 1, 3);
      primitive_repeated_slot_value_setter(T0, &K233, 1, 6);
      IKJhours_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJminutes_);
    if (T0 != &KJminutes_) {
      primitive_repeated_slot_value_setter(T0, &K291, 1, 2);
      primitive_repeated_slot_value_setter(T0, &K290, 1, 4);
      primitive_repeated_slot_value_setter(T0, &K235, 1, 4);
      primitive_repeated_slot_value_setter(T0, &K233, 1, 8);
      IKJminutes_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJyears_);
    if (T0 != &KJyears_) {
      primitive_repeated_slot_value_setter(T0, &K288, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K287, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K235, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K233, 1, 0);
      IKJyears_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJmonths_);
    if (T0 != &KJmonths_) {
      IKJmonths_ = T0;
      primitive_repeated_slot_value_setter(T0, &K288, 1, 1);
      primitive_repeated_slot_value_setter(T0, &K287, 1, 2);
      primitive_repeated_slot_value_setter(T0, &K235, 1, 1);
      primitive_repeated_slot_value_setter(T0, &K233, 1, 2);
    }
  }
{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:16
  T0 = KPadd_classVKeI(&KLdurationGYdateVsystem);
  goto I0;
}
I0:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:141
  T0 = KPadd_classVKeI(&KLdate_arithmetic_errorGYdateVsystem);
  goto I28;
}
I28:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:147
  T0 = KPadd_classVKeI(&KLdate_arithmetic_error_restartGYdateVsystem);
  goto I31;
}
I31:

  return;
}

/* USER INIT CODE */

void _Init_system__X_durations_for_user () {
{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:29
  T0 = KPadd_nonsiblinged_domainVKnI(&KEVKd, &KEVKdRD_systemRD_10);
  goto I4;
}
I4:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:30
  T0 = KPadd_nonsiblinged_domainVKnI(&KLVKd, &KLVKdRD_systemRD_2);
  goto I6;
}
I6:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:31
  T0 = KPadd_nonsiblinged_domainVKnI(&KAVKd, &KAVKdRD_systemRD_6);
  goto I8;
}
I8:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:32
  T0 = KPadd_nonsiblinged_domainVKnI(&KAVKd, &KAVKdRD_systemRD_5);
  goto I10;
}
I10:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:33
  T0 = KPadd_nonsiblinged_domainVKnI(&KAVKd, &KAVKdRD_systemRD_4);
  goto I12;
}
I12:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:34
  T0 = KPadd_nonsiblinged_domainVKnI(&K_VKd, &K_VKdRD_systemRD_6);
  goto I14;
}
I14:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:35
  T0 = KPadd_nonsiblinged_domainVKnI(&K_VKd, &K_VKdRD_systemRD_5);
  goto I16;
}
I16:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:36
  T0 = KPadd_nonsiblinged_domainVKnI(&K_VKd, &K_VKdRD_systemRD_4);
  goto I18;
}
I18:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:37
  T0 = KPadd_nonsiblinged_domainVKnI(&KTVKd, &KTVKdRD_systemRD_3);
  goto I20;
}
I20:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:38
  T0 = KPadd_nonsiblinged_domainVKnI(&KTVKd, &KTVKdRD_systemRD_2);
  goto I22;
}
I22:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:39
  T0 = KPadd_nonsiblinged_domainVKnI(&KSVKd, &KSVKdRD_systemRD_1);
  goto I24;
}
I24:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:41
  T0 = KPadd_a_methodVKnI(&KmakeVKd, &KmakeVKdMsystemM1, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I27;
}
I27:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:66
  T0 = KPadd_a_methodVKnI(&KinitializeVKd, &KinitializeVKdMsystemM1, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I277;
}
I277:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:74
  T0 = KPadd_a_methodVKnI(&KinitializeVKd, &KinitializeVKdMsystemM2, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I274;
}
I274:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:154
  T0 = KPadd_a_methodVKnI(&Kcondition_to_stringYcommon_extensionsVcommon_dylan, &Kcondition_to_stringYcommon_extensionsVcommon_dylanMsystemM0, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I271;
}
I271:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:162
  T0 = KPadd_a_methodVKnI(&Kreturn_allowedQVKd, &Kreturn_allowedQVKdMsystemM0, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I268;
}
I268:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:170
  T0 = KPadd_a_methodVKnI(&Kcondition_to_stringYcommon_extensionsVcommon_dylan, &Kcondition_to_stringYcommon_extensionsVcommon_dylanMsystemM1, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I265;
}
I265:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:178
  T0 = KPadd_a_methodVKnI(&Kreturn_descriptionVKd, &Kreturn_descriptionVKdMsystemM0, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I262;
}
I262:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:216
  T0 = KPadd_a_methodVKnI(&KEVKd, &KEVKdMsystemM1, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I36;
}
I36:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:223
  T0 = KPadd_a_methodVKnI(&KLVKd, &KLVKdMsystemM1, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I259;
}
I259:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:228
  T0 = KPadd_a_methodVKnI(&KLVKd, &KLVKdMsystemM2, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I256;
}
I256:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:272
  T0 = KPadd_a_methodVKnI(&KAVKd, &KAVKdMsystemM0, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I39;
}
I39:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:276
  T0 = KPadd_a_methodVKnI(&KAVKd, &KAVKdMsystemM1, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I42;
}
I42:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:280
  T0 = KPadd_a_methodVKnI(&K_VKd, &K_VKdMsystemM0, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I45;
}
I45:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:286
  T0 = KPadd_a_methodVKnI(&K_VKd, &K_VKdMsystemM1, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I48;
}
I48:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:306
  T0 = KPadd_a_methodVKnI(&KAVKd, &KAVKdMsystemM2, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I253;
}
I253:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:311
  T0 = KPadd_a_methodVKnI(&KAVKd, &KAVKdMsystemM3, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I250;
}
I250:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:326
  T0 = KPadd_a_methodVKnI(&K_VKd, &K_VKdMsystemM2, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I247;
}
I247:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:331
  T0 = KPadd_a_methodVKnI(&K_VKd, &K_VKdMsystemM3, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I244;
}
I244:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:346
  T0 = KPadd_a_methodVKnI(&KTVKd, &KTVKdMsystemM0, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I51;
}
I51:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:350
  T0 = KPadd_a_methodVKnI(&KTVKd, &KTVKdMsystemM1, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I54;
}
I54:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/system/durations.dylan:354
  T0 = KPadd_a_methodVKnI(&KSVKd, &KSVKdMsystemM0, &Ksystem_libraryYdylan_userVsystem, &KPfalseVKi, &KPfalseVKi, &KPtrueVKi);
  goto I57;
}
I57:

  return;
}


/* eof */
