static int parallels_probe(const uint8_t *buf, int buf_size, const char *filename)

{

    const ParallelsHeader *ph = (const void *)buf;



    if (buf_size < sizeof(ParallelsHeader))

        return 0;



    if ((!memcmp(ph->magic, HEADER_MAGIC, 16) ||

        !memcmp(ph->magic, HEADER_MAGIC2, 16)) &&

        (le32_to_cpu(ph->version) == HEADER_VERSION))

        return 100;



    return 0;

}

static int parallels_probe(const uint8_t *buf, int buf_size, const char *filename)

{

    const ParallelsHeader *ph = (const void *)buf;



    if (buf_size < sizeof(ParallelsHeader))

        return 0;



    if ((!memcmp(ph->magic, HEADER_MAGIC, 16) ||

        !memcmp(ph->magic, HEADER_MAGIC2, 16)) &&

        (le32_to_cpu(ph->version) == HEADER_VERSION))

        return 100;



    return 0;

}

static int FUNC_0(const uint8_t *VAR_0, int VAR_1, const char *VAR_2)

{

    const ParallelsHeader *VAR_3 = (const void *)VAR_0;



    if (VAR_1 < sizeof(ParallelsHeader))

        return 0;



    if ((!memcmp(VAR_3->magic, HEADER_MAGIC, 16) ||

        !memcmp(VAR_3->magic, HEADER_MAGIC2, 16)) &&

        (le32_to_cpu(VAR_3->version) == HEADER_VERSION))

        return 100;



    return 0;

}

static int FUNC_0(const uint8_t *VAR_0, int VAR_1, const char *VAR_2)
{ const ParallelsHeader *VAR_3 = (const void *)VAR_0; if (VAR_1 < sizeof(ParallelsHeader))
return 0; if ((!memcmp(VAR_3->magic, HEADER_MAGIC, 16) ||
!memcmp(VAR_3->magic, HEADER_MAGIC2, 16)) &&
(le32_to_cpu(VAR_3->version) == HEADER_VERSION))
return 100; return 0; }