public int METHOD_1 ( int x ) { int i = 0 ; int j = x ; while ( i < j ) { int VAR_1 = i + ( ( j - i ) / INT_1 ) ; if ( ( y ) == ( x / VAR_1 ) ) { return VAR_1 ; } else if ( ( y ) > x ) { j = VAR_1 - 1 ; } else { i = VAR_1 + 1 ; } } return i ; }

public int METHOD_1 ( int x ) { if ( x == 0 ) { return 0 ; } int i = 1 ; int j = x ; while ( i < j ) { int VAR_1 = i + ( ( j - i ) / INT_1 ) ; if ( VAR_1 >= ( x / VAR_1 ) ) { j = VAR_1 ; } else { i = VAR_1 + 1 ; } } return i == ( x / i ) ? i : i - 1 ; }
