public static int METHOD_1 ( int index , TYPE_1 VAR_1 ) { double VAR_2 = ( java.lang.Double . METHOD_2 ( index ) ) / ( java.lang.Double . METHOD_2 ( VAR_1 . size ( ( - 1 ) ) ) ) ; int VAR_3 = ( ( int ) ( TYPE_2 . METHOD_3 ( VAR_2 ) ) ) ; int VAR_4 = VAR_1 . METHOD_4 ( ( - 1 ) ) ; if ( VAR_3 >= VAR_4 ) return VAR_4 - 1 ; return VAR_3 ; }

public static int METHOD_1 ( int index , TYPE_1 VAR_1 ) { double VAR_2 = ( ( double ) ( index ) ) / ( VAR_1 . size ( ( - 1 ) ) ) ; int VAR_3 = ( ( int ) ( TYPE_2 . METHOD_3 ( VAR_2 ) ) ) ; int VAR_4 = VAR_1 . METHOD_4 ( ( - 1 ) ) ; if ( VAR_3 >= VAR_4 ) return VAR_4 - 1 ; return VAR_3 ; }
