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

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

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

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

#define  define__KLbyte_stringGVKd(nrepeated) \
  typedef struct { \
    D wrapper; \
    D size_; \
    char string_element_[nrepeated+1]; \
  } _KLbyte_stringGVKd_##nrepeated;
define__KLbyte_stringGVKd(10);
define__KLbyte_stringGVKd(9);
define__KLbyte_stringGVKd(7);
define__KLbyte_stringGVKd(12);
define__KLbyte_stringGVKd(24);

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

typedef struct {
  D wrapper;
  D mangler_;
  D cg_variables_;
  D registers_;
  D variables_;
} _KLharp_native_back_endGYnative_back_endVharp_native;

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

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

typedef struct {
  D wrapper;
  D cr_refers_to_object_;
  D cr_const_offset_;
} _KLconstant_referenceGYharp_constant_referencesVharp;

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

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

typedef struct {
  D wrapper;
} _KLharp_outputterGYharp_outputterVharp;

typedef struct {
  D wrapper;
} _KLintegerGVKd;

typedef struct {
  D wrapper;
  D spill_offset_;
} _KLspillGYharp_registersVharp;

typedef struct {
  D wrapper;
  D spill_offset_;
} _KLdfspillGYharp_registersVharp;

typedef struct {
  D wrapper;
  D spill_offset_;
} _KLsfspillGYharp_registersVharp;

typedef struct {
  D wrapper;
  D spill_offset_;
} _KLnspillGYharp_registersVharp;

typedef struct {
  D wrapper;
  D spill_offset_;
} _KLgspillGYharp_registersVharp;

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;


/* Typedefs for defined classes */


/* Referenced object declarations */

D KPadd_a_methodVKnI (D, D, D, D, D, D);
extern _KLincremental_generic_functionGVKe Ksigned_frame_pointer_offsetYmain_harpVharp;
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 _KLlibraryGVKe Kharp_native_libraryYdylan_userVharp_native;
extern _KLclassGVKd KLlibraryGVKe;
extern _KLmm_wrapperGVKi_0 KLlibraryGVKeW;
extern _KLbooleanGVKd KPfalseVKi;
extern _KLclassGVKd KLbooleanGVKd;
extern _KLmm_wrapperGVKi_0 KLbooleanGVKdW;
extern _KLincremental_generic_functionGVKe Kspill_frame_pointer_offsetYharp_debug_infoVharp;
extern _KLincremental_generic_functionGVKe Koutput_implicit_externalsYharp_outputterVharp;
extern _KLclassGVKd KLobjectGVKd;
extern _KLmm_wrapperGVKi_0 KLobjectGVKdW;
extern _KLunboundGVKe KPunboundVKi;
extern _KLclassGVKd KLunboundGVKe;
extern _KLmm_wrapperGVKi_0 KLunboundGVKeW;
extern _KLbooleanGVKd KPtrueVKi;
extern _KLempty_listGVKd KPempty_listVKi;
extern _KLclassGVKd KLempty_listGVKd;
extern _KLmm_wrapperGVKi_0 KLempty_listGVKdW;
extern _KLabsent_engine_nodeGVKg RSINGULAR_Labsent_engine_nodeG;
extern _KLclassGVKd KLabsent_engine_nodeGVKg;
extern _KLmm_wrapperGVKi_0 KLabsent_engine_nodeGVKgW;
extern _KLmoduleGVKe Knative_main_harp_moduleYdylan_userVharp_native;
extern _KLclassGVKd KLmoduleGVKe;
extern _KLmm_wrapperGVKi_0 KLmoduleGVKeW;
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLclassGVKd KLbyte_stringGVKd;
extern _KLmm_wrapperGVKi_0 KLbyte_stringGVKdW;
extern _KLclassGVKd KLsignatureAvaluesGVKi;
extern _KLmm_wrapperGVKi_0 KLsignatureAvaluesGVKiW;
extern _KLsimple_object_vectorGVKd_16 KDsignature_LbooleanG_typesVKi;
extern _KLclassGVKd KLharp_native_back_endGYnative_back_endVharp_native;
extern _KLmm_wrapperGVKi_0 KLharp_native_back_endGYnative_back_endVharp_nativeW;
extern _KLclassGVKd KLpairGVKd;
extern _KLmm_wrapperGVKi_0 KLpairGVKdW;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
D KmakeVKdMharpM5I (D, D);
extern _KLclassGVKd KLconstant_referenceGYharp_constant_referencesVharp;
extern _KLmm_wrapperGVKi_0 KLconstant_referenceGYharp_constant_referencesVharpW;
extern _KLclassGVKd KLsymbolGVKd;
extern _KLmm_wrapperGVKi_0 KLsymbolGVKdW;
extern _KLincremental_generic_functionGVKe Koutput_externalYharp_outputterVharp;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;
extern _KLclassGVKd KLharp_outputterGYharp_outputterVharp;
extern _KLmm_wrapperGVKi_0 KLharp_outputterGYharp_outputterVharpW;
extern _KLsimple_object_vectorGVKd_16 KDsignature_LintegerG_typesVKi;
extern _KLclassGVKd KLintegerGVKd;
extern _KLmm_wrapperGVKi_0 KLintegerGVKdW;
D Karg_spillQYmain_harpVharpMM0I (D);
extern _KLclassGVKd KLspillGYharp_registersVharp;
extern _KLmm_wrapperGVKi_0 KLspillGYharp_registersVharpW;
extern _KLclassGVKd KLdfspillGYharp_registersVharp;
extern _KLmm_wrapperGVKi_0 KLdfspillGYharp_registersVharpW;
extern _KLclassGVKd KLsfspillGYharp_registersVharp;
extern _KLmm_wrapperGVKi_0 KLsfspillGYharp_registersVharpW;
extern _KLclassGVKd KLnspillGYharp_registersVharp;
extern _KLmm_wrapperGVKi_0 KLnspillGYharp_registersVharpW;
extern _KLclassGVKd KLgspillGYharp_registersVharp;
extern _KLmm_wrapperGVKi_0 KLgspillGYharp_registersVharpW;
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_256 KDsignature_LobjectG_typesVKi;
extern D remove_optionals_runtimeYnative_main_harpVharp_native;

