static inline av_flatten int get_symbol_inline(RangeCoder *c, uint8_t *state,

                                               int is_signed)

{

    if (get_rac(c, state + 0))

        return 0;

    else {

        int i, e, a;

        e = 0;

        while (get_rac(c, state + 1 + FFMIN(e, 9))) // 1..10

            e++;



        a = 1;

        for (i = e - 1; i >= 0; i--)

            a += a + get_rac(c, state + 22 + FFMIN(i, 9));  // 22..31



        e = -(is_signed && get_rac(c, state + 11 + FFMIN(e, 10))); // 11..21

        return (a ^ e) - e;

    }

}

static inline av_flatten int get_symbol_inline(RangeCoder *c, uint8_t *state,

                                               int is_signed)

{

    if (get_rac(c, state + 0))

        return 0;

    else {

        int i, e, a;

        e = 0;

        while (get_rac(c, state + 1 + FFMIN(e, 9))) 

            e++;



        a = 1;

        for (i = e - 1; i >= 0; i--)

            a += a + get_rac(c, state + 22 + FFMIN(i, 9));  



        e = -(is_signed && get_rac(c, state + 11 + FFMIN(e, 10))); 

        return (a ^ e) - e;

    }

}

static inline av_flatten int FUNC_0(RangeCoder *c, uint8_t *state,

                                               int is_signed)

{

    if (get_rac(c, state + 0))

        return 0;

    else {

        int VAR_0, VAR_1, VAR_2;

        VAR_1 = 0;

        while (get_rac(c, state + 1 + FFMIN(VAR_1, 9))) 

            VAR_1++;



        VAR_2 = 1;

        for (VAR_0 = VAR_1 - 1; VAR_0 >= 0; VAR_0--)

            VAR_2 += VAR_2 + get_rac(c, state + 22 + FFMIN(VAR_0, 9));  



        VAR_1 = -(is_signed && get_rac(c, state + 11 + FFMIN(VAR_1, 10))); 

        return (VAR_2 ^ VAR_1) - VAR_1;

    }

}

static inline av_flatten int FUNC_0(RangeCoder *c, uint8_t *state,
int is_signed)
{ if (get_rac(c, state + 0))
return 0; else { int VAR_0, VAR_1, VAR_2; VAR_1 = 0; while (get_rac(c, state + 1 + FFMIN(VAR_1, 9)))
VAR_1++; VAR_2 = 1; for (VAR_0 = VAR_1 - 1; VAR_0 >= 0; VAR_0--) VAR_2 += VAR_2 + get_rac(c, state + 22 + FFMIN(VAR_0, 9)); VAR_1 = -(is_signed && get_rac(c, state + 11 + FFMIN(VAR_1, 10))); return (VAR_2 ^ VAR_1) - VAR_1; } }