
void main()
main: scope:[main]  from
  [0] *((unsigned int *)&chks) = 0
  [1] call add_checksum
  to:main::@1
main::@1: scope:[main]  from main
  [2] *SCREEN = *((unsigned int *)&chks)
  [3] call add_checksum
  to:main::@2
main::@2: scope:[main]  from main::@1
  [4] *(SCREEN+1*SIZEOF_UNSIGNED_INT) = *((unsigned int *)&chks)
  [5] call add_checksum
  to:main::@3
main::@3: scope:[main]  from main::@2
  [6] *(SCREEN+1*SIZEOF_UNSIGNED_INT) = *((unsigned int *)&chks)
  to:main::@return
main::@return: scope:[main]  from main::@3
  [7] return 
  to:@return

void add_checksum(unsigned int v)
add_checksum: scope:[add_checksum]  from main main::@1 main::@2
  [8] add_checksum::v#3 = phi( main/$1234, main::@1/$2345, main::@2/$3456 )
  [9] _a#0 = *((char *)&chks)
  [10] add_checksum::$0 = byte1  add_checksum::v#3
  [11] add_checksum::$14 = (unsigned int)_a#0
  [12] _b16#0 = add_checksum::$14 + add_checksum::$0
  [13] _b#0 = byte0  _b16#0
  [14] add_checksum::$3 = _b16#0 >> 8
  [15] _c#0 = byte1  add_checksum::$3
  [16] *((char *)&chks) = _b#0
  [17] _a#1 = *((char *)&chks+1)
  [18] add_checksum::$5 = byte0  add_checksum::v#3
  [19] add_checksum::$15 = (unsigned int)_a#1
  [20] add_checksum::$6 = add_checksum::$15 + add_checksum::$5
  [21] _b16#1 = add_checksum::$6 + _c#0
  [22] _b#1 = byte0  _b16#1
  [23] _c#1 = byte1  _b16#1
  [24] *((char *)&chks+1) = _b#1
  [25] if(0==_c#1) goto add_checksum::@return
  to:add_checksum::@1
add_checksum::@1: scope:[add_checksum]  from add_checksum
  [26] *((char *)&chks) = ++ *((char *)&chks)
  [27] if(*((char *)&chks)!=0) goto add_checksum::@return
  to:add_checksum::@2
add_checksum::@2: scope:[add_checksum]  from add_checksum::@1
  [28] *((char *)&chks+1) = ++ *((char *)&chks+1)
  to:add_checksum::@return
add_checksum::@return: scope:[add_checksum]  from add_checksum add_checksum::@1 add_checksum::@2
  [29] return 
  to:@return
