def METHOD_NAME(kernel: int) -> str:
    """
    Convert major XNU version to OS version
    Parameters:
        kernel (int): Major XNU version
    Returns:
        str: OS version
    """
    if kernel >= os_data.big_sur:
        return str((kernel - 9))
    else:
        return str((f"10.{kernel - 4}"))