
void __start()
__start: scope:[__start]  from
  [0] phi()
  to:__start::__init1
__start::__init1: scope:[__start]  from __start
  [1] p0_xpos = 0
  to:__start::@1
__start::@1: scope:[__start]  from __start::__init1
  [2] phi()
  [3] call main
  to:__start::@return
__start::@return: scope:[__start]  from __start::@1
  [4] return 
  to:@return

void main()
main: scope:[main]  from __start::@1
  asm { cld  }
  [6] *((char *)TIA+OFFSET_STRUCT_ATARI_TIA_WRITE_COLUP0) = $f0
  [7] *((char *)TIA+OFFSET_STRUCT_ATARI_TIA_WRITE_GRP0) = $af
  [8] *((char *)TIA+OFFSET_STRUCT_ATARI_TIA_WRITE_NUSIZ0) = 5
  to:main::@1
main::@1: scope:[main]  from main main::@13
  [9] idx2#1 = phi( main/$39, main::@13/idx2#0 )
  [9] idx#1 = phi( main/0, main::@13/idx#0 )
  to:main::@2
main::@2: scope:[main]  from main::@1
  [10] *((char *)TIA) = 2
  [11] *((char *)RIOT+OFFSET_STRUCT_MOS6532_RIOT_TIM64T) = $29*CYCLES_PER_SCANLINE/$40
  [12] *((char *)TIA+OFFSET_STRUCT_ATARI_TIA_WRITE_WSYNC) = 0
  [13] *((char *)TIA+OFFSET_STRUCT_ATARI_TIA_WRITE_WSYNC) = 0
  [14] *((char *)TIA+OFFSET_STRUCT_ATARI_TIA_WRITE_WSYNC) = 0
  [15] *((char *)TIA) = 0
  asm { ldap0_xpos staTIA_WSYNC sec !: sbc#$f bcs!- eor#7 asl asl asl asl staTIA_HMP0 staTIA_RESP0  }
  [17] p0_xpos = SINTABLE_160[idx#1]
  [18] idx#0 = ++ idx#1
  [19] p0_ypos#0 = SINTABLE_160[idx2#1]
  [20] idx2#0 = ++ idx2#1
  [21] *((char *)TIA+OFFSET_STRUCT_ATARI_TIA_WRITE_WSYNC) = 0
  [22] *((char *)TIA+OFFSET_STRUCT_ATARI_TIA_WRITE_HMOVE) = 0
  to:main::@3
main::@3: scope:[main]  from main::@2 main::@4
  [23] if(0!=*((char *)RIOT+OFFSET_STRUCT_MOS6532_RIOT_INTIM)) goto main::@4
  to:main::@5
main::@5: scope:[main]  from main::@3
  [24] *((char *)TIA+OFFSET_STRUCT_ATARI_TIA_WRITE_VBLANK) = 0
  [25] *((char *)TIA+OFFSET_STRUCT_ATARI_TIA_WRITE_COLUBK) = 0
  to:main::@6
main::@6: scope:[main]  from main::@10 main::@5
  [26] main::p0_idx#4 = phi( main::@10/main::p0_idx#8, main::@5/0 )
  [26] main::i#2 = phi( main::@10/main::i#1, main::@5/1 )
  [27] if(main::i#2<$c0) goto main::@7
  to:main::@8
main::@8: scope:[main]  from main::@6
  [28] *((char *)TIA+OFFSET_STRUCT_ATARI_TIA_WRITE_WSYNC) = 0
  [29] *((char *)TIA+OFFSET_STRUCT_ATARI_TIA_WRITE_VBLANK) = 2
  [30] *((char *)TIA+OFFSET_STRUCT_ATARI_TIA_WRITE_COLUBK) = 0
  [31] *((char *)RIOT+OFFSET_STRUCT_MOS6532_RIOT_TIM64T) = $1b*CYCLES_PER_SCANLINE/$40
  to:main::@13
main::@13: scope:[main]  from main::@14 main::@8
  [32] if(0!=*((char *)RIOT+OFFSET_STRUCT_MOS6532_RIOT_INTIM)) goto main::@14
  to:main::@1
main::@14: scope:[main]  from main::@13
  [33] *((char *)TIA+OFFSET_STRUCT_ATARI_TIA_WRITE_WSYNC) = 0
  to:main::@13
main::@7: scope:[main]  from main::@6
  [34] *((char *)TIA+OFFSET_STRUCT_ATARI_TIA_WRITE_WSYNC) = 0
  [35] *((char *)TIA+OFFSET_STRUCT_ATARI_TIA_WRITE_COLUBK) = main::i#2
  [36] if(0!=main::p0_idx#4) goto main::@9
  to:main::@11
main::@11: scope:[main]  from main::@7
  [37] if(p0_ypos#0!=main::i#2) goto main::@15
  to:main::@10
main::@15: scope:[main]  from main::@11
  [38] phi()
  to:main::@10
main::@10: scope:[main]  from main::@11 main::@12 main::@15 main::@9
  [39] main::p0_idx#8 = phi( main::@9/0, main::@15/main::p0_idx#4, main::@11/1, main::@12/main::p0_idx#3 )
  [40] main::i#1 = ++ main::i#2
  to:main::@6
main::@9: scope:[main]  from main::@7
  [41] main::gfx#0 = SPRITE_C[main::p0_idx#4]
  [42] *((char *)TIA+OFFSET_STRUCT_ATARI_TIA_WRITE_GRP0) = main::gfx#0
  [43] if(main::gfx#0==0) goto main::@10
  to:main::@12
main::@12: scope:[main]  from main::@9
  [44] main::p0_idx#3 = ++ main::p0_idx#4
  to:main::@10
main::@4: scope:[main]  from main::@3
  [45] *((char *)TIA+OFFSET_STRUCT_ATARI_TIA_WRITE_WSYNC) = 0
  to:main::@3
