static int qemu_peek_byte(QEMUFile *f)

{

    if (f->is_write) {

        abort();

    }



    if (f->buf_index >= f->buf_size) {

        qemu_fill_buffer(f);

        if (f->buf_index >= f->buf_size) {

            return 0;

        }

    }

    return f->buf[f->buf_index];

}

static int qemu_peek_byte(QEMUFile *f)

{

    if (f->is_write) {

        abort();

    }



    if (f->buf_index >= f->buf_size) {

        qemu_fill_buffer(f);

        if (f->buf_index >= f->buf_size) {

            return 0;

        }

    }

    return f->buf[f->buf_index];

}

static int qemu_peek_byte(QEMUFile *f)     if (f->buf_index >= f->buf_size) {         if (f->buf_index >= f->buf_size) {     return f->buf[f->buf_index];
static int FUNC_0(QEMUFile *VAR_0)

{

    if (VAR_0->is_write) {

        abort();

    }



    if (VAR_0->buf_index >= VAR_0->buf_size) {

        qemu_fill_buffer(VAR_0);

        if (VAR_0->buf_index >= VAR_0->buf_size) {

            return 0;

        }

    }

    return VAR_0->buf[VAR_0->buf_index];

}

static int FUNC_0(QEMUFile *VAR_0)
{ if (VAR_0->is_write) { abort(); } if (VAR_0->buf_index >= VAR_0->buf_size) { qemu_fill_buffer(VAR_0); if (VAR_0->buf_index >= VAR_0->buf_size) { return 0; } } return VAR_0->buf[VAR_0->buf_index]; }