METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . address = ( org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . device . METHOD_1 ( ) ) - ( org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 ) ; org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . device . write ( org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . address , org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_5 ) ; byte [ ] result = new byte [ ( org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 ) * ( org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . device . METHOD_2 ( ) ) ] ; org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . device . read ( org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . address , result ) ; for ( int i = 0 ; i < ( org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 ) ; i ++ ) { "<AssertPlaceHolder>" ; } } read ( long , byte [ ] ) { if ( ( ( data . length ) OP_0 ( METHOD_2 ( ) ) ) != 0 ) { throw new java . lang . IllegalArgumentException ( STRING_0 ) ; } final long IDENT_6 = ( data . length ) / ( METHOD_2 ( ) ) ; final long IDENT_7 = address - ( IDENT_6 << ( org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_8 . IDENT_9 ) ) ; final long IDENT_10 = address + ( IDENT_6 << ( org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_8 . IDENT_9 ) ) ; byte [ ] IDENT_11 = ( ( byte [ ] ) ( buffer . get ( address ) ) ) ; if ( ( IDENT_11 == null ) || ( ( IDENT_11 . length ) != ( data . length ) ) ) { if ( ( ( IDENT_12 ) == ( address - IDENT_6 ) ) && ( IDENT_10 < ( METHOD_1 ( ) ) ) ) { IDENT_11 = new byte [ ( ( data . length ) << ( org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_8 . IDENT_9 ) ) + ( data . length ) ] ; device . read ( address , IDENT_11 ) ; java . lang . System . METHOD_3 ( IDENT_11 , 0 , data , 0 , data . length ) ; byte [ ] IDENT_13 ; for ( int i = 1 ; i <= ( 1 << ( org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_8 . IDENT_9 ) ) ; i ++ ) { IDENT_13 = new byte [ data . length ] ; java . lang . System . METHOD_3 ( IDENT_11 , ( i * ( data . length ) ) , IDENT_13 , 0 , data . length ) ; buffer . put ( ( address + ( i * IDENT_6 ) ) , IDENT_13 ) ; } } else if ( ( ( IDENT_12 ) == ( address + IDENT_6 ) ) && ( IDENT_7 >= 0 ) ) { IDENT_11 = new byte [ ( ( data . length ) << ( org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_8 . IDENT_9 ) ) + ( data . length ) ] ; device . read ( IDENT_7 , IDENT_11 ) ; java . lang . System . METHOD_3 ( IDENT_11 , ( ( IDENT_11 . length ) - ( data . length ) ) , data , 0 , data . length ) ; byte [ ] IDENT_13 ; for ( int i = 0 ; i < ( 1 << ( org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_8 . IDENT_9 ) ) ; i ++ ) { IDENT_13 = new byte [ data . length ] ; java . lang . System . METHOD_3 ( IDENT_11 , ( i * ( data . length ) ) , IDENT_13 , 0 , data . length ) ; buffer . put ( ( IDENT_7 + ( i * IDENT_6 ) ) , IDENT_13 ) ; } } else { device . read ( address , data ) ; } } else { java . lang . System . METHOD_3 ( IDENT_11 , 0 , data , 0 , data . length ) ; } IDENT_12 = address ; }
org . junit . Assert . assertEquals ( result [ i ] , org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_5 [ i ] )