static int make_cdt15_entry(int p1, int p2, int16_t *cdt)

{

    int r, b, lo;



    b = cdt[p2];

    r = cdt[p1] * 1024;

    lo = b + r;

    return (lo + (lo * (1 << 16))) * 2;

}

static int make_cdt15_entry(int p1, int p2, int16_t *cdt)

{

    int r, b, lo;



    b = cdt[p2];

    r = cdt[p1] * 1024;

    lo = b + r;

    return (lo + (lo * (1 << 16))) * 2;

}

    return (lo + (lo * (1 << 16))) * 2;
static int FUNC_0(int VAR_0, int VAR_1, int16_t *VAR_2)

{

    int VAR_3, VAR_4, VAR_5;



    VAR_4 = VAR_2[VAR_1];

    VAR_3 = VAR_2[VAR_0] * 1024;

    VAR_5 = VAR_4 + VAR_3;

    return (VAR_5 + (VAR_5 * (1 << 16))) * 2;

}

static int FUNC_0(int VAR_0, int VAR_1, int16_t *VAR_2)
{ int VAR_3, VAR_4, VAR_5; VAR_4 = VAR_2[VAR_1]; VAR_3 = VAR_2[VAR_0] * 1024; VAR_5 = VAR_4 + VAR_3; return (VAR_5 + (VAR_5 * (1 << 16))) * 2; }