def bits_table_m() -> dict[int, int]:
    """The table of the maximum amount of information (bits) for the version M.

    Returns:
        dict[int, int]: Dictionary of the form {version: number of bits}
    """
    table = {
        1: 128, 2: 224, 3: 352, 4: 512, 5: 688, 6: 864, 7: 992, 8: 1232,
        9: 1456, 10: 1728, 11: 2032, 12: 2320, 13: 2672, 14: 2920, 15: 3320,
        16: 3624, 17: 4056, 18: 4504, 19: 5016, 20: 5352, 21: 5712, 22: 6256,
        23: 6880, 24: 7312, 25: 8000, 26: 8496, 27: 9024, 28: 9544, 29: 10136,
        30: 10984, 31: 11640, 32: 12328, 33: 13048, 34: 13800, 35: 14496,
        36: 15312, 37: 15936, 38: 16816, 39: 17728, 40: 18672
    }

    return table