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

extern "C" void inner_loop_033(struct loop_033_data *data);

extern "C" int armbench_entry_loop_033(void *a, void *b, int64_t n, void *res_out) {
    if (n < 0 || n > std::numeric_limits<int>::max()) return -1;
    struct loop_033_data data;
    data.a = static_cast<double *>(a);
    data.b = static_cast<double *>(b);
    data.n = static_cast<int64_t>(n);
    data.res = 0.0;
    inner_loop_033(&data);
    *static_cast<double *>(res_out) = data.res;
    return 0;
}