/* Defined object declarations */

extern _KLsimple_methodGVKe Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM0;
D Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM0I (D, D);
extern _KLsimple_methodGVKe Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM1;
D Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM1I (D, D);
extern _KLsimple_methodGVKe Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM2;
D Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM2I (D, D);
extern _KLsimple_methodGVKe Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM3;
D Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM3I (D, D);
extern _KLsimple_methodGVKe Kspill_frame_pointer_offsetYharp_debug_infoVharpMharp_nativeM0;
D Kspill_frame_pointer_offsetYharp_debug_infoVharpMharp_nativeM0I (D, D, D);
extern _KLsimple_methodGVKe Kspill_frame_pointer_offsetYharp_debug_infoVharpMharp_nativeM1;
D Kspill_frame_pointer_offsetYharp_debug_infoVharpMharp_nativeM1I (D, D, D);
extern _KLsimple_methodGVKe Koutput_implicit_externalsYharp_outputterVharpMharp_nativeM0;
D Koutput_implicit_externalsYharp_outputterVharpMharp_nativeM0I (D, D);
D Kruntime_referenceYnative_main_harpVharp_nativeMM0I (D);
D Kreturn_address_sizeYnative_main_harpVharp_nativeMM0I (D);
extern _KLincremental_generic_functionGVKe Kreturn_address_on_stackQYnative_main_harpVharp_native;
extern _KLsimple_methodGVKe Kreturn_address_on_stackQYnative_main_harpVharp_nativeMM0;
D Kreturn_address_on_stackQYnative_main_harpVharp_nativeMM0I (D);
static _KLpairGVKd K26;
static _KLsignatureAvaluesGVKi K27;
static _KLbyte_stringGVKd_24 K28;
static _KLsimple_object_vectorGVKd_1 K29;
static _KLsymbolGVKd KJrefers_to_;
static _KLsymbolGVKd KJaddress_mode_;
static _KLsymbolGVKd KJaddress_;
static _KLsymbolGVKd KJconst_offset_;
static _KLbyte_stringGVKd_12 K34;
static _KLbyte_stringGVKd_7 K35;
static _KLbyte_stringGVKd_12 K36;
static _KLbyte_stringGVKd_9 K37;
static _KLsignatureGVKe K38;
static _KLsimple_object_vectorGVKd_2 K39;
D Karg_offset_from_arg_numberYnative_main_harpVharp_nativeMM0I (D, D, D, D);
static _KLsignatureAvaluesGVKi K41;
static _KLsimple_object_vectorGVKd_3 K42;
D Karg_offsetYnative_main_harpVharp_nativeMM0I (D, D, D, D);
static _KLsignatureAvaluesGVKi K44;
static _KLsimple_object_vectorGVKd_3 K45;
static _KLsignatureAvaluesGVKi K46;
static _KLsimple_object_vectorGVKd_2 K47;
static _KLsignatureAvaluesGVKi K48;
static _KLsimple_object_vectorGVKd_2 K49;
static _KLsignatureAvaluesGVKi K50;
static _KLsimple_object_vectorGVKd_2 K51;
static _KLsignatureAvaluesGVKi K52;
static _KLsimple_object_vectorGVKd_2 K53;
extern _KLkeyword_methodGVKe Karg_offsetYnative_main_harpVharp_nativeMM0;
static _KLkeyword_signatureAvaluesGVKi K55;
static _KLsimple_object_vectorGVKd_2 K56;
static _KLsymbolGVKd KJwith_frame_;
static _KLbyte_stringGVKd_10 K58;
static _KLsimple_object_vectorGVKd_2 K59;
static _KLsimple_object_vectorGVKd_1 K60;
extern _KLkeyword_methodGVKe Karg_offset_from_arg_numberYnative_main_harpVharp_nativeMM0;
static _KLkeyword_signatureAvaluesGVKi K62;
static _KLsimple_object_vectorGVKd_2 K63;
extern _KLsimple_methodGVKe Kreturn_address_sizeYnative_main_harpVharp_nativeMM0;
static _KLsignatureAvaluesGVKi K65;
extern _KLsimple_methodGVKe Kreturn_address_size_in_bytesYnative_main_harpVharp_nativeMM0;
D Kreturn_address_size_in_bytesYnative_main_harpVharp_nativeMM0I (D);
extern _KLsimple_methodGVKe Ksize_of_preserved_registersYnative_main_harpVharp_nativeMM0;
D Ksize_of_preserved_registersYnative_main_harpVharp_nativeMM0I (D);
static _KLsignatureGVKe K70;

