static int ds1338_recv(I2CSlave *i2c)

{

    DS1338State *s = FROM_I2C_SLAVE(DS1338State, i2c);

    uint8_t res;



    res  = s->nvram[s->ptr];

    s->ptr = (s->ptr + 1) & 0xff;

    return res;

}

static int ds1338_recv(I2CSlave *i2c)

{

    DS1338State *s = FROM_I2C_SLAVE(DS1338State, i2c);

    uint8_t res;



    res  = s->nvram[s->ptr];

    s->ptr = (s->ptr + 1) & 0xff;

    return res;

}

    s->ptr = (s->ptr + 1) & 0xff;     s->ptr = (s->ptr + 1) & 0xff;
static int FUNC_0(I2CSlave *VAR_0)

{

    DS1338State *s = FROM_I2C_SLAVE(DS1338State, VAR_0);

    uint8_t res;



    res  = s->nvram[s->ptr];

    s->ptr = (s->ptr + 1) & 0xff;

    return res;

}

static int FUNC_0(I2CSlave *VAR_0)
{ DS1338State *s = FROM_I2C_SLAVE(DS1338State, VAR_0); uint8_t res; res  = s->nvram[s->ptr]; s->ptr = (s->ptr + 1) & 0xff; return res; }