{"name": "powercycle", "code": "__int64 __fastcall powercycle ( _WORD * @@a1@@ ) { __int64 @@result@@ ; _WORD * @@v2@@ ; char @@v3@@ ; @@v2@@ = @@a1@@ ; if ( is_streaming && ( __int16 ) ( clock_time ( @@a1@@ ) - stream_until ) >= Number ) { is_streaming = Number ; rimeaddr_copy ( & is_streaming_to , & rimeaddr_null ) ; @@a1@@ = & is_streaming_to_too ; rimeaddr_copy ( & is_streaming_to_too , & rimeaddr_null ) ; } @@v3@@ = Number ; if ( pt == Number ) goto LABEL_20 ; if ( ( unsigned __int16 ) pt > Number ) goto LABEL_22 ; if ( ! pt ) goto LABEL_9 ; if ( pt == Number ) { while ( Number ) { if ( ! @@v3@@ ) return Number L ; if ( xmac_config [ Number ] && ! ( ( unsigned int ( __fastcall * ) ( _WORD * ) ) nullradio_driver [ Number ] ) ( @@a1@@ ) ) { powercycle_turn_radio_off ( @@a1@@ ) ; if ( waiting_for_packet ) { if ( ( unsigned __int8 ) ++ waiting_for_packet > Number ) { waiting_for_packet = Number ; powercycle_turn_radio_off ( @@a1@@ ) ; } } @@a1@@ = @@v2@@ ; schedule_powercycle ( @@v2@@ , xmac_config [ Number ] ) ; @@v3@@ = Number ; pt = Number ; LABEL_20 : if ( ! @@v3@@ ) break ; } LABEL_9 : if ( someone_is_sending ) -- someone_is_sending ; powercycle_turn_radio_on ( @@a1@@ ) ; @@a1@@ = @@v2@@ ; schedule_powercycle ( @@v2@@ , xmac_config [ Number ] ) ; @@v3@@ = Number ; pt = Number ; } @@result@@ = Number L ; } else { LABEL_22 : pt = Number ; @@result@@ = Number L ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_WORD"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v3", "t": {"T": 1, "n": "char", "s": 1}, "location": "s1"}, {"n": "v2", "t": {"T": 3, "t": "_WORD"}, "location": "s24"}]}