1 void
foo(int y,int z,unsigned char ** t,int ** c,int * b)2 foo (int y, int z, unsigned char **t, int **c, int *b)
3 {
4   int i, j, k;
5   unsigned char a[2];
6 
7   a[0] = 0;
8   a[1] = 0;
9   for (j = 0; j < z; j++)
10     for (i = 0; i < y; i++, a[0] += 3)
11       for (k = 0; k < 3; k++)
12 	c[0][k] += 3 * b[k];
13   for (i = 0; i < 3; i++)
14     if (t[0][i] + c[0][i] / a[0] <= 0)
15       t[0][i] = 0;
16     else
17       t[0][i] = t[0][i] + c[0][i] / a[0];
18 }
19