def fixed_point_integer_part(fixed_point_val: int, precision: int) -> int:
    """
    Extracts the integer part from the given fixed point value.
    """
    if (precision >= 0):
        return fixed_point_val >> precision

    return fixed_point_val << precision