#include "run-time.h"

/* Typedefs for referenced classes */

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

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

typedef struct {
  D wrapper;
} _KLobjectGVKd;

typedef struct {
  D wrapper;
} _KLunboundGVKe;

typedef struct {
  D wrapper;
} _KLbooleanGVKd;

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

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

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 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;
} _KLintegerGVKd;

typedef struct {
  D wrapper;
  D new_sdi_preceding_sdis_;
  D new_sdi_dest_tag_;
  D new_sdi_dest_offset_;
  D new_sdi_cached_span_;
  D new_sdi_cached_size_;
  D new_sdi_fixed_offset_;
  D new_sdi_diff_;
  D new_sdi_method_index_;
  D new_sdi_method_vector_;
  D new_sdi_code_fragment_;
  D new_sdi_code_holder_;
  D new_sdi_checked_;
} _KLnew_sdiGYmain_harpVharp;

typedef struct {
  D wrapper;
  D bb_start_;
  D bb_end_;
  D bb_taags_;
  D bb_fall_thru_;
  D bb_next_set_;
  D bb_prev_set_;
  D bb_other_set_;
  D bb_defs_;
  D bb_last_entry_;
  D bb_live_entry_;
  D bb_properties_;
  D bb_copy_of_;
} _KLbasic_blockGYharp_basic_blockVharp;

typedef struct {
  D wrapper;
  D xep_;
} _KLfunctionGVKd;

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

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


/* Typedefs for defined classes */


/* Referenced object declarations */

extern _KLclassGVKd KLclassGVKd;
extern _KLmm_wrapperGVKi_0 KLclassGVKdW;
extern _KLclassGVKd KLmm_wrapperGVKi;
extern _KLmm_wrapperGVKi_1 KLmm_wrapperGVKiW;
extern _KLclassGVKd KLobjectGVKd;
extern _KLmm_wrapperGVKi_0 KLobjectGVKdW;
extern _KLunboundGVKe KPunboundVKi;
extern _KLclassGVKd KLunboundGVKe;
extern _KLmm_wrapperGVKi_0 KLunboundGVKeW;
extern _KLbooleanGVKd KPtrueVKi;
extern _KLclassGVKd KLbooleanGVKd;
extern _KLmm_wrapperGVKi_0 KLbooleanGVKdW;
extern _KLbooleanGVKd KPfalseVKi;
D Kelement_range_errorVKeI (D, D);
extern _KLsealed_generic_functionGVKe Knew_sdi_dest_tagYmain_harpVharp;
extern _KLclassGVKd KLsealed_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLsealed_generic_functionGVKeW;
extern _KLsimple_methodGVKe Kfind_bbYbase_harpVharpMM0;
extern _KLfunction_classGVKi KLsimple_methodGVKe;
extern _KLclassGVKd KLfunction_classGVKi;
extern _KLmm_wrapperGVKi_0 KLfunction_classGVKiW;
extern _KLmm_wrapperGVKi_0 KLsimple_methodGVKeW;
extern _KLsealed_generic_functionGVKe Knew_sdi_dest_offsetYmain_harpVharp;
extern _KLincremental_generic_functionGVKe KAVKd;
extern _KLfunction_classGVKi KLincremental_generic_functionGVKe;
extern _KLmm_wrapperGVKi_0 KLincremental_generic_functionGVKeW;
extern _KLsealed_generic_functionGVKe Knew_sdi_fixed_offsetYmain_harpVharp;
extern _KLincremental_generic_functionGVKe K_VKd;
extern _KLsealed_generic_functionGVKe Knew_sdi_cached_span_setterYmain_harpVharp;
extern _KLsealed_generic_functionGVKe Knew_sdi_checked_setterYmain_harpVharp;
extern _KLsealed_generic_functionGVKe Knew_sdi_cached_sizeYmain_harpVharp;
D KEEVKdI (D, D);
extern _KLsealed_generic_functionGVKe Knew_sdi_diff_setterYmain_harpVharp;
extern _KLclassGVKd KLintegerGVKd;
extern _KLmm_wrapperGVKi_0 KLintegerGVKdW;
extern _KLsealed_generic_functionGVKe Knew_sdi_cached_size_setterYmain_harpVharp;
extern _KLclassGVKd KLnew_sdiGYmain_harpVharp;
extern _KLmm_wrapperGVKi_0 KLnew_sdiGYmain_harpVharpW;
extern _KLclassGVKd KLbasic_blockGYharp_basic_blockVharp;
extern _KLmm_wrapperGVKi_0 KLbasic_blockGYharp_basic_blockVharpW;
extern _KLsealed_generic_functionGVKe Knew_sdi_diffYmain_harpVharp;
extern _KLsealed_generic_functionGVKe Knew_sdi_checkedYmain_harpVharp;
extern _KLsealed_generic_functionGVKe Knew_sdi_cached_spanYmain_harpVharp;
extern _KLincremental_generic_functionGVKe KLVKd;
extern _KLsealed_generic_functionGVKe Ktag_bbYbase_harpVharp;
extern _KLsealed_generic_functionGVKe Kbb_last_entryYharp_basic_blockVharp;
extern _KLsealed_generic_functionGVKe Knew_sdi_method_vectorYmain_harpVharp;
extern _KLsealed_generic_functionGVKe Knew_sdi_method_indexYmain_harpVharp;
extern _KLincremental_generic_functionGVKe KelementVKd;
extern _KLclassGVKd KLfunctionGVKd;
extern _KLmm_wrapperGVKi_0 KLfunctionGVKdW;
extern _KLsealed_generic_functionGVKe Knew_sdi_code_holder_setterYmain_harpVharp;
extern _KLclassGVKd KLsimple_object_vectorGVKd;
extern _KLmm_wrapperGVKi_0 KLsimple_object_vectorGVKdW;
extern _KLsimple_object_vectorGVKd_0 KPempty_vectorVKi;
extern _KLsealed_generic_functionGVKe Knew_sdi_method_index_setterYmain_harpVharp;
extern _KLclassGVKd KLsignatureGVKe;
extern _KLmm_wrapperGVKi_0 KLsignatureGVKeW;

