{"name": "do_phy_read", "code": "__int64 __fastcall do_phy_read ( _DWORD * @@a1@@ , unsigned int @@a2@@ ) { __int64 @@result@@ ; unsigned int @@v3@@ ; switch ( @@a2@@ ) { case Number : @@result@@ = ( unsigned int ) @@a1@@ [ Number ] ; break ; case Number : @@result@@ = ( unsigned int ) @@a1@@ [ Number ] ; break ; case Number : @@result@@ = Number L ; break ; case Number : @@result@@ = Number L ; break ; case Number : @@result@@ = ( unsigned int ) @@a1@@ [ Number ] ; break ; case Number : @@result@@ = Number L ; break ; case Number : @@result@@ = Number L ; break ; case Number : @@v3@@ = @@a1@@ [ Number ] ; @@a1@@ [ Number ] = Number ; phy_update_irq ( @@a1@@ ) ; @@result@@ = @@v3@@ ; break ; case Number : @@result@@ = ( unsigned int ) @@a1@@ [ Number ] ; break ; default : fprintf ( stderr , String , @@a2@@ ) ; @@result@@ = Number L ; break ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}]}
{"name": "phy_update_irq", "code": "unsigned __int64 __fastcall phy_update_irq ( _DWORD * @@a1@@ ) { unsigned int @@v1@@ ; unsigned __int64 @@v3@@ ; @@v3@@ = __readfsqword ( Number ) ; if ( ( @@a1@@ [ Number ] & @@a1@@ [ Number ] ) != Number ) @@v1@@ = @@a1@@ [ Number ] | Number ; else @@v1@@ = @@a1@@ [ Number ] & Number ; @@a1@@ [ Number ] = @@v1@@ ; lan9118_update ( ( __int64 ) @@a1@@ ) ; return __readfsqword ( Number ) ^ @@v3@@ ; }", "source": [{"n": "v1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}, {"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"}]}