static int ram_decompress_open(RamDecompressState *s, QEMUFile *f)

{

    int ret;

    memset(s, 0, sizeof(*s));

    s->f = f;

    ret = inflateInit(&s->zstream);

    if (ret != Z_OK)

        return -1;

    return 0;

}

static int ram_decompress_open(RamDecompressState *s, QEMUFile *f)

{

    int ret;

    memset(s, 0, sizeof(*s));

    s->f = f;

    ret = inflateInit(&s->zstream);

    if (ret != Z_OK)

        return -1;

    return 0;

}

static int ram_decompress_open(RamDecompressState *s, QEMUFile *f)     int ret;     memset(s, 0, sizeof(*s));     s->f = f;     ret = inflateInit(&s->zstream);     if (ret != Z_OK)         return -1;     return 0;     return 0;     return 0;
static int FUNC_0(RamDecompressState *VAR_0, QEMUFile *VAR_1)

{

    int VAR_2;

    memset(VAR_0, 0, sizeof(*VAR_0));

    VAR_0->VAR_1 = VAR_1;

    VAR_2 = inflateInit(&VAR_0->zstream);

    if (VAR_2 != Z_OK)

        return -1;

    return 0;

}

static int FUNC_0(RamDecompressState *VAR_0, QEMUFile *VAR_1)
{ int VAR_2; memset(VAR_0, 0, sizeof(*VAR_0)); VAR_0->VAR_1 = VAR_1; VAR_2 = inflateInit(&VAR_0->zstream); if (VAR_2 != Z_OK)
return -1; return 0; }