static void GLZWDecodeInit(GifState * s, int csize)

{

    /* read buffer */

    s->eob_reached = 0;

    s->pbuf = s->buf;

    s->ebuf = s->buf;

    s->bbuf = 0;

    s->bbits = 0;



    /* decoder */

    s->codesize = csize;

    s->cursize = s->codesize + 1;

    s->curmask = mask[s->cursize];

    s->top_slot = 1 << s->cursize;

    s->clear_code = 1 << s->codesize;

    s->end_code = s->clear_code + 1;

    s->slot = s->newcodes = s->clear_code + 2;

    s->oc = s->fc = 0;

    s->sp = s->stack;

}

static void GLZWDecodeInit(GifState * s, int csize)

{

    

    s->eob_reached = 0;

    s->pbuf = s->buf;

    s->ebuf = s->buf;

    s->bbuf = 0;

    s->bbits = 0;



    

    s->codesize = csize;

    s->cursize = s->codesize + 1;

    s->curmask = mask[s->cursize];

    s->top_slot = 1 << s->cursize;

    s->clear_code = 1 << s->codesize;

    s->end_code = s->clear_code + 1;

    s->slot = s->newcodes = s->clear_code + 2;

    s->oc = s->fc = 0;

    s->sp = s->stack;

}

static void GLZWDecodeInit(GifState * s, int csize)     s->eob_reached = 0;     s->pbuf = s->buf;     s->ebuf = s->buf;     s->bbuf = 0;     s->bbits = 0;     s->codesize = csize;     s->cursize = s->codesize + 1;     s->curmask = mask[s->cursize];     s->top_slot = 1 << s->cursize;     s->clear_code = 1 << s->codesize;     s->end_code = s->clear_code + 1;     s->slot = s->newcodes = s->clear_code + 2;     s->oc = s->fc = 0;     s->sp = s->stack;
static void FUNC_0(GifState * VAR_0, int VAR_1)

{

    

    VAR_0->eob_reached = 0;

    VAR_0->pbuf = VAR_0->buf;

    VAR_0->ebuf = VAR_0->buf;

    VAR_0->bbuf = 0;

    VAR_0->bbits = 0;



    

    VAR_0->codesize = VAR_1;

    VAR_0->cursize = VAR_0->codesize + 1;

    VAR_0->curmask = mask[VAR_0->cursize];

    VAR_0->top_slot = 1 << VAR_0->cursize;

    VAR_0->clear_code = 1 << VAR_0->codesize;

    VAR_0->end_code = VAR_0->clear_code + 1;

    VAR_0->slot = VAR_0->newcodes = VAR_0->clear_code + 2;

    VAR_0->oc = VAR_0->fc = 0;

    VAR_0->sp = VAR_0->stack;

}

static void FUNC_0(GifState * VAR_0, int VAR_1)
{ VAR_0->eob_reached = 0; VAR_0->pbuf = VAR_0->buf; VAR_0->ebuf = VAR_0->buf; VAR_0->bbuf = 0; VAR_0->bbits = 0; VAR_0->codesize = VAR_1; VAR_0->cursize = VAR_0->codesize + 1; VAR_0->curmask = mask[VAR_0->cursize]; VAR_0->top_slot = 1 << VAR_0->cursize; VAR_0->clear_code = 1 << VAR_0->codesize; VAR_0->end_code = VAR_0->clear_code + 1; VAR_0->slot = VAR_0->newcodes = VAR_0->clear_code + 2; VAR_0->oc = VAR_0->fc = 0; VAR_0->sp = VAR_0->stack; }