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

extern "C" void inner_loop_037(struct loop_037_data *data) {
    cfloat32_t *a = data->a0; cfloat32_t *b = data->b0; cfloat32_t *c = data->c0;
    uint64_t size = data->size;
    for (uint64_t i = 0; i < size; i++) {
        c[i].re = (a[i].re * b[i].re) - (a[i].im * b[i].im);
        c[i].im = (a[i].re * b[i].im) + (a[i].im * b[i].re);
    }
}