#!/usr/bin/env python2
## -*- coding: utf-8 -*-

import sys

def sx(bits, value):
    sign_bit = 1 << (bits - 1)
    return (value & (sign_bit - 1)) - (value & sign_bit)

SymVar_0 = int(sys.argv[1])

ref_263 = SymVar_0
ref_278 = ref_263 # MOV operation
ref_20362 = ref_278 # MOV operation
ref_21833 = ref_20362 # MOV operation
ref_21847 = ((ref_21833 << (0xB & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_29206 = ref_278 # MOV operation
ref_30177 = ref_29206 # MOV operation
ref_30191 = (ref_30177 >> (0x35 & 0x3F)) # SHR operation
ref_31745 = ref_21847 # MOV operation
ref_31749 = ref_30191 # MOV operation
ref_31751 = (ref_31749 | ref_31745) # OR operation
ref_32747 = ref_31751 # MOV operation
ref_32761 = (ref_32747 >> (0x1 & 0x3F)) # SHR operation
ref_32965 = ref_32761 # MOV operation
ref_47430 = ref_32965 # MOV operation
ref_48620 = ref_47430 # MOV operation
ref_48626 = (((sx(0x40, 0x6B33F46) * sx(0x40, ref_48620)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
ref_55021 = ref_278 # MOV operation
ref_57011 = ref_55021 # MOV operation
ref_57019 = ((((0x0) << 64 | ref_57011) / 0x3) & 0xFFFFFFFFFFFFFFFF) # DIV operation
ref_58111 = ref_57019 # MOV operation
ref_58123 = ref_48626 # MOV operation
ref_58125 = ((ref_58111 - ref_58123) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_58133 = ref_58125 # MOV operation
ref_58332 = ref_58133 # MOV operation
ref_75680 = ref_58332 # MOV operation
ref_76651 = ref_75680 # MOV operation
ref_76665 = (ref_76651 >> (0x7 & 0x3F)) # SHR operation
ref_77661 = ref_76665 # MOV operation
ref_77675 = (ref_77661 >> (0x2 & 0x3F)) # SHR operation
ref_78021 = ref_77675 # MOV operation
ref_78035 = (0x7 & ref_78021) # AND operation
ref_80550 = ref_78035 # MOV operation
ref_80556 = (0x1 | ref_80550) # OR operation
ref_87915 = ref_278 # MOV operation
ref_88686 = ref_87915 # MOV operation
ref_88700 = ((0x9919884 + ref_88686) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_89697 = ref_88700 # MOV operation
ref_89709 = ref_80556 # MOV operation
ref_89711 = (ref_89697 >> ((ref_89709 & 0xFF) & 0x3F)) # SHR operation
ref_89915 = ref_89711 # MOV operation
ref_103906 = ref_278 # MOV operation
ref_104677 = ref_103906 # MOV operation
ref_104691 = ((0x1E5EA08F8 + ref_104677) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_104896 = ref_104691 # MOV operation
ref_131511 = ref_89915 # MOV operation
ref_143946 = ref_89915 # MOV operation
ref_144267 = ref_143946 # MOV operation
ref_144281 = (0x3F & ref_144267) # AND operation
ref_145777 = ref_144281 # MOV operation
ref_145791 = ((ref_145777 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_147345 = ref_131511 # MOV operation
ref_147349 = ref_145791 # MOV operation
ref_147351 = (ref_147349 | ref_147345) # OR operation
ref_147555 = ref_147351 # MOV operation
ref_172916 = ref_147555 # MOV operation
ref_184568 = ref_58332 # MOV operation
ref_185539 = ref_184568 # MOV operation
ref_185553 = (ref_185539 >> (0x2 & 0x3F)) # SHR operation
ref_185899 = ref_185553 # MOV operation
ref_185913 = (0xF & ref_185899) # AND operation
ref_188428 = ref_185913 # MOV operation
ref_188434 = (0x1 | ref_188428) # OR operation
ref_196267 = ref_32965 # MOV operation
ref_197738 = ref_196267 # MOV operation
ref_197750 = ref_188434 # MOV operation
ref_197752 = ((ref_197738 << ((ref_197750 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_207507 = ref_58332 # MOV operation
ref_208478 = ref_207507 # MOV operation
ref_208492 = (ref_208478 >> (0x2 & 0x3F)) # SHR operation
ref_208838 = ref_208492 # MOV operation
ref_208852 = (0xF & ref_208838) # AND operation
ref_211367 = ref_208852 # MOV operation
ref_211373 = (0x1 | ref_211367) # OR operation
ref_213442 = ref_211373 # MOV operation
ref_213444 = ((0x40 - ref_213442) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_213452 = ref_213444 # MOV operation
ref_221280 = ref_32965 # MOV operation
ref_222251 = ref_221280 # MOV operation
ref_222263 = ref_213452 # MOV operation
ref_222265 = (ref_222251 >> ((ref_222263 & 0xFF) & 0x3F)) # SHR operation
ref_223819 = ref_197752 # MOV operation
ref_223823 = ref_222265 # MOV operation
ref_223825 = (ref_223823 | ref_223819) # OR operation
ref_224171 = ref_223825 # MOV operation
ref_224185 = (0x7 & ref_224171) # AND operation
ref_225681 = ref_224185 # MOV operation
ref_225695 = ((ref_225681 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_227249 = ref_172916 # MOV operation
ref_227253 = ref_225695 # MOV operation
ref_227255 = (ref_227253 | ref_227249) # OR operation
ref_227459 = ref_227255 # MOV operation
ref_237938 = ref_104896 # MOV operation
ref_238909 = ref_237938 # MOV operation
ref_238923 = (ref_238909 >> (0x4 & 0x3F)) # SHR operation
ref_239269 = ref_238923 # MOV operation
ref_239283 = (0xF & ref_239269) # AND operation
ref_241798 = ref_239283 # MOV operation
ref_241804 = (0x1 | ref_241798) # OR operation
ref_249637 = ref_227459 # MOV operation
ref_250608 = ref_249637 # MOV operation
ref_250620 = ref_241804 # MOV operation
ref_250622 = (ref_250608 >> ((ref_250620 & 0xFF) & 0x3F)) # SHR operation
ref_260377 = ref_104896 # MOV operation
ref_261348 = ref_260377 # MOV operation
ref_261362 = (ref_261348 >> (0x4 & 0x3F)) # SHR operation
ref_261708 = ref_261362 # MOV operation
ref_261722 = (0xF & ref_261708) # AND operation
ref_264237 = ref_261722 # MOV operation
ref_264243 = (0x1 | ref_264237) # OR operation
ref_266312 = ref_264243 # MOV operation
ref_266314 = ((0x40 - ref_266312) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_266322 = ref_266314 # MOV operation
ref_274150 = ref_227459 # MOV operation
ref_275621 = ref_274150 # MOV operation
ref_275633 = ref_266322 # MOV operation
ref_275635 = ((ref_275621 << ((ref_275633 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_277189 = ref_250622 # MOV operation
ref_277193 = ref_275635 # MOV operation
ref_277195 = (ref_277193 | ref_277189) # OR operation
ref_286950 = ref_58332 # MOV operation
ref_287921 = ref_286950 # MOV operation
ref_287935 = (ref_287921 >> (0x3 & 0x3F)) # SHR operation
ref_288281 = ref_287935 # MOV operation
ref_288295 = (0xF & ref_288281) # AND operation
ref_290810 = ref_288295 # MOV operation
ref_290816 = (0x1 | ref_290810) # OR operation
ref_298649 = ref_32965 # MOV operation
ref_299620 = ref_298649 # MOV operation
ref_299632 = ref_290816 # MOV operation
ref_299634 = (ref_299620 >> ((ref_299632 & 0xFF) & 0x3F)) # SHR operation
ref_309389 = ref_58332 # MOV operation
ref_310360 = ref_309389 # MOV operation
ref_310374 = (ref_310360 >> (0x3 & 0x3F)) # SHR operation
ref_310720 = ref_310374 # MOV operation
ref_310734 = (0xF & ref_310720) # AND operation
ref_313249 = ref_310734 # MOV operation
ref_313255 = (0x1 | ref_313249) # OR operation
ref_315324 = ref_313255 # MOV operation
ref_315326 = ((0x40 - ref_315324) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_315334 = ref_315326 # MOV operation
ref_323162 = ref_32965 # MOV operation
ref_324633 = ref_323162 # MOV operation
ref_324645 = ref_315334 # MOV operation
ref_324647 = ((ref_324633 << ((ref_324645 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_326201 = ref_299634 # MOV operation
ref_326205 = ref_324647 # MOV operation
ref_326207 = (ref_326205 | ref_326201) # OR operation
ref_326753 = ref_326207 # MOV operation
ref_326765 = ref_277195 # MOV operation
ref_326767 = ((ref_326753 - ref_326765) & 0xFFFFFFFFFFFFFFFF) # CMP operation
ref_326769 = ((((ref_326753 ^ (ref_326765 ^ ref_326767)) ^ ((ref_326753 ^ ref_326767) & (ref_326753 ^ ref_326765))) >> 63) & 0x1) # Carry flag
ref_326773 = (0x1 if (ref_326767 == 0x0) else 0x0) # Zero flag
ref_326775 = ((((ref_326765 >> 8) & 0xFFFFFFFFFFFFFF)) << 8 | (0x1 if (((~(ref_326769) & 0x1) & (~(ref_326773) & 0x1)) == 0x1) else 0x0)) # SETA operation
ref_326777 = (ref_326775 & 0xFF) # MOVZX operation
ref_327610 = (ref_326777 & 0xFFFFFFFF) # MOV operation
ref_327612 = ((ref_327610 & 0xFFFFFFFF) & (ref_327610 & 0xFFFFFFFF)) # TEST operation
ref_327617 = (0x1 if (ref_327612 == 0x0) else 0x0) # Zero flag
ref_327619 = (0x1FBF if (ref_327617 == 0x1) else 0x1FA1) # Program Counter


if (ref_327617 == 0x1):
    ref_263 = SymVar_0
    ref_278 = ref_263 # MOV operation
    ref_20362 = ref_278 # MOV operation
    ref_21833 = ref_20362 # MOV operation
    ref_21847 = ((ref_21833 << (0xB & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_29206 = ref_278 # MOV operation
    ref_30177 = ref_29206 # MOV operation
    ref_30191 = (ref_30177 >> (0x35 & 0x3F)) # SHR operation
    ref_31745 = ref_21847 # MOV operation
    ref_31749 = ref_30191 # MOV operation
    ref_31751 = (ref_31749 | ref_31745) # OR operation
    ref_32747 = ref_31751 # MOV operation
    ref_32761 = (ref_32747 >> (0x1 & 0x3F)) # SHR operation
    ref_32965 = ref_32761 # MOV operation
    ref_47430 = ref_32965 # MOV operation
    ref_48620 = ref_47430 # MOV operation
    ref_48626 = (((sx(0x40, 0x6B33F46) * sx(0x40, ref_48620)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_55021 = ref_278 # MOV operation
    ref_57011 = ref_55021 # MOV operation
    ref_57019 = ((((0x0) << 64 | ref_57011) / 0x3) & 0xFFFFFFFFFFFFFFFF) # DIV operation
    ref_58111 = ref_57019 # MOV operation
    ref_58123 = ref_48626 # MOV operation
    ref_58125 = ((ref_58111 - ref_58123) & 0xFFFFFFFFFFFFFFFF) # SUB operation
    ref_58133 = ref_58125 # MOV operation
    ref_58332 = ref_58133 # MOV operation
    ref_75680 = ref_58332 # MOV operation
    ref_76651 = ref_75680 # MOV operation
    ref_76665 = (ref_76651 >> (0x7 & 0x3F)) # SHR operation
    ref_77661 = ref_76665 # MOV operation
    ref_77675 = (ref_77661 >> (0x2 & 0x3F)) # SHR operation
    ref_78021 = ref_77675 # MOV operation
    ref_78035 = (0x7 & ref_78021) # AND operation
    ref_80550 = ref_78035 # MOV operation
    ref_80556 = (0x1 | ref_80550) # OR operation
    ref_87915 = ref_278 # MOV operation
    ref_88686 = ref_87915 # MOV operation
    ref_88700 = ((0x9919884 + ref_88686) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_89697 = ref_88700 # MOV operation
    ref_89709 = ref_80556 # MOV operation
    ref_89711 = (ref_89697 >> ((ref_89709 & 0xFF) & 0x3F)) # SHR operation
    ref_89915 = ref_89711 # MOV operation
    ref_103906 = ref_278 # MOV operation
    ref_104677 = ref_103906 # MOV operation
    ref_104691 = ((0x1E5EA08F8 + ref_104677) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_104896 = ref_104691 # MOV operation
    ref_131511 = ref_89915 # MOV operation
    ref_143946 = ref_89915 # MOV operation
    ref_144267 = ref_143946 # MOV operation
    ref_144281 = (0x3F & ref_144267) # AND operation
    ref_145777 = ref_144281 # MOV operation
    ref_145791 = ((ref_145777 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_147345 = ref_131511 # MOV operation
    ref_147349 = ref_145791 # MOV operation
    ref_147351 = (ref_147349 | ref_147345) # OR operation
    ref_147555 = ref_147351 # MOV operation
    ref_172916 = ref_147555 # MOV operation
    ref_184568 = ref_58332 # MOV operation
    ref_185539 = ref_184568 # MOV operation
    ref_185553 = (ref_185539 >> (0x2 & 0x3F)) # SHR operation
    ref_185899 = ref_185553 # MOV operation
    ref_185913 = (0xF & ref_185899) # AND operation
    ref_188428 = ref_185913 # MOV operation
    ref_188434 = (0x1 | ref_188428) # OR operation
    ref_196267 = ref_32965 # MOV operation
    ref_197738 = ref_196267 # MOV operation
    ref_197750 = ref_188434 # MOV operation
    ref_197752 = ((ref_197738 << ((ref_197750 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_207507 = ref_58332 # MOV operation
    ref_208478 = ref_207507 # MOV operation
    ref_208492 = (ref_208478 >> (0x2 & 0x3F)) # SHR operation
    ref_208838 = ref_208492 # MOV operation
    ref_208852 = (0xF & ref_208838) # AND operation
    ref_211367 = ref_208852 # MOV operation
    ref_211373 = (0x1 | ref_211367) # OR operation
    ref_213442 = ref_211373 # MOV operation
    ref_213444 = ((0x40 - ref_213442) & 0xFFFFFFFFFFFFFFFF) # SUB operation
    ref_213452 = ref_213444 # MOV operation
    ref_221280 = ref_32965 # MOV operation
    ref_222251 = ref_221280 # MOV operation
    ref_222263 = ref_213452 # MOV operation
    ref_222265 = (ref_222251 >> ((ref_222263 & 0xFF) & 0x3F)) # SHR operation
    ref_223819 = ref_197752 # MOV operation
    ref_223823 = ref_222265 # MOV operation
    ref_223825 = (ref_223823 | ref_223819) # OR operation
    ref_224171 = ref_223825 # MOV operation
    ref_224185 = (0x7 & ref_224171) # AND operation
    ref_225681 = ref_224185 # MOV operation
    ref_225695 = ((ref_225681 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_227249 = ref_172916 # MOV operation
    ref_227253 = ref_225695 # MOV operation
    ref_227255 = (ref_227253 | ref_227249) # OR operation
    ref_227459 = ref_227255 # MOV operation
    ref_342822 = ref_58332 # MOV operation
    ref_352552 = ref_58332 # MOV operation
    ref_352873 = ref_352552 # MOV operation
    ref_352887 = (0xF & ref_352873) # AND operation
    ref_354383 = ref_352887 # MOV operation
    ref_354397 = ((ref_354383 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_355951 = ref_342822 # MOV operation
    ref_355955 = ref_354397 # MOV operation
    ref_355957 = (ref_355955 | ref_355951) # OR operation
    ref_356161 = ref_355957 # MOV operation
    ref_370626 = ref_32965 # MOV operation
    ref_380356 = ref_356161 # MOV operation
    ref_388164 = ref_227459 # MOV operation
    ref_388485 = ref_388164 # MOV operation
    ref_388497 = ref_380356 # MOV operation
    ref_388499 = (ref_388497 & ref_388485) # AND operation
    ref_388845 = ref_388499 # MOV operation
    ref_388859 = (0x1F & ref_388845) # AND operation
    ref_390355 = ref_388859 # MOV operation
    ref_390369 = ((ref_390355 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_391923 = ref_370626 # MOV operation
    ref_391927 = ref_390369 # MOV operation
    ref_391929 = (ref_391927 | ref_391923) # OR operation
    ref_392133 = ref_391929 # MOV operation
    ref_405901 = ref_392133 # MOV operation
    ref_413709 = ref_356161 # MOV operation
    ref_415238 = ref_405901 # MOV operation
    ref_415242 = ref_413709 # MOV operation
    ref_415244 = (ref_415242 | ref_415238) # OR operation
    ref_423077 = ref_227459 # MOV operation
    ref_430885 = ref_104896 # MOV operation
    ref_431114 = ref_423077 # MOV operation
    ref_431118 = ref_430885 # MOV operation
    ref_431120 = (((sx(0x40, ref_431118) * sx(0x40, ref_431114)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_431371 = ref_415244 # MOV operation
    ref_431375 = ref_431120 # MOV operation
    ref_431377 = (((sx(0x40, ref_431375) * sx(0x40, ref_431371)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_431578 = ref_431377 # MOV operation
    ref_433729 = ref_431578 # MOV operation
    ref_433731 = ref_433729 # MOV operation
    endb = ref_433731


else:
    ref_434051 = SymVar_0
    ref_434066 = ref_434051 # MOV operation
    ref_454155 = ref_434066 # MOV operation
    ref_455626 = ref_454155 # MOV operation
    ref_455640 = ((ref_455626 << (0xB & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_462999 = ref_434066 # MOV operation
    ref_463970 = ref_462999 # MOV operation
    ref_463984 = (ref_463970 >> (0x35 & 0x3F)) # SHR operation
    ref_465538 = ref_455640 # MOV operation
    ref_465542 = ref_463984 # MOV operation
    ref_465544 = (ref_465542 | ref_465538) # OR operation
    ref_466540 = ref_465544 # MOV operation
    ref_466554 = (ref_466540 >> (0x1 & 0x3F)) # SHR operation
    ref_466758 = ref_466554 # MOV operation
    ref_481223 = ref_466758 # MOV operation
    ref_482413 = ref_481223 # MOV operation
    ref_482419 = (((sx(0x40, 0x6B33F46) * sx(0x40, ref_482413)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_488814 = ref_434066 # MOV operation
    ref_490804 = ref_488814 # MOV operation
    ref_490812 = ((((0x0) << 64 | ref_490804) / 0x3) & 0xFFFFFFFFFFFFFFFF) # DIV operation
    ref_491904 = ref_490812 # MOV operation
    ref_491916 = ref_482419 # MOV operation
    ref_491918 = ((ref_491904 - ref_491916) & 0xFFFFFFFFFFFFFFFF) # SUB operation
    ref_491926 = ref_491918 # MOV operation
    ref_492125 = ref_491926 # MOV operation
    ref_509473 = ref_492125 # MOV operation
    ref_510444 = ref_509473 # MOV operation
    ref_510458 = (ref_510444 >> (0x7 & 0x3F)) # SHR operation
    ref_511454 = ref_510458 # MOV operation
    ref_511468 = (ref_511454 >> (0x2 & 0x3F)) # SHR operation
    ref_511814 = ref_511468 # MOV operation
    ref_511828 = (0x7 & ref_511814) # AND operation
    ref_514343 = ref_511828 # MOV operation
    ref_514349 = (0x1 | ref_514343) # OR operation
    ref_521708 = ref_434066 # MOV operation
    ref_522479 = ref_521708 # MOV operation
    ref_522493 = ((0x9919884 + ref_522479) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_523490 = ref_522493 # MOV operation
    ref_523502 = ref_514349 # MOV operation
    ref_523504 = (ref_523490 >> ((ref_523502 & 0xFF) & 0x3F)) # SHR operation
    ref_523708 = ref_523504 # MOV operation
    ref_537699 = ref_434066 # MOV operation
    ref_538470 = ref_537699 # MOV operation
    ref_538484 = ((0x1E5EA08F8 + ref_538470) & 0xFFFFFFFFFFFFFFFF) # ADD operation
    ref_538689 = ref_538484 # MOV operation
    ref_565304 = ref_523708 # MOV operation
    ref_577739 = ref_523708 # MOV operation
    ref_578060 = ref_577739 # MOV operation
    ref_578074 = (0x3F & ref_578060) # AND operation
    ref_579570 = ref_578074 # MOV operation
    ref_579584 = ((ref_579570 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_581138 = ref_565304 # MOV operation
    ref_581142 = ref_579584 # MOV operation
    ref_581144 = (ref_581142 | ref_581138) # OR operation
    ref_581348 = ref_581144 # MOV operation
    ref_606709 = ref_581348 # MOV operation
    ref_618361 = ref_492125 # MOV operation
    ref_619332 = ref_618361 # MOV operation
    ref_619346 = (ref_619332 >> (0x2 & 0x3F)) # SHR operation
    ref_619692 = ref_619346 # MOV operation
    ref_619706 = (0xF & ref_619692) # AND operation
    ref_622221 = ref_619706 # MOV operation
    ref_622227 = (0x1 | ref_622221) # OR operation
    ref_630060 = ref_466758 # MOV operation
    ref_631531 = ref_630060 # MOV operation
    ref_631543 = ref_622227 # MOV operation
    ref_631545 = ((ref_631531 << ((ref_631543 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_641300 = ref_492125 # MOV operation
    ref_642271 = ref_641300 # MOV operation
    ref_642285 = (ref_642271 >> (0x2 & 0x3F)) # SHR operation
    ref_642631 = ref_642285 # MOV operation
    ref_642645 = (0xF & ref_642631) # AND operation
    ref_645160 = ref_642645 # MOV operation
    ref_645166 = (0x1 | ref_645160) # OR operation
    ref_647235 = ref_645166 # MOV operation
    ref_647237 = ((0x40 - ref_647235) & 0xFFFFFFFFFFFFFFFF) # SUB operation
    ref_647245 = ref_647237 # MOV operation
    ref_655073 = ref_466758 # MOV operation
    ref_656044 = ref_655073 # MOV operation
    ref_656056 = ref_647245 # MOV operation
    ref_656058 = (ref_656044 >> ((ref_656056 & 0xFF) & 0x3F)) # SHR operation
    ref_657612 = ref_631545 # MOV operation
    ref_657616 = ref_656058 # MOV operation
    ref_657618 = (ref_657616 | ref_657612) # OR operation
    ref_657964 = ref_657618 # MOV operation
    ref_657978 = (0x7 & ref_657964) # AND operation
    ref_659474 = ref_657978 # MOV operation
    ref_659488 = ((ref_659474 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_661042 = ref_606709 # MOV operation
    ref_661046 = ref_659488 # MOV operation
    ref_661048 = (ref_661046 | ref_661042) # OR operation
    ref_661252 = ref_661048 # MOV operation
    ref_661254 = ((ref_661252 >> 56) & 0xFF) # Byte reference - MOV operation
    ref_661255 = ((ref_661252 >> 48) & 0xFF) # Byte reference - MOV operation
    ref_661256 = ((ref_661252 >> 40) & 0xFF) # Byte reference - MOV operation
    ref_661257 = ((ref_661252 >> 32) & 0xFF) # Byte reference - MOV operation
    ref_661258 = ((ref_661252 >> 24) & 0xFF) # Byte reference - MOV operation
    ref_661259 = ((ref_661252 >> 16) & 0xFF) # Byte reference - MOV operation
    ref_661260 = ((ref_661252 >> 8) & 0xFF) # Byte reference - MOV operation
    ref_661261 = (ref_661252 & 0xFF) # Byte reference - MOV operation
    ref_777815 = ref_538689 # MOV operation
    ref_778786 = ref_777815 # MOV operation
    ref_778800 = (ref_778786 >> (0x3 & 0x3F)) # SHR operation
    ref_779146 = ref_778800 # MOV operation
    ref_779160 = (0xF & ref_779146) # AND operation
    ref_781675 = ref_779160 # MOV operation
    ref_781681 = (0x1 | ref_781675) # OR operation
    ref_789514 = ref_538689 # MOV operation
    ref_790985 = ref_789514 # MOV operation
    ref_790997 = ref_781681 # MOV operation
    ref_790999 = ((ref_790985 << ((ref_790997 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
    ref_800754 = ref_538689 # MOV operation
    ref_801725 = ref_800754 # MOV operation
    ref_801739 = (ref_801725 >> (0x3 & 0x3F)) # SHR operation
    ref_802085 = ref_801739 # MOV operation
    ref_802099 = (0xF & ref_802085) # AND operation
    ref_804614 = ref_802099 # MOV operation
    ref_804620 = (0x1 | ref_804614) # OR operation
    ref_806689 = ref_804620 # MOV operation
    ref_806691 = ((0x40 - ref_806689) & 0xFFFFFFFFFFFFFFFF) # SUB operation
    ref_806699 = ref_806691 # MOV operation
    ref_814527 = ref_538689 # MOV operation
    ref_815498 = ref_814527 # MOV operation
    ref_815510 = ref_806699 # MOV operation
    ref_815512 = (ref_815498 >> ((ref_815510 & 0xFF) & 0x3F)) # SHR operation
    ref_817066 = ref_790999 # MOV operation
    ref_817070 = ref_815512 # MOV operation
    ref_817072 = (ref_817070 | ref_817066) # OR operation
    ref_817276 = ref_817072 # MOV operation
    ref_828930 = ref_661260 # MOVZX operation
    ref_830224 = (ref_828930 & 0xFF) # MOVZX operation
    ref_841870 = ref_661258 # MOVZX operation
    ref_853954 = (ref_841870 & 0xFF) # MOVZX operation
    ref_853956 = (ref_853954 & 0xFF) # Byte reference - MOV operation
    ref_854810 = (ref_830224 & 0xFF) # MOVZX operation
    ref_866894 = (ref_854810 & 0xFF) # MOVZX operation
    ref_866896 = (ref_866894 & 0xFF) # Byte reference - MOV operation
    ref_880654 = ref_817276 # MOV operation
    ref_888462 = ref_492125 # MOV operation
    ref_889991 = ref_880654 # MOV operation
    ref_889995 = ref_888462 # MOV operation
    ref_889997 = (ref_889995 | ref_889991) # OR operation
    ref_897830 = ((((((((ref_661254) << 8 | ref_661255) << 8 | ref_661256) << 8 | ref_661257) << 8 | ref_866896) << 8 | ref_661259) << 8 | ref_853956) << 8 | ref_661261) # MOV operation
    ref_905638 = ref_538689 # MOV operation
    ref_905867 = ref_897830 # MOV operation
    ref_905871 = ref_905638 # MOV operation
    ref_905873 = (((sx(0x40, ref_905871) * sx(0x40, ref_905867)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_906124 = ref_889997 # MOV operation
    ref_906128 = ref_905873 # MOV operation
    ref_906130 = (((sx(0x40, ref_906128) * sx(0x40, ref_906124)) & 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) & 0xFFFFFFFFFFFFFFFF) # IMUL operation
    ref_906331 = ref_906130 # MOV operation
    ref_908482 = ref_906331 # MOV operation
    ref_908484 = ref_908482 # MOV operation
    endb = ref_908484


print endb & 0xffffffffffffffff
