import zlib


def decode_gzip(str_compressed):
    """
    Decode a hex string with gz decompression

    :type str_compressed: hex string gz compressed
    :return: gz decompressed string
    """
    decoded = zlib.decompress(bytearray.fromhex(str_compressed), 47)
    return decoded