/* Indirection variables */

static D IKJrefers_to_ = &KJrefers_to_;
static D IKJaddress_mode_ = &KJaddress_mode_;
static D IKJaddress_ = &KJaddress_;
static D IKJconst_offset_ = &KJconst_offset_;
static D IKJwith_frame_ = &KJwith_frame_;

/* Variables */

D size_of_preserved_registersYnative_main_harpVharp_native = &Ksize_of_preserved_registersYnative_main_harpVharp_nativeMM0;
D return_address_size_in_bytesYnative_main_harpVharp_native = &Kreturn_address_size_in_bytesYnative_main_harpVharp_nativeMM0;
D return_address_sizeYnative_main_harpVharp_native = &Kreturn_address_sizeYnative_main_harpVharp_nativeMM0;
D arg_offset_from_arg_numberYnative_main_harpVharp_native = &Karg_offset_from_arg_numberYnative_main_harpVharp_nativeMM0;
D arg_offsetYnative_main_harpVharp_native = &Karg_offsetYnative_main_harpVharp_nativeMM0;
D return_address_on_stackQYnative_main_harpVharp_native = &Kreturn_address_on_stackQYnative_main_harpVharp_native;

/* Objects */

_KLsimple_methodGVKe Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K52,
  &Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM0I
};

_KLsimple_methodGVKe Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K50,
  &Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM1I
};

_KLsimple_methodGVKe Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM2 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K48,
  &Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM2I
};

_KLsimple_methodGVKe Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM3 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K46,
  &Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM3I
};

_KLsimple_methodGVKe Kspill_frame_pointer_offsetYharp_debug_infoVharpMharp_nativeM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_3,
  &K44,
  &Kspill_frame_pointer_offsetYharp_debug_infoVharpMharp_nativeM0I
};

_KLsimple_methodGVKe Kspill_frame_pointer_offsetYharp_debug_infoVharpMharp_nativeM1 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_3,
  &K41,
  &Kspill_frame_pointer_offsetYharp_debug_infoVharpMharp_nativeM1I
};

_KLsimple_methodGVKe Koutput_implicit_externalsYharp_outputterVharpMharp_nativeM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_2,
  &K38,
  &Koutput_implicit_externalsYharp_outputterVharpMharp_nativeM0I
};

_KLincremental_generic_functionGVKe Kreturn_address_on_stackQYnative_main_harpVharp_native = {
  &KLincremental_generic_functionGVKeW /* wrapper */,
  &gf_xep_1,
  &K27,
  (D) 1,
  &K28,
  &K26,
  &RSINGULAR_Labsent_engine_nodeG,
  &Knative_main_harp_moduleYdylan_userVharp_native,
  &KPfalseVKi,
  &KPempty_vectorVKi,
  (D) 25
};

_KLsimple_methodGVKe Kreturn_address_on_stackQYnative_main_harpVharp_nativeMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K27,
  &Kreturn_address_on_stackQYnative_main_harpVharp_nativeMM0I
};

static _KLpairGVKd K26 = {
  &KLpairGVKdW /* wrapper */,
  &Kreturn_address_on_stackQYnative_main_harpVharp_nativeMM0,
  &KPempty_listVKi
};

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

static _KLbyte_stringGVKd_24 K28 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 97,
  "return-address-on-stack?"
};

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

static _KLsymbolGVKd KJrefers_to_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K37
};

static _KLsymbolGVKd KJaddress_mode_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K36
};

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

static _KLsymbolGVKd KJconst_offset_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K34
};

static _KLbyte_stringGVKd_12 K34 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 49,
  "const-offset"
};

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

