{"name": "ide_sector_write_dma", "code": "__int64 __fastcall ide_sector_write_dma ( __int64 @@a1@@ ) { * ( _BYTE * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; return ide_dma_start ( @@a1@@ , ide_write_dma_cb ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]}
{"name": "ide_sector_write", "code": "__int64 __fastcall ide_sector_write ( __int64 @@a1@@ ) { __int64 @@result@@ ; int @@v2@@ ; unsigned __int64 @@v3@@ ; int @@v4@@ ; unsigned int @@v5@@ ; * ( _BYTE * ) ( @@a1@@ + Number ) = Number ; @@v3@@ = ide_get_sector ( @@a1@@ ) ; @@v5@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; if ( ( signed int ) @@v5@@ > * ( _DWORD * ) ( @@a1@@ + Number ) ) @@v5@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v2@@ = bdrv_write ( * ( _QWORD * ) ( @@a1@@ + Number ) , @@v3@@ , * ( _QWORD * ) ( @@a1@@ + Number ) , @@v5@@ ) ; if ( ! @@v2@@ || ( @@result@@ = ide_handle_rw_error ( ( __int64 * ) @@a1@@ , - @@v2@@ , Number ) , ! ( _DWORD ) @@result@@ ) ) { * ( _DWORD * ) ( @@a1@@ + Number ) -= @@v5@@ ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) ) { @@v4@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; if ( @@v4@@ > * ( _DWORD * ) ( @@a1@@ + Number ) ) @@v4@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; ide_transfer_start ( @@a1@@ , * ( _QWORD * ) ( @@a1@@ + Number ) , @@v4@@ << Number , ( __int64 ) ide_sector_write ) ; } else { ide_transfer_stop ( @@a1@@ ) ; } ide_set_sector ( @@a1@@ , @@v3@@ + ( int ) @@v5@@ ) ; @@result@@ = ide_set_irq ( * ( _QWORD * ) @@a1@@ ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v3", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s16"}, {"n": "v2", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v5", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}]} {"name": "ide_write_dma_cb", "code": "__int64 __fastcall ide_write_dma_cb ( __int64 @@a1@@ , int @@a2@@ ) { __int64 @@result@@ ; int @@v3@@ ; __int64 @@v4@@ ; signed __int64 @@v5@@ ; @@v4@@ = bmdma_active_if ( @@a1@@ ) ; if ( @@a2@@ >= Number || ( @@result@@ = ide_handle_rw_error ( ( __int64 * ) @@v4@@ , - @@a2@@ , Number ) , ! ( _DWORD ) @@result@@ ) ) { @@v3@@ = * ( int * ) ( @@v4@@ + Number ) >> Number ; @@v5@@ = ide_get_sector ( @@v4@@ ) ; if ( @@v3@@ > Number ) { dma_buf_commit ( @@v4@@ ) ; @@v5@@ += @@v3@@ ; ide_set_sector ( @@v4@@ , @@v5@@ ) ; * ( _DWORD * ) ( @@v4@@ + Number ) -= @@v3@@ ; } if ( ! * ( _DWORD * ) ( @@v4@@ + Number ) ) { * ( _BYTE * ) ( @@v4@@ + Number ) = Number ; ide_set_irq ( * ( _QWORD * ) @@v4@@ ) ; LABEL_7 : * ( _BYTE * ) ( @@a1@@ + Number ) &= Number ; * ( _BYTE * ) ( @@a1@@ + Number ) |= Number ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; * ( _BYTE * ) ( @@a1@@ + Number ) = Number ; @@result@@ = @@a1@@ ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; return @@result@@ ; } * ( _DWORD * ) ( @@v4@@ + Number ) = * ( _DWORD * ) ( @@v4@@ + Number ) << Number ; if ( ! dma_buf_prepare ( ( _DWORD * ) @@a1@@ ) ) goto LABEL_7 ; * ( _QWORD * ) ( @@a1@@ + Number ) = dma_bdrv_write ( * ( _QWORD * ) ( @@v4@@ + Number ) , @@v4@@ + Number , @@v5@@ , ide_write_dma_cb , @@a1@@ ) ; @@result@@ = ide_dma_submit_check ( @@v4@@ , ( __int64 ( __fastcall * ) ( __int64 , __int64 ) ) ide_write_dma_cb , @@a1@@ ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "v5", "t": {"T": 1, "n": "signed __int64", "s": 8}, "location": "s8"}]} {"name": "ide_ioport_write", "code": "__int64 __fastcall ide_ioport_write ( __int64 @@a1@@ , char @@a2@@ , int @@a3@@ ) { __int64 result ; unsigned int v4 ; unsigned int v5 ; int v6 ; char v7 ; int v8 ; char @@v10@@ ; __int64 @@v11@@ ; char @@v12@@ ; int v13 ; int k ; int l ; int i ; int j ; int m ; int n ; int ii ; int v21 ; @@v12@@ = Number ; if ( ( @@a2@@ & Number ) == Number || ( result = * ( _BYTE * ) ( idebus_active_if ( @@a1@@ ) + Number ) & Number , ! ( _DWORD ) result ) ) { result = @@a2@@ & Number ; switch ( @@a2@@ & Number ) { case Number : return result ; case Number : ide_clear_hob ( @@a1@@ ) ; * ( _BYTE * ) ( @@a1@@ + Number ) = * ( _BYTE * ) ( @@a1@@ + Number ) ; * ( _BYTE * ) ( @@a1@@ + Number ) = * ( _BYTE * ) ( @@a1@@ + Number ) ; * ( _BYTE * ) ( @@a1@@ + Number ) = @@a3@@ ; result = @@a1@@ ; * ( _BYTE * ) ( @@a1@@ + Number ) = @@a3@@ ; return result ; case Number : ide_clear_hob ( @@a1@@ ) ; * ( _BYTE * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _BYTE * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a3@@ ; result = @@a1@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a3@@ ; return result ; case Number : ide_clear_hob ( @@a1@@ ) ; * ( _BYTE * ) ( @@a1@@ + Number ) = * ( _BYTE * ) ( @@a1@@ + Number ) ; * ( _BYTE * ) ( @@a1@@ + Number ) = * ( _BYTE * ) ( @@a1@@ + Number ) ; * ( _BYTE * ) ( @@a1@@ + Number ) = @@a3@@ ; result = @@a1@@ ; * ( _BYTE * ) ( @@a1@@ + Number ) = @@a3@@ ; return result ; case Number : ide_clear_hob ( @@a1@@ ) ; * ( _BYTE * ) ( @@a1@@ + Number ) = * ( _BYTE * ) ( @@a1@@ + Number ) ; * ( _BYTE * ) ( @@a1@@ + Number ) = * ( _BYTE * ) ( @@a1@@ + Number ) ; * ( _BYTE * ) ( @@a1@@ + Number ) = @@a3@@ ; result = @@a1@@ ; * ( _BYTE * ) ( @@a1@@ + Number ) = @@a3@@ ; return result ; case Number : ide_clear_hob ( @@a1@@ ) ; * ( _BYTE * ) ( @@a1@@ + Number ) = * ( _BYTE * ) ( @@a1@@ + Number ) ; * ( _BYTE * ) ( @@a1@@ + Number ) = * ( _BYTE * ) ( @@a1@@ + Number ) ; * ( _BYTE * ) ( @@a1@@ + Number ) = @@a3@@ ; result = @@a1@@ ; * ( _BYTE * ) ( @@a1@@ + Number ) = @@a3@@ ; return result ; case Number : * ( _BYTE * ) ( @@a1@@ + Number ) = @@a3@@ & Number | Number ; * ( _BYTE * ) ( @@a1@@ + Number ) = @@a3@@ | Number ; result = @@a1@@ ; * ( _BYTE * ) ( @@a1@@ + Number ) = ( @@a3@@ & Number ) != Number ; return result ; default : @@v11@@ = idebus_active_if ( @@a1@@ ) ; if ( @@v11@@ != @@a1@@ + Number ) { result = * ( _QWORD * ) ( @@v11@@ + Number ) ; if ( ! result ) return result ; } result = * ( _BYTE * ) ( @@v11@@ + Number ) & Number ; if ( ( * ( _BYTE * ) ( @@v11@@ + Number ) & Number ) != Number && @@a3@@ != Number ) return result ; break ; } switch ( @@a3@@ ) { case Number : if ( ! * ( _DWORD * ) ( @@v11@@ + Number ) ) goto LABEL_185 ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; case Number : if ( ! * ( _DWORD * ) ( @@v11@@ + Number ) ) goto LABEL_185 ; ide_set_signature ( @@v11@@ ) ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; result = @@v11@@ ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; return result ; case Number : case Number : goto LABEL_109 ; case Number : case Number : goto LABEL_35 ; case Number : @@v12@@ = Number ; LABEL_35 : if ( ! * ( _QWORD * ) ( @@v11@@ + Number ) ) goto LABEL_185 ; ide_cmd_lba48_transform ( @@v11@@ , @@v12@@ ) ; * ( _DWORD * ) ( @@v11@@ + Number ) = Number ; return ide_sector_read ( @@v11@@ ) ; case Number : @@v12@@ = Number ; goto LABEL_48 ; case Number : @@v12@@ = Number ; goto LABEL_54 ; case Number : @@v12@@ = Number ; goto LABEL_40 ; case Number : case Number : case Number : case Number : goto LABEL_38 ; case Number : @@v12@@ = Number ; LABEL_38 : ide_cmd_lba48_transform ( @@v11@@ , @@v12@@ ) ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; * ( _DWORD * ) ( @@v11@@ + Number ) = Number ; ide_transfer_start ( @@v11@@ , * ( _QWORD * ) ( @@v11@@ + Number ) , Number , ( __int64 ) ide_sector_write ) ; result = @@v11@@ ; * ( _DWORD * ) ( @@v11@@ + Number ) = Number ; return result ; case Number : @@v12@@ = Number ; goto LABEL_51 ; case Number : @@v12@@ = Number ; goto LABEL_43 ; case Number : case Number : goto LABEL_33 ; case Number : @@v12@@ = Number ; LABEL_33 : ide_cmd_lba48_transform ( @@v11@@ , @@v12@@ ) ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; case Number : if ( ! * ( _DWORD * ) ( @@v11@@ + Number ) ) goto LABEL_141 ; goto LABEL_185 ; case Number : if ( ! * ( _DWORD * ) ( @@v11@@ + Number ) ) goto LABEL_185 ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; memset ( * ( void * * ) ( @@v11@@ + Number ) , Number , Number ) ; * * ( _BYTE * * ) ( @@v11@@ + Number ) = * ( _BYTE * ) ( @@v11@@ + Number ) ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = * ( _BYTE * ) ( @@v11@@ + Number ) ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = * ( _BYTE * ) ( @@v11@@ + Number ) ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = * ( _BYTE * ) ( @@v11@@ + Number ) ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = ( unsigned int ) ide_get_sector ( @@v11@@ ) >> Number ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = ( unsigned __int16 ) ide_get_sector ( @@v11@@ ) >> Number ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = ide_get_sector ( @@v11@@ ) ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = Number ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = Number ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = Number ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = Number ; ide_transfer_start ( @@v11@@ , * ( _QWORD * ) ( @@v11@@ + Number ) , Number , ( __int64 ) ide_transfer_stop ) ; return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; case Number : ide_set_signature ( @@v11@@ ) ; if ( * ( _DWORD * ) ( @@v11@@ + Number ) ) * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; else * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; case Number : case Number : * ( _DWORD * ) ( @@v11@@ + Number ) = Number ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; case Number : if ( ! * ( _DWORD * ) ( @@v11@@ + Number ) || ( * ( _BYTE * ) ( @@v11@@ + Number ) & Number ) != Number ) goto LABEL_185 ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; * ( _DWORD * ) ( @@v11@@ + Number ) = * ( _BYTE * ) ( @@v11@@ + Number ) & Number ; * ( _DWORD * ) ( @@v11@@ + Number ) = Number ; return ide_transfer_start ( @@v11@@ , * ( _QWORD * ) ( @@v11@@ + Number ) , Number , ( __int64 ) ide_atapi_cmd ) ; case Number : if ( ! * ( _DWORD * ) ( @@v11@@ + Number ) ) goto LABEL_91 ; ide_atapi_identify ( @@v11@@ ) ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; ide_transfer_start ( @@v11@@ , * ( _QWORD * ) ( @@v11@@ + Number ) , Number , ( __int64 ) ide_transfer_stop ) ; return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; case Number : if ( * ( _DWORD * ) ( @@v11@@ + Number ) || * ( _BYTE * ) ( @@v11@@ + Number ) != Number || * ( _BYTE * ) ( @@v11@@ + Number ) != Number || ! * ( _BYTE * ) ( @@v11@@ + Number ) && * ( _BYTE * ) ( @@v11@@ + Number ) != Number ) { goto LABEL_185 ; } switch ( * ( _BYTE * ) ( @@v11@@ + Number ) ) { case Number : memset ( * ( void * * ) ( @@v11@@ + Number ) , Number , Number ) ; * * ( _BYTE * * ) ( @@v11@@ + Number ) = Number ; for ( i = Number ; i <= Number && * ( ( _DWORD * ) & smart_attributes + Number * i ) ; ++ i ) { * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number * i + Number ) = * ( ( _DWORD * ) & smart_attributes + Number * i ) ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number * i + Number ) = * ( ( _DWORD * ) & unk_7164 + Number * i ) ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number * i + Number ) = * ( ( _DWORD * ) & unk_7168 + Number * i ) ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number * i + Number ) = * ( ( _DWORD * ) & unk_716C + Number * i ) ; } if ( * ( _BYTE * ) ( @@v11@@ + Number ) ) v7 = Number ; else v7 = Number ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = v7 ; if ( * ( _BYTE * ) ( @@v11@@ + Number ) ) * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = * ( _BYTE * ) ( Number * ( * ( unsigned __int8 * ) ( @@v11@@ + Number ) - Number ) + Number + * ( _QWORD * ) ( @@v11@@ + Number ) ) ; else * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = Number ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = Number ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = Number ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = Number ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = Number ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = Number ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = Number ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = Number ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = Number ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = Number ; for ( j = Number ; j <= Number ; ++ j ) * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) += * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + j ) ; goto LABEL_149 ; case Number : memset ( * ( void * * ) ( @@v11@@ + Number ) , Number , Number ) ; * * ( _BYTE * * ) ( @@v11@@ + Number ) = Number ; for ( k = Number ; k <= Number && * ( ( _DWORD * ) & smart_attributes + Number * k ) ; ++ k ) { * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number * k + Number ) = * ( ( _DWORD * ) & smart_attributes + Number * k ) ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number * k + Number ) = dword_7170 [ Number * k ] ; } for ( l = Number ; l <= Number ; ++ l ) * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) += * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + l ) ; LABEL_149 : * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = - * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; ide_transfer_start ( @@v11@@ , * ( _QWORD * ) ( @@v11@@ + Number ) , Number , ( __int64 ) ide_transfer_stop ) ; return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; case Number : if ( * ( _BYTE * ) ( @@v11@@ + Number ) ) { if ( * ( unsigned __int8 * ) ( @@v11@@ + Number ) != Number ) goto LABEL_185 ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; } else { * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; } goto LABEL_141 ; case Number : if ( * ( unsigned __int8 * ) ( @@v11@@ + Number ) > Number ) goto LABEL_185 ; if ( ++ * ( _BYTE * ) ( @@v11@@ + Number ) > Number ) * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; v21 = Number * ( * ( unsigned __int8 * ) ( @@v11@@ + Number ) - Number ) + Number ; * ( _BYTE * ) ( v21 + * ( _QWORD * ) ( @@v11@@ + Number ) ) = * ( _BYTE * ) ( @@v11@@ + Number ) ; * ( _BYTE * ) ( v21 + Number L + * ( _QWORD * ) ( @@v11@@ + Number ) ) = Number ; * ( _BYTE * ) ( v21 + Number L + * ( _QWORD * ) ( @@v11@@ + Number ) ) = Number ; * ( _BYTE * ) ( v21 + Number L + * ( _QWORD * ) ( @@v11@@ + Number ) ) = Number ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; case Number : v8 = * ( unsigned __int8 * ) ( @@v11@@ + Number ) ; if ( v8 == Number ) { memset ( * ( void * * ) ( @@v11@@ + Number ) , Number , Number ) ; * * ( _BYTE * * ) ( @@v11@@ + Number ) = Number ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = Number ; * ( _WORD * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = * ( _DWORD * ) ( @@v11@@ + Number ) ; for ( m = Number ; m <= Number ; ++ m ) * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) += * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + m ) ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = - * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) ; } else { if ( v8 != Number ) goto LABEL_185 ; memset ( * ( void * * ) ( @@v11@@ + Number ) , Number , Number ) ; * * ( _BYTE * * ) ( @@v11@@ + Number ) = Number ; if ( * ( _BYTE * ) ( @@v11@@ + Number ) ) { * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = * ( _BYTE * ) ( @@v11@@ + Number ) ; for ( n = Number ; n <= Number ; ++ n ) * ( _BYTE * ) ( n + * ( _QWORD * ) ( @@v11@@ + Number ) ) = * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + n ) ; } else { * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = Number ; } for ( ii = Number ; ii <= Number ; ++ ii ) * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) += * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + ii ) ; * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) = - * ( _BYTE * ) ( * ( _QWORD * ) ( @@v11@@ + Number ) + Number L ) ; } * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; ide_transfer_start ( @@v11@@ , * ( _QWORD * ) ( @@v11@@ + Number ) , Number , ( __int64 ) ide_transfer_stop ) ; result = ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; break ; case Number : * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; case Number : * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; case Number : if ( * ( _DWORD * ) ( @@v11@@ + Number ) ) { * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; } else { * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; } goto LABEL_141 ; default : goto LABEL_185 ; } return result ; case Number : if ( ! * ( _DWORD * ) ( @@v11@@ + Number ) ) goto LABEL_185 ; v6 = * ( unsigned __int8 * ) ( @@v11@@ + Number ) ; if ( v6 == Number ) { ide_cfata_metadata_write ( @@v11@@ ) ; } else { if ( * ( unsigned __int8 * ) ( @@v11@@ + Number ) > Number ) goto LABEL_185 ; if ( v6 == Number ) { ide_cfata_metadata_inquiry ( @@v11@@ ) ; } else { if ( v6 != Number ) goto LABEL_185 ; ide_cfata_metadata_read ( @@v11@@ ) ; } } ide_transfer_start ( @@v11@@ , * ( _QWORD * ) ( @@v11@@ + Number ) , Number , ( __int64 ) ide_transfer_stop ) ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; case Number : case Number : if ( ! * ( _DWORD * ) ( @@v11@@ + Number ) ) goto LABEL_185 ; if ( @@a3@@ == Number ) * ( _DWORD * ) ( @@v11@@ + Number ) = Number ; if ( @@a3@@ == Number ) * ( _DWORD * ) ( @@v11@@ + Number ) = Number ; LABEL_109 : * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; case Number : LABEL_40 : if ( ! * ( _DWORD * ) ( @@v11@@ + Number ) ) goto LABEL_185 ; ide_cmd_lba48_transform ( @@v11@@ , @@v12@@ ) ; * ( _DWORD * ) ( @@v11@@ + Number ) = * ( _DWORD * ) ( @@v11@@ + Number ) ; return ide_sector_read ( @@v11@@ ) ; case Number : case Number : LABEL_43 : if ( ! * ( _DWORD * ) ( @@v11@@ + Number ) ) goto LABEL_185 ; ide_cmd_lba48_transform ( @@v11@@ , @@v12@@ ) ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; * ( _DWORD * ) ( @@v11@@ + Number ) = * ( _DWORD * ) ( @@v11@@ + Number ) ; v13 = * ( _DWORD * ) ( @@v11@@ + Number ) ; if ( v13 > * ( _DWORD * ) ( @@v11@@ + Number ) ) v13 = * ( _DWORD * ) ( @@v11@@ + Number ) ; ide_transfer_start ( @@v11@@ , * ( _QWORD * ) ( @@v11@@ + Number ) , v13 << Number , ( __int64 ) ide_sector_write ) ; result = @@v11@@ ; * ( _DWORD * ) ( @@v11@@ + Number ) = Number ; return result ; case Number : if ( * ( _DWORD * ) ( @@v11@@ + Number ) && ! * ( _DWORD * ) ( @@v11@@ + Number ) ) { * ( _DWORD * ) ( @@v11@@ + Number ) = Number ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; } if ( ( unsigned __int8 ) * ( _DWORD * ) ( @@v11@@ + Number ) && ( ( unsigned __int8 ) * ( _DWORD * ) ( @@v11@@ + Number ) > Number || ( * ( _DWORD * ) ( @@v11@@ + Number ) & ( * ( _DWORD * ) ( @@v11@@ + Number ) - Number ) ) != Number ) ) { goto LABEL_91 ; } * ( _DWORD * ) ( @@v11@@ + Number ) = ( unsigned __int8 ) * ( _DWORD * ) ( @@v11@@ + Number ) ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; case Number : case Number : LABEL_48 : if ( ! * ( _QWORD * ) ( @@v11@@ + Number ) ) goto LABEL_185 ; ide_cmd_lba48_transform ( @@v11@@ , @@v12@@ ) ; return ide_sector_read_dma ( @@v11@@ ) ; case Number : case Number : LABEL_51 : if ( ! * ( _QWORD * ) ( @@v11@@ + Number ) ) goto LABEL_185 ; ide_cmd_lba48_transform ( @@v11@@ , @@v12@@ ) ; ide_sector_write_dma ( @@v11@@ ) ; result = @@v11@@ ; * ( _DWORD * ) ( @@v11@@ + Number ) = Number ; return result ; case Number : case Number : if ( * ( _QWORD * ) ( @@v11@@ + Number ) ) result = bdrv_aio_flush ( * ( _QWORD * ) ( @@v11@@ + Number ) , ide_flush_cb , @@v11@@ ) ; else result = ide_flush_cb ( @@v11@@ ) ; return result ; case Number : if ( ! * ( _QWORD * ) ( @@v11@@ + Number ) || * ( _DWORD * ) ( @@v11@@ + Number ) ) { if ( * ( _DWORD * ) ( @@v11@@ + Number ) ) ide_set_signature ( @@v11@@ ) ; LABEL_91 : ide_abort_command ( @@v11@@ ) ; } else { if ( * ( _DWORD * ) ( @@v11@@ + Number ) ) ide_cfata_identify ( @@v11@@ ) ; else ide_identify ( @@v11@@ ) ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; ide_transfer_start ( @@v11@@ , * ( _QWORD * ) ( @@v11@@ + Number ) , Number , ( __int64 ) ide_transfer_stop ) ; } return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; case Number : if ( ! * ( _QWORD * ) ( @@v11@@ + Number ) ) goto LABEL_185 ; v4 = * ( unsigned __int8 * ) ( @@v11@@ + Number ) ; if ( v4 > Number ) goto LABEL_185 ; if ( * ( unsigned __int8 * ) ( @@v11@@ + Number ) < Number ) { if ( * ( unsigned __int8 * ) ( @@v11@@ + Number ) <= Number ) { if ( * ( unsigned __int8 * ) ( @@v11@@ + Number ) >= Number ) { if ( ( ( Number L << ( ( unsigned __int8 ) v4 - Number ) ) & Number ) != Number ) goto LABEL_141 ; } else { if ( v4 == Number ) goto LABEL_141 ; if ( * ( unsigned __int8 * ) ( @@v11@@ + Number ) <= Number ) { if ( v4 == Number ) goto LABEL_141 ; if ( * ( unsigned __int8 * ) ( @@v11@@ + Number ) <= Number ) { if ( v4 == Number ) goto LABEL_141 ; if ( v4 != Number ) goto LABEL_185 ; @@v10@@ = * ( _DWORD * ) ( @@v11@@ + Number ) & Number ; v5 = * ( _DWORD * ) ( @@v11@@ + Number ) >> Number ; if ( v5 == Number ) { put_le16 ( ( _WORD * ) ( @@v11@@ + Number ) , Number ) ; put_le16 ( ( _WORD * ) ( @@v11@@ + Number ) , Number ) ; put_le16 ( ( _WORD * ) ( @@v11@@ + Number ) , ( Number << ( @@v10@@ + Number ) ) | Number ) ; goto LABEL_141 ; } if ( v5 <= Number ) { if ( v5 == Number ) { put_le16 ( ( _WORD * ) ( @@v11@@ + Number ) , Number ) ; put_le16 ( ( _WORD * ) ( @@v11@@ + Number ) , ( Number << ( @@v10@@ + Number ) ) | Number ) ; put_le16 ( ( _WORD * ) ( @@v11@@ + Number ) , Number ) ; goto LABEL_141 ; } if ( v5 <= Number ) { if ( v5 <= Number ) { put_le16 ( ( _WORD * ) ( @@v11@@ + Number ) , Number ) ; put_le16 ( ( _WORD * ) ( @@v11@@ + Number ) , Number ) ; put_le16 ( ( _WORD * ) ( @@v11@@ + Number ) , Number ) ; } else { if ( v5 != Number ) goto LABEL_185 ; put_le16 ( ( _WORD * ) ( @@v11@@ + Number ) , ( Number << ( @@v10@@ + Number ) ) | Number ) ; put_le16 ( ( _WORD * ) ( @@v11@@ + Number ) , Number ) ; put_le16 ( ( _WORD * ) ( @@v11@@ + Number ) , Number ) ; } goto LABEL_141 ; } } } } } } LABEL_185 : ide_abort_command ( @@v11@@ ) ; return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; } if ( ( ( Number L << ( ( unsigned __int8 ) v4 + Number ) ) & Number ) == Number ) goto LABEL_185 ; LABEL_141 : * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; case Number : if ( ! * ( _DWORD * ) ( @@v11@@ + Number ) || * ( _BYTE * ) ( @@v11@@ + Number ) != Number ) goto LABEL_185 ; * ( _DWORD * ) ( @@v11@@ + Number ) = Number ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; case Number : LABEL_54 : ide_cmd_lba48_transform ( @@v11@@ , @@v12@@ ) ; ide_set_sector ( @@v11@@ , * ( _QWORD * ) ( @@v11@@ + Number ) - Number L ) ; * ( _BYTE * ) ( @@v11@@ + Number ) = Number ; return ide_set_irq ( * ( _QWORD * ) @@v11@@ ) ; default : goto LABEL_185 ; } } return result ; }", "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": "char", "s": 1}, "location": "r64"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v10", "t": {"T": 1, "n": "char", "s": 1}, "location": "s25"}, {"n": "v12", "t": {"T": 1, "n": "char", "s": 1}, "location": "s8"}]} {"name": "ide_dma_start", "code": "__int64 __fastcall ide_dma_start ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; __int64 @@v3@@ ; @@result@@ = * ( _QWORD * ) ( * ( _QWORD * ) @@a1@@ + Number L ) ; @@v3@@ = @@result@@ ; if ( @@result@@ ) { * ( _BYTE * ) ( @@result@@ + Number ) = * ( _BYTE * ) ( @@a1@@ + Number ) ; * ( _QWORD * ) ( @@result@@ + Number ) = @@a2@@ ; * ( _DWORD * ) ( @@result@@ + Number ) = Number ; * ( _DWORD * ) ( @@result@@ + Number ) = Number ; * ( _DWORD * ) ( @@result@@ + Number ) = Number ; * ( _QWORD * ) ( @@result@@ + Number ) = ide_get_sector ( @@a1@@ ) ; * ( _DWORD * ) ( @@v3@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@result@@ = * ( _BYTE * ) ( @@v3@@ + Number ) & Number ; if ( ( * ( _BYTE * ) ( @@v3@@ + Number ) & Number ) != Number ) @@result@@ = ( * ( __int64 ( __fastcall * * ) ( __int64 , _QWORD ) ) ( @@v3@@ + Number ) ) ( @@v3@@ , Number L ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}