// File: kernel.cpp
#include "loop_032.h"
#include <stdint.h>

extern "C" void inner_loop_032(struct loop_032_data * input) {
  double *a = input->a;
  double *b = input->b;
  int n = input->n;

  double res = 0.0;
  int lw = 0;
  for (int j = 4; j < n; j = j + 5) {
    res -= a[lw] * b[j];
    lw++;
  }
  input->res = res;
}