static _KLbyte_stringGVKd_12 K36 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 49,
  "address-mode"
};

static _KLbyte_stringGVKd_9 K37 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 37,
  "refers-to"
};

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

static _KLsimple_object_vectorGVKd_2 K39 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLharp_native_back_endGYnative_back_endVharp_native,
  &KLharp_outputterGYharp_outputterVharp
};

static _KLsignatureAvaluesGVKi K41 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555469,
  &K42,
  &KDsignature_LintegerG_typesVKi
};

static _KLsimple_object_vectorGVKd_3 K42 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &KLharp_native_back_endGYnative_back_endVharp_native,
  &KLintegerGVKd,
  &KLbooleanGVKd
};

static _KLsignatureAvaluesGVKi K44 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555469,
  &K45,
  &KDsignature_LintegerG_typesVKi
};

static _KLsimple_object_vectorGVKd_3 K45 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 13,
  &KLharp_native_back_endGYnative_back_endVharp_native,
  &KLspillGYharp_registersVharp,
  &KLbooleanGVKd
};

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

static _KLsimple_object_vectorGVKd_2 K47 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLharp_native_back_endGYnative_back_endVharp_native,
  &KLdfspillGYharp_registersVharp
};

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

static _KLsimple_object_vectorGVKd_2 K49 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLharp_native_back_endGYnative_back_endVharp_native,
  &KLsfspillGYharp_registersVharp
};

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

static _KLsimple_object_vectorGVKd_2 K51 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLharp_native_back_endGYnative_back_endVharp_native,
  &KLnspillGYharp_registersVharp
};

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

static _KLsimple_object_vectorGVKd_2 K53 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLharp_native_back_endGYnative_back_endVharp_native,
  &KLgspillGYharp_registersVharp
};

_KLkeyword_methodGVKe Karg_offsetYnative_main_harpVharp_nativeMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K55,
  &key_mep_4,
  &Karg_offsetYnative_main_harpVharp_nativeMM0I,
  &K56
};

static _KLkeyword_signatureAvaluesGVKi K55 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 33817609,
  &K59,
  &K60,
  &KDsignature_LobjectG_typesVKi,
  &KDsignature_LintegerG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K56 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KJwith_frame_,
  &KPunboundVKi
};

static _KLsymbolGVKd KJwith_frame_ = {
  &KLsymbolGVKdW /* wrapper */,
  &K58
};

static _KLbyte_stringGVKd_10 K58 = {
  &KLbyte_stringGVKdW /* wrapper */,
  (D) 41,
  "with-frame"
};

static _KLsimple_object_vectorGVKd_2 K59 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLharp_native_back_endGYnative_back_endVharp_native,
  &KLspillGYharp_registersVharp
};

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

_KLkeyword_methodGVKe Karg_offset_from_arg_numberYnative_main_harpVharp_nativeMM0 = {
  &KLkeyword_methodGVKeW /* wrapper */,
  &rest_key_xep_4,
  &K62,
  &key_mep_4,
  &Karg_offset_from_arg_numberYnative_main_harpVharp_nativeMM0I,
  &K56
};

static _KLkeyword_signatureAvaluesGVKi K62 = {
  &KLkeyword_signatureAvaluesGVKiW /* wrapper */,
  (D) 33817609,
  &K63,
  &K60,
  &KDsignature_LobjectG_typesVKi,
  &KDsignature_LintegerG_typesVKi
};

static _KLsimple_object_vectorGVKd_2 K63 = {
  &KLsimple_object_vectorGVKdW /* wrapper */,
  (D) 9,
  &KLharp_native_back_endGYnative_back_endVharp_native,
  &KLintegerGVKd
};

_KLsimple_methodGVKe Kreturn_address_sizeYnative_main_harpVharp_nativeMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K65,
  &Kreturn_address_sizeYnative_main_harpVharp_nativeMM0I
};

static _KLsignatureAvaluesGVKi K65 = {
  &KLsignatureAvaluesGVKiW /* wrapper */,
  (D) 33555461,
  &K29,
  &KDsignature_LintegerG_typesVKi
};

_KLsimple_methodGVKe Kreturn_address_size_in_bytesYnative_main_harpVharp_nativeMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K65,
  &Kreturn_address_size_in_bytesYnative_main_harpVharp_nativeMM0I
};

_KLsimple_methodGVKe Ksize_of_preserved_registersYnative_main_harpVharp_nativeMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K70,
  &Ksize_of_preserved_registersYnative_main_harpVharp_nativeMM0I
};

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

/* Code */

D Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM0I (D backend_, D x_) {
  D T3;
  D T4;
  D T5;
  DWORD T6;
  DWORD T7;
  DWORD T8;
  D T9;
  DWORD T10;
  DWORD T11;
  DWORD T12;
  D T13;
  DWORD T14;
  DWORD T15;
  DWORD T16;
  DWORD T17;
  DWORD T18;
  DWORD T19;
  D T20;
  D T21_0;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:12
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:14
  T3 = SLOT_VALUE(backend_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:14
  T4 = SLOT_VALUE(T3, 25);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:16
  T5 = SLOT_VALUE(x_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:15
  T6 = primitive_cast_integer_as_raw(T5);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:15
  T7 = primitive_machine_word_logxor(T6,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:15
  T8 = primitive_machine_word_add_signal_overflow(5,T7);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:17
  T9 = SLOT_VALUE_INITD(T4, 14);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:15
  T10 = primitive_cast_integer_as_raw(T9);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:15
  T11 = primitive_machine_word_logxor(T10,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:15
  T12 = primitive_machine_word_add_signal_overflow(T8,T11);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:18
  T13 = SLOT_VALUE_INITD(T4, 13);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:15
  T14 = primitive_cast_integer_as_raw(T13);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:15
  T15 = primitive_machine_word_logxor(T14,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:15
  T16 = primitive_machine_word_add_signal_overflow(T12,T15);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:15
  T17 = primitive_machine_word_shift_right(T16,2);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:15
  T18 = primitive_machine_word_multiply_signal_overflow(0xFFFFFFF0L,T17);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:15
  T19 = primitive_machine_word_logior(T18,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:15
  T20 = primitive_cast_raw_as_integer(T19);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:15
  T21_0 = T20;
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:12
  MV_SET_COUNT(1);
  return(T21_0);
}

D Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM1I (D backend_, D x_) {
  D T3;
  D T4;
  D T5;
  DWORD T6;
  DWORD T7;
  DWORD T8;
  D T9;
  DWORD T10;
  DWORD T11;
  DWORD T12;
  DWORD T13;
  DWORD T14;
  DWORD T15;
  D T16;
  D T17_0;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:23
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:25
  T3 = SLOT_VALUE(backend_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:25
  T4 = SLOT_VALUE(T3, 25);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:27
  T5 = SLOT_VALUE(x_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:26
  T6 = primitive_cast_integer_as_raw(T5);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:26
  T7 = primitive_machine_word_logxor(T6,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:26
  T8 = primitive_machine_word_add_signal_overflow(5,T7);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:28
  T9 = SLOT_VALUE_INITD(T4, 13);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:26
  T10 = primitive_cast_integer_as_raw(T9);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:26
  T11 = primitive_machine_word_logxor(T10,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:26
  T12 = primitive_machine_word_add_signal_overflow(T8,T11);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:26
  T13 = primitive_machine_word_shift_right(T12,2);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:26
  T14 = primitive_machine_word_multiply_signal_overflow(0xFFFFFFF0L,T13);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:26
  T15 = primitive_machine_word_logior(T14,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:26
  T16 = primitive_cast_raw_as_integer(T15);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:26
  T17_0 = T16;
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:23
  MV_SET_COUNT(1);
  return(T17_0);
}

D Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM2I (D backend_, D x_) {
  D T3;
  D T4;
  D T5;
  DWORD T6;
  DWORD T7;
  DWORD T8;
  D T9;
  DWORD T10;
  DWORD T11;
  DWORD T12;
  D T13;
  DWORD T14;
  DWORD T15;
  DWORD T16;
  DWORD T17;
  DWORD T18;
  DWORD T19;
  D T20;
  D T21_0;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:32
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:34
  T3 = SLOT_VALUE(backend_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:34
  T4 = SLOT_VALUE(T3, 25);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:36
  T5 = SLOT_VALUE(x_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:35
  T6 = primitive_cast_integer_as_raw(T5);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:35
  T7 = primitive_machine_word_logxor(T6,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:35
  T8 = primitive_machine_word_add_signal_overflow(5,T7);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:37
  T9 = SLOT_VALUE_INITD(T4, 13);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:35
  T10 = primitive_cast_integer_as_raw(T9);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:35
  T11 = primitive_machine_word_logxor(T10,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:35
  T12 = primitive_machine_word_add_signal_overflow(T8,T11);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:38
  T13 = SLOT_VALUE_INITD(T4, 15);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:35
  T14 = primitive_cast_integer_as_raw(T13);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:35
  T15 = primitive_machine_word_logxor(T14,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:35
  T16 = primitive_machine_word_add_signal_overflow(T12,T15);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:35
  T17 = primitive_machine_word_shift_right(T16,2);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:35
  T18 = primitive_machine_word_multiply_signal_overflow(0xFFFFFFF0L,T17);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:35
  T19 = primitive_machine_word_logior(T18,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:35
  T20 = primitive_cast_raw_as_integer(T19);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:35
  T21_0 = T20;
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:32
  MV_SET_COUNT(1);
  return(T21_0);
}

D Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM3I (D backend_, D x_) {
  D T3;
  D T4;
  D T5;
  DWORD T6;
  DWORD T7;
  DWORD T8;
  DWORD T9;
  DWORD T10;
  DWORD T11;
  D T12;
  DWORD T13;
  DWORD T14;
  DWORD T15;
  D T16;
  DWORD T17;
  DWORD T18;
  DWORD T19;
  D T20;
  DWORD T21;
  DWORD T22;
  DWORD T23;
  DWORD T24;
  DWORD T25;
  DWORD T26;
  D T27;
  D T28_0;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:42
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:44
  T3 = SLOT_VALUE(backend_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:44
  T4 = SLOT_VALUE(T3, 25);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:46
  T5 = SLOT_VALUE(x_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:46
  T6 = primitive_cast_integer_as_raw(T5);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:46
  T7 = primitive_machine_word_shift_right(T6,2);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:46
  T8 = primitive_machine_word_multiply_signal_overflow(8,T7);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:46
  T9 = primitive_machine_word_logior(T8,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:45
  T10 = primitive_machine_word_logxor(T9,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:45
  T11 = primitive_machine_word_add_signal_overflow(9,T10);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:47
  T12 = SLOT_VALUE_INITD(T4, 13);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:45
  T13 = primitive_cast_integer_as_raw(T12);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:45
  T14 = primitive_machine_word_logxor(T13,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:45
  T15 = primitive_machine_word_add_signal_overflow(T11,T14);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:48
  T16 = SLOT_VALUE_INITD(T4, 15);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:45
  T17 = primitive_cast_integer_as_raw(T16);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:45
  T18 = primitive_machine_word_logxor(T17,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:45
  T19 = primitive_machine_word_add_signal_overflow(T15,T18);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:49
  T20 = SLOT_VALUE_INITD(T4, 17);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:45
  T21 = primitive_cast_integer_as_raw(T20);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:45
  T22 = primitive_machine_word_logxor(T21,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:45
  T23 = primitive_machine_word_add_signal_overflow(T19,T22);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:45
  T24 = primitive_machine_word_shift_right(T23,2);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:45
  T25 = primitive_machine_word_multiply_signal_overflow(0xFFFFFFF0L,T24);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:45
  T26 = primitive_machine_word_logior(T25,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:45
  T27 = primitive_cast_raw_as_integer(T26);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:45
  T28_0 = T27;
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:42
  MV_SET_COUNT(1);
  return(T28_0);
}

D Kspill_frame_pointer_offsetYharp_debug_infoVharpMharp_nativeM0I (D backend_, D spill_, D with_frame_) {
  D T4_0;
  D T5_0;
  D T6_0;
  D T7;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:53
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:56
  T7 = Karg_spillQYmain_harpVharpMM0I(spill_);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:56
  if (T7 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:57
    T4_0 = Karg_offsetYnative_main_harpVharp_nativeMM0I(backend_, spill_, &KPempty_vectorVKi, with_frame_);
    T6_0 = T4_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:59
    CONGRUENT_CALL_PROLOG(&Ksigned_frame_pointer_offsetYmain_harpVharp, 2);
    T5_0 = CONGRUENT_CALL2(backend_, spill_);
    T6_0 = T5_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:56
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:53
  MV_SET_COUNT(1);
  return(T6_0);
}

D Kspill_frame_pointer_offsetYharp_debug_infoVharpMharp_nativeM1I (D backend_, D arg_number_, D with_frame_) {
  D T4_0;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:65
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:68
  T4_0 = Karg_offset_from_arg_numberYnative_main_harpVharp_nativeMM0I(backend_, arg_number_, &KPempty_vectorVKi, with_frame_);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:65
  MV_SET_COUNT(1);
  return(T4_0);
}

D Koutput_implicit_externalsYharp_outputterVharpMharp_nativeM0I (D backend_, D outputter_) {
  D T3;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:149
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:151
  CONGRUENT_CALL_PROLOG(&Koutput_externalYharp_outputterVharp, 4);
  T3 = CONGRUENT_CALL4(backend_, outputter_, remove_optionals_runtimeYnative_main_harpVharp_native, &KPempty_vectorVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:149
  return(T3);
}

D Kruntime_referenceYnative_main_harpVharp_nativeMM0I (D name_) {
  _KLsimple_object_vectorGVKd_6 T2 = {&KLsimple_object_vectorGVKdW, (D) 25};
  D T3_0;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:130
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:132
  T2.vector_element_[0] = IKJrefers_to_;
  T2.vector_element_[1] = name_;
  T2.vector_element_[2] = IKJaddress_mode_;
  T2.vector_element_[3] = IKJaddress_;
  T2.vector_element_[4] = IKJconst_offset_;
  T2.vector_element_[5] = (D) 1;
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:132
  T3_0 = KmakeVKdMharpM5I(&KLconstant_referenceGYharp_constant_referencesVharp, &T2);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:130
  MV_SET_COUNT(1);
  return(T3_0);
}

D Kreturn_address_sizeYnative_main_harpVharp_nativeMM0I (D be_) {
  D T2;
  D T3_0;
  D T4_0;
  D T5_0;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:117
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:119
  CONGRUENT_CALL_PROLOG(&Kreturn_address_on_stackQYnative_main_harpVharp_native, 1);
  T2 = CONGRUENT_CALL1(be_);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:119
  if (T2 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:119
    T3_0 = (D) 5;
    T5_0 = T3_0;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:120
    T4_0 = (D) 1;
    T5_0 = T4_0;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:119
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:117
  MV_SET_COUNT(1);
  return(T5_0);
}

D Kreturn_address_on_stackQYnative_main_harpVharp_nativeMM0I (D be_) {
  D T2_0;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:112
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:114
  T2_0 = &KPfalseVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:112
  MV_SET_COUNT(1);
  return(T2_0);
}

D Karg_offset_from_arg_numberYnative_main_harpVharp_nativeMM0I (D backend_, D operand_, D Urest_, D with_frame_) {
  D T5;
  D with_frameF6;
  D T7;
  DWORD T8;
  D T9;
  D T10;
  D T11;
  DWORD T12;
  DWORD T13;
  DWORD T14;
  DWORD T15;
  DWORD T16;
  DWORD T17;
  DWORD T18;
  D T19;
  D T20_0;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:81
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:81
  T9 = primitive_idQ(with_frame_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:81
  if (T9 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:83
    T10 = SLOT_VALUE(backend_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:83
    T11 = SLOT_VALUE_INITD(T10, 17);
    // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:81
    T5 = T11;
    with_frameF6 = T5;
  } else {
    with_frameF6 = with_frame_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:81
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:85
  if (with_frameF6 != &KPfalseVKi) {
    T8 = 9;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:85
    T7 = Kreturn_address_sizeYnative_main_harpVharp_nativeMM0I(backend_);
    // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:85
    T15 = primitive_cast_integer_as_raw(T7);
    T8 = T15;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:85
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:85
  T12 = primitive_cast_integer_as_raw(operand_);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:85
  T13 = primitive_machine_word_logxor(T12,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:85
  T14 = primitive_machine_word_add_signal_overflow(T8,T13);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:85
  T16 = primitive_machine_word_shift_right(T14,2);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:85
  T17 = primitive_machine_word_multiply_signal_overflow(16,T16);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:85
  T18 = primitive_machine_word_logior(T17,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:85
  T19 = primitive_cast_raw_as_integer(T18);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:85
  T20_0 = T19;
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:81
  MV_SET_COUNT(1);
  return(T20_0);
}

D Karg_offsetYnative_main_harpVharp_nativeMM0I (D backend_, D operand_, D Urest_, D with_frame_) {
  D T5;
  D with_frameF6;
  D T7;
  DWORD T8;
  D T9;
  D T10;
  D T11;
  D T12;
  DWORD T13;
  DWORD T14;
  DWORD T15;
  DWORD T16;
  DWORD T17;
  DWORD T18;
  DWORD T19;
  DWORD T20;
  DWORD T21;
  D T22;
  D T23_0;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:71
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:71
  T9 = primitive_idQ(with_frame_,&KPunboundVKi);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:71
  if (T9 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:73
    T10 = SLOT_VALUE(backend_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:73
    T11 = SLOT_VALUE_INITD(T10, 17);
    // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:71
    T5 = T11;
    with_frameF6 = T5;
  } else {
    with_frameF6 = with_frame_;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:71
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:75
  if (with_frameF6 != &KPfalseVKi) {
    T8 = 9;
  } else {
    // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:75
    T7 = Kreturn_address_sizeYnative_main_harpVharp_nativeMM0I(backend_);
    // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:75
    T18 = primitive_cast_integer_as_raw(T7);
    T8 = T18;
  }
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:75
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:76
  T12 = SLOT_VALUE(operand_, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:76
  T13 = primitive_cast_integer_as_raw(T12);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:76
  T14 = primitive_machine_word_logxor(T13,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:76
  T15 = primitive_machine_word_subtract_signal_overflow(-3,T14);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:75
  T16 = primitive_machine_word_logxor(T15,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:75
  T17 = primitive_machine_word_add_signal_overflow(T8,T16);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:75
  T19 = primitive_machine_word_shift_right(T17,2);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:75
  T20 = primitive_machine_word_multiply_signal_overflow(16,T19);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:75
  T21 = primitive_machine_word_logior(T20,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:75
  T22 = primitive_cast_raw_as_integer(T21);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:75
  T23_0 = T22;
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:71
  MV_SET_COUNT(1);
  return(T23_0);
}

D Kreturn_address_size_in_bytesYnative_main_harpVharp_nativeMM0I (D be_) {
  D T2;
  DWORD T3;
  DWORD T4;
  DWORD T5;
  DWORD T6;
  D T7;
  D T8_0;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:124
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:126
  T2 = Kreturn_address_sizeYnative_main_harpVharp_nativeMM0I(be_);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:126
  T3 = primitive_cast_integer_as_raw(T2);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:126
  T4 = primitive_machine_word_shift_right(T3,2);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:126
  T5 = primitive_machine_word_multiply_signal_overflow(16,T4);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:126
  T6 = primitive_machine_word_logior(T5,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:126
  T7 = primitive_cast_raw_as_integer(T6);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:126
  T8_0 = T7;
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:124
  MV_SET_COUNT(1);
  return(T8_0);
}

D Ksize_of_preserved_registersYnative_main_harpVharp_nativeMM0I (D be_) {
  D T2;
  D T3;
  D T4;
  DWORD T5;
  DWORD T6;
  DWORD T7;
  DWORD T8;
  D T9;
  D T10_0;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:141
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:143
  T2 = SLOT_VALUE(be_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:143
  T3 = SLOT_VALUE(T2, 25);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:144
  T4 = SLOT_VALUE_INITD(T3, 13);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:144
  T5 = primitive_cast_integer_as_raw(T4);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:144
  T6 = primitive_machine_word_shift_right(T5,2);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:144
  T7 = primitive_machine_word_multiply_signal_overflow(16,T6);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:144
  T8 = primitive_machine_word_logior(T7,1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:144
  T9 = primitive_cast_raw_as_integer(T8);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:144
  T10_0 = T9;
  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:141
  MV_SET_COUNT(1);
  return(T10_0);
}


/* SYSTEM INIT CODE */

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

    T0 = KPresolve_symbolVKiI(&KJrefers_to_);
    if (T0 != &KJrefers_to_) {
      IKJrefers_to_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJaddress_mode_);
    if (T0 != &KJaddress_mode_) {
      IKJaddress_mode_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJaddress_);
    if (T0 != &KJaddress_) {
      IKJaddress_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJconst_offset_);
    if (T0 != &KJconst_offset_) {
      IKJconst_offset_ = T0;
    }
  }
  {
    D T0;

    T0 = KPresolve_symbolVKiI(&KJwith_frame_);
    if (T0 != &KJwith_frame_) {
      primitive_repeated_slot_value_setter(T0, &K60, 1, 0);
      primitive_repeated_slot_value_setter(T0, &K56, 1, 0);
    }
  }
  return;
}

/* USER INIT CODE */

void _Init_harp_native__X_general_for_user () {
{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:12
  T0 = KPadd_a_methodVKnI(&Ksigned_frame_pointer_offsetYmain_harpVharp, &Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM0, &Kharp_native_libraryYdylan_userVharp_native, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I2;
}
I2:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:23
  T0 = KPadd_a_methodVKnI(&Ksigned_frame_pointer_offsetYmain_harpVharp, &Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM1, &Kharp_native_libraryYdylan_userVharp_native, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I5;
}
I5:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:32
  T0 = KPadd_a_methodVKnI(&Ksigned_frame_pointer_offsetYmain_harpVharp, &Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM2, &Kharp_native_libraryYdylan_userVharp_native, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I8;
}
I8:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:42
  T0 = KPadd_a_methodVKnI(&Ksigned_frame_pointer_offsetYmain_harpVharp, &Ksigned_frame_pointer_offsetYmain_harpVharpMharp_nativeM3, &Kharp_native_libraryYdylan_userVharp_native, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I11;
}
I11:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:53
  T0 = KPadd_a_methodVKnI(&Kspill_frame_pointer_offsetYharp_debug_infoVharp, &Kspill_frame_pointer_offsetYharp_debug_infoVharpMharp_nativeM0, &Kharp_native_libraryYdylan_userVharp_native, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I14;
}
I14:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:65
  T0 = KPadd_a_methodVKnI(&Kspill_frame_pointer_offsetYharp_debug_infoVharp, &Kspill_frame_pointer_offsetYharp_debug_infoVharpMharp_nativeM1, &Kharp_native_libraryYdylan_userVharp_native, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I17;
}
I17:

{
  D T0;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/native/general.dylan:149
  T0 = KPadd_a_methodVKnI(&Koutput_implicit_externalsYharp_outputterVharp, &Koutput_implicit_externalsYharp_outputterVharpMharp_nativeM0, &Kharp_native_libraryYdylan_userVharp_native, &KPfalseVKi, &KPfalseVKi, &KPfalseVKi);
  goto I20;
}
I20:

  return;
}


/* eof */
