code: def decompress_message(compressed_data):
      
      try:
          cms_content = cms.ContentInfo.load(compressed_data)
          if cms_content['content_type'].native == 'compressed_data':
              return cms_content['content'].decompressed
          else:
              raise DecompressionError('Compressed data not found in ASN.1 ')
  
      except Exception as e:
          raise DecompressionError(
              'Decompression failed with cause: {}'.format(e))
docs: Function parses an ASN.1 compressed message and extracts/decompresses 
      the original message.
       
      :param compressed_data: A CMS ASN.1 byte string containing the compressed 
      data.
  
      :return: A byte string containing the decompressed original message.