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

extern "C" void inner_loop_005(struct loop_005_data *data);

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