private int METHOD_1 ( int offset ) { while ( ( ( offset < ( ( VAR_1 ) - 1 ) ) && ( ( METHOD_2 ( offset ) ) != CHAR_1 ) ) && ( ( METHOD_2 ( ( offset + 1 ) ) ) != CHAR_2 ) ) offset ++ ; return offset + INT_1 ; }

private int METHOD_1 ( int offset ) { while ( ( offset < ( ( VAR_1 ) - 1 ) ) && ( ! ( ( ( METHOD_2 ( offset ) ) == CHAR_1 ) && ( ( METHOD_2 ( ( offset + 1 ) ) ) == CHAR_2 ) ) ) ) offset ++ ; return offset + INT_1 ; }
