static int check_write_unsafe(BlockDriverState *bs, int64_t sector_num,

                              const uint8_t *buf, int nb_sectors)

{

    /* assume that if the user specifies the format explicitly, then assume

       that they will continue to do so and provide no safety net */

    if (!bs->probed) {

        return 0;

    }



    if (sector_num == 0 && nb_sectors > 0) {

        return check_for_block_signature(bs, buf);

    }



    return 0;

}

static int check_write_unsafe(BlockDriverState *bs, int64_t sector_num,

                              const uint8_t *buf, int nb_sectors)

{

    



    if (!bs->probed) {

        return 0;

    }



    if (sector_num == 0 && nb_sectors > 0) {

        return check_for_block_signature(bs, buf);

    }



    return 0;

}

    return 0; static int check_write_unsafe(BlockDriverState *bs, int64_t sector_num,                               const uint8_t *buf, int nb_sectors)     if (!bs->probed) {         return 0;     if (sector_num == 0 && nb_sectors > 0) {         return check_for_block_signature(bs, buf);     return 0;
static int FUNC_0(BlockDriverState *VAR_0, int64_t VAR_1,

                              const uint8_t *VAR_2, int VAR_3)

{

    



    if (!VAR_0->probed) {

        return 0;

    }



    if (VAR_1 == 0 && VAR_3 > 0) {

        return check_for_block_signature(VAR_0, VAR_2);

    }



    return 0;

}

static int FUNC_0(BlockDriverState *VAR_0, int64_t VAR_1,
const uint8_t *VAR_2, int VAR_3)
{ if (!VAR_0->probed) { return 0; } if (VAR_1 == 0 && VAR_3 > 0) { return check_for_block_signature(VAR_0, VAR_2); } return 0; }