{"name": "rx_status_fifo_pop", "code": "__int64 __fastcall rx_status_fifo_pop ( _DWORD * @@a1@@ ) { unsigned int @@v2@@ ; @@v2@@ = @@a1@@ [ @@a1@@ [ Number ] + Number ] ; if ( @@a1@@ [ Number ] ) { -- @@a1@@ [ Number ] ; if ( ++ @@a1@@ [ Number ] >= @@a1@@ [ Number ] ) @@a1@@ [ Number ] -= @@a1@@ [ Number ] ; } return @@v2@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}]}
{"name": "lan9118_readl", "code": "__int64 __fastcall lan9118_readl ( __int64 @@a1@@ , unsigned int @@a2@@ ) { __int64 @@result@@ ; if ( @@a2@@ <= Number ) return rx_fifo_pop ( ( _DWORD * ) @@a1@@ ) ; switch ( @@a2@@ ) { case Number : @@result@@ = rx_status_fifo_pop ( ( _DWORD * ) @@a1@@ ) ; break ; case Number : @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number * ( * ( int * ) ( @@a1@@ + Number ) + Number L ) + Number ) ; break ; case Number : @@result@@ = tx_status_fifo_pop ( @@a1@@ ) ; break ; case Number : @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number * ( * ( int * ) ( @@a1@@ + Number ) + Number L ) ) ; break ; case Number : @@result@@ = Number L ; break ; case Number : @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; break ; 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@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; break ; case Number : @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; break ; case Number : @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; break ; case Number : @@result@@ = * ( _DWORD * ) ( @@a1@@ + Number ) | Number ; break ; case Number : @@result@@ = Number L ; break ; case Number : @@result@@ = ( * ( _DWORD * ) ( @@a1@@ + Number ) << Number ) | ( unsigned int ) ( Number * * ( _DWORD * ) ( @@a1@@ + Number ) ) ; break ; case Number : @@result@@ = ( * ( _DWORD * ) ( @@a1@@ + Number ) << Number ) | ( unsigned int ) ( * ( _DWORD * ) ( @@a1@@ + Number ) - * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) ; break ; case Number : @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; break ; case Number : @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; break ; case Number : @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; break ; case Number : @@result@@ = ptimer_get_count ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; break ; case Number : @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; break ; case Number : @@result@@ = ( unsigned int ) ( ( int ) qemu_get_clock ( vm_clock ) / Number - * ( _DWORD * ) ( @@a1@@ + Number ) ) ; break ; case Number : @@result@@ = Number L ; break ; case Number : @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; break ; case Number : @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; break ; case Number : @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; break ; case Number : @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; break ; case Number : @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; break ; default : @@result@@ = hw_error ( String , @@a2@@ ) ; break ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "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"}]}