/* Defined object declarations */

D Kresolve_sdisYmain_harpVharpMM0I (D);
extern _KLsimple_methodGVKe Kcalculate_instructionYmain_harpVharpMM0;
D Kcalculate_instructionYmain_harpVharpMM0I (D);
static _KLsignatureGVKe K3;
static _KLsimple_object_vectorGVKd_1 K4;

/* Indirection variables */


/* Variables */


/* Objects */

_KLsimple_methodGVKe Kcalculate_instructionYmain_harpVharpMM0 = {
  &KLsimple_methodGVKeW /* wrapper */,
  &xep_1,
  &K3,
  &Kcalculate_instructionYmain_harpVharpMM0I
};

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

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

/* Code */

D Kresolve_sdisYmain_harpVharpMM0I (D backend_) {
  DWORD indexF2T, indexF2;
  D T3;
  D dest_blockF4;
  D T5;
  D dest_place_;
  D this_place_;
  D spanF8;
  D new_sizeF9;
  D T10;
  D T11;
  D T12;
  D diffF13;
  D T14;
  D T15;
  DWORD sdi_index_T, sdi_index_;
  D dest_blockF17;
  DWORD p_indexF18T, p_indexF18;
  D diffF19;
  D T20;
  DWORD p_indexF21T, p_indexF21;
  D diffF22;
  D T23;
  DWORD indexF24T, indexF24;
  D T25;
  D new_sizeF26;
  D cached_size_;
  D T28;
  D diffF29;
  D spanF30;
  D T31;
  D new_new_size_;
  D T33;
  D T34;
  D T35;
  D T36;
  DWORD p_indexF37T, p_indexF37;
  D T38;
  D dest_blockF39;
  D sdis_before_destF40;
  D T41;
  D T42;
  DWORD p_indexF43T, p_indexF43;
  D T44;
  D dest_blockF45;
  D sdis_before_destF46;
  D T47;
  D T48;
  DWORD indexF49T, indexF49;
  D T50;
  D T51;
  D fun_;
  D T53;
  D T54;
  D T55;
  D T56;
  D increase_in_code_size_;
  D T58;
  D T59;
  D T60;
  D changed_;
  D T62;
  D T63;
  D new_sizeF64;
  D T65;
  D T66;
  D T67;
  D T68;
  D diffF69;
  D T70;
  D T71;
  D T72;
  D T73;
  D T74;
  D T75;
  D T76;
  D T77;
  DWORD T78;
  D T79;
  D T80;
  D T81;
  D T82;
  DWORD T83;
  D T84;
  D T85;
  D T86_0;
  D T87;
  D T88;
  D T89;
  DWORD T90;
  DWORD T91;
  D T92;
  D T93;
  D T94;
  D T95;
  DWORD T96;
  D T97;
  D T98;
  D T99_0;
  D T100;
  D T101;
  D T102;
  D T103;
  D T104;
  D T105;
  D T106;
  DWORD T107;
  DWORD T108;
  D T109;
  DWORD T110;
  D T111;
  DWORD T112;
  D T113;
  D T114;
  D T115;
  DWORD T116;
  D T117;
  D T118;
  D T119_0;
  D T120;
  D T121;
  D T122;
  DWORD T123;
  DWORD T124;
  D T125;
  DWORD T126;
  D T127;
  D T128;
  D T129;
  DWORD T130;
  D T131;
  D T132;
  D T133_0;
  D T134;
  D T135;
  D T136;
  DWORD T137;
  DWORD T138;
  DWORD T139;
  D T140;
  D T141;
  D T142;
  D T143;
  DWORD T144;
  D T145;
  D T146;
  D T147_0;
  D T148;
  D T149;
  D T150_0;
  D T151;
  D T152;
  D T153;
  D T154;
  D T155;
  DWORD T156;
  D T157;
  D T158;
  D T159_0;
  D T160;
  D T161;
  D T162_0;
  D T163;
  DWORD T164;
  DWORD T165;
  DWORD T166;
  D T167;
  D T168;
  D T169;
  D T170;
  DWORD T171;
  D T172;
  D T173;
  D T174_0;
  D T175;
  D T176;
  D T177;
  DWORD T178;
  DWORD T179;
  DWORD T180;
  D T181;
  D T182;
  D T183;
  D T184;
  DWORD T185;
  D T186;
  D T187;
  D T188_0;
  D T189;
  D T190;
  DWORD T191;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:47
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:49
  T74 = SLOT_VALUE(backend_, 3);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:49
  T75 = SLOT_VALUE_INITD(T74, 5);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:50
  T76 = SLOT_VALUE_INITD(T75, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:50
  T77 = SLOT_VALUE_INITD(T76, 0);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:51
  increase_in_code_size_ = (D) 1;
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:52
  changed_ = &KPfalseVKi;
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:55
  indexF2T = 1;
L0: ;
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:55
    indexF2 = indexF2T;
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:55
    T80 = primitive_cast_raw_as_integer(indexF2);
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:55
    T78 = primitive_cast_integer_as_raw(T77);
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:55
    T79 = primitive_machine_word_less_thanQ(indexF2,T78);
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:55
    if (T79 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:55
      T81 = SLOT_VALUE_INITD(T75, 0);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:55
      T82 = SLOT_VALUE_INITD(T81, 0);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:55
      T83 = primitive_cast_integer_as_raw(T82);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:55
      T84 = primitive_machine_word_unsigned_less_thanQ(indexF2,T83);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:55
      if (T84 != &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:55
        T85 = REPEATED_D_SLOT_VALUE_TAGGED(T81, 2, indexF2);
        T88 = T85;
      } else {
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:55
        T86_0 = Kelement_range_errorVKeI(T75, T80);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:55
        T87 = T86_0;
        T88 = T87;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:55
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:56
      T3 = CALL1(&Knew_sdi_dest_tagYmain_harpVharp, T88);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:56
      dest_blockF4 = CALL2(&Kfind_bbYbase_harpVharpMM0, backend_, T3);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:58
      T89 = SLOT_VALUE_INITD(dest_blockF4, 3);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:59
      T5 = CALL1(&Knew_sdi_dest_offsetYmain_harpVharp, T88);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:58
      CONGRUENT_CALL_PROLOG(&KAVKd, 2);
      dest_place_ = CONGRUENT_CALL2(T89, T5);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:60
      this_place_ = CALL1(&Knew_sdi_fixed_offsetYmain_harpVharp, T88);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:61
      CONGRUENT_CALL_PROLOG(&K_VKd, 2);
      spanF8 = CONGRUENT_CALL2(dest_place_, this_place_);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:62
      CALL2(&Knew_sdi_cached_span_setterYmain_harpVharp, spanF8, T88);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:63
      CALL2(&Knew_sdi_checked_setterYmain_harpVharp, &KPtrueVKi, T88);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:64
      new_sizeF9 = CALL1(&Kcalculate_instructionYmain_harpVharpMM0, T88);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:65
      T10 = CALL1(&Knew_sdi_cached_sizeYmain_harpVharp, T88);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:65
      T11 = KEEVKdI(new_sizeF9, T10);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:65
      if (T11 != &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:66
        CALL2(&Knew_sdi_diff_setterYmain_harpVharp, &KPfalseVKi, T88);
      } else {
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:68
        T12 = CALL1(&Knew_sdi_cached_sizeYmain_harpVharp, T88);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:68
        CONGRUENT_CALL_PROLOG(&K_VKd, 2);
        diffF13 = CONGRUENT_CALL2(new_sizeF9, T12);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:69
        changed_ = &KPtrueVKi;
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:70
        T60 = increase_in_code_size_;
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:70
        CONGRUENT_CALL_PROLOG(&KAVKd, 2);
        T14 = CONGRUENT_CALL2(T60, diffF13);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:70
        primitive_type_check(T14, &KLintegerGVKd);
        T15 = T14;
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:70
        increase_in_code_size_ = T15;
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:71
        CALL2(&Knew_sdi_diff_setterYmain_harpVharp, diffF13, T88);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:72
        CALL2(&Knew_sdi_cached_size_setterYmain_harpVharp, new_sizeF9, T88);
      }
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:65
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:55
      T90 = primitive_machine_word_add_signal_overflow(indexF2,4);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:55
      indexF2T = T90;
      goto L0;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:55
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:55
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:80
  T63 = changed_;
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:80
  if (T63 != &KPfalseVKi) {
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:81
    sdi_index_T = 1;
  L1: ;
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:81
      sdi_index_ = sdi_index_T;
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:81
      T93 = primitive_cast_raw_as_integer(sdi_index_);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:81
      T91 = primitive_cast_integer_as_raw(T77);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:81
      T92 = primitive_machine_word_less_thanQ(sdi_index_,T91);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:81
      if (T92 != &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:82
        T94 = SLOT_VALUE_INITD(T75, 0);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:82
        T95 = SLOT_VALUE_INITD(T94, 0);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:82
        T96 = primitive_cast_integer_as_raw(T95);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:82
        T97 = primitive_machine_word_unsigned_less_thanQ(sdi_index_,T96);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:82
        if (T97 != &KPfalseVKi) {
          // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:82
          T98 = REPEATED_D_SLOT_VALUE_TAGGED(T94, 2, sdi_index_);
          // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:82
          primitive_type_check(T98, &KLnew_sdiGYmain_harpVharp);
          T102 = T98;
          T101 = T102;
        } else {
          // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:82
          T99_0 = Kelement_range_errorVKeI(T75, T93);
          // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:82
          T100 = T99_0;
          T101 = T100;
        }
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:82
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:83
        T103 = SLOT_VALUE_INITD(T101, 0);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:84
        T104 = SLOT_VALUE(T101, 1);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:84
        T105 = SLOT_VALUE_INITD(T104, 1);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:84
        primitive_type_check(T105, &KLbasic_blockGYharp_basic_blockVharp);
        dest_blockF17 = T105;
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:85
        T106 = SLOT_VALUE_INITD(dest_blockF17, 8);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:86
        T107 = primitive_cast_integer_as_raw(T106);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:86
        T108 = primitive_cast_integer_as_raw(T103);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:86
        T109 = primitive_machine_word_less_thanQ(T107,T108);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:86
        if (T109 != &KPfalseVKi) {
          // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:87
          T112 = primitive_cast_integer_as_raw(T106);
          // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:87
          p_indexF18T = T112;
        L2: ;
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:87
            p_indexF18 = p_indexF18T;
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:87
            T113 = primitive_cast_raw_as_integer(p_indexF18);
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:87
            T110 = primitive_cast_integer_as_raw(T103);
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:87
            T111 = primitive_machine_word_less_thanQ(p_indexF18,T110);
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:87
            if (T111 != &KPfalseVKi) {
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:89
              T114 = SLOT_VALUE_INITD(T75, 0);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:89
              T115 = SLOT_VALUE_INITD(T114, 0);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:89
              T116 = primitive_cast_integer_as_raw(T115);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:89
              T117 = primitive_machine_word_unsigned_less_thanQ(p_indexF18,T116);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:89
              if (T117 != &KPfalseVKi) {
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:89
                T118 = REPEATED_D_SLOT_VALUE_TAGGED(T114, 2, p_indexF18);
                T121 = T118;
              } else {
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:89
                T119_0 = Kelement_range_errorVKeI(T75, T113);
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:89
                T120 = T119_0;
                T121 = T120;
              }
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:89
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:90
              diffF19 = CALL1(&Knew_sdi_diffYmain_harpVharp, T121);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:91
              SLOT_VALUE_SETTER(&KPfalseVKi, T101, 11);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:92
              if (diffF19 != &KPfalseVKi) {
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:92
                T122 = SLOT_VALUE_INITD(T101, 3);
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:92
                CONGRUENT_CALL_PROLOG(&K_VKd, 2);
                T20 = CONGRUENT_CALL2(T122, diffF19);
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:92
                CALL2(&Knew_sdi_cached_span_setterYmain_harpVharp, T20, T101);
              }
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:92
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:87
              T123 = primitive_machine_word_add_signal_overflow(p_indexF18,4);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:87
              p_indexF18T = T123;
              goto L2;
            }
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:87
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:87
        } else {
          // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:95
          T126 = primitive_cast_integer_as_raw(T103);
          // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:95
          p_indexF21T = T126;
        L3: ;
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:95
            p_indexF21 = p_indexF21T;
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:95
            T127 = primitive_cast_raw_as_integer(p_indexF21);
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:95
            T124 = primitive_cast_integer_as_raw(T106);
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:95
            T125 = primitive_machine_word_less_thanQ(p_indexF21,T124);
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:95
            if (T125 != &KPfalseVKi) {
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:97
              T128 = SLOT_VALUE_INITD(T75, 0);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:97
              T129 = SLOT_VALUE_INITD(T128, 0);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:97
              T130 = primitive_cast_integer_as_raw(T129);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:97
              T131 = primitive_machine_word_unsigned_less_thanQ(p_indexF21,T130);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:97
              if (T131 != &KPfalseVKi) {
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:97
                T132 = REPEATED_D_SLOT_VALUE_TAGGED(T128, 2, p_indexF21);
                T135 = T132;
              } else {
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:97
                T133_0 = Kelement_range_errorVKeI(T75, T127);
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:97
                T134 = T133_0;
                T135 = T134;
              }
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:97
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:98
              diffF22 = CALL1(&Knew_sdi_diffYmain_harpVharp, T135);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:99
              SLOT_VALUE_SETTER(&KPfalseVKi, T101, 11);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:100
              if (diffF22 != &KPfalseVKi) {
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:100
                T136 = SLOT_VALUE_INITD(T101, 3);
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:100
                CONGRUENT_CALL_PROLOG(&KAVKd, 2);
                T23 = CONGRUENT_CALL2(T136, diffF22);
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:100
                CALL2(&Knew_sdi_cached_span_setterYmain_harpVharp, T23, T101);
              }
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:100
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:95
              T137 = primitive_machine_word_add_signal_overflow(p_indexF21,4);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:95
              p_indexF21T = T137;
              goto L3;
            }
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:95
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:95
        }
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:86
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:81
        T138 = primitive_machine_word_add_signal_overflow(sdi_index_,4);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:81
        sdi_index_T = T138;
        goto L1;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:81
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:81
  }
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:80
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:106
L4: ;
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:106
    T62 = changed_;
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:106
    if (T62 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:107
      changed_ = &KPfalseVKi;
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:108
      indexF24T = 1;
    L5: ;
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:108
        indexF24 = indexF24T;
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:108
        T141 = primitive_cast_raw_as_integer(indexF24);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:108
        T139 = primitive_cast_integer_as_raw(T77);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:108
        T140 = primitive_machine_word_less_thanQ(indexF24,T139);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:108
        if (T140 != &KPfalseVKi) {
          // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:108
          T142 = SLOT_VALUE_INITD(T75, 0);
          // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:108
          T143 = SLOT_VALUE_INITD(T142, 0);
          // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:108
          T144 = primitive_cast_integer_as_raw(T143);
          // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:108
          T145 = primitive_machine_word_unsigned_less_thanQ(indexF24,T144);
          // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:108
          if (T145 != &KPfalseVKi) {
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:108
            T146 = REPEATED_D_SLOT_VALUE_TAGGED(T142, 2, indexF24);
            T149 = T146;
          } else {
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:108
            T147_0 = Kelement_range_errorVKeI(T75, T141);
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:108
            T148 = T147_0;
            T149 = T148;
          }
          // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:108
          // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:109
          T25 = CALL1(&Knew_sdi_checkedYmain_harpVharp, T149);
          // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:109
          if (T25 == &KPfalseVKi) {
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:110
            new_sizeF26 = CALL1(&Kcalculate_instructionYmain_harpVharpMM0, T149);
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:110
            new_sizeF64 = new_sizeF26;
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:111
            cached_size_ = CALL1(&Knew_sdi_cached_sizeYmain_harpVharp, T149);
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:112
            CALL2(&Knew_sdi_checked_setterYmain_harpVharp, &KPtrueVKi, T149);
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:113
            T68 = new_sizeF64;
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:113
            T28 = KEEVKdI(cached_size_, T68);
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:113
            if (T28 == &KPfalseVKi) {
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:114
              T67 = new_sizeF64;
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:114
              CONGRUENT_CALL_PROLOG(&K_VKd, 2);
              diffF29 = CONGRUENT_CALL2(T67, cached_size_);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:114
              diffF69 = diffF29;
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:115
              spanF30 = CALL1(&Knew_sdi_cached_spanYmain_harpVharp, T149);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:116
              CONGRUENT_CALL_PROLOG(&KLVKd, 2);
              T150_0 = CONGRUENT_CALL2((D) 1, spanF30);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:116
              T151 = T150_0;
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:116
              if (T151 != &KPfalseVKi) {
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:117
                T73 = diffF69;
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:117
                CONGRUENT_CALL_PROLOG(&KAVKd, 2);
                T31 = CONGRUENT_CALL2(spanF30, T73);
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:117
                CALL2(&Knew_sdi_cached_span_setterYmain_harpVharp, T31, T149);
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:118
                new_new_size_ = CALL1(&Kcalculate_instructionYmain_harpVharpMM0, T149);
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:119
                T66 = new_sizeF64;
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:119
                T33 = KEEVKdI(new_new_size_, T66);
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:119
                if (T33 == &KPfalseVKi) {
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:120
                  CONGRUENT_CALL_PROLOG(&K_VKd, 2);
                  T34 = CONGRUENT_CALL2(new_new_size_, cached_size_);
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:120
                  diffF69 = T34;
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:121
                  new_sizeF64 = new_new_size_;
                }
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:119
              }
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:116
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:125
              T65 = new_sizeF64;
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:125
              CALL2(&Knew_sdi_cached_size_setterYmain_harpVharp, T65, T149);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:126
              T59 = increase_in_code_size_;
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:126
              T72 = diffF69;
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:126
              CONGRUENT_CALL_PROLOG(&KAVKd, 2);
              T35 = CONGRUENT_CALL2(T59, T72);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:126
              primitive_type_check(T35, &KLintegerGVKd);
              T36 = T35;
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:126
              increase_in_code_size_ = T36;
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:128
              p_indexF37T = 1;
            L6: ;
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:128
                p_indexF37 = p_indexF37T;
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:128
                T153 = primitive_cast_raw_as_integer(p_indexF37);
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:128
                T152 = primitive_machine_word_less_thanQ(p_indexF37,indexF24);
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:128
                if (T152 != &KPfalseVKi) {
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:128
                  T154 = SLOT_VALUE_INITD(T75, 0);
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:128
                  T155 = SLOT_VALUE_INITD(T154, 0);
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:128
                  T156 = primitive_cast_integer_as_raw(T155);
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:128
                  T157 = primitive_machine_word_unsigned_less_thanQ(p_indexF37,T156);
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:128
                  if (T157 != &KPfalseVKi) {
                    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:128
                    T158 = REPEATED_D_SLOT_VALUE_TAGGED(T154, 2, p_indexF37);
                    T161 = T158;
                  } else {
                    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:128
                    T159_0 = Kelement_range_errorVKeI(T75, T153);
                    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:128
                    T160 = T159_0;
                    T161 = T160;
                  }
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:128
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:129
                  T38 = CALL1(&Knew_sdi_dest_tagYmain_harpVharp, T161);
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:129
                  dest_blockF39 = CALL1(&Ktag_bbYbase_harpVharp, T38);
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:130
                  sdis_before_destF40 = CALL1(&Kbb_last_entryYharp_basic_blockVharp, dest_blockF39);
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:131
                  CONGRUENT_CALL_PROLOG(&KLVKd, 2);
                  T162_0 = CONGRUENT_CALL2(T141, sdis_before_destF40);
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:131
                  T163 = T162_0;
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:131
                  if (T163 != &KPfalseVKi) {
                    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:132
                    changed_ = &KPtrueVKi;
                    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:133
                    T41 = CALL1(&Knew_sdi_cached_spanYmain_harpVharp, T161);
                    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:133
                    T71 = diffF69;
                    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:133
                    CONGRUENT_CALL_PROLOG(&KAVKd, 2);
                    T42 = CONGRUENT_CALL2(T41, T71);
                    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:133
                    CALL2(&Knew_sdi_cached_span_setterYmain_harpVharp, T42, T161);
                    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:134
                    CALL2(&Knew_sdi_checked_setterYmain_harpVharp, &KPfalseVKi, T161);
                  }
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:131
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:128
                  T164 = primitive_machine_word_add_signal_overflow(p_indexF37,4);
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:128
                  p_indexF37T = T164;
                  goto L6;
                }
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:128
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:128
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:138
              T165 = primitive_machine_word_add_signal_overflow(indexF24,4);
              // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:139
              p_indexF43T = T165;
            L7: ;
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:139
                p_indexF43 = p_indexF43T;
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:139
                T168 = primitive_cast_raw_as_integer(p_indexF43);
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:139
                T166 = primitive_cast_integer_as_raw(T77);
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:139
                T167 = primitive_machine_word_less_thanQ(p_indexF43,T166);
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:139
                if (T167 != &KPfalseVKi) {
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:140
                  T169 = SLOT_VALUE_INITD(T75, 0);
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:140
                  T170 = SLOT_VALUE_INITD(T169, 0);
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:140
                  T171 = primitive_cast_integer_as_raw(T170);
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:140
                  T172 = primitive_machine_word_unsigned_less_thanQ(p_indexF43,T171);
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:140
                  if (T172 != &KPfalseVKi) {
                    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:140
                    T173 = REPEATED_D_SLOT_VALUE_TAGGED(T169, 2, p_indexF43);
                    T176 = T173;
                  } else {
                    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:140
                    T174_0 = Kelement_range_errorVKeI(T75, T168);
                    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:140
                    T175 = T174_0;
                    T176 = T175;
                  }
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:140
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:141
                  T44 = CALL1(&Knew_sdi_dest_tagYmain_harpVharp, T176);
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:141
                  dest_blockF45 = CALL1(&Ktag_bbYbase_harpVharp, T44);
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:142
                  sdis_before_destF46 = CALL1(&Kbb_last_entryYharp_basic_blockVharp, dest_blockF45);
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:143
                  CONGRUENT_CALL_PROLOG(&KLVKd, 2);
                  T177 = CONGRUENT_CALL2(T141, sdis_before_destF46);
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:143
                  if (T177 == &KPfalseVKi) {
                    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:144
                    T47 = CALL1(&Knew_sdi_cached_spanYmain_harpVharp, T176);
                    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:144
                    T70 = diffF69;
                    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:144
                    CONGRUENT_CALL_PROLOG(&K_VKd, 2);
                    T48 = CONGRUENT_CALL2(T47, T70);
                    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:144
                    CALL2(&Knew_sdi_cached_span_setterYmain_harpVharp, T48, T176);
                    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:145
                    CALL2(&Knew_sdi_checked_setterYmain_harpVharp, &KPfalseVKi, T176);
                  }
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:143
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:139
                  T178 = primitive_machine_word_add_signal_overflow(p_indexF43,4);
                  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:139
                  p_indexF43T = T178;
                  goto L7;
                }
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:139
                // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:139
            }
            // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:113
          }
          // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:109
          // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:108
          T179 = primitive_machine_word_add_signal_overflow(indexF24,4);
          // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:108
          indexF24T = T179;
          goto L5;
        }
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:108
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:108
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:106
      goto L4;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:106
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:106
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:153
  indexF49T = 1;
L8: ;
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:153
    indexF49 = indexF49T;
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:153
    T182 = primitive_cast_raw_as_integer(indexF49);
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:153
    T180 = primitive_cast_integer_as_raw(T77);
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:153
    T181 = primitive_machine_word_less_thanQ(indexF49,T180);
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:153
    if (T181 != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:153
      T183 = SLOT_VALUE_INITD(T75, 0);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:153
      T184 = SLOT_VALUE_INITD(T183, 0);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:153
      T185 = primitive_cast_integer_as_raw(T184);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:153
      T186 = primitive_machine_word_unsigned_less_thanQ(indexF49,T185);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:153
      if (T186 != &KPfalseVKi) {
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:153
        T187 = REPEATED_D_SLOT_VALUE_TAGGED(T183, 2, indexF49);
        T190 = T187;
      } else {
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:153
        T188_0 = Kelement_range_errorVKeI(T75, T182);
        // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:153
        T189 = T188_0;
        T190 = T189;
      }
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:153
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:154
      T50 = CALL1(&Knew_sdi_method_vectorYmain_harpVharp, T190);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:154
      T51 = CALL1(&Knew_sdi_method_indexYmain_harpVharp, T190);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:154
      fun_ = CALL2(&KelementVKd, T50, T51);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:155
      primitive_type_check(fun_, &KLfunctionGVKd);
      T53 = fun_;
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:155
      T54 = CALL1(&Knew_sdi_cached_spanYmain_harpVharp, T190);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:155
      T55 = CALL3(T53, T190, T54, &KPtrueVKi);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:155
      CALL2(&Knew_sdi_code_holder_setterYmain_harpVharp, T55, T190);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:153
      T191 = primitive_machine_word_add_signal_overflow(indexF49,4);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:153
      indexF49T = T191;
      goto L8;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:153
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:153
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:158
  T58 = increase_in_code_size_;
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:158
  T56 = T58;
  MV_SET_ELT(0, T58);
  MV_SET_COUNT(1);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:47
  return(T56);
}

D Kcalculate_instructionYmain_harpVharpMM0I (D sdi_) {
  D returnPexit_0_;
  D T3;
  D i_T, i_;
  D fun_;
  D T6;
  D size_;
  D T8;
  D T9;
  D T10;
  D T11;
  D T12;
  D T13;
  _KLsimple_object_vectorGVKd_1 T14 = {&KLsimple_object_vectorGVKdW, (D) 5};
  D T15;

  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:14
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:15
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:16
  T11 = SLOT_VALUE(sdi_, 8);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:17
  T12 = SLOT_VALUE_INITD(sdi_, 7);
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:17
  i_T = T12;
L0: ;
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:17
    i_ = i_T;
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:18
    CONGRUENT_CALL_PROLOG(&KelementVKd, 3);
    fun_ = CONGRUENT_CALL3(T11, i_, &KPempty_vectorVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:19
    primitive_type_check(fun_, &KLfunctionGVKd);
    T6 = fun_;
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:19
    T13 = SLOT_VALUE_INITD(sdi_, 3);
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:19
    size_ = CALL3(T6, sdi_, T13, &KPfalseVKi);
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:20
    if (size_ != &KPfalseVKi) {
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:21
      CALL2(&Knew_sdi_method_index_setterYmain_harpVharp, i_, sdi_);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:22
      T14.vector_element_[0] = size_;
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:15
      T15 = MV_SET_REST_AT(&T14, 0);
      // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:15
      T10 = T15;
      goto L1;
    }
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:20
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:17
    CONGRUENT_CALL_PROLOG(&KAVKd, 2);
    T8 = CONGRUENT_CALL2(i_, (D) 5);
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:17
    i_T = T8;
    goto L0;
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:17
    T9 = &KPfalseVKi;
    MV_SET_ELT(0, &KPfalseVKi);
    MV_SET_COUNT(1);
    // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:17
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:15
  T10 = T9;
  L1: ;
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:15
  // /Users/bruce/Development/dylan/opendylan/sources/harp/core-harp/span-dependent.dylan:14
  return(T10);
}


/* SYSTEM INIT CODE */

void _Init_harp__X_span_dependent_for_system () {
  extern D KPresolve_symbolVKiI(D);
  return;
}

/* USER INIT CODE */

void _Init_harp__X_span_dependent_for_user () {
  return;
}


/* eof */
