Bandpass filter

static void filterloop()
  { for (;;)
      { xv[0] = xv[1]; xv[1] = xv[2]; xv[2] = xv[3]; xv[3] = xv[4]; xv[4] = xv[5]; xv[5] = xv[6]; xv[6] = xv[7]; xv[7] = xv[8]; xv[8] = xv[9]; xv[9] = xv[10]; xv[10] = xv[11]; xv[11] = xv[12]; xv[12] = xv[13]; xv[13] = xv[14]; xv[14] = xv[15]; xv[15] = xv[16];
        xv[16] = next input value / GAIN;
        yv[0] = yv[1]; yv[1] = yv[2]; yv[2] = yv[3]; yv[3] = yv[4]; yv[4] = yv[5]; yv[5] = yv[6]; yv[6] = yv[7]; yv[7] = yv[8]; yv[8] = yv[9]; yv[9] = yv[10]; yv[10] = yv[11]; yv[11] = yv[12]; yv[12] = yv[13]; yv[13] = yv[14]; yv[14] = yv[15]; yv[15] = yv[16];

That is the stupidest looking mess I've seen today.

You obviously know about for loops, so why the hell aren't you using them?
You obviously know about for loops, so why the hell aren't you using them?
You obviously know about for loops, so why the hell aren't you using them?
You obviously know about for loops, so why the hell aren't you using them?
You obviously know about for loops, so why the hell aren't you using them?
You obviously know about for loops, so why the hell aren't you using them?
You obviously know about for loops, so why the hell aren't you using them?
You obviously know about for loops, so why the hell aren't you using them?
You obviously know about for loops, so why the hell aren't you using them?
You obviously know about for loops, so why the hell aren't you using them?
You obviously know about for loops, so why the hell aren't you using them?
You obviously know about for loops, so why the hell aren't you using them?