{"name": "gen_intermediate_code_internal", "code": "unsigned __int64 __fastcall gen_intermediate_code_internal ( __int64 @@a1@@ , __int64 @@a2@@ , int @@a3@@ ) { int v3 ; const char * v4 ; int v5 ; int v8 ; int j ; int @@v10@@ ; int @@v11@@ ; unsigned int @@v12@@ ; unsigned int @@v13@@ ; int v14 ; int v15 ; __int64 @@i@@ ; unsigned int @@v17@@ ; int @@v18@@ ; int @@v19@@ ; int @@v20@@ ; int @@v21@@ ; int @@v22@@ ; __int64 @@v23@@ ; int @@v24@@ ; int @@v25@@ ; unsigned __int64 @@v26@@ ; @@v26@@ = __readfsqword ( Number ) ; num_temps = Number ; @@v12@@ = * ( _DWORD * ) @@a2@@ ; @@v23@@ = @@a2@@ ; @@v18@@ = Number ; @@v17@@ = @@v12@@ ; @@v24@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v19@@ = Number ; @@v25@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v21@@ = ( Number * ( unsigned __int8 ) * ( _DWORD * ) ( @@a1@@ + Number ) ) & Number ; @@v22@@ = * ( _DWORD * ) ( @@a1@@ + Number ) >> Number ; cpu_F0s = tcg_temp_new_i32 ( ) ; cpu_F1s = tcg_temp_new_i32 ( ) ; cpu_F0d = tcg_temp_new_i64 ( ) ; cpu_F1d = tcg_temp_new_i64 ( ) ; cpu_V0 = cpu_F0d ; cpu_V1 = cpu_F1d ; cpu_M0 = tcg_temp_new_i64 ( ) ; v8 = Number ; @@v10@@ = Number ; @@v11@@ = * ( _WORD * ) ( @@a2@@ + Number ) & Number ; if ( ( * ( _WORD * ) ( @@a2@@ + Number ) & Number ) == Number ) @@v11@@ = Number ; gen_icount_start ( ) ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) ) { @@v13@@ = new_tmp ( ) ; tcg_gen_movi_i32 ( @@v13@@ , Number ) ; store_cpu_offset ( @@v13@@ , Number ) ; } while ( @@v17@@ <= Number ) { if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { for ( @@i@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { if ( * ( _DWORD * ) @@i@@ == @@v17@@ ) { gen_set_condexec ( ( __int64 ) & @@v17@@ ) ; gen_set_pc_im ( @@v17@@ ) ; gen_exception ( Number ) ; @@v18@@ = Number ; @@v17@@ += Number ; goto LABEL_67 ; } } } if ( @@a3@@ ) { v14 = ( __int64 ) ( gen_opc_ptr - ( _QWORD ) & gen_opc_buf ) >> Number ; if ( v8 < v14 ) { ++ v8 ; while ( v8 < v14 ) { v3 = v8 ++ ; * ( ( _BYTE * ) & gen_opc_instr_start + v3 ) = Number ; } } * ( ( _DWORD * ) & gen_opc_pc + v8 ) = @@v17@@ ; * ( ( _BYTE * ) & gen_opc_instr_start + v8 ) = Number ; * ( ( _WORD * ) & gen_opc_icount + v8 ) = @@v10@@ ; } if ( @@v11@@ == @@v10@@ + Number && * ( __int16 * ) ( @@a2@@ + Number ) < Number ) gen_io_start ( ) ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) ) { disas_thumb_insn ( @@a1@@ , ( int * ) & @@v17@@ ) ; if ( @@v21@@ ) { @@v22@@ = ( @@v21@@ >> Number ) & Number | @@v22@@ & Number ; @@v21@@ = ( Number * ( _BYTE ) @@v21@@ ) & Number ; if ( ! @@v21@@ ) @@v22@@ = Number ; } } else { disas_arm_insn ( @@a1@@ , ( int * ) & @@v17@@ ) ; } if ( num_temps ) { fprintf ( stderr , String , @@v17@@ ) ; num_temps = Number ; } if ( @@v19@@ && ! @@v18@@ ) { gen_set_label ( @@v20@@ ) ; @@v19@@ = Number ; } ++ @@v10@@ ; if ( @@v18@@ || ( unsigned __int64 ) & gen_opc_buf + Number <= gen_opc_ptr || * ( _DWORD * ) ( @@a1@@ + Number ) || singlestep || ( @@v12@@ & Number ) + Number <= @@v17@@ || @@v10@@ >= @@v11@@ ) { goto LABEL_38 ; } } gen_exception ( Number ) ; @@v18@@ = Number ; LABEL_38 : if ( * ( __int16 * ) ( @@a2@@ + Number ) < Number ) { if ( @@v19@@ ) cpu_abort ( @@a1@@ , String ) ; gen_io_end ( ) ; } if ( * ( _DWORD * ) ( @@a1@@ + Number ) ) { if ( @@v19@@ ) { gen_set_condexec ( ( __int64 ) & @@v17@@ ) ; if ( @@v18@@ == Number ) gen_exception ( Number ) ; else gen_exception ( Number ) ; gen_set_label ( @@v20@@ ) ; } if ( @@v19@@ || ! @@v18@@ ) { gen_set_pc_im ( @@v17@@ ) ; @@v19@@ = Number ; } gen_set_condexec ( ( __int64 ) & @@v17@@ ) ; if ( @@v18@@ != Number || @@v19@@ ) gen_exception ( Number ) ; else gen_exception ( Number ) ; goto LABEL_67 ; } gen_set_condexec ( ( __int64 ) & @@v17@@ ) ; if ( @@v18@@ == Number ) { gen_exception ( Number ) ; } else { if ( @@v18@@ > Number ) { LABEL_62 : tcg_gen_exit_tb ( Number L ) ; goto LABEL_65 ; } if ( @@v18@@ != Number ) { if ( ! @@v18@@ ) { gen_goto_tb ( ( __int64 ) & @@v17@@ , Number , @@v17@@ ) ; goto LABEL_65 ; } if ( @@v18@@ == Number ) goto LABEL_65 ; goto LABEL_62 ; } gen_helper_wfi ( ) ; } LABEL_65 : if ( @@v19@@ ) { gen_set_label ( @@v20@@ ) ; gen_set_condexec ( ( __int64 ) & @@v17@@ ) ; gen_goto_tb ( ( __int64 ) & @@v17@@ , Number , @@v17@@ ) ; @@v19@@ = Number ; } LABEL_67 : gen_icount_end ( @@a2@@ , @@v10@@ ) ; * gen_opc_ptr = Number ; if ( ( loglevel & Number ) != Number ) { if ( logfile ) fwrite ( String , Number , Number , logfile ) ; if ( logfile ) { v4 = ( const char * ) lookup_symbol ( @@v12@@ ) ; fprintf ( logfile , String , v4 ) ; } target_disas ( logfile , @@v12@@ , @@v17@@ - @@v12@@ , * ( unsigned int * ) ( @@a1@@ + Number ) ) ; if ( logfile ) fputc ( Number , logfile ) ; } if ( @@a3@@ ) { v15 = ( __int64 ) ( gen_opc_ptr - ( _QWORD ) & gen_opc_buf ) >> Number ; for ( j = v8 + Number ; j <= v15 ; ++ j ) { v5 = j ; * ( ( _BYTE * ) & gen_opc_instr_start + v5 ) = Number ; } } else { * ( _WORD * ) ( @@a2@@ + Number ) = @@v17@@ - @@v12@@ ; * ( _DWORD * ) ( @@a2@@ + Number ) = @@v10@@ ; } return __readfsqword ( Number ) ^ @@v26@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "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": "v25", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v24", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}, {"n": "v23", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v22", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "v21", "t": {"T": 1, "n": "int", "s": 4}, "location": "s32"}, {"n": "v20", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "v19", "t": {"T": 1, "n": "int", "s": 4}, "location": "s40"}, {"n": "v18", "t": {"T": 1, "n": "int", "s": 4}, "location": "s44"}, {"n": "v17", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s48"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s72"}, {"n": "v26", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}, {"n": "v13", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s80"}, {"n": "v12", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s88"}, {"n": "v11", "t": {"T": 1, "n": "int", "s": 4}, "location": "s92"}, {"n": "v10", "t": {"T": 1, "n": "int", "s": 4}, "location": "s96"}]}