def correction_byte_table_m() -> dict[int, int]:
    """Table of the number of correction bytes per block for the correction
    level M.

    Returns:
        dict[int, int]: Dictionary of the form {version: number of correction
        bytes}
    """
    table = {
        1: 10, 2: 16, 3: 26, 4: 18, 5: 24, 6: 16, 7: 18, 8: 22, 9: 22, 10: 26,
        11: 30, 12: 22, 13: 22, 14: 24, 15: 24, 16: 28, 17: 28, 18: 26, 19: 26,
        20: 26, 21: 26, 22: 28, 23: 28, 24: 28, 25: 28, 26: 28, 27: 28, 28: 28,
        29: 28, 30: 28, 31: 28, 32: 28, 33: 28, 34: 28, 35: 28, 36: 28, 37: 28,
        38: 28, 39: 28, 40: 28
    }

    return table