static inline int wv_get_value_integer(WavpackFrameContext *s, uint32_t *crc, int S)

{

    int bit;



    if(s->extra_bits){

        S <<= s->extra_bits;



        if(s->got_extra_bits){

            S |= get_bits(&s->gb_extra_bits, s->extra_bits);

            *crc = *crc * 9 + (S&0xffff) * 3 + ((unsigned)S>>16);

        }

    }

    bit = (S & s->and) | s->or;

    return (((S + bit) << s->shift) - bit) << s->post_shift;

}

static inline int wv_get_value_integer(WavpackFrameContext *s, uint32_t *crc, int S)

{

    int bit;



    if(s->extra_bits){

        S <<= s->extra_bits;



        if(s->got_extra_bits){

            S |= get_bits(&s->gb_extra_bits, s->extra_bits);

            *crc = *crc * 9 + (S&0xffff) * 3 + ((unsigned)S>>16);

        }

    }

    bit = (S & s->and) | s->or;

    return (((S + bit) << s->shift) - bit) << s->post_shift;

}

        if(s->got_extra_bits){
static inline int FUNC_0(WavpackFrameContext *VAR_0, uint32_t *VAR_1, int VAR_2)

{

    int VAR_3;



    if(VAR_0->extra_bits){

        VAR_2 <<= VAR_0->extra_bits;



        if(VAR_0->got_extra_bits){

            VAR_2 |= get_bits(&VAR_0->gb_extra_bits, VAR_0->extra_bits);

            *VAR_1 = *VAR_1 * 9 + (VAR_2&0xffff) * 3 + ((unsigned)VAR_2>>16);

        }

    }

    VAR_3 = (VAR_2 & VAR_0->and) | VAR_0->or;

    return (((VAR_2 + VAR_3) << VAR_0->shift) - VAR_3) << VAR_0->post_shift;

}

static inline int FUNC_0(WavpackFrameContext *VAR_0, uint32_t *VAR_1, int VAR_2)
{ int VAR_3; if(VAR_0->extra_bits){ VAR_2 <<= VAR_0->extra_bits; if(VAR_0->got_extra_bits){ VAR_2 |= get_bits(&VAR_0->gb_extra_bits, VAR_0->extra_bits); *VAR_1 = *VAR_1 * 9 + (VAR_2&0xffff) * 3 + ((unsigned)VAR_2>>16); } } VAR_3 = (VAR_2 & VAR_0->and) | VAR_0->or; return (((VAR_2 + VAR_3) << VAR_0->shift) - VAR_3) << VAR_0->post_shift; }