Fixing pointer increment (signed word*) sin16s_gen::sintab ← ++ (signed word*) sin16s_gen::sintab
Fixing pointer increment (signed word*) sin16s_gen2::sintab ← ++ (signed word*) sin16s_gen2::sintab
Fixing pointer increment (signed word*) sin16s_genb::sintab ← ++ (signed word*) sin16s_genb::sintab
Fixing pointer addition (word*~) bsearch16u::$7 ← (word*) bsearch16u::items + (byte~) bsearch16u::$6
Fixing pointer addition (word*~) bsearch16u::$15 ← (word*) bsearch16u::pivot + (number) 1
Fixing pointer addition (word*~) bsearch16u::$1 ← (word*) bsearch16u::items - (number) 1
Fixing pointer increment (signed word*) main::st1 ← ++ (signed word*) main::st1
Fixing pointer increment (signed word*) main::st2 ← ++ (signed word*) main::st2
Fixing pointer array-indexing *((word*) utoa::digit_values + (byte) utoa::digit)
Fixing pointer array-indexing *((dword*) ultoa::digit_values + (byte) ultoa::digit)
Warning! Adding boolean cast to non-boolean condition *((byte*) strcpy::src)
Warning! Adding boolean cast to non-boolean condition *((byte*) print_str_lines::str)
Warning! Adding boolean cast to non-boolean condition (byte) print_str_lines::ch
Warning! Adding boolean cast to non-boolean condition *((byte*) print_str::str)
Warning! Adding boolean cast to non-boolean condition *((byte*) print_str_at::str)
Warning! Adding boolean cast to non-boolean sub-expression (byte) print_str_lines::ch
Identified constant variable (byte*) HEAP_TOP
Identified constant variable (word) main::wavelength
Culled Empty Block (label) @1
Culled Empty Block (label) divr16u::@7
Culled Empty Block (label) @3
Culled Empty Block (label) @4
Culled Empty Block (label) div32u16u::@1
Culled Empty Block (label) @5
Culled Empty Block (label) @6
Culled Empty Block (label) @7
Culled Empty Block (label) @8
Culled Empty Block (label) @9
Culled Empty Block (label) @10
Culled Empty Block (label) @11
Culled Empty Block (label) mul16u::@5
Culled Empty Block (label) mul16u::@6
Culled Empty Block (label) mul16u::@8
Culled Empty Block (label) mul16u::@9
Culled Empty Block (label) @12
Culled Empty Block (label) sin16s_gen::@4
Culled Empty Block (label) sin16s_gen::@3
Culled Empty Block (label) sin16s_gen::@5
Culled Empty Block (label) sin16s_gen::@6
Culled Empty Block (label) @14
Culled Empty Block (label) @15
Culled Empty Block (label) @16
Culled Empty Block (label) sin16s::@7
Culled Empty Block (label) @17
Culled Empty Block (label) @18
Culled Empty Block (label) mulu16_sel::@1
Culled Empty Block (label) @19
Culled Empty Block (label) @20
Culled Empty Block (label) sin16s_genb::@4
Culled Empty Block (label) sin16s_genb::@3
Culled Empty Block (label) sin16s_genb::@5
Culled Empty Block (label) sin16s_genb::@6
Culled Empty Block (label) @21
Culled Empty Block (label) sin16sb::@7
Culled Empty Block (label) @22
Culled Empty Block (label) @23
Culled Empty Block (label) @24
Culled Empty Block (label) memset::@7
Culled Empty Block (label) memset::@6
Culled Empty Block (label) memset::@8
Culled Empty Block (label) memset::@9
Culled Empty Block (label) memset::@3
Culled Empty Block (label) @25
Culled Empty Block (label) @26
Culled Empty Block (label) @27
Culled Empty Block (label) @28
Culled Empty Block (label) @29
Culled Empty Block (label) @30
Culled Empty Block (label) @31
Culled Empty Block (label) @32
Culled Empty Block (label) @33
Culled Empty Block (label) @35
Culled Empty Block (label) @36
Culled Empty Block (label) print_str::@4
Culled Empty Block (label) print_str::@3
Culled Empty Block (label) print_str::@5
Culled Empty Block (label) print_str::@6
Culled Empty Block (label) @37
Culled Empty Block (label) @38
Culled Empty Block (label) @39
Culled Empty Block (label) print_sword::@4
Culled Empty Block (label) @40
Culled Empty Block (label) @41
Culled Empty Block (label) @42
Culled Empty Block (label) @43
Culled Empty Block (label) @44
Culled Empty Block (label) @45
Culled Empty Block (label) @46
Culled Empty Block (label) @47
Culled Empty Block (label) @48
Culled Empty Block (label) @49
Culled Empty Block (label) @50
Culled Empty Block (label) @52
Culled Empty Block (label) @53
Culled Empty Block (label) @54
Culled Empty Block (label) @55
Culled Empty Block (label) @56
Culled Empty Block (label) @57
Culled Empty Block (label) @58
Culled Empty Block (label) main::@4

CONTROL FLOW GRAPH SSA
@begin: scope:[]  from
  to:@2
@2: scope:[]  from @begin
  (word) rem16u#0 ← (number) 0
  to:@13
divr16u: scope:[divr16u]  from div32u16u div32u16u::@2
  (word) divr16u::divisor#6 ← phi( div32u16u/(word) divr16u::divisor#0 div32u16u::@2/(word) divr16u::divisor#1 )
  (word) divr16u::dividend#5 ← phi( div32u16u/(word) divr16u::dividend#1 div32u16u::@2/(word) divr16u::dividend#2 )
  (word) divr16u::rem#10 ← phi( div32u16u/(word) divr16u::rem#3 div32u16u::@2/(word) divr16u::rem#4 )
  (word) divr16u::quotient#0 ← (number) 0
  (byte) divr16u::i#0 ← (byte) 0
  to:divr16u::@1
divr16u::@1: scope:[divr16u]  from divr16u divr16u::@3
  (byte) divr16u::i#5 ← phi( divr16u/(byte) divr16u::i#0 divr16u::@3/(byte) divr16u::i#1 )
  (word) divr16u::divisor#4 ← phi( divr16u/(word) divr16u::divisor#6 divr16u::@3/(word) divr16u::divisor#7 )
  (word) divr16u::quotient#6 ← phi( divr16u/(word) divr16u::quotient#0 divr16u::@3/(word) divr16u::quotient#8 )
  (word) divr16u::dividend#3 ← phi( divr16u/(word) divr16u::dividend#5 divr16u::@3/(word) divr16u::dividend#6 )
  (word) divr16u::rem#5 ← phi( divr16u/(word) divr16u::rem#10 divr16u::@3/(word) divr16u::rem#11 )
  (word~) divr16u::$0 ← (word) divr16u::rem#5 << (number) 1
  (word) divr16u::rem#0 ← (word~) divr16u::$0
  (byte~) divr16u::$1 ← > (word) divr16u::dividend#3
  (number~) divr16u::$2 ← (byte~) divr16u::$1 & (number) $80
  (bool~) divr16u::$3 ← (number~) divr16u::$2 != (number) 0
  (bool~) divr16u::$4 ← ! (bool~) divr16u::$3
  if((bool~) divr16u::$4) goto divr16u::@2
  to:divr16u::@4
divr16u::@2: scope:[divr16u]  from divr16u::@1 divr16u::@4
  (byte) divr16u::i#3 ← phi( divr16u::@1/(byte) divr16u::i#5 divr16u::@4/(byte) divr16u::i#6 )
  (word) divr16u::divisor#2 ← phi( divr16u::@1/(word) divr16u::divisor#4 divr16u::@4/(word) divr16u::divisor#5 )
  (word) divr16u::rem#6 ← phi( divr16u::@1/(word) divr16u::rem#0 divr16u::@4/(word) divr16u::rem#1 )
  (word) divr16u::quotient#3 ← phi( divr16u::@1/(word) divr16u::quotient#6 divr16u::@4/(word) divr16u::quotient#7 )
  (word) divr16u::dividend#4 ← phi( divr16u::@1/(word) divr16u::dividend#3 divr16u::@4/(word) divr16u::dividend#7 )
  (word~) divr16u::$6 ← (word) divr16u::dividend#4 << (number) 1
  (word) divr16u::dividend#0 ← (word~) divr16u::$6
  (word~) divr16u::$7 ← (word) divr16u::quotient#3 << (number) 1
  (word) divr16u::quotient#1 ← (word~) divr16u::$7
  (bool~) divr16u::$8 ← (word) divr16u::rem#6 >= (word) divr16u::divisor#2
  (bool~) divr16u::$9 ← ! (bool~) divr16u::$8
  if((bool~) divr16u::$9) goto divr16u::@3
  to:divr16u::@5
divr16u::@4: scope:[divr16u]  from divr16u::@1
  (byte) divr16u::i#6 ← phi( divr16u::@1/(byte) divr16u::i#5 )
  (word) divr16u::divisor#5 ← phi( divr16u::@1/(word) divr16u::divisor#4 )
  (word) divr16u::quotient#7 ← phi( divr16u::@1/(word) divr16u::quotient#6 )
  (word) divr16u::dividend#7 ← phi( divr16u::@1/(word) divr16u::dividend#3 )
  (word) divr16u::rem#7 ← phi( divr16u::@1/(word) divr16u::rem#0 )
  (number~) divr16u::$5 ← (word) divr16u::rem#7 | (number) 1
  (word) divr16u::rem#1 ← (number~) divr16u::$5
  to:divr16u::@2
divr16u::@3: scope:[divr16u]  from divr16u::@2 divr16u::@5
  (word) divr16u::divisor#7 ← phi( divr16u::@2/(word) divr16u::divisor#2 divr16u::@5/(word) divr16u::divisor#3 )
  (word) divr16u::quotient#8 ← phi( divr16u::@2/(word) divr16u::quotient#1 divr16u::@5/(word) divr16u::quotient#2 )
  (word) divr16u::dividend#6 ← phi( divr16u::@2/(word) divr16u::dividend#0 divr16u::@5/(word) divr16u::dividend#8 )
  (word) divr16u::rem#11 ← phi( divr16u::@2/(word) divr16u::rem#6 divr16u::@5/(word) divr16u::rem#2 )
  (byte) divr16u::i#2 ← phi( divr16u::@2/(byte) divr16u::i#3 divr16u::@5/(byte) divr16u::i#4 )
  (byte) divr16u::i#1 ← (byte) divr16u::i#2 + rangenext(0,$f)
  (bool~) divr16u::$11 ← (byte) divr16u::i#1 != rangelast(0,$f)
  if((bool~) divr16u::$11) goto divr16u::@1
  to:divr16u::@6
divr16u::@5: scope:[divr16u]  from divr16u::@2
  (word) divr16u::dividend#8 ← phi( divr16u::@2/(word) divr16u::dividend#0 )
  (byte) divr16u::i#4 ← phi( divr16u::@2/(byte) divr16u::i#3 )
  (word) divr16u::divisor#3 ← phi( divr16u::@2/(word) divr16u::divisor#2 )
  (word) divr16u::rem#8 ← phi( divr16u::@2/(word) divr16u::rem#6 )
  (word) divr16u::quotient#4 ← phi( divr16u::@2/(word) divr16u::quotient#1 )
  (word) divr16u::quotient#2 ← ++ (word) divr16u::quotient#4
  (word~) divr16u::$10 ← (word) divr16u::rem#8 - (word) divr16u::divisor#3
  (word) divr16u::rem#2 ← (word~) divr16u::$10
  to:divr16u::@3
divr16u::@6: scope:[divr16u]  from divr16u::@3
  (word) divr16u::quotient#5 ← phi( divr16u::@3/(word) divr16u::quotient#8 )
  (word) divr16u::rem#9 ← phi( divr16u::@3/(word) divr16u::rem#11 )
  (word) rem16u#1 ← (word) divr16u::rem#9
  (word) divr16u::return#0 ← (word) divr16u::quotient#5
  to:divr16u::@return
divr16u::@return: scope:[divr16u]  from divr16u::@6
  (word) rem16u#14 ← phi( divr16u::@6/(word) rem16u#1 )
  (word) divr16u::return#4 ← phi( divr16u::@6/(word) divr16u::return#0 )
  (word) divr16u::return#1 ← (word) divr16u::return#4
  (word) rem16u#2 ← (word) rem16u#14
  return 
  to:@return
div32u16u: scope:[div32u16u]  from sin16s_gen sin16s_genb
  (word) rem16u#26 ← phi( sin16s_gen/(word) rem16u#27 sin16s_genb/(word) rem16u#29 )
  (word) div32u16u::divisor#2 ← phi( sin16s_gen/(word) div32u16u::divisor#0 sin16s_genb/(word) div32u16u::divisor#1 )
  (dword) div32u16u::dividend#2 ← phi( sin16s_gen/(dword) div32u16u::dividend#0 sin16s_genb/(dword) div32u16u::dividend#1 )
  (word~) div32u16u::$0 ← > (dword) div32u16u::dividend#2
  (word) divr16u::dividend#1 ← (word~) div32u16u::$0
  (word) divr16u::divisor#0 ← (word) div32u16u::divisor#2
  (word) divr16u::rem#3 ← (number) 0
  call divr16u 
  (word) divr16u::return#2 ← (word) divr16u::return#1
  to:div32u16u::@2
div32u16u::@2: scope:[div32u16u]  from div32u16u
  (word) div32u16u::divisor#3 ← phi( div32u16u/(word) div32u16u::divisor#2 )
  (dword) div32u16u::dividend#3 ← phi( div32u16u/(dword) div32u16u::dividend#2 )
  (word) rem16u#15 ← phi( div32u16u/(word) rem16u#2 )
  (word) divr16u::return#5 ← phi( div32u16u/(word) divr16u::return#2 )
  (word~) div32u16u::$1 ← (word) divr16u::return#5
  (word) rem16u#3 ← (word) rem16u#15
  (word) div32u16u::quotient_hi#0 ← (word~) div32u16u::$1
  (word~) div32u16u::$2 ← < (dword) div32u16u::dividend#3
  (word) divr16u::dividend#2 ← (word~) div32u16u::$2
  (word) divr16u::divisor#1 ← (word) div32u16u::divisor#3
  (word) divr16u::rem#4 ← (word) rem16u#3
  call divr16u 
  (word) divr16u::return#3 ← (word) divr16u::return#1
  to:div32u16u::@3
div32u16u::@3: scope:[div32u16u]  from div32u16u::@2
  (word) div32u16u::quotient_hi#1 ← phi( div32u16u::@2/(word) div32u16u::quotient_hi#0 )
  (word) rem16u#16 ← phi( div32u16u::@2/(word) rem16u#2 )
  (word) divr16u::return#6 ← phi( div32u16u::@2/(word) divr16u::return#3 )
  (word~) div32u16u::$3 ← (word) divr16u::return#6
  (word) rem16u#4 ← (word) rem16u#16
  (word) div32u16u::quotient_lo#0 ← (word~) div32u16u::$3
  (dword) div32u16u::quotient#0 ← ((dword)) { (word) div32u16u::quotient_hi#1, (word) div32u16u::quotient_lo#0 }
  (dword) div32u16u::return#0 ← (dword) div32u16u::quotient#0
  to:div32u16u::@return
div32u16u::@return: scope:[div32u16u]  from div32u16u::@3
  (word) rem16u#17 ← phi( div32u16u::@3/(word) rem16u#4 )
  (dword) div32u16u::return#4 ← phi( div32u16u::@3/(dword) div32u16u::return#0 )
  (dword) div32u16u::return#1 ← (dword) div32u16u::return#4
  (word) rem16u#5 ← (word) rem16u#17
  return 
  to:@return
mul16u: scope:[mul16u]  from mulu16_sel
  (word) mul16u::a#5 ← phi( mulu16_sel/(word) mul16u::a#1 )
  (word) mul16u::b#1 ← phi( mulu16_sel/(word) mul16u::b#0 )
  (dword) mul16u::res#0 ← (number) 0
  (dword) mul16u::mb#0 ← (word) mul16u::b#1
  to:mul16u::@1
mul16u::@1: scope:[mul16u]  from mul16u mul16u::@4
  (dword) mul16u::mb#5 ← phi( mul16u/(dword) mul16u::mb#0 mul16u::@4/(dword) mul16u::mb#1 )
  (dword) mul16u::res#4 ← phi( mul16u/(dword) mul16u::res#0 mul16u::@4/(dword) mul16u::res#6 )
  (word) mul16u::a#2 ← phi( mul16u/(word) mul16u::a#5 mul16u::@4/(word) mul16u::a#0 )
  (bool~) mul16u::$0 ← (word) mul16u::a#2 != (number) 0
  if((bool~) mul16u::$0) goto mul16u::@2
  to:mul16u::@3
mul16u::@2: scope:[mul16u]  from mul16u::@1
  (dword) mul16u::res#5 ← phi( mul16u::@1/(dword) mul16u::res#4 )
  (dword) mul16u::mb#4 ← phi( mul16u::@1/(dword) mul16u::mb#5 )
  (word) mul16u::a#3 ← phi( mul16u::@1/(word) mul16u::a#2 )
  (number~) mul16u::$1 ← (word) mul16u::a#3 & (number) 1
  (bool~) mul16u::$2 ← (number~) mul16u::$1 != (number) 0
  (bool~) mul16u::$3 ← ! (bool~) mul16u::$2
  if((bool~) mul16u::$3) goto mul16u::@4
  to:mul16u::@7
mul16u::@3: scope:[mul16u]  from mul16u::@1
  (dword) mul16u::res#2 ← phi( mul16u::@1/(dword) mul16u::res#4 )
  (dword) mul16u::return#0 ← (dword) mul16u::res#2
  to:mul16u::@return
mul16u::@4: scope:[mul16u]  from mul16u::@2 mul16u::@7
  (dword) mul16u::res#6 ← phi( mul16u::@2/(dword) mul16u::res#5 mul16u::@7/(dword) mul16u::res#1 )
  (dword) mul16u::mb#2 ← phi( mul16u::@2/(dword) mul16u::mb#4 mul16u::@7/(dword) mul16u::mb#3 )
  (word) mul16u::a#4 ← phi( mul16u::@2/(word) mul16u::a#3 mul16u::@7/(word) mul16u::a#6 )
  (word~) mul16u::$5 ← (word) mul16u::a#4 >> (number) 1
  (word) mul16u::a#0 ← (word~) mul16u::$5
  (dword~) mul16u::$6 ← (dword) mul16u::mb#2 << (number) 1
  (dword) mul16u::mb#1 ← (dword~) mul16u::$6
  to:mul16u::@1
mul16u::@7: scope:[mul16u]  from mul16u::@2
  (word) mul16u::a#6 ← phi( mul16u::@2/(word) mul16u::a#3 )
  (dword) mul16u::mb#3 ← phi( mul16u::@2/(dword) mul16u::mb#4 )
  (dword) mul16u::res#3 ← phi( mul16u::@2/(dword) mul16u::res#5 )
  (dword~) mul16u::$4 ← (dword) mul16u::res#3 + (dword) mul16u::mb#3
  (dword) mul16u::res#1 ← (dword~) mul16u::$4
  to:mul16u::@4
mul16u::@return: scope:[mul16u]  from mul16u::@3
  (dword) mul16u::return#3 ← phi( mul16u::@3/(dword) mul16u::return#0 )
  (dword) mul16u::return#1 ← (dword) mul16u::return#3
  return 
  to:@return
@13: scope:[]  from @2
  (word) rem16u#42 ← phi( @2/(word) rem16u#0 )
  (dword) PI2_u4f28#0 ← (number) $6487ed51
  (dword) PI_u4f28#0 ← (number) $3243f6a9
  (dword) PI_HALF_u4f28#0 ← (number) $1921fb54
  (word) PI_u4f12#0 ← (number) $3244
  (word) PI_HALF_u4f12#0 ← (number) $1922
  to:@34
sin16s_gen: scope:[sin16s_gen]  from main
  (signed word*) sin16s_gen::sintab#6 ← phi( main/(signed word*) sin16s_gen::sintab#1 )
  (word) rem16u#27 ← phi( main/(word) rem16u#31 )
  (word) sin16s_gen::wavelength#1 ← phi( main/(word) sin16s_gen::wavelength#0 )
  (dword) div32u16u::dividend#0 ← (dword) PI2_u4f28#0
  (word) div32u16u::divisor#0 ← (word) sin16s_gen::wavelength#1
  call div32u16u 
  (dword) div32u16u::return#2 ← (dword) div32u16u::return#1
  to:sin16s_gen::@7
sin16s_gen::@7: scope:[sin16s_gen]  from sin16s_gen
  (signed word*) sin16s_gen::sintab#5 ← phi( sin16s_gen/(signed word*) sin16s_gen::sintab#6 )
  (word) sin16s_gen::wavelength#3 ← phi( sin16s_gen/(word) sin16s_gen::wavelength#1 )
  (word) rem16u#18 ← phi( sin16s_gen/(word) rem16u#5 )
  (dword) div32u16u::return#5 ← phi( sin16s_gen/(dword) div32u16u::return#2 )
  (dword~) sin16s_gen::$0 ← (dword) div32u16u::return#5
  (word) rem16u#6 ← (word) rem16u#18
  (dword) sin16s_gen::step#0 ← (dword~) sin16s_gen::$0
  (dword) sin16s_gen::x#0 ← (number) 0
  (word) sin16s_gen::i#0 ← (number) 0
  to:sin16s_gen::@1
sin16s_gen::@1: scope:[sin16s_gen]  from sin16s_gen::@7 sin16s_gen::@8
  (dword) sin16s_gen::step#3 ← phi( sin16s_gen::@7/(dword) sin16s_gen::step#0 sin16s_gen::@8/(dword) sin16s_gen::step#1 )
  (signed word*) sin16s_gen::sintab#4 ← phi( sin16s_gen::@7/(signed word*) sin16s_gen::sintab#5 sin16s_gen::@8/(signed word*) sin16s_gen::sintab#0 )
  (word) rem16u#28 ← phi( sin16s_gen::@7/(word) rem16u#6 sin16s_gen::@8/(word) rem16u#34 )
  (dword) sin16s_gen::x#4 ← phi( sin16s_gen::@7/(dword) sin16s_gen::x#0 sin16s_gen::@8/(dword) sin16s_gen::x#1 )
  (word) sin16s_gen::wavelength#2 ← phi( sin16s_gen::@7/(word) sin16s_gen::wavelength#3 sin16s_gen::@8/(word) sin16s_gen::wavelength#4 )
  (word) sin16s_gen::i#2 ← phi( sin16s_gen::@7/(word) sin16s_gen::i#0 sin16s_gen::@8/(word) sin16s_gen::i#1 )
  (bool~) sin16s_gen::$1 ← (word) sin16s_gen::i#2 < (word) sin16s_gen::wavelength#2
  if((bool~) sin16s_gen::$1) goto sin16s_gen::@2
  to:sin16s_gen::@return
sin16s_gen::@2: scope:[sin16s_gen]  from sin16s_gen::@1
  (word) rem16u#38 ← phi( sin16s_gen::@1/(word) rem16u#28 )
  (word) sin16s_gen::wavelength#5 ← phi( sin16s_gen::@1/(word) sin16s_gen::wavelength#2 )
  (word) sin16s_gen::i#4 ← phi( sin16s_gen::@1/(word) sin16s_gen::i#2 )
  (dword) sin16s_gen::step#2 ← phi( sin16s_gen::@1/(dword) sin16s_gen::step#3 )
  (signed word*) sin16s_gen::sintab#3 ← phi( sin16s_gen::@1/(signed word*) sin16s_gen::sintab#4 )
  (dword) sin16s_gen::x#2 ← phi( sin16s_gen::@1/(dword) sin16s_gen::x#4 )
  (dword) sin16s::x#0 ← (dword) sin16s_gen::x#2
  call sin16s 
  (signed word) sin16s::return#0 ← (signed word) sin16s::return#2
  to:sin16s_gen::@8
sin16s_gen::@8: scope:[sin16s_gen]  from sin16s_gen::@2
  (word) rem16u#34 ← phi( sin16s_gen::@2/(word) rem16u#38 )
  (word) sin16s_gen::wavelength#4 ← phi( sin16s_gen::@2/(word) sin16s_gen::wavelength#5 )
  (word) sin16s_gen::i#3 ← phi( sin16s_gen::@2/(word) sin16s_gen::i#4 )
  (dword) sin16s_gen::step#1 ← phi( sin16s_gen::@2/(dword) sin16s_gen::step#2 )
  (dword) sin16s_gen::x#3 ← phi( sin16s_gen::@2/(dword) sin16s_gen::x#2 )
  (signed word*) sin16s_gen::sintab#2 ← phi( sin16s_gen::@2/(signed word*) sin16s_gen::sintab#3 )
  (signed word) sin16s::return#3 ← phi( sin16s_gen::@2/(signed word) sin16s::return#0 )
  (signed word~) sin16s_gen::$2 ← (signed word) sin16s::return#3
  *((signed word*) sin16s_gen::sintab#2) ← (signed word~) sin16s_gen::$2
  (signed word*) sin16s_gen::sintab#0 ← (signed word*) sin16s_gen::sintab#2 + (const byte) SIZEOF_SIGNED_WORD
  (dword~) sin16s_gen::$3 ← (dword) sin16s_gen::x#3 + (dword) sin16s_gen::step#1
  (dword) sin16s_gen::x#1 ← (dword~) sin16s_gen::$3
  (word) sin16s_gen::i#1 ← ++ (word) sin16s_gen::i#3
  to:sin16s_gen::@1
sin16s_gen::@return: scope:[sin16s_gen]  from sin16s_gen::@1
  (word) rem16u#19 ← phi( sin16s_gen::@1/(word) rem16u#28 )
  (word) rem16u#7 ← (word) rem16u#19
  return 
  to:@return
sin16s: scope:[sin16s]  from sin16s_gen::@2
  (dword) sin16s::x#3 ← phi( sin16s_gen::@2/(dword) sin16s::x#0 )
  (byte) sin16s::isUpper#0 ← (number) 0
  (bool~) sin16s::$0 ← (dword) sin16s::x#3 >= (dword) PI_u4f28#0
  (bool~) sin16s::$1 ← ! (bool~) sin16s::$0
  if((bool~) sin16s::$1) goto sin16s::@1
  to:sin16s::@4
sin16s::@1: scope:[sin16s]  from sin16s sin16s::@4
  (byte) sin16s::isUpper#8 ← phi( sin16s/(byte) sin16s::isUpper#0 sin16s::@4/(byte) sin16s::isUpper#1 )
  (dword) sin16s::x#4 ← phi( sin16s/(dword) sin16s::x#3 sin16s::@4/(dword) sin16s::x#1 )
  (bool~) sin16s::$2 ← (dword) sin16s::x#4 >= (dword) PI_HALF_u4f28#0
  (bool~) sin16s::$3 ← ! (bool~) sin16s::$2
  if((bool~) sin16s::$3) goto sin16s::@2
  to:sin16s::@5
sin16s::@4: scope:[sin16s]  from sin16s
  (dword) sin16s::x#5 ← phi( sin16s/(dword) sin16s::x#3 )
  (dword~) sin16s::$17 ← (dword) sin16s::x#5 - (dword) PI_u4f28#0
  (dword) sin16s::x#1 ← (dword~) sin16s::$17
  (byte) sin16s::isUpper#1 ← (number) 1
  to:sin16s::@1
sin16s::@2: scope:[sin16s]  from sin16s::@1 sin16s::@5
  (byte) sin16s::isUpper#7 ← phi( sin16s::@1/(byte) sin16s::isUpper#8 sin16s::@5/(byte) sin16s::isUpper#9 )
  (dword) sin16s::x#6 ← phi( sin16s::@1/(dword) sin16s::x#4 sin16s::@5/(dword) sin16s::x#2 )
  (dword~) sin16s::$4 ← (dword) sin16s::x#6 << (number) 3
  (word~) sin16s::$5 ← > (dword~) sin16s::$4
  (word) sin16s::x1#0 ← (word~) sin16s::$5
  (word) mulu16_sel::v1#0 ← (word) sin16s::x1#0
  (word) mulu16_sel::v2#0 ← (word) sin16s::x1#0
  (byte) mulu16_sel::select#0 ← (number) 0
  call mulu16_sel 
  (word) mulu16_sel::return#0 ← (word) mulu16_sel::return#6
  to:sin16s::@8
sin16s::@8: scope:[sin16s]  from sin16s::@2
  (byte) sin16s::isUpper#6 ← phi( sin16s::@2/(byte) sin16s::isUpper#7 )
  (word) sin16s::x1#1 ← phi( sin16s::@2/(word) sin16s::x1#0 )
  (word) mulu16_sel::return#12 ← phi( sin16s::@2/(word) mulu16_sel::return#0 )
  (word~) sin16s::$6 ← (word) mulu16_sel::return#12
  (word) sin16s::x2#0 ← (word~) sin16s::$6
  (word) mulu16_sel::v1#1 ← (word) sin16s::x2#0
  (word) mulu16_sel::v2#1 ← (word) sin16s::x1#1
  (byte) mulu16_sel::select#1 ← (number) 1
  call mulu16_sel 
  (word) mulu16_sel::return#1 ← (word) mulu16_sel::return#6
  to:sin16s::@9
sin16s::@9: scope:[sin16s]  from sin16s::@8
  (byte) sin16s::isUpper#5 ← phi( sin16s::@8/(byte) sin16s::isUpper#6 )
  (word) sin16s::x1#4 ← phi( sin16s::@8/(word) sin16s::x1#1 )
  (word) mulu16_sel::return#13 ← phi( sin16s::@8/(word) mulu16_sel::return#1 )
  (word~) sin16s::$7 ← (word) mulu16_sel::return#13
  (word) sin16s::x3#0 ← (word~) sin16s::$7
  (word) mulu16_sel::v1#2 ← (word) sin16s::x3#0
  (word) mulu16_sel::v2#2 ← (number) $10000/(number) 6
  (byte) mulu16_sel::select#2 ← (number) 1
  call mulu16_sel 
  (word) mulu16_sel::return#2 ← (word) mulu16_sel::return#6
  to:sin16s::@10
sin16s::@10: scope:[sin16s]  from sin16s::@9
  (byte) sin16s::isUpper#4 ← phi( sin16s::@9/(byte) sin16s::isUpper#5 )
  (word) sin16s::x3#1 ← phi( sin16s::@9/(word) sin16s::x3#0 )
  (word) sin16s::x1#2 ← phi( sin16s::@9/(word) sin16s::x1#4 )
  (word) mulu16_sel::return#14 ← phi( sin16s::@9/(word) mulu16_sel::return#2 )
  (word~) sin16s::$8 ← (word) mulu16_sel::return#14
  (word) sin16s::x3_6#0 ← (word~) sin16s::$8
  (word~) sin16s::$9 ← (word) sin16s::x1#2 - (word) sin16s::x3_6#0
  (word) sin16s::usinx#0 ← (word~) sin16s::$9
  (word) mulu16_sel::v1#3 ← (word) sin16s::x3#1
  (word) mulu16_sel::v2#3 ← (word) sin16s::x1#2
  (byte) mulu16_sel::select#3 ← (number) 0
  call mulu16_sel 
  (word) mulu16_sel::return#3 ← (word) mulu16_sel::return#6
  to:sin16s::@11
sin16s::@11: scope:[sin16s]  from sin16s::@10
  (byte) sin16s::isUpper#3 ← phi( sin16s::@10/(byte) sin16s::isUpper#4 )
  (word) sin16s::usinx#4 ← phi( sin16s::@10/(word) sin16s::usinx#0 )
  (word) sin16s::x1#3 ← phi( sin16s::@10/(word) sin16s::x1#2 )
  (word) mulu16_sel::return#15 ← phi( sin16s::@10/(word) mulu16_sel::return#3 )
  (word~) sin16s::$10 ← (word) mulu16_sel::return#15
  (word) sin16s::x4#0 ← (word~) sin16s::$10
  (word) mulu16_sel::v1#4 ← (word) sin16s::x4#0
  (word) mulu16_sel::v2#4 ← (word) sin16s::x1#3
  (byte) mulu16_sel::select#4 ← (number) 0
  call mulu16_sel 
  (word) mulu16_sel::return#4 ← (word) mulu16_sel::return#6
  to:sin16s::@12
sin16s::@12: scope:[sin16s]  from sin16s::@11
  (byte) sin16s::isUpper#2 ← phi( sin16s::@11/(byte) sin16s::isUpper#3 )
  (word) sin16s::usinx#2 ← phi( sin16s::@11/(word) sin16s::usinx#4 )
  (word) mulu16_sel::return#16 ← phi( sin16s::@11/(word) mulu16_sel::return#4 )
  (word~) sin16s::$11 ← (word) mulu16_sel::return#16
  (word) sin16s::x5#0 ← (word~) sin16s::$11
  (word~) sin16s::$12 ← (word) sin16s::x5#0 >> (number) 4
  (word) sin16s::x5_128#0 ← (word~) sin16s::$12
  (word~) sin16s::$13 ← (word) sin16s::usinx#2 + (word) sin16s::x5_128#0
  (word) sin16s::usinx#1 ← (word~) sin16s::$13
  (signed word~) sin16s::$14 ← ((signed word)) (word) sin16s::usinx#1
  (signed word) sin16s::sinx#0 ← (signed word~) sin16s::$14
  (bool~) sin16s::$15 ← (byte) sin16s::isUpper#2 != (number) 0
  (bool~) sin16s::$16 ← ! (bool~) sin16s::$15
  if((bool~) sin16s::$16) goto sin16s::@3
  to:sin16s::@6
sin16s::@5: scope:[sin16s]  from sin16s::@1
  (byte) sin16s::isUpper#9 ← phi( sin16s::@1/(byte) sin16s::isUpper#8 )
  (dword) sin16s::x#7 ← phi( sin16s::@1/(dword) sin16s::x#4 )
  (dword~) sin16s::$18 ← (dword) PI_u4f28#0 - (dword) sin16s::x#7
  (dword) sin16s::x#2 ← (dword~) sin16s::$18
  to:sin16s::@2
sin16s::@3: scope:[sin16s]  from sin16s::@12 sin16s::@6
  (signed word) sin16s::sinx#2 ← phi( sin16s::@12/(signed word) sin16s::sinx#0 sin16s::@6/(signed word) sin16s::sinx#1 )
  (signed word) sin16s::return#1 ← (signed word) sin16s::sinx#2
  to:sin16s::@return
sin16s::@6: scope:[sin16s]  from sin16s::@12
  (word) sin16s::usinx#3 ← phi( sin16s::@12/(word) sin16s::usinx#1 )
  (signed word~) sin16s::$19 ← ((signed word)) (word) sin16s::usinx#3
  (signed word~) sin16s::$20 ← - (signed word~) sin16s::$19
  (signed word) sin16s::sinx#1 ← (signed word~) sin16s::$20
  to:sin16s::@3
sin16s::@return: scope:[sin16s]  from sin16s::@3
  (signed word) sin16s::return#4 ← phi( sin16s::@3/(signed word) sin16s::return#1 )
  (signed word) sin16s::return#2 ← (signed word) sin16s::return#4
  return 
  to:@return
mulu16_sel: scope:[mulu16_sel]  from sin16s::@10 sin16s::@11 sin16s::@2 sin16s::@8 sin16s::@9 sin16sb::@10 sin16sb::@11 sin16sb::@2 sin16sb::@8 sin16sb::@9
  (byte) mulu16_sel::select#11 ← phi( sin16s::@10/(byte) mulu16_sel::select#3 sin16s::@11/(byte) mulu16_sel::select#4 sin16s::@2/(byte) mulu16_sel::select#0 sin16s::@8/(byte) mulu16_sel::select#1 sin16s::@9/(byte) mulu16_sel::select#2 sin16sb::@10/(byte) mulu16_sel::select#8 sin16sb::@11/(byte) mulu16_sel::select#9 sin16sb::@2/(byte) mulu16_sel::select#5 sin16sb::@8/(byte) mulu16_sel::select#6 sin16sb::@9/(byte) mulu16_sel::select#7 )
  (word) mulu16_sel::v2#10 ← phi( sin16s::@10/(word) mulu16_sel::v2#3 sin16s::@11/(word) mulu16_sel::v2#4 sin16s::@2/(word) mulu16_sel::v2#0 sin16s::@8/(word) mulu16_sel::v2#1 sin16s::@9/(word) mulu16_sel::v2#2 sin16sb::@10/(word) mulu16_sel::v2#8 sin16sb::@11/(word) mulu16_sel::v2#9 sin16sb::@2/(word) mulu16_sel::v2#5 sin16sb::@8/(word) mulu16_sel::v2#6 sin16sb::@9/(word) mulu16_sel::v2#7 )
  (word) mulu16_sel::v1#10 ← phi( sin16s::@10/(word) mulu16_sel::v1#3 sin16s::@11/(word) mulu16_sel::v1#4 sin16s::@2/(word) mulu16_sel::v1#0 sin16s::@8/(word) mulu16_sel::v1#1 sin16s::@9/(word) mulu16_sel::v1#2 sin16sb::@10/(word) mulu16_sel::v1#8 sin16sb::@11/(word) mulu16_sel::v1#9 sin16sb::@2/(word) mulu16_sel::v1#5 sin16sb::@8/(word) mulu16_sel::v1#6 sin16sb::@9/(word) mulu16_sel::v1#7 )
  (word) mul16u::a#1 ← (word) mulu16_sel::v1#10
  (word) mul16u::b#0 ← (word) mulu16_sel::v2#10
  call mul16u 
  (dword) mul16u::return#2 ← (dword) mul16u::return#1
  to:mulu16_sel::@2
mulu16_sel::@2: scope:[mulu16_sel]  from mulu16_sel
  (byte) mulu16_sel::select#10 ← phi( mulu16_sel/(byte) mulu16_sel::select#11 )
  (dword) mul16u::return#4 ← phi( mulu16_sel/(dword) mul16u::return#2 )
  (dword~) mulu16_sel::$0 ← (dword) mul16u::return#4
  (dword~) mulu16_sel::$1 ← (dword~) mulu16_sel::$0 << (byte) mulu16_sel::select#10
  (word~) mulu16_sel::$2 ← > (dword~) mulu16_sel::$1
  (word) mulu16_sel::return#5 ← (word~) mulu16_sel::$2
  to:mulu16_sel::@return
mulu16_sel::@return: scope:[mulu16_sel]  from mulu16_sel::@2
  (word) mulu16_sel::return#17 ← phi( mulu16_sel::@2/(word) mulu16_sel::return#5 )
  (word) mulu16_sel::return#6 ← (word) mulu16_sel::return#17
  return 
  to:@return
sin16s_genb: scope:[sin16s_genb]  from main::@5
  (signed word*) sin16s_genb::sintab#6 ← phi( main::@5/(signed word*) sin16s_genb::sintab#1 )
  (word) rem16u#29 ← phi( main::@5/(word) rem16u#10 )
  (word) sin16s_genb::wavelength#1 ← phi( main::@5/(word) sin16s_genb::wavelength#0 )
  (dword) div32u16u::dividend#1 ← (dword) PI2_u4f28#0
  (word) div32u16u::divisor#1 ← (word) sin16s_genb::wavelength#1
  call div32u16u 
  (dword) div32u16u::return#3 ← (dword) div32u16u::return#1
  to:sin16s_genb::@7
sin16s_genb::@7: scope:[sin16s_genb]  from sin16s_genb
  (signed word*) sin16s_genb::sintab#5 ← phi( sin16s_genb/(signed word*) sin16s_genb::sintab#6 )
  (word) sin16s_genb::wavelength#3 ← phi( sin16s_genb/(word) sin16s_genb::wavelength#1 )
  (word) rem16u#20 ← phi( sin16s_genb/(word) rem16u#5 )
  (dword) div32u16u::return#6 ← phi( sin16s_genb/(dword) div32u16u::return#3 )
  (dword~) sin16s_genb::$0 ← (dword) div32u16u::return#6
  (word) rem16u#8 ← (word) rem16u#20
  (dword) sin16s_genb::step#0 ← (dword~) sin16s_genb::$0
  (dword) sin16s_genb::x#0 ← (number) 0
  (word) sin16s_genb::i#0 ← (number) 0
  to:sin16s_genb::@1
sin16s_genb::@1: scope:[sin16s_genb]  from sin16s_genb::@7 sin16s_genb::@8
  (dword) sin16s_genb::step#3 ← phi( sin16s_genb::@7/(dword) sin16s_genb::step#0 sin16s_genb::@8/(dword) sin16s_genb::step#1 )
  (signed word*) sin16s_genb::sintab#4 ← phi( sin16s_genb::@7/(signed word*) sin16s_genb::sintab#5 sin16s_genb::@8/(signed word*) sin16s_genb::sintab#0 )
  (word) rem16u#30 ← phi( sin16s_genb::@7/(word) rem16u#8 sin16s_genb::@8/(word) rem16u#35 )
  (dword) sin16s_genb::x#4 ← phi( sin16s_genb::@7/(dword) sin16s_genb::x#0 sin16s_genb::@8/(dword) sin16s_genb::x#1 )
  (word) sin16s_genb::wavelength#2 ← phi( sin16s_genb::@7/(word) sin16s_genb::wavelength#3 sin16s_genb::@8/(word) sin16s_genb::wavelength#4 )
  (word) sin16s_genb::i#2 ← phi( sin16s_genb::@7/(word) sin16s_genb::i#0 sin16s_genb::@8/(word) sin16s_genb::i#1 )
  (bool~) sin16s_genb::$1 ← (word) sin16s_genb::i#2 < (word) sin16s_genb::wavelength#2
  if((bool~) sin16s_genb::$1) goto sin16s_genb::@2
  to:sin16s_genb::@return
sin16s_genb::@2: scope:[sin16s_genb]  from sin16s_genb::@1
  (word) rem16u#39 ← phi( sin16s_genb::@1/(word) rem16u#30 )
  (word) sin16s_genb::wavelength#5 ← phi( sin16s_genb::@1/(word) sin16s_genb::wavelength#2 )
  (word) sin16s_genb::i#4 ← phi( sin16s_genb::@1/(word) sin16s_genb::i#2 )
  (dword) sin16s_genb::step#2 ← phi( sin16s_genb::@1/(dword) sin16s_genb::step#3 )
  (signed word*) sin16s_genb::sintab#3 ← phi( sin16s_genb::@1/(signed word*) sin16s_genb::sintab#4 )
  (dword) sin16s_genb::x#2 ← phi( sin16s_genb::@1/(dword) sin16s_genb::x#4 )
  (word~) sin16s_genb::$2 ← > (dword) sin16s_genb::x#2
  (word) sin16sb::x#0 ← (word~) sin16s_genb::$2
  call sin16sb 
  (signed word) sin16sb::return#0 ← (signed word) sin16sb::return#2
  to:sin16s_genb::@8
sin16s_genb::@8: scope:[sin16s_genb]  from sin16s_genb::@2
  (word) rem16u#35 ← phi( sin16s_genb::@2/(word) rem16u#39 )
  (word) sin16s_genb::wavelength#4 ← phi( sin16s_genb::@2/(word) sin16s_genb::wavelength#5 )
  (word) sin16s_genb::i#3 ← phi( sin16s_genb::@2/(word) sin16s_genb::i#4 )
  (dword) sin16s_genb::step#1 ← phi( sin16s_genb::@2/(dword) sin16s_genb::step#2 )
  (dword) sin16s_genb::x#3 ← phi( sin16s_genb::@2/(dword) sin16s_genb::x#2 )
  (signed word*) sin16s_genb::sintab#2 ← phi( sin16s_genb::@2/(signed word*) sin16s_genb::sintab#3 )
  (signed word) sin16sb::return#3 ← phi( sin16s_genb::@2/(signed word) sin16sb::return#0 )
  (signed word~) sin16s_genb::$3 ← (signed word) sin16sb::return#3
  *((signed word*) sin16s_genb::sintab#2) ← (signed word~) sin16s_genb::$3
  (signed word*) sin16s_genb::sintab#0 ← (signed word*) sin16s_genb::sintab#2 + (const byte) SIZEOF_SIGNED_WORD
  (dword~) sin16s_genb::$4 ← (dword) sin16s_genb::x#3 + (dword) sin16s_genb::step#1
  (dword) sin16s_genb::x#1 ← (dword~) sin16s_genb::$4
  (word) sin16s_genb::i#1 ← ++ (word) sin16s_genb::i#3
  to:sin16s_genb::@1
sin16s_genb::@return: scope:[sin16s_genb]  from sin16s_genb::@1
  (word) rem16u#21 ← phi( sin16s_genb::@1/(word) rem16u#30 )
  (word) rem16u#9 ← (word) rem16u#21
  return 
  to:@return
sin16sb: scope:[sin16sb]  from sin16s_genb::@2
  (word) sin16sb::x#3 ← phi( sin16s_genb::@2/(word) sin16sb::x#0 )
  (byte) sin16sb::isUpper#0 ← (number) 0
  (bool~) sin16sb::$0 ← (word) sin16sb::x#3 >= (word) PI_u4f12#0
  (bool~) sin16sb::$1 ← ! (bool~) sin16sb::$0
  if((bool~) sin16sb::$1) goto sin16sb::@1
  to:sin16sb::@4
sin16sb::@1: scope:[sin16sb]  from sin16sb sin16sb::@4
  (byte) sin16sb::isUpper#8 ← phi( sin16sb/(byte) sin16sb::isUpper#0 sin16sb::@4/(byte) sin16sb::isUpper#1 )
  (word) sin16sb::x#4 ← phi( sin16sb/(word) sin16sb::x#3 sin16sb::@4/(word) sin16sb::x#1 )
  (bool~) sin16sb::$2 ← (word) sin16sb::x#4 >= (word) PI_HALF_u4f12#0
  (bool~) sin16sb::$3 ← ! (bool~) sin16sb::$2
  if((bool~) sin16sb::$3) goto sin16sb::@2
  to:sin16sb::@5
sin16sb::@4: scope:[sin16sb]  from sin16sb
  (word) sin16sb::x#5 ← phi( sin16sb/(word) sin16sb::x#3 )
  (word~) sin16sb::$16 ← (word) sin16sb::x#5 - (word) PI_u4f12#0
  (word) sin16sb::x#1 ← (word~) sin16sb::$16
  (byte) sin16sb::isUpper#1 ← (number) 1
  to:sin16sb::@1
sin16sb::@2: scope:[sin16sb]  from sin16sb::@1 sin16sb::@5
  (byte) sin16sb::isUpper#7 ← phi( sin16sb::@1/(byte) sin16sb::isUpper#8 sin16sb::@5/(byte) sin16sb::isUpper#9 )
  (word) sin16sb::x#6 ← phi( sin16sb::@1/(word) sin16sb::x#4 sin16sb::@5/(word) sin16sb::x#2 )
  (number~) sin16sb::$4 ← (word) sin16sb::x#6 * (number) 8
  (word) sin16sb::x1#0 ← (number~) sin16sb::$4
  (word) mulu16_sel::v1#5 ← (word) sin16sb::x1#0
  (word) mulu16_sel::v2#5 ← (word) sin16sb::x1#0
  (byte) mulu16_sel::select#5 ← (number) 0
  call mulu16_sel 
  (word) mulu16_sel::return#7 ← (word) mulu16_sel::return#6
  to:sin16sb::@8
sin16sb::@8: scope:[sin16sb]  from sin16sb::@2
  (byte) sin16sb::isUpper#6 ← phi( sin16sb::@2/(byte) sin16sb::isUpper#7 )
  (word) sin16sb::x1#1 ← phi( sin16sb::@2/(word) sin16sb::x1#0 )
  (word) mulu16_sel::return#18 ← phi( sin16sb::@2/(word) mulu16_sel::return#7 )
  (word~) sin16sb::$5 ← (word) mulu16_sel::return#18
  (word) sin16sb::x2#0 ← (word~) sin16sb::$5
  (word) mulu16_sel::v1#6 ← (word) sin16sb::x2#0
  (word) mulu16_sel::v2#6 ← (word) sin16sb::x1#1
  (byte) mulu16_sel::select#6 ← (number) 1
  call mulu16_sel 
  (word) mulu16_sel::return#8 ← (word) mulu16_sel::return#6
  to:sin16sb::@9
sin16sb::@9: scope:[sin16sb]  from sin16sb::@8
  (byte) sin16sb::isUpper#5 ← phi( sin16sb::@8/(byte) sin16sb::isUpper#6 )
  (word) sin16sb::x1#4 ← phi( sin16sb::@8/(word) sin16sb::x1#1 )
  (word) mulu16_sel::return#19 ← phi( sin16sb::@8/(word) mulu16_sel::return#8 )
  (word~) sin16sb::$6 ← (word) mulu16_sel::return#19
  (word) sin16sb::x3#0 ← (word~) sin16sb::$6
  (word) mulu16_sel::v1#7 ← (word) sin16sb::x3#0
  (word) mulu16_sel::v2#7 ← (number) $10000/(number) 6
  (byte) mulu16_sel::select#7 ← (number) 1
  call mulu16_sel 
  (word) mulu16_sel::return#9 ← (word) mulu16_sel::return#6
  to:sin16sb::@10
sin16sb::@10: scope:[sin16sb]  from sin16sb::@9
  (byte) sin16sb::isUpper#4 ← phi( sin16sb::@9/(byte) sin16sb::isUpper#5 )
  (word) sin16sb::x3#1 ← phi( sin16sb::@9/(word) sin16sb::x3#0 )
  (word) sin16sb::x1#2 ← phi( sin16sb::@9/(word) sin16sb::x1#4 )
  (word) mulu16_sel::return#20 ← phi( sin16sb::@9/(word) mulu16_sel::return#9 )
  (word~) sin16sb::$7 ← (word) mulu16_sel::return#20
  (word) sin16sb::x3_6#0 ← (word~) sin16sb::$7
  (word~) sin16sb::$8 ← (word) sin16sb::x1#2 - (word) sin16sb::x3_6#0
  (word) sin16sb::usinx#0 ← (word~) sin16sb::$8
  (word) mulu16_sel::v1#8 ← (word) sin16sb::x3#1
  (word) mulu16_sel::v2#8 ← (word) sin16sb::x1#2
  (byte) mulu16_sel::select#8 ← (number) 0
  call mulu16_sel 
  (word) mulu16_sel::return#10 ← (word) mulu16_sel::return#6
  to:sin16sb::@11
sin16sb::@11: scope:[sin16sb]  from sin16sb::@10
  (byte) sin16sb::isUpper#3 ← phi( sin16sb::@10/(byte) sin16sb::isUpper#4 )
  (word) sin16sb::usinx#4 ← phi( sin16sb::@10/(word) sin16sb::usinx#0 )
  (word) sin16sb::x1#3 ← phi( sin16sb::@10/(word) sin16sb::x1#2 )
  (word) mulu16_sel::return#21 ← phi( sin16sb::@10/(word) mulu16_sel::return#10 )
  (word~) sin16sb::$9 ← (word) mulu16_sel::return#21
  (word) sin16sb::x4#0 ← (word~) sin16sb::$9
  (word) mulu16_sel::v1#9 ← (word) sin16sb::x4#0
  (word) mulu16_sel::v2#9 ← (word) sin16sb::x1#3
  (byte) mulu16_sel::select#9 ← (number) 0
  call mulu16_sel 
  (word) mulu16_sel::return#11 ← (word) mulu16_sel::return#6
  to:sin16sb::@12
sin16sb::@12: scope:[sin16sb]  from sin16sb::@11
  (byte) sin16sb::isUpper#2 ← phi( sin16sb::@11/(byte) sin16sb::isUpper#3 )
  (word) sin16sb::usinx#2 ← phi( sin16sb::@11/(word) sin16sb::usinx#4 )
  (word) mulu16_sel::return#22 ← phi( sin16sb::@11/(word) mulu16_sel::return#11 )
  (word~) sin16sb::$10 ← (word) mulu16_sel::return#22
  (word) sin16sb::x5#0 ← (word~) sin16sb::$10
  (number~) sin16sb::$11 ← (word) sin16sb::x5#0 / (number) $10
  (word) sin16sb::x5_128#0 ← (number~) sin16sb::$11
  (word~) sin16sb::$12 ← (word) sin16sb::usinx#2 + (word) sin16sb::x5_128#0
  (word) sin16sb::usinx#1 ← (word~) sin16sb::$12
  (signed word~) sin16sb::$13 ← ((signed word)) (word) sin16sb::usinx#1
  (signed word) sin16sb::sinx#0 ← (signed word~) sin16sb::$13
  (bool~) sin16sb::$14 ← (byte) sin16sb::isUpper#2 != (number) 0
  (bool~) sin16sb::$15 ← ! (bool~) sin16sb::$14
  if((bool~) sin16sb::$15) goto sin16sb::@3
  to:sin16sb::@6
sin16sb::@5: scope:[sin16sb]  from sin16sb::@1
  (byte) sin16sb::isUpper#9 ← phi( sin16sb::@1/(byte) sin16sb::isUpper#8 )
  (word) sin16sb::x#7 ← phi( sin16sb::@1/(word) sin16sb::x#4 )
  (word~) sin16sb::$17 ← (word) PI_u4f12#0 - (word) sin16sb::x#7
  (word) sin16sb::x#2 ← (word~) sin16sb::$17
  to:sin16sb::@2
sin16sb::@3: scope:[sin16sb]  from sin16sb::@12 sin16sb::@6
  (signed word) sin16sb::sinx#2 ← phi( sin16sb::@12/(signed word) sin16sb::sinx#0 sin16sb::@6/(signed word) sin16sb::sinx#1 )
  (signed word) sin16sb::return#1 ← (signed word) sin16sb::sinx#2
  to:sin16sb::@return
sin16sb::@6: scope:[sin16sb]  from sin16sb::@12
  (word) sin16sb::usinx#3 ← phi( sin16sb::@12/(word) sin16sb::usinx#1 )
  (signed word~) sin16sb::$18 ← ((signed word)) (word) sin16sb::usinx#3
  (signed word~) sin16sb::$19 ← - (signed word~) sin16sb::$18
  (signed word) sin16sb::sinx#1 ← (signed word~) sin16sb::$19
  to:sin16sb::@3
sin16sb::@return: scope:[sin16sb]  from sin16sb::@3
  (signed word) sin16sb::return#4 ← phi( sin16sb::@3/(signed word) sin16sb::return#1 )
  (signed word) sin16sb::return#2 ← (signed word) sin16sb::return#4
  return 
  to:@return
memset: scope:[memset]  from print_cls
  (byte) memset::c#4 ← phi( print_cls/(byte) memset::c#0 )
  (void*) memset::str#3 ← phi( print_cls/(void*) memset::str#0 )
  (word) memset::num#1 ← phi( print_cls/(word) memset::num#0 )
  (bool~) memset::$0 ← (word) memset::num#1 > (number) 0
  (bool~) memset::$1 ← ! (bool~) memset::$0
  if((bool~) memset::$1) goto memset::@1
  to:memset::@2
memset::@1: scope:[memset]  from memset memset::@4
  (void*) memset::str#1 ← phi( memset/(void*) memset::str#3 memset::@4/(void*) memset::str#4 )
  (void*) memset::return#0 ← (void*) memset::str#1
  to:memset::@return
memset::@2: scope:[memset]  from memset
  (byte) memset::c#3 ← phi( memset/(byte) memset::c#4 )
  (word) memset::num#2 ← phi( memset/(word) memset::num#1 )
  (void*) memset::str#2 ← phi( memset/(void*) memset::str#3 )
  (byte*~) memset::$2 ← ((byte*)) (void*) memset::str#2
  (byte*~) memset::$3 ← (byte*~) memset::$2 + (word) memset::num#2
  (byte*) memset::end#0 ← (byte*~) memset::$3
  (byte*) memset::dst#0 ← ((byte*)) (void*) memset::str#2
  to:memset::@4
memset::@4: scope:[memset]  from memset::@2 memset::@5
  (byte) memset::c#2 ← phi( memset::@2/(byte) memset::c#3 memset::@5/(byte) memset::c#1 )
  (void*) memset::str#4 ← phi( memset::@2/(void*) memset::str#2 memset::@5/(void*) memset::str#5 )
  (byte*) memset::end#1 ← phi( memset::@2/(byte*) memset::end#0 memset::@5/(byte*) memset::end#2 )
  (byte*) memset::dst#2 ← phi( memset::@2/(byte*) memset::dst#0 memset::@5/(byte*) memset::dst#1 )
  (bool~) memset::$4 ← (byte*) memset::dst#2 != (byte*) memset::end#1
  if((bool~) memset::$4) goto memset::@5
  to:memset::@1
memset::@5: scope:[memset]  from memset::@4
  (void*) memset::str#5 ← phi( memset::@4/(void*) memset::str#4 )
  (byte*) memset::end#2 ← phi( memset::@4/(byte*) memset::end#1 )
  (byte*) memset::dst#3 ← phi( memset::@4/(byte*) memset::dst#2 )
  (byte) memset::c#1 ← phi( memset::@4/(byte) memset::c#2 )
  *((byte*) memset::dst#3) ← (byte) memset::c#1
  (byte*) memset::dst#1 ← ++ (byte*) memset::dst#3
  to:memset::@4
memset::@return: scope:[memset]  from memset::@1
  (void*) memset::return#3 ← phi( memset::@1/(void*) memset::return#0 )
  (void*) memset::return#1 ← (void*) memset::return#3
  return 
  to:@return
@34: scope:[]  from @13
  (word) rem16u#40 ← phi( @13/(word) rem16u#42 )
  (byte*) print_screen#0 ← ((byte*)) (number) $400
  (byte*) print_line_cursor#0 ← (byte*) print_screen#0
  (byte*) print_char_cursor#0 ← (byte*) print_line_cursor#0
  to:@51
print_str: scope:[print_str]  from main::@3 main::@8
  (byte*) print_char_cursor#54 ← phi( main::@3/(byte*) print_char_cursor#52 main::@8/(byte*) print_char_cursor#18 )
  (byte*) print_str::str#5 ← phi( main::@3/(byte*) print_str::str#2 main::@8/(byte*) print_str::str#1 )
  to:print_str::@1
print_str::@1: scope:[print_str]  from print_str print_str::@2
  (byte*) print_char_cursor#44 ← phi( print_str/(byte*) print_char_cursor#54 print_str::@2/(byte*) print_char_cursor#1 )
  (byte*) print_str::str#3 ← phi( print_str/(byte*) print_str::str#5 print_str::@2/(byte*) print_str::str#0 )
  (bool~) print_str::$0 ← (number) 0 != *((byte*) print_str::str#3)
  if((bool~) print_str::$0) goto print_str::@2
  to:print_str::@return
print_str::@2: scope:[print_str]  from print_str::@1
  (byte*) print_char_cursor#23 ← phi( print_str::@1/(byte*) print_char_cursor#44 )
  (byte*) print_str::str#4 ← phi( print_str::@1/(byte*) print_str::str#3 )
  *((byte*) print_char_cursor#23) ← *((byte*) print_str::str#4)
  (byte*) print_char_cursor#1 ← ++ (byte*) print_char_cursor#23
  (byte*) print_str::str#0 ← ++ (byte*) print_str::str#4
  to:print_str::@1
print_str::@return: scope:[print_str]  from print_str::@1
  (byte*) print_char_cursor#24 ← phi( print_str::@1/(byte*) print_char_cursor#44 )
  (byte*) print_char_cursor#2 ← (byte*) print_char_cursor#24
  return 
  to:@return
print_sword: scope:[print_sword]  from main::@2
  (byte*) print_char_cursor#55 ← phi( main::@2/(byte*) print_char_cursor#51 )
  (signed word) print_sword::w#2 ← phi( main::@2/(signed word) print_sword::w#1 )
  (bool~) print_sword::$0 ← (signed word) print_sword::w#2 < (number) 0
  if((bool~) print_sword::$0) goto print_sword::@1
  to:print_sword::@3
print_sword::@1: scope:[print_sword]  from print_sword
  (signed word) print_sword::w#5 ← phi( print_sword/(signed word) print_sword::w#2 )
  (byte*) print_char_cursor#45 ← phi( print_sword/(byte*) print_char_cursor#55 )
  (byte) print_char::ch#0 ← (byte) '-'
  call print_char 
  to:print_sword::@5
print_sword::@5: scope:[print_sword]  from print_sword::@1
  (signed word) print_sword::w#3 ← phi( print_sword::@1/(signed word) print_sword::w#5 )
  (byte*) print_char_cursor#25 ← phi( print_sword::@1/(byte*) print_char_cursor#14 )
  (byte*) print_char_cursor#3 ← (byte*) print_char_cursor#25
  (signed word~) print_sword::$5 ← - (signed word) print_sword::w#3
  (signed word) print_sword::w#0 ← (signed word~) print_sword::$5
  to:print_sword::@2
print_sword::@3: scope:[print_sword]  from print_sword
  (signed word) print_sword::w#7 ← phi( print_sword/(signed word) print_sword::w#2 )
  (byte*) print_char_cursor#46 ← phi( print_sword/(byte*) print_char_cursor#55 )
  (byte) print_char::ch#1 ← (byte) ' '
  call print_char 
  to:print_sword::@6
print_sword::@6: scope:[print_sword]  from print_sword::@3
  (signed word) print_sword::w#6 ← phi( print_sword::@3/(signed word) print_sword::w#7 )
  (byte*) print_char_cursor#26 ← phi( print_sword::@3/(byte*) print_char_cursor#14 )
  (byte*) print_char_cursor#4 ← (byte*) print_char_cursor#26
  to:print_sword::@2
print_sword::@2: scope:[print_sword]  from print_sword::@5 print_sword::@6
  (byte*) print_char_cursor#47 ← phi( print_sword::@5/(byte*) print_char_cursor#3 print_sword::@6/(byte*) print_char_cursor#4 )
  (signed word) print_sword::w#4 ← phi( print_sword::@5/(signed word) print_sword::w#0 print_sword::@6/(signed word) print_sword::w#6 )
  (word~) print_sword::$1 ← ((word)) (signed word) print_sword::w#4
  (word) print_word::w#0 ← (word~) print_sword::$1
  call print_word 
  to:print_sword::@7
print_sword::@7: scope:[print_sword]  from print_sword::@2
  (byte*) print_char_cursor#27 ← phi( print_sword::@2/(byte*) print_char_cursor#9 )
  (byte*) print_char_cursor#5 ← (byte*) print_char_cursor#27
  to:print_sword::@return
print_sword::@return: scope:[print_sword]  from print_sword::@7
  (byte*) print_char_cursor#28 ← phi( print_sword::@7/(byte*) print_char_cursor#5 )
  (byte*) print_char_cursor#6 ← (byte*) print_char_cursor#28
  return 
  to:@return
print_word: scope:[print_word]  from print_sword::@2
  (byte*) print_char_cursor#48 ← phi( print_sword::@2/(byte*) print_char_cursor#47 )
  (word) print_word::w#1 ← phi( print_sword::@2/(word) print_word::w#0 )
  (byte~) print_word::$0 ← > (word) print_word::w#1
  (byte) print_byte::b#0 ← (byte~) print_word::$0
  call print_byte 
  to:print_word::@1
print_word::@1: scope:[print_word]  from print_word
  (word) print_word::w#2 ← phi( print_word/(word) print_word::w#1 )
  (byte*) print_char_cursor#29 ← phi( print_word/(byte*) print_char_cursor#12 )
  (byte*) print_char_cursor#7 ← (byte*) print_char_cursor#29
  (byte~) print_word::$2 ← < (word) print_word::w#2
  (byte) print_byte::b#1 ← (byte~) print_word::$2
  call print_byte 
  to:print_word::@2
print_word::@2: scope:[print_word]  from print_word::@1
  (byte*) print_char_cursor#30 ← phi( print_word::@1/(byte*) print_char_cursor#12 )
  (byte*) print_char_cursor#8 ← (byte*) print_char_cursor#30
  to:print_word::@return
print_word::@return: scope:[print_word]  from print_word::@2
  (byte*) print_char_cursor#31 ← phi( print_word::@2/(byte*) print_char_cursor#8 )
  (byte*) print_char_cursor#9 ← (byte*) print_char_cursor#31
  return 
  to:@return
@51: scope:[]  from @34
  (byte*) print_screen#7 ← phi( @34/(byte*) print_screen#0 )
  (byte*) print_char_cursor#58 ← phi( @34/(byte*) print_char_cursor#0 )
  (byte*) print_line_cursor#15 ← phi( @34/(byte*) print_line_cursor#0 )
  (word) rem16u#37 ← phi( @34/(word) rem16u#40 )
  (byte[]) print_hextab#0 ← (const string) $0
  to:@59
print_byte: scope:[print_byte]  from print_word print_word::@1
  (byte*) print_char_cursor#49 ← phi( print_word/(byte*) print_char_cursor#48 print_word::@1/(byte*) print_char_cursor#7 )
  (byte) print_byte::b#2 ← phi( print_word/(byte) print_byte::b#0 print_word::@1/(byte) print_byte::b#1 )
  (byte~) print_byte::$0 ← (byte) print_byte::b#2 >> (number) 4
  (byte) print_char::ch#2 ← *((byte[]) print_hextab#0 + (byte~) print_byte::$0)
  call print_char 
  to:print_byte::@1
print_byte::@1: scope:[print_byte]  from print_byte
  (byte) print_byte::b#3 ← phi( print_byte/(byte) print_byte::b#2 )
  (byte*) print_char_cursor#32 ← phi( print_byte/(byte*) print_char_cursor#14 )
  (byte*) print_char_cursor#10 ← (byte*) print_char_cursor#32
  (number~) print_byte::$2 ← (byte) print_byte::b#3 & (number) $f
  (byte) print_char::ch#3 ← *((byte[]) print_hextab#0 + (number~) print_byte::$2)
  call print_char 
  to:print_byte::@2
print_byte::@2: scope:[print_byte]  from print_byte::@1
  (byte*) print_char_cursor#33 ← phi( print_byte::@1/(byte*) print_char_cursor#14 )
  (byte*) print_char_cursor#11 ← (byte*) print_char_cursor#33
  to:print_byte::@return
print_byte::@return: scope:[print_byte]  from print_byte::@2
  (byte*) print_char_cursor#34 ← phi( print_byte::@2/(byte*) print_char_cursor#11 )
  (byte*) print_char_cursor#12 ← (byte*) print_char_cursor#34
  return 
  to:@return
print_char: scope:[print_char]  from print_byte print_byte::@1 print_sword::@1 print_sword::@3
  (byte*) print_char_cursor#35 ← phi( print_byte/(byte*) print_char_cursor#49 print_byte::@1/(byte*) print_char_cursor#10 print_sword::@1/(byte*) print_char_cursor#45 print_sword::@3/(byte*) print_char_cursor#46 )
  (byte) print_char::ch#4 ← phi( print_byte/(byte) print_char::ch#2 print_byte::@1/(byte) print_char::ch#3 print_sword::@1/(byte) print_char::ch#0 print_sword::@3/(byte) print_char::ch#1 )
  *((byte*) print_char_cursor#35) ← (byte) print_char::ch#4
  (byte*) print_char_cursor#13 ← ++ (byte*) print_char_cursor#35
  to:print_char::@return
print_char::@return: scope:[print_char]  from print_char
  (byte*) print_char_cursor#36 ← phi( print_char/(byte*) print_char_cursor#13 )
  (byte*) print_char_cursor#14 ← (byte*) print_char_cursor#36
  return 
  to:@return
print_cls: scope:[print_cls]  from main::@6
  (byte*) print_screen#1 ← phi( main::@6/(byte*) print_screen#3 )
  (void*) memset::str#0 ← (void*)(byte*) print_screen#1
  (byte) memset::c#0 ← (byte) ' '
  (word) memset::num#0 ← (number) $3e8
  call memset 
  (void*) memset::return#2 ← (void*) memset::return#1
  to:print_cls::@1
print_cls::@1: scope:[print_cls]  from print_cls
  (byte*) print_screen#2 ← phi( print_cls/(byte*) print_screen#1 )
  (byte*) print_line_cursor#1 ← (byte*) print_screen#2
  (byte*) print_char_cursor#15 ← (byte*) print_line_cursor#1
  to:print_cls::@return
print_cls::@return: scope:[print_cls]  from print_cls::@1
  (byte*) print_char_cursor#37 ← phi( print_cls::@1/(byte*) print_char_cursor#15 )
  (byte*) print_line_cursor#6 ← phi( print_cls::@1/(byte*) print_line_cursor#1 )
  (byte*) print_line_cursor#2 ← (byte*) print_line_cursor#6
  (byte*) print_char_cursor#16 ← (byte*) print_char_cursor#37
  return 
  to:@return
main: scope:[main]  from @59
  (byte*) print_char_cursor#59 ← phi( @59/(byte*) print_char_cursor#53 )
  (byte*) print_line_cursor#16 ← phi( @59/(byte*) print_line_cursor#12 )
  (byte*) print_screen#5 ← phi( @59/(byte*) print_screen#6 )
  (word) rem16u#31 ← phi( @59/(word) rem16u#33 )
  (word) main::wavelength#0 ← (number) $78
  (signed word[$78]) main::sintab1#0 ← { fill( $78, 0) }
  (signed word[$78]) main::sintab2#0 ← { fill( $78, 0) }
  (signed word*) sin16s_gen::sintab#1 ← (signed word[$78]) main::sintab1#0
  (word) sin16s_gen::wavelength#0 ← (word) main::wavelength#0
  call sin16s_gen 
  to:main::@5
main::@5: scope:[main]  from main
  (byte*) print_char_cursor#56 ← phi( main/(byte*) print_char_cursor#59 )
  (byte*) print_line_cursor#13 ← phi( main/(byte*) print_line_cursor#16 )
  (byte*) print_screen#4 ← phi( main/(byte*) print_screen#5 )
  (word) rem16u#22 ← phi( main/(word) rem16u#7 )
  (word) rem16u#10 ← (word) rem16u#22
  (signed word*) sin16s_genb::sintab#1 ← (signed word[$78]) main::sintab2#0
  (word) sin16s_genb::wavelength#0 ← (word) main::wavelength#0
  call sin16s_genb 
  to:main::@6
main::@6: scope:[main]  from main::@5
  (byte*) print_char_cursor#50 ← phi( main::@5/(byte*) print_char_cursor#56 )
  (byte*) print_line_cursor#10 ← phi( main::@5/(byte*) print_line_cursor#13 )
  (byte*) print_screen#3 ← phi( main::@5/(byte*) print_screen#4 )
  (word) rem16u#23 ← phi( main::@5/(word) rem16u#9 )
  (word) rem16u#11 ← (word) rem16u#23
  call print_cls 
  to:main::@7
main::@7: scope:[main]  from main::@6
  (word) rem16u#45 ← phi( main::@6/(word) rem16u#11 )
  (byte*) print_char_cursor#38 ← phi( main::@6/(byte*) print_char_cursor#16 )
  (byte*) print_line_cursor#7 ← phi( main::@6/(byte*) print_line_cursor#2 )
  (byte*) print_line_cursor#3 ← (byte*) print_line_cursor#7
  (byte*) print_char_cursor#17 ← (byte*) print_char_cursor#38
  (signed word*) main::st1#0 ← (signed word[$78]) main::sintab1#0
  (signed word*) main::st2#0 ← (signed word[$78]) main::sintab2#0
  (byte) main::i#0 ← (byte) 0
  to:main::@1
main::@1: scope:[main]  from main::@7 main::@9
  (byte*) print_line_cursor#18 ← phi( main::@7/(byte*) print_line_cursor#3 main::@9/(byte*) print_line_cursor#11 )
  (word) rem16u#43 ← phi( main::@7/(word) rem16u#45 main::@9/(word) rem16u#32 )
  (byte) main::i#5 ← phi( main::@7/(byte) main::i#0 main::@9/(byte) main::i#1 )
  (byte*) print_char_cursor#57 ← phi( main::@7/(byte*) print_char_cursor#17 main::@9/(byte*) print_char_cursor#19 )
  (signed word*) main::st2#2 ← phi( main::@7/(signed word*) main::st2#0 main::@9/(signed word*) main::st2#1 )
  (signed word*) main::st1#2 ← phi( main::@7/(signed word*) main::st1#0 main::@9/(signed word*) main::st1#1 )
  (signed word~) main::$3 ← *((signed word*) main::st1#2) - *((signed word*) main::st2#2)
  (signed word) main::sw#0 ← (signed word~) main::$3
  (bool~) main::$4 ← (signed word) main::sw#0 >= (number) 0
  (bool~) main::$5 ← ! (bool~) main::$4
  if((bool~) main::$5) goto main::@2
  to:main::@3
main::@2: scope:[main]  from main::@1 main::@10
  (byte*) print_line_cursor#17 ← phi( main::@1/(byte*) print_line_cursor#18 main::@10/(byte*) print_line_cursor#19 )
  (word) rem16u#41 ← phi( main::@1/(word) rem16u#43 main::@10/(word) rem16u#44 )
  (byte) main::i#4 ← phi( main::@1/(byte) main::i#5 main::@10/(byte) main::i#6 )
  (signed word*) main::st2#5 ← phi( main::@1/(signed word*) main::st2#2 main::@10/(signed word*) main::st2#6 )
  (signed word*) main::st1#5 ← phi( main::@1/(signed word*) main::st1#2 main::@10/(signed word*) main::st1#6 )
  (byte*) print_char_cursor#51 ← phi( main::@1/(byte*) print_char_cursor#57 main::@10/(byte*) print_char_cursor#20 )
  (signed word) main::sw#1 ← phi( main::@1/(signed word) main::sw#0 main::@10/(signed word) main::sw#2 )
  (signed word) print_sword::w#1 ← (signed word) main::sw#1
  call print_sword 
  to:main::@8
main::@8: scope:[main]  from main::@2
  (byte*) print_line_cursor#14 ← phi( main::@2/(byte*) print_line_cursor#17 )
  (word) rem16u#36 ← phi( main::@2/(word) rem16u#41 )
  (byte) main::i#3 ← phi( main::@2/(byte) main::i#4 )
  (signed word*) main::st2#4 ← phi( main::@2/(signed word*) main::st2#5 )
  (signed word*) main::st1#4 ← phi( main::@2/(signed word*) main::st1#5 )
  (byte*) print_char_cursor#39 ← phi( main::@2/(byte*) print_char_cursor#6 )
  (byte*) print_char_cursor#18 ← (byte*) print_char_cursor#39
  (byte*) print_str::str#1 ← (const string) main::str
  call print_str 
  to:main::@9
main::@9: scope:[main]  from main::@8
  (byte*) print_line_cursor#11 ← phi( main::@8/(byte*) print_line_cursor#14 )
  (word) rem16u#32 ← phi( main::@8/(word) rem16u#36 )
  (byte) main::i#2 ← phi( main::@8/(byte) main::i#3 )
  (signed word*) main::st2#3 ← phi( main::@8/(signed word*) main::st2#4 )
  (signed word*) main::st1#3 ← phi( main::@8/(signed word*) main::st1#4 )
  (byte*) print_char_cursor#40 ← phi( main::@8/(byte*) print_char_cursor#2 )
  (byte*) print_char_cursor#19 ← (byte*) print_char_cursor#40
  (signed word*) main::st1#1 ← (signed word*) main::st1#3 + (const byte) SIZEOF_SIGNED_WORD
  (signed word*) main::st2#1 ← (signed word*) main::st2#3 + (const byte) SIZEOF_SIGNED_WORD
  (byte) main::i#1 ← (byte) main::i#2 + rangenext(0,$77)
  (bool~) main::$9 ← (byte) main::i#1 != rangelast(0,$77)
  if((bool~) main::$9) goto main::@1
  to:main::@return
main::@3: scope:[main]  from main::@1
  (byte*) print_line_cursor#20 ← phi( main::@1/(byte*) print_line_cursor#18 )
  (word) rem16u#46 ← phi( main::@1/(word) rem16u#43 )
  (byte) main::i#7 ← phi( main::@1/(byte) main::i#5 )
  (signed word*) main::st2#7 ← phi( main::@1/(signed word*) main::st2#2 )
  (signed word*) main::st1#7 ← phi( main::@1/(signed word*) main::st1#2 )
  (signed word) main::sw#3 ← phi( main::@1/(signed word) main::sw#0 )
  (byte*) print_char_cursor#52 ← phi( main::@1/(byte*) print_char_cursor#57 )
  (byte*) print_str::str#2 ← (const string) main::str1
  call print_str 
  to:main::@10
main::@10: scope:[main]  from main::@3
  (byte*) print_line_cursor#19 ← phi( main::@3/(byte*) print_line_cursor#20 )
  (word) rem16u#44 ← phi( main::@3/(word) rem16u#46 )
  (byte) main::i#6 ← phi( main::@3/(byte) main::i#7 )
  (signed word*) main::st2#6 ← phi( main::@3/(signed word*) main::st2#7 )
  (signed word*) main::st1#6 ← phi( main::@3/(signed word*) main::st1#7 )
  (signed word) main::sw#2 ← phi( main::@3/(signed word) main::sw#3 )
  (byte*) print_char_cursor#41 ← phi( main::@3/(byte*) print_char_cursor#2 )
  (byte*) print_char_cursor#20 ← (byte*) print_char_cursor#41
  to:main::@2
main::@return: scope:[main]  from main::@9
  (byte*) print_char_cursor#42 ← phi( main::@9/(byte*) print_char_cursor#19 )
  (byte*) print_line_cursor#8 ← phi( main::@9/(byte*) print_line_cursor#11 )
  (word) rem16u#24 ← phi( main::@9/(word) rem16u#32 )
  (word) rem16u#12 ← (word) rem16u#24
  (byte*) print_line_cursor#4 ← (byte*) print_line_cursor#8
  (byte*) print_char_cursor#21 ← (byte*) print_char_cursor#42
  return 
  to:@return
@59: scope:[]  from @51
  (byte*) print_screen#6 ← phi( @51/(byte*) print_screen#7 )
  (byte*) print_char_cursor#53 ← phi( @51/(byte*) print_char_cursor#58 )
  (byte*) print_line_cursor#12 ← phi( @51/(byte*) print_line_cursor#15 )
  (word) rem16u#33 ← phi( @51/(word) rem16u#37 )
  call main 
  to:@60
@60: scope:[]  from @59
  (byte*) print_char_cursor#43 ← phi( @59/(byte*) print_char_cursor#21 )
  (byte*) print_line_cursor#9 ← phi( @59/(byte*) print_line_cursor#4 )
  (word) rem16u#25 ← phi( @59/(word) rem16u#12 )
  (word) rem16u#13 ← (word) rem16u#25
  (byte*) print_line_cursor#5 ← (byte*) print_line_cursor#9
  (byte*) print_char_cursor#22 ← (byte*) print_char_cursor#43
  to:@end
@end: scope:[]  from @60

SYMBOL TABLE SSA
(const string) $0 = (string) "0123456789abcdef"z
(label) @13
(label) @2
(label) @34
(label) @51
(label) @59
(label) @60
(label) @begin
(label) @end
(dword) PI2_u4f28
(dword) PI2_u4f28#0
(word) PI_HALF_u4f12
(word) PI_HALF_u4f12#0
(dword) PI_HALF_u4f28
(dword) PI_HALF_u4f28#0
(word) PI_u4f12
(word) PI_u4f12#0
(dword) PI_u4f28
(dword) PI_u4f28#0
(const byte) RADIX::BINARY = (number) 2
(const byte) RADIX::DECIMAL = (number) $a
(const byte) RADIX::HEXADECIMAL = (number) $10
(const byte) RADIX::OCTAL = (number) 8
(const byte) SIZEOF_SIGNED_WORD = (byte) 2
(dword()) div32u16u((dword) div32u16u::dividend , (word) div32u16u::divisor)
(word~) div32u16u::$0
(word~) div32u16u::$1
(word~) div32u16u::$2
(word~) div32u16u::$3
(label) div32u16u::@2
(label) div32u16u::@3
(label) div32u16u::@return
(dword) div32u16u::dividend
(dword) div32u16u::dividend#0
(dword) div32u16u::dividend#1
(dword) div32u16u::dividend#2
(dword) div32u16u::dividend#3
(word) div32u16u::divisor
(word) div32u16u::divisor#0
(word) div32u16u::divisor#1
(word) div32u16u::divisor#2
(word) div32u16u::divisor#3
(dword) div32u16u::quotient
(dword) div32u16u::quotient#0
(word) div32u16u::quotient_hi
(word) div32u16u::quotient_hi#0
(word) div32u16u::quotient_hi#1
(word) div32u16u::quotient_lo
(word) div32u16u::quotient_lo#0
(dword) div32u16u::return
(dword) div32u16u::return#0
(dword) div32u16u::return#1
(dword) div32u16u::return#2
(dword) div32u16u::return#3
(dword) div32u16u::return#4
(dword) div32u16u::return#5
(dword) div32u16u::return#6
(word()) divr16u((word) divr16u::dividend , (word) divr16u::divisor , (word) divr16u::rem)
(word~) divr16u::$0
(byte~) divr16u::$1
(word~) divr16u::$10
(bool~) divr16u::$11
(number~) divr16u::$2
(bool~) divr16u::$3
(bool~) divr16u::$4
(number~) divr16u::$5
(word~) divr16u::$6
(word~) divr16u::$7
(bool~) divr16u::$8
(bool~) divr16u::$9
(label) divr16u::@1
(label) divr16u::@2
(label) divr16u::@3
(label) divr16u::@4
(label) divr16u::@5
(label) divr16u::@6
(label) divr16u::@return
(word) divr16u::dividend
(word) divr16u::dividend#0
(word) divr16u::dividend#1
(word) divr16u::dividend#2
(word) divr16u::dividend#3
(word) divr16u::dividend#4
(word) divr16u::dividend#5
(word) divr16u::dividend#6
(word) divr16u::dividend#7
(word) divr16u::dividend#8
(word) divr16u::divisor
(word) divr16u::divisor#0
(word) divr16u::divisor#1
(word) divr16u::divisor#2
(word) divr16u::divisor#3
(word) divr16u::divisor#4
(word) divr16u::divisor#5
(word) divr16u::divisor#6
(word) divr16u::divisor#7
(byte) divr16u::i
(byte) divr16u::i#0
(byte) divr16u::i#1
(byte) divr16u::i#2
(byte) divr16u::i#3
(byte) divr16u::i#4
(byte) divr16u::i#5
(byte) divr16u::i#6
(word) divr16u::quotient
(word) divr16u::quotient#0
(word) divr16u::quotient#1
(word) divr16u::quotient#2
(word) divr16u::quotient#3
(word) divr16u::quotient#4
(word) divr16u::quotient#5
(word) divr16u::quotient#6
(word) divr16u::quotient#7
(word) divr16u::quotient#8
(word) divr16u::rem
(word) divr16u::rem#0
(word) divr16u::rem#1
(word) divr16u::rem#10
(word) divr16u::rem#11
(word) divr16u::rem#2
(word) divr16u::rem#3
(word) divr16u::rem#4
(word) divr16u::rem#5
(word) divr16u::rem#6
(word) divr16u::rem#7
(word) divr16u::rem#8
(word) divr16u::rem#9
(word) divr16u::return
(word) divr16u::return#0
(word) divr16u::return#1
(word) divr16u::return#2
(word) divr16u::return#3
(word) divr16u::return#4
(word) divr16u::return#5
(word) divr16u::return#6
(void()) main()
(signed word~) main::$3
(bool~) main::$4
(bool~) main::$5
(bool~) main::$9
(label) main::@1
(label) main::@10
(label) main::@2
(label) main::@3
(label) main::@5
(label) main::@6
(label) main::@7
(label) main::@8
(label) main::@9
(label) main::@return
(byte) main::i
(byte) main::i#0
(byte) main::i#1
(byte) main::i#2
(byte) main::i#3
(byte) main::i#4
(byte) main::i#5
(byte) main::i#6
(byte) main::i#7
(signed word[$78]) main::sintab1
(signed word[$78]) main::sintab1#0
(signed word[$78]) main::sintab2
(signed word[$78]) main::sintab2#0
(signed word*) main::st1
(signed word*) main::st1#0
(signed word*) main::st1#1
(signed word*) main::st1#2
(signed word*) main::st1#3
(signed word*) main::st1#4
(signed word*) main::st1#5
(signed word*) main::st1#6
(signed word*) main::st1#7
(signed word*) main::st2
(signed word*) main::st2#0
(signed word*) main::st2#1
(signed word*) main::st2#2
(signed word*) main::st2#3
(signed word*) main::st2#4
(signed word*) main::st2#5
(signed word*) main::st2#6
(signed word*) main::st2#7
(const string) main::str = (string) "   "
(const string) main::str1 = (string) " "
(signed word) main::sw
(signed word) main::sw#0
(signed word) main::sw#1
(signed word) main::sw#2
(signed word) main::sw#3
(word) main::wavelength
(word) main::wavelength#0
(void*()) memset((void*) memset::str , (byte) memset::c , (word) memset::num)
(bool~) memset::$0
(bool~) memset::$1
(byte*~) memset::$2
(byte*~) memset::$3
(bool~) memset::$4
(label) memset::@1
(label) memset::@2
(label) memset::@4
(label) memset::@5
(label) memset::@return
(byte) memset::c
(byte) memset::c#0
(byte) memset::c#1
(byte) memset::c#2
(byte) memset::c#3
(byte) memset::c#4
(byte*) memset::dst
(byte*) memset::dst#0
(byte*) memset::dst#1
(byte*) memset::dst#2
(byte*) memset::dst#3
(byte*) memset::end
(byte*) memset::end#0
(byte*) memset::end#1
(byte*) memset::end#2
(word) memset::num
(word) memset::num#0
(word) memset::num#1
(word) memset::num#2
(void*) memset::return
(void*) memset::return#0
(void*) memset::return#1
(void*) memset::return#2
(void*) memset::return#3
(void*) memset::str
(void*) memset::str#0
(void*) memset::str#1
(void*) memset::str#2
(void*) memset::str#3
(void*) memset::str#4
(void*) memset::str#5
(dword()) mul16u((word) mul16u::a , (word) mul16u::b)
(bool~) mul16u::$0
(number~) mul16u::$1
(bool~) mul16u::$2
(bool~) mul16u::$3
(dword~) mul16u::$4
(word~) mul16u::$5
(dword~) mul16u::$6
(label) mul16u::@1
(label) mul16u::@2
(label) mul16u::@3
(label) mul16u::@4
(label) mul16u::@7
(label) mul16u::@return
(word) mul16u::a
(word) mul16u::a#0
(word) mul16u::a#1
(word) mul16u::a#2
(word) mul16u::a#3
(word) mul16u::a#4
(word) mul16u::a#5
(word) mul16u::a#6
(word) mul16u::b
(word) mul16u::b#0
(word) mul16u::b#1
(dword) mul16u::mb
(dword) mul16u::mb#0
(dword) mul16u::mb#1
(dword) mul16u::mb#2
(dword) mul16u::mb#3
(dword) mul16u::mb#4
(dword) mul16u::mb#5
(dword) mul16u::res
(dword) mul16u::res#0
(dword) mul16u::res#1
(dword) mul16u::res#2
(dword) mul16u::res#3
(dword) mul16u::res#4
(dword) mul16u::res#5
(dword) mul16u::res#6
(dword) mul16u::return
(dword) mul16u::return#0
(dword) mul16u::return#1
(dword) mul16u::return#2
(dword) mul16u::return#3
(dword) mul16u::return#4
(word()) mulu16_sel((word) mulu16_sel::v1 , (word) mulu16_sel::v2 , (byte) mulu16_sel::select)
(dword~) mulu16_sel::$0
(dword~) mulu16_sel::$1
(word~) mulu16_sel::$2
(label) mulu16_sel::@2
(label) mulu16_sel::@return
(word) mulu16_sel::return
(word) mulu16_sel::return#0
(word) mulu16_sel::return#1
(word) mulu16_sel::return#10
(word) mulu16_sel::return#11
(word) mulu16_sel::return#12
(word) mulu16_sel::return#13
(word) mulu16_sel::return#14
(word) mulu16_sel::return#15
(word) mulu16_sel::return#16
(word) mulu16_sel::return#17
(word) mulu16_sel::return#18
(word) mulu16_sel::return#19
(word) mulu16_sel::return#2
(word) mulu16_sel::return#20
(word) mulu16_sel::return#21
(word) mulu16_sel::return#22
(word) mulu16_sel::return#3
(word) mulu16_sel::return#4
(word) mulu16_sel::return#5
(word) mulu16_sel::return#6
(word) mulu16_sel::return#7
(word) mulu16_sel::return#8
(word) mulu16_sel::return#9
(byte) mulu16_sel::select
(byte) mulu16_sel::select#0
(byte) mulu16_sel::select#1
(byte) mulu16_sel::select#10
(byte) mulu16_sel::select#11
(byte) mulu16_sel::select#2
(byte) mulu16_sel::select#3
(byte) mulu16_sel::select#4
(byte) mulu16_sel::select#5
(byte) mulu16_sel::select#6
(byte) mulu16_sel::select#7
(byte) mulu16_sel::select#8
(byte) mulu16_sel::select#9
(word) mulu16_sel::v1
(word) mulu16_sel::v1#0
(word) mulu16_sel::v1#1
(word) mulu16_sel::v1#10
(word) mulu16_sel::v1#2
(word) mulu16_sel::v1#3
(word) mulu16_sel::v1#4
(word) mulu16_sel::v1#5
(word) mulu16_sel::v1#6
(word) mulu16_sel::v1#7
(word) mulu16_sel::v1#8
(word) mulu16_sel::v1#9
(word) mulu16_sel::v2
(word) mulu16_sel::v2#0
(word) mulu16_sel::v2#1
(word) mulu16_sel::v2#10
(word) mulu16_sel::v2#2
(word) mulu16_sel::v2#3
(word) mulu16_sel::v2#4
(word) mulu16_sel::v2#5
(word) mulu16_sel::v2#6
(word) mulu16_sel::v2#7
(word) mulu16_sel::v2#8
(word) mulu16_sel::v2#9
(void()) print_byte((byte) print_byte::b)
(byte~) print_byte::$0
(number~) print_byte::$2
(label) print_byte::@1
(label) print_byte::@2
(label) print_byte::@return
(byte) print_byte::b
(byte) print_byte::b#0
(byte) print_byte::b#1
(byte) print_byte::b#2
(byte) print_byte::b#3
(void()) print_char((byte) print_char::ch)
(label) print_char::@return
(byte) print_char::ch
(byte) print_char::ch#0
(byte) print_char::ch#1
(byte) print_char::ch#2
(byte) print_char::ch#3
(byte) print_char::ch#4
(byte*) print_char_cursor
(byte*) print_char_cursor#0
(byte*) print_char_cursor#1
(byte*) print_char_cursor#10
(byte*) print_char_cursor#11
(byte*) print_char_cursor#12
(byte*) print_char_cursor#13
(byte*) print_char_cursor#14
(byte*) print_char_cursor#15
(byte*) print_char_cursor#16
(byte*) print_char_cursor#17
(byte*) print_char_cursor#18
(byte*) print_char_cursor#19
(byte*) print_char_cursor#2
(byte*) print_char_cursor#20
(byte*) print_char_cursor#21
(byte*) print_char_cursor#22
(byte*) print_char_cursor#23
(byte*) print_char_cursor#24
(byte*) print_char_cursor#25
(byte*) print_char_cursor#26
(byte*) print_char_cursor#27
(byte*) print_char_cursor#28
(byte*) print_char_cursor#29
(byte*) print_char_cursor#3
(byte*) print_char_cursor#30
(byte*) print_char_cursor#31
(byte*) print_char_cursor#32
(byte*) print_char_cursor#33
(byte*) print_char_cursor#34
(byte*) print_char_cursor#35
(byte*) print_char_cursor#36
(byte*) print_char_cursor#37
(byte*) print_char_cursor#38
(byte*) print_char_cursor#39
(byte*) print_char_cursor#4
(byte*) print_char_cursor#40
(byte*) print_char_cursor#41
(byte*) print_char_cursor#42
(byte*) print_char_cursor#43
(byte*) print_char_cursor#44
(byte*) print_char_cursor#45
(byte*) print_char_cursor#46
(byte*) print_char_cursor#47
(byte*) print_char_cursor#48
(byte*) print_char_cursor#49
(byte*) print_char_cursor#5
(byte*) print_char_cursor#50
(byte*) print_char_cursor#51
(byte*) print_char_cursor#52
(byte*) print_char_cursor#53
(byte*) print_char_cursor#54
(byte*) print_char_cursor#55
(byte*) print_char_cursor#56
(byte*) print_char_cursor#57
(byte*) print_char_cursor#58
(byte*) print_char_cursor#59
(byte*) print_char_cursor#6
(byte*) print_char_cursor#7
(byte*) print_char_cursor#8
(byte*) print_char_cursor#9
(void()) print_cls()
(label) print_cls::@1
(label) print_cls::@return
(byte[]) print_hextab
(byte[]) print_hextab#0
(byte*) print_line_cursor
(byte*) print_line_cursor#0
(byte*) print_line_cursor#1
(byte*) print_line_cursor#10
(byte*) print_line_cursor#11
(byte*) print_line_cursor#12
(byte*) print_line_cursor#13
(byte*) print_line_cursor#14
(byte*) print_line_cursor#15
(byte*) print_line_cursor#16
(byte*) print_line_cursor#17
(byte*) print_line_cursor#18
(byte*) print_line_cursor#19
(byte*) print_line_cursor#2
(byte*) print_line_cursor#20
(byte*) print_line_cursor#3
(byte*) print_line_cursor#4
(byte*) print_line_cursor#5
(byte*) print_line_cursor#6
(byte*) print_line_cursor#7
(byte*) print_line_cursor#8
(byte*) print_line_cursor#9
(byte*) print_screen
(byte*) print_screen#0
(byte*) print_screen#1
(byte*) print_screen#2
(byte*) print_screen#3
(byte*) print_screen#4
(byte*) print_screen#5
(byte*) print_screen#6
(byte*) print_screen#7
(void()) print_str((byte*) print_str::str)
(bool~) print_str::$0
(label) print_str::@1
(label) print_str::@2
(label) print_str::@return
(byte*) print_str::str
(byte*) print_str::str#0
(byte*) print_str::str#1
(byte*) print_str::str#2
(byte*) print_str::str#3
(byte*) print_str::str#4
(byte*) print_str::str#5
(void()) print_sword((signed word) print_sword::w)
(bool~) print_sword::$0
(word~) print_sword::$1
(signed word~) print_sword::$5
(label) print_sword::@1
(label) print_sword::@2
(label) print_sword::@3
(label) print_sword::@5
(label) print_sword::@6
(label) print_sword::@7
(label) print_sword::@return
(signed word) print_sword::w
(signed word) print_sword::w#0
(signed word) print_sword::w#1
(signed word) print_sword::w#2
(signed word) print_sword::w#3
(signed word) print_sword::w#4
(signed word) print_sword::w#5
(signed word) print_sword::w#6
(signed word) print_sword::w#7
(void()) print_word((word) print_word::w)
(byte~) print_word::$0
(byte~) print_word::$2
(label) print_word::@1
(label) print_word::@2
(label) print_word::@return
(word) print_word::w
(word) print_word::w#0
(word) print_word::w#1
(word) print_word::w#2
(word) rem16u
(word) rem16u#0
(word) rem16u#1
(word) rem16u#10
(word) rem16u#11
(word) rem16u#12
(word) rem16u#13
(word) rem16u#14
(word) rem16u#15
(word) rem16u#16
(word) rem16u#17
(word) rem16u#18
(word) rem16u#19
(word) rem16u#2
(word) rem16u#20
(word) rem16u#21
(word) rem16u#22
(word) rem16u#23
(word) rem16u#24
(word) rem16u#25
(word) rem16u#26
(word) rem16u#27
(word) rem16u#28
(word) rem16u#29
(word) rem16u#3
(word) rem16u#30
(word) rem16u#31
(word) rem16u#32
(word) rem16u#33
(word) rem16u#34
(word) rem16u#35
(word) rem16u#36
(word) rem16u#37
(word) rem16u#38
(word) rem16u#39
(word) rem16u#4
(word) rem16u#40
(word) rem16u#41
(word) rem16u#42
(word) rem16u#43
(word) rem16u#44
(word) rem16u#45
(word) rem16u#46
(word) rem16u#5
(word) rem16u#6
(word) rem16u#7
(word) rem16u#8
(word) rem16u#9
(signed word()) sin16s((dword) sin16s::x)
(bool~) sin16s::$0
(bool~) sin16s::$1
(word~) sin16s::$10
(word~) sin16s::$11
(word~) sin16s::$12
(word~) sin16s::$13
(signed word~) sin16s::$14
(bool~) sin16s::$15
(bool~) sin16s::$16
(dword~) sin16s::$17
(dword~) sin16s::$18
(signed word~) sin16s::$19
(bool~) sin16s::$2
(signed word~) sin16s::$20
(bool~) sin16s::$3
(dword~) sin16s::$4
(word~) sin16s::$5
(word~) sin16s::$6
(word~) sin16s::$7
(word~) sin16s::$8
(word~) sin16s::$9
(label) sin16s::@1
(label) sin16s::@10
(label) sin16s::@11
(label) sin16s::@12
(label) sin16s::@2
(label) sin16s::@3
(label) sin16s::@4
(label) sin16s::@5
(label) sin16s::@6
(label) sin16s::@8
(label) sin16s::@9
(label) sin16s::@return
(byte) sin16s::isUpper
(byte) sin16s::isUpper#0
(byte) sin16s::isUpper#1
(byte) sin16s::isUpper#2
(byte) sin16s::isUpper#3
(byte) sin16s::isUpper#4
(byte) sin16s::isUpper#5
(byte) sin16s::isUpper#6
(byte) sin16s::isUpper#7
(byte) sin16s::isUpper#8
(byte) sin16s::isUpper#9
(signed word) sin16s::return
(signed word) sin16s::return#0
(signed word) sin16s::return#1
(signed word) sin16s::return#2
(signed word) sin16s::return#3
(signed word) sin16s::return#4
(signed word) sin16s::sinx
(signed word) sin16s::sinx#0
(signed word) sin16s::sinx#1
(signed word) sin16s::sinx#2
(word) sin16s::usinx
(word) sin16s::usinx#0
(word) sin16s::usinx#1
(word) sin16s::usinx#2
(word) sin16s::usinx#3
(word) sin16s::usinx#4
(dword) sin16s::x
(dword) sin16s::x#0
(dword) sin16s::x#1
(dword) sin16s::x#2
(dword) sin16s::x#3
(dword) sin16s::x#4
(dword) sin16s::x#5
(dword) sin16s::x#6
(dword) sin16s::x#7
(word) sin16s::x1
(word) sin16s::x1#0
(word) sin16s::x1#1
(word) sin16s::x1#2
(word) sin16s::x1#3
(word) sin16s::x1#4
(word) sin16s::x2
(word) sin16s::x2#0
(word) sin16s::x3
(word) sin16s::x3#0
(word) sin16s::x3#1
(word) sin16s::x3_6
(word) sin16s::x3_6#0
(word) sin16s::x4
(word) sin16s::x4#0
(word) sin16s::x5
(word) sin16s::x5#0
(word) sin16s::x5_128
(word) sin16s::x5_128#0
(void()) sin16s_gen((signed word*) sin16s_gen::sintab , (word) sin16s_gen::wavelength)
(dword~) sin16s_gen::$0
(bool~) sin16s_gen::$1
(signed word~) sin16s_gen::$2
(dword~) sin16s_gen::$3
(label) sin16s_gen::@1
(label) sin16s_gen::@2
(label) sin16s_gen::@7
(label) sin16s_gen::@8
(label) sin16s_gen::@return
(word) sin16s_gen::i
(word) sin16s_gen::i#0
(word) sin16s_gen::i#1
(word) sin16s_gen::i#2
(word) sin16s_gen::i#3
(word) sin16s_gen::i#4
(signed word*) sin16s_gen::sintab
(signed word*) sin16s_gen::sintab#0
(signed word*) sin16s_gen::sintab#1
(signed word*) sin16s_gen::sintab#2
(signed word*) sin16s_gen::sintab#3
(signed word*) sin16s_gen::sintab#4
(signed word*) sin16s_gen::sintab#5
(signed word*) sin16s_gen::sintab#6
(dword) sin16s_gen::step
(dword) sin16s_gen::step#0
(dword) sin16s_gen::step#1
(dword) sin16s_gen::step#2
(dword) sin16s_gen::step#3
(word) sin16s_gen::wavelength
(word) sin16s_gen::wavelength#0
(word) sin16s_gen::wavelength#1
(word) sin16s_gen::wavelength#2
(word) sin16s_gen::wavelength#3
(word) sin16s_gen::wavelength#4
(word) sin16s_gen::wavelength#5
(dword) sin16s_gen::x
(dword) sin16s_gen::x#0
(dword) sin16s_gen::x#1
(dword) sin16s_gen::x#2
(dword) sin16s_gen::x#3
(dword) sin16s_gen::x#4
(void()) sin16s_genb((signed word*) sin16s_genb::sintab , (word) sin16s_genb::wavelength)
(dword~) sin16s_genb::$0
(bool~) sin16s_genb::$1
(word~) sin16s_genb::$2
(signed word~) sin16s_genb::$3
(dword~) sin16s_genb::$4
(label) sin16s_genb::@1
(label) sin16s_genb::@2
(label) sin16s_genb::@7
(label) sin16s_genb::@8
(label) sin16s_genb::@return
(word) sin16s_genb::i
(word) sin16s_genb::i#0
(word) sin16s_genb::i#1
(word) sin16s_genb::i#2
(word) sin16s_genb::i#3
(word) sin16s_genb::i#4
(signed word*) sin16s_genb::sintab
(signed word*) sin16s_genb::sintab#0
(signed word*) sin16s_genb::sintab#1
(signed word*) sin16s_genb::sintab#2
(signed word*) sin16s_genb::sintab#3
(signed word*) sin16s_genb::sintab#4
(signed word*) sin16s_genb::sintab#5
(signed word*) sin16s_genb::sintab#6
(dword) sin16s_genb::step
(dword) sin16s_genb::step#0
(dword) sin16s_genb::step#1
(dword) sin16s_genb::step#2
(dword) sin16s_genb::step#3
(word) sin16s_genb::wavelength
(word) sin16s_genb::wavelength#0
(word) sin16s_genb::wavelength#1
(word) sin16s_genb::wavelength#2
(word) sin16s_genb::wavelength#3
(word) sin16s_genb::wavelength#4
(word) sin16s_genb::wavelength#5
(dword) sin16s_genb::x
(dword) sin16s_genb::x#0
(dword) sin16s_genb::x#1
(dword) sin16s_genb::x#2
(dword) sin16s_genb::x#3
(dword) sin16s_genb::x#4
(signed word()) sin16sb((word) sin16sb::x)
(bool~) sin16sb::$0
(bool~) sin16sb::$1
(word~) sin16sb::$10
(number~) sin16sb::$11
(word~) sin16sb::$12
(signed word~) sin16sb::$13
(bool~) sin16sb::$14
(bool~) sin16sb::$15
(word~) sin16sb::$16
(word~) sin16sb::$17
(signed word~) sin16sb::$18
(signed word~) sin16sb::$19
(bool~) sin16sb::$2
(bool~) sin16sb::$3
(number~) sin16sb::$4
(word~) sin16sb::$5
(word~) sin16sb::$6
(word~) sin16sb::$7
(word~) sin16sb::$8
(word~) sin16sb::$9
(label) sin16sb::@1
(label) sin16sb::@10
(label) sin16sb::@11
(label) sin16sb::@12
(label) sin16sb::@2
(label) sin16sb::@3
(label) sin16sb::@4
(label) sin16sb::@5
(label) sin16sb::@6
(label) sin16sb::@8
(label) sin16sb::@9
(label) sin16sb::@return
(byte) sin16sb::isUpper
(byte) sin16sb::isUpper#0
(byte) sin16sb::isUpper#1
(byte) sin16sb::isUpper#2
(byte) sin16sb::isUpper#3
(byte) sin16sb::isUpper#4
(byte) sin16sb::isUpper#5
(byte) sin16sb::isUpper#6
(byte) sin16sb::isUpper#7
(byte) sin16sb::isUpper#8
(byte) sin16sb::isUpper#9
(signed word) sin16sb::return
(signed word) sin16sb::return#0
(signed word) sin16sb::return#1
(signed word) sin16sb::return#2
(signed word) sin16sb::return#3
(signed word) sin16sb::return#4
(signed word) sin16sb::sinx
(signed word) sin16sb::sinx#0
(signed word) sin16sb::sinx#1
(signed word) sin16sb::sinx#2
(word) sin16sb::usinx
(word) sin16sb::usinx#0
(word) sin16sb::usinx#1
(word) sin16sb::usinx#2
(word) sin16sb::usinx#3
(word) sin16sb::usinx#4
(word) sin16sb::x
(word) sin16sb::x#0
(word) sin16sb::x#1
(word) sin16sb::x#2
(word) sin16sb::x#3
(word) sin16sb::x#4
(word) sin16sb::x#5
(word) sin16sb::x#6
(word) sin16sb::x#7
(word) sin16sb::x1
(word) sin16sb::x1#0
(word) sin16sb::x1#1
(word) sin16sb::x1#2
(word) sin16sb::x1#3
(word) sin16sb::x1#4
(word) sin16sb::x2
(word) sin16sb::x2#0
(word) sin16sb::x3
(word) sin16sb::x3#0
(word) sin16sb::x3#1
(word) sin16sb::x3_6
(word) sin16sb::x3_6#0
(word) sin16sb::x4
(word) sin16sb::x4#0
(word) sin16sb::x5
(word) sin16sb::x5#0
(word) sin16sb::x5_128
(word) sin16sb::x5_128#0

Fixing inline constructor with div32u16u::$4 ← (word)div32u16u::quotient_hi#1 dw= (word)div32u16u::quotient_lo#0
Successful SSA optimization Pass2FixInlineConstructors
Adding number conversion cast (unumber) 0 in (word) rem16u#0 ← (number) 0
Adding number conversion cast (unumber) 0 in (word) divr16u::quotient#0 ← (number) 0
Adding number conversion cast (unumber) 1 in (word~) divr16u::$0 ← (word) divr16u::rem#5 << (number) 1
Adding number conversion cast (unumber) $80 in (number~) divr16u::$2 ← (byte~) divr16u::$1 & (number) $80
Adding number conversion cast (unumber) divr16u::$2 in (number~) divr16u::$2 ← (byte~) divr16u::$1 & (unumber)(number) $80
Adding number conversion cast (unumber) 0 in (bool~) divr16u::$3 ← (unumber~) divr16u::$2 != (number) 0
Adding number conversion cast (unumber) 1 in (word~) divr16u::$6 ← (word) divr16u::dividend#4 << (number) 1
Adding number conversion cast (unumber) 1 in (word~) divr16u::$7 ← (word) divr16u::quotient#3 << (number) 1
Adding number conversion cast (unumber) 1 in (number~) divr16u::$5 ← (word) divr16u::rem#7 | (number) 1
Adding number conversion cast (unumber) divr16u::$5 in (number~) divr16u::$5 ← (word) divr16u::rem#7 | (unumber)(number) 1
Adding number conversion cast (unumber) 0 in (word) divr16u::rem#3 ← (number) 0
Adding number conversion cast (unumber) 0 in (dword) mul16u::res#0 ← (number) 0
Adding number conversion cast (unumber) 0 in (bool~) mul16u::$0 ← (word) mul16u::a#2 != (number) 0
Adding number conversion cast (unumber) 1 in (number~) mul16u::$1 ← (word) mul16u::a#3 & (number) 1
Adding number conversion cast (unumber) mul16u::$1 in (number~) mul16u::$1 ← (word) mul16u::a#3 & (unumber)(number) 1
Adding number conversion cast (unumber) 0 in (bool~) mul16u::$2 ← (unumber~) mul16u::$1 != (number) 0
Adding number conversion cast (unumber) 1 in (word~) mul16u::$5 ← (word) mul16u::a#4 >> (number) 1
Adding number conversion cast (unumber) 1 in (dword~) mul16u::$6 ← (dword) mul16u::mb#2 << (number) 1
Adding number conversion cast (unumber) $6487ed51 in (dword) PI2_u4f28#0 ← (number) $6487ed51
Adding number conversion cast (unumber) $3243f6a9 in (dword) PI_u4f28#0 ← (number) $3243f6a9
Adding number conversion cast (unumber) $1921fb54 in (dword) PI_HALF_u4f28#0 ← (number) $1921fb54
Adding number conversion cast (unumber) $3244 in (word) PI_u4f12#0 ← (number) $3244
Adding number conversion cast (unumber) $1922 in (word) PI_HALF_u4f12#0 ← (number) $1922
Adding number conversion cast (unumber) 0 in (dword) sin16s_gen::x#0 ← (number) 0
Adding number conversion cast (unumber) 0 in (word) sin16s_gen::i#0 ← (number) 0
Adding number conversion cast (unumber) 0 in (byte) sin16s::isUpper#0 ← (number) 0
Adding number conversion cast (unumber) 1 in (byte) sin16s::isUpper#1 ← (number) 1
Adding number conversion cast (unumber) 3 in (dword~) sin16s::$4 ← (dword) sin16s::x#6 << (number) 3
Adding number conversion cast (unumber) 0 in (byte) mulu16_sel::select#0 ← (number) 0
Adding number conversion cast (unumber) 1 in (byte) mulu16_sel::select#1 ← (number) 1
Adding number conversion cast (unumber) $10000/6 in (word) mulu16_sel::v2#2 ← (number) $10000/(number) 6
Adding number conversion cast (unumber) 1 in (byte) mulu16_sel::select#2 ← (number) 1
Adding number conversion cast (unumber) 0 in (byte) mulu16_sel::select#3 ← (number) 0
Adding number conversion cast (unumber) 0 in (byte) mulu16_sel::select#4 ← (number) 0
Adding number conversion cast (unumber) 4 in (word~) sin16s::$12 ← (word) sin16s::x5#0 >> (number) 4
Adding number conversion cast (unumber) 0 in (bool~) sin16s::$15 ← (byte) sin16s::isUpper#2 != (number) 0
Adding number conversion cast (unumber) 0 in (dword) sin16s_genb::x#0 ← (number) 0
Adding number conversion cast (unumber) 0 in (word) sin16s_genb::i#0 ← (number) 0
Adding number conversion cast (unumber) 0 in (byte) sin16sb::isUpper#0 ← (number) 0
Adding number conversion cast (unumber) 1 in (byte) sin16sb::isUpper#1 ← (number) 1
Adding number conversion cast (unumber) 8 in (number~) sin16sb::$4 ← (word) sin16sb::x#6 * (number) 8
Adding number conversion cast (unumber) sin16sb::$4 in (number~) sin16sb::$4 ← (word) sin16sb::x#6 * (unumber)(number) 8
Adding number conversion cast (unumber) 0 in (byte) mulu16_sel::select#5 ← (number) 0
Adding number conversion cast (unumber) 1 in (byte) mulu16_sel::select#6 ← (number) 1
Adding number conversion cast (unumber) $10000/6 in (word) mulu16_sel::v2#7 ← (number) $10000/(number) 6
Adding number conversion cast (unumber) 1 in (byte) mulu16_sel::select#7 ← (number) 1
Adding number conversion cast (unumber) 0 in (byte) mulu16_sel::select#8 ← (number) 0
Adding number conversion cast (unumber) 0 in (byte) mulu16_sel::select#9 ← (number) 0
Adding number conversion cast (unumber) $10 in (number~) sin16sb::$11 ← (word) sin16sb::x5#0 / (number) $10
Adding number conversion cast (unumber) sin16sb::$11 in (number~) sin16sb::$11 ← (word) sin16sb::x5#0 / (unumber)(number) $10
Adding number conversion cast (unumber) 0 in (bool~) sin16sb::$14 ← (byte) sin16sb::isUpper#2 != (number) 0
Adding number conversion cast (unumber) 0 in (bool~) memset::$0 ← (word) memset::num#1 > (number) 0
Adding number conversion cast (unumber) 0 in (bool~) print_str::$0 ← (number) 0 != *((byte*) print_str::str#3)
Adding number conversion cast (snumber) 0 in (bool~) print_sword::$0 ← (signed word) print_sword::w#2 < (number) 0
Adding number conversion cast (unumber) 4 in (byte~) print_byte::$0 ← (byte) print_byte::b#2 >> (number) 4
Adding number conversion cast (unumber) $f in (number~) print_byte::$2 ← (byte) print_byte::b#3 & (number) $f
Adding number conversion cast (unumber) print_byte::$2 in (number~) print_byte::$2 ← (byte) print_byte::b#3 & (unumber)(number) $f
Adding number conversion cast (unumber) $3e8 in (word) memset::num#0 ← (number) $3e8
Adding number conversion cast (unumber) $78 in (word) main::wavelength#0 ← (number) $78
Adding number conversion cast (snumber) 0 in (bool~) main::$4 ← (signed word) main::sw#0 >= (number) 0
Successful SSA optimization PassNAddNumberTypeConversions
Inlining cast (word) rem16u#0 ← (unumber)(number) 0
Inlining cast (word) divr16u::quotient#0 ← (unumber)(number) 0
Inlining cast (word) divr16u::rem#3 ← (unumber)(number) 0
Inlining cast (dword) mul16u::res#0 ← (unumber)(number) 0
Inlining cast (dword) PI2_u4f28#0 ← (unumber)(number) $6487ed51
Inlining cast (dword) PI_u4f28#0 ← (unumber)(number) $3243f6a9
Inlining cast (dword) PI_HALF_u4f28#0 ← (unumber)(number) $1921fb54
Inlining cast (word) PI_u4f12#0 ← (unumber)(number) $3244
Inlining cast (word) PI_HALF_u4f12#0 ← (unumber)(number) $1922
Inlining cast (dword) sin16s_gen::x#0 ← (unumber)(number) 0
Inlining cast (word) sin16s_gen::i#0 ← (unumber)(number) 0
Inlining cast (byte) sin16s::isUpper#0 ← (unumber)(number) 0
Inlining cast (byte) sin16s::isUpper#1 ← (unumber)(number) 1
Inlining cast (byte) mulu16_sel::select#0 ← (unumber)(number) 0
Inlining cast (byte) mulu16_sel::select#1 ← (unumber)(number) 1
Inlining cast (word) mulu16_sel::v2#2 ← (unumber)(number) $10000/(number) 6
Inlining cast (byte) mulu16_sel::select#2 ← (unumber)(number) 1
Inlining cast (byte) mulu16_sel::select#3 ← (unumber)(number) 0
Inlining cast (byte) mulu16_sel::select#4 ← (unumber)(number) 0
Inlining cast (signed word~) sin16s::$14 ← (signed word)(word) sin16s::usinx#1
Inlining cast (signed word~) sin16s::$19 ← (signed word)(word) sin16s::usinx#3
Inlining cast (dword) sin16s_genb::x#0 ← (unumber)(number) 0
Inlining cast (word) sin16s_genb::i#0 ← (unumber)(number) 0
Inlining cast (byte) sin16sb::isUpper#0 ← (unumber)(number) 0
Inlining cast (byte) sin16sb::isUpper#1 ← (unumber)(number) 1
Inlining cast (byte) mulu16_sel::select#5 ← (unumber)(number) 0
Inlining cast (byte) mulu16_sel::select#6 ← (unumber)(number) 1
Inlining cast (word) mulu16_sel::v2#7 ← (unumber)(number) $10000/(number) 6
Inlining cast (byte) mulu16_sel::select#7 ← (unumber)(number) 1
Inlining cast (byte) mulu16_sel::select#8 ← (unumber)(number) 0
Inlining cast (byte) mulu16_sel::select#9 ← (unumber)(number) 0
Inlining cast (signed word~) sin16sb::$13 ← (signed word)(word) sin16sb::usinx#1
Inlining cast (signed word~) sin16sb::$18 ← (signed word)(word) sin16sb::usinx#3
Inlining cast (byte*~) memset::$2 ← (byte*)(void*) memset::str#2
Inlining cast (byte*) memset::dst#0 ← (byte*)(void*) memset::str#2
Inlining cast (byte*) print_screen#0 ← (byte*)(number) $400
Inlining cast (word~) print_sword::$1 ← (word)(signed word) print_sword::w#4
Inlining cast (word) memset::num#0 ← (unumber)(number) $3e8
Inlining cast (word) main::wavelength#0 ← (unumber)(number) $78
Successful SSA optimization Pass2InlineCast
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 1
Simplifying constant integer cast $80
Simplifying constant integer cast 0
Simplifying constant integer cast 1
Simplifying constant integer cast 1
Simplifying constant integer cast 1
Simplifying constant integer cast 0
Simplifying constant integer cast (word) div32u16u::quotient_hi#1
Simplifying constant integer cast (word) div32u16u::quotient_lo#0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 1
Simplifying constant integer cast 0
Simplifying constant integer cast 1
Simplifying constant integer cast 1
Simplifying constant integer cast $6487ed51
Simplifying constant integer cast $3243f6a9
Simplifying constant integer cast $1921fb54
Simplifying constant integer cast $3244
Simplifying constant integer cast $1922
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 1
Simplifying constant integer cast 3
Simplifying constant integer cast 0
Simplifying constant integer cast 1
Simplifying constant integer cast 1
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 4
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 1
Simplifying constant integer cast 8
Simplifying constant integer cast 0
Simplifying constant integer cast 1
Simplifying constant integer cast 1
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast $10
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant pointer cast (byte*) 1024
Simplifying constant integer cast 0
Simplifying constant integer cast 0
Simplifying constant integer cast 4
Simplifying constant integer cast $f
Simplifying constant integer cast $3e8
Simplifying constant integer cast $78
Simplifying constant integer cast 0
Successful SSA optimization PassNCastSimplification
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 1
Finalized unsigned number type (byte) $80
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 1
Finalized unsigned number type (byte) 1
Finalized unsigned number type (byte) 1
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 1
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 1
Finalized unsigned number type (byte) 1
Finalized unsigned number type (dword) $6487ed51
Finalized unsigned number type (dword) $3243f6a9
Finalized unsigned number type (dword) $1921fb54
Finalized unsigned number type (word) $3244
Finalized unsigned number type (word) $1922
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 1
Finalized unsigned number type (byte) 3
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 1
Finalized unsigned number type (byte) 1
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 4
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 1
Finalized unsigned number type (byte) 8
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 1
Finalized unsigned number type (byte) 1
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) $10
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 0
Finalized unsigned number type (byte) 0
Finalized signed number type (signed byte) 0
Finalized unsigned number type (byte) 4
Finalized unsigned number type (byte) $f
Finalized unsigned number type (word) $3e8
Finalized unsigned number type (byte) $78
Finalized signed number type (signed byte) 0
Successful SSA optimization PassNFinalizeNumberTypeConversions
Inferred type updated to byte in (unumber~) divr16u::$2 ← (byte~) divr16u::$1 & (byte) $80
Inferred type updated to word in (unumber~) divr16u::$5 ← (word) divr16u::rem#7 | (byte) 1
Inferred type updated to byte in (unumber~) mul16u::$1 ← (word) mul16u::a#3 & (byte) 1
Inferred type updated to word in (unumber~) sin16sb::$4 ← (word) sin16sb::x#6 * (byte) 8
Inferred type updated to word in (unumber~) sin16sb::$11 ← (word) sin16sb::x5#0 / (byte) $10
Inferred type updated to byte in (unumber~) print_byte::$2 ← (byte) print_byte::b#3 & (byte) $f
Inversing boolean not [10] (bool~) divr16u::$4 ← (byte~) divr16u::$2 == (byte) 0 from [9] (bool~) divr16u::$3 ← (byte~) divr16u::$2 != (byte) 0
Inversing boolean not [18] (bool~) divr16u::$9 ← (word) divr16u::rem#6 < (word) divr16u::divisor#2 from [17] (bool~) divr16u::$8 ← (word) divr16u::rem#6 >= (word) divr16u::divisor#2
Inversing boolean not [75] (bool~) mul16u::$3 ← (byte~) mul16u::$1 == (byte) 0 from [74] (bool~) mul16u::$2 ← (byte~) mul16u::$1 != (byte) 0
Inversing boolean not [127] (bool~) sin16s::$1 ← (dword) sin16s::x#3 < (dword) PI_u4f28#0 from [126] (bool~) sin16s::$0 ← (dword) sin16s::x#3 >= (dword) PI_u4f28#0
Inversing boolean not [131] (bool~) sin16s::$3 ← (dword) sin16s::x#4 < (dword) PI_HALF_u4f28#0 from [130] (bool~) sin16s::$2 ← (dword) sin16s::x#4 >= (dword) PI_HALF_u4f28#0
Inversing boolean not [190] (bool~) sin16s::$16 ← (byte) sin16s::isUpper#2 == (byte) 0 from [189] (bool~) sin16s::$15 ← (byte) sin16s::isUpper#2 != (byte) 0
Inversing boolean not [249] (bool~) sin16sb::$1 ← (word) sin16sb::x#3 < (word) PI_u4f12#0 from [248] (bool~) sin16sb::$0 ← (word) sin16sb::x#3 >= (word) PI_u4f12#0
Inversing boolean not [253] (bool~) sin16sb::$3 ← (word) sin16sb::x#4 < (word) PI_HALF_u4f12#0 from [252] (bool~) sin16sb::$2 ← (word) sin16sb::x#4 >= (word) PI_HALF_u4f12#0
Inversing boolean not [311] (bool~) sin16sb::$15 ← (byte) sin16sb::isUpper#2 == (byte) 0 from [310] (bool~) sin16sb::$14 ← (byte) sin16sb::isUpper#2 != (byte) 0
Inversing boolean not [327] (bool~) memset::$1 ← (word) memset::num#1 <= (byte) 0 from [326] (bool~) memset::$0 ← (word) memset::num#1 > (byte) 0
Inversing boolean not [458] (bool~) main::$5 ← (signed word) main::sw#0 < (signed byte) 0 from [457] (bool~) main::$4 ← (signed word) main::sw#0 >= (signed byte) 0
Successful SSA optimization Pass2UnaryNotSimplification
Alias (word) divr16u::rem#0 = (word~) divr16u::$0 (word) divr16u::rem#7 
Alias (word) divr16u::dividend#0 = (word~) divr16u::$6 (word) divr16u::dividend#8 
Alias (word) divr16u::quotient#1 = (word~) divr16u::$7 (word) divr16u::quotient#4 
Alias (word) divr16u::dividend#3 = (word) divr16u::dividend#7 
Alias (word) divr16u::quotient#6 = (word) divr16u::quotient#7 
Alias (word) divr16u::divisor#4 = (word) divr16u::divisor#5 
Alias (byte) divr16u::i#5 = (byte) divr16u::i#6 
Alias (word) divr16u::rem#1 = (word~) divr16u::$5 
Alias (word) divr16u::rem#6 = (word) divr16u::rem#8 
Alias (word) divr16u::divisor#2 = (word) divr16u::divisor#3 
Alias (byte) divr16u::i#3 = (byte) divr16u::i#4 
Alias (word) divr16u::rem#2 = (word~) divr16u::$10 
Alias (word) divr16u::rem#11 = (word) divr16u::rem#9 
Alias (word) divr16u::return#0 = (word) divr16u::quotient#5 (word) divr16u::quotient#8 (word) divr16u::return#4 (word) divr16u::return#1 
Alias (word) rem16u#1 = (word) rem16u#14 (word) rem16u#2 
Alias (word) divr16u::dividend#1 = (word~) div32u16u::$0 
Alias (word) divr16u::return#2 = (word) divr16u::return#5 
Alias (dword) div32u16u::dividend#2 = (dword) div32u16u::dividend#3 
Alias (word) div32u16u::divisor#2 = (word) div32u16u::divisor#3 
Alias (word) rem16u#15 = (word) rem16u#3 
Alias (word) div32u16u::quotient_hi#0 = (word~) div32u16u::$1 (word) div32u16u::quotient_hi#1 
Alias (word) divr16u::dividend#2 = (word~) div32u16u::$2 
Alias (word) divr16u::return#3 = (word) divr16u::return#6 
Alias (word) rem16u#16 = (word) rem16u#4 (word) rem16u#17 (word) rem16u#5 
Alias (word) div32u16u::quotient_lo#0 = (word~) div32u16u::$3 
Alias (dword) div32u16u::return#0 = (dword) div32u16u::quotient#0 (dword~) div32u16u::$4 (dword) div32u16u::return#4 (dword) div32u16u::return#1 
Alias (dword) mul16u::mb#0 = (word) mul16u::b#1 
Alias (word) mul16u::a#2 = (word) mul16u::a#3 (word) mul16u::a#6 
Alias (dword) mul16u::mb#3 = (dword) mul16u::mb#4 (dword) mul16u::mb#5 
Alias (dword) mul16u::res#2 = (dword) mul16u::res#5 (dword) mul16u::res#4 (dword) mul16u::return#0 (dword) mul16u::res#3 (dword) mul16u::return#3 (dword) mul16u::return#1 
Alias (word) mul16u::a#0 = (word~) mul16u::$5 
Alias (dword) mul16u::mb#1 = (dword~) mul16u::$6 
Alias (dword) mul16u::res#1 = (dword~) mul16u::$4 
Alias (word) rem16u#0 = (word) rem16u#42 (word) rem16u#40 (word) rem16u#37 (word) rem16u#33 
Alias (dword) div32u16u::return#2 = (dword) div32u16u::return#5 
Alias (word) sin16s_gen::wavelength#1 = (word) sin16s_gen::wavelength#3 
Alias (signed word*) sin16s_gen::sintab#5 = (signed word*) sin16s_gen::sintab#6 
Alias (word) rem16u#18 = (word) rem16u#6 
Alias (dword) sin16s_gen::step#0 = (dword~) sin16s_gen::$0 
Alias (dword) sin16s_gen::x#2 = (dword) sin16s_gen::x#4 (dword) sin16s_gen::x#3 
Alias (signed word*) sin16s_gen::sintab#2 = (signed word*) sin16s_gen::sintab#3 (signed word*) sin16s_gen::sintab#4 
Alias (dword) sin16s_gen::step#1 = (dword) sin16s_gen::step#2 (dword) sin16s_gen::step#3 
Alias (word) sin16s_gen::i#2 = (word) sin16s_gen::i#4 (word) sin16s_gen::i#3 
Alias (word) sin16s_gen::wavelength#2 = (word) sin16s_gen::wavelength#5 (word) sin16s_gen::wavelength#4 
Alias (word) rem16u#19 = (word) rem16u#38 (word) rem16u#28 (word) rem16u#34 (word) rem16u#7 
Alias (signed word) sin16s::return#0 = (signed word) sin16s::return#3 
Alias (dword) sin16s_gen::x#1 = (dword~) sin16s_gen::$3 
Alias (dword) sin16s::x#3 = (dword) sin16s::x#5 
Alias (dword) sin16s::x#1 = (dword~) sin16s::$17 
Alias (word) sin16s::x1#0 = (word~) sin16s::$5 (word) sin16s::x1#1 (word) sin16s::x1#4 (word) sin16s::x1#2 (word) sin16s::x1#3 
Alias (word) mulu16_sel::return#0 = (word) mulu16_sel::return#12 
Alias (byte) sin16s::isUpper#2 = (byte) sin16s::isUpper#6 (byte) sin16s::isUpper#7 (byte) sin16s::isUpper#5 (byte) sin16s::isUpper#4 (byte) sin16s::isUpper#3 
Alias (word) sin16s::x2#0 = (word~) sin16s::$6 
Alias (word) mulu16_sel::return#1 = (word) mulu16_sel::return#13 
Alias (word) sin16s::x3#0 = (word~) sin16s::$7 (word) sin16s::x3#1 
Alias (word) mulu16_sel::return#14 = (word) mulu16_sel::return#2 
Alias (word) sin16s::x3_6#0 = (word~) sin16s::$8 
Alias (word) sin16s::usinx#0 = (word~) sin16s::$9 (word) sin16s::usinx#4 (word) sin16s::usinx#2 
Alias (word) mulu16_sel::return#15 = (word) mulu16_sel::return#3 
Alias (word) sin16s::x4#0 = (word~) sin16s::$10 
Alias (word) mulu16_sel::return#16 = (word) mulu16_sel::return#4 
Alias (word) sin16s::x5#0 = (word~) sin16s::$11 
Alias (word) sin16s::x5_128#0 = (word~) sin16s::$12 
Alias (word) sin16s::usinx#1 = (word~) sin16s::$13 (word) sin16s::usinx#3 
Alias (signed word) sin16s::sinx#0 = (signed word~) sin16s::$14 
Alias (dword) sin16s::x#4 = (dword) sin16s::x#7 
Alias (byte) sin16s::isUpper#8 = (byte) sin16s::isUpper#9 
Alias (dword) sin16s::x#2 = (dword~) sin16s::$18 
Alias (signed word) sin16s::return#1 = (signed word) sin16s::sinx#2 (signed word) sin16s::return#4 (signed word) sin16s::return#2 
Alias (signed word) sin16s::sinx#1 = (signed word~) sin16s::$20 
Alias (dword) mul16u::return#2 = (dword) mul16u::return#4 
Alias (byte) mulu16_sel::select#10 = (byte) mulu16_sel::select#11 
Alias (word) mulu16_sel::return#17 = (word) mulu16_sel::return#5 (word~) mulu16_sel::$2 (word) mulu16_sel::return#6 
Alias (dword) div32u16u::return#3 = (dword) div32u16u::return#6 
Alias (word) sin16s_genb::wavelength#1 = (word) sin16s_genb::wavelength#3 
Alias (signed word*) sin16s_genb::sintab#5 = (signed word*) sin16s_genb::sintab#6 
Alias (word) rem16u#20 = (word) rem16u#8 
Alias (dword) sin16s_genb::step#0 = (dword~) sin16s_genb::$0 
Alias (dword) sin16s_genb::x#2 = (dword) sin16s_genb::x#4 (dword) sin16s_genb::x#3 
Alias (signed word*) sin16s_genb::sintab#2 = (signed word*) sin16s_genb::sintab#3 (signed word*) sin16s_genb::sintab#4 
Alias (dword) sin16s_genb::step#1 = (dword) sin16s_genb::step#2 (dword) sin16s_genb::step#3 
Alias (word) sin16s_genb::i#2 = (word) sin16s_genb::i#4 (word) sin16s_genb::i#3 
Alias (word) sin16s_genb::wavelength#2 = (word) sin16s_genb::wavelength#5 (word) sin16s_genb::wavelength#4 
Alias (word) rem16u#21 = (word) rem16u#39 (word) rem16u#30 (word) rem16u#35 (word) rem16u#9 
Alias (word) sin16sb::x#0 = (word~) sin16s_genb::$2 
Alias (signed word) sin16sb::return#0 = (signed word) sin16sb::return#3 
Alias (dword) sin16s_genb::x#1 = (dword~) sin16s_genb::$4 
Alias (word) sin16sb::x#3 = (word) sin16sb::x#5 
Alias (word) sin16sb::x#1 = (word~) sin16sb::$16 
Alias (word) sin16sb::x1#0 = (word~) sin16sb::$4 (word) sin16sb::x1#1 (word) sin16sb::x1#4 (word) sin16sb::x1#2 (word) sin16sb::x1#3 
Alias (word) mulu16_sel::return#18 = (word) mulu16_sel::return#7 
Alias (byte) sin16sb::isUpper#2 = (byte) sin16sb::isUpper#6 (byte) sin16sb::isUpper#7 (byte) sin16sb::isUpper#5 (byte) sin16sb::isUpper#4 (byte) sin16sb::isUpper#3 
Alias (word) sin16sb::x2#0 = (word~) sin16sb::$5 
Alias (word) mulu16_sel::return#19 = (word) mulu16_sel::return#8 
Alias (word) sin16sb::x3#0 = (word~) sin16sb::$6 (word) sin16sb::x3#1 
Alias (word) mulu16_sel::return#20 = (word) mulu16_sel::return#9 
Alias (word) sin16sb::x3_6#0 = (word~) sin16sb::$7 
Alias (word) sin16sb::usinx#0 = (word~) sin16sb::$8 (word) sin16sb::usinx#4 (word) sin16sb::usinx#2 
Alias (word) mulu16_sel::return#10 = (word) mulu16_sel::return#21 
Alias (word) sin16sb::x4#0 = (word~) sin16sb::$9 
Alias (word) mulu16_sel::return#11 = (word) mulu16_sel::return#22 
Alias (word) sin16sb::x5#0 = (word~) sin16sb::$10 
Alias (word) sin16sb::x5_128#0 = (word~) sin16sb::$11 
Alias (word) sin16sb::usinx#1 = (word~) sin16sb::$12 (word) sin16sb::usinx#3 
Alias (signed word) sin16sb::sinx#0 = (signed word~) sin16sb::$13 
Alias (word) sin16sb::x#4 = (word) sin16sb::x#7 
Alias (byte) sin16sb::isUpper#8 = (byte) sin16sb::isUpper#9 
Alias (word) sin16sb::x#2 = (word~) sin16sb::$17 
Alias (signed word) sin16sb::return#1 = (signed word) sin16sb::sinx#2 (signed word) sin16sb::return#4 (signed word) sin16sb::return#2 
Alias (signed word) sin16sb::sinx#1 = (signed word~) sin16sb::$19 
Alias (void*) memset::return#0 = (void*) memset::str#1 (void*) memset::return#3 (void*) memset::return#1 
Alias (void*) memset::str#2 = (void*) memset::str#3 
Alias (word) memset::num#1 = (word) memset::num#2 
Alias (byte) memset::c#3 = (byte) memset::c#4 
Alias (byte*) memset::end#0 = (byte*~) memset::$3 
Alias (byte) memset::c#1 = (byte) memset::c#2 
Alias (byte*) memset::dst#2 = (byte*) memset::dst#3 
Alias (byte*) memset::end#1 = (byte*) memset::end#2 
Alias (void*) memset::str#4 = (void*) memset::str#5 
Alias (byte*) print_line_cursor#0 = (byte*) print_screen#0 (byte*) print_char_cursor#0 (byte*) print_line_cursor#15 (byte*) print_char_cursor#58 (byte*) print_screen#7 (byte*) print_line_cursor#12 (byte*) print_char_cursor#53 (byte*) print_screen#6 
Alias (byte*) print_str::str#3 = (byte*) print_str::str#4 
Alias (byte*) print_char_cursor#2 = (byte*) print_char_cursor#23 (byte*) print_char_cursor#44 (byte*) print_char_cursor#24 
Alias (byte*) print_char_cursor#45 = (byte*) print_char_cursor#55 (byte*) print_char_cursor#46 
Alias (signed word) print_sword::w#2 = (signed word) print_sword::w#5 (signed word) print_sword::w#3 (signed word) print_sword::w#7 (signed word) print_sword::w#6 
Alias (byte*) print_char_cursor#25 = (byte*) print_char_cursor#3 
Alias (signed word) print_sword::w#0 = (signed word~) print_sword::$5 
Alias (byte*) print_char_cursor#26 = (byte*) print_char_cursor#4 
Alias (word) print_word::w#0 = (word~) print_sword::$1 
Alias (byte*) print_char_cursor#27 = (byte*) print_char_cursor#5 (byte*) print_char_cursor#28 (byte*) print_char_cursor#6 
Alias (byte) print_byte::b#0 = (byte~) print_word::$0 
Alias (word) print_word::w#1 = (word) print_word::w#2 
Alias (byte*) print_char_cursor#29 = (byte*) print_char_cursor#7 
Alias (byte) print_byte::b#1 = (byte~) print_word::$2 
Alias (byte*) print_char_cursor#30 = (byte*) print_char_cursor#8 (byte*) print_char_cursor#31 (byte*) print_char_cursor#9 
Alias (byte) print_byte::b#2 = (byte) print_byte::b#3 
Alias (byte*) print_char_cursor#10 = (byte*) print_char_cursor#32 
Alias (byte*) print_char_cursor#11 = (byte*) print_char_cursor#33 (byte*) print_char_cursor#34 (byte*) print_char_cursor#12 
Alias (byte*) print_char_cursor#13 = (byte*) print_char_cursor#36 (byte*) print_char_cursor#14 
Alias (byte*) print_line_cursor#1 = (byte*) print_screen#2 (byte*) print_screen#1 (byte*) print_char_cursor#15 (byte*) print_line_cursor#6 (byte*) print_char_cursor#37 (byte*) print_line_cursor#2 (byte*) print_char_cursor#16 
Alias (byte*) print_screen#3 = (byte*) print_screen#4 (byte*) print_screen#5 
Alias (byte*) print_line_cursor#10 = (byte*) print_line_cursor#13 (byte*) print_line_cursor#16 
Alias (byte*) print_char_cursor#50 = (byte*) print_char_cursor#56 (byte*) print_char_cursor#59 
Alias (word) rem16u#10 = (word) rem16u#22 
Alias (word) rem16u#11 = (word) rem16u#23 (word) rem16u#45 
Alias (byte*) print_line_cursor#3 = (byte*) print_line_cursor#7 
Alias (byte*) print_char_cursor#17 = (byte*) print_char_cursor#38 
Alias (signed word[$78]) main::sintab1#0 = (signed word*) main::st1#0 
Alias (signed word[$78]) main::sintab2#0 = (signed word*) main::st2#0 
Alias (signed word) main::sw#0 = (signed word~) main::$3 (signed word) main::sw#3 (signed word) main::sw#2 
Alias (signed word*) main::st1#3 = (signed word*) main::st1#4 (signed word*) main::st1#5 
Alias (signed word*) main::st2#3 = (signed word*) main::st2#4 (signed word*) main::st2#5 
Alias (byte) main::i#2 = (byte) main::i#3 (byte) main::i#4 
Alias (word) rem16u#12 = (word) rem16u#36 (word) rem16u#41 (word) rem16u#32 (word) rem16u#24 
Alias (byte*) print_line_cursor#11 = (byte*) print_line_cursor#14 (byte*) print_line_cursor#17 (byte*) print_line_cursor#8 (byte*) print_line_cursor#4 
Alias (byte*) print_char_cursor#18 = (byte*) print_char_cursor#39 
Alias (byte*) print_char_cursor#19 = (byte*) print_char_cursor#40 (byte*) print_char_cursor#42 (byte*) print_char_cursor#21 
Alias (byte*) print_char_cursor#52 = (byte*) print_char_cursor#57 
Alias (signed word*) main::st1#2 = (signed word*) main::st1#7 (signed word*) main::st1#6 
Alias (signed word*) main::st2#2 = (signed word*) main::st2#7 (signed word*) main::st2#6 
Alias (byte) main::i#5 = (byte) main::i#7 (byte) main::i#6 
Alias (word) rem16u#43 = (word) rem16u#46 (word) rem16u#44 
Alias (byte*) print_line_cursor#18 = (byte*) print_line_cursor#20 (byte*) print_line_cursor#19 
Alias (byte*) print_char_cursor#20 = (byte*) print_char_cursor#41 
Alias (word) rem16u#13 = (word) rem16u#25 
Alias (byte*) print_line_cursor#5 = (byte*) print_line_cursor#9 
Alias (byte*) print_char_cursor#22 = (byte*) print_char_cursor#43 
Successful SSA optimization Pass2AliasElimination
Alias (word) divr16u::dividend#3 = (word) divr16u::dividend#4 
Alias (word) divr16u::quotient#3 = (word) divr16u::quotient#6 
Alias (word) divr16u::divisor#2 = (word) divr16u::divisor#4 (word) divr16u::divisor#7 
Alias (byte) divr16u::i#2 = (byte) divr16u::i#3 (byte) divr16u::i#5 
Alias (word) divr16u::dividend#0 = (word) divr16u::dividend#6 
Alias (word) mul16u::a#2 = (word) mul16u::a#4 
Alias (dword) mul16u::mb#2 = (dword) mul16u::mb#3 
Alias (byte) sin16s::isUpper#2 = (byte) sin16s::isUpper#8 
Alias (byte) sin16sb::isUpper#2 = (byte) sin16sb::isUpper#8 
Alias (signed word) main::sw#0 = (signed word) main::sw#1 
Alias (signed word*) main::st1#2 = (signed word*) main::st1#3 
Alias (signed word*) main::st2#2 = (signed word*) main::st2#3 
Alias (byte) main::i#2 = (byte) main::i#5 
Alias (word) rem16u#12 = (word) rem16u#43 
Alias (byte*) print_line_cursor#11 = (byte*) print_line_cursor#18 
Successful SSA optimization Pass2AliasElimination
Identical Phi Values (word) divr16u::divisor#2 (word) divr16u::divisor#6
Identical Phi Values (word) rem16u#15 (word) rem16u#1
Identical Phi Values (word) rem16u#16 (word) rem16u#1
Identical Phi Values (dword) mul16u::mb#0 (word) mul16u::b#0
Identical Phi Values (word) mul16u::a#5 (word) mul16u::a#1
Identical Phi Values (word) sin16s_gen::wavelength#1 (word) sin16s_gen::wavelength#0
Identical Phi Values (word) rem16u#27 (word) rem16u#31
Identical Phi Values (signed word*) sin16s_gen::sintab#5 (signed word*) sin16s_gen::sintab#1
Identical Phi Values (word) rem16u#18 (word) rem16u#16
Identical Phi Values (word) sin16s_gen::wavelength#2 (word) sin16s_gen::wavelength#1
Identical Phi Values (word) rem16u#19 (word) rem16u#18
Identical Phi Values (dword) sin16s_gen::step#1 (dword) sin16s_gen::step#0
Identical Phi Values (dword) sin16s::x#3 (dword) sin16s::x#0
Identical Phi Values (word) sin16s_genb::wavelength#1 (word) sin16s_genb::wavelength#0
Identical Phi Values (word) rem16u#29 (word) rem16u#10
Identical Phi Values (signed word*) sin16s_genb::sintab#5 (signed word*) sin16s_genb::sintab#1
Identical Phi Values (word) rem16u#20 (word) rem16u#16
Identical Phi Values (word) sin16s_genb::wavelength#2 (word) sin16s_genb::wavelength#1
Identical Phi Values (word) rem16u#21 (word) rem16u#20
Identical Phi Values (dword) sin16s_genb::step#1 (dword) sin16s_genb::step#0
Identical Phi Values (word) sin16sb::x#3 (word) sin16sb::x#0
Identical Phi Values (word) memset::num#1 (word) memset::num#0
Identical Phi Values (void*) memset::str#2 (void*) memset::str#0
Identical Phi Values (byte) memset::c#3 (byte) memset::c#0
Identical Phi Values (byte*) memset::end#1 (byte*) memset::end#0
Identical Phi Values (void*) memset::str#4 (void*) memset::str#2
Identical Phi Values (byte) memset::c#1 (byte) memset::c#3
Identical Phi Values (signed word) print_sword::w#2 (signed word) print_sword::w#1
Identical Phi Values (byte*) print_char_cursor#45 (byte*) print_char_cursor#51
Identical Phi Values (byte*) print_char_cursor#25 (byte*) print_char_cursor#13
Identical Phi Values (byte*) print_char_cursor#26 (byte*) print_char_cursor#13
Identical Phi Values (byte*) print_char_cursor#27 (byte*) print_char_cursor#30
Identical Phi Values (word) print_word::w#1 (word) print_word::w#0
Identical Phi Values (byte*) print_char_cursor#48 (byte*) print_char_cursor#47
Identical Phi Values (byte*) print_char_cursor#29 (byte*) print_char_cursor#11
Identical Phi Values (byte*) print_char_cursor#30 (byte*) print_char_cursor#11
Identical Phi Values (byte*) print_char_cursor#10 (byte*) print_char_cursor#13
Identical Phi Values (byte*) print_char_cursor#11 (byte*) print_char_cursor#13
Identical Phi Values (byte*) print_line_cursor#1 (byte*) print_screen#3
Identical Phi Values (word) rem16u#31 (word) rem16u#0
Identical Phi Values (byte*) print_screen#3 (byte*) print_line_cursor#0
Identical Phi Values (byte*) print_line_cursor#10 (byte*) print_line_cursor#0
Identical Phi Values (byte*) print_char_cursor#50 (byte*) print_line_cursor#0
Identical Phi Values (word) rem16u#10 (word) rem16u#19
Identical Phi Values (word) rem16u#11 (word) rem16u#21
Identical Phi Values (byte*) print_line_cursor#3 (byte*) print_line_cursor#1
Identical Phi Values (byte*) print_char_cursor#17 (byte*) print_line_cursor#1
Identical Phi Values (word) rem16u#12 (word) rem16u#11
Identical Phi Values (byte*) print_line_cursor#11 (byte*) print_line_cursor#3
Identical Phi Values (byte*) print_char_cursor#18 (byte*) print_char_cursor#27
Identical Phi Values (byte*) print_char_cursor#19 (byte*) print_char_cursor#2
Identical Phi Values (byte*) print_char_cursor#20 (byte*) print_char_cursor#2
Identical Phi Values (word) rem16u#13 (word) rem16u#12
Identical Phi Values (byte*) print_line_cursor#5 (byte*) print_line_cursor#11
Identical Phi Values (byte*) print_char_cursor#22 (byte*) print_char_cursor#19
Successful SSA optimization Pass2IdenticalPhiElimination
Identical Phi Values (void*) memset::return#0 (void*) memset::str#0
Identical Phi Values (byte*) print_char_cursor#47 (byte*) print_char_cursor#13
Successful SSA optimization Pass2IdenticalPhiElimination
Identical Phi Values (byte*) print_char_cursor#49 (byte*) print_char_cursor#13
Successful SSA optimization Pass2IdenticalPhiElimination
Simple Condition (bool~) divr16u::$4 [11] if((byte~) divr16u::$2==(byte) 0) goto divr16u::@2
Simple Condition (bool~) divr16u::$9 [19] if((word) divr16u::rem#6<(word) divr16u::divisor#6) goto divr16u::@3
Simple Condition (bool~) divr16u::$11 [26] if((byte) divr16u::i#1!=rangelast(0,$f)) goto divr16u::@1
Simple Condition (bool~) mul16u::$0 [71] if((word) mul16u::a#2!=(byte) 0) goto mul16u::@2
Simple Condition (bool~) mul16u::$3 [76] if((byte~) mul16u::$1==(byte) 0) goto mul16u::@4
Simple Condition (bool~) sin16s_gen::$1 [109] if((word) sin16s_gen::i#2<(word) sin16s_gen::wavelength#0) goto sin16s_gen::@2
Simple Condition (bool~) sin16s::$1 [128] if((dword) sin16s::x#0<(dword) PI_u4f28#0) goto sin16s::@1
Simple Condition (bool~) sin16s::$3 [132] if((dword) sin16s::x#4<(dword) PI_HALF_u4f28#0) goto sin16s::@2
Simple Condition (bool~) sin16s::$16 [191] if((byte) sin16s::isUpper#2==(byte) 0) goto sin16s::@3
Simple Condition (bool~) sin16s_genb::$1 [230] if((word) sin16s_genb::i#2<(word) sin16s_genb::wavelength#0) goto sin16s_genb::@2
Simple Condition (bool~) sin16sb::$1 [250] if((word) sin16sb::x#0<(word) PI_u4f12#0) goto sin16sb::@1
Simple Condition (bool~) sin16sb::$3 [254] if((word) sin16sb::x#4<(word) PI_HALF_u4f12#0) goto sin16sb::@2
Simple Condition (bool~) sin16sb::$15 [312] if((byte) sin16sb::isUpper#2==(byte) 0) goto sin16sb::@3
Simple Condition (bool~) memset::$1 [328] if((word) memset::num#0<=(byte) 0) goto memset::@1
Simple Condition (bool~) memset::$4 [338] if((byte*) memset::dst#2!=(byte*) memset::end#0) goto memset::@5
Simple Condition (bool~) print_str::$0 [352] if((byte) 0!=*((byte*) print_str::str#3)) goto print_str::@2
Simple Condition (bool~) print_sword::$0 [362] if((signed word) print_sword::w#1<(signed byte) 0) goto print_sword::@1
Simple Condition (bool~) main::$5 [459] if((signed word) main::sw#0<(signed byte) 0) goto main::@2
Simple Condition (bool~) main::$9 [473] if((byte) main::i#1!=rangelast(0,$77)) goto main::@1
Successful SSA optimization Pass2ConditionalJumpSimplification
Constant right-side identified [158] (word) mulu16_sel::v2#2 ← (unumber)(number) $10000/(number) 6
Constant right-side identified [279] (word) mulu16_sel::v2#7 ← (unumber)(number) $10000/(number) 6
Constant right-side identified [435] (signed word[$78]) main::sintab1#0 ← { fill( $78, 0) }
Constant right-side identified [436] (signed word[$78]) main::sintab2#0 ← { fill( $78, 0) }
Successful SSA optimization Pass2ConstantRValueConsolidation
Constant (const word) rem16u#0 = 0
Constant (const word) divr16u::quotient#0 = 0
Constant (const byte) divr16u::i#0 = 0
Constant (const word) divr16u::rem#3 = 0
Constant (const dword) mul16u::res#0 = 0
Constant (const dword) PI2_u4f28#0 = $6487ed51
Constant (const dword) PI_u4f28#0 = $3243f6a9
Constant (const dword) PI_HALF_u4f28#0 = $1921fb54
Constant (const word) PI_u4f12#0 = $3244
Constant (const word) PI_HALF_u4f12#0 = $1922
Constant (const dword) sin16s_gen::x#0 = 0
Constant (const word) sin16s_gen::i#0 = 0
Constant (const byte) sin16s::isUpper#0 = 0
Constant (const byte) sin16s::isUpper#1 = 1
Constant (const byte) mulu16_sel::select#0 = 0
Constant (const byte) mulu16_sel::select#1 = 1
Constant (const word) mulu16_sel::v2#2 = (unumber)$10000/6
Constant (const byte) mulu16_sel::select#2 = 1
Constant (const byte) mulu16_sel::select#3 = 0
Constant (const byte) mulu16_sel::select#4 = 0
Constant (const dword) sin16s_genb::x#0 = 0
Constant (const word) sin16s_genb::i#0 = 0
Constant (const byte) sin16sb::isUpper#0 = 0
Constant (const byte) sin16sb::isUpper#1 = 1
Constant (const byte) mulu16_sel::select#5 = 0
Constant (const byte) mulu16_sel::select#6 = 1
Constant (const word) mulu16_sel::v2#7 = (unumber)$10000/6
Constant (const byte) mulu16_sel::select#7 = 1
Constant (const byte) mulu16_sel::select#8 = 0
Constant (const byte) mulu16_sel::select#9 = 0
Constant (const byte*) print_line_cursor#0 = (byte*) 1024
Constant (const byte) print_char::ch#0 = '-'
Constant (const byte) print_char::ch#1 = ' '
Constant (const byte[]) print_hextab#0 = $0
Constant (const byte) memset::c#0 = ' '
Constant (const word) memset::num#0 = $3e8
Constant (const word) main::wavelength#0 = $78
Constant (const signed word[$78]) main::sintab1#0 = { fill( $78, 0) }
Constant (const signed word[$78]) main::sintab2#0 = { fill( $78, 0) }
Constant (const byte) main::i#0 = 0
Constant (const byte*) print_str::str#1 = main::str
Constant (const byte*) print_str::str#2 = main::str1
Successful SSA optimization Pass2ConstantIdentification
Constant (const dword) div32u16u::dividend#0 = PI2_u4f28#0
Constant (const dword) div32u16u::dividend#1 = PI2_u4f28#0
Constant (const signed word*) sin16s_gen::sintab#1 = main::sintab1#0
Constant (const word) sin16s_gen::wavelength#0 = main::wavelength#0
Constant (const signed word*) sin16s_genb::sintab#1 = main::sintab2#0
Constant (const word) sin16s_genb::wavelength#0 = main::wavelength#0
Successful SSA optimization Pass2ConstantIdentification
Constant (const word) div32u16u::divisor#0 = sin16s_gen::wavelength#0
Constant (const word) div32u16u::divisor#1 = sin16s_genb::wavelength#0
Successful SSA optimization Pass2ConstantIdentification
Constant value identified (void*)print_line_cursor#0 in [421] (void*) memset::str#0 ← (void*)(const byte*) print_line_cursor#0
Successful SSA optimization Pass2ConstantValues
if() condition always false - eliminating [328] if((const word) memset::num#0<=(byte) 0) goto memset::@1
Successful SSA optimization Pass2ConstantIfs
Resolved ranged next value [24] divr16u::i#1 ← ++ divr16u::i#2 to ++
Resolved ranged comparison value [26] if(divr16u::i#1!=rangelast(0,$f)) goto divr16u::@1 to (number) $10
Resolved ranged next value [471] main::i#1 ← ++ main::i#2 to ++
Resolved ranged comparison value [473] if(main::i#1!=rangelast(0,$77)) goto main::@1 to (number) $78
Eliminating unused variable - keeping the phi block (word) rem16u#26
Eliminating unused variable (void*) memset::return#2 and assignment [201] (void*) memset::return#2 ← (void*) memset::str#0
Successful SSA optimization PassNEliminateUnusedVars
Eliminating unused constant (const word) rem16u#0
Successful SSA optimization PassNEliminateUnusedVars
Successful SSA optimization Pass2LoopHeadConstantIdentification
Successful SSA optimization Pass2LoopHeadConstantIdentification
Adding number conversion cast (unumber) $10 in if((byte) divr16u::i#1!=(number) $10) goto divr16u::@1
Adding number conversion cast (unumber) $78 in if((byte) main::i#1!=(number) $78) goto main::@1
Successful SSA optimization PassNAddNumberTypeConversions
Simplifying constant integer cast $10
Simplifying constant integer cast $78
Successful SSA optimization PassNCastSimplification
Finalized unsigned number type (byte) $10
Finalized unsigned number type (byte) $78
Successful SSA optimization PassNFinalizeNumberTypeConversions
Alias (word) sin16s_gen::i#1 = (word) sin16s_gen::i#2 
Alias (dword) sin16s_gen::x#1 = (dword) sin16s_gen::x#2 
Alias (signed word*) sin16s_gen::sintab#0 = (signed word*) sin16s_gen::sintab#2 
Alias (word) sin16s_gen::i#5 = (word) sin16s_gen::i#6 
Alias (dword) sin16s_gen::x#5 = (dword) sin16s_gen::x#6 
Alias (signed word*) sin16s_gen::sintab#7 = (signed word*) sin16s_gen::sintab#8 
Alias (word) sin16s_genb::i#1 = (word) sin16s_genb::i#2 
Alias (dword) sin16s_genb::x#1 = (dword) sin16s_genb::x#2 
Alias (signed word*) sin16s_genb::sintab#0 = (signed word*) sin16s_genb::sintab#2 
Alias (word) sin16s_genb::i#5 = (word) sin16s_genb::i#6 
Alias (dword) sin16s_genb::x#5 = (dword) sin16s_genb::x#6 
Alias (signed word*) sin16s_genb::sintab#7 = (signed word*) sin16s_genb::sintab#8 
Successful SSA optimization Pass2AliasElimination
Identical Phi Values (word) sin16s_gen::i#7 (const word) sin16s_gen::i#0
Identical Phi Values (dword) sin16s_gen::x#7 (const dword) sin16s_gen::x#0
Identical Phi Values (signed word*) sin16s_gen::sintab#9 (const signed word*) sin16s_gen::sintab#1
Identical Phi Values (word) sin16s_genb::i#7 (const word) sin16s_genb::i#0
Identical Phi Values (dword) sin16s_genb::x#7 (const dword) sin16s_genb::x#0
Identical Phi Values (signed word*) sin16s_genb::sintab#9 (const signed word*) sin16s_genb::sintab#1
Successful SSA optimization Pass2IdenticalPhiElimination
Constant (const void*) memset::str#0 = (void*)print_line_cursor#0
Successful SSA optimization Pass2ConstantIdentification
Constant value identified (byte*)memset::str#0 in [165] (byte*~) memset::$2 ← (byte*)(const void*) memset::str#0
Constant value identified (byte*)memset::str#0 in [167] (byte*) memset::dst#0 ← (byte*)(const void*) memset::str#0
Successful SSA optimization Pass2ConstantValues
if() condition always true - replacing block destination [226] if((const word) sin16s_gen::i#0<(const word) sin16s_gen::wavelength#0) goto sin16s_gen::@2
if() condition always true - replacing block destination [228] if((const word) sin16s_genb::i#0<(const word) sin16s_genb::wavelength#0) goto sin16s_genb::@2
Successful SSA optimization Pass2ConstantIfs
Constant (const byte*) memset::$2 = (byte*)memset::str#0
Constant (const byte*) memset::dst#0 = (byte*)memset::str#0
Successful SSA optimization Pass2ConstantIdentification
Constant right-side identified [159] (byte*) memset::end#0 ← (const byte*) memset::$2 + (const word) memset::num#0
Successful SSA optimization Pass2ConstantRValueConsolidation
Constant (const byte*) memset::end#0 = memset::$2+memset::num#0
Successful SSA optimization Pass2ConstantIdentification
Successful SSA optimization Pass2LoopHeadConstantIdentification
Alias (byte*) memset::dst#1 = (byte*) memset::dst#2 
Successful SSA optimization Pass2AliasElimination
Identical Phi Values (byte*) memset::dst#5 (const byte*) memset::dst#0
Successful SSA optimization Pass2IdenticalPhiElimination
if() condition always true - replacing block destination [218] if((const byte*) memset::dst#0!=(const byte*) memset::end#0) goto memset::@5
Successful SSA optimization Pass2ConstantIfs
Inlining Noop Cast [89] (signed word) sin16s::sinx#0 ← (signed word)(word) sin16s::usinx#1 keeping sin16s::usinx#1
Inlining Noop Cast [93] (signed word~) sin16s::$19 ← (signed word)(word) sin16s::usinx#1 keeping sin16s::usinx#1
Inlining Noop Cast [152] (signed word) sin16sb::sinx#0 ← (signed word)(word) sin16sb::usinx#1 keeping sin16sb::usinx#1
Inlining Noop Cast [156] (signed word~) sin16sb::$18 ← (signed word)(word) sin16sb::usinx#1 keeping sin16sb::usinx#1
Successful SSA optimization Pass2NopCastInlining
Rewriting multiplication to use shift [124] (word) sin16sb::x1#0 ← (word) sin16sb::x#6 * (byte) 8
Rewriting division to use shift [150] (word) sin16sb::x5_128#0 ← (word) sin16sb::x5#0 / (byte) $10
Successful SSA optimization Pass2MultiplyToShiftRewriting
Inlining constant with var siblings (const word) divr16u::quotient#0
Inlining constant with var siblings (const byte) divr16u::i#0
Inlining constant with var siblings (const word) divr16u::rem#3
Inlining constant with var siblings (const dword) div32u16u::dividend#0
Inlining constant with var siblings (const dword) div32u16u::dividend#1
Inlining constant with var siblings (const word) div32u16u::divisor#0
Inlining constant with var siblings (const word) div32u16u::divisor#1
Inlining constant with var siblings (const dword) mul16u::res#0
Inlining constant with var siblings (const dword) sin16s_gen::x#0
Inlining constant with var siblings (const word) sin16s_gen::i#0
Inlining constant with var siblings (const signed word*) sin16s_gen::sintab#1
Inlining constant with var siblings (const byte) sin16s::isUpper#0
Inlining constant with var siblings (const byte) sin16s::isUpper#1
Inlining constant with var siblings (const byte) mulu16_sel::select#0
Inlining constant with var siblings (const byte) mulu16_sel::select#1
Inlining constant with var siblings (const word) mulu16_sel::v2#2
Inlining constant with var siblings (const byte) mulu16_sel::select#2
Inlining constant with var siblings (const byte) mulu16_sel::select#3
Inlining constant with var siblings (const byte) mulu16_sel::select#4
Inlining constant with var siblings (const byte) mulu16_sel::select#5
Inlining constant with var siblings (const byte) mulu16_sel::select#6
Inlining constant with var siblings (const word) mulu16_sel::v2#7
Inlining constant with var siblings (const byte) mulu16_sel::select#7
Inlining constant with var siblings (const byte) mulu16_sel::select#8
Inlining constant with var siblings (const byte) mulu16_sel::select#9
Inlining constant with var siblings (const dword) sin16s_genb::x#0
Inlining constant with var siblings (const word) sin16s_genb::i#0
Inlining constant with var siblings (const signed word*) sin16s_genb::sintab#1
Inlining constant with var siblings (const byte) sin16sb::isUpper#0
Inlining constant with var siblings (const byte) sin16sb::isUpper#1
Inlining constant with var siblings (const byte*) memset::dst#0
Inlining constant with var siblings (const byte*) print_str::str#1
Inlining constant with var siblings (const byte*) print_str::str#2
Inlining constant with var siblings (const byte) print_char::ch#0
Inlining constant with var siblings (const byte) print_char::ch#1
Inlining constant with var siblings (const byte) main::i#0
Constant inlined divr16u::rem#3 = (byte) 0
Constant inlined divr16u::i#0 = (byte) 0
Constant inlined div32u16u::dividend#1 = (const dword) PI2_u4f28#0
Constant inlined sin16s_gen::wavelength#0 = (const word) main::wavelength#0
Constant inlined div32u16u::dividend#0 = (const dword) PI2_u4f28#0
Constant inlined sin16s::isUpper#0 = (byte) 0
Constant inlined mulu16_sel::v2#7 = (word)(number) $10000/(number) 6
Constant inlined $0 = (const byte[]) print_hextab#0
Constant inlined mulu16_sel::select#4 = (byte) 0
Constant inlined mulu16_sel::select#5 = (byte) 0
Constant inlined memset::$2 = (byte*)(const void*) memset::str#0
Constant inlined divr16u::quotient#0 = (byte) 0
Constant inlined mulu16_sel::select#2 = (byte) 1
Constant inlined mulu16_sel::select#3 = (byte) 0
Constant inlined mul16u::res#0 = (byte) 0
Constant inlined mulu16_sel::select#0 = (byte) 0
Constant inlined sin16s::isUpper#1 = (byte) 1
Constant inlined mulu16_sel::select#1 = (byte) 1
Constant inlined sin16s_genb::sintab#1 = (const signed word[$78]) main::sintab2#0
Constant inlined main::i#0 = (byte) 0
Constant inlined sin16s_genb::x#0 = (byte) 0
Constant inlined sin16sb::isUpper#1 = (byte) 1
Constant inlined sin16s_genb::wavelength#0 = (const word) main::wavelength#0
Constant inlined sin16sb::isUpper#0 = (byte) 0
Constant inlined sin16s_gen::i#0 = (byte) 0
Constant inlined sin16s_genb::i#0 = (byte) 0
Constant inlined mulu16_sel::select#8 = (byte) 0
Constant inlined mulu16_sel::select#9 = (byte) 0
Constant inlined mulu16_sel::select#6 = (byte) 1
Constant inlined sin16s_gen::sintab#1 = (const signed word[$78]) main::sintab1#0
Constant inlined mulu16_sel::select#7 = (byte) 1
Constant inlined print_char::ch#1 = (byte) ' '
Constant inlined mulu16_sel::v2#2 = (word)(number) $10000/(number) 6
Constant inlined print_char::ch#0 = (byte) '-'
Constant inlined sin16s_gen::x#0 = (byte) 0
Constant inlined div32u16u::divisor#1 = (const word) main::wavelength#0
Constant inlined print_str::str#2 = (const string) main::str1
Constant inlined memset::dst#0 = (byte*)(const void*) memset::str#0
Constant inlined div32u16u::divisor#0 = (const word) main::wavelength#0
Constant inlined print_str::str#1 = (const string) main::str
Successful SSA optimization Pass2ConstantInlining
Identical Phi Values (dword) div32u16u::dividend#2 (const dword) PI2_u4f28#0
Identical Phi Values (word) div32u16u::divisor#2 (const word) main::wavelength#0
Successful SSA optimization Pass2IdenticalPhiElimination
Constant right-side identified [19] (word) divr16u::dividend#1 ← > (const dword) PI2_u4f28#0
Constant right-side identified [24] (word) divr16u::dividend#2 ← < (const dword) PI2_u4f28#0
Successful SSA optimization Pass2ConstantRValueConsolidation
Constant (const word) divr16u::dividend#1 = >PI2_u4f28#0
Constant (const word) divr16u::divisor#0 = main::wavelength#0
Constant (const word) divr16u::dividend#2 = <PI2_u4f28#0
Constant (const word) divr16u::divisor#1 = main::wavelength#0
Successful SSA optimization Pass2ConstantIdentification
Inlining constant with var siblings (const word) divr16u::dividend#1
Inlining constant with var siblings (const word) divr16u::divisor#0
Inlining constant with var siblings (const word) divr16u::dividend#2
Inlining constant with var siblings (const word) divr16u::divisor#1
Constant inlined divr16u::divisor#1 = (const word) main::wavelength#0
Constant inlined divr16u::dividend#1 = >(const dword) PI2_u4f28#0
Constant inlined divr16u::divisor#0 = (const word) main::wavelength#0
Constant inlined divr16u::dividend#2 = <(const dword) PI2_u4f28#0
Successful SSA optimization Pass2ConstantInlining
Identical Phi Values (word) divr16u::divisor#6 (const word) main::wavelength#0
Successful SSA optimization Pass2IdenticalPhiElimination
Added new block during phi lifting divr16u::@8(between divr16u::@3 and divr16u::@1)
Added new block during phi lifting divr16u::@9(between divr16u::@1 and divr16u::@2)
Added new block during phi lifting divr16u::@10(between divr16u::@2 and divr16u::@3)
Added new block during phi lifting mul16u::@10(between mul16u::@2 and mul16u::@4)
Added new block during phi lifting sin16s_gen::@9(between sin16s_gen::@1 and sin16s_gen::@2)
Added new block during phi lifting sin16s::@13(between sin16s and sin16s::@1)
Fixing phi predecessor for sin16s::isUpper#2 to new block ( sin16s -> sin16s::@13 ) during phi lifting.
Added new block during phi lifting sin16s::@14(between sin16s::@1 and sin16s::@2)
Added new block during phi lifting sin16s::@15(between sin16s::@12 and sin16s::@3)
Added new block during phi lifting sin16s_genb::@9(between sin16s_genb::@1 and sin16s_genb::@2)
Added new block during phi lifting sin16sb::@13(between sin16sb and sin16sb::@1)
Fixing phi predecessor for sin16sb::isUpper#2 to new block ( sin16sb -> sin16sb::@13 ) during phi lifting.
Added new block during phi lifting sin16sb::@14(between sin16sb::@1 and sin16sb::@2)
Added new block during phi lifting sin16sb::@15(between sin16sb::@12 and sin16sb::@3)
Added new block during phi lifting memset::@10(between memset::@4 and memset::@5)
Added new block during phi lifting main::@11(between main::@9 and main::@1)
Added new block during phi lifting main::@12(between main::@1 and main::@2)
Adding NOP phi() at start of @begin
Adding NOP phi() at start of @2
Adding NOP phi() at start of @13
Adding NOP phi() at start of @34
Adding NOP phi() at start of @51
Adding NOP phi() at start of @59
Adding NOP phi() at start of @60
Adding NOP phi() at start of @end
Adding NOP phi() at start of main
Adding NOP phi() at start of main::@5
Adding NOP phi() at start of main::@6
Adding NOP phi() at start of main::@7
Adding NOP phi() at start of print_sword::@7
Adding NOP phi() at start of print_word::@2
Adding NOP phi() at start of print_byte::@2
Adding NOP phi() at start of print_cls
Adding NOP phi() at start of print_cls::@1
Adding NOP phi() at start of memset
Adding NOP phi() at start of memset::@2
Adding NOP phi() at start of memset::@4_1
Adding NOP phi() at start of memset::@1
Adding NOP phi() at start of sin16s_genb
Adding NOP phi() at start of sin16s_genb::@1_1
Adding NOP phi() at start of mul16u::@3
Adding NOP phi() at start of div32u16u
Adding NOP phi() at start of sin16s_gen
Adding NOP phi() at start of sin16s_gen::@1_1
CALL GRAPH
Calls in [] to main:6 
Calls in [main] to sin16s_gen:10 sin16s_genb:12 print_cls:14 print_str:20 print_sword:24 print_str:26 
Calls in [print_sword] to print_char:50 print_word:54 print_char:58 
Calls in [print_word] to print_byte:67 print_byte:70 
Calls in [print_byte] to print_char:78 print_char:83 
Calls in [print_cls] to memset:87 
Calls in [sin16s_genb] to div32u16u:101 sin16sb:107 
Calls in [sin16sb] to mulu16_sel:132 mulu16_sel:139 mulu16_sel:144 mulu16_sel:152 mulu16_sel:159 
Calls in [mulu16_sel] to mul16u:175 
Calls in [div32u16u] to divr16u:199 divr16u:204 
Calls in [sin16s_gen] to div32u16u:240 sin16s:246 
Calls in [sin16s] to mulu16_sel:272 mulu16_sel:279 mulu16_sel:284 mulu16_sel:292 mulu16_sel:299 

Created 44 initial phi equivalence classes
Coalesced [19] print_char_cursor#60 ← print_char_cursor#52
Coalesced [21] print_char_cursor#70 ← print_char_cursor#2
Coalesced [25] print_char_cursor#61 ← print_char_cursor#13
Coalesced [32] main::st1#8 ← main::st1#1
Coalesced [33] main::st2#8 ← main::st2#1
Coalesced [34] print_char_cursor#68 ← print_char_cursor#2
Coalesced [35] main::i#8 ← main::i#1
Coalesced (already) [36] print_char_cursor#69 ← print_char_cursor#52
Coalesced [38] print_str::str#6 ← print_str::str#5
Coalesced (already) [39] print_char_cursor#62 ← print_char_cursor#54
Coalesced [46] print_str::str#7 ← print_str::str#0
Coalesced [47] print_char_cursor#63 ← print_char_cursor#1
Coalesced [49] print_char_cursor#67 ← print_char_cursor#51
Coalesced [51] print_sword::w#9 ← print_sword::w#1
Coalesced (already) [57] print_char_cursor#66 ← print_char_cursor#51
Coalesced [60] print_sword::w#8 ← print_sword::w#0
Coalesced [66] print_byte::b#4 ← print_byte::b#0
Coalesced [69] print_byte::b#5 ← print_byte::b#1
Coalesced [76] print_char::ch#5 ← print_char::ch#2
Coalesced (already) [77] print_char_cursor#64 ← print_char_cursor#13
Coalesced [81] print_char::ch#6 ← print_char::ch#3
Coalesced (already) [82] print_char_cursor#65 ← print_char_cursor#13
Coalesced [99] memset::dst#6 ← memset::dst#1
Coalesced [116] sin16s_genb::i#8 ← sin16s_genb::i#1
Coalesced [117] sin16s_genb::x#8 ← sin16s_genb::x#1
Coalesced [118] sin16s_genb::sintab#10 ← sin16s_genb::sintab#0
Coalesced [121] sin16sb::x#9 ← sin16sb::x#1
Coalesced [125] sin16sb::x#11 ← sin16sb::x#2
Coalesced [130] mulu16_sel::v1#18 ← mulu16_sel::v1#5
Coalesced [131] mulu16_sel::v2#17 ← mulu16_sel::v2#5
Coalesced [137] mulu16_sel::v1#19 ← mulu16_sel::v1#6
Coalesced [138] mulu16_sel::v2#18 ← mulu16_sel::v2#6
Coalesced [143] mulu16_sel::v1#20 ← mulu16_sel::v1#7
Coalesced [150] mulu16_sel::v1#16 ← mulu16_sel::v1#8
Coalesced [151] mulu16_sel::v2#15 ← mulu16_sel::v2#8
Coalesced [157] mulu16_sel::v1#17 ← mulu16_sel::v1#9
Coalesced [158] mulu16_sel::v2#16 ← mulu16_sel::v2#9
Coalesced [166] sin16sb::return#6 ← sin16sb::sinx#1
Coalesced [170] sin16sb::x#10 ← sin16sb::x#4
Coalesced [171] sin16sb::x#8 ← sin16sb::x#0
Coalesced [181] mul16u::a#7 ← mul16u::a#1
Coalesced [182] mul16u::mb#6 ← mul16u::b#0
Coalesced [190] mul16u::res#9 ← mul16u::res#1
Coalesced [194] mul16u::a#8 ← mul16u::a#0
Coalesced [195] mul16u::res#7 ← mul16u::res#6
Coalesced [196] mul16u::mb#7 ← mul16u::mb#1
Coalesced (already) [197] mul16u::res#8 ← mul16u::res#2
Coalesced [203] divr16u::rem#12 ← divr16u::rem#4
Coalesced [210] divr16u::rem#13 ← divr16u::rem#10
Coalesced [211] divr16u::dividend#9 ← divr16u::dividend#5
Coalesced [218] divr16u::rem#16 ← divr16u::rem#1
Coalesced [225] divr16u::rem#18 ← divr16u::rem#2
Coalesced [226] divr16u::return#8 ← divr16u::quotient#2
Coalesced [232] divr16u::rem#14 ← divr16u::rem#11
Coalesced [233] divr16u::dividend#10 ← divr16u::dividend#0
Coalesced [234] divr16u::quotient#9 ← divr16u::return#0
Coalesced [235] divr16u::i#7 ← divr16u::i#1
Coalesced [236] divr16u::rem#17 ← divr16u::rem#6
Coalesced [237] divr16u::return#7 ← divr16u::quotient#1
Coalesced [238] divr16u::rem#15 ← divr16u::rem#0
Coalesced [255] sin16s_gen::i#8 ← sin16s_gen::i#1
Coalesced [256] sin16s_gen::x#8 ← sin16s_gen::x#1
Coalesced [257] sin16s_gen::sintab#10 ← sin16s_gen::sintab#0
Coalesced [260] sin16s::x#9 ← sin16s::x#1
Coalesced [264] sin16s::x#11 ← sin16s::x#2
Coalesced [270] mulu16_sel::v1#13 ← mulu16_sel::v1#0
Coalesced [271] mulu16_sel::v2#13 ← mulu16_sel::v2#0
Coalesced [277] mulu16_sel::v1#14 ← mulu16_sel::v1#1
Coalesced [278] mulu16_sel::v2#14 ← mulu16_sel::v2#1
Coalesced [283] mulu16_sel::v1#15 ← mulu16_sel::v1#2
Coalesced [290] mulu16_sel::v1#11 ← mulu16_sel::v1#3
Coalesced [291] mulu16_sel::v2#11 ← mulu16_sel::v2#3
Coalesced [297] mulu16_sel::v1#12 ← mulu16_sel::v1#4
Coalesced [298] mulu16_sel::v2#12 ← mulu16_sel::v2#4
Coalesced [306] sin16s::return#6 ← sin16s::sinx#1
Coalesced [310] sin16s::x#10 ← sin16s::x#4
Coalesced [311] sin16s::x#8 ← sin16s::x#0
Coalesced down to 31 phi equivalence classes
Culled Empty Block (label) @2
Culled Empty Block (label) @13
Culled Empty Block (label) @34
Culled Empty Block (label) @51
Culled Empty Block (label) @60
Culled Empty Block (label) main::@7
Culled Empty Block (label) main::@10
Culled Empty Block (label) main::@11
Culled Empty Block (label) main::@12
Culled Empty Block (label) print_sword::@6
Culled Empty Block (label) print_sword::@7
Culled Empty Block (label) print_word::@2
Culled Empty Block (label) print_byte::@2
Culled Empty Block (label) print_cls::@1
Culled Empty Block (label) memset::@2
Culled Empty Block (label) memset::@4_1
Culled Empty Block (label) memset::@1
Culled Empty Block (label) memset::@10
Culled Empty Block (label) sin16s_genb::@1_1
Culled Empty Block (label) sin16s_genb::@9
Culled Empty Block (label) sin16sb::@14
Culled Empty Block (label) sin16sb::@13
Culled Empty Block (label) mul16u::@3
Culled Empty Block (label) mul16u::@10
Culled Empty Block (label) divr16u::@8
Culled Empty Block (label) divr16u::@10
Culled Empty Block (label) divr16u::@9
Culled Empty Block (label) sin16s_gen::@1_1
Culled Empty Block (label) sin16s_gen::@9
Culled Empty Block (label) sin16s::@14
Culled Empty Block (label) sin16s::@13
Renumbering block @59 to @1
Renumbering block div32u16u::@2 to div32u16u::@1
Renumbering block div32u16u::@3 to div32u16u::@2
Renumbering block mul16u::@4 to mul16u::@3
Renumbering block mul16u::@7 to mul16u::@4
Renumbering block sin16s_gen::@7 to sin16s_gen::@3
Renumbering block sin16s_gen::@8 to sin16s_gen::@4
Renumbering block sin16s::@8 to sin16s::@7
Renumbering block sin16s::@9 to sin16s::@8
Renumbering block sin16s::@10 to sin16s::@9
Renumbering block sin16s::@11 to sin16s::@10
Renumbering block sin16s::@12 to sin16s::@11
Renumbering block sin16s::@15 to sin16s::@12
Renumbering block mulu16_sel::@2 to mulu16_sel::@1
Renumbering block sin16s_genb::@7 to sin16s_genb::@3
Renumbering block sin16s_genb::@8 to sin16s_genb::@4
Renumbering block sin16sb::@8 to sin16sb::@7
Renumbering block sin16sb::@9 to sin16sb::@8
Renumbering block sin16sb::@10 to sin16sb::@9
Renumbering block sin16sb::@11 to sin16sb::@10
Renumbering block sin16sb::@12 to sin16sb::@11
Renumbering block sin16sb::@15 to sin16sb::@12
Renumbering block memset::@4 to memset::@1
Renumbering block memset::@5 to memset::@2
Renumbering block print_sword::@5 to print_sword::@4
Renumbering block main::@5 to main::@4
Renumbering block main::@6 to main::@5
Renumbering block main::@8 to main::@6
Renumbering block main::@9 to main::@7
Adding NOP phi() at start of @begin
Adding NOP phi() at start of @1
Adding NOP phi() at start of @end
Adding NOP phi() at start of main
Adding NOP phi() at start of main::@4
Adding NOP phi() at start of main::@5
Adding NOP phi() at start of main::@3
Adding NOP phi() at start of main::@6
Adding NOP phi() at start of print_sword::@3
Adding NOP phi() at start of print_sword::@1
Adding NOP phi() at start of print_cls
Adding NOP phi() at start of memset
Adding NOP phi() at start of sin16s_genb
Adding NOP phi() at start of mul16u
Adding NOP phi() at start of div32u16u
Adding NOP phi() at start of sin16s_gen

FINAL CONTROL FLOW GRAPH
@begin: scope:[]  from
  [0] phi()
  to:@1
@1: scope:[]  from @begin
  [1] phi()
  [2] call main 
  to:@end
@end: scope:[]  from @1
  [3] phi()
main: scope:[main]  from @1
  [4] phi()
  [5] call sin16s_gen 
  to:main::@4
main::@4: scope:[main]  from main
  [6] phi()
  [7] call sin16s_genb 
  to:main::@5
main::@5: scope:[main]  from main::@4
  [8] phi()
  [9] call print_cls 
  to:main::@1
main::@1: scope:[main]  from main::@5 main::@7
  [10] (byte) main::i#2 ← phi( main::@5/(byte) 0 main::@7/(byte) main::i#1 )
  [10] (byte*) print_char_cursor#52 ← phi( main::@5/(const byte*) print_line_cursor#0 main::@7/(byte*) print_char_cursor#2 )
  [10] (signed word*) main::st2#2 ← phi( main::@5/(const signed word[$78]) main::sintab2#0 main::@7/(signed word*) main::st2#1 )
  [10] (signed word*) main::st1#2 ← phi( main::@5/(const signed word[$78]) main::sintab1#0 main::@7/(signed word*) main::st1#1 )
  [11] (signed word) main::sw#0 ← *((signed word*) main::st1#2) - *((signed word*) main::st2#2)
  [12] if((signed word) main::sw#0<(signed byte) 0) goto main::@2
  to:main::@3
main::@3: scope:[main]  from main::@1
  [13] phi()
  [14] call print_str 
  to:main::@2
main::@2: scope:[main]  from main::@1 main::@3
  [15] (byte*) print_char_cursor#51 ← phi( main::@1/(byte*) print_char_cursor#52 main::@3/(byte*) print_char_cursor#2 )
  [16] (signed word) print_sword::w#1 ← (signed word) main::sw#0
  [17] call print_sword 
  to:main::@6
main::@6: scope:[main]  from main::@2
  [18] phi()
  [19] call print_str 
  to:main::@7
main::@7: scope:[main]  from main::@6
  [20] (signed word*) main::st1#1 ← (signed word*) main::st1#2 + (const byte) SIZEOF_SIGNED_WORD
  [21] (signed word*) main::st2#1 ← (signed word*) main::st2#2 + (const byte) SIZEOF_SIGNED_WORD
  [22] (byte) main::i#1 ← ++ (byte) main::i#2
  [23] if((byte) main::i#1!=(byte) $78) goto main::@1
  to:main::@return
main::@return: scope:[main]  from main::@7
  [24] return 
  to:@return
print_str: scope:[print_str]  from main::@3 main::@6
  [25] (byte*) print_char_cursor#54 ← phi( main::@3/(byte*) print_char_cursor#52 main::@6/(byte*) print_char_cursor#13 )
  [25] (byte*) print_str::str#5 ← phi( main::@3/(const string) main::str1 main::@6/(const string) main::str )
  to:print_str::@1
print_str::@1: scope:[print_str]  from print_str print_str::@2
  [26] (byte*) print_char_cursor#2 ← phi( print_str/(byte*) print_char_cursor#54 print_str::@2/(byte*) print_char_cursor#1 )
  [26] (byte*) print_str::str#3 ← phi( print_str/(byte*) print_str::str#5 print_str::@2/(byte*) print_str::str#0 )
  [27] if((byte) 0!=*((byte*) print_str::str#3)) goto print_str::@2
  to:print_str::@return
print_str::@return: scope:[print_str]  from print_str::@1
  [28] return 
  to:@return
print_str::@2: scope:[print_str]  from print_str::@1
  [29] *((byte*) print_char_cursor#2) ← *((byte*) print_str::str#3)
  [30] (byte*) print_char_cursor#1 ← ++ (byte*) print_char_cursor#2
  [31] (byte*) print_str::str#0 ← ++ (byte*) print_str::str#3
  to:print_str::@1
print_sword: scope:[print_sword]  from main::@2
  [32] if((signed word) print_sword::w#1<(signed byte) 0) goto print_sword::@1
  to:print_sword::@3
print_sword::@3: scope:[print_sword]  from print_sword
  [33] phi()
  [34] call print_char 
  to:print_sword::@2
print_sword::@2: scope:[print_sword]  from print_sword::@3 print_sword::@4
  [35] (signed word) print_sword::w#4 ← phi( print_sword::@4/(signed word) print_sword::w#0 print_sword::@3/(signed word) print_sword::w#1 )
  [36] (word) print_word::w#0 ← (word)(signed word) print_sword::w#4
  [37] call print_word 
  to:print_sword::@return
print_sword::@return: scope:[print_sword]  from print_sword::@2
  [38] return 
  to:@return
print_sword::@1: scope:[print_sword]  from print_sword
  [39] phi()
  [40] call print_char 
  to:print_sword::@4
print_sword::@4: scope:[print_sword]  from print_sword::@1
  [41] (signed word) print_sword::w#0 ← - (signed word) print_sword::w#1
  to:print_sword::@2
print_char: scope:[print_char]  from print_byte print_byte::@1 print_sword::@1 print_sword::@3
  [42] (byte*) print_char_cursor#35 ← phi( print_byte/(byte*) print_char_cursor#13 print_byte::@1/(byte*) print_char_cursor#13 print_sword::@1/(byte*) print_char_cursor#51 print_sword::@3/(byte*) print_char_cursor#51 )
  [42] (byte) print_char::ch#4 ← phi( print_byte/(byte) print_char::ch#2 print_byte::@1/(byte) print_char::ch#3 print_sword::@1/(byte) '-' print_sword::@3/(byte) ' ' )
  [43] *((byte*) print_char_cursor#35) ← (byte) print_char::ch#4
  [44] (byte*) print_char_cursor#13 ← ++ (byte*) print_char_cursor#35
  to:print_char::@return
print_char::@return: scope:[print_char]  from print_char
  [45] return 
  to:@return
print_word: scope:[print_word]  from print_sword::@2
  [46] (byte) print_byte::b#0 ← > (word) print_word::w#0
  [47] call print_byte 
  to:print_word::@1
print_word::@1: scope:[print_word]  from print_word
  [48] (byte) print_byte::b#1 ← < (word) print_word::w#0
  [49] call print_byte 
  to:print_word::@return
print_word::@return: scope:[print_word]  from print_word::@1
  [50] return 
  to:@return
print_byte: scope:[print_byte]  from print_word print_word::@1
  [51] (byte) print_byte::b#2 ← phi( print_word/(byte) print_byte::b#0 print_word::@1/(byte) print_byte::b#1 )
  [52] (byte~) print_byte::$0 ← (byte) print_byte::b#2 >> (byte) 4
  [53] (byte) print_char::ch#2 ← *((const byte[]) print_hextab#0 + (byte~) print_byte::$0)
  [54] call print_char 
  to:print_byte::@1
print_byte::@1: scope:[print_byte]  from print_byte
  [55] (byte~) print_byte::$2 ← (byte) print_byte::b#2 & (byte) $f
  [56] (byte) print_char::ch#3 ← *((const byte[]) print_hextab#0 + (byte~) print_byte::$2)
  [57] call print_char 
  to:print_byte::@return
print_byte::@return: scope:[print_byte]  from print_byte::@1
  [58] return 
  to:@return
print_cls: scope:[print_cls]  from main::@5
  [59] phi()
  [60] call memset 
  to:print_cls::@return
print_cls::@return: scope:[print_cls]  from print_cls
  [61] return 
  to:@return
memset: scope:[memset]  from print_cls
  [62] phi()
  to:memset::@2
memset::@2: scope:[memset]  from memset memset::@1
  [63] (byte*) memset::dst#4 ← phi( memset::@1/(byte*) memset::dst#1 memset/(byte*)(const void*) memset::str#0 )
  [64] *((byte*) memset::dst#4) ← (const byte) memset::c#0
  [65] (byte*) memset::dst#1 ← ++ (byte*) memset::dst#4
  to:memset::@1
memset::@1: scope:[memset]  from memset::@2
  [66] if((byte*) memset::dst#1!=(const byte*) memset::end#0) goto memset::@2
  to:memset::@return
memset::@return: scope:[memset]  from memset::@1
  [67] return 
  to:@return
sin16s_genb: scope:[sin16s_genb]  from main::@4
  [68] phi()
  [69] call div32u16u 
  [70] (dword) div32u16u::return#3 ← (dword) div32u16u::return#0
  to:sin16s_genb::@3
sin16s_genb::@3: scope:[sin16s_genb]  from sin16s_genb
  [71] (dword) sin16s_genb::step#0 ← (dword) div32u16u::return#3
  to:sin16s_genb::@2
sin16s_genb::@2: scope:[sin16s_genb]  from sin16s_genb::@1 sin16s_genb::@3
  [72] (signed word*) sin16s_genb::sintab#7 ← phi( sin16s_genb::@1/(signed word*) sin16s_genb::sintab#0 sin16s_genb::@3/(const signed word[$78]) main::sintab2#0 )
  [72] (dword) sin16s_genb::x#5 ← phi( sin16s_genb::@1/(dword) sin16s_genb::x#1 sin16s_genb::@3/(byte) 0 )
  [72] (word) sin16s_genb::i#5 ← phi( sin16s_genb::@1/(word) sin16s_genb::i#1 sin16s_genb::@3/(byte) 0 )
  [73] (word) sin16sb::x#0 ← > (dword) sin16s_genb::x#5
  [74] call sin16sb 
  [75] (signed word) sin16sb::return#0 ← (signed word) sin16sb::return#1
  to:sin16s_genb::@4
sin16s_genb::@4: scope:[sin16s_genb]  from sin16s_genb::@2
  [76] (signed word~) sin16s_genb::$3 ← (signed word) sin16sb::return#0
  [77] *((signed word*) sin16s_genb::sintab#7) ← (signed word~) sin16s_genb::$3
  [78] (signed word*) sin16s_genb::sintab#0 ← (signed word*) sin16s_genb::sintab#7 + (const byte) SIZEOF_SIGNED_WORD
  [79] (dword) sin16s_genb::x#1 ← (dword) sin16s_genb::x#5 + (dword) sin16s_genb::step#0
  [80] (word) sin16s_genb::i#1 ← ++ (word) sin16s_genb::i#5
  to:sin16s_genb::@1
sin16s_genb::@1: scope:[sin16s_genb]  from sin16s_genb::@4
  [81] if((word) sin16s_genb::i#1<(const word) main::wavelength#0) goto sin16s_genb::@2
  to:sin16s_genb::@return
sin16s_genb::@return: scope:[sin16s_genb]  from sin16s_genb::@1
  [82] return 
  to:@return
sin16sb: scope:[sin16sb]  from sin16s_genb::@2
  [83] if((word) sin16sb::x#0<(const word) PI_u4f12#0) goto sin16sb::@1
  to:sin16sb::@4
sin16sb::@4: scope:[sin16sb]  from sin16sb
  [84] (word) sin16sb::x#1 ← (word) sin16sb::x#0 - (const word) PI_u4f12#0
  to:sin16sb::@1
sin16sb::@1: scope:[sin16sb]  from sin16sb sin16sb::@4
  [85] (byte) sin16sb::isUpper#2 ← phi( sin16sb/(byte) 0 sin16sb::@4/(byte) 1 )
  [85] (word) sin16sb::x#4 ← phi( sin16sb/(word) sin16sb::x#0 sin16sb::@4/(word) sin16sb::x#1 )
  [86] if((word) sin16sb::x#4<(const word) PI_HALF_u4f12#0) goto sin16sb::@2
  to:sin16sb::@5
sin16sb::@5: scope:[sin16sb]  from sin16sb::@1
  [87] (word) sin16sb::x#2 ← (const word) PI_u4f12#0 - (word) sin16sb::x#4
  to:sin16sb::@2
sin16sb::@2: scope:[sin16sb]  from sin16sb::@1 sin16sb::@5
  [88] (word) sin16sb::x#6 ← phi( sin16sb::@1/(word) sin16sb::x#4 sin16sb::@5/(word) sin16sb::x#2 )
  [89] (word) sin16sb::x1#0 ← (word) sin16sb::x#6 << (byte) 3
  [90] (word) mulu16_sel::v1#5 ← (word) sin16sb::x1#0
  [91] (word) mulu16_sel::v2#5 ← (word) sin16sb::x1#0
  [92] call mulu16_sel 
  [93] (word) mulu16_sel::return#18 ← (word) mulu16_sel::return#17
  to:sin16sb::@7
sin16sb::@7: scope:[sin16sb]  from sin16sb::@2
  [94] (word) sin16sb::x2#0 ← (word) mulu16_sel::return#18
  [95] (word) mulu16_sel::v1#6 ← (word) sin16sb::x2#0
  [96] (word) mulu16_sel::v2#6 ← (word) sin16sb::x1#0
  [97] call mulu16_sel 
  [98] (word) mulu16_sel::return#19 ← (word) mulu16_sel::return#17
  to:sin16sb::@8
sin16sb::@8: scope:[sin16sb]  from sin16sb::@7
  [99] (word) sin16sb::x3#0 ← (word) mulu16_sel::return#19
  [100] (word) mulu16_sel::v1#7 ← (word) sin16sb::x3#0
  [101] call mulu16_sel 
  [102] (word) mulu16_sel::return#20 ← (word) mulu16_sel::return#17
  to:sin16sb::@9
sin16sb::@9: scope:[sin16sb]  from sin16sb::@8
  [103] (word) sin16sb::x3_6#0 ← (word) mulu16_sel::return#20
  [104] (word) sin16sb::usinx#0 ← (word) sin16sb::x1#0 - (word) sin16sb::x3_6#0
  [105] (word) mulu16_sel::v1#8 ← (word) sin16sb::x3#0
  [106] (word) mulu16_sel::v2#8 ← (word) sin16sb::x1#0
  [107] call mulu16_sel 
  [108] (word) mulu16_sel::return#10 ← (word) mulu16_sel::return#17
  to:sin16sb::@10
sin16sb::@10: scope:[sin16sb]  from sin16sb::@9
  [109] (word) sin16sb::x4#0 ← (word) mulu16_sel::return#10
  [110] (word) mulu16_sel::v1#9 ← (word) sin16sb::x4#0
  [111] (word) mulu16_sel::v2#9 ← (word) sin16sb::x1#0
  [112] call mulu16_sel 
  [113] (word) mulu16_sel::return#11 ← (word) mulu16_sel::return#17
  to:sin16sb::@11
sin16sb::@11: scope:[sin16sb]  from sin16sb::@10
  [114] (word) sin16sb::x5#0 ← (word) mulu16_sel::return#11
  [115] (word) sin16sb::x5_128#0 ← (word) sin16sb::x5#0 >> (byte) 4
  [116] (word) sin16sb::usinx#1 ← (word) sin16sb::usinx#0 + (word) sin16sb::x5_128#0
  [117] if((byte) sin16sb::isUpper#2==(byte) 0) goto sin16sb::@12
  to:sin16sb::@6
sin16sb::@6: scope:[sin16sb]  from sin16sb::@11
  [118] (signed word) sin16sb::sinx#1 ← - (signed word)(word) sin16sb::usinx#1
  to:sin16sb::@3
sin16sb::@3: scope:[sin16sb]  from sin16sb::@12 sin16sb::@6
  [119] (signed word) sin16sb::return#1 ← phi( sin16sb::@12/(signed word~) sin16sb::return#5 sin16sb::@6/(signed word) sin16sb::sinx#1 )
  to:sin16sb::@return
sin16sb::@return: scope:[sin16sb]  from sin16sb::@3
  [120] return 
  to:@return
sin16sb::@12: scope:[sin16sb]  from sin16sb::@11
  [121] (signed word~) sin16sb::return#5 ← (signed word)(word) sin16sb::usinx#1
  to:sin16sb::@3
mulu16_sel: scope:[mulu16_sel]  from sin16s::@10 sin16s::@2 sin16s::@7 sin16s::@8 sin16s::@9 sin16sb::@10 sin16sb::@2 sin16sb::@7 sin16sb::@8 sin16sb::@9
  [122] (byte) mulu16_sel::select#10 ← phi( sin16s::@9/(byte) 0 sin16s::@10/(byte) 0 sin16s::@2/(byte) 0 sin16s::@7/(byte) 1 sin16s::@8/(byte) 1 sin16sb::@9/(byte) 0 sin16sb::@10/(byte) 0 sin16sb::@2/(byte) 0 sin16sb::@7/(byte) 1 sin16sb::@8/(byte) 1 )
  [122] (word) mulu16_sel::v2#10 ← phi( sin16s::@9/(word) mulu16_sel::v2#3 sin16s::@10/(word) mulu16_sel::v2#4 sin16s::@2/(word) mulu16_sel::v2#0 sin16s::@7/(word) mulu16_sel::v2#1 sin16s::@8/(word)(number) $10000/(number) 6 sin16sb::@9/(word) mulu16_sel::v2#8 sin16sb::@10/(word) mulu16_sel::v2#9 sin16sb::@2/(word) mulu16_sel::v2#5 sin16sb::@7/(word) mulu16_sel::v2#6 sin16sb::@8/(word)(number) $10000/(number) 6 )
  [122] (word) mulu16_sel::v1#10 ← phi( sin16s::@9/(word) mulu16_sel::v1#3 sin16s::@10/(word) mulu16_sel::v1#4 sin16s::@2/(word) mulu16_sel::v1#0 sin16s::@7/(word) mulu16_sel::v1#1 sin16s::@8/(word) mulu16_sel::v1#2 sin16sb::@9/(word) mulu16_sel::v1#8 sin16sb::@10/(word) mulu16_sel::v1#9 sin16sb::@2/(word) mulu16_sel::v1#5 sin16sb::@7/(word) mulu16_sel::v1#6 sin16sb::@8/(word) mulu16_sel::v1#7 )
  [123] (word) mul16u::a#1 ← (word) mulu16_sel::v1#10
  [124] (word) mul16u::b#0 ← (word) mulu16_sel::v2#10
  [125] call mul16u 
  [126] (dword) mul16u::return#2 ← (dword) mul16u::res#2
  to:mulu16_sel::@1
mulu16_sel::@1: scope:[mulu16_sel]  from mulu16_sel
  [127] (dword~) mulu16_sel::$0 ← (dword) mul16u::return#2
  [128] (dword~) mulu16_sel::$1 ← (dword~) mulu16_sel::$0 << (byte) mulu16_sel::select#10
  [129] (word) mulu16_sel::return#17 ← > (dword~) mulu16_sel::$1
  to:mulu16_sel::@return
mulu16_sel::@return: scope:[mulu16_sel]  from mulu16_sel::@1
  [130] return 
  to:@return
mul16u: scope:[mul16u]  from mulu16_sel
  [131] phi()
  to:mul16u::@1
mul16u::@1: scope:[mul16u]  from mul16u mul16u::@3
  [132] (dword) mul16u::mb#2 ← phi( mul16u/(word) mul16u::b#0 mul16u::@3/(dword) mul16u::mb#1 )
  [132] (dword) mul16u::res#2 ← phi( mul16u/(byte) 0 mul16u::@3/(dword) mul16u::res#6 )
  [132] (word) mul16u::a#2 ← phi( mul16u/(word) mul16u::a#1 mul16u::@3/(word) mul16u::a#0 )
  [133] if((word) mul16u::a#2!=(byte) 0) goto mul16u::@2
  to:mul16u::@return
mul16u::@return: scope:[mul16u]  from mul16u::@1
  [134] return 
  to:@return
mul16u::@2: scope:[mul16u]  from mul16u::@1
  [135] (byte~) mul16u::$1 ← (word) mul16u::a#2 & (byte) 1
  [136] if((byte~) mul16u::$1==(byte) 0) goto mul16u::@3
  to:mul16u::@4
mul16u::@4: scope:[mul16u]  from mul16u::@2
  [137] (dword) mul16u::res#1 ← (dword) mul16u::res#2 + (dword) mul16u::mb#2
  to:mul16u::@3
mul16u::@3: scope:[mul16u]  from mul16u::@2 mul16u::@4
  [138] (dword) mul16u::res#6 ← phi( mul16u::@2/(dword) mul16u::res#2 mul16u::@4/(dword) mul16u::res#1 )
  [139] (word) mul16u::a#0 ← (word) mul16u::a#2 >> (byte) 1
  [140] (dword) mul16u::mb#1 ← (dword) mul16u::mb#2 << (byte) 1
  to:mul16u::@1
div32u16u: scope:[div32u16u]  from sin16s_gen sin16s_genb
  [141] phi()
  [142] call divr16u 
  [143] (word) divr16u::return#2 ← (word) divr16u::return#0
  to:div32u16u::@1
div32u16u::@1: scope:[div32u16u]  from div32u16u
  [144] (word) div32u16u::quotient_hi#0 ← (word) divr16u::return#2
  [145] (word) divr16u::rem#4 ← (word) rem16u#1
  [146] call divr16u 
  [147] (word) divr16u::return#3 ← (word) divr16u::return#0
  to:div32u16u::@2
div32u16u::@2: scope:[div32u16u]  from div32u16u::@1
  [148] (word) div32u16u::quotient_lo#0 ← (word) divr16u::return#3
  [149] (dword) div32u16u::return#0 ← (word) div32u16u::quotient_hi#0 dw= (word) div32u16u::quotient_lo#0
  to:div32u16u::@return
div32u16u::@return: scope:[div32u16u]  from div32u16u::@2
  [150] return 
  to:@return
divr16u: scope:[divr16u]  from div32u16u div32u16u::@1
  [151] (word) divr16u::dividend#5 ← phi( div32u16u/>(const dword) PI2_u4f28#0 div32u16u::@1/<(const dword) PI2_u4f28#0 )
  [151] (word) divr16u::rem#10 ← phi( div32u16u/(byte) 0 div32u16u::@1/(word) divr16u::rem#4 )
  to:divr16u::@1
divr16u::@1: scope:[divr16u]  from divr16u divr16u::@3
  [152] (byte) divr16u::i#2 ← phi( divr16u/(byte) 0 divr16u::@3/(byte) divr16u::i#1 )
  [152] (word) divr16u::quotient#3 ← phi( divr16u/(byte) 0 divr16u::@3/(word) divr16u::return#0 )
  [152] (word) divr16u::dividend#3 ← phi( divr16u/(word) divr16u::dividend#5 divr16u::@3/(word) divr16u::dividend#0 )
  [152] (word) divr16u::rem#5 ← phi( divr16u/(word) divr16u::rem#10 divr16u::@3/(word) divr16u::rem#11 )
  [153] (word) divr16u::rem#0 ← (word) divr16u::rem#5 << (byte) 1
  [154] (byte~) divr16u::$1 ← > (word) divr16u::dividend#3
  [155] (byte~) divr16u::$2 ← (byte~) divr16u::$1 & (byte) $80
  [156] if((byte~) divr16u::$2==(byte) 0) goto divr16u::@2
  to:divr16u::@4
divr16u::@4: scope:[divr16u]  from divr16u::@1
  [157] (word) divr16u::rem#1 ← (word) divr16u::rem#0 | (byte) 1
  to:divr16u::@2
divr16u::@2: scope:[divr16u]  from divr16u::@1 divr16u::@4
  [158] (word) divr16u::rem#6 ← phi( divr16u::@1/(word) divr16u::rem#0 divr16u::@4/(word) divr16u::rem#1 )
  [159] (word) divr16u::dividend#0 ← (word) divr16u::dividend#3 << (byte) 1
  [160] (word) divr16u::quotient#1 ← (word) divr16u::quotient#3 << (byte) 1
  [161] if((word) divr16u::rem#6<(const word) main::wavelength#0) goto divr16u::@3
  to:divr16u::@5
divr16u::@5: scope:[divr16u]  from divr16u::@2
  [162] (word) divr16u::quotient#2 ← ++ (word) divr16u::quotient#1
  [163] (word) divr16u::rem#2 ← (word) divr16u::rem#6 - (const word) main::wavelength#0
  to:divr16u::@3
divr16u::@3: scope:[divr16u]  from divr16u::@2 divr16u::@5
  [164] (word) divr16u::return#0 ← phi( divr16u::@2/(word) divr16u::quotient#1 divr16u::@5/(word) divr16u::quotient#2 )
  [164] (word) divr16u::rem#11 ← phi( divr16u::@2/(word) divr16u::rem#6 divr16u::@5/(word) divr16u::rem#2 )
  [165] (byte) divr16u::i#1 ← ++ (byte) divr16u::i#2
  [166] if((byte) divr16u::i#1!=(byte) $10) goto divr16u::@1
  to:divr16u::@6
divr16u::@6: scope:[divr16u]  from divr16u::@3
  [167] (word) rem16u#1 ← (word) divr16u::rem#11
  to:divr16u::@return
divr16u::@return: scope:[divr16u]  from divr16u::@6
  [168] return 
  to:@return
sin16s_gen: scope:[sin16s_gen]  from main
  [169] phi()
  [170] call div32u16u 
  [171] (dword) div32u16u::return#2 ← (dword) div32u16u::return#0
  to:sin16s_gen::@3
sin16s_gen::@3: scope:[sin16s_gen]  from sin16s_gen
  [172] (dword) sin16s_gen::step#0 ← (dword) div32u16u::return#2
  to:sin16s_gen::@2
sin16s_gen::@2: scope:[sin16s_gen]  from sin16s_gen::@1 sin16s_gen::@3
  [173] (signed word*) sin16s_gen::sintab#7 ← phi( sin16s_gen::@1/(signed word*) sin16s_gen::sintab#0 sin16s_gen::@3/(const signed word[$78]) main::sintab1#0 )
  [173] (dword) sin16s_gen::x#5 ← phi( sin16s_gen::@1/(dword) sin16s_gen::x#1 sin16s_gen::@3/(byte) 0 )
  [173] (word) sin16s_gen::i#5 ← phi( sin16s_gen::@1/(word) sin16s_gen::i#1 sin16s_gen::@3/(byte) 0 )
  [174] (dword) sin16s::x#0 ← (dword) sin16s_gen::x#5
  [175] call sin16s 
  [176] (signed word) sin16s::return#0 ← (signed word) sin16s::return#1
  to:sin16s_gen::@4
sin16s_gen::@4: scope:[sin16s_gen]  from sin16s_gen::@2
  [177] (signed word~) sin16s_gen::$2 ← (signed word) sin16s::return#0
  [178] *((signed word*) sin16s_gen::sintab#7) ← (signed word~) sin16s_gen::$2
  [179] (signed word*) sin16s_gen::sintab#0 ← (signed word*) sin16s_gen::sintab#7 + (const byte) SIZEOF_SIGNED_WORD
  [180] (dword) sin16s_gen::x#1 ← (dword) sin16s_gen::x#5 + (dword) sin16s_gen::step#0
  [181] (word) sin16s_gen::i#1 ← ++ (word) sin16s_gen::i#5
  to:sin16s_gen::@1
sin16s_gen::@1: scope:[sin16s_gen]  from sin16s_gen::@4
  [182] if((word) sin16s_gen::i#1<(const word) main::wavelength#0) goto sin16s_gen::@2
  to:sin16s_gen::@return
sin16s_gen::@return: scope:[sin16s_gen]  from sin16s_gen::@1
  [183] return 
  to:@return
sin16s: scope:[sin16s]  from sin16s_gen::@2
  [184] if((dword) sin16s::x#0<(const dword) PI_u4f28#0) goto sin16s::@1
  to:sin16s::@4
sin16s::@4: scope:[sin16s]  from sin16s
  [185] (dword) sin16s::x#1 ← (dword) sin16s::x#0 - (const dword) PI_u4f28#0
  to:sin16s::@1
sin16s::@1: scope:[sin16s]  from sin16s sin16s::@4
  [186] (byte) sin16s::isUpper#2 ← phi( sin16s/(byte) 0 sin16s::@4/(byte) 1 )
  [186] (dword) sin16s::x#4 ← phi( sin16s/(dword) sin16s::x#0 sin16s::@4/(dword) sin16s::x#1 )
  [187] if((dword) sin16s::x#4<(const dword) PI_HALF_u4f28#0) goto sin16s::@2
  to:sin16s::@5
sin16s::@5: scope:[sin16s]  from sin16s::@1
  [188] (dword) sin16s::x#2 ← (const dword) PI_u4f28#0 - (dword) sin16s::x#4
  to:sin16s::@2
sin16s::@2: scope:[sin16s]  from sin16s::@1 sin16s::@5
  [189] (dword) sin16s::x#6 ← phi( sin16s::@1/(dword) sin16s::x#4 sin16s::@5/(dword) sin16s::x#2 )
  [190] (dword~) sin16s::$4 ← (dword) sin16s::x#6 << (byte) 3
  [191] (word) sin16s::x1#0 ← > (dword~) sin16s::$4
  [192] (word) mulu16_sel::v1#0 ← (word) sin16s::x1#0
  [193] (word) mulu16_sel::v2#0 ← (word) sin16s::x1#0
  [194] call mulu16_sel 
  [195] (word) mulu16_sel::return#0 ← (word) mulu16_sel::return#17
  to:sin16s::@7
sin16s::@7: scope:[sin16s]  from sin16s::@2
  [196] (word) sin16s::x2#0 ← (word) mulu16_sel::return#0
  [197] (word) mulu16_sel::v1#1 ← (word) sin16s::x2#0
  [198] (word) mulu16_sel::v2#1 ← (word) sin16s::x1#0
  [199] call mulu16_sel 
  [200] (word) mulu16_sel::return#1 ← (word) mulu16_sel::return#17
  to:sin16s::@8
sin16s::@8: scope:[sin16s]  from sin16s::@7
  [201] (word) sin16s::x3#0 ← (word) mulu16_sel::return#1
  [202] (word) mulu16_sel::v1#2 ← (word) sin16s::x3#0
  [203] call mulu16_sel 
  [204] (word) mulu16_sel::return#14 ← (word) mulu16_sel::return#17
  to:sin16s::@9
sin16s::@9: scope:[sin16s]  from sin16s::@8
  [205] (word) sin16s::x3_6#0 ← (word) mulu16_sel::return#14
  [206] (word) sin16s::usinx#0 ← (word) sin16s::x1#0 - (word) sin16s::x3_6#0
  [207] (word) mulu16_sel::v1#3 ← (word) sin16s::x3#0
  [208] (word) mulu16_sel::v2#3 ← (word) sin16s::x1#0
  [209] call mulu16_sel 
  [210] (word) mulu16_sel::return#15 ← (word) mulu16_sel::return#17
  to:sin16s::@10
sin16s::@10: scope:[sin16s]  from sin16s::@9
  [211] (word) sin16s::x4#0 ← (word) mulu16_sel::return#15
  [212] (word) mulu16_sel::v1#4 ← (word) sin16s::x4#0
  [213] (word) mulu16_sel::v2#4 ← (word) sin16s::x1#0
  [214] call mulu16_sel 
  [215] (word) mulu16_sel::return#16 ← (word) mulu16_sel::return#17
  to:sin16s::@11
sin16s::@11: scope:[sin16s]  from sin16s::@10
  [216] (word) sin16s::x5#0 ← (word) mulu16_sel::return#16
  [217] (word) sin16s::x5_128#0 ← (word) sin16s::x5#0 >> (byte) 4
  [218] (word) sin16s::usinx#1 ← (word) sin16s::usinx#0 + (word) sin16s::x5_128#0
  [219] if((byte) sin16s::isUpper#2==(byte) 0) goto sin16s::@12
  to:sin16s::@6
sin16s::@6: scope:[sin16s]  from sin16s::@11
  [220] (signed word) sin16s::sinx#1 ← - (signed word)(word) sin16s::usinx#1
  to:sin16s::@3
sin16s::@3: scope:[sin16s]  from sin16s::@12 sin16s::@6
  [221] (signed word) sin16s::return#1 ← phi( sin16s::@12/(signed word~) sin16s::return#5 sin16s::@6/(signed word) sin16s::sinx#1 )
  to:sin16s::@return
sin16s::@return: scope:[sin16s]  from sin16s::@3
  [222] return 
  to:@return
sin16s::@12: scope:[sin16s]  from sin16s::@11
  [223] (signed word~) sin16s::return#5 ← (signed word)(word) sin16s::usinx#1
  to:sin16s::@3


VARIABLE REGISTER WEIGHTS
(dword) PI2_u4f28
(word) PI_HALF_u4f12
(dword) PI_HALF_u4f28
(word) PI_u4f12
(dword) PI_u4f28
(dword()) div32u16u((dword) div32u16u::dividend , (word) div32u16u::divisor)
(dword) div32u16u::dividend
(word) div32u16u::divisor
(dword) div32u16u::quotient
(word) div32u16u::quotient_hi
(word) div32u16u::quotient_hi#0 0.8
(word) div32u16u::quotient_lo
(word) div32u16u::quotient_lo#0 4.0
(dword) div32u16u::return
(dword) div32u16u::return#0 1.5
(dword) div32u16u::return#2 4.0
(dword) div32u16u::return#3 4.0
(word()) divr16u((word) divr16u::dividend , (word) divr16u::divisor , (word) divr16u::rem)
(byte~) divr16u::$1 22.0
(byte~) divr16u::$2 22.0
(word) divr16u::dividend
(word) divr16u::dividend#0 2.75
(word) divr16u::dividend#3 5.0
(word) divr16u::dividend#5 2.0
(word) divr16u::divisor
(byte) divr16u::i
(byte) divr16u::i#1 16.5
(byte) divr16u::i#2 1.6923076923076923
(word) divr16u::quotient
(word) divr16u::quotient#1 16.5
(word) divr16u::quotient#2 11.0
(word) divr16u::quotient#3 2.75
(word) divr16u::rem
(word) divr16u::rem#0 8.25
(word) divr16u::rem#1 22.0
(word) divr16u::rem#10 4.0
(word) divr16u::rem#11 11.666666666666666
(word) divr16u::rem#2 22.0
(word) divr16u::rem#4 4.0
(word) divr16u::rem#5 24.0
(word) divr16u::rem#6 11.0
(word) divr16u::return
(word) divr16u::return#0 5.285714285714286
(word) divr16u::return#2 4.0
(word) divr16u::return#3 4.0
(void()) main()
(byte) main::i
(byte) main::i#1 16.5
(byte) main::i#2 1.8333333333333333
(signed word[$78]) main::sintab1
(signed word[$78]) main::sintab2
(signed word*) main::st1
(signed word*) main::st1#1 5.5
(signed word*) main::st1#2 3.3000000000000003
(signed word*) main::st2
(signed word*) main::st2#1 7.333333333333333
(signed word*) main::st2#2 3.0
(signed word) main::sw
(signed word) main::sw#0 6.6000000000000005
(word) main::wavelength
(void*()) memset((void*) memset::str , (byte) memset::c , (word) memset::num)
(byte) memset::c
(byte*) memset::dst
(byte*) memset::dst#1 16.5
(byte*) memset::dst#4 16.5
(byte*) memset::end
(word) memset::num
(void*) memset::return
(void*) memset::str
(dword()) mul16u((word) mul16u::a , (word) mul16u::b)
(byte~) mul16u::$1 202.0
(word) mul16u::a
(word) mul16u::a#0 101.0
(word) mul16u::a#1 1.3333333333333333
(word) mul16u::a#2 67.66666666666666
(word) mul16u::b
(word) mul16u::b#0 2.0
(dword) mul16u::mb
(dword) mul16u::mb#1 202.0
(dword) mul16u::mb#2 43.57142857142858
(dword) mul16u::res
(dword) mul16u::res#1 202.0
(dword) mul16u::res#2 50.83333333333333
(dword) mul16u::res#6 101.0
(dword) mul16u::return
(dword) mul16u::return#2 4.0
(word()) mulu16_sel((word) mulu16_sel::v1 , (word) mulu16_sel::v2 , (byte) mulu16_sel::select)
(dword~) mulu16_sel::$0 4.0
(dword~) mulu16_sel::$1 4.0
(word) mulu16_sel::return
(word) mulu16_sel::return#0 4.0
(word) mulu16_sel::return#1 4.0
(word) mulu16_sel::return#10 4.0
(word) mulu16_sel::return#11 4.0
(word) mulu16_sel::return#14 4.0
(word) mulu16_sel::return#15 4.0
(word) mulu16_sel::return#16 4.0
(word) mulu16_sel::return#17 1.8333333333333335
(word) mulu16_sel::return#18 4.0
(word) mulu16_sel::return#19 4.0
(word) mulu16_sel::return#20 4.0
(byte) mulu16_sel::select
(byte) mulu16_sel::select#10 0.3333333333333333
(word) mulu16_sel::v1
(word) mulu16_sel::v1#0 2.0
(word) mulu16_sel::v1#1 2.0
(word) mulu16_sel::v1#10 22.0
(word) mulu16_sel::v1#2 4.0
(word) mulu16_sel::v1#3 2.0
(word) mulu16_sel::v1#4 2.0
(word) mulu16_sel::v1#5 2.0
(word) mulu16_sel::v1#6 2.0
(word) mulu16_sel::v1#7 4.0
(word) mulu16_sel::v1#8 2.0
(word) mulu16_sel::v1#9 2.0
(word) mulu16_sel::v2
(word) mulu16_sel::v2#0 4.0
(word) mulu16_sel::v2#1 4.0
(word) mulu16_sel::v2#10 9.0
(word) mulu16_sel::v2#3 4.0
(word) mulu16_sel::v2#4 4.0
(word) mulu16_sel::v2#5 4.0
(word) mulu16_sel::v2#6 4.0
(word) mulu16_sel::v2#8 4.0
(word) mulu16_sel::v2#9 4.0
(void()) print_byte((byte) print_byte::b)
(byte~) print_byte::$0 4.0
(byte~) print_byte::$2 4.0
(byte) print_byte::b
(byte) print_byte::b#0 4.0
(byte) print_byte::b#1 4.0
(byte) print_byte::b#2 2.0
(void()) print_char((byte) print_char::ch)
(byte) print_char::ch
(byte) print_char::ch#2 4.0
(byte) print_char::ch#3 4.0
(byte) print_char::ch#4 6.0
(byte*) print_char_cursor
(byte*) print_char_cursor#1 101.0
(byte*) print_char_cursor#13 0.7083333333333334
(byte*) print_char_cursor#2 32.7
(byte*) print_char_cursor#35 6.0
(byte*) print_char_cursor#51 5.200000000000001
(byte*) print_char_cursor#52 8.25
(byte*) print_char_cursor#54 24.0
(void()) print_cls()
(byte[]) print_hextab
(byte*) print_line_cursor
(byte*) print_screen
(void()) print_str((byte*) print_str::str)
(byte*) print_str::str
(byte*) print_str::str#0 202.0
(byte*) print_str::str#3 101.5
(byte*) print_str::str#5 2.0
(void()) print_sword((signed word) print_sword::w)
(signed word) print_sword::w
(signed word) print_sword::w#0 4.0
(signed word) print_sword::w#1 2.8333333333333335
(signed word) print_sword::w#4 4.0
(void()) print_word((word) print_word::w)
(word) print_word::w
(word) print_word::w#0 2.0
(word) rem16u
(word) rem16u#1 0.8
(signed word()) sin16s((dword) sin16s::x)
(dword~) sin16s::$4 4.0
(byte) sin16s::isUpper
(byte) sin16s::isUpper#2 0.06060606060606061
(signed word) sin16s::return
(signed word) sin16s::return#0 22.0
(signed word) sin16s::return#1 5.0
(signed word~) sin16s::return#5 4.0
(signed word) sin16s::sinx
(signed word) sin16s::sinx#1 4.0
(word) sin16s::usinx
(word) sin16s::usinx#0 0.3333333333333333
(word) sin16s::usinx#1 1.0
(dword) sin16s::x
(dword) sin16s::x#0 8.5
(dword) sin16s::x#1 4.0
(dword) sin16s::x#2 4.0
(dword) sin16s::x#4 5.0
(dword) sin16s::x#6 6.0
(word) sin16s::x1
(word) sin16s::x1#0 0.6363636363636365
(word) sin16s::x2
(word) sin16s::x2#0 4.0
(word) sin16s::x3
(word) sin16s::x3#0 1.0
(word) sin16s::x3_6
(word) sin16s::x3_6#0 4.0
(word) sin16s::x4
(word) sin16s::x4#0 4.0
(word) sin16s::x5
(word) sin16s::x5#0 4.0
(word) sin16s::x5_128
(word) sin16s::x5_128#0 4.0
(void()) sin16s_gen((signed word*) sin16s_gen::sintab , (word) sin16s_gen::wavelength)
(signed word~) sin16s_gen::$2 22.0
(word) sin16s_gen::i
(word) sin16s_gen::i#1 16.5
(word) sin16s_gen::i#5 2.75
(signed word*) sin16s_gen::sintab
(signed word*) sin16s_gen::sintab#0 5.5
(signed word*) sin16s_gen::sintab#7 5.5
(dword) sin16s_gen::step
(dword) sin16s_gen::step#0 1.1818181818181819
(word) sin16s_gen::wavelength
(dword) sin16s_gen::x
(dword) sin16s_gen::x#1 7.333333333333333
(dword) sin16s_gen::x#5 4.714285714285714
(void()) sin16s_genb((signed word*) sin16s_genb::sintab , (word) sin16s_genb::wavelength)
(signed word~) sin16s_genb::$3 22.0
(word) sin16s_genb::i
(word) sin16s_genb::i#1 16.5
(word) sin16s_genb::i#5 2.75
(signed word*) sin16s_genb::sintab
(signed word*) sin16s_genb::sintab#0 5.5
(signed word*) sin16s_genb::sintab#7 5.5
(dword) sin16s_genb::step
(dword) sin16s_genb::step#0 1.1818181818181819
(word) sin16s_genb::wavelength
(dword) sin16s_genb::x
(dword) sin16s_genb::x#1 7.333333333333333
(dword) sin16s_genb::x#5 4.714285714285714
(signed word()) sin16sb((word) sin16sb::x)
(byte) sin16sb::isUpper
(byte) sin16sb::isUpper#2 0.0625
(signed word) sin16sb::return
(signed word) sin16sb::return#0 22.0
(signed word) sin16sb::return#1 5.0
(signed word~) sin16sb::return#5 4.0
(signed word) sin16sb::sinx
(signed word) sin16sb::sinx#1 4.0
(word) sin16sb::usinx
(word) sin16sb::usinx#0 0.3333333333333333
(word) sin16sb::usinx#1 1.0
(word) sin16sb::x
(word) sin16sb::x#0 8.5
(word) sin16sb::x#1 4.0
(word) sin16sb::x#2 4.0
(word) sin16sb::x#4 5.0
(word) sin16sb::x#6 6.0
(word) sin16sb::x1
(word) sin16sb::x1#0 0.6363636363636365
(word) sin16sb::x2
(word) sin16sb::x2#0 4.0
(word) sin16sb::x3
(word) sin16sb::x3#0 1.0
(word) sin16sb::x3_6
(word) sin16sb::x3_6#0 4.0
(word) sin16sb::x4
(word) sin16sb::x4#0 4.0
(word) sin16sb::x5
(word) sin16sb::x5#0 4.0
(word) sin16sb::x5_128
(word) sin16sb::x5_128#0 4.0

Not consolidating phi with different size mul16u::mb#2 mul16u::b#0
Initial phi equivalence classes
[ main::st1#2 main::st1#1 ]
[ main::st2#2 main::st2#1 ]
[ main::i#2 main::i#1 ]
[ print_str::str#3 print_str::str#5 print_str::str#0 ]
[ print_sword::w#4 print_sword::w#0 print_sword::w#1 ]
[ print_char::ch#4 print_char::ch#2 print_char::ch#3 ]
[ print_char_cursor#35 print_char_cursor#54 print_char_cursor#51 print_char_cursor#52 print_char_cursor#2 print_char_cursor#13 print_char_cursor#1 ]
[ print_byte::b#2 print_byte::b#0 print_byte::b#1 ]
[ memset::dst#4 memset::dst#1 ]
[ sin16s_genb::i#5 sin16s_genb::i#1 ]
[ sin16s_genb::x#5 sin16s_genb::x#1 ]
[ sin16s_genb::sintab#7 sin16s_genb::sintab#0 ]
[ sin16sb::isUpper#2 ]
[ sin16sb::x#6 sin16sb::x#4 sin16sb::x#0 sin16sb::x#1 sin16sb::x#2 ]
[ sin16sb::return#1 sin16sb::return#5 sin16sb::sinx#1 ]
[ mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 ]
[ mulu16_sel::v2#10 mulu16_sel::v2#3 mulu16_sel::v2#4 mulu16_sel::v2#0 mulu16_sel::v2#1 mulu16_sel::v2#8 mulu16_sel::v2#9 mulu16_sel::v2#5 mulu16_sel::v2#6 ]
[ mulu16_sel::select#10 ]
[ mul16u::a#2 mul16u::a#1 mul16u::a#0 ]
[ mul16u::res#2 mul16u::res#6 mul16u::res#1 ]
[ mul16u::mb#2 mul16u::mb#1 ]
[ mul16u::b#0 ]
[ divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 ]
[ divr16u::dividend#3 divr16u::dividend#5 divr16u::dividend#0 ]
[ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 ]
[ divr16u::i#2 divr16u::i#1 ]
[ sin16s_gen::i#5 sin16s_gen::i#1 ]
[ sin16s_gen::x#5 sin16s_gen::x#1 ]
[ sin16s_gen::sintab#7 sin16s_gen::sintab#0 ]
[ sin16s::isUpper#2 ]
[ sin16s::x#6 sin16s::x#4 sin16s::x#0 sin16s::x#1 sin16s::x#2 ]
[ sin16s::return#1 sin16s::return#5 sin16s::sinx#1 ]
Added variable main::sw#0 to zero page equivalence class [ main::sw#0 ]
Added variable print_word::w#0 to zero page equivalence class [ print_word::w#0 ]
Added variable print_byte::$0 to zero page equivalence class [ print_byte::$0 ]
Added variable print_byte::$2 to zero page equivalence class [ print_byte::$2 ]
Added variable div32u16u::return#3 to zero page equivalence class [ div32u16u::return#3 ]
Added variable sin16s_genb::step#0 to zero page equivalence class [ sin16s_genb::step#0 ]
Added variable sin16sb::return#0 to zero page equivalence class [ sin16sb::return#0 ]
Added variable sin16s_genb::$3 to zero page equivalence class [ sin16s_genb::$3 ]
Added variable sin16sb::x1#0 to zero page equivalence class [ sin16sb::x1#0 ]
Added variable mulu16_sel::return#18 to zero page equivalence class [ mulu16_sel::return#18 ]
Added variable sin16sb::x2#0 to zero page equivalence class [ sin16sb::x2#0 ]
Added variable mulu16_sel::return#19 to zero page equivalence class [ mulu16_sel::return#19 ]
Added variable sin16sb::x3#0 to zero page equivalence class [ sin16sb::x3#0 ]
Added variable mulu16_sel::return#20 to zero page equivalence class [ mulu16_sel::return#20 ]
Added variable sin16sb::x3_6#0 to zero page equivalence class [ sin16sb::x3_6#0 ]
Added variable sin16sb::usinx#0 to zero page equivalence class [ sin16sb::usinx#0 ]
Added variable mulu16_sel::return#10 to zero page equivalence class [ mulu16_sel::return#10 ]
Added variable sin16sb::x4#0 to zero page equivalence class [ sin16sb::x4#0 ]
Added variable mulu16_sel::return#11 to zero page equivalence class [ mulu16_sel::return#11 ]
Added variable sin16sb::x5#0 to zero page equivalence class [ sin16sb::x5#0 ]
Added variable sin16sb::x5_128#0 to zero page equivalence class [ sin16sb::x5_128#0 ]
Added variable sin16sb::usinx#1 to zero page equivalence class [ sin16sb::usinx#1 ]
Added variable mul16u::return#2 to zero page equivalence class [ mul16u::return#2 ]
Added variable mulu16_sel::$0 to zero page equivalence class [ mulu16_sel::$0 ]
Added variable mulu16_sel::$1 to zero page equivalence class [ mulu16_sel::$1 ]
Added variable mulu16_sel::return#17 to zero page equivalence class [ mulu16_sel::return#17 ]
Added variable mul16u::$1 to zero page equivalence class [ mul16u::$1 ]
Added variable divr16u::return#2 to zero page equivalence class [ divr16u::return#2 ]
Added variable div32u16u::quotient_hi#0 to zero page equivalence class [ div32u16u::quotient_hi#0 ]
Added variable divr16u::return#3 to zero page equivalence class [ divr16u::return#3 ]
Added variable div32u16u::quotient_lo#0 to zero page equivalence class [ div32u16u::quotient_lo#0 ]
Added variable div32u16u::return#0 to zero page equivalence class [ div32u16u::return#0 ]
Added variable divr16u::$1 to zero page equivalence class [ divr16u::$1 ]
Added variable divr16u::$2 to zero page equivalence class [ divr16u::$2 ]
Added variable rem16u#1 to zero page equivalence class [ rem16u#1 ]
Added variable div32u16u::return#2 to zero page equivalence class [ div32u16u::return#2 ]
Added variable sin16s_gen::step#0 to zero page equivalence class [ sin16s_gen::step#0 ]
Added variable sin16s::return#0 to zero page equivalence class [ sin16s::return#0 ]
Added variable sin16s_gen::$2 to zero page equivalence class [ sin16s_gen::$2 ]
Added variable sin16s::$4 to zero page equivalence class [ sin16s::$4 ]
Added variable sin16s::x1#0 to zero page equivalence class [ sin16s::x1#0 ]
Added variable mulu16_sel::return#0 to zero page equivalence class [ mulu16_sel::return#0 ]
Added variable sin16s::x2#0 to zero page equivalence class [ sin16s::x2#0 ]
Added variable mulu16_sel::return#1 to zero page equivalence class [ mulu16_sel::return#1 ]
Added variable sin16s::x3#0 to zero page equivalence class [ sin16s::x3#0 ]
Added variable mulu16_sel::return#14 to zero page equivalence class [ mulu16_sel::return#14 ]
Added variable sin16s::x3_6#0 to zero page equivalence class [ sin16s::x3_6#0 ]
Added variable sin16s::usinx#0 to zero page equivalence class [ sin16s::usinx#0 ]
Added variable mulu16_sel::return#15 to zero page equivalence class [ mulu16_sel::return#15 ]
Added variable sin16s::x4#0 to zero page equivalence class [ sin16s::x4#0 ]
Added variable mulu16_sel::return#16 to zero page equivalence class [ mulu16_sel::return#16 ]
Added variable sin16s::x5#0 to zero page equivalence class [ sin16s::x5#0 ]
Added variable sin16s::x5_128#0 to zero page equivalence class [ sin16s::x5_128#0 ]
Added variable sin16s::usinx#1 to zero page equivalence class [ sin16s::usinx#1 ]
Complete equivalence classes
[ main::st1#2 main::st1#1 ]
[ main::st2#2 main::st2#1 ]
[ main::i#2 main::i#1 ]
[ print_str::str#3 print_str::str#5 print_str::str#0 ]
[ print_sword::w#4 print_sword::w#0 print_sword::w#1 ]
[ print_char::ch#4 print_char::ch#2 print_char::ch#3 ]
[ print_char_cursor#35 print_char_cursor#54 print_char_cursor#51 print_char_cursor#52 print_char_cursor#2 print_char_cursor#13 print_char_cursor#1 ]
[ print_byte::b#2 print_byte::b#0 print_byte::b#1 ]
[ memset::dst#4 memset::dst#1 ]
[ sin16s_genb::i#5 sin16s_genb::i#1 ]
[ sin16s_genb::x#5 sin16s_genb::x#1 ]
[ sin16s_genb::sintab#7 sin16s_genb::sintab#0 ]
[ sin16sb::isUpper#2 ]
[ sin16sb::x#6 sin16sb::x#4 sin16sb::x#0 sin16sb::x#1 sin16sb::x#2 ]
[ sin16sb::return#1 sin16sb::return#5 sin16sb::sinx#1 ]
[ mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 ]
[ mulu16_sel::v2#10 mulu16_sel::v2#3 mulu16_sel::v2#4 mulu16_sel::v2#0 mulu16_sel::v2#1 mulu16_sel::v2#8 mulu16_sel::v2#9 mulu16_sel::v2#5 mulu16_sel::v2#6 ]
[ mulu16_sel::select#10 ]
[ mul16u::a#2 mul16u::a#1 mul16u::a#0 ]
[ mul16u::res#2 mul16u::res#6 mul16u::res#1 ]
[ mul16u::mb#2 mul16u::mb#1 ]
[ mul16u::b#0 ]
[ divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 ]
[ divr16u::dividend#3 divr16u::dividend#5 divr16u::dividend#0 ]
[ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 ]
[ divr16u::i#2 divr16u::i#1 ]
[ sin16s_gen::i#5 sin16s_gen::i#1 ]
[ sin16s_gen::x#5 sin16s_gen::x#1 ]
[ sin16s_gen::sintab#7 sin16s_gen::sintab#0 ]
[ sin16s::isUpper#2 ]
[ sin16s::x#6 sin16s::x#4 sin16s::x#0 sin16s::x#1 sin16s::x#2 ]
[ sin16s::return#1 sin16s::return#5 sin16s::sinx#1 ]
[ main::sw#0 ]
[ print_word::w#0 ]
[ print_byte::$0 ]
[ print_byte::$2 ]
[ div32u16u::return#3 ]
[ sin16s_genb::step#0 ]
[ sin16sb::return#0 ]
[ sin16s_genb::$3 ]
[ sin16sb::x1#0 ]
[ mulu16_sel::return#18 ]
[ sin16sb::x2#0 ]
[ mulu16_sel::return#19 ]
[ sin16sb::x3#0 ]
[ mulu16_sel::return#20 ]
[ sin16sb::x3_6#0 ]
[ sin16sb::usinx#0 ]
[ mulu16_sel::return#10 ]
[ sin16sb::x4#0 ]
[ mulu16_sel::return#11 ]
[ sin16sb::x5#0 ]
[ sin16sb::x5_128#0 ]
[ sin16sb::usinx#1 ]
[ mul16u::return#2 ]
[ mulu16_sel::$0 ]
[ mulu16_sel::$1 ]
[ mulu16_sel::return#17 ]
[ mul16u::$1 ]
[ divr16u::return#2 ]
[ div32u16u::quotient_hi#0 ]
[ divr16u::return#3 ]
[ div32u16u::quotient_lo#0 ]
[ div32u16u::return#0 ]
[ divr16u::$1 ]
[ divr16u::$2 ]
[ rem16u#1 ]
[ div32u16u::return#2 ]
[ sin16s_gen::step#0 ]
[ sin16s::return#0 ]
[ sin16s_gen::$2 ]
[ sin16s::$4 ]
[ sin16s::x1#0 ]
[ mulu16_sel::return#0 ]
[ sin16s::x2#0 ]
[ mulu16_sel::return#1 ]
[ sin16s::x3#0 ]
[ mulu16_sel::return#14 ]
[ sin16s::x3_6#0 ]
[ sin16s::usinx#0 ]
[ mulu16_sel::return#15 ]
[ sin16s::x4#0 ]
[ mulu16_sel::return#16 ]
[ sin16s::x5#0 ]
[ sin16s::x5_128#0 ]
[ sin16s::usinx#1 ]
Allocated zp ZP_WORD:2 [ main::st1#2 main::st1#1 ]
Allocated zp ZP_WORD:4 [ main::st2#2 main::st2#1 ]
Allocated zp ZP_BYTE:6 [ main::i#2 main::i#1 ]
Allocated zp ZP_WORD:7 [ print_str::str#3 print_str::str#5 print_str::str#0 ]
Allocated zp ZP_WORD:9 [ print_sword::w#4 print_sword::w#0 print_sword::w#1 ]
Allocated zp ZP_BYTE:11 [ print_char::ch#4 print_char::ch#2 print_char::ch#3 ]
Allocated zp ZP_WORD:12 [ print_char_cursor#35 print_char_cursor#54 print_char_cursor#51 print_char_cursor#52 print_char_cursor#2 print_char_cursor#13 print_char_cursor#1 ]
Allocated zp ZP_BYTE:14 [ print_byte::b#2 print_byte::b#0 print_byte::b#1 ]
Allocated zp ZP_WORD:15 [ memset::dst#4 memset::dst#1 ]
Allocated zp ZP_WORD:17 [ sin16s_genb::i#5 sin16s_genb::i#1 ]
Allocated zp ZP_DWORD:19 [ sin16s_genb::x#5 sin16s_genb::x#1 ]
Allocated zp ZP_WORD:23 [ sin16s_genb::sintab#7 sin16s_genb::sintab#0 ]
Allocated zp ZP_BYTE:25 [ sin16sb::isUpper#2 ]
Allocated zp ZP_WORD:26 [ sin16sb::x#6 sin16sb::x#4 sin16sb::x#0 sin16sb::x#1 sin16sb::x#2 ]
Allocated zp ZP_WORD:28 [ sin16sb::return#1 sin16sb::return#5 sin16sb::sinx#1 ]
Allocated zp ZP_WORD:30 [ mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 ]
Allocated zp ZP_WORD:32 [ mulu16_sel::v2#10 mulu16_sel::v2#3 mulu16_sel::v2#4 mulu16_sel::v2#0 mulu16_sel::v2#1 mulu16_sel::v2#8 mulu16_sel::v2#9 mulu16_sel::v2#5 mulu16_sel::v2#6 ]
Allocated zp ZP_BYTE:34 [ mulu16_sel::select#10 ]
Allocated zp ZP_WORD:35 [ mul16u::a#2 mul16u::a#1 mul16u::a#0 ]
Allocated zp ZP_DWORD:37 [ mul16u::res#2 mul16u::res#6 mul16u::res#1 ]
Allocated zp ZP_DWORD:41 [ mul16u::mb#2 mul16u::mb#1 ]
Allocated zp ZP_WORD:45 [ mul16u::b#0 ]
Allocated zp ZP_WORD:47 [ divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 ]
Allocated zp ZP_WORD:49 [ divr16u::dividend#3 divr16u::dividend#5 divr16u::dividend#0 ]
Allocated zp ZP_WORD:51 [ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 ]
Allocated zp ZP_BYTE:53 [ divr16u::i#2 divr16u::i#1 ]
Allocated zp ZP_WORD:54 [ sin16s_gen::i#5 sin16s_gen::i#1 ]
Allocated zp ZP_DWORD:56 [ sin16s_gen::x#5 sin16s_gen::x#1 ]
Allocated zp ZP_WORD:60 [ sin16s_gen::sintab#7 sin16s_gen::sintab#0 ]
Allocated zp ZP_BYTE:62 [ sin16s::isUpper#2 ]
Allocated zp ZP_DWORD:63 [ sin16s::x#6 sin16s::x#4 sin16s::x#0 sin16s::x#1 sin16s::x#2 ]
Allocated zp ZP_WORD:67 [ sin16s::return#1 sin16s::return#5 sin16s::sinx#1 ]
Allocated zp ZP_WORD:69 [ main::sw#0 ]
Allocated zp ZP_WORD:71 [ print_word::w#0 ]
Allocated zp ZP_BYTE:73 [ print_byte::$0 ]
Allocated zp ZP_BYTE:74 [ print_byte::$2 ]
Allocated zp ZP_DWORD:75 [ div32u16u::return#3 ]
Allocated zp ZP_DWORD:79 [ sin16s_genb::step#0 ]
Allocated zp ZP_WORD:83 [ sin16sb::return#0 ]
Allocated zp ZP_WORD:85 [ sin16s_genb::$3 ]
Allocated zp ZP_WORD:87 [ sin16sb::x1#0 ]
Allocated zp ZP_WORD:89 [ mulu16_sel::return#18 ]
Allocated zp ZP_WORD:91 [ sin16sb::x2#0 ]
Allocated zp ZP_WORD:93 [ mulu16_sel::return#19 ]
Allocated zp ZP_WORD:95 [ sin16sb::x3#0 ]
Allocated zp ZP_WORD:97 [ mulu16_sel::return#20 ]
Allocated zp ZP_WORD:99 [ sin16sb::x3_6#0 ]
Allocated zp ZP_WORD:101 [ sin16sb::usinx#0 ]
Allocated zp ZP_WORD:103 [ mulu16_sel::return#10 ]
Allocated zp ZP_WORD:105 [ sin16sb::x4#0 ]
Allocated zp ZP_WORD:107 [ mulu16_sel::return#11 ]
Allocated zp ZP_WORD:109 [ sin16sb::x5#0 ]
Allocated zp ZP_WORD:111 [ sin16sb::x5_128#0 ]
Allocated zp ZP_WORD:113 [ sin16sb::usinx#1 ]
Allocated zp ZP_DWORD:115 [ mul16u::return#2 ]
Allocated zp ZP_DWORD:119 [ mulu16_sel::$0 ]
Allocated zp ZP_DWORD:123 [ mulu16_sel::$1 ]
Allocated zp ZP_WORD:127 [ mulu16_sel::return#17 ]
Allocated zp ZP_BYTE:129 [ mul16u::$1 ]
Allocated zp ZP_WORD:130 [ divr16u::return#2 ]
Allocated zp ZP_WORD:132 [ div32u16u::quotient_hi#0 ]
Allocated zp ZP_WORD:134 [ divr16u::return#3 ]
Allocated zp ZP_WORD:136 [ div32u16u::quotient_lo#0 ]
Allocated zp ZP_DWORD:138 [ div32u16u::return#0 ]
Allocated zp ZP_BYTE:142 [ divr16u::$1 ]
Allocated zp ZP_BYTE:143 [ divr16u::$2 ]
Allocated zp ZP_WORD:144 [ rem16u#1 ]
Allocated zp ZP_DWORD:146 [ div32u16u::return#2 ]
Allocated zp ZP_DWORD:150 [ sin16s_gen::step#0 ]
Allocated zp ZP_WORD:154 [ sin16s::return#0 ]
Allocated zp ZP_WORD:156 [ sin16s_gen::$2 ]
Allocated zp ZP_DWORD:158 [ sin16s::$4 ]
Allocated zp ZP_WORD:162 [ sin16s::x1#0 ]
Allocated zp ZP_WORD:164 [ mulu16_sel::return#0 ]
Allocated zp ZP_WORD:166 [ sin16s::x2#0 ]
Allocated zp ZP_WORD:168 [ mulu16_sel::return#1 ]
Allocated zp ZP_WORD:170 [ sin16s::x3#0 ]
Allocated zp ZP_WORD:172 [ mulu16_sel::return#14 ]
Allocated zp ZP_WORD:174 [ sin16s::x3_6#0 ]
Allocated zp ZP_WORD:176 [ sin16s::usinx#0 ]
Allocated zp ZP_WORD:178 [ mulu16_sel::return#15 ]
Allocated zp ZP_WORD:180 [ sin16s::x4#0 ]
Allocated zp ZP_WORD:182 [ mulu16_sel::return#16 ]
Allocated zp ZP_WORD:184 [ sin16s::x5#0 ]
Allocated zp ZP_WORD:186 [ sin16s::x5_128#0 ]
Allocated zp ZP_WORD:188 [ sin16s::usinx#1 ]

INITIAL ASM
Target platform is c64basic
  // File Comments
// Generates a 16-bit signed sinus
  // Upstart
.pc = $801 "Basic"
:BasicUpstart(bbegin)
.pc = $80d "Program"
  // Global Constants & labels
  .const SIZEOF_SIGNED_WORD = 2
  // PI*2 in u[4.28] format
  .const PI2_u4f28 = $6487ed51
  // PI in u[4.28] format
  .const PI_u4f28 = $3243f6a9
  // PI/2 in u[4.28] format
  .const PI_HALF_u4f28 = $1921fb54
  // PI in u[4.12] format
  .const PI_u4f12 = $3244
  // PI/2 in u[4.12] format
  .const PI_HALF_u4f12 = $1922
  .label print_line_cursor = $400
  .label rem16u = $90
  .label print_char_cursor = $c
  // @begin
bbegin:
  // [1] phi from @begin to @1 [phi:@begin->@1]
b1_from_bbegin:
  jmp b1
  // @1
b1:
  // [2] call main 
  // [4] phi from @1 to main [phi:@1->main]
main_from_b1:
  jsr main
  // [3] phi from @1 to @end [phi:@1->@end]
bend_from_b1:
  jmp bend
  // @end
bend:
  // main
main: {
    .label wavelength = $78
    .label sw = $45
    .label st1 = 2
    .label st2 = 4
    .label i = 6
    // [5] call sin16s_gen 
    // [169] phi from main to sin16s_gen [phi:main->sin16s_gen]
  sin16s_gen_from_main:
    jsr sin16s_gen
    // [6] phi from main to main::@4 [phi:main->main::@4]
  b4_from_main:
    jmp b4
    // main::@4
  b4:
    // [7] call sin16s_genb 
    // [68] phi from main::@4 to sin16s_genb [phi:main::@4->sin16s_genb]
  sin16s_genb_from_b4:
    jsr sin16s_genb
    // [8] phi from main::@4 to main::@5 [phi:main::@4->main::@5]
  b5_from_b4:
    jmp b5
    // main::@5
  b5:
    // [9] call print_cls 
    // [59] phi from main::@5 to print_cls [phi:main::@5->print_cls]
  print_cls_from_b5:
    jsr print_cls
    // [10] phi from main::@5 to main::@1 [phi:main::@5->main::@1]
  b1_from_b5:
    // [10] phi (byte) main::i#2 = (byte) 0 [phi:main::@5->main::@1#0] -- vbuz1=vbuc1 
    lda #0
    sta.z i
    // [10] phi (byte*) print_char_cursor#52 = (const byte*) print_line_cursor#0 [phi:main::@5->main::@1#1] -- pbuz1=pbuc1 
    lda #<print_line_cursor
    sta.z print_char_cursor
    lda #>print_line_cursor
    sta.z print_char_cursor+1
    // [10] phi (signed word*) main::st2#2 = (const signed word[$78]) main::sintab2#0 [phi:main::@5->main::@1#2] -- pwsz1=pwsc1 
    lda #<sintab2
    sta.z st2
    lda #>sintab2
    sta.z st2+1
    // [10] phi (signed word*) main::st1#2 = (const signed word[$78]) main::sintab1#0 [phi:main::@5->main::@1#3] -- pwsz1=pwsc1 
    lda #<sintab1
    sta.z st1
    lda #>sintab1
    sta.z st1+1
    jmp b1
    // [10] phi from main::@7 to main::@1 [phi:main::@7->main::@1]
  b1_from_b7:
    // [10] phi (byte) main::i#2 = (byte) main::i#1 [phi:main::@7->main::@1#0] -- register_copy 
    // [10] phi (byte*) print_char_cursor#52 = (byte*) print_char_cursor#2 [phi:main::@7->main::@1#1] -- register_copy 
    // [10] phi (signed word*) main::st2#2 = (signed word*) main::st2#1 [phi:main::@7->main::@1#2] -- register_copy 
    // [10] phi (signed word*) main::st1#2 = (signed word*) main::st1#1 [phi:main::@7->main::@1#3] -- register_copy 
    jmp b1
    // main::@1
  b1:
    // [11] (signed word) main::sw#0 ← *((signed word*) main::st1#2) - *((signed word*) main::st2#2) -- vwsz1=_deref_pwsz2_minus__deref_pwsz3 
    ldy #0
    sec
    lda (st1),y
    sbc (st2),y
    sta.z sw
    iny
    lda (st1),y
    sbc (st2),y
    sta.z sw+1
    // [12] if((signed word) main::sw#0<(signed byte) 0) goto main::@2 -- vwsz1_lt_0_then_la1 
    lda.z sw+1
    bmi b2_from_b1
    // [13] phi from main::@1 to main::@3 [phi:main::@1->main::@3]
  b3_from_b1:
    jmp b3
    // main::@3
  b3:
    // [14] call print_str 
    // [25] phi from main::@3 to print_str [phi:main::@3->print_str]
  print_str_from_b3:
    // [25] phi (byte*) print_char_cursor#54 = (byte*) print_char_cursor#52 [phi:main::@3->print_str#0] -- register_copy 
    // [25] phi (byte*) print_str::str#5 = (const string) main::str1 [phi:main::@3->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    // [15] phi from main::@1 main::@3 to main::@2 [phi:main::@1/main::@3->main::@2]
  b2_from_b1:
  b2_from_b3:
    // [15] phi (byte*) print_char_cursor#51 = (byte*) print_char_cursor#52 [phi:main::@1/main::@3->main::@2#0] -- register_copy 
    jmp b2
    // main::@2
  b2:
    // [16] (signed word) print_sword::w#1 ← (signed word) main::sw#0 -- vwsz1=vwsz2 
    lda.z sw
    sta.z print_sword.w
    lda.z sw+1
    sta.z print_sword.w+1
    // [17] call print_sword 
    jsr print_sword
    // [18] phi from main::@2 to main::@6 [phi:main::@2->main::@6]
  b6_from_b2:
    jmp b6
    // main::@6
  b6:
    // [19] call print_str 
    // [25] phi from main::@6 to print_str [phi:main::@6->print_str]
  print_str_from_b6:
    // [25] phi (byte*) print_char_cursor#54 = (byte*) print_char_cursor#13 [phi:main::@6->print_str#0] -- register_copy 
    // [25] phi (byte*) print_str::str#5 = (const string) main::str [phi:main::@6->print_str#1] -- pbuz1=pbuc1 
    lda #<str
    sta.z print_str.str
    lda #>str
    sta.z print_str.str+1
    jsr print_str
    jmp b7
    // main::@7
  b7:
    // [20] (signed word*) main::st1#1 ← (signed word*) main::st1#2 + (const byte) SIZEOF_SIGNED_WORD -- pwsz1=pwsz1_plus_vbuc1 
    lda #SIZEOF_SIGNED_WORD
    clc
    adc.z st1
    sta.z st1
    bcc !+
    inc.z st1+1
  !:
    // [21] (signed word*) main::st2#1 ← (signed word*) main::st2#2 + (const byte) SIZEOF_SIGNED_WORD -- pwsz1=pwsz1_plus_vbuc1 
    lda #SIZEOF_SIGNED_WORD
    clc
    adc.z st2
    sta.z st2
    bcc !+
    inc.z st2+1
  !:
    // [22] (byte) main::i#1 ← ++ (byte) main::i#2 -- vbuz1=_inc_vbuz1 
    inc.z i
    // [23] if((byte) main::i#1!=(byte) $78) goto main::@1 -- vbuz1_neq_vbuc1_then_la1 
    lda #$78
    cmp.z i
    bne b1_from_b7
    jmp breturn
    // main::@return
  breturn:
    // [24] return 
    rts
    str: .text "   "
    .byte 0
    str1: .text " "
    .byte 0
    sintab1: .fill 2*$78, 0
    sintab2: .fill 2*$78, 0
}
  // print_str
// Print a zero-terminated string
// print_str(byte* zeropage(7) str)
print_str: {
    .label str = 7
    // [26] phi from print_str print_str::@2 to print_str::@1 [phi:print_str/print_str::@2->print_str::@1]
  b1_from_print_str:
  b1_from_b2:
    // [26] phi (byte*) print_char_cursor#2 = (byte*) print_char_cursor#54 [phi:print_str/print_str::@2->print_str::@1#0] -- register_copy 
    // [26] phi (byte*) print_str::str#3 = (byte*) print_str::str#5 [phi:print_str/print_str::@2->print_str::@1#1] -- register_copy 
    jmp b1
    // print_str::@1
  b1:
    // [27] if((byte) 0!=*((byte*) print_str::str#3)) goto print_str::@2 -- vbuc1_neq__deref_pbuz1_then_la1 
    ldy #0
    lda (str),y
    cmp #0
    bne b2
    jmp breturn
    // print_str::@return
  breturn:
    // [28] return 
    rts
    // print_str::@2
  b2:
    // [29] *((byte*) print_char_cursor#2) ← *((byte*) print_str::str#3) -- _deref_pbuz1=_deref_pbuz2 
    ldy #0
    lda (str),y
    ldy #0
    sta (print_char_cursor),y
    // [30] (byte*) print_char_cursor#1 ← ++ (byte*) print_char_cursor#2 -- pbuz1=_inc_pbuz1 
    inc.z print_char_cursor
    bne !+
    inc.z print_char_cursor+1
  !:
    // [31] (byte*) print_str::str#0 ← ++ (byte*) print_str::str#3 -- pbuz1=_inc_pbuz1 
    inc.z str
    bne !+
    inc.z str+1
  !:
    jmp b1_from_b2
}
  // print_sword
// Print a signed word as HEX
// print_sword(signed word zeropage(9) w)
print_sword: {
    .label w = 9
    // [32] if((signed word) print_sword::w#1<(signed byte) 0) goto print_sword::@1 -- vwsz1_lt_0_then_la1 
    lda.z w+1
    bmi b1_from_print_sword
    // [33] phi from print_sword to print_sword::@3 [phi:print_sword->print_sword::@3]
  b3_from_print_sword:
    jmp b3
    // print_sword::@3
  b3:
    // [34] call print_char 
    // [42] phi from print_sword::@3 to print_char [phi:print_sword::@3->print_char]
  print_char_from_b3:
    // [42] phi (byte*) print_char_cursor#35 = (byte*) print_char_cursor#51 [phi:print_sword::@3->print_char#0] -- register_copy 
    // [42] phi (byte) print_char::ch#4 = (byte) ' ' [phi:print_sword::@3->print_char#1] -- vbuz1=vbuc1 
    lda #' '
    sta.z print_char.ch
    jsr print_char
    // [35] phi from print_sword::@3 print_sword::@4 to print_sword::@2 [phi:print_sword::@3/print_sword::@4->print_sword::@2]
  b2_from_b3:
  b2_from_b4:
    // [35] phi (signed word) print_sword::w#4 = (signed word) print_sword::w#1 [phi:print_sword::@3/print_sword::@4->print_sword::@2#0] -- register_copy 
    jmp b2
    // print_sword::@2
  b2:
    // [36] (word) print_word::w#0 ← (word)(signed word) print_sword::w#4 -- vwuz1=vwuz2 
    lda.z w
    sta.z print_word.w
    lda.z w+1
    sta.z print_word.w+1
    // [37] call print_word 
    jsr print_word
    jmp breturn
    // print_sword::@return
  breturn:
    // [38] return 
    rts
    // [39] phi from print_sword to print_sword::@1 [phi:print_sword->print_sword::@1]
  b1_from_print_sword:
    jmp b1
    // print_sword::@1
  b1:
    // [40] call print_char 
    // [42] phi from print_sword::@1 to print_char [phi:print_sword::@1->print_char]
  print_char_from_b1:
    // [42] phi (byte*) print_char_cursor#35 = (byte*) print_char_cursor#51 [phi:print_sword::@1->print_char#0] -- register_copy 
    // [42] phi (byte) print_char::ch#4 = (byte) '-' [phi:print_sword::@1->print_char#1] -- vbuz1=vbuc1 
    lda #'-'
    sta.z print_char.ch
    jsr print_char
    jmp b4
    // print_sword::@4
  b4:
    // [41] (signed word) print_sword::w#0 ← - (signed word) print_sword::w#1 -- vwsz1=_neg_vwsz1 
    sec
    lda #0
    sbc.z w
    sta.z w
    lda #0
    sbc.z w+1
    sta.z w+1
    jmp b2_from_b4
}
  // print_char
// Print a single char
// print_char(byte zeropage($b) ch)
print_char: {
    .label ch = $b
    // [43] *((byte*) print_char_cursor#35) ← (byte) print_char::ch#4 -- _deref_pbuz1=vbuz2 
    lda.z ch
    ldy #0
    sta (print_char_cursor),y
    // [44] (byte*) print_char_cursor#13 ← ++ (byte*) print_char_cursor#35 -- pbuz1=_inc_pbuz1 
    inc.z print_char_cursor
    bne !+
    inc.z print_char_cursor+1
  !:
    jmp breturn
    // print_char::@return
  breturn:
    // [45] return 
    rts
}
  // print_word
// Print a word as HEX
// print_word(word zeropage($47) w)
print_word: {
    .label w = $47
    // [46] (byte) print_byte::b#0 ← > (word) print_word::w#0 -- vbuz1=_hi_vwuz2 
    lda.z w+1
    sta.z print_byte.b
    // [47] call print_byte 
    // [51] phi from print_word to print_byte [phi:print_word->print_byte]
  print_byte_from_print_word:
    // [51] phi (byte) print_byte::b#2 = (byte) print_byte::b#0 [phi:print_word->print_byte#0] -- register_copy 
    jsr print_byte
    jmp b1
    // print_word::@1
  b1:
    // [48] (byte) print_byte::b#1 ← < (word) print_word::w#0 -- vbuz1=_lo_vwuz2 
    lda.z w
    sta.z print_byte.b
    // [49] call print_byte 
    // [51] phi from print_word::@1 to print_byte [phi:print_word::@1->print_byte]
  print_byte_from_b1:
    // [51] phi (byte) print_byte::b#2 = (byte) print_byte::b#1 [phi:print_word::@1->print_byte#0] -- register_copy 
    jsr print_byte
    jmp breturn
    // print_word::@return
  breturn:
    // [50] return 
    rts
}
  // print_byte
// Print a byte as HEX
// print_byte(byte zeropage($e) b)
print_byte: {
    .label _0 = $49
    .label _2 = $4a
    .label b = $e
    // [52] (byte~) print_byte::$0 ← (byte) print_byte::b#2 >> (byte) 4 -- vbuz1=vbuz2_ror_4 
    lda.z b
    lsr
    lsr
    lsr
    lsr
    sta.z _0
    // [53] (byte) print_char::ch#2 ← *((const byte[]) print_hextab#0 + (byte~) print_byte::$0) -- vbuz1=pbuc1_derefidx_vbuz2 
    ldy.z _0
    lda print_hextab,y
    sta.z print_char.ch
    // [54] call print_char 
    // [42] phi from print_byte to print_char [phi:print_byte->print_char]
  print_char_from_print_byte:
    // [42] phi (byte*) print_char_cursor#35 = (byte*) print_char_cursor#13 [phi:print_byte->print_char#0] -- register_copy 
    // [42] phi (byte) print_char::ch#4 = (byte) print_char::ch#2 [phi:print_byte->print_char#1] -- register_copy 
    jsr print_char
    jmp b1
    // print_byte::@1
  b1:
    // [55] (byte~) print_byte::$2 ← (byte) print_byte::b#2 & (byte) $f -- vbuz1=vbuz2_band_vbuc1 
    lda #$f
    and.z b
    sta.z _2
    // [56] (byte) print_char::ch#3 ← *((const byte[]) print_hextab#0 + (byte~) print_byte::$2) -- vbuz1=pbuc1_derefidx_vbuz2 
    ldy.z _2
    lda print_hextab,y
    sta.z print_char.ch
    // [57] call print_char 
    // [42] phi from print_byte::@1 to print_char [phi:print_byte::@1->print_char]
  print_char_from_b1:
    // [42] phi (byte*) print_char_cursor#35 = (byte*) print_char_cursor#13 [phi:print_byte::@1->print_char#0] -- register_copy 
    // [42] phi (byte) print_char::ch#4 = (byte) print_char::ch#3 [phi:print_byte::@1->print_char#1] -- register_copy 
    jsr print_char
    jmp breturn
    // print_byte::@return
  breturn:
    // [58] return 
    rts
}
  // print_cls
// Clear the screen. Also resets current line/char cursor.
print_cls: {
    // [60] call memset 
    // [62] phi from print_cls to memset [phi:print_cls->memset]
  memset_from_print_cls:
    jsr memset
    jmp breturn
    // print_cls::@return
  breturn:
    // [61] return 
    rts
}
  // memset
// Copies the character c (an unsigned char) to the first num characters of the object pointed to by the argument str.
memset: {
    .const c = ' '
    .const num = $3e8
    .label str = print_line_cursor
    .label end = str+num
    .label dst = $f
    // [63] phi from memset to memset::@2 [phi:memset->memset::@2]
  b2_from_memset:
    // [63] phi (byte*) memset::dst#4 = (byte*)(const void*) memset::str#0 [phi:memset->memset::@2#0] -- pbuz1=pbuc1 
    lda #<str
    sta.z dst
    lda #>str
    sta.z dst+1
    jmp b2
    // [63] phi from memset::@1 to memset::@2 [phi:memset::@1->memset::@2]
  b2_from_b1:
    // [63] phi (byte*) memset::dst#4 = (byte*) memset::dst#1 [phi:memset::@1->memset::@2#0] -- register_copy 
    jmp b2
    // memset::@2
  b2:
    // [64] *((byte*) memset::dst#4) ← (const byte) memset::c#0 -- _deref_pbuz1=vbuc1 
    lda #c
    ldy #0
    sta (dst),y
    // [65] (byte*) memset::dst#1 ← ++ (byte*) memset::dst#4 -- pbuz1=_inc_pbuz1 
    inc.z dst
    bne !+
    inc.z dst+1
  !:
    jmp b1
    // memset::@1
  b1:
    // [66] if((byte*) memset::dst#1!=(const byte*) memset::end#0) goto memset::@2 -- pbuz1_neq_pbuc1_then_la1 
    lda.z dst+1
    cmp #>end
    bne b2_from_b1
    lda.z dst
    cmp #<end
    bne b2_from_b1
    jmp breturn
    // memset::@return
  breturn:
    // [67] return 
    rts
}
  // sin16s_genb
// Generate signed (large) word sinus table - on the full -$7fff - $7fff range
// sintab - the table to generate into
// wavelength - the number of sinus points in a total sinus wavelength (the size of the table)
// sin16s_genb(signed word* zeropage($17) sintab)
sin16s_genb: {
    .label _3 = $55
    .label step = $4f
    .label sintab = $17
    .label x = $13
    .label i = $11
    // [69] call div32u16u 
    // [141] phi from sin16s_genb to div32u16u [phi:sin16s_genb->div32u16u]
  div32u16u_from_sin16s_genb:
    jsr div32u16u
    // [70] (dword) div32u16u::return#3 ← (dword) div32u16u::return#0 -- vduz1=vduz2 
    lda.z div32u16u.return
    sta.z div32u16u.return_3
    lda.z div32u16u.return+1
    sta.z div32u16u.return_3+1
    lda.z div32u16u.return+2
    sta.z div32u16u.return_3+2
    lda.z div32u16u.return+3
    sta.z div32u16u.return_3+3
    jmp b3
    // sin16s_genb::@3
  b3:
    // [71] (dword) sin16s_genb::step#0 ← (dword) div32u16u::return#3 -- vduz1=vduz2 
    lda.z div32u16u.return_3
    sta.z step
    lda.z div32u16u.return_3+1
    sta.z step+1
    lda.z div32u16u.return_3+2
    sta.z step+2
    lda.z div32u16u.return_3+3
    sta.z step+3
    // [72] phi from sin16s_genb::@3 to sin16s_genb::@2 [phi:sin16s_genb::@3->sin16s_genb::@2]
  b2_from_b3:
    // [72] phi (signed word*) sin16s_genb::sintab#7 = (const signed word[$78]) main::sintab2#0 [phi:sin16s_genb::@3->sin16s_genb::@2#0] -- pwsz1=pwsc1 
    lda #<main.sintab2
    sta.z sintab
    lda #>main.sintab2
    sta.z sintab+1
    // [72] phi (dword) sin16s_genb::x#5 = (byte) 0 [phi:sin16s_genb::@3->sin16s_genb::@2#1] -- vduz1=vbuc1 
    lda #0
    sta.z x
    lda #0
    sta.z x+1
    sta.z x+2
    sta.z x+3
    // [72] phi (word) sin16s_genb::i#5 = (byte) 0 [phi:sin16s_genb::@3->sin16s_genb::@2#2] -- vwuz1=vbuc1 
    lda #<0
    sta.z i
    lda #>0
    sta.z i+1
    jmp b2
    // [72] phi from sin16s_genb::@1 to sin16s_genb::@2 [phi:sin16s_genb::@1->sin16s_genb::@2]
  b2_from_b1:
    // [72] phi (signed word*) sin16s_genb::sintab#7 = (signed word*) sin16s_genb::sintab#0 [phi:sin16s_genb::@1->sin16s_genb::@2#0] -- register_copy 
    // [72] phi (dword) sin16s_genb::x#5 = (dword) sin16s_genb::x#1 [phi:sin16s_genb::@1->sin16s_genb::@2#1] -- register_copy 
    // [72] phi (word) sin16s_genb::i#5 = (word) sin16s_genb::i#1 [phi:sin16s_genb::@1->sin16s_genb::@2#2] -- register_copy 
    jmp b2
    // sin16s_genb::@2
  b2:
    // [73] (word) sin16sb::x#0 ← > (dword) sin16s_genb::x#5 -- vwuz1=_hi_vduz2 
    lda.z x+2
    sta.z sin16sb.x
    lda.z x+3
    sta.z sin16sb.x+1
    // [74] call sin16sb 
    jsr sin16sb
    // [75] (signed word) sin16sb::return#0 ← (signed word) sin16sb::return#1 -- vwsz1=vwsz2 
    lda.z sin16sb.return_1
    sta.z sin16sb.return
    lda.z sin16sb.return_1+1
    sta.z sin16sb.return+1
    jmp b4
    // sin16s_genb::@4
  b4:
    // [76] (signed word~) sin16s_genb::$3 ← (signed word) sin16sb::return#0 -- vwsz1=vwsz2 
    lda.z sin16sb.return
    sta.z _3
    lda.z sin16sb.return+1
    sta.z _3+1
    // [77] *((signed word*) sin16s_genb::sintab#7) ← (signed word~) sin16s_genb::$3 -- _deref_pwsz1=vwsz2 
    ldy #0
    lda.z _3
    sta (sintab),y
    iny
    lda.z _3+1
    sta (sintab),y
    // [78] (signed word*) sin16s_genb::sintab#0 ← (signed word*) sin16s_genb::sintab#7 + (const byte) SIZEOF_SIGNED_WORD -- pwsz1=pwsz1_plus_vbuc1 
    lda #SIZEOF_SIGNED_WORD
    clc
    adc.z sintab
    sta.z sintab
    bcc !+
    inc.z sintab+1
  !:
    // [79] (dword) sin16s_genb::x#1 ← (dword) sin16s_genb::x#5 + (dword) sin16s_genb::step#0 -- vduz1=vduz1_plus_vduz2 
    lda.z x
    clc
    adc.z step
    sta.z x
    lda.z x+1
    adc.z step+1
    sta.z x+1
    lda.z x+2
    adc.z step+2
    sta.z x+2
    lda.z x+3
    adc.z step+3
    sta.z x+3
    // [80] (word) sin16s_genb::i#1 ← ++ (word) sin16s_genb::i#5 -- vwuz1=_inc_vwuz1 
    inc.z i
    bne !+
    inc.z i+1
  !:
    jmp b1
  // u[4.28]
    // sin16s_genb::@1
  b1:
    // [81] if((word) sin16s_genb::i#1<(const word) main::wavelength#0) goto sin16s_genb::@2 -- vwuz1_lt_vwuc1_then_la1 
    lda.z i+1
    cmp #>main.wavelength
    bcc b2_from_b1
    bne !+
    lda.z i
    cmp #<main.wavelength
    bcc b2_from_b1
  !:
    jmp breturn
    // sin16s_genb::@return
  breturn:
    // [82] return 
    rts
}
  // sin16sb
// Calculate signed word sinus sin(x)
// x: unsigned dword input u[4.28] in the interval $00000000 - PI2_u4f28
// result: signed word sin(x) s[0.15] - using the full range  -$7fff - $7fff
// sin16sb(word zeropage($1a) x)
sin16sb: {
    .label x = $1a
    .label return = $53
    .label x1 = $57
    .label x2 = $5b
    .label x3 = $5f
    .label x3_6 = $63
    .label usinx = $65
    .label x4 = $69
    .label x5 = $6d
    .label x5_128 = $6f
    .label usinx_1 = $71
    .label return_1 = $1c
    .label sinx = $1c
    .label isUpper = $19
    .label return_5 = $1c
    // [83] if((word) sin16sb::x#0<(const word) PI_u4f12#0) goto sin16sb::@1 -- vwuz1_lt_vwuc1_then_la1 
    lda.z x+1
    cmp #>PI_u4f12
    bcc b1_from_sin16sb
    bne !+
    lda.z x
    cmp #<PI_u4f12
    bcc b1_from_sin16sb
  !:
    jmp b4
    // sin16sb::@4
  b4:
    // [84] (word) sin16sb::x#1 ← (word) sin16sb::x#0 - (const word) PI_u4f12#0 -- vwuz1=vwuz1_minus_vwuc1 
    lda.z x
    sec
    sbc #<PI_u4f12
    sta.z x
    lda.z x+1
    sbc #>PI_u4f12
    sta.z x+1
    // [85] phi from sin16sb::@4 to sin16sb::@1 [phi:sin16sb::@4->sin16sb::@1]
  b1_from_b4:
    // [85] phi (byte) sin16sb::isUpper#2 = (byte) 1 [phi:sin16sb::@4->sin16sb::@1#0] -- vbuz1=vbuc1 
    lda #1
    sta.z isUpper
    // [85] phi (word) sin16sb::x#4 = (word) sin16sb::x#1 [phi:sin16sb::@4->sin16sb::@1#1] -- register_copy 
    jmp b1
    // [85] phi from sin16sb to sin16sb::@1 [phi:sin16sb->sin16sb::@1]
  b1_from_sin16sb:
    // [85] phi (byte) sin16sb::isUpper#2 = (byte) 0 [phi:sin16sb->sin16sb::@1#0] -- vbuz1=vbuc1 
    lda #0
    sta.z isUpper
    // [85] phi (word) sin16sb::x#4 = (word) sin16sb::x#0 [phi:sin16sb->sin16sb::@1#1] -- register_copy 
    jmp b1
    // sin16sb::@1
  b1:
    // [86] if((word) sin16sb::x#4<(const word) PI_HALF_u4f12#0) goto sin16sb::@2 -- vwuz1_lt_vwuc1_then_la1 
    lda.z x+1
    cmp #>PI_HALF_u4f12
    bcc b2_from_b1
    bne !+
    lda.z x
    cmp #<PI_HALF_u4f12
    bcc b2_from_b1
  !:
    jmp b5
    // sin16sb::@5
  b5:
    // [87] (word) sin16sb::x#2 ← (const word) PI_u4f12#0 - (word) sin16sb::x#4 -- vwuz1=vwuc1_minus_vwuz1 
    sec
    lda #<PI_u4f12
    sbc.z x
    sta.z x
    lda #>PI_u4f12
    sbc.z x+1
    sta.z x+1
    // [88] phi from sin16sb::@1 sin16sb::@5 to sin16sb::@2 [phi:sin16sb::@1/sin16sb::@5->sin16sb::@2]
  b2_from_b1:
  b2_from_b5:
    // [88] phi (word) sin16sb::x#6 = (word) sin16sb::x#4 [phi:sin16sb::@1/sin16sb::@5->sin16sb::@2#0] -- register_copy 
    jmp b2
    // sin16sb::@2
  b2:
    // [89] (word) sin16sb::x1#0 ← (word) sin16sb::x#6 << (byte) 3 -- vwuz1=vwuz2_rol_3 
    lda.z x
    asl
    sta.z x1
    lda.z x+1
    rol
    sta.z x1+1
    asl.z x1
    rol.z x1+1
    asl.z x1
    rol.z x1+1
    // [90] (word) mulu16_sel::v1#5 ← (word) sin16sb::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v1
    lda.z x1+1
    sta.z mulu16_sel.v1+1
    // [91] (word) mulu16_sel::v2#5 ← (word) sin16sb::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [92] call mulu16_sel 
    // [122] phi from sin16sb::@2 to mulu16_sel [phi:sin16sb::@2->mulu16_sel]
  mulu16_sel_from_b2:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 0 [phi:sin16sb::@2->mulu16_sel#0] -- vbuz1=vbuc1 
    lda #0
    sta.z mulu16_sel.select
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#5 [phi:sin16sb::@2->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#5 [phi:sin16sb::@2->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [93] (word) mulu16_sel::return#18 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return_18
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return_18+1
    jmp b7
    // sin16sb::@7
  b7:
    // [94] (word) sin16sb::x2#0 ← (word) mulu16_sel::return#18 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_18
    sta.z x2
    lda.z mulu16_sel.return_18+1
    sta.z x2+1
    // [95] (word) mulu16_sel::v1#6 ← (word) sin16sb::x2#0 -- vwuz1=vwuz2 
    lda.z x2
    sta.z mulu16_sel.v1
    lda.z x2+1
    sta.z mulu16_sel.v1+1
    // [96] (word) mulu16_sel::v2#6 ← (word) sin16sb::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [97] call mulu16_sel 
    // [122] phi from sin16sb::@7 to mulu16_sel [phi:sin16sb::@7->mulu16_sel]
  mulu16_sel_from_b7:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 1 [phi:sin16sb::@7->mulu16_sel#0] -- vbuz1=vbuc1 
    lda #1
    sta.z mulu16_sel.select
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#6 [phi:sin16sb::@7->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#6 [phi:sin16sb::@7->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [98] (word) mulu16_sel::return#19 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return_19
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return_19+1
    jmp b8
    // sin16sb::@8
  b8:
    // [99] (word) sin16sb::x3#0 ← (word) mulu16_sel::return#19 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_19
    sta.z x3
    lda.z mulu16_sel.return_19+1
    sta.z x3+1
    // [100] (word) mulu16_sel::v1#7 ← (word) sin16sb::x3#0 -- vwuz1=vwuz2 
    lda.z x3
    sta.z mulu16_sel.v1
    lda.z x3+1
    sta.z mulu16_sel.v1+1
    // [101] call mulu16_sel 
    // [122] phi from sin16sb::@8 to mulu16_sel [phi:sin16sb::@8->mulu16_sel]
  mulu16_sel_from_b8:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 1 [phi:sin16sb::@8->mulu16_sel#0] -- vbuz1=vbuc1 
    lda #1
    sta.z mulu16_sel.select
    // [122] phi (word) mulu16_sel::v2#10 = (word)(number) $10000/(number) 6 [phi:sin16sb::@8->mulu16_sel#1] -- vwuz1=vwuc1 
    lda #<$10000/6
    sta.z mulu16_sel.v2
    lda #>$10000/6
    sta.z mulu16_sel.v2+1
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#7 [phi:sin16sb::@8->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [102] (word) mulu16_sel::return#20 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return_20
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return_20+1
    jmp b9
    // sin16sb::@9
  b9:
    // [103] (word) sin16sb::x3_6#0 ← (word) mulu16_sel::return#20 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_20
    sta.z x3_6
    lda.z mulu16_sel.return_20+1
    sta.z x3_6+1
    // [104] (word) sin16sb::usinx#0 ← (word) sin16sb::x1#0 - (word) sin16sb::x3_6#0 -- vwuz1=vwuz2_minus_vwuz3 
    lda.z x1
    sec
    sbc.z x3_6
    sta.z usinx
    lda.z x1+1
    sbc.z x3_6+1
    sta.z usinx+1
    // [105] (word) mulu16_sel::v1#8 ← (word) sin16sb::x3#0 -- vwuz1=vwuz2 
    lda.z x3
    sta.z mulu16_sel.v1
    lda.z x3+1
    sta.z mulu16_sel.v1+1
    // [106] (word) mulu16_sel::v2#8 ← (word) sin16sb::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [107] call mulu16_sel 
    // [122] phi from sin16sb::@9 to mulu16_sel [phi:sin16sb::@9->mulu16_sel]
  mulu16_sel_from_b9:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 0 [phi:sin16sb::@9->mulu16_sel#0] -- vbuz1=vbuc1 
    lda #0
    sta.z mulu16_sel.select
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#8 [phi:sin16sb::@9->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#8 [phi:sin16sb::@9->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [108] (word) mulu16_sel::return#10 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return_10
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return_10+1
    jmp b10
    // sin16sb::@10
  b10:
    // [109] (word) sin16sb::x4#0 ← (word) mulu16_sel::return#10 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_10
    sta.z x4
    lda.z mulu16_sel.return_10+1
    sta.z x4+1
    // [110] (word) mulu16_sel::v1#9 ← (word) sin16sb::x4#0 -- vwuz1=vwuz2 
    lda.z x4
    sta.z mulu16_sel.v1
    lda.z x4+1
    sta.z mulu16_sel.v1+1
    // [111] (word) mulu16_sel::v2#9 ← (word) sin16sb::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [112] call mulu16_sel 
    // [122] phi from sin16sb::@10 to mulu16_sel [phi:sin16sb::@10->mulu16_sel]
  mulu16_sel_from_b10:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 0 [phi:sin16sb::@10->mulu16_sel#0] -- vbuz1=vbuc1 
    lda #0
    sta.z mulu16_sel.select
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#9 [phi:sin16sb::@10->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#9 [phi:sin16sb::@10->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [113] (word) mulu16_sel::return#11 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return_11
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return_11+1
    jmp b11
    // sin16sb::@11
  b11:
    // [114] (word) sin16sb::x5#0 ← (word) mulu16_sel::return#11 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_11
    sta.z x5
    lda.z mulu16_sel.return_11+1
    sta.z x5+1
    // [115] (word) sin16sb::x5_128#0 ← (word) sin16sb::x5#0 >> (byte) 4 -- vwuz1=vwuz2_ror_4 
    lda.z x5+1
    lsr
    sta.z x5_128+1
    lda.z x5
    ror
    sta.z x5_128
    lsr.z x5_128+1
    ror.z x5_128
    lsr.z x5_128+1
    ror.z x5_128
    lsr.z x5_128+1
    ror.z x5_128
    // [116] (word) sin16sb::usinx#1 ← (word) sin16sb::usinx#0 + (word) sin16sb::x5_128#0 -- vwuz1=vwuz2_plus_vwuz3 
    lda.z usinx
    clc
    adc.z x5_128
    sta.z usinx_1
    lda.z usinx+1
    adc.z x5_128+1
    sta.z usinx_1+1
    // [117] if((byte) sin16sb::isUpper#2==(byte) 0) goto sin16sb::@12 -- vbuz1_eq_0_then_la1 
    lda.z isUpper
    cmp #0
    beq b12
    jmp b6
    // sin16sb::@6
  b6:
    // [118] (signed word) sin16sb::sinx#1 ← - (signed word)(word) sin16sb::usinx#1 -- vwsz1=_neg_vwsz2 
    sec
    lda #0
    sbc.z usinx_1
    sta.z sinx
    lda #0
    sbc.z usinx_1+1
    sta.z sinx+1
    // [119] phi from sin16sb::@12 sin16sb::@6 to sin16sb::@3 [phi:sin16sb::@12/sin16sb::@6->sin16sb::@3]
  b3_from_b12:
  b3_from_b6:
    // [119] phi (signed word) sin16sb::return#1 = (signed word~) sin16sb::return#5 [phi:sin16sb::@12/sin16sb::@6->sin16sb::@3#0] -- register_copy 
    jmp b3
    // sin16sb::@3
  b3:
    jmp breturn
    // sin16sb::@return
  breturn:
    // [120] return 
    rts
    // sin16sb::@12
  b12:
    // [121] (signed word~) sin16sb::return#5 ← (signed word)(word) sin16sb::usinx#1 -- vwsz1=vwsz2 
    lda.z usinx_1
    sta.z return_5
    lda.z usinx_1+1
    sta.z return_5+1
    jmp b3_from_b12
}
  // mulu16_sel
// Calculate val*val for two unsigned word values - the result is 16 selected bits of the 32-bit result.
// The select parameter indicates how many of the highest bits of the 32-bit result to skip
// mulu16_sel(word zeropage($1e) v1, word zeropage($20) v2, byte zeropage($22) select)
mulu16_sel: {
    .label _0 = $77
    .label _1 = $7b
    .label v1 = $1e
    .label v2 = $20
    .label return = $a4
    .label return_1 = $a8
    .label return_10 = $67
    .label return_11 = $6b
    .label return_14 = $ac
    .label return_15 = $b2
    .label return_16 = $b6
    .label select = $22
    .label return_17 = $7f
    .label return_18 = $59
    .label return_19 = $5d
    .label return_20 = $61
    // [123] (word) mul16u::a#1 ← (word) mulu16_sel::v1#10 -- vwuz1=vwuz2 
    lda.z v1
    sta.z mul16u.a
    lda.z v1+1
    sta.z mul16u.a+1
    // [124] (word) mul16u::b#0 ← (word) mulu16_sel::v2#10 -- vwuz1=vwuz2 
    lda.z v2
    sta.z mul16u.b
    lda.z v2+1
    sta.z mul16u.b+1
    // [125] call mul16u 
    // [131] phi from mulu16_sel to mul16u [phi:mulu16_sel->mul16u]
  mul16u_from_mulu16_sel:
    jsr mul16u
    // [126] (dword) mul16u::return#2 ← (dword) mul16u::res#2 -- vduz1=vduz2 
    lda.z mul16u.res
    sta.z mul16u.return
    lda.z mul16u.res+1
    sta.z mul16u.return+1
    lda.z mul16u.res+2
    sta.z mul16u.return+2
    lda.z mul16u.res+3
    sta.z mul16u.return+3
    jmp b1
    // mulu16_sel::@1
  b1:
    // [127] (dword~) mulu16_sel::$0 ← (dword) mul16u::return#2 -- vduz1=vduz2 
    lda.z mul16u.return
    sta.z _0
    lda.z mul16u.return+1
    sta.z _0+1
    lda.z mul16u.return+2
    sta.z _0+2
    lda.z mul16u.return+3
    sta.z _0+3
    // [128] (dword~) mulu16_sel::$1 ← (dword~) mulu16_sel::$0 << (byte) mulu16_sel::select#10 -- vduz1=vduz2_rol_vbuz3 
    lda.z _0
    sta.z _1
    lda.z _0+1
    sta.z _1+1
    lda.z _0+2
    sta.z _1+2
    lda.z _0+3
    sta.z _1+3
    ldx.z select
    beq !e+
  !:
    asl.z _1
    rol.z _1+1
    rol.z _1+2
    rol.z _1+3
    dex
    bne !-
  !e:
    // [129] (word) mulu16_sel::return#17 ← > (dword~) mulu16_sel::$1 -- vwuz1=_hi_vduz2 
    lda.z _1+2
    sta.z return_17
    lda.z _1+3
    sta.z return_17+1
    jmp breturn
    // mulu16_sel::@return
  breturn:
    // [130] return 
    rts
}
  // mul16u
// Perform binary multiplication of two unsigned 16-bit words into a 32-bit unsigned double word
// mul16u(word zeropage($23) a, word zeropage($2d) b)
mul16u: {
    .label _1 = $81
    .label a = $23
    .label mb = $29
    .label res = $25
    .label b = $2d
    .label return = $73
    // [132] phi from mul16u to mul16u::@1 [phi:mul16u->mul16u::@1]
  b1_from_mul16u:
    // [132] phi (dword) mul16u::mb#2 = (word) mul16u::b#0 [phi:mul16u->mul16u::@1#0] -- vduz1=vwuz2 
    lda.z b
    sta.z mb
    lda.z b+1
    sta.z mb+1
    lda #0
    sta.z mb+2
    sta.z mb+3
    // [132] phi (dword) mul16u::res#2 = (byte) 0 [phi:mul16u->mul16u::@1#1] -- vduz1=vbuc1 
    lda #0
    sta.z res
    lda #0
    sta.z res+1
    sta.z res+2
    sta.z res+3
    // [132] phi (word) mul16u::a#2 = (word) mul16u::a#1 [phi:mul16u->mul16u::@1#2] -- register_copy 
    jmp b1
    // mul16u::@1
  b1:
    // [133] if((word) mul16u::a#2!=(byte) 0) goto mul16u::@2 -- vwuz1_neq_0_then_la1 
    lda.z a
    bne b2
    lda.z a+1
    bne b2
    jmp breturn
    // mul16u::@return
  breturn:
    // [134] return 
    rts
    // mul16u::@2
  b2:
    // [135] (byte~) mul16u::$1 ← (word) mul16u::a#2 & (byte) 1 -- vbuz1=vwuz2_band_vbuc1 
    lda.z a
    and #1
    sta.z _1
    // [136] if((byte~) mul16u::$1==(byte) 0) goto mul16u::@3 -- vbuz1_eq_0_then_la1 
    lda.z _1
    cmp #0
    beq b3_from_b2
    jmp b4
    // mul16u::@4
  b4:
    // [137] (dword) mul16u::res#1 ← (dword) mul16u::res#2 + (dword) mul16u::mb#2 -- vduz1=vduz1_plus_vduz2 
    lda.z res
    clc
    adc.z mb
    sta.z res
    lda.z res+1
    adc.z mb+1
    sta.z res+1
    lda.z res+2
    adc.z mb+2
    sta.z res+2
    lda.z res+3
    adc.z mb+3
    sta.z res+3
    // [138] phi from mul16u::@2 mul16u::@4 to mul16u::@3 [phi:mul16u::@2/mul16u::@4->mul16u::@3]
  b3_from_b2:
  b3_from_b4:
    // [138] phi (dword) mul16u::res#6 = (dword) mul16u::res#2 [phi:mul16u::@2/mul16u::@4->mul16u::@3#0] -- register_copy 
    jmp b3
    // mul16u::@3
  b3:
    // [139] (word) mul16u::a#0 ← (word) mul16u::a#2 >> (byte) 1 -- vwuz1=vwuz1_ror_1 
    lsr.z a+1
    ror.z a
    // [140] (dword) mul16u::mb#1 ← (dword) mul16u::mb#2 << (byte) 1 -- vduz1=vduz1_rol_1 
    asl.z mb
    rol.z mb+1
    rol.z mb+2
    rol.z mb+3
    // [132] phi from mul16u::@3 to mul16u::@1 [phi:mul16u::@3->mul16u::@1]
  b1_from_b3:
    // [132] phi (dword) mul16u::mb#2 = (dword) mul16u::mb#1 [phi:mul16u::@3->mul16u::@1#0] -- register_copy 
    // [132] phi (dword) mul16u::res#2 = (dword) mul16u::res#6 [phi:mul16u::@3->mul16u::@1#1] -- register_copy 
    // [132] phi (word) mul16u::a#2 = (word) mul16u::a#0 [phi:mul16u::@3->mul16u::@1#2] -- register_copy 
    jmp b1
}
  // div32u16u
// Divide unsigned 32-bit dword dividend with a 16-bit word divisor
// The 16-bit word remainder can be found in rem16u after the division
div32u16u: {
    .label quotient_hi = $84
    .label quotient_lo = $88
    .label return = $8a
    .label return_2 = $92
    .label return_3 = $4b
    // [142] call divr16u 
    // [151] phi from div32u16u to divr16u [phi:div32u16u->divr16u]
  divr16u_from_div32u16u:
    // [151] phi (word) divr16u::dividend#5 = >(const dword) PI2_u4f28#0 [phi:div32u16u->divr16u#0] -- vwuz1=vwuc1 
    lda #<PI2_u4f28>>$10
    sta.z divr16u.dividend
    lda #>PI2_u4f28>>$10
    sta.z divr16u.dividend+1
    // [151] phi (word) divr16u::rem#10 = (byte) 0 [phi:div32u16u->divr16u#1] -- vwuz1=vbuc1 
    lda #<0
    sta.z divr16u.rem
    lda #>0
    sta.z divr16u.rem+1
    jsr divr16u
    // [143] (word) divr16u::return#2 ← (word) divr16u::return#0 -- vwuz1=vwuz2 
    lda.z divr16u.return
    sta.z divr16u.return_2
    lda.z divr16u.return+1
    sta.z divr16u.return_2+1
    jmp b1
    // div32u16u::@1
  b1:
    // [144] (word) div32u16u::quotient_hi#0 ← (word) divr16u::return#2 -- vwuz1=vwuz2 
    lda.z divr16u.return_2
    sta.z quotient_hi
    lda.z divr16u.return_2+1
    sta.z quotient_hi+1
    // [145] (word) divr16u::rem#4 ← (word) rem16u#1 -- vwuz1=vwuz2 
    lda.z rem16u
    sta.z divr16u.rem
    lda.z rem16u+1
    sta.z divr16u.rem+1
    // [146] call divr16u 
    // [151] phi from div32u16u::@1 to divr16u [phi:div32u16u::@1->divr16u]
  divr16u_from_b1:
    // [151] phi (word) divr16u::dividend#5 = <(const dword) PI2_u4f28#0 [phi:div32u16u::@1->divr16u#0] -- vwuz1=vwuc1 
    lda #<PI2_u4f28&$ffff
    sta.z divr16u.dividend
    lda #>PI2_u4f28&$ffff
    sta.z divr16u.dividend+1
    // [151] phi (word) divr16u::rem#10 = (word) divr16u::rem#4 [phi:div32u16u::@1->divr16u#1] -- register_copy 
    jsr divr16u
    // [147] (word) divr16u::return#3 ← (word) divr16u::return#0 -- vwuz1=vwuz2 
    lda.z divr16u.return
    sta.z divr16u.return_3
    lda.z divr16u.return+1
    sta.z divr16u.return_3+1
    jmp b2
    // div32u16u::@2
  b2:
    // [148] (word) div32u16u::quotient_lo#0 ← (word) divr16u::return#3 -- vwuz1=vwuz2 
    lda.z divr16u.return_3
    sta.z quotient_lo
    lda.z divr16u.return_3+1
    sta.z quotient_lo+1
    // [149] (dword) div32u16u::return#0 ← (word) div32u16u::quotient_hi#0 dw= (word) div32u16u::quotient_lo#0 -- vduz1=vwuz2_dword_vwuz3 
    lda.z quotient_hi
    sta.z return+2
    lda.z quotient_hi+1
    sta.z return+3
    lda.z quotient_lo
    sta.z return
    lda.z quotient_lo+1
    sta.z return+1
    jmp breturn
    // div32u16u::@return
  breturn:
    // [150] return 
    rts
}
  // divr16u
// Performs division on two 16 bit unsigned words and an initial remainder
// Returns the quotient dividend/divisor.
// The final remainder will be set into the global variable rem16u
// Implemented using simple binary division
// divr16u(word zeropage($31) dividend, word zeropage($2f) rem)
divr16u: {
    .label _1 = $8e
    .label _2 = $8f
    .label rem = $2f
    .label dividend = $31
    .label quotient = $33
    .label i = $35
    .label return = $33
    .label return_2 = $82
    .label return_3 = $86
    // [152] phi from divr16u to divr16u::@1 [phi:divr16u->divr16u::@1]
  b1_from_divr16u:
    // [152] phi (byte) divr16u::i#2 = (byte) 0 [phi:divr16u->divr16u::@1#0] -- vbuz1=vbuc1 
    lda #0
    sta.z i
    // [152] phi (word) divr16u::quotient#3 = (byte) 0 [phi:divr16u->divr16u::@1#1] -- vwuz1=vbuc1 
    lda #<0
    sta.z quotient
    lda #>0
    sta.z quotient+1
    // [152] phi (word) divr16u::dividend#3 = (word) divr16u::dividend#5 [phi:divr16u->divr16u::@1#2] -- register_copy 
    // [152] phi (word) divr16u::rem#5 = (word) divr16u::rem#10 [phi:divr16u->divr16u::@1#3] -- register_copy 
    jmp b1
    // [152] phi from divr16u::@3 to divr16u::@1 [phi:divr16u::@3->divr16u::@1]
  b1_from_b3:
    // [152] phi (byte) divr16u::i#2 = (byte) divr16u::i#1 [phi:divr16u::@3->divr16u::@1#0] -- register_copy 
    // [152] phi (word) divr16u::quotient#3 = (word) divr16u::return#0 [phi:divr16u::@3->divr16u::@1#1] -- register_copy 
    // [152] phi (word) divr16u::dividend#3 = (word) divr16u::dividend#0 [phi:divr16u::@3->divr16u::@1#2] -- register_copy 
    // [152] phi (word) divr16u::rem#5 = (word) divr16u::rem#11 [phi:divr16u::@3->divr16u::@1#3] -- register_copy 
    jmp b1
    // divr16u::@1
  b1:
    // [153] (word) divr16u::rem#0 ← (word) divr16u::rem#5 << (byte) 1 -- vwuz1=vwuz1_rol_1 
    asl.z rem
    rol.z rem+1
    // [154] (byte~) divr16u::$1 ← > (word) divr16u::dividend#3 -- vbuz1=_hi_vwuz2 
    lda.z dividend+1
    sta.z _1
    // [155] (byte~) divr16u::$2 ← (byte~) divr16u::$1 & (byte) $80 -- vbuz1=vbuz2_band_vbuc1 
    lda #$80
    and.z _1
    sta.z _2
    // [156] if((byte~) divr16u::$2==(byte) 0) goto divr16u::@2 -- vbuz1_eq_0_then_la1 
    lda.z _2
    cmp #0
    beq b2_from_b1
    jmp b4
    // divr16u::@4
  b4:
    // [157] (word) divr16u::rem#1 ← (word) divr16u::rem#0 | (byte) 1 -- vwuz1=vwuz1_bor_vbuc1 
    lda #1
    ora.z rem
    sta.z rem
    // [158] phi from divr16u::@1 divr16u::@4 to divr16u::@2 [phi:divr16u::@1/divr16u::@4->divr16u::@2]
  b2_from_b1:
  b2_from_b4:
    // [158] phi (word) divr16u::rem#6 = (word) divr16u::rem#0 [phi:divr16u::@1/divr16u::@4->divr16u::@2#0] -- register_copy 
    jmp b2
    // divr16u::@2
  b2:
    // [159] (word) divr16u::dividend#0 ← (word) divr16u::dividend#3 << (byte) 1 -- vwuz1=vwuz1_rol_1 
    asl.z dividend
    rol.z dividend+1
    // [160] (word) divr16u::quotient#1 ← (word) divr16u::quotient#3 << (byte) 1 -- vwuz1=vwuz1_rol_1 
    asl.z quotient
    rol.z quotient+1
    // [161] if((word) divr16u::rem#6<(const word) main::wavelength#0) goto divr16u::@3 -- vwuz1_lt_vwuc1_then_la1 
    lda.z rem+1
    cmp #>main.wavelength
    bcc b3_from_b2
    bne !+
    lda.z rem
    cmp #<main.wavelength
    bcc b3_from_b2
  !:
    jmp b5
    // divr16u::@5
  b5:
    // [162] (word) divr16u::quotient#2 ← ++ (word) divr16u::quotient#1 -- vwuz1=_inc_vwuz1 
    inc.z quotient
    bne !+
    inc.z quotient+1
  !:
    // [163] (word) divr16u::rem#2 ← (word) divr16u::rem#6 - (const word) main::wavelength#0 -- vwuz1=vwuz1_minus_vwuc1 
    lda.z rem
    sec
    sbc #<main.wavelength
    sta.z rem
    lda.z rem+1
    sbc #>main.wavelength
    sta.z rem+1
    // [164] phi from divr16u::@2 divr16u::@5 to divr16u::@3 [phi:divr16u::@2/divr16u::@5->divr16u::@3]
  b3_from_b2:
  b3_from_b5:
    // [164] phi (word) divr16u::return#0 = (word) divr16u::quotient#1 [phi:divr16u::@2/divr16u::@5->divr16u::@3#0] -- register_copy 
    // [164] phi (word) divr16u::rem#11 = (word) divr16u::rem#6 [phi:divr16u::@2/divr16u::@5->divr16u::@3#1] -- register_copy 
    jmp b3
    // divr16u::@3
  b3:
    // [165] (byte) divr16u::i#1 ← ++ (byte) divr16u::i#2 -- vbuz1=_inc_vbuz1 
    inc.z i
    // [166] if((byte) divr16u::i#1!=(byte) $10) goto divr16u::@1 -- vbuz1_neq_vbuc1_then_la1 
    lda #$10
    cmp.z i
    bne b1_from_b3
    jmp b6
    // divr16u::@6
  b6:
    // [167] (word) rem16u#1 ← (word) divr16u::rem#11 -- vwuz1=vwuz2 
    lda.z rem
    sta.z rem16u
    lda.z rem+1
    sta.z rem16u+1
    jmp breturn
    // divr16u::@return
  breturn:
    // [168] return 
    rts
}
  // sin16s_gen
// Generate signed (large) word sinus table - on the full -$7fff - $7fff range
// sintab - the table to generate into
// wavelength - the number of sinus points in a total sinus wavelength (the size of the table)
// sin16s_gen(signed word* zeropage($3c) sintab)
sin16s_gen: {
    .label _2 = $9c
    .label step = $96
    .label sintab = $3c
    .label x = $38
    .label i = $36
    // [170] call div32u16u 
    // [141] phi from sin16s_gen to div32u16u [phi:sin16s_gen->div32u16u]
  div32u16u_from_sin16s_gen:
    jsr div32u16u
    // [171] (dword) div32u16u::return#2 ← (dword) div32u16u::return#0 -- vduz1=vduz2 
    lda.z div32u16u.return
    sta.z div32u16u.return_2
    lda.z div32u16u.return+1
    sta.z div32u16u.return_2+1
    lda.z div32u16u.return+2
    sta.z div32u16u.return_2+2
    lda.z div32u16u.return+3
    sta.z div32u16u.return_2+3
    jmp b3
    // sin16s_gen::@3
  b3:
    // [172] (dword) sin16s_gen::step#0 ← (dword) div32u16u::return#2 -- vduz1=vduz2 
    lda.z div32u16u.return_2
    sta.z step
    lda.z div32u16u.return_2+1
    sta.z step+1
    lda.z div32u16u.return_2+2
    sta.z step+2
    lda.z div32u16u.return_2+3
    sta.z step+3
    // [173] phi from sin16s_gen::@3 to sin16s_gen::@2 [phi:sin16s_gen::@3->sin16s_gen::@2]
  b2_from_b3:
    // [173] phi (signed word*) sin16s_gen::sintab#7 = (const signed word[$78]) main::sintab1#0 [phi:sin16s_gen::@3->sin16s_gen::@2#0] -- pwsz1=pwsc1 
    lda #<main.sintab1
    sta.z sintab
    lda #>main.sintab1
    sta.z sintab+1
    // [173] phi (dword) sin16s_gen::x#5 = (byte) 0 [phi:sin16s_gen::@3->sin16s_gen::@2#1] -- vduz1=vbuc1 
    lda #0
    sta.z x
    lda #0
    sta.z x+1
    sta.z x+2
    sta.z x+3
    // [173] phi (word) sin16s_gen::i#5 = (byte) 0 [phi:sin16s_gen::@3->sin16s_gen::@2#2] -- vwuz1=vbuc1 
    lda #<0
    sta.z i
    lda #>0
    sta.z i+1
    jmp b2
    // [173] phi from sin16s_gen::@1 to sin16s_gen::@2 [phi:sin16s_gen::@1->sin16s_gen::@2]
  b2_from_b1:
    // [173] phi (signed word*) sin16s_gen::sintab#7 = (signed word*) sin16s_gen::sintab#0 [phi:sin16s_gen::@1->sin16s_gen::@2#0] -- register_copy 
    // [173] phi (dword) sin16s_gen::x#5 = (dword) sin16s_gen::x#1 [phi:sin16s_gen::@1->sin16s_gen::@2#1] -- register_copy 
    // [173] phi (word) sin16s_gen::i#5 = (word) sin16s_gen::i#1 [phi:sin16s_gen::@1->sin16s_gen::@2#2] -- register_copy 
    jmp b2
    // sin16s_gen::@2
  b2:
    // [174] (dword) sin16s::x#0 ← (dword) sin16s_gen::x#5 -- vduz1=vduz2 
    lda.z x
    sta.z sin16s.x
    lda.z x+1
    sta.z sin16s.x+1
    lda.z x+2
    sta.z sin16s.x+2
    lda.z x+3
    sta.z sin16s.x+3
    // [175] call sin16s 
    jsr sin16s
    // [176] (signed word) sin16s::return#0 ← (signed word) sin16s::return#1 -- vwsz1=vwsz2 
    lda.z sin16s.return_1
    sta.z sin16s.return
    lda.z sin16s.return_1+1
    sta.z sin16s.return+1
    jmp b4
    // sin16s_gen::@4
  b4:
    // [177] (signed word~) sin16s_gen::$2 ← (signed word) sin16s::return#0 -- vwsz1=vwsz2 
    lda.z sin16s.return
    sta.z _2
    lda.z sin16s.return+1
    sta.z _2+1
    // [178] *((signed word*) sin16s_gen::sintab#7) ← (signed word~) sin16s_gen::$2 -- _deref_pwsz1=vwsz2 
    ldy #0
    lda.z _2
    sta (sintab),y
    iny
    lda.z _2+1
    sta (sintab),y
    // [179] (signed word*) sin16s_gen::sintab#0 ← (signed word*) sin16s_gen::sintab#7 + (const byte) SIZEOF_SIGNED_WORD -- pwsz1=pwsz1_plus_vbuc1 
    lda #SIZEOF_SIGNED_WORD
    clc
    adc.z sintab
    sta.z sintab
    bcc !+
    inc.z sintab+1
  !:
    // [180] (dword) sin16s_gen::x#1 ← (dword) sin16s_gen::x#5 + (dword) sin16s_gen::step#0 -- vduz1=vduz1_plus_vduz2 
    lda.z x
    clc
    adc.z step
    sta.z x
    lda.z x+1
    adc.z step+1
    sta.z x+1
    lda.z x+2
    adc.z step+2
    sta.z x+2
    lda.z x+3
    adc.z step+3
    sta.z x+3
    // [181] (word) sin16s_gen::i#1 ← ++ (word) sin16s_gen::i#5 -- vwuz1=_inc_vwuz1 
    inc.z i
    bne !+
    inc.z i+1
  !:
    jmp b1
  // u[4.28]
    // sin16s_gen::@1
  b1:
    // [182] if((word) sin16s_gen::i#1<(const word) main::wavelength#0) goto sin16s_gen::@2 -- vwuz1_lt_vwuc1_then_la1 
    lda.z i+1
    cmp #>main.wavelength
    bcc b2_from_b1
    bne !+
    lda.z i
    cmp #<main.wavelength
    bcc b2_from_b1
  !:
    jmp breturn
    // sin16s_gen::@return
  breturn:
    // [183] return 
    rts
}
  // sin16s
// Calculate signed word sinus sin(x)
// x: unsigned dword input u[4.28] in the interval $00000000 - PI2_u4f28
// result: signed word sin(x) s[0.15] - using the full range  -$7fff - $7fff
// sin16s(dword zeropage($3f) x)
sin16s: {
    .label _4 = $9e
    .label x = $3f
    .label return = $9a
    .label x1 = $a2
    .label x2 = $a6
    .label x3 = $aa
    .label x3_6 = $ae
    .label usinx = $b0
    .label x4 = $b4
    .label x5 = $b8
    .label x5_128 = $ba
    .label usinx_1 = $bc
    .label return_1 = $43
    .label sinx = $43
    .label isUpper = $3e
    .label return_5 = $43
    // [184] if((dword) sin16s::x#0<(const dword) PI_u4f28#0) goto sin16s::@1 -- vduz1_lt_vduc1_then_la1 
    lda.z x+3
    cmp #>PI_u4f28>>$10
    bcc b1_from_sin16s
    bne !+
    lda.z x+2
    cmp #<PI_u4f28>>$10
    bcc b1_from_sin16s
    bne !+
    lda.z x+1
    cmp #>PI_u4f28
    bcc b1_from_sin16s
    bne !+
    lda.z x
    cmp #<PI_u4f28
    bcc b1_from_sin16s
  !:
    jmp b4
    // sin16s::@4
  b4:
    // [185] (dword) sin16s::x#1 ← (dword) sin16s::x#0 - (const dword) PI_u4f28#0 -- vduz1=vduz1_minus_vduc1 
    lda.z x
    sec
    sbc #<PI_u4f28
    sta.z x
    lda.z x+1
    sbc #>PI_u4f28
    sta.z x+1
    lda.z x+2
    sbc #<PI_u4f28>>$10
    sta.z x+2
    lda.z x+3
    sbc #>PI_u4f28>>$10
    sta.z x+3
    // [186] phi from sin16s::@4 to sin16s::@1 [phi:sin16s::@4->sin16s::@1]
  b1_from_b4:
    // [186] phi (byte) sin16s::isUpper#2 = (byte) 1 [phi:sin16s::@4->sin16s::@1#0] -- vbuz1=vbuc1 
    lda #1
    sta.z isUpper
    // [186] phi (dword) sin16s::x#4 = (dword) sin16s::x#1 [phi:sin16s::@4->sin16s::@1#1] -- register_copy 
    jmp b1
    // [186] phi from sin16s to sin16s::@1 [phi:sin16s->sin16s::@1]
  b1_from_sin16s:
    // [186] phi (byte) sin16s::isUpper#2 = (byte) 0 [phi:sin16s->sin16s::@1#0] -- vbuz1=vbuc1 
    lda #0
    sta.z isUpper
    // [186] phi (dword) sin16s::x#4 = (dword) sin16s::x#0 [phi:sin16s->sin16s::@1#1] -- register_copy 
    jmp b1
    // sin16s::@1
  b1:
    // [187] if((dword) sin16s::x#4<(const dword) PI_HALF_u4f28#0) goto sin16s::@2 -- vduz1_lt_vduc1_then_la1 
    lda.z x+3
    cmp #>PI_HALF_u4f28>>$10
    bcc b2_from_b1
    bne !+
    lda.z x+2
    cmp #<PI_HALF_u4f28>>$10
    bcc b2_from_b1
    bne !+
    lda.z x+1
    cmp #>PI_HALF_u4f28
    bcc b2_from_b1
    bne !+
    lda.z x
    cmp #<PI_HALF_u4f28
    bcc b2_from_b1
  !:
    jmp b5
    // sin16s::@5
  b5:
    // [188] (dword) sin16s::x#2 ← (const dword) PI_u4f28#0 - (dword) sin16s::x#4 -- vduz1=vduc1_minus_vduz1 
    lda #<PI_u4f28
    sec
    sbc.z x
    sta.z x
    lda #>PI_u4f28
    sbc.z x+1
    sta.z x+1
    lda #<PI_u4f28>>$10
    sbc.z x+2
    sta.z x+2
    lda #>PI_u4f28>>$10
    sbc.z x+3
    sta.z x+3
    // [189] phi from sin16s::@1 sin16s::@5 to sin16s::@2 [phi:sin16s::@1/sin16s::@5->sin16s::@2]
  b2_from_b1:
  b2_from_b5:
    // [189] phi (dword) sin16s::x#6 = (dword) sin16s::x#4 [phi:sin16s::@1/sin16s::@5->sin16s::@2#0] -- register_copy 
    jmp b2
    // sin16s::@2
  b2:
    // [190] (dword~) sin16s::$4 ← (dword) sin16s::x#6 << (byte) 3 -- vduz1=vduz2_rol_3 
    lda.z x
    sta.z _4
    lda.z x+1
    sta.z _4+1
    lda.z x+2
    sta.z _4+2
    lda.z x+3
    sta.z _4+3
    ldy #3
  !:
    asl.z _4
    rol.z _4+1
    rol.z _4+2
    rol.z _4+3
    dey
    bne !-
    // [191] (word) sin16s::x1#0 ← > (dword~) sin16s::$4 -- vwuz1=_hi_vduz2 
    lda.z _4+2
    sta.z x1
    lda.z _4+3
    sta.z x1+1
    // [192] (word) mulu16_sel::v1#0 ← (word) sin16s::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v1
    lda.z x1+1
    sta.z mulu16_sel.v1+1
    // [193] (word) mulu16_sel::v2#0 ← (word) sin16s::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [194] call mulu16_sel 
    // [122] phi from sin16s::@2 to mulu16_sel [phi:sin16s::@2->mulu16_sel]
  mulu16_sel_from_b2:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 0 [phi:sin16s::@2->mulu16_sel#0] -- vbuz1=vbuc1 
    lda #0
    sta.z mulu16_sel.select
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#0 [phi:sin16s::@2->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#0 [phi:sin16s::@2->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [195] (word) mulu16_sel::return#0 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return+1
    jmp b7
    // sin16s::@7
  b7:
    // [196] (word) sin16s::x2#0 ← (word) mulu16_sel::return#0 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return
    sta.z x2
    lda.z mulu16_sel.return+1
    sta.z x2+1
    // [197] (word) mulu16_sel::v1#1 ← (word) sin16s::x2#0 -- vwuz1=vwuz2 
    lda.z x2
    sta.z mulu16_sel.v1
    lda.z x2+1
    sta.z mulu16_sel.v1+1
    // [198] (word) mulu16_sel::v2#1 ← (word) sin16s::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [199] call mulu16_sel 
    // [122] phi from sin16s::@7 to mulu16_sel [phi:sin16s::@7->mulu16_sel]
  mulu16_sel_from_b7:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 1 [phi:sin16s::@7->mulu16_sel#0] -- vbuz1=vbuc1 
    lda #1
    sta.z mulu16_sel.select
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#1 [phi:sin16s::@7->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#1 [phi:sin16s::@7->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [200] (word) mulu16_sel::return#1 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return_1
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return_1+1
    jmp b8
    // sin16s::@8
  b8:
    // [201] (word) sin16s::x3#0 ← (word) mulu16_sel::return#1 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_1
    sta.z x3
    lda.z mulu16_sel.return_1+1
    sta.z x3+1
    // [202] (word) mulu16_sel::v1#2 ← (word) sin16s::x3#0 -- vwuz1=vwuz2 
    lda.z x3
    sta.z mulu16_sel.v1
    lda.z x3+1
    sta.z mulu16_sel.v1+1
    // [203] call mulu16_sel 
    // [122] phi from sin16s::@8 to mulu16_sel [phi:sin16s::@8->mulu16_sel]
  mulu16_sel_from_b8:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 1 [phi:sin16s::@8->mulu16_sel#0] -- vbuz1=vbuc1 
    lda #1
    sta.z mulu16_sel.select
    // [122] phi (word) mulu16_sel::v2#10 = (word)(number) $10000/(number) 6 [phi:sin16s::@8->mulu16_sel#1] -- vwuz1=vwuc1 
    lda #<$10000/6
    sta.z mulu16_sel.v2
    lda #>$10000/6
    sta.z mulu16_sel.v2+1
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#2 [phi:sin16s::@8->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [204] (word) mulu16_sel::return#14 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return_14
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return_14+1
    jmp b9
    // sin16s::@9
  b9:
    // [205] (word) sin16s::x3_6#0 ← (word) mulu16_sel::return#14 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_14
    sta.z x3_6
    lda.z mulu16_sel.return_14+1
    sta.z x3_6+1
    // [206] (word) sin16s::usinx#0 ← (word) sin16s::x1#0 - (word) sin16s::x3_6#0 -- vwuz1=vwuz2_minus_vwuz3 
    lda.z x1
    sec
    sbc.z x3_6
    sta.z usinx
    lda.z x1+1
    sbc.z x3_6+1
    sta.z usinx+1
    // [207] (word) mulu16_sel::v1#3 ← (word) sin16s::x3#0 -- vwuz1=vwuz2 
    lda.z x3
    sta.z mulu16_sel.v1
    lda.z x3+1
    sta.z mulu16_sel.v1+1
    // [208] (word) mulu16_sel::v2#3 ← (word) sin16s::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [209] call mulu16_sel 
    // [122] phi from sin16s::@9 to mulu16_sel [phi:sin16s::@9->mulu16_sel]
  mulu16_sel_from_b9:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 0 [phi:sin16s::@9->mulu16_sel#0] -- vbuz1=vbuc1 
    lda #0
    sta.z mulu16_sel.select
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#3 [phi:sin16s::@9->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#3 [phi:sin16s::@9->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [210] (word) mulu16_sel::return#15 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return_15
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return_15+1
    jmp b10
    // sin16s::@10
  b10:
    // [211] (word) sin16s::x4#0 ← (word) mulu16_sel::return#15 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_15
    sta.z x4
    lda.z mulu16_sel.return_15+1
    sta.z x4+1
    // [212] (word) mulu16_sel::v1#4 ← (word) sin16s::x4#0 -- vwuz1=vwuz2 
    lda.z x4
    sta.z mulu16_sel.v1
    lda.z x4+1
    sta.z mulu16_sel.v1+1
    // [213] (word) mulu16_sel::v2#4 ← (word) sin16s::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [214] call mulu16_sel 
    // [122] phi from sin16s::@10 to mulu16_sel [phi:sin16s::@10->mulu16_sel]
  mulu16_sel_from_b10:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 0 [phi:sin16s::@10->mulu16_sel#0] -- vbuz1=vbuc1 
    lda #0
    sta.z mulu16_sel.select
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#4 [phi:sin16s::@10->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#4 [phi:sin16s::@10->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [215] (word) mulu16_sel::return#16 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return_16
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return_16+1
    jmp b11
    // sin16s::@11
  b11:
    // [216] (word) sin16s::x5#0 ← (word) mulu16_sel::return#16 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_16
    sta.z x5
    lda.z mulu16_sel.return_16+1
    sta.z x5+1
    // [217] (word) sin16s::x5_128#0 ← (word) sin16s::x5#0 >> (byte) 4 -- vwuz1=vwuz2_ror_4 
    lda.z x5+1
    lsr
    sta.z x5_128+1
    lda.z x5
    ror
    sta.z x5_128
    lsr.z x5_128+1
    ror.z x5_128
    lsr.z x5_128+1
    ror.z x5_128
    lsr.z x5_128+1
    ror.z x5_128
    // [218] (word) sin16s::usinx#1 ← (word) sin16s::usinx#0 + (word) sin16s::x5_128#0 -- vwuz1=vwuz2_plus_vwuz3 
    lda.z usinx
    clc
    adc.z x5_128
    sta.z usinx_1
    lda.z usinx+1
    adc.z x5_128+1
    sta.z usinx_1+1
    // [219] if((byte) sin16s::isUpper#2==(byte) 0) goto sin16s::@12 -- vbuz1_eq_0_then_la1 
    lda.z isUpper
    cmp #0
    beq b12
    jmp b6
    // sin16s::@6
  b6:
    // [220] (signed word) sin16s::sinx#1 ← - (signed word)(word) sin16s::usinx#1 -- vwsz1=_neg_vwsz2 
    sec
    lda #0
    sbc.z usinx_1
    sta.z sinx
    lda #0
    sbc.z usinx_1+1
    sta.z sinx+1
    // [221] phi from sin16s::@12 sin16s::@6 to sin16s::@3 [phi:sin16s::@12/sin16s::@6->sin16s::@3]
  b3_from_b12:
  b3_from_b6:
    // [221] phi (signed word) sin16s::return#1 = (signed word~) sin16s::return#5 [phi:sin16s::@12/sin16s::@6->sin16s::@3#0] -- register_copy 
    jmp b3
    // sin16s::@3
  b3:
    jmp breturn
    // sin16s::@return
  breturn:
    // [222] return 
    rts
    // sin16s::@12
  b12:
    // [223] (signed word~) sin16s::return#5 ← (signed word)(word) sin16s::usinx#1 -- vwsz1=vwsz2 
    lda.z usinx_1
    sta.z return_5
    lda.z usinx_1+1
    sta.z return_5+1
    jmp b3_from_b12
}
  // File Data
  print_hextab: .text "0123456789abcdef"

REGISTER UPLIFT POTENTIAL REGISTERS
Statement [11] (signed word) main::sw#0 ← *((signed word*) main::st1#2) - *((signed word*) main::st2#2) [ main::st1#2 main::st2#2 print_char_cursor#52 main::i#2 main::sw#0 ] ( main:2 [ main::st1#2 main::st2#2 print_char_cursor#52 main::i#2 main::sw#0 ] ) always clobbers reg byte a reg byte y 
Removing always clobbered register reg byte a as potential for zp ZP_BYTE:6 [ main::i#2 main::i#1 ]
Removing always clobbered register reg byte y as potential for zp ZP_BYTE:6 [ main::i#2 main::i#1 ]
Statement [12] if((signed word) main::sw#0<(signed byte) 0) goto main::@2 [ main::st1#2 main::st2#2 print_char_cursor#52 main::i#2 main::sw#0 ] ( main:2 [ main::st1#2 main::st2#2 print_char_cursor#52 main::i#2 main::sw#0 ] ) always clobbers reg byte a 
Statement [16] (signed word) print_sword::w#1 ← (signed word) main::sw#0 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#51 print_sword::w#1 ] ( main:2 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#51 print_sword::w#1 ] ) always clobbers reg byte a 
Statement [20] (signed word*) main::st1#1 ← (signed word*) main::st1#2 + (const byte) SIZEOF_SIGNED_WORD [ main::st2#2 main::i#2 main::st1#1 print_char_cursor#2 ] ( main:2 [ main::st2#2 main::i#2 main::st1#1 print_char_cursor#2 ] ) always clobbers reg byte a 
Statement [21] (signed word*) main::st2#1 ← (signed word*) main::st2#2 + (const byte) SIZEOF_SIGNED_WORD [ main::i#2 main::st1#1 main::st2#1 print_char_cursor#2 ] ( main:2 [ main::i#2 main::st1#1 main::st2#1 print_char_cursor#2 ] ) always clobbers reg byte a 
Statement [27] if((byte) 0!=*((byte*) print_str::str#3)) goto print_str::@2 [ print_char_cursor#2 print_str::str#3 ] ( main:2::print_str:14 [ main::st1#2 main::st2#2 main::i#2 main::sw#0 print_char_cursor#2 print_str::str#3 ] main:2::print_str:19 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#2 print_str::str#3 ] ) always clobbers reg byte a reg byte y 
Statement [29] *((byte*) print_char_cursor#2) ← *((byte*) print_str::str#3) [ print_char_cursor#2 print_str::str#3 ] ( main:2::print_str:14 [ main::st1#2 main::st2#2 main::i#2 main::sw#0 print_char_cursor#2 print_str::str#3 ] main:2::print_str:19 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#2 print_str::str#3 ] ) always clobbers reg byte a reg byte y 
Statement [32] if((signed word) print_sword::w#1<(signed byte) 0) goto print_sword::@1 [ print_char_cursor#51 print_sword::w#1 ] ( main:2::print_sword:17 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#51 print_sword::w#1 ] ) always clobbers reg byte a 
Statement [36] (word) print_word::w#0 ← (word)(signed word) print_sword::w#4 [ print_char_cursor#13 print_word::w#0 ] ( main:2::print_sword:17 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#13 print_word::w#0 ] ) always clobbers reg byte a 
Statement [41] (signed word) print_sword::w#0 ← - (signed word) print_sword::w#1 [ print_char_cursor#13 print_sword::w#0 ] ( main:2::print_sword:17 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#13 print_sword::w#0 ] ) always clobbers reg byte a 
Statement [43] *((byte*) print_char_cursor#35) ← (byte) print_char::ch#4 [ print_char_cursor#35 ] ( main:2::print_sword:17::print_char:34 [ main::st1#2 main::st2#2 main::i#2 print_sword::w#1 print_char_cursor#35 ] main:2::print_sword:17::print_char:40 [ main::st1#2 main::st2#2 main::i#2 print_sword::w#1 print_char_cursor#35 ] main:2::print_sword:17::print_word:37::print_byte:47::print_char:54 [ main::st1#2 main::st2#2 main::i#2 print_word::w#0 print_byte::b#2 print_char_cursor#35 ] main:2::print_sword:17::print_word:37::print_byte:49::print_char:54 [ main::st1#2 main::st2#2 main::i#2 print_byte::b#2 print_char_cursor#35 ] main:2::print_sword:17::print_word:37::print_byte:47::print_char:57 [ main::st1#2 main::st2#2 main::i#2 print_word::w#0 print_char_cursor#35 ] main:2::print_sword:17::print_word:37::print_byte:49::print_char:57 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#35 ] ) always clobbers reg byte y 
Removing always clobbered register reg byte y as potential for zp ZP_BYTE:14 [ print_byte::b#2 print_byte::b#0 print_byte::b#1 ]
Statement [46] (byte) print_byte::b#0 ← > (word) print_word::w#0 [ print_char_cursor#13 print_word::w#0 print_byte::b#0 ] ( main:2::print_sword:17::print_word:37 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#13 print_word::w#0 print_byte::b#0 ] ) always clobbers reg byte a 
Statement [48] (byte) print_byte::b#1 ← < (word) print_word::w#0 [ print_char_cursor#13 print_byte::b#1 ] ( main:2::print_sword:17::print_word:37 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#13 print_byte::b#1 ] ) always clobbers reg byte a 
Statement [52] (byte~) print_byte::$0 ← (byte) print_byte::b#2 >> (byte) 4 [ print_char_cursor#13 print_byte::b#2 print_byte::$0 ] ( main:2::print_sword:17::print_word:37::print_byte:47 [ main::st1#2 main::st2#2 main::i#2 print_word::w#0 print_char_cursor#13 print_byte::b#2 print_byte::$0 ] main:2::print_sword:17::print_word:37::print_byte:49 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#13 print_byte::b#2 print_byte::$0 ] ) always clobbers reg byte a 
Removing always clobbered register reg byte a as potential for zp ZP_BYTE:14 [ print_byte::b#2 print_byte::b#0 print_byte::b#1 ]
Statement [55] (byte~) print_byte::$2 ← (byte) print_byte::b#2 & (byte) $f [ print_char_cursor#13 print_byte::$2 ] ( main:2::print_sword:17::print_word:37::print_byte:47 [ main::st1#2 main::st2#2 main::i#2 print_word::w#0 print_char_cursor#13 print_byte::$2 ] main:2::print_sword:17::print_word:37::print_byte:49 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#13 print_byte::$2 ] ) always clobbers reg byte a 
Statement [64] *((byte*) memset::dst#4) ← (const byte) memset::c#0 [ memset::dst#4 ] ( main:2::print_cls:9::memset:60 [ memset::dst#4 ] ) always clobbers reg byte a reg byte y 
Statement [66] if((byte*) memset::dst#1!=(const byte*) memset::end#0) goto memset::@2 [ memset::dst#1 ] ( main:2::print_cls:9::memset:60 [ memset::dst#1 ] ) always clobbers reg byte a 
Statement [70] (dword) div32u16u::return#3 ← (dword) div32u16u::return#0 [ div32u16u::return#3 ] ( main:2::sin16s_genb:7 [ div32u16u::return#3 ] ) always clobbers reg byte a 
Statement [71] (dword) sin16s_genb::step#0 ← (dword) div32u16u::return#3 [ sin16s_genb::step#0 ] ( main:2::sin16s_genb:7 [ sin16s_genb::step#0 ] ) always clobbers reg byte a 
Statement [73] (word) sin16sb::x#0 ← > (dword) sin16s_genb::x#5 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::x#0 ] ( main:2::sin16s_genb:7 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::x#0 ] ) always clobbers reg byte a 
Statement [75] (signed word) sin16sb::return#0 ← (signed word) sin16sb::return#1 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::return#0 ] ( main:2::sin16s_genb:7 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::return#0 ] ) always clobbers reg byte a 
Statement [76] (signed word~) sin16s_genb::$3 ← (signed word) sin16sb::return#0 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16s_genb::$3 ] ( main:2::sin16s_genb:7 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16s_genb::$3 ] ) always clobbers reg byte a 
Statement [77] *((signed word*) sin16s_genb::sintab#7) ← (signed word~) sin16s_genb::$3 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 ] ( main:2::sin16s_genb:7 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 ] ) always clobbers reg byte a reg byte y 
Statement [78] (signed word*) sin16s_genb::sintab#0 ← (signed word*) sin16s_genb::sintab#7 + (const byte) SIZEOF_SIGNED_WORD [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#0 ] ( main:2::sin16s_genb:7 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#0 ] ) always clobbers reg byte a 
Statement [79] (dword) sin16s_genb::x#1 ← (dword) sin16s_genb::x#5 + (dword) sin16s_genb::step#0 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#1 sin16s_genb::sintab#0 ] ( main:2::sin16s_genb:7 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#1 sin16s_genb::sintab#0 ] ) always clobbers reg byte a 
Statement [81] if((word) sin16s_genb::i#1<(const word) main::wavelength#0) goto sin16s_genb::@2 [ sin16s_genb::step#0 sin16s_genb::i#1 sin16s_genb::x#1 sin16s_genb::sintab#0 ] ( main:2::sin16s_genb:7 [ sin16s_genb::step#0 sin16s_genb::i#1 sin16s_genb::x#1 sin16s_genb::sintab#0 ] ) always clobbers reg byte a 
Statement [83] if((word) sin16sb::x#0<(const word) PI_u4f12#0) goto sin16sb::@1 [ sin16sb::x#0 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::x#0 ] ) always clobbers reg byte a 
Statement [84] (word) sin16sb::x#1 ← (word) sin16sb::x#0 - (const word) PI_u4f12#0 [ sin16sb::x#1 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::x#1 ] ) always clobbers reg byte a 
Statement [86] if((word) sin16sb::x#4<(const word) PI_HALF_u4f12#0) goto sin16sb::@2 [ sin16sb::x#4 sin16sb::isUpper#2 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::x#4 sin16sb::isUpper#2 ] ) always clobbers reg byte a 
Removing always clobbered register reg byte a as potential for zp ZP_BYTE:25 [ sin16sb::isUpper#2 ]
Statement [87] (word) sin16sb::x#2 ← (const word) PI_u4f12#0 - (word) sin16sb::x#4 [ sin16sb::isUpper#2 sin16sb::x#2 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x#2 ] ) always clobbers reg byte a 
Statement [89] (word) sin16sb::x1#0 ← (word) sin16sb::x#6 << (byte) 3 [ sin16sb::isUpper#2 sin16sb::x1#0 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 ] ) always clobbers reg byte a 
Statement [90] (word) mulu16_sel::v1#5 ← (word) sin16sb::x1#0 [ sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v1#5 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v1#5 ] ) always clobbers reg byte a 
Statement [91] (word) mulu16_sel::v2#5 ← (word) sin16sb::x1#0 [ sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v1#5 mulu16_sel::v2#5 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v1#5 mulu16_sel::v2#5 ] ) always clobbers reg byte a 
Statement [93] (word) mulu16_sel::return#18 ← (word) mulu16_sel::return#17 [ sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::return#18 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::return#18 ] ) always clobbers reg byte a 
Statement [94] (word) sin16sb::x2#0 ← (word) mulu16_sel::return#18 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x2#0 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x2#0 ] ) always clobbers reg byte a 
Statement [95] (word) mulu16_sel::v1#6 ← (word) sin16sb::x2#0 [ sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v1#6 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v1#6 ] ) always clobbers reg byte a 
Statement [96] (word) mulu16_sel::v2#6 ← (word) sin16sb::x1#0 [ sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v1#6 mulu16_sel::v2#6 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v1#6 mulu16_sel::v2#6 ] ) always clobbers reg byte a 
Statement [98] (word) mulu16_sel::return#19 ← (word) mulu16_sel::return#17 [ sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::return#19 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::return#19 ] ) always clobbers reg byte a 
Statement [99] (word) sin16sb::x3#0 ← (word) mulu16_sel::return#19 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 ] ) always clobbers reg byte a 
Statement [100] (word) mulu16_sel::v1#7 ← (word) sin16sb::x3#0 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::v1#7 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::v1#7 ] ) always clobbers reg byte a 
Statement [102] (word) mulu16_sel::return#20 ← (word) mulu16_sel::return#17 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::return#20 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::return#20 ] ) always clobbers reg byte a 
Statement [103] (word) sin16sb::x3_6#0 ← (word) mulu16_sel::return#20 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 sin16sb::x3_6#0 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 sin16sb::x3_6#0 ] ) always clobbers reg byte a 
Statement [104] (word) sin16sb::usinx#0 ← (word) sin16sb::x1#0 - (word) sin16sb::x3_6#0 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 sin16sb::usinx#0 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 sin16sb::usinx#0 ] ) always clobbers reg byte a 
Statement [105] (word) mulu16_sel::v1#8 ← (word) sin16sb::x3#0 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::v1#8 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::v1#8 ] ) always clobbers reg byte a 
Statement [106] (word) mulu16_sel::v2#8 ← (word) sin16sb::x1#0 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::v1#8 mulu16_sel::v2#8 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::v1#8 mulu16_sel::v2#8 ] ) always clobbers reg byte a 
Statement [108] (word) mulu16_sel::return#10 ← (word) mulu16_sel::return#17 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::return#10 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::return#10 ] ) always clobbers reg byte a 
Statement [109] (word) sin16sb::x4#0 ← (word) mulu16_sel::return#10 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 sin16sb::x4#0 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 sin16sb::x4#0 ] ) always clobbers reg byte a 
Statement [110] (word) mulu16_sel::v1#9 ← (word) sin16sb::x4#0 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::v1#9 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::v1#9 ] ) always clobbers reg byte a 
Statement [111] (word) mulu16_sel::v2#9 ← (word) sin16sb::x1#0 [ sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::v1#9 mulu16_sel::v2#9 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::v1#9 mulu16_sel::v2#9 ] ) always clobbers reg byte a 
Statement [113] (word) mulu16_sel::return#11 ← (word) mulu16_sel::return#17 [ sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::return#11 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::return#11 ] ) always clobbers reg byte a 
Statement [114] (word) sin16sb::x5#0 ← (word) mulu16_sel::return#11 [ sin16sb::isUpper#2 sin16sb::usinx#0 sin16sb::x5#0 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 sin16sb::x5#0 ] ) always clobbers reg byte a 
Statement [115] (word) sin16sb::x5_128#0 ← (word) sin16sb::x5#0 >> (byte) 4 [ sin16sb::isUpper#2 sin16sb::usinx#0 sin16sb::x5_128#0 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 sin16sb::x5_128#0 ] ) always clobbers reg byte a 
Statement [116] (word) sin16sb::usinx#1 ← (word) sin16sb::usinx#0 + (word) sin16sb::x5_128#0 [ sin16sb::isUpper#2 sin16sb::usinx#1 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#1 ] ) always clobbers reg byte a 
Statement [118] (signed word) sin16sb::sinx#1 ← - (signed word)(word) sin16sb::usinx#1 [ sin16sb::sinx#1 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::sinx#1 ] ) always clobbers reg byte a 
Statement [121] (signed word~) sin16sb::return#5 ← (signed word)(word) sin16sb::usinx#1 [ sin16sb::return#5 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::return#5 ] ) always clobbers reg byte a 
Statement [123] (word) mul16u::a#1 ← (word) mulu16_sel::v1#10 [ mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] ( main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:92 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:97 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:101 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:107 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:112 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:194 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:199 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:203 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:209 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:214 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] ) always clobbers reg byte a 
Removing always clobbered register reg byte a as potential for zp ZP_BYTE:34 [ mulu16_sel::select#10 ]
Removing always clobbered register reg byte a as potential for zp ZP_BYTE:62 [ sin16s::isUpper#2 ]
Statement [124] (word) mul16u::b#0 ← (word) mulu16_sel::v2#10 [ mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] ( main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:92 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:97 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:101 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:107 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:112 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:194 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:199 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:203 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:209 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:214 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] ) always clobbers reg byte a 
Statement [126] (dword) mul16u::return#2 ← (dword) mul16u::res#2 [ mulu16_sel::select#10 mul16u::return#2 ] ( main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:92 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::return#2 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:97 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::return#2 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:101 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::select#10 mul16u::return#2 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:107 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::return#2 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:112 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::return#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:194 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::return#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:199 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::return#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:203 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::select#10 mul16u::return#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:209 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::select#10 mul16u::return#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:214 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::select#10 mul16u::return#2 ] ) always clobbers reg byte a 
Statement [127] (dword~) mulu16_sel::$0 ← (dword) mul16u::return#2 [ mulu16_sel::select#10 mulu16_sel::$0 ] ( main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:92 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mulu16_sel::$0 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:97 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mulu16_sel::$0 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:101 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::select#10 mulu16_sel::$0 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:107 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::select#10 mulu16_sel::$0 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:112 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::select#10 mulu16_sel::$0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:194 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mulu16_sel::$0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:199 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mulu16_sel::$0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:203 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::select#10 mulu16_sel::$0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:209 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::select#10 mulu16_sel::$0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:214 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::select#10 mulu16_sel::$0 ] ) always clobbers reg byte a 
Statement [128] (dword~) mulu16_sel::$1 ← (dword~) mulu16_sel::$0 << (byte) mulu16_sel::select#10 [ mulu16_sel::$1 ] ( main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:92 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::$1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:97 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::$1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:101 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::$1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:107 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::$1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:112 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:194 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:199 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:203 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:209 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:214 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::$1 ] ) always clobbers reg byte a 
Statement [129] (word) mulu16_sel::return#17 ← > (dword~) mulu16_sel::$1 [ mulu16_sel::return#17 ] ( main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:92 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::return#17 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:97 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::return#17 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:101 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::return#17 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:107 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::return#17 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:112 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::return#17 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:194 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::return#17 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:199 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::return#17 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:203 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::return#17 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:209 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::return#17 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:214 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::return#17 ] ) always clobbers reg byte a 
Statement [133] if((word) mul16u::a#2!=(byte) 0) goto mul16u::@2 [ mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] ( main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:92::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:97::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:101::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:107::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:112::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:194::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:199::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:203::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:209::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:214::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] ) always clobbers reg byte a 
Statement [135] (byte~) mul16u::$1 ← (word) mul16u::a#2 & (byte) 1 [ mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] ( main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:92::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:97::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:101::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:107::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:112::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:194::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:199::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:203::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:209::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:214::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] ) always clobbers reg byte a 
Statement [137] (dword) mul16u::res#1 ← (dword) mul16u::res#2 + (dword) mul16u::mb#2 [ mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] ( main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:92::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:97::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:101::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:107::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:112::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:194::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:199::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:203::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:209::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:214::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] ) always clobbers reg byte a 
Statement [143] (word) divr16u::return#2 ← (word) divr16u::return#0 [ divr16u::return#2 rem16u#1 ] ( main:2::sin16s_genb:7::div32u16u:69 [ divr16u::return#2 rem16u#1 ] main:2::sin16s_gen:5::div32u16u:170 [ divr16u::return#2 rem16u#1 ] ) always clobbers reg byte a 
Statement [144] (word) div32u16u::quotient_hi#0 ← (word) divr16u::return#2 [ div32u16u::quotient_hi#0 rem16u#1 ] ( main:2::sin16s_genb:7::div32u16u:69 [ div32u16u::quotient_hi#0 rem16u#1 ] main:2::sin16s_gen:5::div32u16u:170 [ div32u16u::quotient_hi#0 rem16u#1 ] ) always clobbers reg byte a 
Statement [145] (word) divr16u::rem#4 ← (word) rem16u#1 [ div32u16u::quotient_hi#0 divr16u::rem#4 ] ( main:2::sin16s_genb:7::div32u16u:69 [ div32u16u::quotient_hi#0 divr16u::rem#4 ] main:2::sin16s_gen:5::div32u16u:170 [ div32u16u::quotient_hi#0 divr16u::rem#4 ] ) always clobbers reg byte a 
Statement [147] (word) divr16u::return#3 ← (word) divr16u::return#0 [ div32u16u::quotient_hi#0 divr16u::return#3 ] ( main:2::sin16s_genb:7::div32u16u:69 [ div32u16u::quotient_hi#0 divr16u::return#3 ] main:2::sin16s_gen:5::div32u16u:170 [ div32u16u::quotient_hi#0 divr16u::return#3 ] ) always clobbers reg byte a 
Statement [148] (word) div32u16u::quotient_lo#0 ← (word) divr16u::return#3 [ div32u16u::quotient_hi#0 div32u16u::quotient_lo#0 ] ( main:2::sin16s_genb:7::div32u16u:69 [ div32u16u::quotient_hi#0 div32u16u::quotient_lo#0 ] main:2::sin16s_gen:5::div32u16u:170 [ div32u16u::quotient_hi#0 div32u16u::quotient_lo#0 ] ) always clobbers reg byte a 
Statement [149] (dword) div32u16u::return#0 ← (word) div32u16u::quotient_hi#0 dw= (word) div32u16u::quotient_lo#0 [ div32u16u::return#0 ] ( main:2::sin16s_genb:7::div32u16u:69 [ div32u16u::return#0 ] main:2::sin16s_gen:5::div32u16u:170 [ div32u16u::return#0 ] ) always clobbers reg byte a 
Statement [154] (byte~) divr16u::$1 ← > (word) divr16u::dividend#3 [ divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] ( main:2::sin16s_genb:7::div32u16u:69::divr16u:142 [ divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:142 [ divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] main:2::sin16s_genb:7::div32u16u:69::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] ) always clobbers reg byte a 
Removing always clobbered register reg byte a as potential for zp ZP_BYTE:53 [ divr16u::i#2 divr16u::i#1 ]
Statement [157] (word) divr16u::rem#1 ← (word) divr16u::rem#0 | (byte) 1 [ divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] ( main:2::sin16s_genb:7::div32u16u:69::divr16u:142 [ divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:142 [ divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] main:2::sin16s_genb:7::div32u16u:69::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] ) always clobbers reg byte a 
Statement [161] if((word) divr16u::rem#6<(const word) main::wavelength#0) goto divr16u::@3 [ divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] ( main:2::sin16s_genb:7::div32u16u:69::divr16u:142 [ divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:142 [ divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] main:2::sin16s_genb:7::div32u16u:69::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] ) always clobbers reg byte a 
Statement [163] (word) divr16u::rem#2 ← (word) divr16u::rem#6 - (const word) main::wavelength#0 [ divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] ( main:2::sin16s_genb:7::div32u16u:69::divr16u:142 [ divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:142 [ divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] main:2::sin16s_genb:7::div32u16u:69::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] ) always clobbers reg byte a 
Statement [167] (word) rem16u#1 ← (word) divr16u::rem#11 [ divr16u::return#0 rem16u#1 ] ( main:2::sin16s_genb:7::div32u16u:69::divr16u:142 [ divr16u::return#0 rem16u#1 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:142 [ divr16u::return#0 rem16u#1 ] main:2::sin16s_genb:7::div32u16u:69::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::return#0 rem16u#1 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::return#0 rem16u#1 ] ) always clobbers reg byte a 
Statement [171] (dword) div32u16u::return#2 ← (dword) div32u16u::return#0 [ div32u16u::return#2 ] ( main:2::sin16s_gen:5 [ div32u16u::return#2 ] ) always clobbers reg byte a 
Statement [172] (dword) sin16s_gen::step#0 ← (dword) div32u16u::return#2 [ sin16s_gen::step#0 ] ( main:2::sin16s_gen:5 [ sin16s_gen::step#0 ] ) always clobbers reg byte a 
Statement [174] (dword) sin16s::x#0 ← (dword) sin16s_gen::x#5 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::x#0 ] ( main:2::sin16s_gen:5 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::x#0 ] ) always clobbers reg byte a 
Statement [176] (signed word) sin16s::return#0 ← (signed word) sin16s::return#1 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::return#0 ] ( main:2::sin16s_gen:5 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::return#0 ] ) always clobbers reg byte a 
Statement [177] (signed word~) sin16s_gen::$2 ← (signed word) sin16s::return#0 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s_gen::$2 ] ( main:2::sin16s_gen:5 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s_gen::$2 ] ) always clobbers reg byte a 
Statement [178] *((signed word*) sin16s_gen::sintab#7) ← (signed word~) sin16s_gen::$2 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 ] ( main:2::sin16s_gen:5 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 ] ) always clobbers reg byte a reg byte y 
Statement [179] (signed word*) sin16s_gen::sintab#0 ← (signed word*) sin16s_gen::sintab#7 + (const byte) SIZEOF_SIGNED_WORD [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#0 ] ( main:2::sin16s_gen:5 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#0 ] ) always clobbers reg byte a 
Statement [180] (dword) sin16s_gen::x#1 ← (dword) sin16s_gen::x#5 + (dword) sin16s_gen::step#0 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#1 sin16s_gen::sintab#0 ] ( main:2::sin16s_gen:5 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#1 sin16s_gen::sintab#0 ] ) always clobbers reg byte a 
Statement [182] if((word) sin16s_gen::i#1<(const word) main::wavelength#0) goto sin16s_gen::@2 [ sin16s_gen::step#0 sin16s_gen::i#1 sin16s_gen::x#1 sin16s_gen::sintab#0 ] ( main:2::sin16s_gen:5 [ sin16s_gen::step#0 sin16s_gen::i#1 sin16s_gen::x#1 sin16s_gen::sintab#0 ] ) always clobbers reg byte a 
Statement [184] if((dword) sin16s::x#0<(const dword) PI_u4f28#0) goto sin16s::@1 [ sin16s::x#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::x#0 ] ) always clobbers reg byte a 
Statement [185] (dword) sin16s::x#1 ← (dword) sin16s::x#0 - (const dword) PI_u4f28#0 [ sin16s::x#1 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::x#1 ] ) always clobbers reg byte a 
Statement [187] if((dword) sin16s::x#4<(const dword) PI_HALF_u4f28#0) goto sin16s::@2 [ sin16s::x#4 sin16s::isUpper#2 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::x#4 sin16s::isUpper#2 ] ) always clobbers reg byte a 
Statement [188] (dword) sin16s::x#2 ← (const dword) PI_u4f28#0 - (dword) sin16s::x#4 [ sin16s::isUpper#2 sin16s::x#2 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x#2 ] ) always clobbers reg byte a 
Statement [190] (dword~) sin16s::$4 ← (dword) sin16s::x#6 << (byte) 3 [ sin16s::isUpper#2 sin16s::$4 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::$4 ] ) always clobbers reg byte a reg byte y 
Removing always clobbered register reg byte y as potential for zp ZP_BYTE:62 [ sin16s::isUpper#2 ]
Statement [191] (word) sin16s::x1#0 ← > (dword~) sin16s::$4 [ sin16s::isUpper#2 sin16s::x1#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 ] ) always clobbers reg byte a 
Statement [192] (word) mulu16_sel::v1#0 ← (word) sin16s::x1#0 [ mulu16_sel::v1#0 sin16s::isUpper#2 sin16s::x1#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 mulu16_sel::v1#0 sin16s::isUpper#2 sin16s::x1#0 ] ) always clobbers reg byte a 
Statement [193] (word) mulu16_sel::v2#0 ← (word) sin16s::x1#0 [ mulu16_sel::v1#0 mulu16_sel::v2#0 sin16s::isUpper#2 sin16s::x1#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 mulu16_sel::v1#0 mulu16_sel::v2#0 sin16s::isUpper#2 sin16s::x1#0 ] ) always clobbers reg byte a 
Statement [195] (word) mulu16_sel::return#0 ← (word) mulu16_sel::return#17 [ sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::return#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::return#0 ] ) always clobbers reg byte a 
Statement [196] (word) sin16s::x2#0 ← (word) mulu16_sel::return#0 [ sin16s::isUpper#2 sin16s::x1#0 sin16s::x2#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x2#0 ] ) always clobbers reg byte a 
Statement [197] (word) mulu16_sel::v1#1 ← (word) sin16s::x2#0 [ mulu16_sel::v1#1 sin16s::isUpper#2 sin16s::x1#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 mulu16_sel::v1#1 sin16s::isUpper#2 sin16s::x1#0 ] ) always clobbers reg byte a 
Statement [198] (word) mulu16_sel::v2#1 ← (word) sin16s::x1#0 [ mulu16_sel::v1#1 mulu16_sel::v2#1 sin16s::isUpper#2 sin16s::x1#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 mulu16_sel::v1#1 mulu16_sel::v2#1 sin16s::isUpper#2 sin16s::x1#0 ] ) always clobbers reg byte a 
Statement [200] (word) mulu16_sel::return#1 ← (word) mulu16_sel::return#17 [ sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::return#1 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::return#1 ] ) always clobbers reg byte a 
Statement [201] (word) sin16s::x3#0 ← (word) mulu16_sel::return#1 [ sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 ] ) always clobbers reg byte a 
Statement [202] (word) mulu16_sel::v1#2 ← (word) sin16s::x3#0 [ mulu16_sel::v1#2 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 mulu16_sel::v1#2 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 ] ) always clobbers reg byte a 
Statement [204] (word) mulu16_sel::return#14 ← (word) mulu16_sel::return#17 [ sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::return#14 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::return#14 ] ) always clobbers reg byte a 
Statement [205] (word) sin16s::x3_6#0 ← (word) mulu16_sel::return#14 [ sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 sin16s::x3_6#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 sin16s::x3_6#0 ] ) always clobbers reg byte a 
Statement [206] (word) sin16s::usinx#0 ← (word) sin16s::x1#0 - (word) sin16s::x3_6#0 [ sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 sin16s::usinx#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 sin16s::usinx#0 ] ) always clobbers reg byte a 
Statement [207] (word) mulu16_sel::v1#3 ← (word) sin16s::x3#0 [ mulu16_sel::v1#3 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 mulu16_sel::v1#3 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 ] ) always clobbers reg byte a 
Statement [208] (word) mulu16_sel::v2#3 ← (word) sin16s::x1#0 [ mulu16_sel::v1#3 mulu16_sel::v2#3 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 mulu16_sel::v1#3 mulu16_sel::v2#3 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 ] ) always clobbers reg byte a 
Statement [210] (word) mulu16_sel::return#15 ← (word) mulu16_sel::return#17 [ sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::return#15 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::return#15 ] ) always clobbers reg byte a 
Statement [211] (word) sin16s::x4#0 ← (word) mulu16_sel::return#15 [ sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 sin16s::x4#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 sin16s::x4#0 ] ) always clobbers reg byte a 
Statement [212] (word) mulu16_sel::v1#4 ← (word) sin16s::x4#0 [ mulu16_sel::v1#4 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 mulu16_sel::v1#4 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 ] ) always clobbers reg byte a 
Statement [213] (word) mulu16_sel::v2#4 ← (word) sin16s::x1#0 [ mulu16_sel::v1#4 mulu16_sel::v2#4 sin16s::isUpper#2 sin16s::usinx#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 mulu16_sel::v1#4 mulu16_sel::v2#4 sin16s::isUpper#2 sin16s::usinx#0 ] ) always clobbers reg byte a 
Statement [215] (word) mulu16_sel::return#16 ← (word) mulu16_sel::return#17 [ sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::return#16 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::return#16 ] ) always clobbers reg byte a 
Statement [216] (word) sin16s::x5#0 ← (word) mulu16_sel::return#16 [ sin16s::isUpper#2 sin16s::usinx#0 sin16s::x5#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 sin16s::x5#0 ] ) always clobbers reg byte a 
Statement [217] (word) sin16s::x5_128#0 ← (word) sin16s::x5#0 >> (byte) 4 [ sin16s::isUpper#2 sin16s::usinx#0 sin16s::x5_128#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 sin16s::x5_128#0 ] ) always clobbers reg byte a 
Statement [218] (word) sin16s::usinx#1 ← (word) sin16s::usinx#0 + (word) sin16s::x5_128#0 [ sin16s::isUpper#2 sin16s::usinx#1 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#1 ] ) always clobbers reg byte a 
Statement [220] (signed word) sin16s::sinx#1 ← - (signed word)(word) sin16s::usinx#1 [ sin16s::sinx#1 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::sinx#1 ] ) always clobbers reg byte a 
Statement [223] (signed word~) sin16s::return#5 ← (signed word)(word) sin16s::usinx#1 [ sin16s::return#5 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::return#5 ] ) always clobbers reg byte a 
Statement [11] (signed word) main::sw#0 ← *((signed word*) main::st1#2) - *((signed word*) main::st2#2) [ main::st1#2 main::st2#2 print_char_cursor#52 main::i#2 main::sw#0 ] ( main:2 [ main::st1#2 main::st2#2 print_char_cursor#52 main::i#2 main::sw#0 ] ) always clobbers reg byte a reg byte y 
Statement [12] if((signed word) main::sw#0<(signed byte) 0) goto main::@2 [ main::st1#2 main::st2#2 print_char_cursor#52 main::i#2 main::sw#0 ] ( main:2 [ main::st1#2 main::st2#2 print_char_cursor#52 main::i#2 main::sw#0 ] ) always clobbers reg byte a 
Statement [16] (signed word) print_sword::w#1 ← (signed word) main::sw#0 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#51 print_sword::w#1 ] ( main:2 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#51 print_sword::w#1 ] ) always clobbers reg byte a 
Statement [20] (signed word*) main::st1#1 ← (signed word*) main::st1#2 + (const byte) SIZEOF_SIGNED_WORD [ main::st2#2 main::i#2 main::st1#1 print_char_cursor#2 ] ( main:2 [ main::st2#2 main::i#2 main::st1#1 print_char_cursor#2 ] ) always clobbers reg byte a 
Statement [21] (signed word*) main::st2#1 ← (signed word*) main::st2#2 + (const byte) SIZEOF_SIGNED_WORD [ main::i#2 main::st1#1 main::st2#1 print_char_cursor#2 ] ( main:2 [ main::i#2 main::st1#1 main::st2#1 print_char_cursor#2 ] ) always clobbers reg byte a 
Statement [27] if((byte) 0!=*((byte*) print_str::str#3)) goto print_str::@2 [ print_char_cursor#2 print_str::str#3 ] ( main:2::print_str:14 [ main::st1#2 main::st2#2 main::i#2 main::sw#0 print_char_cursor#2 print_str::str#3 ] main:2::print_str:19 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#2 print_str::str#3 ] ) always clobbers reg byte a reg byte y 
Statement [29] *((byte*) print_char_cursor#2) ← *((byte*) print_str::str#3) [ print_char_cursor#2 print_str::str#3 ] ( main:2::print_str:14 [ main::st1#2 main::st2#2 main::i#2 main::sw#0 print_char_cursor#2 print_str::str#3 ] main:2::print_str:19 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#2 print_str::str#3 ] ) always clobbers reg byte a reg byte y 
Statement [32] if((signed word) print_sword::w#1<(signed byte) 0) goto print_sword::@1 [ print_char_cursor#51 print_sword::w#1 ] ( main:2::print_sword:17 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#51 print_sword::w#1 ] ) always clobbers reg byte a 
Statement [36] (word) print_word::w#0 ← (word)(signed word) print_sword::w#4 [ print_char_cursor#13 print_word::w#0 ] ( main:2::print_sword:17 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#13 print_word::w#0 ] ) always clobbers reg byte a 
Statement [41] (signed word) print_sword::w#0 ← - (signed word) print_sword::w#1 [ print_char_cursor#13 print_sword::w#0 ] ( main:2::print_sword:17 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#13 print_sword::w#0 ] ) always clobbers reg byte a 
Statement [43] *((byte*) print_char_cursor#35) ← (byte) print_char::ch#4 [ print_char_cursor#35 ] ( main:2::print_sword:17::print_char:34 [ main::st1#2 main::st2#2 main::i#2 print_sword::w#1 print_char_cursor#35 ] main:2::print_sword:17::print_char:40 [ main::st1#2 main::st2#2 main::i#2 print_sword::w#1 print_char_cursor#35 ] main:2::print_sword:17::print_word:37::print_byte:47::print_char:54 [ main::st1#2 main::st2#2 main::i#2 print_word::w#0 print_byte::b#2 print_char_cursor#35 ] main:2::print_sword:17::print_word:37::print_byte:49::print_char:54 [ main::st1#2 main::st2#2 main::i#2 print_byte::b#2 print_char_cursor#35 ] main:2::print_sword:17::print_word:37::print_byte:47::print_char:57 [ main::st1#2 main::st2#2 main::i#2 print_word::w#0 print_char_cursor#35 ] main:2::print_sword:17::print_word:37::print_byte:49::print_char:57 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#35 ] ) always clobbers reg byte y 
Statement [46] (byte) print_byte::b#0 ← > (word) print_word::w#0 [ print_char_cursor#13 print_word::w#0 print_byte::b#0 ] ( main:2::print_sword:17::print_word:37 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#13 print_word::w#0 print_byte::b#0 ] ) always clobbers reg byte a 
Statement [48] (byte) print_byte::b#1 ← < (word) print_word::w#0 [ print_char_cursor#13 print_byte::b#1 ] ( main:2::print_sword:17::print_word:37 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#13 print_byte::b#1 ] ) always clobbers reg byte a 
Statement [52] (byte~) print_byte::$0 ← (byte) print_byte::b#2 >> (byte) 4 [ print_char_cursor#13 print_byte::b#2 print_byte::$0 ] ( main:2::print_sword:17::print_word:37::print_byte:47 [ main::st1#2 main::st2#2 main::i#2 print_word::w#0 print_char_cursor#13 print_byte::b#2 print_byte::$0 ] main:2::print_sword:17::print_word:37::print_byte:49 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#13 print_byte::b#2 print_byte::$0 ] ) always clobbers reg byte a 
Statement [55] (byte~) print_byte::$2 ← (byte) print_byte::b#2 & (byte) $f [ print_char_cursor#13 print_byte::$2 ] ( main:2::print_sword:17::print_word:37::print_byte:47 [ main::st1#2 main::st2#2 main::i#2 print_word::w#0 print_char_cursor#13 print_byte::$2 ] main:2::print_sword:17::print_word:37::print_byte:49 [ main::st1#2 main::st2#2 main::i#2 print_char_cursor#13 print_byte::$2 ] ) always clobbers reg byte a 
Statement [64] *((byte*) memset::dst#4) ← (const byte) memset::c#0 [ memset::dst#4 ] ( main:2::print_cls:9::memset:60 [ memset::dst#4 ] ) always clobbers reg byte a reg byte y 
Statement [66] if((byte*) memset::dst#1!=(const byte*) memset::end#0) goto memset::@2 [ memset::dst#1 ] ( main:2::print_cls:9::memset:60 [ memset::dst#1 ] ) always clobbers reg byte a 
Statement [70] (dword) div32u16u::return#3 ← (dword) div32u16u::return#0 [ div32u16u::return#3 ] ( main:2::sin16s_genb:7 [ div32u16u::return#3 ] ) always clobbers reg byte a 
Statement [71] (dword) sin16s_genb::step#0 ← (dword) div32u16u::return#3 [ sin16s_genb::step#0 ] ( main:2::sin16s_genb:7 [ sin16s_genb::step#0 ] ) always clobbers reg byte a 
Statement [73] (word) sin16sb::x#0 ← > (dword) sin16s_genb::x#5 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::x#0 ] ( main:2::sin16s_genb:7 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::x#0 ] ) always clobbers reg byte a 
Statement [75] (signed word) sin16sb::return#0 ← (signed word) sin16sb::return#1 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::return#0 ] ( main:2::sin16s_genb:7 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::return#0 ] ) always clobbers reg byte a 
Statement [76] (signed word~) sin16s_genb::$3 ← (signed word) sin16sb::return#0 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16s_genb::$3 ] ( main:2::sin16s_genb:7 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16s_genb::$3 ] ) always clobbers reg byte a 
Statement [77] *((signed word*) sin16s_genb::sintab#7) ← (signed word~) sin16s_genb::$3 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 ] ( main:2::sin16s_genb:7 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 ] ) always clobbers reg byte a reg byte y 
Statement [78] (signed word*) sin16s_genb::sintab#0 ← (signed word*) sin16s_genb::sintab#7 + (const byte) SIZEOF_SIGNED_WORD [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#0 ] ( main:2::sin16s_genb:7 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#0 ] ) always clobbers reg byte a 
Statement [79] (dword) sin16s_genb::x#1 ← (dword) sin16s_genb::x#5 + (dword) sin16s_genb::step#0 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#1 sin16s_genb::sintab#0 ] ( main:2::sin16s_genb:7 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#1 sin16s_genb::sintab#0 ] ) always clobbers reg byte a 
Statement [81] if((word) sin16s_genb::i#1<(const word) main::wavelength#0) goto sin16s_genb::@2 [ sin16s_genb::step#0 sin16s_genb::i#1 sin16s_genb::x#1 sin16s_genb::sintab#0 ] ( main:2::sin16s_genb:7 [ sin16s_genb::step#0 sin16s_genb::i#1 sin16s_genb::x#1 sin16s_genb::sintab#0 ] ) always clobbers reg byte a 
Statement [83] if((word) sin16sb::x#0<(const word) PI_u4f12#0) goto sin16sb::@1 [ sin16sb::x#0 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::x#0 ] ) always clobbers reg byte a 
Statement [84] (word) sin16sb::x#1 ← (word) sin16sb::x#0 - (const word) PI_u4f12#0 [ sin16sb::x#1 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::x#1 ] ) always clobbers reg byte a 
Statement [86] if((word) sin16sb::x#4<(const word) PI_HALF_u4f12#0) goto sin16sb::@2 [ sin16sb::x#4 sin16sb::isUpper#2 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::x#4 sin16sb::isUpper#2 ] ) always clobbers reg byte a 
Statement [87] (word) sin16sb::x#2 ← (const word) PI_u4f12#0 - (word) sin16sb::x#4 [ sin16sb::isUpper#2 sin16sb::x#2 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x#2 ] ) always clobbers reg byte a 
Statement [89] (word) sin16sb::x1#0 ← (word) sin16sb::x#6 << (byte) 3 [ sin16sb::isUpper#2 sin16sb::x1#0 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 ] ) always clobbers reg byte a 
Statement [90] (word) mulu16_sel::v1#5 ← (word) sin16sb::x1#0 [ sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v1#5 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v1#5 ] ) always clobbers reg byte a 
Statement [91] (word) mulu16_sel::v2#5 ← (word) sin16sb::x1#0 [ sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v1#5 mulu16_sel::v2#5 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v1#5 mulu16_sel::v2#5 ] ) always clobbers reg byte a 
Statement [93] (word) mulu16_sel::return#18 ← (word) mulu16_sel::return#17 [ sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::return#18 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::return#18 ] ) always clobbers reg byte a 
Statement [94] (word) sin16sb::x2#0 ← (word) mulu16_sel::return#18 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x2#0 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x2#0 ] ) always clobbers reg byte a 
Statement [95] (word) mulu16_sel::v1#6 ← (word) sin16sb::x2#0 [ sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v1#6 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v1#6 ] ) always clobbers reg byte a 
Statement [96] (word) mulu16_sel::v2#6 ← (word) sin16sb::x1#0 [ sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v1#6 mulu16_sel::v2#6 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v1#6 mulu16_sel::v2#6 ] ) always clobbers reg byte a 
Statement [98] (word) mulu16_sel::return#19 ← (word) mulu16_sel::return#17 [ sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::return#19 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::return#19 ] ) always clobbers reg byte a 
Statement [99] (word) sin16sb::x3#0 ← (word) mulu16_sel::return#19 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 ] ) always clobbers reg byte a 
Statement [100] (word) mulu16_sel::v1#7 ← (word) sin16sb::x3#0 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::v1#7 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::v1#7 ] ) always clobbers reg byte a 
Statement [102] (word) mulu16_sel::return#20 ← (word) mulu16_sel::return#17 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::return#20 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::return#20 ] ) always clobbers reg byte a 
Statement [103] (word) sin16sb::x3_6#0 ← (word) mulu16_sel::return#20 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 sin16sb::x3_6#0 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 sin16sb::x3_6#0 ] ) always clobbers reg byte a 
Statement [104] (word) sin16sb::usinx#0 ← (word) sin16sb::x1#0 - (word) sin16sb::x3_6#0 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 sin16sb::usinx#0 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 sin16sb::usinx#0 ] ) always clobbers reg byte a 
Statement [105] (word) mulu16_sel::v1#8 ← (word) sin16sb::x3#0 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::v1#8 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::v1#8 ] ) always clobbers reg byte a 
Statement [106] (word) mulu16_sel::v2#8 ← (word) sin16sb::x1#0 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::v1#8 mulu16_sel::v2#8 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::v1#8 mulu16_sel::v2#8 ] ) always clobbers reg byte a 
Statement [108] (word) mulu16_sel::return#10 ← (word) mulu16_sel::return#17 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::return#10 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::return#10 ] ) always clobbers reg byte a 
Statement [109] (word) sin16sb::x4#0 ← (word) mulu16_sel::return#10 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 sin16sb::x4#0 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 sin16sb::x4#0 ] ) always clobbers reg byte a 
Statement [110] (word) mulu16_sel::v1#9 ← (word) sin16sb::x4#0 [ sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::v1#9 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::v1#9 ] ) always clobbers reg byte a 
Statement [111] (word) mulu16_sel::v2#9 ← (word) sin16sb::x1#0 [ sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::v1#9 mulu16_sel::v2#9 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::v1#9 mulu16_sel::v2#9 ] ) always clobbers reg byte a 
Statement [113] (word) mulu16_sel::return#11 ← (word) mulu16_sel::return#17 [ sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::return#11 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::return#11 ] ) always clobbers reg byte a 
Statement [114] (word) sin16sb::x5#0 ← (word) mulu16_sel::return#11 [ sin16sb::isUpper#2 sin16sb::usinx#0 sin16sb::x5#0 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 sin16sb::x5#0 ] ) always clobbers reg byte a 
Statement [115] (word) sin16sb::x5_128#0 ← (word) sin16sb::x5#0 >> (byte) 4 [ sin16sb::isUpper#2 sin16sb::usinx#0 sin16sb::x5_128#0 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 sin16sb::x5_128#0 ] ) always clobbers reg byte a 
Statement [116] (word) sin16sb::usinx#1 ← (word) sin16sb::usinx#0 + (word) sin16sb::x5_128#0 [ sin16sb::isUpper#2 sin16sb::usinx#1 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#1 ] ) always clobbers reg byte a 
Statement [118] (signed word) sin16sb::sinx#1 ← - (signed word)(word) sin16sb::usinx#1 [ sin16sb::sinx#1 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::sinx#1 ] ) always clobbers reg byte a 
Statement [121] (signed word~) sin16sb::return#5 ← (signed word)(word) sin16sb::usinx#1 [ sin16sb::return#5 ] ( main:2::sin16s_genb:7::sin16sb:74 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::return#5 ] ) always clobbers reg byte a 
Statement [123] (word) mul16u::a#1 ← (word) mulu16_sel::v1#10 [ mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] ( main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:92 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:97 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:101 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:107 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:112 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:194 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:199 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:203 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:209 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:214 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::v2#10 mulu16_sel::select#10 mul16u::a#1 ] ) always clobbers reg byte a 
Statement [124] (word) mul16u::b#0 ← (word) mulu16_sel::v2#10 [ mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] ( main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:92 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:97 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:101 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:107 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:112 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:194 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:199 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:203 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:209 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:214 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::select#10 mul16u::a#1 mul16u::b#0 ] ) always clobbers reg byte a 
Statement [126] (dword) mul16u::return#2 ← (dword) mul16u::res#2 [ mulu16_sel::select#10 mul16u::return#2 ] ( main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:92 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::return#2 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:97 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::return#2 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:101 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::select#10 mul16u::return#2 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:107 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::return#2 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:112 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::return#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:194 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::return#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:199 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::return#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:203 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::select#10 mul16u::return#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:209 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::select#10 mul16u::return#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:214 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::select#10 mul16u::return#2 ] ) always clobbers reg byte a 
Statement [127] (dword~) mulu16_sel::$0 ← (dword) mul16u::return#2 [ mulu16_sel::select#10 mulu16_sel::$0 ] ( main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:92 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mulu16_sel::$0 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:97 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mulu16_sel::$0 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:101 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::select#10 mulu16_sel::$0 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:107 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::select#10 mulu16_sel::$0 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:112 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::select#10 mulu16_sel::$0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:194 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mulu16_sel::$0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:199 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mulu16_sel::$0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:203 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::select#10 mulu16_sel::$0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:209 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::select#10 mulu16_sel::$0 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:214 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::select#10 mulu16_sel::$0 ] ) always clobbers reg byte a 
Statement [128] (dword~) mulu16_sel::$1 ← (dword~) mulu16_sel::$0 << (byte) mulu16_sel::select#10 [ mulu16_sel::$1 ] ( main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:92 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::$1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:97 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::$1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:101 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::$1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:107 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::$1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:112 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:194 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:199 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:203 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:209 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:214 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::$1 ] ) always clobbers reg byte a 
Statement [129] (word) mulu16_sel::return#17 ← > (dword~) mulu16_sel::$1 [ mulu16_sel::return#17 ] ( main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:92 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::return#17 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:97 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::return#17 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:101 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::return#17 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:107 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::return#17 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:112 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::return#17 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:194 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::return#17 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:199 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::return#17 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:203 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::return#17 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:209 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::return#17 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:214 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::return#17 ] ) always clobbers reg byte a 
Statement [133] if((word) mul16u::a#2!=(byte) 0) goto mul16u::@2 [ mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] ( main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:92::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:97::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:101::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:107::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:112::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:194::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:199::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:203::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:209::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:214::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 ] ) always clobbers reg byte a 
Statement [135] (byte~) mul16u::$1 ← (word) mul16u::a#2 & (byte) 1 [ mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] ( main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:92::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:97::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:101::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:107::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:112::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:194::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:199::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:203::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:209::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:214::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::select#10 mul16u::res#2 mul16u::a#2 mul16u::mb#2 mul16u::$1 ] ) always clobbers reg byte a 
Statement [137] (dword) mul16u::res#1 ← (dword) mul16u::res#2 + (dword) mul16u::mb#2 [ mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] ( main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:92::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:97::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:101::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::x3#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:107::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::x1#0 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] main:2::sin16s_genb:7::sin16sb:74::mulu16_sel:112::mul16u:125 [ sin16s_genb::step#0 sin16s_genb::i#5 sin16s_genb::x#5 sin16s_genb::sintab#7 sin16sb::isUpper#2 sin16sb::usinx#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:194::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:199::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:203::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:209::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] main:2::sin16s_gen:5::sin16s:175::mulu16_sel:214::mul16u:125 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::select#10 mul16u::a#2 mul16u::mb#2 mul16u::res#1 ] ) always clobbers reg byte a 
Statement [143] (word) divr16u::return#2 ← (word) divr16u::return#0 [ divr16u::return#2 rem16u#1 ] ( main:2::sin16s_genb:7::div32u16u:69 [ divr16u::return#2 rem16u#1 ] main:2::sin16s_gen:5::div32u16u:170 [ divr16u::return#2 rem16u#1 ] ) always clobbers reg byte a 
Statement [144] (word) div32u16u::quotient_hi#0 ← (word) divr16u::return#2 [ div32u16u::quotient_hi#0 rem16u#1 ] ( main:2::sin16s_genb:7::div32u16u:69 [ div32u16u::quotient_hi#0 rem16u#1 ] main:2::sin16s_gen:5::div32u16u:170 [ div32u16u::quotient_hi#0 rem16u#1 ] ) always clobbers reg byte a 
Statement [145] (word) divr16u::rem#4 ← (word) rem16u#1 [ div32u16u::quotient_hi#0 divr16u::rem#4 ] ( main:2::sin16s_genb:7::div32u16u:69 [ div32u16u::quotient_hi#0 divr16u::rem#4 ] main:2::sin16s_gen:5::div32u16u:170 [ div32u16u::quotient_hi#0 divr16u::rem#4 ] ) always clobbers reg byte a 
Statement [147] (word) divr16u::return#3 ← (word) divr16u::return#0 [ div32u16u::quotient_hi#0 divr16u::return#3 ] ( main:2::sin16s_genb:7::div32u16u:69 [ div32u16u::quotient_hi#0 divr16u::return#3 ] main:2::sin16s_gen:5::div32u16u:170 [ div32u16u::quotient_hi#0 divr16u::return#3 ] ) always clobbers reg byte a 
Statement [148] (word) div32u16u::quotient_lo#0 ← (word) divr16u::return#3 [ div32u16u::quotient_hi#0 div32u16u::quotient_lo#0 ] ( main:2::sin16s_genb:7::div32u16u:69 [ div32u16u::quotient_hi#0 div32u16u::quotient_lo#0 ] main:2::sin16s_gen:5::div32u16u:170 [ div32u16u::quotient_hi#0 div32u16u::quotient_lo#0 ] ) always clobbers reg byte a 
Statement [149] (dword) div32u16u::return#0 ← (word) div32u16u::quotient_hi#0 dw= (word) div32u16u::quotient_lo#0 [ div32u16u::return#0 ] ( main:2::sin16s_genb:7::div32u16u:69 [ div32u16u::return#0 ] main:2::sin16s_gen:5::div32u16u:170 [ div32u16u::return#0 ] ) always clobbers reg byte a 
Statement [154] (byte~) divr16u::$1 ← > (word) divr16u::dividend#3 [ divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] ( main:2::sin16s_genb:7::div32u16u:69::divr16u:142 [ divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:142 [ divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] main:2::sin16s_genb:7::div32u16u:69::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#0 divr16u::$1 ] ) always clobbers reg byte a 
Statement [157] (word) divr16u::rem#1 ← (word) divr16u::rem#0 | (byte) 1 [ divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] ( main:2::sin16s_genb:7::div32u16u:69::divr16u:142 [ divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:142 [ divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] main:2::sin16s_genb:7::div32u16u:69::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::dividend#3 divr16u::quotient#3 divr16u::i#2 divr16u::rem#1 ] ) always clobbers reg byte a 
Statement [161] if((word) divr16u::rem#6<(const word) main::wavelength#0) goto divr16u::@3 [ divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] ( main:2::sin16s_genb:7::div32u16u:69::divr16u:142 [ divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:142 [ divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] main:2::sin16s_genb:7::div32u16u:69::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::i#2 divr16u::dividend#0 divr16u::rem#6 divr16u::quotient#1 ] ) always clobbers reg byte a 
Statement [163] (word) divr16u::rem#2 ← (word) divr16u::rem#6 - (const word) main::wavelength#0 [ divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] ( main:2::sin16s_genb:7::div32u16u:69::divr16u:142 [ divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:142 [ divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] main:2::sin16s_genb:7::div32u16u:69::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::i#2 divr16u::dividend#0 divr16u::quotient#2 divr16u::rem#2 ] ) always clobbers reg byte a 
Statement [167] (word) rem16u#1 ← (word) divr16u::rem#11 [ divr16u::return#0 rem16u#1 ] ( main:2::sin16s_genb:7::div32u16u:69::divr16u:142 [ divr16u::return#0 rem16u#1 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:142 [ divr16u::return#0 rem16u#1 ] main:2::sin16s_genb:7::div32u16u:69::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::return#0 rem16u#1 ] main:2::sin16s_gen:5::div32u16u:170::divr16u:146 [ div32u16u::quotient_hi#0 divr16u::return#0 rem16u#1 ] ) always clobbers reg byte a 
Statement [171] (dword) div32u16u::return#2 ← (dword) div32u16u::return#0 [ div32u16u::return#2 ] ( main:2::sin16s_gen:5 [ div32u16u::return#2 ] ) always clobbers reg byte a 
Statement [172] (dword) sin16s_gen::step#0 ← (dword) div32u16u::return#2 [ sin16s_gen::step#0 ] ( main:2::sin16s_gen:5 [ sin16s_gen::step#0 ] ) always clobbers reg byte a 
Statement [174] (dword) sin16s::x#0 ← (dword) sin16s_gen::x#5 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::x#0 ] ( main:2::sin16s_gen:5 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::x#0 ] ) always clobbers reg byte a 
Statement [176] (signed word) sin16s::return#0 ← (signed word) sin16s::return#1 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::return#0 ] ( main:2::sin16s_gen:5 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::return#0 ] ) always clobbers reg byte a 
Statement [177] (signed word~) sin16s_gen::$2 ← (signed word) sin16s::return#0 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s_gen::$2 ] ( main:2::sin16s_gen:5 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s_gen::$2 ] ) always clobbers reg byte a 
Statement [178] *((signed word*) sin16s_gen::sintab#7) ← (signed word~) sin16s_gen::$2 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 ] ( main:2::sin16s_gen:5 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 ] ) always clobbers reg byte a reg byte y 
Statement [179] (signed word*) sin16s_gen::sintab#0 ← (signed word*) sin16s_gen::sintab#7 + (const byte) SIZEOF_SIGNED_WORD [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#0 ] ( main:2::sin16s_gen:5 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#0 ] ) always clobbers reg byte a 
Statement [180] (dword) sin16s_gen::x#1 ← (dword) sin16s_gen::x#5 + (dword) sin16s_gen::step#0 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#1 sin16s_gen::sintab#0 ] ( main:2::sin16s_gen:5 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#1 sin16s_gen::sintab#0 ] ) always clobbers reg byte a 
Statement [182] if((word) sin16s_gen::i#1<(const word) main::wavelength#0) goto sin16s_gen::@2 [ sin16s_gen::step#0 sin16s_gen::i#1 sin16s_gen::x#1 sin16s_gen::sintab#0 ] ( main:2::sin16s_gen:5 [ sin16s_gen::step#0 sin16s_gen::i#1 sin16s_gen::x#1 sin16s_gen::sintab#0 ] ) always clobbers reg byte a 
Statement [184] if((dword) sin16s::x#0<(const dword) PI_u4f28#0) goto sin16s::@1 [ sin16s::x#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::x#0 ] ) always clobbers reg byte a 
Statement [185] (dword) sin16s::x#1 ← (dword) sin16s::x#0 - (const dword) PI_u4f28#0 [ sin16s::x#1 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::x#1 ] ) always clobbers reg byte a 
Statement [187] if((dword) sin16s::x#4<(const dword) PI_HALF_u4f28#0) goto sin16s::@2 [ sin16s::x#4 sin16s::isUpper#2 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::x#4 sin16s::isUpper#2 ] ) always clobbers reg byte a 
Statement [188] (dword) sin16s::x#2 ← (const dword) PI_u4f28#0 - (dword) sin16s::x#4 [ sin16s::isUpper#2 sin16s::x#2 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x#2 ] ) always clobbers reg byte a 
Statement [190] (dword~) sin16s::$4 ← (dword) sin16s::x#6 << (byte) 3 [ sin16s::isUpper#2 sin16s::$4 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::$4 ] ) always clobbers reg byte a reg byte y 
Statement [191] (word) sin16s::x1#0 ← > (dword~) sin16s::$4 [ sin16s::isUpper#2 sin16s::x1#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 ] ) always clobbers reg byte a 
Statement [192] (word) mulu16_sel::v1#0 ← (word) sin16s::x1#0 [ mulu16_sel::v1#0 sin16s::isUpper#2 sin16s::x1#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 mulu16_sel::v1#0 sin16s::isUpper#2 sin16s::x1#0 ] ) always clobbers reg byte a 
Statement [193] (word) mulu16_sel::v2#0 ← (word) sin16s::x1#0 [ mulu16_sel::v1#0 mulu16_sel::v2#0 sin16s::isUpper#2 sin16s::x1#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 mulu16_sel::v1#0 mulu16_sel::v2#0 sin16s::isUpper#2 sin16s::x1#0 ] ) always clobbers reg byte a 
Statement [195] (word) mulu16_sel::return#0 ← (word) mulu16_sel::return#17 [ sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::return#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::return#0 ] ) always clobbers reg byte a 
Statement [196] (word) sin16s::x2#0 ← (word) mulu16_sel::return#0 [ sin16s::isUpper#2 sin16s::x1#0 sin16s::x2#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x2#0 ] ) always clobbers reg byte a 
Statement [197] (word) mulu16_sel::v1#1 ← (word) sin16s::x2#0 [ mulu16_sel::v1#1 sin16s::isUpper#2 sin16s::x1#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 mulu16_sel::v1#1 sin16s::isUpper#2 sin16s::x1#0 ] ) always clobbers reg byte a 
Statement [198] (word) mulu16_sel::v2#1 ← (word) sin16s::x1#0 [ mulu16_sel::v1#1 mulu16_sel::v2#1 sin16s::isUpper#2 sin16s::x1#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 mulu16_sel::v1#1 mulu16_sel::v2#1 sin16s::isUpper#2 sin16s::x1#0 ] ) always clobbers reg byte a 
Statement [200] (word) mulu16_sel::return#1 ← (word) mulu16_sel::return#17 [ sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::return#1 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 mulu16_sel::return#1 ] ) always clobbers reg byte a 
Statement [201] (word) sin16s::x3#0 ← (word) mulu16_sel::return#1 [ sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 ] ) always clobbers reg byte a 
Statement [202] (word) mulu16_sel::v1#2 ← (word) sin16s::x3#0 [ mulu16_sel::v1#2 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 mulu16_sel::v1#2 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 ] ) always clobbers reg byte a 
Statement [204] (word) mulu16_sel::return#14 ← (word) mulu16_sel::return#17 [ sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::return#14 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 mulu16_sel::return#14 ] ) always clobbers reg byte a 
Statement [205] (word) sin16s::x3_6#0 ← (word) mulu16_sel::return#14 [ sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 sin16s::x3_6#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 sin16s::x3_6#0 ] ) always clobbers reg byte a 
Statement [206] (word) sin16s::usinx#0 ← (word) sin16s::x1#0 - (word) sin16s::x3_6#0 [ sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 sin16s::usinx#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::x3#0 sin16s::usinx#0 ] ) always clobbers reg byte a 
Statement [207] (word) mulu16_sel::v1#3 ← (word) sin16s::x3#0 [ mulu16_sel::v1#3 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 mulu16_sel::v1#3 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 ] ) always clobbers reg byte a 
Statement [208] (word) mulu16_sel::v2#3 ← (word) sin16s::x1#0 [ mulu16_sel::v1#3 mulu16_sel::v2#3 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 mulu16_sel::v1#3 mulu16_sel::v2#3 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 ] ) always clobbers reg byte a 
Statement [210] (word) mulu16_sel::return#15 ← (word) mulu16_sel::return#17 [ sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::return#15 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 mulu16_sel::return#15 ] ) always clobbers reg byte a 
Statement [211] (word) sin16s::x4#0 ← (word) mulu16_sel::return#15 [ sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 sin16s::x4#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 sin16s::x4#0 ] ) always clobbers reg byte a 
Statement [212] (word) mulu16_sel::v1#4 ← (word) sin16s::x4#0 [ mulu16_sel::v1#4 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 mulu16_sel::v1#4 sin16s::isUpper#2 sin16s::x1#0 sin16s::usinx#0 ] ) always clobbers reg byte a 
Statement [213] (word) mulu16_sel::v2#4 ← (word) sin16s::x1#0 [ mulu16_sel::v1#4 mulu16_sel::v2#4 sin16s::isUpper#2 sin16s::usinx#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 mulu16_sel::v1#4 mulu16_sel::v2#4 sin16s::isUpper#2 sin16s::usinx#0 ] ) always clobbers reg byte a 
Statement [215] (word) mulu16_sel::return#16 ← (word) mulu16_sel::return#17 [ sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::return#16 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 mulu16_sel::return#16 ] ) always clobbers reg byte a 
Statement [216] (word) sin16s::x5#0 ← (word) mulu16_sel::return#16 [ sin16s::isUpper#2 sin16s::usinx#0 sin16s::x5#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 sin16s::x5#0 ] ) always clobbers reg byte a 
Statement [217] (word) sin16s::x5_128#0 ← (word) sin16s::x5#0 >> (byte) 4 [ sin16s::isUpper#2 sin16s::usinx#0 sin16s::x5_128#0 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#0 sin16s::x5_128#0 ] ) always clobbers reg byte a 
Statement [218] (word) sin16s::usinx#1 ← (word) sin16s::usinx#0 + (word) sin16s::x5_128#0 [ sin16s::isUpper#2 sin16s::usinx#1 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::isUpper#2 sin16s::usinx#1 ] ) always clobbers reg byte a 
Statement [220] (signed word) sin16s::sinx#1 ← - (signed word)(word) sin16s::usinx#1 [ sin16s::sinx#1 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::sinx#1 ] ) always clobbers reg byte a 
Statement [223] (signed word~) sin16s::return#5 ← (signed word)(word) sin16s::usinx#1 [ sin16s::return#5 ] ( main:2::sin16s_gen:5::sin16s:175 [ sin16s_gen::step#0 sin16s_gen::i#5 sin16s_gen::x#5 sin16s_gen::sintab#7 sin16s::return#5 ] ) always clobbers reg byte a 
Potential registers zp ZP_WORD:2 [ main::st1#2 main::st1#1 ] : zp ZP_WORD:2 , 
Potential registers zp ZP_WORD:4 [ main::st2#2 main::st2#1 ] : zp ZP_WORD:4 , 
Potential registers zp ZP_BYTE:6 [ main::i#2 main::i#1 ] : zp ZP_BYTE:6 , reg byte x , 
Potential registers zp ZP_WORD:7 [ print_str::str#3 print_str::str#5 print_str::str#0 ] : zp ZP_WORD:7 , 
Potential registers zp ZP_WORD:9 [ print_sword::w#4 print_sword::w#0 print_sword::w#1 ] : zp ZP_WORD:9 , 
Potential registers zp ZP_BYTE:11 [ print_char::ch#4 print_char::ch#2 print_char::ch#3 ] : zp ZP_BYTE:11 , reg byte a , reg byte x , reg byte y , 
Potential registers zp ZP_WORD:12 [ print_char_cursor#35 print_char_cursor#54 print_char_cursor#51 print_char_cursor#52 print_char_cursor#2 print_char_cursor#13 print_char_cursor#1 ] : zp ZP_WORD:12 , 
Potential registers zp ZP_BYTE:14 [ print_byte::b#2 print_byte::b#0 print_byte::b#1 ] : zp ZP_BYTE:14 , reg byte x , 
Potential registers zp ZP_WORD:15 [ memset::dst#4 memset::dst#1 ] : zp ZP_WORD:15 , 
Potential registers zp ZP_WORD:17 [ sin16s_genb::i#5 sin16s_genb::i#1 ] : zp ZP_WORD:17 , 
Potential registers zp ZP_DWORD:19 [ sin16s_genb::x#5 sin16s_genb::x#1 ] : zp ZP_DWORD:19 , 
Potential registers zp ZP_WORD:23 [ sin16s_genb::sintab#7 sin16s_genb::sintab#0 ] : zp ZP_WORD:23 , 
Potential registers zp ZP_BYTE:25 [ sin16sb::isUpper#2 ] : zp ZP_BYTE:25 , reg byte x , reg byte y , 
Potential registers zp ZP_WORD:26 [ sin16sb::x#6 sin16sb::x#4 sin16sb::x#0 sin16sb::x#1 sin16sb::x#2 ] : zp ZP_WORD:26 , 
Potential registers zp ZP_WORD:28 [ sin16sb::return#1 sin16sb::return#5 sin16sb::sinx#1 ] : zp ZP_WORD:28 , 
Potential registers zp ZP_WORD:30 [ mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 ] : zp ZP_WORD:30 , 
Potential registers zp ZP_WORD:32 [ mulu16_sel::v2#10 mulu16_sel::v2#3 mulu16_sel::v2#4 mulu16_sel::v2#0 mulu16_sel::v2#1 mulu16_sel::v2#8 mulu16_sel::v2#9 mulu16_sel::v2#5 mulu16_sel::v2#6 ] : zp ZP_WORD:32 , 
Potential registers zp ZP_BYTE:34 [ mulu16_sel::select#10 ] : zp ZP_BYTE:34 , reg byte x , reg byte y , 
Potential registers zp ZP_WORD:35 [ mul16u::a#2 mul16u::a#1 mul16u::a#0 ] : zp ZP_WORD:35 , 
Potential registers zp ZP_DWORD:37 [ mul16u::res#2 mul16u::res#6 mul16u::res#1 ] : zp ZP_DWORD:37 , 
Potential registers zp ZP_DWORD:41 [ mul16u::mb#2 mul16u::mb#1 ] : zp ZP_DWORD:41 , 
Potential registers zp ZP_WORD:45 [ mul16u::b#0 ] : zp ZP_WORD:45 , 
Potential registers zp ZP_WORD:47 [ divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 ] : zp ZP_WORD:47 , 
Potential registers zp ZP_WORD:49 [ divr16u::dividend#3 divr16u::dividend#5 divr16u::dividend#0 ] : zp ZP_WORD:49 , 
Potential registers zp ZP_WORD:51 [ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 ] : zp ZP_WORD:51 , 
Potential registers zp ZP_BYTE:53 [ divr16u::i#2 divr16u::i#1 ] : zp ZP_BYTE:53 , reg byte x , reg byte y , 
Potential registers zp ZP_WORD:54 [ sin16s_gen::i#5 sin16s_gen::i#1 ] : zp ZP_WORD:54 , 
Potential registers zp ZP_DWORD:56 [ sin16s_gen::x#5 sin16s_gen::x#1 ] : zp ZP_DWORD:56 , 
Potential registers zp ZP_WORD:60 [ sin16s_gen::sintab#7 sin16s_gen::sintab#0 ] : zp ZP_WORD:60 , 
Potential registers zp ZP_BYTE:62 [ sin16s::isUpper#2 ] : zp ZP_BYTE:62 , reg byte x , 
Potential registers zp ZP_DWORD:63 [ sin16s::x#6 sin16s::x#4 sin16s::x#0 sin16s::x#1 sin16s::x#2 ] : zp ZP_DWORD:63 , 
Potential registers zp ZP_WORD:67 [ sin16s::return#1 sin16s::return#5 sin16s::sinx#1 ] : zp ZP_WORD:67 , 
Potential registers zp ZP_WORD:69 [ main::sw#0 ] : zp ZP_WORD:69 , 
Potential registers zp ZP_WORD:71 [ print_word::w#0 ] : zp ZP_WORD:71 , 
Potential registers zp ZP_BYTE:73 [ print_byte::$0 ] : zp ZP_BYTE:73 , reg byte a , reg byte x , reg byte y , 
Potential registers zp ZP_BYTE:74 [ print_byte::$2 ] : zp ZP_BYTE:74 , reg byte a , reg byte x , reg byte y , 
Potential registers zp ZP_DWORD:75 [ div32u16u::return#3 ] : zp ZP_DWORD:75 , 
Potential registers zp ZP_DWORD:79 [ sin16s_genb::step#0 ] : zp ZP_DWORD:79 , 
Potential registers zp ZP_WORD:83 [ sin16sb::return#0 ] : zp ZP_WORD:83 , 
Potential registers zp ZP_WORD:85 [ sin16s_genb::$3 ] : zp ZP_WORD:85 , 
Potential registers zp ZP_WORD:87 [ sin16sb::x1#0 ] : zp ZP_WORD:87 , 
Potential registers zp ZP_WORD:89 [ mulu16_sel::return#18 ] : zp ZP_WORD:89 , 
Potential registers zp ZP_WORD:91 [ sin16sb::x2#0 ] : zp ZP_WORD:91 , 
Potential registers zp ZP_WORD:93 [ mulu16_sel::return#19 ] : zp ZP_WORD:93 , 
Potential registers zp ZP_WORD:95 [ sin16sb::x3#0 ] : zp ZP_WORD:95 , 
Potential registers zp ZP_WORD:97 [ mulu16_sel::return#20 ] : zp ZP_WORD:97 , 
Potential registers zp ZP_WORD:99 [ sin16sb::x3_6#0 ] : zp ZP_WORD:99 , 
Potential registers zp ZP_WORD:101 [ sin16sb::usinx#0 ] : zp ZP_WORD:101 , 
Potential registers zp ZP_WORD:103 [ mulu16_sel::return#10 ] : zp ZP_WORD:103 , 
Potential registers zp ZP_WORD:105 [ sin16sb::x4#0 ] : zp ZP_WORD:105 , 
Potential registers zp ZP_WORD:107 [ mulu16_sel::return#11 ] : zp ZP_WORD:107 , 
Potential registers zp ZP_WORD:109 [ sin16sb::x5#0 ] : zp ZP_WORD:109 , 
Potential registers zp ZP_WORD:111 [ sin16sb::x5_128#0 ] : zp ZP_WORD:111 , 
Potential registers zp ZP_WORD:113 [ sin16sb::usinx#1 ] : zp ZP_WORD:113 , 
Potential registers zp ZP_DWORD:115 [ mul16u::return#2 ] : zp ZP_DWORD:115 , 
Potential registers zp ZP_DWORD:119 [ mulu16_sel::$0 ] : zp ZP_DWORD:119 , 
Potential registers zp ZP_DWORD:123 [ mulu16_sel::$1 ] : zp ZP_DWORD:123 , 
Potential registers zp ZP_WORD:127 [ mulu16_sel::return#17 ] : zp ZP_WORD:127 , 
Potential registers zp ZP_BYTE:129 [ mul16u::$1 ] : zp ZP_BYTE:129 , reg byte a , reg byte x , reg byte y , 
Potential registers zp ZP_WORD:130 [ divr16u::return#2 ] : zp ZP_WORD:130 , 
Potential registers zp ZP_WORD:132 [ div32u16u::quotient_hi#0 ] : zp ZP_WORD:132 , 
Potential registers zp ZP_WORD:134 [ divr16u::return#3 ] : zp ZP_WORD:134 , 
Potential registers zp ZP_WORD:136 [ div32u16u::quotient_lo#0 ] : zp ZP_WORD:136 , 
Potential registers zp ZP_DWORD:138 [ div32u16u::return#0 ] : zp ZP_DWORD:138 , 
Potential registers zp ZP_BYTE:142 [ divr16u::$1 ] : zp ZP_BYTE:142 , reg byte a , reg byte x , reg byte y , 
Potential registers zp ZP_BYTE:143 [ divr16u::$2 ] : zp ZP_BYTE:143 , reg byte a , reg byte x , reg byte y , 
Potential registers zp ZP_WORD:144 [ rem16u#1 ] : zp ZP_WORD:144 , 
Potential registers zp ZP_DWORD:146 [ div32u16u::return#2 ] : zp ZP_DWORD:146 , 
Potential registers zp ZP_DWORD:150 [ sin16s_gen::step#0 ] : zp ZP_DWORD:150 , 
Potential registers zp ZP_WORD:154 [ sin16s::return#0 ] : zp ZP_WORD:154 , 
Potential registers zp ZP_WORD:156 [ sin16s_gen::$2 ] : zp ZP_WORD:156 , 
Potential registers zp ZP_DWORD:158 [ sin16s::$4 ] : zp ZP_DWORD:158 , 
Potential registers zp ZP_WORD:162 [ sin16s::x1#0 ] : zp ZP_WORD:162 , 
Potential registers zp ZP_WORD:164 [ mulu16_sel::return#0 ] : zp ZP_WORD:164 , 
Potential registers zp ZP_WORD:166 [ sin16s::x2#0 ] : zp ZP_WORD:166 , 
Potential registers zp ZP_WORD:168 [ mulu16_sel::return#1 ] : zp ZP_WORD:168 , 
Potential registers zp ZP_WORD:170 [ sin16s::x3#0 ] : zp ZP_WORD:170 , 
Potential registers zp ZP_WORD:172 [ mulu16_sel::return#14 ] : zp ZP_WORD:172 , 
Potential registers zp ZP_WORD:174 [ sin16s::x3_6#0 ] : zp ZP_WORD:174 , 
Potential registers zp ZP_WORD:176 [ sin16s::usinx#0 ] : zp ZP_WORD:176 , 
Potential registers zp ZP_WORD:178 [ mulu16_sel::return#15 ] : zp ZP_WORD:178 , 
Potential registers zp ZP_WORD:180 [ sin16s::x4#0 ] : zp ZP_WORD:180 , 
Potential registers zp ZP_WORD:182 [ mulu16_sel::return#16 ] : zp ZP_WORD:182 , 
Potential registers zp ZP_WORD:184 [ sin16s::x5#0 ] : zp ZP_WORD:184 , 
Potential registers zp ZP_WORD:186 [ sin16s::x5_128#0 ] : zp ZP_WORD:186 , 
Potential registers zp ZP_WORD:188 [ sin16s::usinx#1 ] : zp ZP_WORD:188 , 

REGISTER UPLIFT SCOPES
Uplift Scope [mul16u] 353.83: zp ZP_DWORD:37 [ mul16u::res#2 mul16u::res#6 mul16u::res#1 ] 245.57: zp ZP_DWORD:41 [ mul16u::mb#2 mul16u::mb#1 ] 202: zp ZP_BYTE:129 [ mul16u::$1 ] 170: zp ZP_WORD:35 [ mul16u::a#2 mul16u::a#1 mul16u::a#0 ] 4: zp ZP_DWORD:115 [ mul16u::return#2 ] 2: zp ZP_WORD:45 [ mul16u::b#0 ] 
Uplift Scope [print_str] 305.5: zp ZP_WORD:7 [ print_str::str#3 print_str::str#5 print_str::str#0 ] 
Uplift Scope [divr16u] 106.92: zp ZP_WORD:47 [ divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 ] 35.54: zp ZP_WORD:51 [ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 ] 22: zp ZP_BYTE:142 [ divr16u::$1 ] 22: zp ZP_BYTE:143 [ divr16u::$2 ] 18.19: zp ZP_BYTE:53 [ divr16u::i#2 divr16u::i#1 ] 9.75: zp ZP_WORD:49 [ divr16u::dividend#3 divr16u::dividend#5 divr16u::dividend#0 ] 4: zp ZP_WORD:130 [ divr16u::return#2 ] 4: zp ZP_WORD:134 [ divr16u::return#3 ] 
Uplift Scope [] 177.86: zp ZP_WORD:12 [ print_char_cursor#35 print_char_cursor#54 print_char_cursor#51 print_char_cursor#52 print_char_cursor#2 print_char_cursor#13 print_char_cursor#1 ] 0.8: zp ZP_WORD:144 [ rem16u#1 ] 
Uplift Scope [mulu16_sel] 46: zp ZP_WORD:30 [ mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 ] 41: zp ZP_WORD:32 [ mulu16_sel::v2#10 mulu16_sel::v2#3 mulu16_sel::v2#4 mulu16_sel::v2#0 mulu16_sel::v2#1 mulu16_sel::v2#8 mulu16_sel::v2#9 mulu16_sel::v2#5 mulu16_sel::v2#6 ] 4: zp ZP_WORD:89 [ mulu16_sel::return#18 ] 4: zp ZP_WORD:93 [ mulu16_sel::return#19 ] 4: zp ZP_WORD:97 [ mulu16_sel::return#20 ] 4: zp ZP_WORD:103 [ mulu16_sel::return#10 ] 4: zp ZP_WORD:107 [ mulu16_sel::return#11 ] 4: zp ZP_DWORD:119 [ mulu16_sel::$0 ] 4: zp ZP_DWORD:123 [ mulu16_sel::$1 ] 4: zp ZP_WORD:164 [ mulu16_sel::return#0 ] 4: zp ZP_WORD:168 [ mulu16_sel::return#1 ] 4: zp ZP_WORD:172 [ mulu16_sel::return#14 ] 4: zp ZP_WORD:178 [ mulu16_sel::return#15 ] 4: zp ZP_WORD:182 [ mulu16_sel::return#16 ] 1.83: zp ZP_WORD:127 [ mulu16_sel::return#17 ] 0.33: zp ZP_BYTE:34 [ mulu16_sel::select#10 ] 
Uplift Scope [sin16s] 27.5: zp ZP_DWORD:63 [ sin16s::x#6 sin16s::x#4 sin16s::x#0 sin16s::x#1 sin16s::x#2 ] 22: zp ZP_WORD:154 [ sin16s::return#0 ] 13: zp ZP_WORD:67 [ sin16s::return#1 sin16s::return#5 sin16s::sinx#1 ] 4: zp ZP_DWORD:158 [ sin16s::$4 ] 4: zp ZP_WORD:166 [ sin16s::x2#0 ] 4: zp ZP_WORD:174 [ sin16s::x3_6#0 ] 4: zp ZP_WORD:180 [ sin16s::x4#0 ] 4: zp ZP_WORD:184 [ sin16s::x5#0 ] 4: zp ZP_WORD:186 [ sin16s::x5_128#0 ] 1: zp ZP_WORD:170 [ sin16s::x3#0 ] 1: zp ZP_WORD:188 [ sin16s::usinx#1 ] 0.64: zp ZP_WORD:162 [ sin16s::x1#0 ] 0.33: zp ZP_WORD:176 [ sin16s::usinx#0 ] 0.06: zp ZP_BYTE:62 [ sin16s::isUpper#2 ] 
Uplift Scope [sin16sb] 27.5: zp ZP_WORD:26 [ sin16sb::x#6 sin16sb::x#4 sin16sb::x#0 sin16sb::x#1 sin16sb::x#2 ] 22: zp ZP_WORD:83 [ sin16sb::return#0 ] 13: zp ZP_WORD:28 [ sin16sb::return#1 sin16sb::return#5 sin16sb::sinx#1 ] 4: zp ZP_WORD:91 [ sin16sb::x2#0 ] 4: zp ZP_WORD:99 [ sin16sb::x3_6#0 ] 4: zp ZP_WORD:105 [ sin16sb::x4#0 ] 4: zp ZP_WORD:109 [ sin16sb::x5#0 ] 4: zp ZP_WORD:111 [ sin16sb::x5_128#0 ] 1: zp ZP_WORD:95 [ sin16sb::x3#0 ] 1: zp ZP_WORD:113 [ sin16sb::usinx#1 ] 0.64: zp ZP_WORD:87 [ sin16sb::x1#0 ] 0.33: zp ZP_WORD:101 [ sin16sb::usinx#0 ] 0.06: zp ZP_BYTE:25 [ sin16sb::isUpper#2 ] 
Uplift Scope [sin16s_gen] 22: zp ZP_WORD:156 [ sin16s_gen::$2 ] 19.25: zp ZP_WORD:54 [ sin16s_gen::i#5 sin16s_gen::i#1 ] 12.05: zp ZP_DWORD:56 [ sin16s_gen::x#5 sin16s_gen::x#1 ] 11: zp ZP_WORD:60 [ sin16s_gen::sintab#7 sin16s_gen::sintab#0 ] 1.18: zp ZP_DWORD:150 [ sin16s_gen::step#0 ] 
Uplift Scope [sin16s_genb] 22: zp ZP_WORD:85 [ sin16s_genb::$3 ] 19.25: zp ZP_WORD:17 [ sin16s_genb::i#5 sin16s_genb::i#1 ] 12.05: zp ZP_DWORD:19 [ sin16s_genb::x#5 sin16s_genb::x#1 ] 11: zp ZP_WORD:23 [ sin16s_genb::sintab#7 sin16s_genb::sintab#0 ] 1.18: zp ZP_DWORD:79 [ sin16s_genb::step#0 ] 
Uplift Scope [main] 18.33: zp ZP_BYTE:6 [ main::i#2 main::i#1 ] 10.33: zp ZP_WORD:4 [ main::st2#2 main::st2#1 ] 8.8: zp ZP_WORD:2 [ main::st1#2 main::st1#1 ] 6.6: zp ZP_WORD:69 [ main::sw#0 ] 
Uplift Scope [memset] 33: zp ZP_WORD:15 [ memset::dst#4 memset::dst#1 ] 
Uplift Scope [print_byte] 10: zp ZP_BYTE:14 [ print_byte::b#2 print_byte::b#0 print_byte::b#1 ] 4: zp ZP_BYTE:73 [ print_byte::$0 ] 4: zp ZP_BYTE:74 [ print_byte::$2 ] 
Uplift Scope [div32u16u] 4: zp ZP_DWORD:75 [ div32u16u::return#3 ] 4: zp ZP_WORD:136 [ div32u16u::quotient_lo#0 ] 4: zp ZP_DWORD:146 [ div32u16u::return#2 ] 1.5: zp ZP_DWORD:138 [ div32u16u::return#0 ] 0.8: zp ZP_WORD:132 [ div32u16u::quotient_hi#0 ] 
Uplift Scope [print_char] 14: zp ZP_BYTE:11 [ print_char::ch#4 print_char::ch#2 print_char::ch#3 ] 
Uplift Scope [print_sword] 10.83: zp ZP_WORD:9 [ print_sword::w#4 print_sword::w#0 print_sword::w#1 ] 
Uplift Scope [print_word] 2: zp ZP_WORD:71 [ print_word::w#0 ] 
Uplift Scope [RADIX] 
Uplift Scope [print_cls] 

Uplifting [mul16u] best 30052 combination zp ZP_DWORD:37 [ mul16u::res#2 mul16u::res#6 mul16u::res#1 ] zp ZP_DWORD:41 [ mul16u::mb#2 mul16u::mb#1 ] reg byte a [ mul16u::$1 ] zp ZP_WORD:35 [ mul16u::a#2 mul16u::a#1 mul16u::a#0 ] zp ZP_DWORD:115 [ mul16u::return#2 ] zp ZP_WORD:45 [ mul16u::b#0 ] 
Uplifting [print_str] best 30052 combination zp ZP_WORD:7 [ print_str::str#3 print_str::str#5 print_str::str#0 ] 
Uplifting [divr16u] best 29842 combination zp ZP_WORD:47 [ divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 ] zp ZP_WORD:51 [ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 ] reg byte a [ divr16u::$1 ] reg byte a [ divr16u::$2 ] reg byte x [ divr16u::i#2 divr16u::i#1 ] zp ZP_WORD:49 [ divr16u::dividend#3 divr16u::dividend#5 divr16u::dividend#0 ] zp ZP_WORD:130 [ divr16u::return#2 ] zp ZP_WORD:134 [ divr16u::return#3 ] 
Uplifting [] best 29842 combination zp ZP_WORD:12 [ print_char_cursor#35 print_char_cursor#54 print_char_cursor#51 print_char_cursor#52 print_char_cursor#2 print_char_cursor#13 print_char_cursor#1 ] zp ZP_WORD:144 [ rem16u#1 ] 
Uplifting [mulu16_sel] best 29811 combination zp ZP_WORD:30 [ mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 ] zp ZP_WORD:32 [ mulu16_sel::v2#10 mulu16_sel::v2#3 mulu16_sel::v2#4 mulu16_sel::v2#0 mulu16_sel::v2#1 mulu16_sel::v2#8 mulu16_sel::v2#9 mulu16_sel::v2#5 mulu16_sel::v2#6 ] zp ZP_WORD:89 [ mulu16_sel::return#18 ] zp ZP_WORD:93 [ mulu16_sel::return#19 ] zp ZP_WORD:97 [ mulu16_sel::return#20 ] zp ZP_WORD:103 [ mulu16_sel::return#10 ] zp ZP_WORD:107 [ mulu16_sel::return#11 ] zp ZP_DWORD:119 [ mulu16_sel::$0 ] zp ZP_DWORD:123 [ mulu16_sel::$1 ] zp ZP_WORD:164 [ mulu16_sel::return#0 ] zp ZP_WORD:168 [ mulu16_sel::return#1 ] zp ZP_WORD:172 [ mulu16_sel::return#14 ] zp ZP_WORD:178 [ mulu16_sel::return#15 ] zp ZP_WORD:182 [ mulu16_sel::return#16 ] zp ZP_WORD:127 [ mulu16_sel::return#17 ] reg byte x [ mulu16_sel::select#10 ] 
Uplifting [sin16s] best 29811 combination zp ZP_DWORD:63 [ sin16s::x#6 sin16s::x#4 sin16s::x#0 sin16s::x#1 sin16s::x#2 ] zp ZP_WORD:154 [ sin16s::return#0 ] zp ZP_WORD:67 [ sin16s::return#1 sin16s::return#5 sin16s::sinx#1 ] zp ZP_DWORD:158 [ sin16s::$4 ] zp ZP_WORD:166 [ sin16s::x2#0 ] zp ZP_WORD:174 [ sin16s::x3_6#0 ] zp ZP_WORD:180 [ sin16s::x4#0 ] zp ZP_WORD:184 [ sin16s::x5#0 ] zp ZP_WORD:186 [ sin16s::x5_128#0 ] zp ZP_WORD:170 [ sin16s::x3#0 ] zp ZP_WORD:188 [ sin16s::usinx#1 ] zp ZP_WORD:162 [ sin16s::x1#0 ] zp ZP_WORD:176 [ sin16s::usinx#0 ] zp ZP_BYTE:62 [ sin16s::isUpper#2 ] 
Uplifting [sin16sb] best 29802 combination zp ZP_WORD:26 [ sin16sb::x#6 sin16sb::x#4 sin16sb::x#0 sin16sb::x#1 sin16sb::x#2 ] zp ZP_WORD:83 [ sin16sb::return#0 ] zp ZP_WORD:28 [ sin16sb::return#1 sin16sb::return#5 sin16sb::sinx#1 ] zp ZP_WORD:91 [ sin16sb::x2#0 ] zp ZP_WORD:99 [ sin16sb::x3_6#0 ] zp ZP_WORD:105 [ sin16sb::x4#0 ] zp ZP_WORD:109 [ sin16sb::x5#0 ] zp ZP_WORD:111 [ sin16sb::x5_128#0 ] zp ZP_WORD:95 [ sin16sb::x3#0 ] zp ZP_WORD:113 [ sin16sb::usinx#1 ] zp ZP_WORD:87 [ sin16sb::x1#0 ] zp ZP_WORD:101 [ sin16sb::usinx#0 ] reg byte y [ sin16sb::isUpper#2 ] 
Uplifting [sin16s_gen] best 29802 combination zp ZP_WORD:156 [ sin16s_gen::$2 ] zp ZP_WORD:54 [ sin16s_gen::i#5 sin16s_gen::i#1 ] zp ZP_DWORD:56 [ sin16s_gen::x#5 sin16s_gen::x#1 ] zp ZP_WORD:60 [ sin16s_gen::sintab#7 sin16s_gen::sintab#0 ] zp ZP_DWORD:150 [ sin16s_gen::step#0 ] 
Uplifting [sin16s_genb] best 29802 combination zp ZP_WORD:85 [ sin16s_genb::$3 ] zp ZP_WORD:17 [ sin16s_genb::i#5 sin16s_genb::i#1 ] zp ZP_DWORD:19 [ sin16s_genb::x#5 sin16s_genb::x#1 ] zp ZP_WORD:23 [ sin16s_genb::sintab#7 sin16s_genb::sintab#0 ] zp ZP_DWORD:79 [ sin16s_genb::step#0 ] 
Uplifting [main] best 29712 combination reg byte x [ main::i#2 main::i#1 ] zp ZP_WORD:4 [ main::st2#2 main::st2#1 ] zp ZP_WORD:2 [ main::st1#2 main::st1#1 ] zp ZP_WORD:69 [ main::sw#0 ] 
Uplifting [memset] best 29712 combination zp ZP_WORD:15 [ memset::dst#4 memset::dst#1 ] 
Uplifting [print_byte] best 29704 combination zp ZP_BYTE:14 [ print_byte::b#2 print_byte::b#0 print_byte::b#1 ] reg byte a [ print_byte::$0 ] reg byte a [ print_byte::$2 ] 
Uplifting [div32u16u] best 29704 combination zp ZP_DWORD:75 [ div32u16u::return#3 ] zp ZP_WORD:136 [ div32u16u::quotient_lo#0 ] zp ZP_DWORD:146 [ div32u16u::return#2 ] zp ZP_DWORD:138 [ div32u16u::return#0 ] zp ZP_WORD:132 [ div32u16u::quotient_hi#0 ] 
Uplifting [print_char] best 29689 combination reg byte a [ print_char::ch#4 print_char::ch#2 print_char::ch#3 ] 
Uplifting [print_sword] best 29689 combination zp ZP_WORD:9 [ print_sword::w#4 print_sword::w#0 print_sword::w#1 ] 
Uplifting [print_word] best 29689 combination zp ZP_WORD:71 [ print_word::w#0 ] 
Uplifting [RADIX] best 29689 combination 
Uplifting [print_cls] best 29689 combination 
Attempting to uplift remaining variables inzp ZP_BYTE:14 [ print_byte::b#2 print_byte::b#0 print_byte::b#1 ]
Uplifting [print_byte] best 29689 combination zp ZP_BYTE:14 [ print_byte::b#2 print_byte::b#0 print_byte::b#1 ] 
Attempting to uplift remaining variables inzp ZP_BYTE:62 [ sin16s::isUpper#2 ]
Uplifting [sin16s] best 29689 combination zp ZP_BYTE:62 [ sin16s::isUpper#2 ] 
Coalescing zero page register [ zp ZP_WORD:28 [ sin16sb::return#1 sin16sb::return#5 sin16sb::sinx#1 ] ] with [ zp ZP_WORD:113 [ sin16sb::usinx#1 ] ] - score: 2
Coalescing zero page register [ zp ZP_WORD:30 [ mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 ] ] with [ zp ZP_WORD:95 [ sin16sb::x3#0 ] ] - score: 2
Coalescing zero page register [ zp ZP_WORD:30 [ mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 sin16sb::x3#0 ] ] with [ zp ZP_WORD:170 [ sin16s::x3#0 ] ] - score: 2
Coalescing zero page register [ zp ZP_WORD:47 [ divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 ] ] with [ zp ZP_WORD:144 [ rem16u#1 ] ] - score: 2
Coalescing zero page register [ zp ZP_WORD:67 [ sin16s::return#1 sin16s::return#5 sin16s::sinx#1 ] ] with [ zp ZP_WORD:188 [ sin16s::usinx#1 ] ] - score: 2
Coalescing zero page register [ zp ZP_WORD:9 [ print_sword::w#4 print_sword::w#0 print_sword::w#1 ] ] with [ zp ZP_WORD:69 [ main::sw#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:9 [ print_sword::w#4 print_sword::w#0 print_sword::w#1 main::sw#0 ] ] with [ zp ZP_WORD:71 [ print_word::w#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:26 [ sin16sb::x#6 sin16sb::x#4 sin16sb::x#0 sin16sb::x#1 sin16sb::x#2 ] ] with [ zp ZP_WORD:87 [ sin16sb::x1#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:28 [ sin16sb::return#1 sin16sb::return#5 sin16sb::sinx#1 sin16sb::usinx#1 ] ] with [ zp ZP_WORD:83 [ sin16sb::return#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:30 [ mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 sin16sb::x3#0 sin16s::x3#0 ] ] with [ zp ZP_WORD:91 [ sin16sb::x2#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:30 [ mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 sin16sb::x3#0 sin16s::x3#0 sin16sb::x2#0 ] ] with [ zp ZP_WORD:105 [ sin16sb::x4#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:30 [ mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 sin16sb::x3#0 sin16s::x3#0 sin16sb::x2#0 sin16sb::x4#0 ] ] with [ zp ZP_WORD:166 [ sin16s::x2#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:30 [ mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 sin16sb::x3#0 sin16s::x3#0 sin16sb::x2#0 sin16sb::x4#0 sin16s::x2#0 ] ] with [ zp ZP_WORD:180 [ sin16s::x4#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:32 [ mulu16_sel::v2#10 mulu16_sel::v2#3 mulu16_sel::v2#4 mulu16_sel::v2#0 mulu16_sel::v2#1 mulu16_sel::v2#8 mulu16_sel::v2#9 mulu16_sel::v2#5 mulu16_sel::v2#6 ] ] with [ zp ZP_WORD:45 [ mul16u::b#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_DWORD:37 [ mul16u::res#2 mul16u::res#6 mul16u::res#1 ] ] with [ zp ZP_DWORD:115 [ mul16u::return#2 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:51 [ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 ] ] with [ zp ZP_WORD:130 [ divr16u::return#2 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:51 [ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 divr16u::return#2 ] ] with [ zp ZP_WORD:134 [ divr16u::return#3 ] ] - score: 1
Coalescing zero page register [ zp ZP_DWORD:63 [ sin16s::x#6 sin16s::x#4 sin16s::x#0 sin16s::x#1 sin16s::x#2 ] ] with [ zp ZP_DWORD:158 [ sin16s::$4 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:67 [ sin16s::return#1 sin16s::return#5 sin16s::sinx#1 sin16s::usinx#1 ] ] with [ zp ZP_WORD:154 [ sin16s::return#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_DWORD:75 [ div32u16u::return#3 ] ] with [ zp ZP_DWORD:79 [ sin16s_genb::step#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_DWORD:75 [ div32u16u::return#3 sin16s_genb::step#0 ] ] with [ zp ZP_DWORD:138 [ div32u16u::return#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:89 [ mulu16_sel::return#18 ] ] with [ zp ZP_WORD:127 [ mulu16_sel::return#17 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:97 [ mulu16_sel::return#20 ] ] with [ zp ZP_WORD:99 [ sin16sb::x3_6#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:107 [ mulu16_sel::return#11 ] ] with [ zp ZP_WORD:109 [ sin16sb::x5#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_DWORD:119 [ mulu16_sel::$0 ] ] with [ zp ZP_DWORD:123 [ mulu16_sel::$1 ] ] - score: 1
Coalescing zero page register [ zp ZP_DWORD:146 [ div32u16u::return#2 ] ] with [ zp ZP_DWORD:150 [ sin16s_gen::step#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:172 [ mulu16_sel::return#14 ] ] with [ zp ZP_WORD:174 [ sin16s::x3_6#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:182 [ mulu16_sel::return#16 ] ] with [ zp ZP_WORD:184 [ sin16s::x5#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:28 [ sin16sb::return#1 sin16sb::return#5 sin16sb::sinx#1 sin16sb::usinx#1 sin16sb::return#0 ] ] with [ zp ZP_WORD:85 [ sin16s_genb::$3 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:28 [ sin16sb::return#1 sin16sb::return#5 sin16sb::sinx#1 sin16sb::usinx#1 sin16sb::return#0 sin16s_genb::$3 ] ] with [ zp ZP_WORD:101 [ sin16sb::usinx#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:30 [ mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 sin16sb::x3#0 sin16s::x3#0 sin16sb::x2#0 sin16sb::x4#0 sin16s::x2#0 sin16s::x4#0 ] ] with [ zp ZP_WORD:93 [ mulu16_sel::return#19 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:30 [ mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 sin16sb::x3#0 sin16s::x3#0 sin16sb::x2#0 sin16sb::x4#0 sin16s::x2#0 sin16s::x4#0 mulu16_sel::return#19 ] ] with [ zp ZP_WORD:103 [ mulu16_sel::return#10 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:30 [ mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 sin16sb::x3#0 sin16s::x3#0 sin16sb::x2#0 sin16sb::x4#0 sin16s::x2#0 sin16s::x4#0 mulu16_sel::return#19 mulu16_sel::return#10 ] ] with [ zp ZP_WORD:164 [ mulu16_sel::return#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:30 [ mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 sin16sb::x3#0 sin16s::x3#0 sin16sb::x2#0 sin16sb::x4#0 sin16s::x2#0 sin16s::x4#0 mulu16_sel::return#19 mulu16_sel::return#10 mulu16_sel::return#0 ] ] with [ zp ZP_WORD:168 [ mulu16_sel::return#1 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:30 [ mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 sin16sb::x3#0 sin16s::x3#0 sin16sb::x2#0 sin16sb::x4#0 sin16s::x2#0 sin16s::x4#0 mulu16_sel::return#19 mulu16_sel::return#10 mulu16_sel::return#0 mulu16_sel::return#1 ] ] with [ zp ZP_WORD:178 [ mulu16_sel::return#15 ] ] - score: 1
Coalescing zero page register [ zp ZP_DWORD:37 [ mul16u::res#2 mul16u::res#6 mul16u::res#1 mul16u::return#2 ] ] with [ zp ZP_DWORD:119 [ mulu16_sel::$0 mulu16_sel::$1 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:51 [ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 divr16u::return#2 divr16u::return#3 ] ] with [ zp ZP_WORD:136 [ div32u16u::quotient_lo#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:67 [ sin16s::return#1 sin16s::return#5 sin16s::sinx#1 sin16s::usinx#1 sin16s::return#0 ] ] with [ zp ZP_WORD:156 [ sin16s_gen::$2 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:67 [ sin16s::return#1 sin16s::return#5 sin16s::sinx#1 sin16s::usinx#1 sin16s::return#0 sin16s_gen::$2 ] ] with [ zp ZP_WORD:176 [ sin16s::usinx#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_DWORD:75 [ div32u16u::return#3 sin16s_genb::step#0 div32u16u::return#0 ] ] with [ zp ZP_DWORD:146 [ div32u16u::return#2 sin16s_gen::step#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:89 [ mulu16_sel::return#18 mulu16_sel::return#17 ] ] with [ zp ZP_WORD:97 [ mulu16_sel::return#20 sin16sb::x3_6#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:89 [ mulu16_sel::return#18 mulu16_sel::return#17 mulu16_sel::return#20 sin16sb::x3_6#0 ] ] with [ zp ZP_WORD:107 [ mulu16_sel::return#11 sin16sb::x5#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:89 [ mulu16_sel::return#18 mulu16_sel::return#17 mulu16_sel::return#20 sin16sb::x3_6#0 mulu16_sel::return#11 sin16sb::x5#0 ] ] with [ zp ZP_WORD:172 [ mulu16_sel::return#14 sin16s::x3_6#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:89 [ mulu16_sel::return#18 mulu16_sel::return#17 mulu16_sel::return#20 sin16sb::x3_6#0 mulu16_sel::return#11 sin16sb::x5#0 mulu16_sel::return#14 sin16s::x3_6#0 ] ] with [ zp ZP_WORD:182 [ mulu16_sel::return#16 sin16s::x5#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:89 [ mulu16_sel::return#18 mulu16_sel::return#17 mulu16_sel::return#20 sin16sb::x3_6#0 mulu16_sel::return#11 sin16sb::x5#0 mulu16_sel::return#14 sin16s::x3_6#0 mulu16_sel::return#16 sin16s::x5#0 ] ] with [ zp ZP_WORD:111 [ sin16sb::x5_128#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:89 [ mulu16_sel::return#18 mulu16_sel::return#17 mulu16_sel::return#20 sin16sb::x3_6#0 mulu16_sel::return#11 sin16sb::x5#0 mulu16_sel::return#14 sin16s::x3_6#0 mulu16_sel::return#16 sin16s::x5#0 sin16sb::x5_128#0 ] ] with [ zp ZP_WORD:186 [ sin16s::x5_128#0 ] ] - score: 1
Coalescing zero page register [ zp ZP_WORD:15 [ memset::dst#4 memset::dst#1 ] ] with [ zp ZP_WORD:2 [ main::st1#2 main::st1#1 ] ]
Coalescing zero page register [ zp ZP_WORD:17 [ sin16s_genb::i#5 sin16s_genb::i#1 ] ] with [ zp ZP_WORD:4 [ main::st2#2 main::st2#1 ] ]
Coalescing zero page register [ zp ZP_WORD:23 [ sin16s_genb::sintab#7 sin16s_genb::sintab#0 ] ] with [ zp ZP_WORD:7 [ print_str::str#3 print_str::str#5 print_str::str#0 ] ]
Coalescing zero page register [ zp ZP_WORD:26 [ sin16sb::x#6 sin16sb::x#4 sin16sb::x#0 sin16sb::x#1 sin16sb::x#2 sin16sb::x1#0 ] ] with [ zp ZP_WORD:9 [ print_sword::w#4 print_sword::w#0 print_sword::w#1 main::sw#0 print_word::w#0 ] ]
Coalescing zero page register [ zp ZP_WORD:28 [ sin16sb::return#1 sin16sb::return#5 sin16sb::sinx#1 sin16sb::usinx#1 sin16sb::return#0 sin16s_genb::$3 sin16sb::usinx#0 ] ] with [ zp ZP_WORD:12 [ print_char_cursor#35 print_char_cursor#54 print_char_cursor#51 print_char_cursor#52 print_char_cursor#2 print_char_cursor#13 print_char_cursor#1 ] ]
Coalescing zero page register [ zp ZP_WORD:47 [ divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 rem16u#1 ] ] with [ zp ZP_WORD:30 [ mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 sin16sb::x3#0 sin16s::x3#0 sin16sb::x2#0 sin16sb::x4#0 sin16s::x2#0 sin16s::x4#0 mulu16_sel::return#19 mulu16_sel::return#10 mulu16_sel::return#0 mulu16_sel::return#1 mulu16_sel::return#15 ] ]
Coalescing zero page register [ zp ZP_WORD:49 [ divr16u::dividend#3 divr16u::dividend#5 divr16u::dividend#0 ] ] with [ zp ZP_WORD:32 [ mulu16_sel::v2#10 mulu16_sel::v2#3 mulu16_sel::v2#4 mulu16_sel::v2#0 mulu16_sel::v2#1 mulu16_sel::v2#8 mulu16_sel::v2#9 mulu16_sel::v2#5 mulu16_sel::v2#6 mul16u::b#0 ] ]
Coalescing zero page register [ zp ZP_WORD:51 [ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 divr16u::return#2 divr16u::return#3 div32u16u::quotient_lo#0 ] ] with [ zp ZP_WORD:35 [ mul16u::a#2 mul16u::a#1 mul16u::a#0 ] ]
Coalescing zero page register [ zp ZP_DWORD:56 [ sin16s_gen::x#5 sin16s_gen::x#1 ] ] with [ zp ZP_DWORD:19 [ sin16s_genb::x#5 sin16s_genb::x#1 ] ]
Coalescing zero page register [ zp ZP_BYTE:62 [ sin16s::isUpper#2 ] ] with [ zp ZP_BYTE:14 [ print_byte::b#2 print_byte::b#0 print_byte::b#1 ] ]
Coalescing zero page register [ zp ZP_DWORD:63 [ sin16s::x#6 sin16s::x#4 sin16s::x#0 sin16s::x#1 sin16s::x#2 sin16s::$4 ] ] with [ zp ZP_DWORD:37 [ mul16u::res#2 mul16u::res#6 mul16u::res#1 mul16u::return#2 mulu16_sel::$0 mulu16_sel::$1 ] ]
Coalescing zero page register [ zp ZP_WORD:132 [ div32u16u::quotient_hi#0 ] ] with [ zp ZP_WORD:54 [ sin16s_gen::i#5 sin16s_gen::i#1 ] ]
Coalescing zero page register [ zp ZP_WORD:47 [ divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 rem16u#1 mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 sin16sb::x3#0 sin16s::x3#0 sin16sb::x2#0 sin16sb::x4#0 sin16s::x2#0 sin16s::x4#0 mulu16_sel::return#19 mulu16_sel::return#10 mulu16_sel::return#0 mulu16_sel::return#1 mulu16_sel::return#15 ] ] with [ zp ZP_WORD:15 [ memset::dst#4 memset::dst#1 main::st1#2 main::st1#1 ] ]
Coalescing zero page register [ zp ZP_WORD:60 [ sin16s_gen::sintab#7 sin16s_gen::sintab#0 ] ] with [ zp ZP_WORD:17 [ sin16s_genb::i#5 sin16s_genb::i#1 main::st2#2 main::st2#1 ] ]
Coalescing zero page register [ zp ZP_WORD:67 [ sin16s::return#1 sin16s::return#5 sin16s::sinx#1 sin16s::usinx#1 sin16s::return#0 sin16s_gen::$2 sin16s::usinx#0 ] ] with [ zp ZP_WORD:23 [ sin16s_genb::sintab#7 sin16s_genb::sintab#0 print_str::str#3 print_str::str#5 print_str::str#0 ] ]
Coalescing zero page register [ zp ZP_WORD:89 [ mulu16_sel::return#18 mulu16_sel::return#17 mulu16_sel::return#20 sin16sb::x3_6#0 mulu16_sel::return#11 sin16sb::x5#0 mulu16_sel::return#14 sin16s::x3_6#0 mulu16_sel::return#16 sin16s::x5#0 sin16sb::x5_128#0 sin16s::x5_128#0 ] ] with [ zp ZP_WORD:51 [ divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 divr16u::return#2 divr16u::return#3 div32u16u::quotient_lo#0 mul16u::a#2 mul16u::a#1 mul16u::a#0 ] ]
Coalescing zero page register [ zp ZP_WORD:132 [ div32u16u::quotient_hi#0 sin16s_gen::i#5 sin16s_gen::i#1 ] ] with [ zp ZP_WORD:26 [ sin16sb::x#6 sin16sb::x#4 sin16sb::x#0 sin16sb::x#1 sin16sb::x#2 sin16sb::x1#0 print_sword::w#4 print_sword::w#0 print_sword::w#1 main::sw#0 print_word::w#0 ] ]
Coalescing zero page register [ zp ZP_WORD:162 [ sin16s::x1#0 ] ] with [ zp ZP_WORD:28 [ sin16sb::return#1 sin16sb::return#5 sin16sb::sinx#1 sin16sb::usinx#1 sin16sb::return#0 sin16s_genb::$3 sin16sb::usinx#0 print_char_cursor#35 print_char_cursor#54 print_char_cursor#51 print_char_cursor#52 print_char_cursor#2 print_char_cursor#13 print_char_cursor#1 ] ]
Allocated (was zp ZP_DWORD:41) zp ZP_DWORD:2 [ mul16u::mb#2 mul16u::mb#1 ]
Allocated (was zp ZP_WORD:47) zp ZP_WORD:6 [ divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 rem16u#1 mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 sin16sb::x3#0 sin16s::x3#0 sin16sb::x2#0 sin16sb::x4#0 sin16s::x2#0 sin16s::x4#0 mulu16_sel::return#19 mulu16_sel::return#10 mulu16_sel::return#0 mulu16_sel::return#1 mulu16_sel::return#15 memset::dst#4 memset::dst#1 main::st1#2 main::st1#1 ]
Allocated (was zp ZP_WORD:49) zp ZP_WORD:8 [ divr16u::dividend#3 divr16u::dividend#5 divr16u::dividend#0 mulu16_sel::v2#10 mulu16_sel::v2#3 mulu16_sel::v2#4 mulu16_sel::v2#0 mulu16_sel::v2#1 mulu16_sel::v2#8 mulu16_sel::v2#9 mulu16_sel::v2#5 mulu16_sel::v2#6 mul16u::b#0 ]
Allocated (was zp ZP_DWORD:56) zp ZP_DWORD:10 [ sin16s_gen::x#5 sin16s_gen::x#1 sin16s_genb::x#5 sin16s_genb::x#1 ]
Allocated (was zp ZP_WORD:60) zp ZP_WORD:14 [ sin16s_gen::sintab#7 sin16s_gen::sintab#0 sin16s_genb::i#5 sin16s_genb::i#1 main::st2#2 main::st2#1 ]
Allocated (was zp ZP_BYTE:62) zp ZP_BYTE:16 [ sin16s::isUpper#2 print_byte::b#2 print_byte::b#0 print_byte::b#1 ]
Allocated (was zp ZP_DWORD:63) zp ZP_DWORD:17 [ sin16s::x#6 sin16s::x#4 sin16s::x#0 sin16s::x#1 sin16s::x#2 sin16s::$4 mul16u::res#2 mul16u::res#6 mul16u::res#1 mul16u::return#2 mulu16_sel::$0 mulu16_sel::$1 ]
Allocated (was zp ZP_WORD:67) zp ZP_WORD:21 [ sin16s::return#1 sin16s::return#5 sin16s::sinx#1 sin16s::usinx#1 sin16s::return#0 sin16s_gen::$2 sin16s::usinx#0 sin16s_genb::sintab#7 sin16s_genb::sintab#0 print_str::str#3 print_str::str#5 print_str::str#0 ]
Allocated (was zp ZP_DWORD:75) zp ZP_DWORD:23 [ div32u16u::return#3 sin16s_genb::step#0 div32u16u::return#0 div32u16u::return#2 sin16s_gen::step#0 ]
Allocated (was zp ZP_WORD:89) zp ZP_WORD:27 [ mulu16_sel::return#18 mulu16_sel::return#17 mulu16_sel::return#20 sin16sb::x3_6#0 mulu16_sel::return#11 sin16sb::x5#0 mulu16_sel::return#14 sin16s::x3_6#0 mulu16_sel::return#16 sin16s::x5#0 sin16sb::x5_128#0 sin16s::x5_128#0 divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 divr16u::return#2 divr16u::return#3 div32u16u::quotient_lo#0 mul16u::a#2 mul16u::a#1 mul16u::a#0 ]
Allocated (was zp ZP_WORD:132) zp ZP_WORD:29 [ div32u16u::quotient_hi#0 sin16s_gen::i#5 sin16s_gen::i#1 sin16sb::x#6 sin16sb::x#4 sin16sb::x#0 sin16sb::x#1 sin16sb::x#2 sin16sb::x1#0 print_sword::w#4 print_sword::w#0 print_sword::w#1 main::sw#0 print_word::w#0 ]
Allocated (was zp ZP_WORD:162) zp ZP_WORD:31 [ sin16s::x1#0 sin16sb::return#1 sin16sb::return#5 sin16sb::sinx#1 sin16sb::usinx#1 sin16sb::return#0 sin16s_genb::$3 sin16sb::usinx#0 print_char_cursor#35 print_char_cursor#54 print_char_cursor#51 print_char_cursor#52 print_char_cursor#2 print_char_cursor#13 print_char_cursor#1 ]

ASSEMBLER BEFORE OPTIMIZATION
  // File Comments
// Generates a 16-bit signed sinus
  // Upstart
.pc = $801 "Basic"
:BasicUpstart(bbegin)
.pc = $80d "Program"
  // Global Constants & labels
  .const SIZEOF_SIGNED_WORD = 2
  // PI*2 in u[4.28] format
  .const PI2_u4f28 = $6487ed51
  // PI in u[4.28] format
  .const PI_u4f28 = $3243f6a9
  // PI/2 in u[4.28] format
  .const PI_HALF_u4f28 = $1921fb54
  // PI in u[4.12] format
  .const PI_u4f12 = $3244
  // PI/2 in u[4.12] format
  .const PI_HALF_u4f12 = $1922
  .label print_line_cursor = $400
  .label rem16u = 6
  .label print_char_cursor = $1f
  // @begin
bbegin:
  // [1] phi from @begin to @1 [phi:@begin->@1]
b1_from_bbegin:
  jmp b1
  // @1
b1:
  // [2] call main 
  // [4] phi from @1 to main [phi:@1->main]
main_from_b1:
  jsr main
  // [3] phi from @1 to @end [phi:@1->@end]
bend_from_b1:
  jmp bend
  // @end
bend:
  // main
main: {
    .label wavelength = $78
    .label sw = $1d
    .label st1 = 6
    .label st2 = $e
    // [5] call sin16s_gen 
    // [169] phi from main to sin16s_gen [phi:main->sin16s_gen]
  sin16s_gen_from_main:
    jsr sin16s_gen
    // [6] phi from main to main::@4 [phi:main->main::@4]
  b4_from_main:
    jmp b4
    // main::@4
  b4:
    // [7] call sin16s_genb 
    // [68] phi from main::@4 to sin16s_genb [phi:main::@4->sin16s_genb]
  sin16s_genb_from_b4:
    jsr sin16s_genb
    // [8] phi from main::@4 to main::@5 [phi:main::@4->main::@5]
  b5_from_b4:
    jmp b5
    // main::@5
  b5:
    // [9] call print_cls 
    // [59] phi from main::@5 to print_cls [phi:main::@5->print_cls]
  print_cls_from_b5:
    jsr print_cls
    // [10] phi from main::@5 to main::@1 [phi:main::@5->main::@1]
  b1_from_b5:
    // [10] phi (byte) main::i#2 = (byte) 0 [phi:main::@5->main::@1#0] -- vbuxx=vbuc1 
    ldx #0
    // [10] phi (byte*) print_char_cursor#52 = (const byte*) print_line_cursor#0 [phi:main::@5->main::@1#1] -- pbuz1=pbuc1 
    lda #<print_line_cursor
    sta.z print_char_cursor
    lda #>print_line_cursor
    sta.z print_char_cursor+1
    // [10] phi (signed word*) main::st2#2 = (const signed word[$78]) main::sintab2#0 [phi:main::@5->main::@1#2] -- pwsz1=pwsc1 
    lda #<sintab2
    sta.z st2
    lda #>sintab2
    sta.z st2+1
    // [10] phi (signed word*) main::st1#2 = (const signed word[$78]) main::sintab1#0 [phi:main::@5->main::@1#3] -- pwsz1=pwsc1 
    lda #<sintab1
    sta.z st1
    lda #>sintab1
    sta.z st1+1
    jmp b1
    // [10] phi from main::@7 to main::@1 [phi:main::@7->main::@1]
  b1_from_b7:
    // [10] phi (byte) main::i#2 = (byte) main::i#1 [phi:main::@7->main::@1#0] -- register_copy 
    // [10] phi (byte*) print_char_cursor#52 = (byte*) print_char_cursor#2 [phi:main::@7->main::@1#1] -- register_copy 
    // [10] phi (signed word*) main::st2#2 = (signed word*) main::st2#1 [phi:main::@7->main::@1#2] -- register_copy 
    // [10] phi (signed word*) main::st1#2 = (signed word*) main::st1#1 [phi:main::@7->main::@1#3] -- register_copy 
    jmp b1
    // main::@1
  b1:
    // [11] (signed word) main::sw#0 ← *((signed word*) main::st1#2) - *((signed word*) main::st2#2) -- vwsz1=_deref_pwsz2_minus__deref_pwsz3 
    ldy #0
    sec
    lda (st1),y
    sbc (st2),y
    sta.z sw
    iny
    lda (st1),y
    sbc (st2),y
    sta.z sw+1
    // [12] if((signed word) main::sw#0<(signed byte) 0) goto main::@2 -- vwsz1_lt_0_then_la1 
    lda.z sw+1
    bmi b2_from_b1
    // [13] phi from main::@1 to main::@3 [phi:main::@1->main::@3]
  b3_from_b1:
    jmp b3
    // main::@3
  b3:
    // [14] call print_str 
    // [25] phi from main::@3 to print_str [phi:main::@3->print_str]
  print_str_from_b3:
    // [25] phi (byte*) print_char_cursor#54 = (byte*) print_char_cursor#52 [phi:main::@3->print_str#0] -- register_copy 
    // [25] phi (byte*) print_str::str#5 = (const string) main::str1 [phi:main::@3->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    // [15] phi from main::@1 main::@3 to main::@2 [phi:main::@1/main::@3->main::@2]
  b2_from_b1:
  b2_from_b3:
    // [15] phi (byte*) print_char_cursor#51 = (byte*) print_char_cursor#52 [phi:main::@1/main::@3->main::@2#0] -- register_copy 
    jmp b2
    // main::@2
  b2:
    // [16] (signed word) print_sword::w#1 ← (signed word) main::sw#0
    // [17] call print_sword 
    jsr print_sword
    // [18] phi from main::@2 to main::@6 [phi:main::@2->main::@6]
  b6_from_b2:
    jmp b6
    // main::@6
  b6:
    // [19] call print_str 
    // [25] phi from main::@6 to print_str [phi:main::@6->print_str]
  print_str_from_b6:
    // [25] phi (byte*) print_char_cursor#54 = (byte*) print_char_cursor#13 [phi:main::@6->print_str#0] -- register_copy 
    // [25] phi (byte*) print_str::str#5 = (const string) main::str [phi:main::@6->print_str#1] -- pbuz1=pbuc1 
    lda #<str
    sta.z print_str.str
    lda #>str
    sta.z print_str.str+1
    jsr print_str
    jmp b7
    // main::@7
  b7:
    // [20] (signed word*) main::st1#1 ← (signed word*) main::st1#2 + (const byte) SIZEOF_SIGNED_WORD -- pwsz1=pwsz1_plus_vbuc1 
    lda #SIZEOF_SIGNED_WORD
    clc
    adc.z st1
    sta.z st1
    bcc !+
    inc.z st1+1
  !:
    // [21] (signed word*) main::st2#1 ← (signed word*) main::st2#2 + (const byte) SIZEOF_SIGNED_WORD -- pwsz1=pwsz1_plus_vbuc1 
    lda #SIZEOF_SIGNED_WORD
    clc
    adc.z st2
    sta.z st2
    bcc !+
    inc.z st2+1
  !:
    // [22] (byte) main::i#1 ← ++ (byte) main::i#2 -- vbuxx=_inc_vbuxx 
    inx
    // [23] if((byte) main::i#1!=(byte) $78) goto main::@1 -- vbuxx_neq_vbuc1_then_la1 
    cpx #$78
    bne b1_from_b7
    jmp breturn
    // main::@return
  breturn:
    // [24] return 
    rts
    str: .text "   "
    .byte 0
    str1: .text " "
    .byte 0
    sintab1: .fill 2*$78, 0
    sintab2: .fill 2*$78, 0
}
  // print_str
// Print a zero-terminated string
// print_str(byte* zeropage($15) str)
print_str: {
    .label str = $15
    // [26] phi from print_str print_str::@2 to print_str::@1 [phi:print_str/print_str::@2->print_str::@1]
  b1_from_print_str:
  b1_from_b2:
    // [26] phi (byte*) print_char_cursor#2 = (byte*) print_char_cursor#54 [phi:print_str/print_str::@2->print_str::@1#0] -- register_copy 
    // [26] phi (byte*) print_str::str#3 = (byte*) print_str::str#5 [phi:print_str/print_str::@2->print_str::@1#1] -- register_copy 
    jmp b1
    // print_str::@1
  b1:
    // [27] if((byte) 0!=*((byte*) print_str::str#3)) goto print_str::@2 -- vbuc1_neq__deref_pbuz1_then_la1 
    ldy #0
    lda (str),y
    cmp #0
    bne b2
    jmp breturn
    // print_str::@return
  breturn:
    // [28] return 
    rts
    // print_str::@2
  b2:
    // [29] *((byte*) print_char_cursor#2) ← *((byte*) print_str::str#3) -- _deref_pbuz1=_deref_pbuz2 
    ldy #0
    lda (str),y
    ldy #0
    sta (print_char_cursor),y
    // [30] (byte*) print_char_cursor#1 ← ++ (byte*) print_char_cursor#2 -- pbuz1=_inc_pbuz1 
    inc.z print_char_cursor
    bne !+
    inc.z print_char_cursor+1
  !:
    // [31] (byte*) print_str::str#0 ← ++ (byte*) print_str::str#3 -- pbuz1=_inc_pbuz1 
    inc.z str
    bne !+
    inc.z str+1
  !:
    jmp b1_from_b2
}
  // print_sword
// Print a signed word as HEX
// print_sword(signed word zeropage($1d) w)
print_sword: {
    .label w = $1d
    // [32] if((signed word) print_sword::w#1<(signed byte) 0) goto print_sword::@1 -- vwsz1_lt_0_then_la1 
    lda.z w+1
    bmi b1_from_print_sword
    // [33] phi from print_sword to print_sword::@3 [phi:print_sword->print_sword::@3]
  b3_from_print_sword:
    jmp b3
    // print_sword::@3
  b3:
    // [34] call print_char 
    // [42] phi from print_sword::@3 to print_char [phi:print_sword::@3->print_char]
  print_char_from_b3:
    // [42] phi (byte*) print_char_cursor#35 = (byte*) print_char_cursor#51 [phi:print_sword::@3->print_char#0] -- register_copy 
    // [42] phi (byte) print_char::ch#4 = (byte) ' ' [phi:print_sword::@3->print_char#1] -- vbuaa=vbuc1 
    lda #' '
    jsr print_char
    // [35] phi from print_sword::@3 print_sword::@4 to print_sword::@2 [phi:print_sword::@3/print_sword::@4->print_sword::@2]
  b2_from_b3:
  b2_from_b4:
    // [35] phi (signed word) print_sword::w#4 = (signed word) print_sword::w#1 [phi:print_sword::@3/print_sword::@4->print_sword::@2#0] -- register_copy 
    jmp b2
    // print_sword::@2
  b2:
    // [36] (word) print_word::w#0 ← (word)(signed word) print_sword::w#4
    // [37] call print_word 
    jsr print_word
    jmp breturn
    // print_sword::@return
  breturn:
    // [38] return 
    rts
    // [39] phi from print_sword to print_sword::@1 [phi:print_sword->print_sword::@1]
  b1_from_print_sword:
    jmp b1
    // print_sword::@1
  b1:
    // [40] call print_char 
    // [42] phi from print_sword::@1 to print_char [phi:print_sword::@1->print_char]
  print_char_from_b1:
    // [42] phi (byte*) print_char_cursor#35 = (byte*) print_char_cursor#51 [phi:print_sword::@1->print_char#0] -- register_copy 
    // [42] phi (byte) print_char::ch#4 = (byte) '-' [phi:print_sword::@1->print_char#1] -- vbuaa=vbuc1 
    lda #'-'
    jsr print_char
    jmp b4
    // print_sword::@4
  b4:
    // [41] (signed word) print_sword::w#0 ← - (signed word) print_sword::w#1 -- vwsz1=_neg_vwsz1 
    sec
    lda #0
    sbc.z w
    sta.z w
    lda #0
    sbc.z w+1
    sta.z w+1
    jmp b2_from_b4
}
  // print_char
// Print a single char
// print_char(byte register(A) ch)
print_char: {
    // [43] *((byte*) print_char_cursor#35) ← (byte) print_char::ch#4 -- _deref_pbuz1=vbuaa 
    ldy #0
    sta (print_char_cursor),y
    // [44] (byte*) print_char_cursor#13 ← ++ (byte*) print_char_cursor#35 -- pbuz1=_inc_pbuz1 
    inc.z print_char_cursor
    bne !+
    inc.z print_char_cursor+1
  !:
    jmp breturn
    // print_char::@return
  breturn:
    // [45] return 
    rts
}
  // print_word
// Print a word as HEX
// print_word(word zeropage($1d) w)
print_word: {
    .label w = $1d
    // [46] (byte) print_byte::b#0 ← > (word) print_word::w#0 -- vbuz1=_hi_vwuz2 
    lda.z w+1
    sta.z print_byte.b
    // [47] call print_byte 
    // [51] phi from print_word to print_byte [phi:print_word->print_byte]
  print_byte_from_print_word:
    // [51] phi (byte) print_byte::b#2 = (byte) print_byte::b#0 [phi:print_word->print_byte#0] -- register_copy 
    jsr print_byte
    jmp b1
    // print_word::@1
  b1:
    // [48] (byte) print_byte::b#1 ← < (word) print_word::w#0 -- vbuz1=_lo_vwuz2 
    lda.z w
    sta.z print_byte.b
    // [49] call print_byte 
    // [51] phi from print_word::@1 to print_byte [phi:print_word::@1->print_byte]
  print_byte_from_b1:
    // [51] phi (byte) print_byte::b#2 = (byte) print_byte::b#1 [phi:print_word::@1->print_byte#0] -- register_copy 
    jsr print_byte
    jmp breturn
    // print_word::@return
  breturn:
    // [50] return 
    rts
}
  // print_byte
// Print a byte as HEX
// print_byte(byte zeropage($10) b)
print_byte: {
    .label b = $10
    // [52] (byte~) print_byte::$0 ← (byte) print_byte::b#2 >> (byte) 4 -- vbuaa=vbuz1_ror_4 
    lda.z b
    lsr
    lsr
    lsr
    lsr
    // [53] (byte) print_char::ch#2 ← *((const byte[]) print_hextab#0 + (byte~) print_byte::$0) -- vbuaa=pbuc1_derefidx_vbuaa 
    tay
    lda print_hextab,y
    // [54] call print_char 
    // [42] phi from print_byte to print_char [phi:print_byte->print_char]
  print_char_from_print_byte:
    // [42] phi (byte*) print_char_cursor#35 = (byte*) print_char_cursor#13 [phi:print_byte->print_char#0] -- register_copy 
    // [42] phi (byte) print_char::ch#4 = (byte) print_char::ch#2 [phi:print_byte->print_char#1] -- register_copy 
    jsr print_char
    jmp b1
    // print_byte::@1
  b1:
    // [55] (byte~) print_byte::$2 ← (byte) print_byte::b#2 & (byte) $f -- vbuaa=vbuz1_band_vbuc1 
    lda #$f
    and.z b
    // [56] (byte) print_char::ch#3 ← *((const byte[]) print_hextab#0 + (byte~) print_byte::$2) -- vbuaa=pbuc1_derefidx_vbuaa 
    tay
    lda print_hextab,y
    // [57] call print_char 
    // [42] phi from print_byte::@1 to print_char [phi:print_byte::@1->print_char]
  print_char_from_b1:
    // [42] phi (byte*) print_char_cursor#35 = (byte*) print_char_cursor#13 [phi:print_byte::@1->print_char#0] -- register_copy 
    // [42] phi (byte) print_char::ch#4 = (byte) print_char::ch#3 [phi:print_byte::@1->print_char#1] -- register_copy 
    jsr print_char
    jmp breturn
    // print_byte::@return
  breturn:
    // [58] return 
    rts
}
  // print_cls
// Clear the screen. Also resets current line/char cursor.
print_cls: {
    // [60] call memset 
    // [62] phi from print_cls to memset [phi:print_cls->memset]
  memset_from_print_cls:
    jsr memset
    jmp breturn
    // print_cls::@return
  breturn:
    // [61] return 
    rts
}
  // memset
// Copies the character c (an unsigned char) to the first num characters of the object pointed to by the argument str.
memset: {
    .const c = ' '
    .const num = $3e8
    .label str = print_line_cursor
    .label end = str+num
    .label dst = 6
    // [63] phi from memset to memset::@2 [phi:memset->memset::@2]
  b2_from_memset:
    // [63] phi (byte*) memset::dst#4 = (byte*)(const void*) memset::str#0 [phi:memset->memset::@2#0] -- pbuz1=pbuc1 
    lda #<str
    sta.z dst
    lda #>str
    sta.z dst+1
    jmp b2
    // [63] phi from memset::@1 to memset::@2 [phi:memset::@1->memset::@2]
  b2_from_b1:
    // [63] phi (byte*) memset::dst#4 = (byte*) memset::dst#1 [phi:memset::@1->memset::@2#0] -- register_copy 
    jmp b2
    // memset::@2
  b2:
    // [64] *((byte*) memset::dst#4) ← (const byte) memset::c#0 -- _deref_pbuz1=vbuc1 
    lda #c
    ldy #0
    sta (dst),y
    // [65] (byte*) memset::dst#1 ← ++ (byte*) memset::dst#4 -- pbuz1=_inc_pbuz1 
    inc.z dst
    bne !+
    inc.z dst+1
  !:
    jmp b1
    // memset::@1
  b1:
    // [66] if((byte*) memset::dst#1!=(const byte*) memset::end#0) goto memset::@2 -- pbuz1_neq_pbuc1_then_la1 
    lda.z dst+1
    cmp #>end
    bne b2_from_b1
    lda.z dst
    cmp #<end
    bne b2_from_b1
    jmp breturn
    // memset::@return
  breturn:
    // [67] return 
    rts
}
  // sin16s_genb
// Generate signed (large) word sinus table - on the full -$7fff - $7fff range
// sintab - the table to generate into
// wavelength - the number of sinus points in a total sinus wavelength (the size of the table)
// sin16s_genb(signed word* zeropage($15) sintab)
sin16s_genb: {
    .label _3 = $1f
    .label step = $17
    .label sintab = $15
    .label x = $a
    .label i = $e
    // [69] call div32u16u 
    // [141] phi from sin16s_genb to div32u16u [phi:sin16s_genb->div32u16u]
  div32u16u_from_sin16s_genb:
    jsr div32u16u
    // [70] (dword) div32u16u::return#3 ← (dword) div32u16u::return#0
    jmp b3
    // sin16s_genb::@3
  b3:
    // [71] (dword) sin16s_genb::step#0 ← (dword) div32u16u::return#3
    // [72] phi from sin16s_genb::@3 to sin16s_genb::@2 [phi:sin16s_genb::@3->sin16s_genb::@2]
  b2_from_b3:
    // [72] phi (signed word*) sin16s_genb::sintab#7 = (const signed word[$78]) main::sintab2#0 [phi:sin16s_genb::@3->sin16s_genb::@2#0] -- pwsz1=pwsc1 
    lda #<main.sintab2
    sta.z sintab
    lda #>main.sintab2
    sta.z sintab+1
    // [72] phi (dword) sin16s_genb::x#5 = (byte) 0 [phi:sin16s_genb::@3->sin16s_genb::@2#1] -- vduz1=vbuc1 
    lda #0
    sta.z x
    lda #0
    sta.z x+1
    sta.z x+2
    sta.z x+3
    // [72] phi (word) sin16s_genb::i#5 = (byte) 0 [phi:sin16s_genb::@3->sin16s_genb::@2#2] -- vwuz1=vbuc1 
    lda #<0
    sta.z i
    lda #>0
    sta.z i+1
    jmp b2
    // [72] phi from sin16s_genb::@1 to sin16s_genb::@2 [phi:sin16s_genb::@1->sin16s_genb::@2]
  b2_from_b1:
    // [72] phi (signed word*) sin16s_genb::sintab#7 = (signed word*) sin16s_genb::sintab#0 [phi:sin16s_genb::@1->sin16s_genb::@2#0] -- register_copy 
    // [72] phi (dword) sin16s_genb::x#5 = (dword) sin16s_genb::x#1 [phi:sin16s_genb::@1->sin16s_genb::@2#1] -- register_copy 
    // [72] phi (word) sin16s_genb::i#5 = (word) sin16s_genb::i#1 [phi:sin16s_genb::@1->sin16s_genb::@2#2] -- register_copy 
    jmp b2
    // sin16s_genb::@2
  b2:
    // [73] (word) sin16sb::x#0 ← > (dword) sin16s_genb::x#5 -- vwuz1=_hi_vduz2 
    lda.z x+2
    sta.z sin16sb.x
    lda.z x+3
    sta.z sin16sb.x+1
    // [74] call sin16sb 
    jsr sin16sb
    // [75] (signed word) sin16sb::return#0 ← (signed word) sin16sb::return#1
    jmp b4
    // sin16s_genb::@4
  b4:
    // [76] (signed word~) sin16s_genb::$3 ← (signed word) sin16sb::return#0
    // [77] *((signed word*) sin16s_genb::sintab#7) ← (signed word~) sin16s_genb::$3 -- _deref_pwsz1=vwsz2 
    ldy #0
    lda.z _3
    sta (sintab),y
    iny
    lda.z _3+1
    sta (sintab),y
    // [78] (signed word*) sin16s_genb::sintab#0 ← (signed word*) sin16s_genb::sintab#7 + (const byte) SIZEOF_SIGNED_WORD -- pwsz1=pwsz1_plus_vbuc1 
    lda #SIZEOF_SIGNED_WORD
    clc
    adc.z sintab
    sta.z sintab
    bcc !+
    inc.z sintab+1
  !:
    // [79] (dword) sin16s_genb::x#1 ← (dword) sin16s_genb::x#5 + (dword) sin16s_genb::step#0 -- vduz1=vduz1_plus_vduz2 
    lda.z x
    clc
    adc.z step
    sta.z x
    lda.z x+1
    adc.z step+1
    sta.z x+1
    lda.z x+2
    adc.z step+2
    sta.z x+2
    lda.z x+3
    adc.z step+3
    sta.z x+3
    // [80] (word) sin16s_genb::i#1 ← ++ (word) sin16s_genb::i#5 -- vwuz1=_inc_vwuz1 
    inc.z i
    bne !+
    inc.z i+1
  !:
    jmp b1
  // u[4.28]
    // sin16s_genb::@1
  b1:
    // [81] if((word) sin16s_genb::i#1<(const word) main::wavelength#0) goto sin16s_genb::@2 -- vwuz1_lt_vwuc1_then_la1 
    lda.z i+1
    cmp #>main.wavelength
    bcc b2_from_b1
    bne !+
    lda.z i
    cmp #<main.wavelength
    bcc b2_from_b1
  !:
    jmp breturn
    // sin16s_genb::@return
  breturn:
    // [82] return 
    rts
}
  // sin16sb
// Calculate signed word sinus sin(x)
// x: unsigned dword input u[4.28] in the interval $00000000 - PI2_u4f28
// result: signed word sin(x) s[0.15] - using the full range  -$7fff - $7fff
// sin16sb(word zeropage($1d) x)
sin16sb: {
    .label x = $1d
    .label return = $1f
    .label x1 = $1d
    .label x2 = 6
    .label x3 = 6
    .label x3_6 = $1b
    .label usinx = $1f
    .label x4 = 6
    .label x5 = $1b
    .label x5_128 = $1b
    .label sinx = $1f
    // [83] if((word) sin16sb::x#0<(const word) PI_u4f12#0) goto sin16sb::@1 -- vwuz1_lt_vwuc1_then_la1 
    lda.z x+1
    cmp #>PI_u4f12
    bcc b1_from_sin16sb
    bne !+
    lda.z x
    cmp #<PI_u4f12
    bcc b1_from_sin16sb
  !:
    jmp b4
    // sin16sb::@4
  b4:
    // [84] (word) sin16sb::x#1 ← (word) sin16sb::x#0 - (const word) PI_u4f12#0 -- vwuz1=vwuz1_minus_vwuc1 
    lda.z x
    sec
    sbc #<PI_u4f12
    sta.z x
    lda.z x+1
    sbc #>PI_u4f12
    sta.z x+1
    // [85] phi from sin16sb::@4 to sin16sb::@1 [phi:sin16sb::@4->sin16sb::@1]
  b1_from_b4:
    // [85] phi (byte) sin16sb::isUpper#2 = (byte) 1 [phi:sin16sb::@4->sin16sb::@1#0] -- vbuyy=vbuc1 
    ldy #1
    // [85] phi (word) sin16sb::x#4 = (word) sin16sb::x#1 [phi:sin16sb::@4->sin16sb::@1#1] -- register_copy 
    jmp b1
    // [85] phi from sin16sb to sin16sb::@1 [phi:sin16sb->sin16sb::@1]
  b1_from_sin16sb:
    // [85] phi (byte) sin16sb::isUpper#2 = (byte) 0 [phi:sin16sb->sin16sb::@1#0] -- vbuyy=vbuc1 
    ldy #0
    // [85] phi (word) sin16sb::x#4 = (word) sin16sb::x#0 [phi:sin16sb->sin16sb::@1#1] -- register_copy 
    jmp b1
    // sin16sb::@1
  b1:
    // [86] if((word) sin16sb::x#4<(const word) PI_HALF_u4f12#0) goto sin16sb::@2 -- vwuz1_lt_vwuc1_then_la1 
    lda.z x+1
    cmp #>PI_HALF_u4f12
    bcc b2_from_b1
    bne !+
    lda.z x
    cmp #<PI_HALF_u4f12
    bcc b2_from_b1
  !:
    jmp b5
    // sin16sb::@5
  b5:
    // [87] (word) sin16sb::x#2 ← (const word) PI_u4f12#0 - (word) sin16sb::x#4 -- vwuz1=vwuc1_minus_vwuz1 
    sec
    lda #<PI_u4f12
    sbc.z x
    sta.z x
    lda #>PI_u4f12
    sbc.z x+1
    sta.z x+1
    // [88] phi from sin16sb::@1 sin16sb::@5 to sin16sb::@2 [phi:sin16sb::@1/sin16sb::@5->sin16sb::@2]
  b2_from_b1:
  b2_from_b5:
    // [88] phi (word) sin16sb::x#6 = (word) sin16sb::x#4 [phi:sin16sb::@1/sin16sb::@5->sin16sb::@2#0] -- register_copy 
    jmp b2
    // sin16sb::@2
  b2:
    // [89] (word) sin16sb::x1#0 ← (word) sin16sb::x#6 << (byte) 3 -- vwuz1=vwuz1_rol_3 
    asl.z x1
    rol.z x1+1
    asl.z x1
    rol.z x1+1
    asl.z x1
    rol.z x1+1
    // [90] (word) mulu16_sel::v1#5 ← (word) sin16sb::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v1
    lda.z x1+1
    sta.z mulu16_sel.v1+1
    // [91] (word) mulu16_sel::v2#5 ← (word) sin16sb::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [92] call mulu16_sel 
    // [122] phi from sin16sb::@2 to mulu16_sel [phi:sin16sb::@2->mulu16_sel]
  mulu16_sel_from_b2:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 0 [phi:sin16sb::@2->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #0
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#5 [phi:sin16sb::@2->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#5 [phi:sin16sb::@2->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [93] (word) mulu16_sel::return#18 ← (word) mulu16_sel::return#17
    jmp b7
    // sin16sb::@7
  b7:
    // [94] (word) sin16sb::x2#0 ← (word) mulu16_sel::return#18 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_18
    sta.z x2
    lda.z mulu16_sel.return_18+1
    sta.z x2+1
    // [95] (word) mulu16_sel::v1#6 ← (word) sin16sb::x2#0
    // [96] (word) mulu16_sel::v2#6 ← (word) sin16sb::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [97] call mulu16_sel 
    // [122] phi from sin16sb::@7 to mulu16_sel [phi:sin16sb::@7->mulu16_sel]
  mulu16_sel_from_b7:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 1 [phi:sin16sb::@7->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #1
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#6 [phi:sin16sb::@7->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#6 [phi:sin16sb::@7->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [98] (word) mulu16_sel::return#19 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return+1
    jmp b8
    // sin16sb::@8
  b8:
    // [99] (word) sin16sb::x3#0 ← (word) mulu16_sel::return#19
    // [100] (word) mulu16_sel::v1#7 ← (word) sin16sb::x3#0
    // [101] call mulu16_sel 
    // [122] phi from sin16sb::@8 to mulu16_sel [phi:sin16sb::@8->mulu16_sel]
  mulu16_sel_from_b8:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 1 [phi:sin16sb::@8->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #1
    // [122] phi (word) mulu16_sel::v2#10 = (word)(number) $10000/(number) 6 [phi:sin16sb::@8->mulu16_sel#1] -- vwuz1=vwuc1 
    lda #<$10000/6
    sta.z mulu16_sel.v2
    lda #>$10000/6
    sta.z mulu16_sel.v2+1
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#7 [phi:sin16sb::@8->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [102] (word) mulu16_sel::return#20 ← (word) mulu16_sel::return#17
    jmp b9
    // sin16sb::@9
  b9:
    // [103] (word) sin16sb::x3_6#0 ← (word) mulu16_sel::return#20
    // [104] (word) sin16sb::usinx#0 ← (word) sin16sb::x1#0 - (word) sin16sb::x3_6#0 -- vwuz1=vwuz2_minus_vwuz3 
    lda.z x1
    sec
    sbc.z x3_6
    sta.z usinx
    lda.z x1+1
    sbc.z x3_6+1
    sta.z usinx+1
    // [105] (word) mulu16_sel::v1#8 ← (word) sin16sb::x3#0
    // [106] (word) mulu16_sel::v2#8 ← (word) sin16sb::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [107] call mulu16_sel 
    // [122] phi from sin16sb::@9 to mulu16_sel [phi:sin16sb::@9->mulu16_sel]
  mulu16_sel_from_b9:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 0 [phi:sin16sb::@9->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #0
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#8 [phi:sin16sb::@9->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#8 [phi:sin16sb::@9->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [108] (word) mulu16_sel::return#10 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return+1
    jmp b10
    // sin16sb::@10
  b10:
    // [109] (word) sin16sb::x4#0 ← (word) mulu16_sel::return#10
    // [110] (word) mulu16_sel::v1#9 ← (word) sin16sb::x4#0
    // [111] (word) mulu16_sel::v2#9 ← (word) sin16sb::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [112] call mulu16_sel 
    // [122] phi from sin16sb::@10 to mulu16_sel [phi:sin16sb::@10->mulu16_sel]
  mulu16_sel_from_b10:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 0 [phi:sin16sb::@10->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #0
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#9 [phi:sin16sb::@10->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#9 [phi:sin16sb::@10->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [113] (word) mulu16_sel::return#11 ← (word) mulu16_sel::return#17
    jmp b11
    // sin16sb::@11
  b11:
    // [114] (word) sin16sb::x5#0 ← (word) mulu16_sel::return#11
    // [115] (word) sin16sb::x5_128#0 ← (word) sin16sb::x5#0 >> (byte) 4 -- vwuz1=vwuz1_ror_4 
    lsr.z x5_128+1
    ror.z x5_128
    lsr.z x5_128+1
    ror.z x5_128
    lsr.z x5_128+1
    ror.z x5_128
    lsr.z x5_128+1
    ror.z x5_128
    // [116] (word) sin16sb::usinx#1 ← (word) sin16sb::usinx#0 + (word) sin16sb::x5_128#0 -- vwuz1=vwuz1_plus_vwuz2 
    lda.z usinx
    clc
    adc.z x5_128
    sta.z usinx
    lda.z usinx+1
    adc.z x5_128+1
    sta.z usinx+1
    // [117] if((byte) sin16sb::isUpper#2==(byte) 0) goto sin16sb::@12 -- vbuyy_eq_0_then_la1 
    cpy #0
    beq b12
    jmp b6
    // sin16sb::@6
  b6:
    // [118] (signed word) sin16sb::sinx#1 ← - (signed word)(word) sin16sb::usinx#1 -- vwsz1=_neg_vwsz1 
    sec
    lda #0
    sbc.z sinx
    sta.z sinx
    lda #0
    sbc.z sinx+1
    sta.z sinx+1
    // [119] phi from sin16sb::@12 sin16sb::@6 to sin16sb::@3 [phi:sin16sb::@12/sin16sb::@6->sin16sb::@3]
  b3_from_b12:
  b3_from_b6:
    // [119] phi (signed word) sin16sb::return#1 = (signed word~) sin16sb::return#5 [phi:sin16sb::@12/sin16sb::@6->sin16sb::@3#0] -- register_copy 
    jmp b3
    // sin16sb::@3
  b3:
    jmp breturn
    // sin16sb::@return
  breturn:
    // [120] return 
    rts
    // sin16sb::@12
  b12:
    // [121] (signed word~) sin16sb::return#5 ← (signed word)(word) sin16sb::usinx#1
    jmp b3_from_b12
}
  // mulu16_sel
// Calculate val*val for two unsigned word values - the result is 16 selected bits of the 32-bit result.
// The select parameter indicates how many of the highest bits of the 32-bit result to skip
// mulu16_sel(word zeropage(6) v1, word zeropage(8) v2, byte register(X) select)
mulu16_sel: {
    .label _0 = $11
    .label _1 = $11
    .label v1 = 6
    .label v2 = 8
    .label return = 6
    .label return_11 = $1b
    .label return_14 = $1b
    .label return_16 = $1b
    .label return_17 = $1b
    .label return_18 = $1b
    .label return_20 = $1b
    // [123] (word) mul16u::a#1 ← (word) mulu16_sel::v1#10 -- vwuz1=vwuz2 
    lda.z v1
    sta.z mul16u.a
    lda.z v1+1
    sta.z mul16u.a+1
    // [124] (word) mul16u::b#0 ← (word) mulu16_sel::v2#10
    // [125] call mul16u 
    // [131] phi from mulu16_sel to mul16u [phi:mulu16_sel->mul16u]
  mul16u_from_mulu16_sel:
    jsr mul16u
    // [126] (dword) mul16u::return#2 ← (dword) mul16u::res#2
    jmp b1
    // mulu16_sel::@1
  b1:
    // [127] (dword~) mulu16_sel::$0 ← (dword) mul16u::return#2
    // [128] (dword~) mulu16_sel::$1 ← (dword~) mulu16_sel::$0 << (byte) mulu16_sel::select#10 -- vduz1=vduz1_rol_vbuxx 
    cpx #0
    beq !e+
  !:
    asl.z _1
    rol.z _1+1
    rol.z _1+2
    rol.z _1+3
    dex
    bne !-
  !e:
    // [129] (word) mulu16_sel::return#17 ← > (dword~) mulu16_sel::$1 -- vwuz1=_hi_vduz2 
    lda.z _1+2
    sta.z return_17
    lda.z _1+3
    sta.z return_17+1
    jmp breturn
    // mulu16_sel::@return
  breturn:
    // [130] return 
    rts
}
  // mul16u
// Perform binary multiplication of two unsigned 16-bit words into a 32-bit unsigned double word
// mul16u(word zeropage($1b) a, word zeropage(8) b)
mul16u: {
    .label a = $1b
    .label mb = 2
    .label res = $11
    .label b = 8
    .label return = $11
    // [132] phi from mul16u to mul16u::@1 [phi:mul16u->mul16u::@1]
  b1_from_mul16u:
    // [132] phi (dword) mul16u::mb#2 = (word) mul16u::b#0 [phi:mul16u->mul16u::@1#0] -- vduz1=vwuz2 
    lda.z b
    sta.z mb
    lda.z b+1
    sta.z mb+1
    lda #0
    sta.z mb+2
    sta.z mb+3
    // [132] phi (dword) mul16u::res#2 = (byte) 0 [phi:mul16u->mul16u::@1#1] -- vduz1=vbuc1 
    lda #0
    sta.z res
    lda #0
    sta.z res+1
    sta.z res+2
    sta.z res+3
    // [132] phi (word) mul16u::a#2 = (word) mul16u::a#1 [phi:mul16u->mul16u::@1#2] -- register_copy 
    jmp b1
    // mul16u::@1
  b1:
    // [133] if((word) mul16u::a#2!=(byte) 0) goto mul16u::@2 -- vwuz1_neq_0_then_la1 
    lda.z a
    bne b2
    lda.z a+1
    bne b2
    jmp breturn
    // mul16u::@return
  breturn:
    // [134] return 
    rts
    // mul16u::@2
  b2:
    // [135] (byte~) mul16u::$1 ← (word) mul16u::a#2 & (byte) 1 -- vbuaa=vwuz1_band_vbuc1 
    lda.z a
    and #1
    // [136] if((byte~) mul16u::$1==(byte) 0) goto mul16u::@3 -- vbuaa_eq_0_then_la1 
    cmp #0
    beq b3_from_b2
    jmp b4
    // mul16u::@4
  b4:
    // [137] (dword) mul16u::res#1 ← (dword) mul16u::res#2 + (dword) mul16u::mb#2 -- vduz1=vduz1_plus_vduz2 
    lda.z res
    clc
    adc.z mb
    sta.z res
    lda.z res+1
    adc.z mb+1
    sta.z res+1
    lda.z res+2
    adc.z mb+2
    sta.z res+2
    lda.z res+3
    adc.z mb+3
    sta.z res+3
    // [138] phi from mul16u::@2 mul16u::@4 to mul16u::@3 [phi:mul16u::@2/mul16u::@4->mul16u::@3]
  b3_from_b2:
  b3_from_b4:
    // [138] phi (dword) mul16u::res#6 = (dword) mul16u::res#2 [phi:mul16u::@2/mul16u::@4->mul16u::@3#0] -- register_copy 
    jmp b3
    // mul16u::@3
  b3:
    // [139] (word) mul16u::a#0 ← (word) mul16u::a#2 >> (byte) 1 -- vwuz1=vwuz1_ror_1 
    lsr.z a+1
    ror.z a
    // [140] (dword) mul16u::mb#1 ← (dword) mul16u::mb#2 << (byte) 1 -- vduz1=vduz1_rol_1 
    asl.z mb
    rol.z mb+1
    rol.z mb+2
    rol.z mb+3
    // [132] phi from mul16u::@3 to mul16u::@1 [phi:mul16u::@3->mul16u::@1]
  b1_from_b3:
    // [132] phi (dword) mul16u::mb#2 = (dword) mul16u::mb#1 [phi:mul16u::@3->mul16u::@1#0] -- register_copy 
    // [132] phi (dword) mul16u::res#2 = (dword) mul16u::res#6 [phi:mul16u::@3->mul16u::@1#1] -- register_copy 
    // [132] phi (word) mul16u::a#2 = (word) mul16u::a#0 [phi:mul16u::@3->mul16u::@1#2] -- register_copy 
    jmp b1
}
  // div32u16u
// Divide unsigned 32-bit dword dividend with a 16-bit word divisor
// The 16-bit word remainder can be found in rem16u after the division
div32u16u: {
    .label quotient_hi = $1d
    .label quotient_lo = $1b
    .label return = $17
    // [142] call divr16u 
    // [151] phi from div32u16u to divr16u [phi:div32u16u->divr16u]
  divr16u_from_div32u16u:
    // [151] phi (word) divr16u::dividend#5 = >(const dword) PI2_u4f28#0 [phi:div32u16u->divr16u#0] -- vwuz1=vwuc1 
    lda #<PI2_u4f28>>$10
    sta.z divr16u.dividend
    lda #>PI2_u4f28>>$10
    sta.z divr16u.dividend+1
    // [151] phi (word) divr16u::rem#10 = (byte) 0 [phi:div32u16u->divr16u#1] -- vwuz1=vbuc1 
    lda #<0
    sta.z divr16u.rem
    lda #>0
    sta.z divr16u.rem+1
    jsr divr16u
    // [143] (word) divr16u::return#2 ← (word) divr16u::return#0
    jmp b1
    // div32u16u::@1
  b1:
    // [144] (word) div32u16u::quotient_hi#0 ← (word) divr16u::return#2 -- vwuz1=vwuz2 
    lda.z divr16u.return
    sta.z quotient_hi
    lda.z divr16u.return+1
    sta.z quotient_hi+1
    // [145] (word) divr16u::rem#4 ← (word) rem16u#1
    // [146] call divr16u 
    // [151] phi from div32u16u::@1 to divr16u [phi:div32u16u::@1->divr16u]
  divr16u_from_b1:
    // [151] phi (word) divr16u::dividend#5 = <(const dword) PI2_u4f28#0 [phi:div32u16u::@1->divr16u#0] -- vwuz1=vwuc1 
    lda #<PI2_u4f28&$ffff
    sta.z divr16u.dividend
    lda #>PI2_u4f28&$ffff
    sta.z divr16u.dividend+1
    // [151] phi (word) divr16u::rem#10 = (word) divr16u::rem#4 [phi:div32u16u::@1->divr16u#1] -- register_copy 
    jsr divr16u
    // [147] (word) divr16u::return#3 ← (word) divr16u::return#0
    jmp b2
    // div32u16u::@2
  b2:
    // [148] (word) div32u16u::quotient_lo#0 ← (word) divr16u::return#3
    // [149] (dword) div32u16u::return#0 ← (word) div32u16u::quotient_hi#0 dw= (word) div32u16u::quotient_lo#0 -- vduz1=vwuz2_dword_vwuz3 
    lda.z quotient_hi
    sta.z return+2
    lda.z quotient_hi+1
    sta.z return+3
    lda.z quotient_lo
    sta.z return
    lda.z quotient_lo+1
    sta.z return+1
    jmp breturn
    // div32u16u::@return
  breturn:
    // [150] return 
    rts
}
  // divr16u
// Performs division on two 16 bit unsigned words and an initial remainder
// Returns the quotient dividend/divisor.
// The final remainder will be set into the global variable rem16u
// Implemented using simple binary division
// divr16u(word zeropage(8) dividend, word zeropage(6) rem)
divr16u: {
    .label rem = 6
    .label dividend = 8
    .label quotient = $1b
    .label return = $1b
    // [152] phi from divr16u to divr16u::@1 [phi:divr16u->divr16u::@1]
  b1_from_divr16u:
    // [152] phi (byte) divr16u::i#2 = (byte) 0 [phi:divr16u->divr16u::@1#0] -- vbuxx=vbuc1 
    ldx #0
    // [152] phi (word) divr16u::quotient#3 = (byte) 0 [phi:divr16u->divr16u::@1#1] -- vwuz1=vbuc1 
    lda #<0
    sta.z quotient
    lda #>0
    sta.z quotient+1
    // [152] phi (word) divr16u::dividend#3 = (word) divr16u::dividend#5 [phi:divr16u->divr16u::@1#2] -- register_copy 
    // [152] phi (word) divr16u::rem#5 = (word) divr16u::rem#10 [phi:divr16u->divr16u::@1#3] -- register_copy 
    jmp b1
    // [152] phi from divr16u::@3 to divr16u::@1 [phi:divr16u::@3->divr16u::@1]
  b1_from_b3:
    // [152] phi (byte) divr16u::i#2 = (byte) divr16u::i#1 [phi:divr16u::@3->divr16u::@1#0] -- register_copy 
    // [152] phi (word) divr16u::quotient#3 = (word) divr16u::return#0 [phi:divr16u::@3->divr16u::@1#1] -- register_copy 
    // [152] phi (word) divr16u::dividend#3 = (word) divr16u::dividend#0 [phi:divr16u::@3->divr16u::@1#2] -- register_copy 
    // [152] phi (word) divr16u::rem#5 = (word) divr16u::rem#11 [phi:divr16u::@3->divr16u::@1#3] -- register_copy 
    jmp b1
    // divr16u::@1
  b1:
    // [153] (word) divr16u::rem#0 ← (word) divr16u::rem#5 << (byte) 1 -- vwuz1=vwuz1_rol_1 
    asl.z rem
    rol.z rem+1
    // [154] (byte~) divr16u::$1 ← > (word) divr16u::dividend#3 -- vbuaa=_hi_vwuz1 
    lda.z dividend+1
    // [155] (byte~) divr16u::$2 ← (byte~) divr16u::$1 & (byte) $80 -- vbuaa=vbuaa_band_vbuc1 
    and #$80
    // [156] if((byte~) divr16u::$2==(byte) 0) goto divr16u::@2 -- vbuaa_eq_0_then_la1 
    cmp #0
    beq b2_from_b1
    jmp b4
    // divr16u::@4
  b4:
    // [157] (word) divr16u::rem#1 ← (word) divr16u::rem#0 | (byte) 1 -- vwuz1=vwuz1_bor_vbuc1 
    lda #1
    ora.z rem
    sta.z rem
    // [158] phi from divr16u::@1 divr16u::@4 to divr16u::@2 [phi:divr16u::@1/divr16u::@4->divr16u::@2]
  b2_from_b1:
  b2_from_b4:
    // [158] phi (word) divr16u::rem#6 = (word) divr16u::rem#0 [phi:divr16u::@1/divr16u::@4->divr16u::@2#0] -- register_copy 
    jmp b2
    // divr16u::@2
  b2:
    // [159] (word) divr16u::dividend#0 ← (word) divr16u::dividend#3 << (byte) 1 -- vwuz1=vwuz1_rol_1 
    asl.z dividend
    rol.z dividend+1
    // [160] (word) divr16u::quotient#1 ← (word) divr16u::quotient#3 << (byte) 1 -- vwuz1=vwuz1_rol_1 
    asl.z quotient
    rol.z quotient+1
    // [161] if((word) divr16u::rem#6<(const word) main::wavelength#0) goto divr16u::@3 -- vwuz1_lt_vwuc1_then_la1 
    lda.z rem+1
    cmp #>main.wavelength
    bcc b3_from_b2
    bne !+
    lda.z rem
    cmp #<main.wavelength
    bcc b3_from_b2
  !:
    jmp b5
    // divr16u::@5
  b5:
    // [162] (word) divr16u::quotient#2 ← ++ (word) divr16u::quotient#1 -- vwuz1=_inc_vwuz1 
    inc.z quotient
    bne !+
    inc.z quotient+1
  !:
    // [163] (word) divr16u::rem#2 ← (word) divr16u::rem#6 - (const word) main::wavelength#0 -- vwuz1=vwuz1_minus_vwuc1 
    lda.z rem
    sec
    sbc #<main.wavelength
    sta.z rem
    lda.z rem+1
    sbc #>main.wavelength
    sta.z rem+1
    // [164] phi from divr16u::@2 divr16u::@5 to divr16u::@3 [phi:divr16u::@2/divr16u::@5->divr16u::@3]
  b3_from_b2:
  b3_from_b5:
    // [164] phi (word) divr16u::return#0 = (word) divr16u::quotient#1 [phi:divr16u::@2/divr16u::@5->divr16u::@3#0] -- register_copy 
    // [164] phi (word) divr16u::rem#11 = (word) divr16u::rem#6 [phi:divr16u::@2/divr16u::@5->divr16u::@3#1] -- register_copy 
    jmp b3
    // divr16u::@3
  b3:
    // [165] (byte) divr16u::i#1 ← ++ (byte) divr16u::i#2 -- vbuxx=_inc_vbuxx 
    inx
    // [166] if((byte) divr16u::i#1!=(byte) $10) goto divr16u::@1 -- vbuxx_neq_vbuc1_then_la1 
    cpx #$10
    bne b1_from_b3
    jmp b6
    // divr16u::@6
  b6:
    // [167] (word) rem16u#1 ← (word) divr16u::rem#11
    jmp breturn
    // divr16u::@return
  breturn:
    // [168] return 
    rts
}
  // sin16s_gen
// Generate signed (large) word sinus table - on the full -$7fff - $7fff range
// sintab - the table to generate into
// wavelength - the number of sinus points in a total sinus wavelength (the size of the table)
// sin16s_gen(signed word* zeropage($e) sintab)
sin16s_gen: {
    .label _2 = $15
    .label step = $17
    .label sintab = $e
    .label x = $a
    .label i = $1d
    // [170] call div32u16u 
    // [141] phi from sin16s_gen to div32u16u [phi:sin16s_gen->div32u16u]
  div32u16u_from_sin16s_gen:
    jsr div32u16u
    // [171] (dword) div32u16u::return#2 ← (dword) div32u16u::return#0
    jmp b3
    // sin16s_gen::@3
  b3:
    // [172] (dword) sin16s_gen::step#0 ← (dword) div32u16u::return#2
    // [173] phi from sin16s_gen::@3 to sin16s_gen::@2 [phi:sin16s_gen::@3->sin16s_gen::@2]
  b2_from_b3:
    // [173] phi (signed word*) sin16s_gen::sintab#7 = (const signed word[$78]) main::sintab1#0 [phi:sin16s_gen::@3->sin16s_gen::@2#0] -- pwsz1=pwsc1 
    lda #<main.sintab1
    sta.z sintab
    lda #>main.sintab1
    sta.z sintab+1
    // [173] phi (dword) sin16s_gen::x#5 = (byte) 0 [phi:sin16s_gen::@3->sin16s_gen::@2#1] -- vduz1=vbuc1 
    lda #0
    sta.z x
    lda #0
    sta.z x+1
    sta.z x+2
    sta.z x+3
    // [173] phi (word) sin16s_gen::i#5 = (byte) 0 [phi:sin16s_gen::@3->sin16s_gen::@2#2] -- vwuz1=vbuc1 
    lda #<0
    sta.z i
    lda #>0
    sta.z i+1
    jmp b2
    // [173] phi from sin16s_gen::@1 to sin16s_gen::@2 [phi:sin16s_gen::@1->sin16s_gen::@2]
  b2_from_b1:
    // [173] phi (signed word*) sin16s_gen::sintab#7 = (signed word*) sin16s_gen::sintab#0 [phi:sin16s_gen::@1->sin16s_gen::@2#0] -- register_copy 
    // [173] phi (dword) sin16s_gen::x#5 = (dword) sin16s_gen::x#1 [phi:sin16s_gen::@1->sin16s_gen::@2#1] -- register_copy 
    // [173] phi (word) sin16s_gen::i#5 = (word) sin16s_gen::i#1 [phi:sin16s_gen::@1->sin16s_gen::@2#2] -- register_copy 
    jmp b2
    // sin16s_gen::@2
  b2:
    // [174] (dword) sin16s::x#0 ← (dword) sin16s_gen::x#5 -- vduz1=vduz2 
    lda.z x
    sta.z sin16s.x
    lda.z x+1
    sta.z sin16s.x+1
    lda.z x+2
    sta.z sin16s.x+2
    lda.z x+3
    sta.z sin16s.x+3
    // [175] call sin16s 
    jsr sin16s
    // [176] (signed word) sin16s::return#0 ← (signed word) sin16s::return#1
    jmp b4
    // sin16s_gen::@4
  b4:
    // [177] (signed word~) sin16s_gen::$2 ← (signed word) sin16s::return#0
    // [178] *((signed word*) sin16s_gen::sintab#7) ← (signed word~) sin16s_gen::$2 -- _deref_pwsz1=vwsz2 
    ldy #0
    lda.z _2
    sta (sintab),y
    iny
    lda.z _2+1
    sta (sintab),y
    // [179] (signed word*) sin16s_gen::sintab#0 ← (signed word*) sin16s_gen::sintab#7 + (const byte) SIZEOF_SIGNED_WORD -- pwsz1=pwsz1_plus_vbuc1 
    lda #SIZEOF_SIGNED_WORD
    clc
    adc.z sintab
    sta.z sintab
    bcc !+
    inc.z sintab+1
  !:
    // [180] (dword) sin16s_gen::x#1 ← (dword) sin16s_gen::x#5 + (dword) sin16s_gen::step#0 -- vduz1=vduz1_plus_vduz2 
    lda.z x
    clc
    adc.z step
    sta.z x
    lda.z x+1
    adc.z step+1
    sta.z x+1
    lda.z x+2
    adc.z step+2
    sta.z x+2
    lda.z x+3
    adc.z step+3
    sta.z x+3
    // [181] (word) sin16s_gen::i#1 ← ++ (word) sin16s_gen::i#5 -- vwuz1=_inc_vwuz1 
    inc.z i
    bne !+
    inc.z i+1
  !:
    jmp b1
  // u[4.28]
    // sin16s_gen::@1
  b1:
    // [182] if((word) sin16s_gen::i#1<(const word) main::wavelength#0) goto sin16s_gen::@2 -- vwuz1_lt_vwuc1_then_la1 
    lda.z i+1
    cmp #>main.wavelength
    bcc b2_from_b1
    bne !+
    lda.z i
    cmp #<main.wavelength
    bcc b2_from_b1
  !:
    jmp breturn
    // sin16s_gen::@return
  breturn:
    // [183] return 
    rts
}
  // sin16s
// Calculate signed word sinus sin(x)
// x: unsigned dword input u[4.28] in the interval $00000000 - PI2_u4f28
// result: signed word sin(x) s[0.15] - using the full range  -$7fff - $7fff
// sin16s(dword zeropage($11) x)
sin16s: {
    .label _4 = $11
    .label x = $11
    .label return = $15
    .label x1 = $1f
    .label x2 = 6
    .label x3 = 6
    .label x3_6 = $1b
    .label usinx = $15
    .label x4 = 6
    .label x5 = $1b
    .label x5_128 = $1b
    .label sinx = $15
    .label isUpper = $10
    // [184] if((dword) sin16s::x#0<(const dword) PI_u4f28#0) goto sin16s::@1 -- vduz1_lt_vduc1_then_la1 
    lda.z x+3
    cmp #>PI_u4f28>>$10
    bcc b1_from_sin16s
    bne !+
    lda.z x+2
    cmp #<PI_u4f28>>$10
    bcc b1_from_sin16s
    bne !+
    lda.z x+1
    cmp #>PI_u4f28
    bcc b1_from_sin16s
    bne !+
    lda.z x
    cmp #<PI_u4f28
    bcc b1_from_sin16s
  !:
    jmp b4
    // sin16s::@4
  b4:
    // [185] (dword) sin16s::x#1 ← (dword) sin16s::x#0 - (const dword) PI_u4f28#0 -- vduz1=vduz1_minus_vduc1 
    lda.z x
    sec
    sbc #<PI_u4f28
    sta.z x
    lda.z x+1
    sbc #>PI_u4f28
    sta.z x+1
    lda.z x+2
    sbc #<PI_u4f28>>$10
    sta.z x+2
    lda.z x+3
    sbc #>PI_u4f28>>$10
    sta.z x+3
    // [186] phi from sin16s::@4 to sin16s::@1 [phi:sin16s::@4->sin16s::@1]
  b1_from_b4:
    // [186] phi (byte) sin16s::isUpper#2 = (byte) 1 [phi:sin16s::@4->sin16s::@1#0] -- vbuz1=vbuc1 
    lda #1
    sta.z isUpper
    // [186] phi (dword) sin16s::x#4 = (dword) sin16s::x#1 [phi:sin16s::@4->sin16s::@1#1] -- register_copy 
    jmp b1
    // [186] phi from sin16s to sin16s::@1 [phi:sin16s->sin16s::@1]
  b1_from_sin16s:
    // [186] phi (byte) sin16s::isUpper#2 = (byte) 0 [phi:sin16s->sin16s::@1#0] -- vbuz1=vbuc1 
    lda #0
    sta.z isUpper
    // [186] phi (dword) sin16s::x#4 = (dword) sin16s::x#0 [phi:sin16s->sin16s::@1#1] -- register_copy 
    jmp b1
    // sin16s::@1
  b1:
    // [187] if((dword) sin16s::x#4<(const dword) PI_HALF_u4f28#0) goto sin16s::@2 -- vduz1_lt_vduc1_then_la1 
    lda.z x+3
    cmp #>PI_HALF_u4f28>>$10
    bcc b2_from_b1
    bne !+
    lda.z x+2
    cmp #<PI_HALF_u4f28>>$10
    bcc b2_from_b1
    bne !+
    lda.z x+1
    cmp #>PI_HALF_u4f28
    bcc b2_from_b1
    bne !+
    lda.z x
    cmp #<PI_HALF_u4f28
    bcc b2_from_b1
  !:
    jmp b5
    // sin16s::@5
  b5:
    // [188] (dword) sin16s::x#2 ← (const dword) PI_u4f28#0 - (dword) sin16s::x#4 -- vduz1=vduc1_minus_vduz1 
    lda #<PI_u4f28
    sec
    sbc.z x
    sta.z x
    lda #>PI_u4f28
    sbc.z x+1
    sta.z x+1
    lda #<PI_u4f28>>$10
    sbc.z x+2
    sta.z x+2
    lda #>PI_u4f28>>$10
    sbc.z x+3
    sta.z x+3
    // [189] phi from sin16s::@1 sin16s::@5 to sin16s::@2 [phi:sin16s::@1/sin16s::@5->sin16s::@2]
  b2_from_b1:
  b2_from_b5:
    // [189] phi (dword) sin16s::x#6 = (dword) sin16s::x#4 [phi:sin16s::@1/sin16s::@5->sin16s::@2#0] -- register_copy 
    jmp b2
    // sin16s::@2
  b2:
    // [190] (dword~) sin16s::$4 ← (dword) sin16s::x#6 << (byte) 3 -- vduz1=vduz1_rol_3 
    ldy #3
  !:
    asl.z _4
    rol.z _4+1
    rol.z _4+2
    rol.z _4+3
    dey
    bne !-
    // [191] (word) sin16s::x1#0 ← > (dword~) sin16s::$4 -- vwuz1=_hi_vduz2 
    lda.z _4+2
    sta.z x1
    lda.z _4+3
    sta.z x1+1
    // [192] (word) mulu16_sel::v1#0 ← (word) sin16s::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v1
    lda.z x1+1
    sta.z mulu16_sel.v1+1
    // [193] (word) mulu16_sel::v2#0 ← (word) sin16s::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [194] call mulu16_sel 
    // [122] phi from sin16s::@2 to mulu16_sel [phi:sin16s::@2->mulu16_sel]
  mulu16_sel_from_b2:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 0 [phi:sin16s::@2->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #0
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#0 [phi:sin16s::@2->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#0 [phi:sin16s::@2->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [195] (word) mulu16_sel::return#0 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return+1
    jmp b7
    // sin16s::@7
  b7:
    // [196] (word) sin16s::x2#0 ← (word) mulu16_sel::return#0
    // [197] (word) mulu16_sel::v1#1 ← (word) sin16s::x2#0
    // [198] (word) mulu16_sel::v2#1 ← (word) sin16s::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [199] call mulu16_sel 
    // [122] phi from sin16s::@7 to mulu16_sel [phi:sin16s::@7->mulu16_sel]
  mulu16_sel_from_b7:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 1 [phi:sin16s::@7->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #1
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#1 [phi:sin16s::@7->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#1 [phi:sin16s::@7->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [200] (word) mulu16_sel::return#1 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return+1
    jmp b8
    // sin16s::@8
  b8:
    // [201] (word) sin16s::x3#0 ← (word) mulu16_sel::return#1
    // [202] (word) mulu16_sel::v1#2 ← (word) sin16s::x3#0
    // [203] call mulu16_sel 
    // [122] phi from sin16s::@8 to mulu16_sel [phi:sin16s::@8->mulu16_sel]
  mulu16_sel_from_b8:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 1 [phi:sin16s::@8->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #1
    // [122] phi (word) mulu16_sel::v2#10 = (word)(number) $10000/(number) 6 [phi:sin16s::@8->mulu16_sel#1] -- vwuz1=vwuc1 
    lda #<$10000/6
    sta.z mulu16_sel.v2
    lda #>$10000/6
    sta.z mulu16_sel.v2+1
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#2 [phi:sin16s::@8->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [204] (word) mulu16_sel::return#14 ← (word) mulu16_sel::return#17
    jmp b9
    // sin16s::@9
  b9:
    // [205] (word) sin16s::x3_6#0 ← (word) mulu16_sel::return#14
    // [206] (word) sin16s::usinx#0 ← (word) sin16s::x1#0 - (word) sin16s::x3_6#0 -- vwuz1=vwuz2_minus_vwuz3 
    lda.z x1
    sec
    sbc.z x3_6
    sta.z usinx
    lda.z x1+1
    sbc.z x3_6+1
    sta.z usinx+1
    // [207] (word) mulu16_sel::v1#3 ← (word) sin16s::x3#0
    // [208] (word) mulu16_sel::v2#3 ← (word) sin16s::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [209] call mulu16_sel 
    // [122] phi from sin16s::@9 to mulu16_sel [phi:sin16s::@9->mulu16_sel]
  mulu16_sel_from_b9:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 0 [phi:sin16s::@9->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #0
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#3 [phi:sin16s::@9->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#3 [phi:sin16s::@9->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [210] (word) mulu16_sel::return#15 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return+1
    jmp b10
    // sin16s::@10
  b10:
    // [211] (word) sin16s::x4#0 ← (word) mulu16_sel::return#15
    // [212] (word) mulu16_sel::v1#4 ← (word) sin16s::x4#0
    // [213] (word) mulu16_sel::v2#4 ← (word) sin16s::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [214] call mulu16_sel 
    // [122] phi from sin16s::@10 to mulu16_sel [phi:sin16s::@10->mulu16_sel]
  mulu16_sel_from_b10:
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 0 [phi:sin16s::@10->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #0
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#4 [phi:sin16s::@10->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#4 [phi:sin16s::@10->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // [215] (word) mulu16_sel::return#16 ← (word) mulu16_sel::return#17
    jmp b11
    // sin16s::@11
  b11:
    // [216] (word) sin16s::x5#0 ← (word) mulu16_sel::return#16
    // [217] (word) sin16s::x5_128#0 ← (word) sin16s::x5#0 >> (byte) 4 -- vwuz1=vwuz1_ror_4 
    lsr.z x5_128+1
    ror.z x5_128
    lsr.z x5_128+1
    ror.z x5_128
    lsr.z x5_128+1
    ror.z x5_128
    lsr.z x5_128+1
    ror.z x5_128
    // [218] (word) sin16s::usinx#1 ← (word) sin16s::usinx#0 + (word) sin16s::x5_128#0 -- vwuz1=vwuz1_plus_vwuz2 
    lda.z usinx
    clc
    adc.z x5_128
    sta.z usinx
    lda.z usinx+1
    adc.z x5_128+1
    sta.z usinx+1
    // [219] if((byte) sin16s::isUpper#2==(byte) 0) goto sin16s::@12 -- vbuz1_eq_0_then_la1 
    lda.z isUpper
    cmp #0
    beq b12
    jmp b6
    // sin16s::@6
  b6:
    // [220] (signed word) sin16s::sinx#1 ← - (signed word)(word) sin16s::usinx#1 -- vwsz1=_neg_vwsz1 
    sec
    lda #0
    sbc.z sinx
    sta.z sinx
    lda #0
    sbc.z sinx+1
    sta.z sinx+1
    // [221] phi from sin16s::@12 sin16s::@6 to sin16s::@3 [phi:sin16s::@12/sin16s::@6->sin16s::@3]
  b3_from_b12:
  b3_from_b6:
    // [221] phi (signed word) sin16s::return#1 = (signed word~) sin16s::return#5 [phi:sin16s::@12/sin16s::@6->sin16s::@3#0] -- register_copy 
    jmp b3
    // sin16s::@3
  b3:
    jmp breturn
    // sin16s::@return
  breturn:
    // [222] return 
    rts
    // sin16s::@12
  b12:
    // [223] (signed word~) sin16s::return#5 ← (signed word)(word) sin16s::usinx#1
    jmp b3_from_b12
}
  // File Data
  print_hextab: .text "0123456789abcdef"

ASSEMBLER OPTIMIZATIONS
Removing instruction jmp b1
Removing instruction jmp bend
Removing instruction jmp b4
Removing instruction jmp b5
Removing instruction jmp b1
Removing instruction jmp b3
Removing instruction jmp b2
Removing instruction jmp b6
Removing instruction jmp b7
Removing instruction jmp breturn
Removing instruction jmp b1
Removing instruction jmp breturn
Removing instruction jmp b3
Removing instruction jmp b2
Removing instruction jmp breturn
Removing instruction jmp b1
Removing instruction jmp b4
Removing instruction jmp breturn
Removing instruction jmp b1
Removing instruction jmp breturn
Removing instruction jmp b1
Removing instruction jmp breturn
Removing instruction jmp breturn
Removing instruction jmp b2
Removing instruction jmp b1
Removing instruction jmp breturn
Removing instruction jmp b3
Removing instruction jmp b2
Removing instruction jmp b4
Removing instruction jmp b1
Removing instruction jmp breturn
Removing instruction jmp b4
Removing instruction jmp b1
Removing instruction jmp b5
Removing instruction jmp b2
Removing instruction jmp b7
Removing instruction jmp b8
Removing instruction jmp b9
Removing instruction jmp b10
Removing instruction jmp b11
Removing instruction jmp b6
Removing instruction jmp b3
Removing instruction jmp breturn
Removing instruction jmp b1
Removing instruction jmp breturn
Removing instruction jmp b1
Removing instruction jmp breturn
Removing instruction jmp b4
Removing instruction jmp b3
Removing instruction jmp b1
Removing instruction jmp b2
Removing instruction jmp breturn
Removing instruction jmp b1
Removing instruction jmp b4
Removing instruction jmp b2
Removing instruction jmp b5
Removing instruction jmp b3
Removing instruction jmp b6
Removing instruction jmp breturn
Removing instruction jmp b3
Removing instruction jmp b2
Removing instruction jmp b4
Removing instruction jmp b1
Removing instruction jmp breturn
Removing instruction jmp b4
Removing instruction jmp b1
Removing instruction jmp b5
Removing instruction jmp b2
Removing instruction jmp b7
Removing instruction jmp b8
Removing instruction jmp b9
Removing instruction jmp b10
Removing instruction jmp b11
Removing instruction jmp b6
Removing instruction jmp b3
Removing instruction jmp breturn
Succesful ASM optimization Pass5NextJumpElimination
Removing instruction lda.z sw+1
Removing instruction ldy #0
Removing instruction lda #0
Removing instruction lda #<0
Removing instruction lda #>0
Removing instruction lda #0
Removing instruction lda #0
Removing instruction lda #>0
Replacing instruction lda #<0 with TXA
Removing instruction lda #>0
Removing instruction lda #0
Removing instruction lda #<0
Removing instruction lda #>0
Succesful ASM optimization Pass5UnnecesaryLoadElimination
Replacing label b2_from_b1 with b2
Replacing label b1_from_b7 with b1
Replacing label b1_from_b2 with b1
Replacing label b1_from_print_sword with b1
Replacing label b2_from_b4 with b2
Replacing label b2_from_b1 with b2
Replacing label b2_from_b1 with b2
Replacing label b2_from_b1 with b2
Replacing label b2_from_b1 with b2
Replacing label b2_from_b1 with b2
Replacing label b2_from_b1 with b2
Replacing label b3_from_b12 with b3
Replacing label b3_from_b2 with b3
Replacing label b2_from_b1 with b2
Replacing label b3_from_b2 with b3
Replacing label b3_from_b2 with b3
Replacing label b1_from_b3 with b1
Replacing label b2_from_b1 with b2
Replacing label b2_from_b1 with b2
Replacing label b2_from_b1 with b2
Replacing label b2_from_b1 with b2
Replacing label b2_from_b1 with b2
Replacing label b2_from_b1 with b2
Replacing label b3_from_b12 with b3
Removing instruction b1_from_bbegin:
Removing instruction b1:
Removing instruction main_from_b1:
Removing instruction bend_from_b1:
Removing instruction b4_from_main:
Removing instruction sin16s_genb_from_b4:
Removing instruction b5_from_b4:
Removing instruction print_cls_from_b5:
Removing instruction b1_from_b7:
Removing instruction b3_from_b1:
Removing instruction print_str_from_b3:
Removing instruction b2_from_b1:
Removing instruction b2_from_b3:
Removing instruction b6_from_b2:
Removing instruction print_str_from_b6:
Removing instruction b1_from_print_str:
Removing instruction b1_from_b2:
Removing instruction b3_from_print_sword:
Removing instruction print_char_from_b3:
Removing instruction b2_from_b3:
Removing instruction b2_from_b4:
Removing instruction b1_from_print_sword:
Removing instruction print_char_from_b1:
Removing instruction b2_from_b1:
Removing instruction b2_from_b3:
Removing instruction b2_from_b1:
Removing instruction b2_from_b1:
Removing instruction b2_from_b5:
Removing instruction mulu16_sel_from_b8:
Removing instruction b3_from_b12:
Removing instruction b3_from_b6:
Removing instruction breturn:
Removing instruction b3_from_b2:
Removing instruction b3_from_b4:
Removing instruction b1_from_b3:
Removing instruction b2_from_b1:
Removing instruction b2_from_b4:
Removing instruction b3_from_b2:
Removing instruction b3_from_b5:
Removing instruction breturn:
Removing instruction b2_from_b3:
Removing instruction b2_from_b1:
Removing instruction b2_from_b1:
Removing instruction b2_from_b5:
Removing instruction mulu16_sel_from_b8:
Removing instruction b3_from_b12:
Removing instruction b3_from_b6:
Removing instruction breturn:
Succesful ASM optimization Pass5RedundantLabelElimination
Removing instruction bend:
Removing instruction sin16s_gen_from_main:
Removing instruction b4:
Removing instruction b5:
Removing instruction b1_from_b5:
Removing instruction b3:
Removing instruction b6:
Removing instruction b7:
Removing instruction breturn:
Removing instruction breturn:
Removing instruction b3:
Removing instruction breturn:
Removing instruction b4:
Removing instruction breturn:
Removing instruction print_byte_from_print_word:
Removing instruction b1:
Removing instruction print_byte_from_b1:
Removing instruction breturn:
Removing instruction print_char_from_print_byte:
Removing instruction b1:
Removing instruction print_char_from_b1:
Removing instruction breturn:
Removing instruction memset_from_print_cls:
Removing instruction breturn:
Removing instruction b2_from_memset:
Removing instruction b1:
Removing instruction breturn:
Removing instruction div32u16u_from_sin16s_genb:
Removing instruction b3:
Removing instruction b4:
Removing instruction b1:
Removing instruction breturn:
Removing instruction b4:
Removing instruction b1_from_b4:
Removing instruction b5:
Removing instruction mulu16_sel_from_b2:
Removing instruction b7:
Removing instruction mulu16_sel_from_b7:
Removing instruction b8:
Removing instruction b9:
Removing instruction mulu16_sel_from_b9:
Removing instruction b10:
Removing instruction mulu16_sel_from_b10:
Removing instruction b11:
Removing instruction b6:
Removing instruction mul16u_from_mulu16_sel:
Removing instruction b1:
Removing instruction breturn:
Removing instruction b1_from_mul16u:
Removing instruction breturn:
Removing instruction b4:
Removing instruction b1_from_b3:
Removing instruction divr16u_from_div32u16u:
Removing instruction b1:
Removing instruction divr16u_from_b1:
Removing instruction b2:
Removing instruction breturn:
Removing instruction b1_from_divr16u:
Removing instruction b4:
Removing instruction b5:
Removing instruction b6:
Removing instruction div32u16u_from_sin16s_gen:
Removing instruction b3:
Removing instruction b4:
Removing instruction b1:
Removing instruction breturn:
Removing instruction b4:
Removing instruction b1_from_b4:
Removing instruction b5:
Removing instruction mulu16_sel_from_b2:
Removing instruction b7:
Removing instruction mulu16_sel_from_b7:
Removing instruction b8:
Removing instruction b9:
Removing instruction mulu16_sel_from_b9:
Removing instruction b10:
Removing instruction mulu16_sel_from_b10:
Removing instruction b11:
Removing instruction b6:
Succesful ASM optimization Pass5UnusedLabelElimination
Updating BasicUpstart to call main directly
Removing instruction jsr main
Succesful ASM optimization Pass5SkipBegin
Skipping double jump to b3 in beq b12
Replacing jump to rts with rts in jmp b3
Skipping double jump to b3 in beq b12
Replacing jump to rts with rts in jmp b3
Succesful ASM optimization Pass5DoubleJumpElimination
Relabelling long label b1_from_sin16sb to b4
Relabelling long label b1_from_sin16s to b4
Succesful ASM optimization Pass5RelabelLongLabels
Removing instruction jmp b1
Removing instruction jmp b2
Removing instruction jmp b2
Removing instruction jmp b1
Removing instruction jmp b2
Succesful ASM optimization Pass5NextJumpElimination
Removing instruction bbegin:
Removing instruction b12:
Removing instruction b12:
Succesful ASM optimization Pass5UnusedLabelElimination
Removing unreachable instruction rts
Removing unreachable instruction rts
Succesful ASM optimization Pass5UnreachableCodeElimination

FINAL SYMBOL TABLE
(label) @1
(label) @begin
(label) @end
(dword) PI2_u4f28
(const dword) PI2_u4f28#0 PI2_u4f28 = (dword) $6487ed51
(word) PI_HALF_u4f12
(const word) PI_HALF_u4f12#0 PI_HALF_u4f12 = (word) $1922
(dword) PI_HALF_u4f28
(const dword) PI_HALF_u4f28#0 PI_HALF_u4f28 = (dword) $1921fb54
(word) PI_u4f12
(const word) PI_u4f12#0 PI_u4f12 = (word) $3244
(dword) PI_u4f28
(const dword) PI_u4f28#0 PI_u4f28 = (dword) $3243f6a9
(const byte) RADIX::BINARY BINARY = (number) 2
(const byte) RADIX::DECIMAL DECIMAL = (number) $a
(const byte) RADIX::HEXADECIMAL HEXADECIMAL = (number) $10
(const byte) RADIX::OCTAL OCTAL = (number) 8
(const byte) SIZEOF_SIGNED_WORD SIZEOF_SIGNED_WORD = (byte) 2
(dword()) div32u16u((dword) div32u16u::dividend , (word) div32u16u::divisor)
(label) div32u16u::@1
(label) div32u16u::@2
(label) div32u16u::@return
(dword) div32u16u::dividend
(word) div32u16u::divisor
(dword) div32u16u::quotient
(word) div32u16u::quotient_hi
(word) div32u16u::quotient_hi#0 quotient_hi zp ZP_WORD:29 0.8
(word) div32u16u::quotient_lo
(word) div32u16u::quotient_lo#0 quotient_lo zp ZP_WORD:27 4.0
(dword) div32u16u::return
(dword) div32u16u::return#0 return zp ZP_DWORD:23 1.5
(dword) div32u16u::return#2 return zp ZP_DWORD:23 4.0
(dword) div32u16u::return#3 return zp ZP_DWORD:23 4.0
(word()) divr16u((word) divr16u::dividend , (word) divr16u::divisor , (word) divr16u::rem)
(byte~) divr16u::$1 reg byte a 22.0
(byte~) divr16u::$2 reg byte a 22.0
(label) divr16u::@1
(label) divr16u::@2
(label) divr16u::@3
(label) divr16u::@4
(label) divr16u::@5
(label) divr16u::@6
(label) divr16u::@return
(word) divr16u::dividend
(word) divr16u::dividend#0 dividend zp ZP_WORD:8 2.75
(word) divr16u::dividend#3 dividend zp ZP_WORD:8 5.0
(word) divr16u::dividend#5 dividend zp ZP_WORD:8 2.0
(word) divr16u::divisor
(byte) divr16u::i
(byte) divr16u::i#1 reg byte x 16.5
(byte) divr16u::i#2 reg byte x 1.6923076923076923
(word) divr16u::quotient
(word) divr16u::quotient#1 quotient zp ZP_WORD:27 16.5
(word) divr16u::quotient#2 quotient zp ZP_WORD:27 11.0
(word) divr16u::quotient#3 quotient zp ZP_WORD:27 2.75
(word) divr16u::rem
(word) divr16u::rem#0 rem zp ZP_WORD:6 8.25
(word) divr16u::rem#1 rem zp ZP_WORD:6 22.0
(word) divr16u::rem#10 rem zp ZP_WORD:6 4.0
(word) divr16u::rem#11 rem zp ZP_WORD:6 11.666666666666666
(word) divr16u::rem#2 rem zp ZP_WORD:6 22.0
(word) divr16u::rem#4 rem zp ZP_WORD:6 4.0
(word) divr16u::rem#5 rem zp ZP_WORD:6 24.0
(word) divr16u::rem#6 rem zp ZP_WORD:6 11.0
(word) divr16u::return
(word) divr16u::return#0 return zp ZP_WORD:27 5.285714285714286
(word) divr16u::return#2 return zp ZP_WORD:27 4.0
(word) divr16u::return#3 return zp ZP_WORD:27 4.0
(void()) main()
(label) main::@1
(label) main::@2
(label) main::@3
(label) main::@4
(label) main::@5
(label) main::@6
(label) main::@7
(label) main::@return
(byte) main::i
(byte) main::i#1 reg byte x 16.5
(byte) main::i#2 reg byte x 1.8333333333333333
(signed word[$78]) main::sintab1
(const signed word[$78]) main::sintab1#0 sintab1 = { fill( $78, 0) }
(signed word[$78]) main::sintab2
(const signed word[$78]) main::sintab2#0 sintab2 = { fill( $78, 0) }
(signed word*) main::st1
(signed word*) main::st1#1 st1 zp ZP_WORD:6 5.5
(signed word*) main::st1#2 st1 zp ZP_WORD:6 3.3000000000000003
(signed word*) main::st2
(signed word*) main::st2#1 st2 zp ZP_WORD:14 7.333333333333333
(signed word*) main::st2#2 st2 zp ZP_WORD:14 3.0
(const string) main::str str = (string) "   "
(const string) main::str1 str1 = (string) " "
(signed word) main::sw
(signed word) main::sw#0 sw zp ZP_WORD:29 6.6000000000000005
(word) main::wavelength
(const word) main::wavelength#0 wavelength = (byte) $78
(void*()) memset((void*) memset::str , (byte) memset::c , (word) memset::num)
(label) memset::@1
(label) memset::@2
(label) memset::@return
(byte) memset::c
(const byte) memset::c#0 c = (byte) ' '
(byte*) memset::dst
(byte*) memset::dst#1 dst zp ZP_WORD:6 16.5
(byte*) memset::dst#4 dst zp ZP_WORD:6 16.5
(byte*) memset::end
(const byte*) memset::end#0 end = (byte*)(const void*) memset::str#0+(const word) memset::num#0
(word) memset::num
(const word) memset::num#0 num = (word) $3e8
(void*) memset::return
(void*) memset::str
(const void*) memset::str#0 str = (void*)(const byte*) print_line_cursor#0
(dword()) mul16u((word) mul16u::a , (word) mul16u::b)
(byte~) mul16u::$1 reg byte a 202.0
(label) mul16u::@1
(label) mul16u::@2
(label) mul16u::@3
(label) mul16u::@4
(label) mul16u::@return
(word) mul16u::a
(word) mul16u::a#0 a zp ZP_WORD:27 101.0
(word) mul16u::a#1 a zp ZP_WORD:27 1.3333333333333333
(word) mul16u::a#2 a zp ZP_WORD:27 67.66666666666666
(word) mul16u::b
(word) mul16u::b#0 b zp ZP_WORD:8 2.0
(dword) mul16u::mb
(dword) mul16u::mb#1 mb zp ZP_DWORD:2 202.0
(dword) mul16u::mb#2 mb zp ZP_DWORD:2 43.57142857142858
(dword) mul16u::res
(dword) mul16u::res#1 res zp ZP_DWORD:17 202.0
(dword) mul16u::res#2 res zp ZP_DWORD:17 50.83333333333333
(dword) mul16u::res#6 res zp ZP_DWORD:17 101.0
(dword) mul16u::return
(dword) mul16u::return#2 return zp ZP_DWORD:17 4.0
(word()) mulu16_sel((word) mulu16_sel::v1 , (word) mulu16_sel::v2 , (byte) mulu16_sel::select)
(dword~) mulu16_sel::$0 $0 zp ZP_DWORD:17 4.0
(dword~) mulu16_sel::$1 $1 zp ZP_DWORD:17 4.0
(label) mulu16_sel::@1
(label) mulu16_sel::@return
(word) mulu16_sel::return
(word) mulu16_sel::return#0 return zp ZP_WORD:6 4.0
(word) mulu16_sel::return#1 return zp ZP_WORD:6 4.0
(word) mulu16_sel::return#10 return zp ZP_WORD:6 4.0
(word) mulu16_sel::return#11 return#11 zp ZP_WORD:27 4.0
(word) mulu16_sel::return#14 return#14 zp ZP_WORD:27 4.0
(word) mulu16_sel::return#15 return zp ZP_WORD:6 4.0
(word) mulu16_sel::return#16 return#16 zp ZP_WORD:27 4.0
(word) mulu16_sel::return#17 return#17 zp ZP_WORD:27 1.8333333333333335
(word) mulu16_sel::return#18 return#18 zp ZP_WORD:27 4.0
(word) mulu16_sel::return#19 return zp ZP_WORD:6 4.0
(word) mulu16_sel::return#20 return#20 zp ZP_WORD:27 4.0
(byte) mulu16_sel::select
(byte) mulu16_sel::select#10 reg byte x 0.3333333333333333
(word) mulu16_sel::v1
(word) mulu16_sel::v1#0 v1 zp ZP_WORD:6 2.0
(word) mulu16_sel::v1#1 v1 zp ZP_WORD:6 2.0
(word) mulu16_sel::v1#10 v1 zp ZP_WORD:6 22.0
(word) mulu16_sel::v1#2 v1 zp ZP_WORD:6 4.0
(word) mulu16_sel::v1#3 v1 zp ZP_WORD:6 2.0
(word) mulu16_sel::v1#4 v1 zp ZP_WORD:6 2.0
(word) mulu16_sel::v1#5 v1 zp ZP_WORD:6 2.0
(word) mulu16_sel::v1#6 v1 zp ZP_WORD:6 2.0
(word) mulu16_sel::v1#7 v1 zp ZP_WORD:6 4.0
(word) mulu16_sel::v1#8 v1 zp ZP_WORD:6 2.0
(word) mulu16_sel::v1#9 v1 zp ZP_WORD:6 2.0
(word) mulu16_sel::v2
(word) mulu16_sel::v2#0 v2 zp ZP_WORD:8 4.0
(word) mulu16_sel::v2#1 v2 zp ZP_WORD:8 4.0
(word) mulu16_sel::v2#10 v2 zp ZP_WORD:8 9.0
(word) mulu16_sel::v2#3 v2 zp ZP_WORD:8 4.0
(word) mulu16_sel::v2#4 v2 zp ZP_WORD:8 4.0
(word) mulu16_sel::v2#5 v2 zp ZP_WORD:8 4.0
(word) mulu16_sel::v2#6 v2 zp ZP_WORD:8 4.0
(word) mulu16_sel::v2#8 v2 zp ZP_WORD:8 4.0
(word) mulu16_sel::v2#9 v2 zp ZP_WORD:8 4.0
(void()) print_byte((byte) print_byte::b)
(byte~) print_byte::$0 reg byte a 4.0
(byte~) print_byte::$2 reg byte a 4.0
(label) print_byte::@1
(label) print_byte::@return
(byte) print_byte::b
(byte) print_byte::b#0 b zp ZP_BYTE:16 4.0
(byte) print_byte::b#1 b zp ZP_BYTE:16 4.0
(byte) print_byte::b#2 b zp ZP_BYTE:16 2.0
(void()) print_char((byte) print_char::ch)
(label) print_char::@return
(byte) print_char::ch
(byte) print_char::ch#2 reg byte a 4.0
(byte) print_char::ch#3 reg byte a 4.0
(byte) print_char::ch#4 reg byte a 6.0
(byte*) print_char_cursor
(byte*) print_char_cursor#1 print_char_cursor zp ZP_WORD:31 101.0
(byte*) print_char_cursor#13 print_char_cursor zp ZP_WORD:31 0.7083333333333334
(byte*) print_char_cursor#2 print_char_cursor zp ZP_WORD:31 32.7
(byte*) print_char_cursor#35 print_char_cursor zp ZP_WORD:31 6.0
(byte*) print_char_cursor#51 print_char_cursor zp ZP_WORD:31 5.200000000000001
(byte*) print_char_cursor#52 print_char_cursor zp ZP_WORD:31 8.25
(byte*) print_char_cursor#54 print_char_cursor zp ZP_WORD:31 24.0
(void()) print_cls()
(label) print_cls::@return
(byte[]) print_hextab
(const byte[]) print_hextab#0 print_hextab = (string) "0123456789abcdef"z
(byte*) print_line_cursor
(const byte*) print_line_cursor#0 print_line_cursor = (byte*) 1024
(byte*) print_screen
(void()) print_str((byte*) print_str::str)
(label) print_str::@1
(label) print_str::@2
(label) print_str::@return
(byte*) print_str::str
(byte*) print_str::str#0 str zp ZP_WORD:21 202.0
(byte*) print_str::str#3 str zp ZP_WORD:21 101.5
(byte*) print_str::str#5 str zp ZP_WORD:21 2.0
(void()) print_sword((signed word) print_sword::w)
(label) print_sword::@1
(label) print_sword::@2
(label) print_sword::@3
(label) print_sword::@4
(label) print_sword::@return
(signed word) print_sword::w
(signed word) print_sword::w#0 w zp ZP_WORD:29 4.0
(signed word) print_sword::w#1 w zp ZP_WORD:29 2.8333333333333335
(signed word) print_sword::w#4 w zp ZP_WORD:29 4.0
(void()) print_word((word) print_word::w)
(label) print_word::@1
(label) print_word::@return
(word) print_word::w
(word) print_word::w#0 w zp ZP_WORD:29 2.0
(word) rem16u
(word) rem16u#1 rem16u zp ZP_WORD:6 0.8
(signed word()) sin16s((dword) sin16s::x)
(dword~) sin16s::$4 $4 zp ZP_DWORD:17 4.0
(label) sin16s::@1
(label) sin16s::@10
(label) sin16s::@11
(label) sin16s::@12
(label) sin16s::@2
(label) sin16s::@3
(label) sin16s::@4
(label) sin16s::@5
(label) sin16s::@6
(label) sin16s::@7
(label) sin16s::@8
(label) sin16s::@9
(label) sin16s::@return
(byte) sin16s::isUpper
(byte) sin16s::isUpper#2 isUpper zp ZP_BYTE:16 0.06060606060606061
(signed word) sin16s::return
(signed word) sin16s::return#0 return zp ZP_WORD:21 22.0
(signed word) sin16s::return#1 return zp ZP_WORD:21 5.0
(signed word~) sin16s::return#5 return zp ZP_WORD:21 4.0
(signed word) sin16s::sinx
(signed word) sin16s::sinx#1 sinx zp ZP_WORD:21 4.0
(word) sin16s::usinx
(word) sin16s::usinx#0 usinx zp ZP_WORD:21 0.3333333333333333
(word) sin16s::usinx#1 usinx zp ZP_WORD:21 1.0
(dword) sin16s::x
(dword) sin16s::x#0 x zp ZP_DWORD:17 8.5
(dword) sin16s::x#1 x zp ZP_DWORD:17 4.0
(dword) sin16s::x#2 x zp ZP_DWORD:17 4.0
(dword) sin16s::x#4 x zp ZP_DWORD:17 5.0
(dword) sin16s::x#6 x zp ZP_DWORD:17 6.0
(word) sin16s::x1
(word) sin16s::x1#0 x1 zp ZP_WORD:31 0.6363636363636365
(word) sin16s::x2
(word) sin16s::x2#0 x2 zp ZP_WORD:6 4.0
(word) sin16s::x3
(word) sin16s::x3#0 x3 zp ZP_WORD:6 1.0
(word) sin16s::x3_6
(word) sin16s::x3_6#0 x3_6 zp ZP_WORD:27 4.0
(word) sin16s::x4
(word) sin16s::x4#0 x4 zp ZP_WORD:6 4.0
(word) sin16s::x5
(word) sin16s::x5#0 x5 zp ZP_WORD:27 4.0
(word) sin16s::x5_128
(word) sin16s::x5_128#0 x5_128 zp ZP_WORD:27 4.0
(void()) sin16s_gen((signed word*) sin16s_gen::sintab , (word) sin16s_gen::wavelength)
(signed word~) sin16s_gen::$2 $2 zp ZP_WORD:21 22.0
(label) sin16s_gen::@1
(label) sin16s_gen::@2
(label) sin16s_gen::@3
(label) sin16s_gen::@4
(label) sin16s_gen::@return
(word) sin16s_gen::i
(word) sin16s_gen::i#1 i zp ZP_WORD:29 16.5
(word) sin16s_gen::i#5 i zp ZP_WORD:29 2.75
(signed word*) sin16s_gen::sintab
(signed word*) sin16s_gen::sintab#0 sintab zp ZP_WORD:14 5.5
(signed word*) sin16s_gen::sintab#7 sintab zp ZP_WORD:14 5.5
(dword) sin16s_gen::step
(dword) sin16s_gen::step#0 step zp ZP_DWORD:23 1.1818181818181819
(word) sin16s_gen::wavelength
(dword) sin16s_gen::x
(dword) sin16s_gen::x#1 x zp ZP_DWORD:10 7.333333333333333
(dword) sin16s_gen::x#5 x zp ZP_DWORD:10 4.714285714285714
(void()) sin16s_genb((signed word*) sin16s_genb::sintab , (word) sin16s_genb::wavelength)
(signed word~) sin16s_genb::$3 $3 zp ZP_WORD:31 22.0
(label) sin16s_genb::@1
(label) sin16s_genb::@2
(label) sin16s_genb::@3
(label) sin16s_genb::@4
(label) sin16s_genb::@return
(word) sin16s_genb::i
(word) sin16s_genb::i#1 i zp ZP_WORD:14 16.5
(word) sin16s_genb::i#5 i zp ZP_WORD:14 2.75
(signed word*) sin16s_genb::sintab
(signed word*) sin16s_genb::sintab#0 sintab zp ZP_WORD:21 5.5
(signed word*) sin16s_genb::sintab#7 sintab zp ZP_WORD:21 5.5
(dword) sin16s_genb::step
(dword) sin16s_genb::step#0 step zp ZP_DWORD:23 1.1818181818181819
(word) sin16s_genb::wavelength
(dword) sin16s_genb::x
(dword) sin16s_genb::x#1 x zp ZP_DWORD:10 7.333333333333333
(dword) sin16s_genb::x#5 x zp ZP_DWORD:10 4.714285714285714
(signed word()) sin16sb((word) sin16sb::x)
(label) sin16sb::@1
(label) sin16sb::@10
(label) sin16sb::@11
(label) sin16sb::@12
(label) sin16sb::@2
(label) sin16sb::@3
(label) sin16sb::@4
(label) sin16sb::@5
(label) sin16sb::@6
(label) sin16sb::@7
(label) sin16sb::@8
(label) sin16sb::@9
(label) sin16sb::@return
(byte) sin16sb::isUpper
(byte) sin16sb::isUpper#2 reg byte y 0.0625
(signed word) sin16sb::return
(signed word) sin16sb::return#0 return zp ZP_WORD:31 22.0
(signed word) sin16sb::return#1 return zp ZP_WORD:31 5.0
(signed word~) sin16sb::return#5 return zp ZP_WORD:31 4.0
(signed word) sin16sb::sinx
(signed word) sin16sb::sinx#1 sinx zp ZP_WORD:31 4.0
(word) sin16sb::usinx
(word) sin16sb::usinx#0 usinx zp ZP_WORD:31 0.3333333333333333
(word) sin16sb::usinx#1 usinx zp ZP_WORD:31 1.0
(word) sin16sb::x
(word) sin16sb::x#0 x zp ZP_WORD:29 8.5
(word) sin16sb::x#1 x zp ZP_WORD:29 4.0
(word) sin16sb::x#2 x zp ZP_WORD:29 4.0
(word) sin16sb::x#4 x zp ZP_WORD:29 5.0
(word) sin16sb::x#6 x zp ZP_WORD:29 6.0
(word) sin16sb::x1
(word) sin16sb::x1#0 x1 zp ZP_WORD:29 0.6363636363636365
(word) sin16sb::x2
(word) sin16sb::x2#0 x2 zp ZP_WORD:6 4.0
(word) sin16sb::x3
(word) sin16sb::x3#0 x3 zp ZP_WORD:6 1.0
(word) sin16sb::x3_6
(word) sin16sb::x3_6#0 x3_6 zp ZP_WORD:27 4.0
(word) sin16sb::x4
(word) sin16sb::x4#0 x4 zp ZP_WORD:6 4.0
(word) sin16sb::x5
(word) sin16sb::x5#0 x5 zp ZP_WORD:27 4.0
(word) sin16sb::x5_128
(word) sin16sb::x5_128#0 x5_128 zp ZP_WORD:27 4.0

reg byte x [ main::i#2 main::i#1 ]
reg byte a [ print_char::ch#4 print_char::ch#2 print_char::ch#3 ]
reg byte y [ sin16sb::isUpper#2 ]
reg byte x [ mulu16_sel::select#10 ]
zp ZP_DWORD:2 [ mul16u::mb#2 mul16u::mb#1 ]
zp ZP_WORD:6 [ divr16u::rem#5 divr16u::rem#10 divr16u::rem#4 divr16u::rem#11 divr16u::rem#6 divr16u::rem#0 divr16u::rem#1 divr16u::rem#2 rem16u#1 mulu16_sel::v1#10 mulu16_sel::v1#3 mulu16_sel::v1#4 mulu16_sel::v1#0 mulu16_sel::v1#1 mulu16_sel::v1#2 mulu16_sel::v1#8 mulu16_sel::v1#9 mulu16_sel::v1#5 mulu16_sel::v1#6 mulu16_sel::v1#7 sin16sb::x3#0 sin16s::x3#0 sin16sb::x2#0 sin16sb::x4#0 sin16s::x2#0 sin16s::x4#0 mulu16_sel::return#19 mulu16_sel::return#10 mulu16_sel::return#0 mulu16_sel::return#1 mulu16_sel::return#15 memset::dst#4 memset::dst#1 main::st1#2 main::st1#1 ]
zp ZP_WORD:8 [ divr16u::dividend#3 divr16u::dividend#5 divr16u::dividend#0 mulu16_sel::v2#10 mulu16_sel::v2#3 mulu16_sel::v2#4 mulu16_sel::v2#0 mulu16_sel::v2#1 mulu16_sel::v2#8 mulu16_sel::v2#9 mulu16_sel::v2#5 mulu16_sel::v2#6 mul16u::b#0 ]
reg byte x [ divr16u::i#2 divr16u::i#1 ]
zp ZP_DWORD:10 [ sin16s_gen::x#5 sin16s_gen::x#1 sin16s_genb::x#5 sin16s_genb::x#1 ]
zp ZP_WORD:14 [ sin16s_gen::sintab#7 sin16s_gen::sintab#0 sin16s_genb::i#5 sin16s_genb::i#1 main::st2#2 main::st2#1 ]
zp ZP_BYTE:16 [ sin16s::isUpper#2 print_byte::b#2 print_byte::b#0 print_byte::b#1 ]
zp ZP_DWORD:17 [ sin16s::x#6 sin16s::x#4 sin16s::x#0 sin16s::x#1 sin16s::x#2 sin16s::$4 mul16u::res#2 mul16u::res#6 mul16u::res#1 mul16u::return#2 mulu16_sel::$0 mulu16_sel::$1 ]
zp ZP_WORD:21 [ sin16s::return#1 sin16s::return#5 sin16s::sinx#1 sin16s::usinx#1 sin16s::return#0 sin16s_gen::$2 sin16s::usinx#0 sin16s_genb::sintab#7 sin16s_genb::sintab#0 print_str::str#3 print_str::str#5 print_str::str#0 ]
reg byte a [ print_byte::$0 ]
reg byte a [ print_byte::$2 ]
zp ZP_DWORD:23 [ div32u16u::return#3 sin16s_genb::step#0 div32u16u::return#0 div32u16u::return#2 sin16s_gen::step#0 ]
zp ZP_WORD:27 [ mulu16_sel::return#18 mulu16_sel::return#17 mulu16_sel::return#20 sin16sb::x3_6#0 mulu16_sel::return#11 sin16sb::x5#0 mulu16_sel::return#14 sin16s::x3_6#0 mulu16_sel::return#16 sin16s::x5#0 sin16sb::x5_128#0 sin16s::x5_128#0 divr16u::quotient#3 divr16u::return#0 divr16u::quotient#1 divr16u::quotient#2 divr16u::return#2 divr16u::return#3 div32u16u::quotient_lo#0 mul16u::a#2 mul16u::a#1 mul16u::a#0 ]
reg byte a [ mul16u::$1 ]
zp ZP_WORD:29 [ div32u16u::quotient_hi#0 sin16s_gen::i#5 sin16s_gen::i#1 sin16sb::x#6 sin16sb::x#4 sin16sb::x#0 sin16sb::x#1 sin16sb::x#2 sin16sb::x1#0 print_sword::w#4 print_sword::w#0 print_sword::w#1 main::sw#0 print_word::w#0 ]
reg byte a [ divr16u::$1 ]
reg byte a [ divr16u::$2 ]
zp ZP_WORD:31 [ sin16s::x1#0 sin16sb::return#1 sin16sb::return#5 sin16sb::sinx#1 sin16sb::usinx#1 sin16sb::return#0 sin16s_genb::$3 sin16sb::usinx#0 print_char_cursor#35 print_char_cursor#54 print_char_cursor#51 print_char_cursor#52 print_char_cursor#2 print_char_cursor#13 print_char_cursor#1 ]


FINAL ASSEMBLER
Score: 24915

  // File Comments
// Generates a 16-bit signed sinus
  // Upstart
.pc = $801 "Basic"
:BasicUpstart(main)
.pc = $80d "Program"
  // Global Constants & labels
  .const SIZEOF_SIGNED_WORD = 2
  // PI*2 in u[4.28] format
  .const PI2_u4f28 = $6487ed51
  // PI in u[4.28] format
  .const PI_u4f28 = $3243f6a9
  // PI/2 in u[4.28] format
  .const PI_HALF_u4f28 = $1921fb54
  // PI in u[4.12] format
  .const PI_u4f12 = $3244
  // PI/2 in u[4.12] format
  .const PI_HALF_u4f12 = $1922
  .label print_line_cursor = $400
  .label rem16u = 6
  .label print_char_cursor = $1f
  // @begin
  // [1] phi from @begin to @1 [phi:@begin->@1]
  // @1
  // [2] call main 
  // [4] phi from @1 to main [phi:@1->main]
  // [3] phi from @1 to @end [phi:@1->@end]
  // @end
  // main
main: {
    .label wavelength = $78
    .label sw = $1d
    .label st1 = 6
    .label st2 = $e
    // sin16s_gen(sintab1, wavelength)
    // [5] call sin16s_gen 
    // [169] phi from main to sin16s_gen [phi:main->sin16s_gen]
    jsr sin16s_gen
    // [6] phi from main to main::@4 [phi:main->main::@4]
    // main::@4
    // sin16s_genb(sintab2, wavelength)
    // [7] call sin16s_genb 
    // [68] phi from main::@4 to sin16s_genb [phi:main::@4->sin16s_genb]
    jsr sin16s_genb
    // [8] phi from main::@4 to main::@5 [phi:main::@4->main::@5]
    // main::@5
    // print_cls()
    // [9] call print_cls 
    // [59] phi from main::@5 to print_cls [phi:main::@5->print_cls]
    jsr print_cls
    // [10] phi from main::@5 to main::@1 [phi:main::@5->main::@1]
    // [10] phi (byte) main::i#2 = (byte) 0 [phi:main::@5->main::@1#0] -- vbuxx=vbuc1 
    ldx #0
    // [10] phi (byte*) print_char_cursor#52 = (const byte*) print_line_cursor#0 [phi:main::@5->main::@1#1] -- pbuz1=pbuc1 
    lda #<print_line_cursor
    sta.z print_char_cursor
    lda #>print_line_cursor
    sta.z print_char_cursor+1
    // [10] phi (signed word*) main::st2#2 = (const signed word[$78]) main::sintab2#0 [phi:main::@5->main::@1#2] -- pwsz1=pwsc1 
    lda #<sintab2
    sta.z st2
    lda #>sintab2
    sta.z st2+1
    // [10] phi (signed word*) main::st1#2 = (const signed word[$78]) main::sintab1#0 [phi:main::@5->main::@1#3] -- pwsz1=pwsc1 
    lda #<sintab1
    sta.z st1
    lda #>sintab1
    sta.z st1+1
    // [10] phi from main::@7 to main::@1 [phi:main::@7->main::@1]
    // [10] phi (byte) main::i#2 = (byte) main::i#1 [phi:main::@7->main::@1#0] -- register_copy 
    // [10] phi (byte*) print_char_cursor#52 = (byte*) print_char_cursor#2 [phi:main::@7->main::@1#1] -- register_copy 
    // [10] phi (signed word*) main::st2#2 = (signed word*) main::st2#1 [phi:main::@7->main::@1#2] -- register_copy 
    // [10] phi (signed word*) main::st1#2 = (signed word*) main::st1#1 [phi:main::@7->main::@1#3] -- register_copy 
    // main::@1
  b1:
    // sw = *st1 - *st2
    // [11] (signed word) main::sw#0 ← *((signed word*) main::st1#2) - *((signed word*) main::st2#2) -- vwsz1=_deref_pwsz2_minus__deref_pwsz3 
    ldy #0
    sec
    lda (st1),y
    sbc (st2),y
    sta.z sw
    iny
    lda (st1),y
    sbc (st2),y
    sta.z sw+1
    // if(sw>=0)
    // [12] if((signed word) main::sw#0<(signed byte) 0) goto main::@2 -- vwsz1_lt_0_then_la1 
    bmi b2
    // [13] phi from main::@1 to main::@3 [phi:main::@1->main::@3]
    // main::@3
    // print_str(" ")
    // [14] call print_str 
    // [25] phi from main::@3 to print_str [phi:main::@3->print_str]
    // [25] phi (byte*) print_char_cursor#54 = (byte*) print_char_cursor#52 [phi:main::@3->print_str#0] -- register_copy 
    // [25] phi (byte*) print_str::str#5 = (const string) main::str1 [phi:main::@3->print_str#1] -- pbuz1=pbuc1 
    lda #<str1
    sta.z print_str.str
    lda #>str1
    sta.z print_str.str+1
    jsr print_str
    // [15] phi from main::@1 main::@3 to main::@2 [phi:main::@1/main::@3->main::@2]
    // [15] phi (byte*) print_char_cursor#51 = (byte*) print_char_cursor#52 [phi:main::@1/main::@3->main::@2#0] -- register_copy 
    // main::@2
  b2:
    // print_sword(sw)
    // [16] (signed word) print_sword::w#1 ← (signed word) main::sw#0
    // [17] call print_sword 
    jsr print_sword
    // [18] phi from main::@2 to main::@6 [phi:main::@2->main::@6]
    // main::@6
    // print_str("   ")
    // [19] call print_str 
    // [25] phi from main::@6 to print_str [phi:main::@6->print_str]
    // [25] phi (byte*) print_char_cursor#54 = (byte*) print_char_cursor#13 [phi:main::@6->print_str#0] -- register_copy 
    // [25] phi (byte*) print_str::str#5 = (const string) main::str [phi:main::@6->print_str#1] -- pbuz1=pbuc1 
    lda #<str
    sta.z print_str.str
    lda #>str
    sta.z print_str.str+1
    jsr print_str
    // main::@7
    // st1++;
    // [20] (signed word*) main::st1#1 ← (signed word*) main::st1#2 + (const byte) SIZEOF_SIGNED_WORD -- pwsz1=pwsz1_plus_vbuc1 
    lda #SIZEOF_SIGNED_WORD
    clc
    adc.z st1
    sta.z st1
    bcc !+
    inc.z st1+1
  !:
    // st2++;
    // [21] (signed word*) main::st2#1 ← (signed word*) main::st2#2 + (const byte) SIZEOF_SIGNED_WORD -- pwsz1=pwsz1_plus_vbuc1 
    lda #SIZEOF_SIGNED_WORD
    clc
    adc.z st2
    sta.z st2
    bcc !+
    inc.z st2+1
  !:
    // for( byte i: 0..119)
    // [22] (byte) main::i#1 ← ++ (byte) main::i#2 -- vbuxx=_inc_vbuxx 
    inx
    // [23] if((byte) main::i#1!=(byte) $78) goto main::@1 -- vbuxx_neq_vbuc1_then_la1 
    cpx #$78
    bne b1
    // main::@return
    // }
    // [24] return 
    rts
    str: .text "   "
    .byte 0
    str1: .text " "
    .byte 0
    sintab1: .fill 2*$78, 0
    sintab2: .fill 2*$78, 0
}
  // print_str
// Print a zero-terminated string
// print_str(byte* zeropage($15) str)
print_str: {
    .label str = $15
    // [26] phi from print_str print_str::@2 to print_str::@1 [phi:print_str/print_str::@2->print_str::@1]
    // [26] phi (byte*) print_char_cursor#2 = (byte*) print_char_cursor#54 [phi:print_str/print_str::@2->print_str::@1#0] -- register_copy 
    // [26] phi (byte*) print_str::str#3 = (byte*) print_str::str#5 [phi:print_str/print_str::@2->print_str::@1#1] -- register_copy 
    // print_str::@1
  b1:
    // while(*str)
    // [27] if((byte) 0!=*((byte*) print_str::str#3)) goto print_str::@2 -- vbuc1_neq__deref_pbuz1_then_la1 
    ldy #0
    lda (str),y
    cmp #0
    bne b2
    // print_str::@return
    // }
    // [28] return 
    rts
    // print_str::@2
  b2:
    // *(print_char_cursor++) = *(str++)
    // [29] *((byte*) print_char_cursor#2) ← *((byte*) print_str::str#3) -- _deref_pbuz1=_deref_pbuz2 
    ldy #0
    lda (str),y
    sta (print_char_cursor),y
    // *(print_char_cursor++) = *(str++);
    // [30] (byte*) print_char_cursor#1 ← ++ (byte*) print_char_cursor#2 -- pbuz1=_inc_pbuz1 
    inc.z print_char_cursor
    bne !+
    inc.z print_char_cursor+1
  !:
    // [31] (byte*) print_str::str#0 ← ++ (byte*) print_str::str#3 -- pbuz1=_inc_pbuz1 
    inc.z str
    bne !+
    inc.z str+1
  !:
    jmp b1
}
  // print_sword
// Print a signed word as HEX
// print_sword(signed word zeropage($1d) w)
print_sword: {
    .label w = $1d
    // if(w<0)
    // [32] if((signed word) print_sword::w#1<(signed byte) 0) goto print_sword::@1 -- vwsz1_lt_0_then_la1 
    lda.z w+1
    bmi b1
    // [33] phi from print_sword to print_sword::@3 [phi:print_sword->print_sword::@3]
    // print_sword::@3
    // print_char(' ')
    // [34] call print_char 
    // [42] phi from print_sword::@3 to print_char [phi:print_sword::@3->print_char]
    // [42] phi (byte*) print_char_cursor#35 = (byte*) print_char_cursor#51 [phi:print_sword::@3->print_char#0] -- register_copy 
    // [42] phi (byte) print_char::ch#4 = (byte) ' ' [phi:print_sword::@3->print_char#1] -- vbuaa=vbuc1 
    lda #' '
    jsr print_char
    // [35] phi from print_sword::@3 print_sword::@4 to print_sword::@2 [phi:print_sword::@3/print_sword::@4->print_sword::@2]
    // [35] phi (signed word) print_sword::w#4 = (signed word) print_sword::w#1 [phi:print_sword::@3/print_sword::@4->print_sword::@2#0] -- register_copy 
    // print_sword::@2
  b2:
    // print_word((word)w)
    // [36] (word) print_word::w#0 ← (word)(signed word) print_sword::w#4
    // [37] call print_word 
    jsr print_word
    // print_sword::@return
    // }
    // [38] return 
    rts
    // [39] phi from print_sword to print_sword::@1 [phi:print_sword->print_sword::@1]
    // print_sword::@1
  b1:
    // print_char('-')
    // [40] call print_char 
    // [42] phi from print_sword::@1 to print_char [phi:print_sword::@1->print_char]
    // [42] phi (byte*) print_char_cursor#35 = (byte*) print_char_cursor#51 [phi:print_sword::@1->print_char#0] -- register_copy 
    // [42] phi (byte) print_char::ch#4 = (byte) '-' [phi:print_sword::@1->print_char#1] -- vbuaa=vbuc1 
    lda #'-'
    jsr print_char
    // print_sword::@4
    // w = -w
    // [41] (signed word) print_sword::w#0 ← - (signed word) print_sword::w#1 -- vwsz1=_neg_vwsz1 
    sec
    lda #0
    sbc.z w
    sta.z w
    lda #0
    sbc.z w+1
    sta.z w+1
    jmp b2
}
  // print_char
// Print a single char
// print_char(byte register(A) ch)
print_char: {
    // *(print_char_cursor++) = ch
    // [43] *((byte*) print_char_cursor#35) ← (byte) print_char::ch#4 -- _deref_pbuz1=vbuaa 
    ldy #0
    sta (print_char_cursor),y
    // *(print_char_cursor++) = ch;
    // [44] (byte*) print_char_cursor#13 ← ++ (byte*) print_char_cursor#35 -- pbuz1=_inc_pbuz1 
    inc.z print_char_cursor
    bne !+
    inc.z print_char_cursor+1
  !:
    // print_char::@return
    // }
    // [45] return 
    rts
}
  // print_word
// Print a word as HEX
// print_word(word zeropage($1d) w)
print_word: {
    .label w = $1d
    // print_byte(>w)
    // [46] (byte) print_byte::b#0 ← > (word) print_word::w#0 -- vbuz1=_hi_vwuz2 
    lda.z w+1
    sta.z print_byte.b
    // [47] call print_byte 
    // [51] phi from print_word to print_byte [phi:print_word->print_byte]
    // [51] phi (byte) print_byte::b#2 = (byte) print_byte::b#0 [phi:print_word->print_byte#0] -- register_copy 
    jsr print_byte
    // print_word::@1
    // print_byte(<w)
    // [48] (byte) print_byte::b#1 ← < (word) print_word::w#0 -- vbuz1=_lo_vwuz2 
    lda.z w
    sta.z print_byte.b
    // [49] call print_byte 
    // [51] phi from print_word::@1 to print_byte [phi:print_word::@1->print_byte]
    // [51] phi (byte) print_byte::b#2 = (byte) print_byte::b#1 [phi:print_word::@1->print_byte#0] -- register_copy 
    jsr print_byte
    // print_word::@return
    // }
    // [50] return 
    rts
}
  // print_byte
// Print a byte as HEX
// print_byte(byte zeropage($10) b)
print_byte: {
    .label b = $10
    // b>>4
    // [52] (byte~) print_byte::$0 ← (byte) print_byte::b#2 >> (byte) 4 -- vbuaa=vbuz1_ror_4 
    lda.z b
    lsr
    lsr
    lsr
    lsr
    // print_char(print_hextab[b>>4])
    // [53] (byte) print_char::ch#2 ← *((const byte[]) print_hextab#0 + (byte~) print_byte::$0) -- vbuaa=pbuc1_derefidx_vbuaa 
    tay
    lda print_hextab,y
    // [54] call print_char 
    // [42] phi from print_byte to print_char [phi:print_byte->print_char]
    // [42] phi (byte*) print_char_cursor#35 = (byte*) print_char_cursor#13 [phi:print_byte->print_char#0] -- register_copy 
    // [42] phi (byte) print_char::ch#4 = (byte) print_char::ch#2 [phi:print_byte->print_char#1] -- register_copy 
    jsr print_char
    // print_byte::@1
    // b&$f
    // [55] (byte~) print_byte::$2 ← (byte) print_byte::b#2 & (byte) $f -- vbuaa=vbuz1_band_vbuc1 
    lda #$f
    and.z b
    // print_char(print_hextab[b&$f])
    // [56] (byte) print_char::ch#3 ← *((const byte[]) print_hextab#0 + (byte~) print_byte::$2) -- vbuaa=pbuc1_derefidx_vbuaa 
    tay
    lda print_hextab,y
    // [57] call print_char 
    // [42] phi from print_byte::@1 to print_char [phi:print_byte::@1->print_char]
    // [42] phi (byte*) print_char_cursor#35 = (byte*) print_char_cursor#13 [phi:print_byte::@1->print_char#0] -- register_copy 
    // [42] phi (byte) print_char::ch#4 = (byte) print_char::ch#3 [phi:print_byte::@1->print_char#1] -- register_copy 
    jsr print_char
    // print_byte::@return
    // }
    // [58] return 
    rts
}
  // print_cls
// Clear the screen. Also resets current line/char cursor.
print_cls: {
    // memset(print_screen, ' ', 1000)
    // [60] call memset 
    // [62] phi from print_cls to memset [phi:print_cls->memset]
    jsr memset
    // print_cls::@return
    // }
    // [61] return 
    rts
}
  // memset
// Copies the character c (an unsigned char) to the first num characters of the object pointed to by the argument str.
memset: {
    .const c = ' '
    .const num = $3e8
    .label str = print_line_cursor
    .label end = str+num
    .label dst = 6
    // [63] phi from memset to memset::@2 [phi:memset->memset::@2]
    // [63] phi (byte*) memset::dst#4 = (byte*)(const void*) memset::str#0 [phi:memset->memset::@2#0] -- pbuz1=pbuc1 
    lda #<str
    sta.z dst
    lda #>str
    sta.z dst+1
    // [63] phi from memset::@1 to memset::@2 [phi:memset::@1->memset::@2]
    // [63] phi (byte*) memset::dst#4 = (byte*) memset::dst#1 [phi:memset::@1->memset::@2#0] -- register_copy 
    // memset::@2
  b2:
    // *dst = c
    // [64] *((byte*) memset::dst#4) ← (const byte) memset::c#0 -- _deref_pbuz1=vbuc1 
    lda #c
    ldy #0
    sta (dst),y
    // for(char* dst = str; dst!=end; dst++)
    // [65] (byte*) memset::dst#1 ← ++ (byte*) memset::dst#4 -- pbuz1=_inc_pbuz1 
    inc.z dst
    bne !+
    inc.z dst+1
  !:
    // memset::@1
    // [66] if((byte*) memset::dst#1!=(const byte*) memset::end#0) goto memset::@2 -- pbuz1_neq_pbuc1_then_la1 
    lda.z dst+1
    cmp #>end
    bne b2
    lda.z dst
    cmp #<end
    bne b2
    // memset::@return
    // }
    // [67] return 
    rts
}
  // sin16s_genb
// Generate signed (large) word sinus table - on the full -$7fff - $7fff range
// sintab - the table to generate into
// wavelength - the number of sinus points in a total sinus wavelength (the size of the table)
// sin16s_genb(signed word* zeropage($15) sintab)
sin16s_genb: {
    .label _3 = $1f
    .label step = $17
    .label sintab = $15
    .label x = $a
    .label i = $e
    // div32u16u(PI2_u4f28, wavelength)
    // [69] call div32u16u 
    // [141] phi from sin16s_genb to div32u16u [phi:sin16s_genb->div32u16u]
    jsr div32u16u
    // div32u16u(PI2_u4f28, wavelength)
    // [70] (dword) div32u16u::return#3 ← (dword) div32u16u::return#0
    // sin16s_genb::@3
    // step = div32u16u(PI2_u4f28, wavelength)
    // [71] (dword) sin16s_genb::step#0 ← (dword) div32u16u::return#3
    // [72] phi from sin16s_genb::@3 to sin16s_genb::@2 [phi:sin16s_genb::@3->sin16s_genb::@2]
    // [72] phi (signed word*) sin16s_genb::sintab#7 = (const signed word[$78]) main::sintab2#0 [phi:sin16s_genb::@3->sin16s_genb::@2#0] -- pwsz1=pwsc1 
    lda #<main.sintab2
    sta.z sintab
    lda #>main.sintab2
    sta.z sintab+1
    // [72] phi (dword) sin16s_genb::x#5 = (byte) 0 [phi:sin16s_genb::@3->sin16s_genb::@2#1] -- vduz1=vbuc1 
    lda #0
    sta.z x
    sta.z x+1
    sta.z x+2
    sta.z x+3
    // [72] phi (word) sin16s_genb::i#5 = (byte) 0 [phi:sin16s_genb::@3->sin16s_genb::@2#2] -- vwuz1=vbuc1 
    sta.z i
    sta.z i+1
    // [72] phi from sin16s_genb::@1 to sin16s_genb::@2 [phi:sin16s_genb::@1->sin16s_genb::@2]
    // [72] phi (signed word*) sin16s_genb::sintab#7 = (signed word*) sin16s_genb::sintab#0 [phi:sin16s_genb::@1->sin16s_genb::@2#0] -- register_copy 
    // [72] phi (dword) sin16s_genb::x#5 = (dword) sin16s_genb::x#1 [phi:sin16s_genb::@1->sin16s_genb::@2#1] -- register_copy 
    // [72] phi (word) sin16s_genb::i#5 = (word) sin16s_genb::i#1 [phi:sin16s_genb::@1->sin16s_genb::@2#2] -- register_copy 
    // sin16s_genb::@2
  b2:
    // sin16sb(>x)
    // [73] (word) sin16sb::x#0 ← > (dword) sin16s_genb::x#5 -- vwuz1=_hi_vduz2 
    lda.z x+2
    sta.z sin16sb.x
    lda.z x+3
    sta.z sin16sb.x+1
    // [74] call sin16sb 
    jsr sin16sb
    // [75] (signed word) sin16sb::return#0 ← (signed word) sin16sb::return#1
    // sin16s_genb::@4
    // [76] (signed word~) sin16s_genb::$3 ← (signed word) sin16sb::return#0
    // *sintab++ = sin16sb(>x)
    // [77] *((signed word*) sin16s_genb::sintab#7) ← (signed word~) sin16s_genb::$3 -- _deref_pwsz1=vwsz2 
    ldy #0
    lda.z _3
    sta (sintab),y
    iny
    lda.z _3+1
    sta (sintab),y
    // *sintab++ = sin16sb(>x);
    // [78] (signed word*) sin16s_genb::sintab#0 ← (signed word*) sin16s_genb::sintab#7 + (const byte) SIZEOF_SIGNED_WORD -- pwsz1=pwsz1_plus_vbuc1 
    lda #SIZEOF_SIGNED_WORD
    clc
    adc.z sintab
    sta.z sintab
    bcc !+
    inc.z sintab+1
  !:
    // x = x + step
    // [79] (dword) sin16s_genb::x#1 ← (dword) sin16s_genb::x#5 + (dword) sin16s_genb::step#0 -- vduz1=vduz1_plus_vduz2 
    lda.z x
    clc
    adc.z step
    sta.z x
    lda.z x+1
    adc.z step+1
    sta.z x+1
    lda.z x+2
    adc.z step+2
    sta.z x+2
    lda.z x+3
    adc.z step+3
    sta.z x+3
    // for( word i=0; i<wavelength; i++)
    // [80] (word) sin16s_genb::i#1 ← ++ (word) sin16s_genb::i#5 -- vwuz1=_inc_vwuz1 
    inc.z i
    bne !+
    inc.z i+1
  !:
  // u[4.28]
    // sin16s_genb::@1
    // [81] if((word) sin16s_genb::i#1<(const word) main::wavelength#0) goto sin16s_genb::@2 -- vwuz1_lt_vwuc1_then_la1 
    lda.z i+1
    cmp #>main.wavelength
    bcc b2
    bne !+
    lda.z i
    cmp #<main.wavelength
    bcc b2
  !:
    // sin16s_genb::@return
    // }
    // [82] return 
    rts
}
  // sin16sb
// Calculate signed word sinus sin(x)
// x: unsigned dword input u[4.28] in the interval $00000000 - PI2_u4f28
// result: signed word sin(x) s[0.15] - using the full range  -$7fff - $7fff
// sin16sb(word zeropage($1d) x)
sin16sb: {
    .label x = $1d
    .label return = $1f
    .label x1 = $1d
    .label x2 = 6
    .label x3 = 6
    .label x3_6 = $1b
    .label usinx = $1f
    .label x4 = 6
    .label x5 = $1b
    .label x5_128 = $1b
    .label sinx = $1f
    // if(x >= PI_u4f12 )
    // [83] if((word) sin16sb::x#0<(const word) PI_u4f12#0) goto sin16sb::@1 -- vwuz1_lt_vwuc1_then_la1 
    lda.z x+1
    cmp #>PI_u4f12
    bcc b4
    bne !+
    lda.z x
    cmp #<PI_u4f12
    bcc b4
  !:
    // sin16sb::@4
    // x = x - PI_u4f12
    // [84] (word) sin16sb::x#1 ← (word) sin16sb::x#0 - (const word) PI_u4f12#0 -- vwuz1=vwuz1_minus_vwuc1 
    lda.z x
    sec
    sbc #<PI_u4f12
    sta.z x
    lda.z x+1
    sbc #>PI_u4f12
    sta.z x+1
    // [85] phi from sin16sb::@4 to sin16sb::@1 [phi:sin16sb::@4->sin16sb::@1]
    // [85] phi (byte) sin16sb::isUpper#2 = (byte) 1 [phi:sin16sb::@4->sin16sb::@1#0] -- vbuyy=vbuc1 
    ldy #1
    // [85] phi (word) sin16sb::x#4 = (word) sin16sb::x#1 [phi:sin16sb::@4->sin16sb::@1#1] -- register_copy 
    jmp b1
    // [85] phi from sin16sb to sin16sb::@1 [phi:sin16sb->sin16sb::@1]
  b4:
    // [85] phi (byte) sin16sb::isUpper#2 = (byte) 0 [phi:sin16sb->sin16sb::@1#0] -- vbuyy=vbuc1 
    ldy #0
    // [85] phi (word) sin16sb::x#4 = (word) sin16sb::x#0 [phi:sin16sb->sin16sb::@1#1] -- register_copy 
    // sin16sb::@1
  b1:
    // if(x >= PI_HALF_u4f12 )
    // [86] if((word) sin16sb::x#4<(const word) PI_HALF_u4f12#0) goto sin16sb::@2 -- vwuz1_lt_vwuc1_then_la1 
    lda.z x+1
    cmp #>PI_HALF_u4f12
    bcc b2
    bne !+
    lda.z x
    cmp #<PI_HALF_u4f12
    bcc b2
  !:
    // sin16sb::@5
    // x = PI_u4f12 - x
    // [87] (word) sin16sb::x#2 ← (const word) PI_u4f12#0 - (word) sin16sb::x#4 -- vwuz1=vwuc1_minus_vwuz1 
    sec
    lda #<PI_u4f12
    sbc.z x
    sta.z x
    lda #>PI_u4f12
    sbc.z x+1
    sta.z x+1
    // [88] phi from sin16sb::@1 sin16sb::@5 to sin16sb::@2 [phi:sin16sb::@1/sin16sb::@5->sin16sb::@2]
    // [88] phi (word) sin16sb::x#6 = (word) sin16sb::x#4 [phi:sin16sb::@1/sin16sb::@5->sin16sb::@2#0] -- register_copy 
    // sin16sb::@2
  b2:
    // x1 = x*8
    // [89] (word) sin16sb::x1#0 ← (word) sin16sb::x#6 << (byte) 3 -- vwuz1=vwuz1_rol_3 
    asl.z x1
    rol.z x1+1
    asl.z x1
    rol.z x1+1
    asl.z x1
    rol.z x1+1
    // mulu16_sel(x1, x1, 0)
    // [90] (word) mulu16_sel::v1#5 ← (word) sin16sb::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v1
    lda.z x1+1
    sta.z mulu16_sel.v1+1
    // [91] (word) mulu16_sel::v2#5 ← (word) sin16sb::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [92] call mulu16_sel 
    // [122] phi from sin16sb::@2 to mulu16_sel [phi:sin16sb::@2->mulu16_sel]
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 0 [phi:sin16sb::@2->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #0
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#5 [phi:sin16sb::@2->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#5 [phi:sin16sb::@2->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // mulu16_sel(x1, x1, 0)
    // [93] (word) mulu16_sel::return#18 ← (word) mulu16_sel::return#17
    // sin16sb::@7
    // x2 = mulu16_sel(x1, x1, 0)
    // [94] (word) sin16sb::x2#0 ← (word) mulu16_sel::return#18 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_18
    sta.z x2
    lda.z mulu16_sel.return_18+1
    sta.z x2+1
    // mulu16_sel(x2, x1, 1)
    // [95] (word) mulu16_sel::v1#6 ← (word) sin16sb::x2#0
    // [96] (word) mulu16_sel::v2#6 ← (word) sin16sb::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [97] call mulu16_sel 
    // [122] phi from sin16sb::@7 to mulu16_sel [phi:sin16sb::@7->mulu16_sel]
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 1 [phi:sin16sb::@7->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #1
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#6 [phi:sin16sb::@7->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#6 [phi:sin16sb::@7->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // mulu16_sel(x2, x1, 1)
    // [98] (word) mulu16_sel::return#19 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return+1
    // sin16sb::@8
    // x3 = mulu16_sel(x2, x1, 1)
    // [99] (word) sin16sb::x3#0 ← (word) mulu16_sel::return#19
    // mulu16_sel(x3, $10000/6, 1)
    // [100] (word) mulu16_sel::v1#7 ← (word) sin16sb::x3#0
    // [101] call mulu16_sel 
    // [122] phi from sin16sb::@8 to mulu16_sel [phi:sin16sb::@8->mulu16_sel]
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 1 [phi:sin16sb::@8->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #1
    // [122] phi (word) mulu16_sel::v2#10 = (word)(number) $10000/(number) 6 [phi:sin16sb::@8->mulu16_sel#1] -- vwuz1=vwuc1 
    lda #<$10000/6
    sta.z mulu16_sel.v2
    lda #>$10000/6
    sta.z mulu16_sel.v2+1
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#7 [phi:sin16sb::@8->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // mulu16_sel(x3, $10000/6, 1)
    // [102] (word) mulu16_sel::return#20 ← (word) mulu16_sel::return#17
    // sin16sb::@9
    // x3_6 = mulu16_sel(x3, $10000/6, 1)
    // [103] (word) sin16sb::x3_6#0 ← (word) mulu16_sel::return#20
    // usinx = x1 - x3_6
    // [104] (word) sin16sb::usinx#0 ← (word) sin16sb::x1#0 - (word) sin16sb::x3_6#0 -- vwuz1=vwuz2_minus_vwuz3 
    lda.z x1
    sec
    sbc.z x3_6
    sta.z usinx
    lda.z x1+1
    sbc.z x3_6+1
    sta.z usinx+1
    // mulu16_sel(x3, x1, 0)
    // [105] (word) mulu16_sel::v1#8 ← (word) sin16sb::x3#0
    // [106] (word) mulu16_sel::v2#8 ← (word) sin16sb::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [107] call mulu16_sel 
    // [122] phi from sin16sb::@9 to mulu16_sel [phi:sin16sb::@9->mulu16_sel]
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 0 [phi:sin16sb::@9->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #0
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#8 [phi:sin16sb::@9->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#8 [phi:sin16sb::@9->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // mulu16_sel(x3, x1, 0)
    // [108] (word) mulu16_sel::return#10 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return+1
    // sin16sb::@10
    // x4 = mulu16_sel(x3, x1, 0)
    // [109] (word) sin16sb::x4#0 ← (word) mulu16_sel::return#10
    // mulu16_sel(x4, x1, 0)
    // [110] (word) mulu16_sel::v1#9 ← (word) sin16sb::x4#0
    // [111] (word) mulu16_sel::v2#9 ← (word) sin16sb::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [112] call mulu16_sel 
    // [122] phi from sin16sb::@10 to mulu16_sel [phi:sin16sb::@10->mulu16_sel]
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 0 [phi:sin16sb::@10->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #0
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#9 [phi:sin16sb::@10->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#9 [phi:sin16sb::@10->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // mulu16_sel(x4, x1, 0)
    // [113] (word) mulu16_sel::return#11 ← (word) mulu16_sel::return#17
    // sin16sb::@11
    // x5 = mulu16_sel(x4, x1, 0)
    // [114] (word) sin16sb::x5#0 ← (word) mulu16_sel::return#11
    // x5_128 = x5/$10
    // [115] (word) sin16sb::x5_128#0 ← (word) sin16sb::x5#0 >> (byte) 4 -- vwuz1=vwuz1_ror_4 
    lsr.z x5_128+1
    ror.z x5_128
    lsr.z x5_128+1
    ror.z x5_128
    lsr.z x5_128+1
    ror.z x5_128
    lsr.z x5_128+1
    ror.z x5_128
    // usinx = usinx + x5_128
    // [116] (word) sin16sb::usinx#1 ← (word) sin16sb::usinx#0 + (word) sin16sb::x5_128#0 -- vwuz1=vwuz1_plus_vwuz2 
    lda.z usinx
    clc
    adc.z x5_128
    sta.z usinx
    lda.z usinx+1
    adc.z x5_128+1
    sta.z usinx+1
    // if(isUpper!=0)
    // [117] if((byte) sin16sb::isUpper#2==(byte) 0) goto sin16sb::@12 -- vbuyy_eq_0_then_la1 
    cpy #0
    beq b3
    // sin16sb::@6
    // sinx = -(signed word)usinx
    // [118] (signed word) sin16sb::sinx#1 ← - (signed word)(word) sin16sb::usinx#1 -- vwsz1=_neg_vwsz1 
    sec
    lda #0
    sbc.z sinx
    sta.z sinx
    lda #0
    sbc.z sinx+1
    sta.z sinx+1
    // [119] phi from sin16sb::@12 sin16sb::@6 to sin16sb::@3 [phi:sin16sb::@12/sin16sb::@6->sin16sb::@3]
    // [119] phi (signed word) sin16sb::return#1 = (signed word~) sin16sb::return#5 [phi:sin16sb::@12/sin16sb::@6->sin16sb::@3#0] -- register_copy 
    // sin16sb::@3
  b3:
    // sin16sb::@return
    // }
    // [120] return 
    rts
    // sin16sb::@12
    // [121] (signed word~) sin16sb::return#5 ← (signed word)(word) sin16sb::usinx#1
}
  // mulu16_sel
// Calculate val*val for two unsigned word values - the result is 16 selected bits of the 32-bit result.
// The select parameter indicates how many of the highest bits of the 32-bit result to skip
// mulu16_sel(word zeropage(6) v1, word zeropage(8) v2, byte register(X) select)
mulu16_sel: {
    .label _0 = $11
    .label _1 = $11
    .label v1 = 6
    .label v2 = 8
    .label return = 6
    .label return_11 = $1b
    .label return_14 = $1b
    .label return_16 = $1b
    .label return_17 = $1b
    .label return_18 = $1b
    .label return_20 = $1b
    // mul16u(v1, v2)
    // [123] (word) mul16u::a#1 ← (word) mulu16_sel::v1#10 -- vwuz1=vwuz2 
    lda.z v1
    sta.z mul16u.a
    lda.z v1+1
    sta.z mul16u.a+1
    // [124] (word) mul16u::b#0 ← (word) mulu16_sel::v2#10
    // [125] call mul16u 
    // [131] phi from mulu16_sel to mul16u [phi:mulu16_sel->mul16u]
    jsr mul16u
    // mul16u(v1, v2)
    // [126] (dword) mul16u::return#2 ← (dword) mul16u::res#2
    // mulu16_sel::@1
    // [127] (dword~) mulu16_sel::$0 ← (dword) mul16u::return#2
    // mul16u(v1, v2)<<select
    // [128] (dword~) mulu16_sel::$1 ← (dword~) mulu16_sel::$0 << (byte) mulu16_sel::select#10 -- vduz1=vduz1_rol_vbuxx 
    cpx #0
    beq !e+
  !:
    asl.z _1
    rol.z _1+1
    rol.z _1+2
    rol.z _1+3
    dex
    bne !-
  !e:
    // >mul16u(v1, v2)<<select
    // [129] (word) mulu16_sel::return#17 ← > (dword~) mulu16_sel::$1 -- vwuz1=_hi_vduz2 
    lda.z _1+2
    sta.z return_17
    lda.z _1+3
    sta.z return_17+1
    // mulu16_sel::@return
    // }
    // [130] return 
    rts
}
  // mul16u
// Perform binary multiplication of two unsigned 16-bit words into a 32-bit unsigned double word
// mul16u(word zeropage($1b) a, word zeropage(8) b)
mul16u: {
    .label a = $1b
    .label mb = 2
    .label res = $11
    .label b = 8
    .label return = $11
    // [132] phi from mul16u to mul16u::@1 [phi:mul16u->mul16u::@1]
    // [132] phi (dword) mul16u::mb#2 = (word) mul16u::b#0 [phi:mul16u->mul16u::@1#0] -- vduz1=vwuz2 
    lda.z b
    sta.z mb
    lda.z b+1
    sta.z mb+1
    lda #0
    sta.z mb+2
    sta.z mb+3
    // [132] phi (dword) mul16u::res#2 = (byte) 0 [phi:mul16u->mul16u::@1#1] -- vduz1=vbuc1 
    sta.z res
    sta.z res+1
    sta.z res+2
    sta.z res+3
    // [132] phi (word) mul16u::a#2 = (word) mul16u::a#1 [phi:mul16u->mul16u::@1#2] -- register_copy 
    // mul16u::@1
  b1:
    // while(a!=0)
    // [133] if((word) mul16u::a#2!=(byte) 0) goto mul16u::@2 -- vwuz1_neq_0_then_la1 
    lda.z a
    bne b2
    lda.z a+1
    bne b2
    // mul16u::@return
    // }
    // [134] return 
    rts
    // mul16u::@2
  b2:
    // a&1
    // [135] (byte~) mul16u::$1 ← (word) mul16u::a#2 & (byte) 1 -- vbuaa=vwuz1_band_vbuc1 
    lda.z a
    and #1
    // if( (a&1) != 0)
    // [136] if((byte~) mul16u::$1==(byte) 0) goto mul16u::@3 -- vbuaa_eq_0_then_la1 
    cmp #0
    beq b3
    // mul16u::@4
    // res = res + mb
    // [137] (dword) mul16u::res#1 ← (dword) mul16u::res#2 + (dword) mul16u::mb#2 -- vduz1=vduz1_plus_vduz2 
    lda.z res
    clc
    adc.z mb
    sta.z res
    lda.z res+1
    adc.z mb+1
    sta.z res+1
    lda.z res+2
    adc.z mb+2
    sta.z res+2
    lda.z res+3
    adc.z mb+3
    sta.z res+3
    // [138] phi from mul16u::@2 mul16u::@4 to mul16u::@3 [phi:mul16u::@2/mul16u::@4->mul16u::@3]
    // [138] phi (dword) mul16u::res#6 = (dword) mul16u::res#2 [phi:mul16u::@2/mul16u::@4->mul16u::@3#0] -- register_copy 
    // mul16u::@3
  b3:
    // a = a>>1
    // [139] (word) mul16u::a#0 ← (word) mul16u::a#2 >> (byte) 1 -- vwuz1=vwuz1_ror_1 
    lsr.z a+1
    ror.z a
    // mb = mb<<1
    // [140] (dword) mul16u::mb#1 ← (dword) mul16u::mb#2 << (byte) 1 -- vduz1=vduz1_rol_1 
    asl.z mb
    rol.z mb+1
    rol.z mb+2
    rol.z mb+3
    // [132] phi from mul16u::@3 to mul16u::@1 [phi:mul16u::@3->mul16u::@1]
    // [132] phi (dword) mul16u::mb#2 = (dword) mul16u::mb#1 [phi:mul16u::@3->mul16u::@1#0] -- register_copy 
    // [132] phi (dword) mul16u::res#2 = (dword) mul16u::res#6 [phi:mul16u::@3->mul16u::@1#1] -- register_copy 
    // [132] phi (word) mul16u::a#2 = (word) mul16u::a#0 [phi:mul16u::@3->mul16u::@1#2] -- register_copy 
    jmp b1
}
  // div32u16u
// Divide unsigned 32-bit dword dividend with a 16-bit word divisor
// The 16-bit word remainder can be found in rem16u after the division
div32u16u: {
    .label quotient_hi = $1d
    .label quotient_lo = $1b
    .label return = $17
    // divr16u(>dividend, divisor, 0)
    // [142] call divr16u 
    // [151] phi from div32u16u to divr16u [phi:div32u16u->divr16u]
    // [151] phi (word) divr16u::dividend#5 = >(const dword) PI2_u4f28#0 [phi:div32u16u->divr16u#0] -- vwuz1=vwuc1 
    lda #<PI2_u4f28>>$10
    sta.z divr16u.dividend
    lda #>PI2_u4f28>>$10
    sta.z divr16u.dividend+1
    // [151] phi (word) divr16u::rem#10 = (byte) 0 [phi:div32u16u->divr16u#1] -- vwuz1=vbuc1 
    lda #<0
    sta.z divr16u.rem
    sta.z divr16u.rem+1
    jsr divr16u
    // divr16u(>dividend, divisor, 0)
    // [143] (word) divr16u::return#2 ← (word) divr16u::return#0
    // div32u16u::@1
    // quotient_hi = divr16u(>dividend, divisor, 0)
    // [144] (word) div32u16u::quotient_hi#0 ← (word) divr16u::return#2 -- vwuz1=vwuz2 
    lda.z divr16u.return
    sta.z quotient_hi
    lda.z divr16u.return+1
    sta.z quotient_hi+1
    // divr16u(<dividend, divisor, rem16u)
    // [145] (word) divr16u::rem#4 ← (word) rem16u#1
    // [146] call divr16u 
    // [151] phi from div32u16u::@1 to divr16u [phi:div32u16u::@1->divr16u]
    // [151] phi (word) divr16u::dividend#5 = <(const dword) PI2_u4f28#0 [phi:div32u16u::@1->divr16u#0] -- vwuz1=vwuc1 
    lda #<PI2_u4f28&$ffff
    sta.z divr16u.dividend
    lda #>PI2_u4f28&$ffff
    sta.z divr16u.dividend+1
    // [151] phi (word) divr16u::rem#10 = (word) divr16u::rem#4 [phi:div32u16u::@1->divr16u#1] -- register_copy 
    jsr divr16u
    // divr16u(<dividend, divisor, rem16u)
    // [147] (word) divr16u::return#3 ← (word) divr16u::return#0
    // div32u16u::@2
    // quotient_lo = divr16u(<dividend, divisor, rem16u)
    // [148] (word) div32u16u::quotient_lo#0 ← (word) divr16u::return#3
    // quotient = { quotient_hi, quotient_lo}
    // [149] (dword) div32u16u::return#0 ← (word) div32u16u::quotient_hi#0 dw= (word) div32u16u::quotient_lo#0 -- vduz1=vwuz2_dword_vwuz3 
    lda.z quotient_hi
    sta.z return+2
    lda.z quotient_hi+1
    sta.z return+3
    lda.z quotient_lo
    sta.z return
    lda.z quotient_lo+1
    sta.z return+1
    // div32u16u::@return
    // }
    // [150] return 
    rts
}
  // divr16u
// Performs division on two 16 bit unsigned words and an initial remainder
// Returns the quotient dividend/divisor.
// The final remainder will be set into the global variable rem16u
// Implemented using simple binary division
// divr16u(word zeropage(8) dividend, word zeropage(6) rem)
divr16u: {
    .label rem = 6
    .label dividend = 8
    .label quotient = $1b
    .label return = $1b
    // [152] phi from divr16u to divr16u::@1 [phi:divr16u->divr16u::@1]
    // [152] phi (byte) divr16u::i#2 = (byte) 0 [phi:divr16u->divr16u::@1#0] -- vbuxx=vbuc1 
    ldx #0
    // [152] phi (word) divr16u::quotient#3 = (byte) 0 [phi:divr16u->divr16u::@1#1] -- vwuz1=vbuc1 
    txa
    sta.z quotient
    sta.z quotient+1
    // [152] phi (word) divr16u::dividend#3 = (word) divr16u::dividend#5 [phi:divr16u->divr16u::@1#2] -- register_copy 
    // [152] phi (word) divr16u::rem#5 = (word) divr16u::rem#10 [phi:divr16u->divr16u::@1#3] -- register_copy 
    // [152] phi from divr16u::@3 to divr16u::@1 [phi:divr16u::@3->divr16u::@1]
    // [152] phi (byte) divr16u::i#2 = (byte) divr16u::i#1 [phi:divr16u::@3->divr16u::@1#0] -- register_copy 
    // [152] phi (word) divr16u::quotient#3 = (word) divr16u::return#0 [phi:divr16u::@3->divr16u::@1#1] -- register_copy 
    // [152] phi (word) divr16u::dividend#3 = (word) divr16u::dividend#0 [phi:divr16u::@3->divr16u::@1#2] -- register_copy 
    // [152] phi (word) divr16u::rem#5 = (word) divr16u::rem#11 [phi:divr16u::@3->divr16u::@1#3] -- register_copy 
    // divr16u::@1
  b1:
    // rem = rem << 1
    // [153] (word) divr16u::rem#0 ← (word) divr16u::rem#5 << (byte) 1 -- vwuz1=vwuz1_rol_1 
    asl.z rem
    rol.z rem+1
    // >dividend
    // [154] (byte~) divr16u::$1 ← > (word) divr16u::dividend#3 -- vbuaa=_hi_vwuz1 
    lda.z dividend+1
    // >dividend & $80
    // [155] (byte~) divr16u::$2 ← (byte~) divr16u::$1 & (byte) $80 -- vbuaa=vbuaa_band_vbuc1 
    and #$80
    // if( (>dividend & $80) != 0 )
    // [156] if((byte~) divr16u::$2==(byte) 0) goto divr16u::@2 -- vbuaa_eq_0_then_la1 
    cmp #0
    beq b2
    // divr16u::@4
    // rem = rem | 1
    // [157] (word) divr16u::rem#1 ← (word) divr16u::rem#0 | (byte) 1 -- vwuz1=vwuz1_bor_vbuc1 
    lda #1
    ora.z rem
    sta.z rem
    // [158] phi from divr16u::@1 divr16u::@4 to divr16u::@2 [phi:divr16u::@1/divr16u::@4->divr16u::@2]
    // [158] phi (word) divr16u::rem#6 = (word) divr16u::rem#0 [phi:divr16u::@1/divr16u::@4->divr16u::@2#0] -- register_copy 
    // divr16u::@2
  b2:
    // dividend = dividend << 1
    // [159] (word) divr16u::dividend#0 ← (word) divr16u::dividend#3 << (byte) 1 -- vwuz1=vwuz1_rol_1 
    asl.z dividend
    rol.z dividend+1
    // quotient = quotient << 1
    // [160] (word) divr16u::quotient#1 ← (word) divr16u::quotient#3 << (byte) 1 -- vwuz1=vwuz1_rol_1 
    asl.z quotient
    rol.z quotient+1
    // if(rem>=divisor)
    // [161] if((word) divr16u::rem#6<(const word) main::wavelength#0) goto divr16u::@3 -- vwuz1_lt_vwuc1_then_la1 
    lda.z rem+1
    cmp #>main.wavelength
    bcc b3
    bne !+
    lda.z rem
    cmp #<main.wavelength
    bcc b3
  !:
    // divr16u::@5
    // quotient++;
    // [162] (word) divr16u::quotient#2 ← ++ (word) divr16u::quotient#1 -- vwuz1=_inc_vwuz1 
    inc.z quotient
    bne !+
    inc.z quotient+1
  !:
    // rem = rem - divisor
    // [163] (word) divr16u::rem#2 ← (word) divr16u::rem#6 - (const word) main::wavelength#0 -- vwuz1=vwuz1_minus_vwuc1 
    lda.z rem
    sec
    sbc #<main.wavelength
    sta.z rem
    lda.z rem+1
    sbc #>main.wavelength
    sta.z rem+1
    // [164] phi from divr16u::@2 divr16u::@5 to divr16u::@3 [phi:divr16u::@2/divr16u::@5->divr16u::@3]
    // [164] phi (word) divr16u::return#0 = (word) divr16u::quotient#1 [phi:divr16u::@2/divr16u::@5->divr16u::@3#0] -- register_copy 
    // [164] phi (word) divr16u::rem#11 = (word) divr16u::rem#6 [phi:divr16u::@2/divr16u::@5->divr16u::@3#1] -- register_copy 
    // divr16u::@3
  b3:
    // for( byte i : 0..15)
    // [165] (byte) divr16u::i#1 ← ++ (byte) divr16u::i#2 -- vbuxx=_inc_vbuxx 
    inx
    // [166] if((byte) divr16u::i#1!=(byte) $10) goto divr16u::@1 -- vbuxx_neq_vbuc1_then_la1 
    cpx #$10
    bne b1
    // divr16u::@6
    // rem16u = rem
    // [167] (word) rem16u#1 ← (word) divr16u::rem#11
    // divr16u::@return
    // }
    // [168] return 
    rts
}
  // sin16s_gen
// Generate signed (large) word sinus table - on the full -$7fff - $7fff range
// sintab - the table to generate into
// wavelength - the number of sinus points in a total sinus wavelength (the size of the table)
// sin16s_gen(signed word* zeropage($e) sintab)
sin16s_gen: {
    .label _2 = $15
    .label step = $17
    .label sintab = $e
    .label x = $a
    .label i = $1d
    // div32u16u(PI2_u4f28, wavelength)
    // [170] call div32u16u 
    // [141] phi from sin16s_gen to div32u16u [phi:sin16s_gen->div32u16u]
    jsr div32u16u
    // div32u16u(PI2_u4f28, wavelength)
    // [171] (dword) div32u16u::return#2 ← (dword) div32u16u::return#0
    // sin16s_gen::@3
    // step = div32u16u(PI2_u4f28, wavelength)
    // [172] (dword) sin16s_gen::step#0 ← (dword) div32u16u::return#2
    // [173] phi from sin16s_gen::@3 to sin16s_gen::@2 [phi:sin16s_gen::@3->sin16s_gen::@2]
    // [173] phi (signed word*) sin16s_gen::sintab#7 = (const signed word[$78]) main::sintab1#0 [phi:sin16s_gen::@3->sin16s_gen::@2#0] -- pwsz1=pwsc1 
    lda #<main.sintab1
    sta.z sintab
    lda #>main.sintab1
    sta.z sintab+1
    // [173] phi (dword) sin16s_gen::x#5 = (byte) 0 [phi:sin16s_gen::@3->sin16s_gen::@2#1] -- vduz1=vbuc1 
    lda #0
    sta.z x
    sta.z x+1
    sta.z x+2
    sta.z x+3
    // [173] phi (word) sin16s_gen::i#5 = (byte) 0 [phi:sin16s_gen::@3->sin16s_gen::@2#2] -- vwuz1=vbuc1 
    sta.z i
    sta.z i+1
    // [173] phi from sin16s_gen::@1 to sin16s_gen::@2 [phi:sin16s_gen::@1->sin16s_gen::@2]
    // [173] phi (signed word*) sin16s_gen::sintab#7 = (signed word*) sin16s_gen::sintab#0 [phi:sin16s_gen::@1->sin16s_gen::@2#0] -- register_copy 
    // [173] phi (dword) sin16s_gen::x#5 = (dword) sin16s_gen::x#1 [phi:sin16s_gen::@1->sin16s_gen::@2#1] -- register_copy 
    // [173] phi (word) sin16s_gen::i#5 = (word) sin16s_gen::i#1 [phi:sin16s_gen::@1->sin16s_gen::@2#2] -- register_copy 
    // sin16s_gen::@2
  b2:
    // sin16s(x)
    // [174] (dword) sin16s::x#0 ← (dword) sin16s_gen::x#5 -- vduz1=vduz2 
    lda.z x
    sta.z sin16s.x
    lda.z x+1
    sta.z sin16s.x+1
    lda.z x+2
    sta.z sin16s.x+2
    lda.z x+3
    sta.z sin16s.x+3
    // [175] call sin16s 
    jsr sin16s
    // [176] (signed word) sin16s::return#0 ← (signed word) sin16s::return#1
    // sin16s_gen::@4
    // [177] (signed word~) sin16s_gen::$2 ← (signed word) sin16s::return#0
    // *sintab++ = sin16s(x)
    // [178] *((signed word*) sin16s_gen::sintab#7) ← (signed word~) sin16s_gen::$2 -- _deref_pwsz1=vwsz2 
    ldy #0
    lda.z _2
    sta (sintab),y
    iny
    lda.z _2+1
    sta (sintab),y
    // *sintab++ = sin16s(x);
    // [179] (signed word*) sin16s_gen::sintab#0 ← (signed word*) sin16s_gen::sintab#7 + (const byte) SIZEOF_SIGNED_WORD -- pwsz1=pwsz1_plus_vbuc1 
    lda #SIZEOF_SIGNED_WORD
    clc
    adc.z sintab
    sta.z sintab
    bcc !+
    inc.z sintab+1
  !:
    // x = x + step
    // [180] (dword) sin16s_gen::x#1 ← (dword) sin16s_gen::x#5 + (dword) sin16s_gen::step#0 -- vduz1=vduz1_plus_vduz2 
    lda.z x
    clc
    adc.z step
    sta.z x
    lda.z x+1
    adc.z step+1
    sta.z x+1
    lda.z x+2
    adc.z step+2
    sta.z x+2
    lda.z x+3
    adc.z step+3
    sta.z x+3
    // for( word i=0; i<wavelength; i++)
    // [181] (word) sin16s_gen::i#1 ← ++ (word) sin16s_gen::i#5 -- vwuz1=_inc_vwuz1 
    inc.z i
    bne !+
    inc.z i+1
  !:
  // u[4.28]
    // sin16s_gen::@1
    // [182] if((word) sin16s_gen::i#1<(const word) main::wavelength#0) goto sin16s_gen::@2 -- vwuz1_lt_vwuc1_then_la1 
    lda.z i+1
    cmp #>main.wavelength
    bcc b2
    bne !+
    lda.z i
    cmp #<main.wavelength
    bcc b2
  !:
    // sin16s_gen::@return
    // }
    // [183] return 
    rts
}
  // sin16s
// Calculate signed word sinus sin(x)
// x: unsigned dword input u[4.28] in the interval $00000000 - PI2_u4f28
// result: signed word sin(x) s[0.15] - using the full range  -$7fff - $7fff
// sin16s(dword zeropage($11) x)
sin16s: {
    .label _4 = $11
    .label x = $11
    .label return = $15
    .label x1 = $1f
    .label x2 = 6
    .label x3 = 6
    .label x3_6 = $1b
    .label usinx = $15
    .label x4 = 6
    .label x5 = $1b
    .label x5_128 = $1b
    .label sinx = $15
    .label isUpper = $10
    // if(x >= PI_u4f28 )
    // [184] if((dword) sin16s::x#0<(const dword) PI_u4f28#0) goto sin16s::@1 -- vduz1_lt_vduc1_then_la1 
    lda.z x+3
    cmp #>PI_u4f28>>$10
    bcc b4
    bne !+
    lda.z x+2
    cmp #<PI_u4f28>>$10
    bcc b4
    bne !+
    lda.z x+1
    cmp #>PI_u4f28
    bcc b4
    bne !+
    lda.z x
    cmp #<PI_u4f28
    bcc b4
  !:
    // sin16s::@4
    // x = x - PI_u4f28
    // [185] (dword) sin16s::x#1 ← (dword) sin16s::x#0 - (const dword) PI_u4f28#0 -- vduz1=vduz1_minus_vduc1 
    lda.z x
    sec
    sbc #<PI_u4f28
    sta.z x
    lda.z x+1
    sbc #>PI_u4f28
    sta.z x+1
    lda.z x+2
    sbc #<PI_u4f28>>$10
    sta.z x+2
    lda.z x+3
    sbc #>PI_u4f28>>$10
    sta.z x+3
    // [186] phi from sin16s::@4 to sin16s::@1 [phi:sin16s::@4->sin16s::@1]
    // [186] phi (byte) sin16s::isUpper#2 = (byte) 1 [phi:sin16s::@4->sin16s::@1#0] -- vbuz1=vbuc1 
    lda #1
    sta.z isUpper
    // [186] phi (dword) sin16s::x#4 = (dword) sin16s::x#1 [phi:sin16s::@4->sin16s::@1#1] -- register_copy 
    jmp b1
    // [186] phi from sin16s to sin16s::@1 [phi:sin16s->sin16s::@1]
  b4:
    // [186] phi (byte) sin16s::isUpper#2 = (byte) 0 [phi:sin16s->sin16s::@1#0] -- vbuz1=vbuc1 
    lda #0
    sta.z isUpper
    // [186] phi (dword) sin16s::x#4 = (dword) sin16s::x#0 [phi:sin16s->sin16s::@1#1] -- register_copy 
    // sin16s::@1
  b1:
    // if(x >= PI_HALF_u4f28 )
    // [187] if((dword) sin16s::x#4<(const dword) PI_HALF_u4f28#0) goto sin16s::@2 -- vduz1_lt_vduc1_then_la1 
    lda.z x+3
    cmp #>PI_HALF_u4f28>>$10
    bcc b2
    bne !+
    lda.z x+2
    cmp #<PI_HALF_u4f28>>$10
    bcc b2
    bne !+
    lda.z x+1
    cmp #>PI_HALF_u4f28
    bcc b2
    bne !+
    lda.z x
    cmp #<PI_HALF_u4f28
    bcc b2
  !:
    // sin16s::@5
    // x = PI_u4f28 - x
    // [188] (dword) sin16s::x#2 ← (const dword) PI_u4f28#0 - (dword) sin16s::x#4 -- vduz1=vduc1_minus_vduz1 
    lda #<PI_u4f28
    sec
    sbc.z x
    sta.z x
    lda #>PI_u4f28
    sbc.z x+1
    sta.z x+1
    lda #<PI_u4f28>>$10
    sbc.z x+2
    sta.z x+2
    lda #>PI_u4f28>>$10
    sbc.z x+3
    sta.z x+3
    // [189] phi from sin16s::@1 sin16s::@5 to sin16s::@2 [phi:sin16s::@1/sin16s::@5->sin16s::@2]
    // [189] phi (dword) sin16s::x#6 = (dword) sin16s::x#4 [phi:sin16s::@1/sin16s::@5->sin16s::@2#0] -- register_copy 
    // sin16s::@2
  b2:
    // x<<3
    // [190] (dword~) sin16s::$4 ← (dword) sin16s::x#6 << (byte) 3 -- vduz1=vduz1_rol_3 
    ldy #3
  !:
    asl.z _4
    rol.z _4+1
    rol.z _4+2
    rol.z _4+3
    dey
    bne !-
    // x1 = >x<<3
    // [191] (word) sin16s::x1#0 ← > (dword~) sin16s::$4 -- vwuz1=_hi_vduz2 
    lda.z _4+2
    sta.z x1
    lda.z _4+3
    sta.z x1+1
    // mulu16_sel(x1, x1, 0)
    // [192] (word) mulu16_sel::v1#0 ← (word) sin16s::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v1
    lda.z x1+1
    sta.z mulu16_sel.v1+1
    // [193] (word) mulu16_sel::v2#0 ← (word) sin16s::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [194] call mulu16_sel 
    // [122] phi from sin16s::@2 to mulu16_sel [phi:sin16s::@2->mulu16_sel]
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 0 [phi:sin16s::@2->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #0
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#0 [phi:sin16s::@2->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#0 [phi:sin16s::@2->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // mulu16_sel(x1, x1, 0)
    // [195] (word) mulu16_sel::return#0 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return+1
    // sin16s::@7
    // x2 = mulu16_sel(x1, x1, 0)
    // [196] (word) sin16s::x2#0 ← (word) mulu16_sel::return#0
    // mulu16_sel(x2, x1, 1)
    // [197] (word) mulu16_sel::v1#1 ← (word) sin16s::x2#0
    // [198] (word) mulu16_sel::v2#1 ← (word) sin16s::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [199] call mulu16_sel 
    // [122] phi from sin16s::@7 to mulu16_sel [phi:sin16s::@7->mulu16_sel]
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 1 [phi:sin16s::@7->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #1
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#1 [phi:sin16s::@7->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#1 [phi:sin16s::@7->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // mulu16_sel(x2, x1, 1)
    // [200] (word) mulu16_sel::return#1 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return+1
    // sin16s::@8
    // x3 = mulu16_sel(x2, x1, 1)
    // [201] (word) sin16s::x3#0 ← (word) mulu16_sel::return#1
    // mulu16_sel(x3, $10000/6, 1)
    // [202] (word) mulu16_sel::v1#2 ← (word) sin16s::x3#0
    // [203] call mulu16_sel 
    // [122] phi from sin16s::@8 to mulu16_sel [phi:sin16s::@8->mulu16_sel]
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 1 [phi:sin16s::@8->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #1
    // [122] phi (word) mulu16_sel::v2#10 = (word)(number) $10000/(number) 6 [phi:sin16s::@8->mulu16_sel#1] -- vwuz1=vwuc1 
    lda #<$10000/6
    sta.z mulu16_sel.v2
    lda #>$10000/6
    sta.z mulu16_sel.v2+1
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#2 [phi:sin16s::@8->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // mulu16_sel(x3, $10000/6, 1)
    // [204] (word) mulu16_sel::return#14 ← (word) mulu16_sel::return#17
    // sin16s::@9
    // x3_6 = mulu16_sel(x3, $10000/6, 1)
    // [205] (word) sin16s::x3_6#0 ← (word) mulu16_sel::return#14
    // usinx = x1 - x3_6
    // [206] (word) sin16s::usinx#0 ← (word) sin16s::x1#0 - (word) sin16s::x3_6#0 -- vwuz1=vwuz2_minus_vwuz3 
    lda.z x1
    sec
    sbc.z x3_6
    sta.z usinx
    lda.z x1+1
    sbc.z x3_6+1
    sta.z usinx+1
    // mulu16_sel(x3, x1, 0)
    // [207] (word) mulu16_sel::v1#3 ← (word) sin16s::x3#0
    // [208] (word) mulu16_sel::v2#3 ← (word) sin16s::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [209] call mulu16_sel 
    // [122] phi from sin16s::@9 to mulu16_sel [phi:sin16s::@9->mulu16_sel]
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 0 [phi:sin16s::@9->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #0
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#3 [phi:sin16s::@9->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#3 [phi:sin16s::@9->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // mulu16_sel(x3, x1, 0)
    // [210] (word) mulu16_sel::return#15 ← (word) mulu16_sel::return#17 -- vwuz1=vwuz2 
    lda.z mulu16_sel.return_17
    sta.z mulu16_sel.return
    lda.z mulu16_sel.return_17+1
    sta.z mulu16_sel.return+1
    // sin16s::@10
    // x4 = mulu16_sel(x3, x1, 0)
    // [211] (word) sin16s::x4#0 ← (word) mulu16_sel::return#15
    // mulu16_sel(x4, x1, 0)
    // [212] (word) mulu16_sel::v1#4 ← (word) sin16s::x4#0
    // [213] (word) mulu16_sel::v2#4 ← (word) sin16s::x1#0 -- vwuz1=vwuz2 
    lda.z x1
    sta.z mulu16_sel.v2
    lda.z x1+1
    sta.z mulu16_sel.v2+1
    // [214] call mulu16_sel 
    // [122] phi from sin16s::@10 to mulu16_sel [phi:sin16s::@10->mulu16_sel]
    // [122] phi (byte) mulu16_sel::select#10 = (byte) 0 [phi:sin16s::@10->mulu16_sel#0] -- vbuxx=vbuc1 
    ldx #0
    // [122] phi (word) mulu16_sel::v2#10 = (word) mulu16_sel::v2#4 [phi:sin16s::@10->mulu16_sel#1] -- register_copy 
    // [122] phi (word) mulu16_sel::v1#10 = (word) mulu16_sel::v1#4 [phi:sin16s::@10->mulu16_sel#2] -- register_copy 
    jsr mulu16_sel
    // mulu16_sel(x4, x1, 0)
    // [215] (word) mulu16_sel::return#16 ← (word) mulu16_sel::return#17
    // sin16s::@11
    // x5 = mulu16_sel(x4, x1, 0)
    // [216] (word) sin16s::x5#0 ← (word) mulu16_sel::return#16
    // x5_128 = x5>>4
    // [217] (word) sin16s::x5_128#0 ← (word) sin16s::x5#0 >> (byte) 4 -- vwuz1=vwuz1_ror_4 
    lsr.z x5_128+1
    ror.z x5_128
    lsr.z x5_128+1
    ror.z x5_128
    lsr.z x5_128+1
    ror.z x5_128
    lsr.z x5_128+1
    ror.z x5_128
    // usinx = usinx + x5_128
    // [218] (word) sin16s::usinx#1 ← (word) sin16s::usinx#0 + (word) sin16s::x5_128#0 -- vwuz1=vwuz1_plus_vwuz2 
    lda.z usinx
    clc
    adc.z x5_128
    sta.z usinx
    lda.z usinx+1
    adc.z x5_128+1
    sta.z usinx+1
    // if(isUpper!=0)
    // [219] if((byte) sin16s::isUpper#2==(byte) 0) goto sin16s::@12 -- vbuz1_eq_0_then_la1 
    lda.z isUpper
    cmp #0
    beq b3
    // sin16s::@6
    // sinx = -(signed word)usinx
    // [220] (signed word) sin16s::sinx#1 ← - (signed word)(word) sin16s::usinx#1 -- vwsz1=_neg_vwsz1 
    sec
    lda #0
    sbc.z sinx
    sta.z sinx
    lda #0
    sbc.z sinx+1
    sta.z sinx+1
    // [221] phi from sin16s::@12 sin16s::@6 to sin16s::@3 [phi:sin16s::@12/sin16s::@6->sin16s::@3]
    // [221] phi (signed word) sin16s::return#1 = (signed word~) sin16s::return#5 [phi:sin16s::@12/sin16s::@6->sin16s::@3#0] -- register_copy 
    // sin16s::@3
  b3:
    // sin16s::@return
    // }
    // [222] return 
    rts
    // sin16s::@12
    // [223] (signed word~) sin16s::return#5 ← (signed word)(word) sin16s::usinx#1
}
  // File Data
  print_hextab: .text "0123456789abcdef"

