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

extern "C" void inner_loop_219(struct loop_219_data *data) {
    uint64_t m = data->m;
    uint64_t n = data->n;
    uint8_t *a = data->a;
    uint8_t *b = data->b;
    uint32_t *c = data->c;
    for (uint64_t y = 0; y < m; y++) {
        uint32_t d = 0;
        for (uint64_t x = 0; x < n; x++) d += (uint32_t)a[x * m + y] * (uint32_t)b[x];
        c[y] = d;
    }
}