// File: loop_006.cpp
// Auto-generated by scripts/gen_simd_loop_harness.py — do not hand-edit.
#include "loop_006.h"
#include <stdint.h>

extern "C" void inner_loop_006(struct loop_006_data *data);

extern "C" int armbench_entry_loop_006(void *p, int64_t n, void *res_out) {
    struct loop_006_data _kd;
    _kd.p = static_cast<uint8_t *>(p);
    _kd.lmt = static_cast<uint8_t *>(p) + n;
    _kd.checksum = 0;
    inner_loop_006(&_kd);
    *static_cast<uint32_t *>(res_out) = _kd.checksum;
    return 0;
}