{"name": "clz64", "code": "unsigned __int64 __fastcall clz64 ( unsigned __int64 @@a1@@ ) { unsigned __int64 @@v1@@ ; if ( ! @@a1@@ ) return Number L ; _BitScanReverse64 ( & @@v1@@ , @@a1@@ ) ; return @@v1@@ ^ Number ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r56"}, {"n": "v1", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r8"}]}
{"name": "platform_bus_map_mmio", "code": "__int64 __fastcall platform_bus_map_mmio ( __int64 @@a1@@ , __int64 @@a2@@ , unsigned int @@a3@@ ) { char @@v4@@ ; unsigned __int64 @@i@@ ; __int64 @@v6@@ ; __int64 @@v7@@ ; unsigned __int64 @@v8@@ ; __int64 @@v9@@ [ Number ] ; @@v9@@ [ Number ] = __readfsqword ( Number ) ; @@v6@@ = sysbus_mmio_get_region ( @@a2@@ , @@a3@@ ) ; @@v7@@ = memory_region_size ( @@v6@@ ) ; @@v8@@ = Number >> clz64 ( Number * @@v7@@ - Number ) ; @@v4@@ = Number ; if ( ( unsigned __int8 ) memory_region_is_mapped ( @@v6@@ ) ) return Number L ; for ( @@i@@ = Number L ; @@i@@ < * ( unsigned int * ) ( @@a1@@ + Number ) ; @@i@@ += @@v8@@ ) { memory_region_find ( @@v9@@ , @@a1@@ + Number , @@i@@ , @@v7@@ ) ; if ( ! @@v9@@ [ Number ] ) { @@v4@@ = Number ; break ; } } if ( @@v4@@ != Number ) hw_error ( String , @@v7@@ ) ; memory_region_add_subregion ( @@a1@@ + Number , @@i@@ , @@v6@@ ) ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v9", "t": {"T": 2, "n": 8, "s": 8, "t": "__int64"}, "location": "s64"}, {"n": "v8", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s72"}, {"n": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s80"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s88"}, {"n": "i", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s96"}, {"n": "v4", "t": {"T": 1, "n": "char", "s": 1}, "location": "s97"}]}