{"name": "lan9118_mac_changed", "code": "unsigned __int64 __fastcall lan9118_mac_changed ( __int64 @@a1@@ ) { unsigned __int64 @@v2@@ ; @@v2@@ = __readfsqword ( Number ) ; qemu_format_nic_info_str ( * ( _QWORD * ) ( @@a1@@ + Number ) , @@a1@@ + Number ) ; return __readfsqword ( Number ) ^ @@v2@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}
{"name": "lan9118_reload_eeprom", "code": "unsigned __int64 __fastcall lan9118_reload_eeprom ( __int64 @@a1@@ ) { int @@i@@ ; unsigned __int64 @@v3@@ ; @@v3@@ = __readfsqword ( Number ) ; if ( * ( _BYTE * ) ( @@a1@@ + Number ) == Number ) { for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) * ( _BYTE * ) ( @@a1@@ + @@i@@ + Number ) = * ( _BYTE * ) ( @@a1@@ + @@i@@ + Number + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) |= Number ; lan9118_mac_changed ( @@a1@@ ) ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) &= Number ; } return __readfsqword ( Number ) ^ @@v3@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v3", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "do_mac_write", "code": "unsigned __int64 __fastcall do_mac_write ( __int64 @@a1@@ , int @@a2@@ , unsigned int @@a3@@ ) { int @@v3@@ ; unsigned __int64 @@v5@@ ; @@v5@@ = __readfsqword ( Number ) ; switch ( @@a2@@ ) { case Number : if ( ( * ( _DWORD * ) ( @@a1@@ + Number ) & Number ) != Number && ( @@a3@@ & Number ) == Number ) * ( _DWORD * ) ( @@a1@@ + Number ) |= Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a3@@ & Number ; break ; case Number : * ( _WORD * ) ( @@a1@@ + Number ) = @@a3@@ ; lan9118_mac_changed ( @@a1@@ ) ; break ; case Number : * ( _DWORD * ) ( @@a1@@ + Number ) = @@a3@@ ; lan9118_mac_changed ( @@a1@@ ) ; break ; case Number : * ( _DWORD * ) ( @@a1@@ + Number ) = @@a3@@ ; break ; case Number : * ( _DWORD * ) ( @@a1@@ + Number ) = @@a3@@ ; break ; case Number : * ( _DWORD * ) ( @@a1@@ + Number ) = @@a3@@ & Number ; if ( ( @@a3@@ & Number ) != Number ) do_phy_write ( ( _DWORD * ) @@a1@@ , ( @@a3@@ >> Number ) & Number , * ( _DWORD * ) ( @@a1@@ + Number ) ) ; else * ( _DWORD * ) ( @@a1@@ + Number ) = do_phy_read ( ( _DWORD * ) @@a1@@ , ( @@a3@@ >> Number ) & Number ) ; break ; case Number : * ( _DWORD * ) ( @@a1@@ + Number ) = ( unsigned __int16 ) @@a3@@ ; break ; case Number : HIWORD ( @@v3@@ ) = HIWORD ( @@a3@@ ) ; LOWORD ( @@v3@@ ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v3@@ ; break ; default : hw_error ( String , * ( _DWORD * ) ( @@a1@@ + Number ) & Number , @@a3@@ ) ; break ; } return __readfsqword ( Number ) ^ @@v5@@ ; }", "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": "int", "s": 4}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "v5", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}