#pragma XOD evaluate_on_pin disable
#pragma XOD evaluate_on_pin enable input_UPD
#pragma XOD error_raise enable
struct State {
};
{{ GENERATED_CODE }}
void evaluate(Context ctx) {
if (!isInputDirty<input_UPD>(ctx))
return;
const uint8_t ss = getValue<input_SS_DS>(ctx);
const uint8_t cl = getValue<input_Mclock>(ctx);
const uint8_t di = getValue<input_DI>(ctx);
::pinMode(ss, OUTPUT);
::pinMode(cl, OUTPUT);
::pinMode(di, OUTPUT);
const bool a = getValue<input_SIG1>(ctx);
const bool b = getValue<input_SIG2>(ctx);
const bool c = getValue<input_SIG3>(ctx);
const bool d = getValue<input_SIG4>(ctx);
const bool e = getValue<input_SIG5>(ctx);
const bool f = getValue<input_SIG6>(ctx);
const bool g = getValue<input_SIG7>(ctx);
const bool h = getValue<input_SIG8>(ctx);
const bool i = getValue<input_SIG9>(ctx);
const bool j = getValue<input_SIG10>(ctx);
const bool k = getValue<input_SIG11>(ctx);
const bool l = getValue<input_SIG12>(ctx);
const bool m = getValue<input_SIG13>(ctx);
const bool n = getValue<input_SIG14>(ctx);
const bool o = getValue<input_SIG15>(ctx);
const bool p = getValue<input_SIG16>(ctx);
const bool q = getValue<input_SIG17>(ctx);
const bool r = getValue<input_SIG18>(ctx);
const bool s = getValue<input_SIG19>(ctx);
const bool t = getValue<input_SIG20>(ctx);
const bool u = getValue<input_SIG21>(ctx);
const bool v = getValue<input_SIG22>(ctx);
const bool w = getValue<input_SIG23>(ctx);
const bool x = getValue<input_SIG24>(ctx);
const bool y = getValue<input_SIG25>(ctx);
const bool z = getValue<input_SIG26>(ctx);
const bool aa = getValue<input_SIG27>(ctx);
const bool ab = getValue<input_SIG28>(ctx);
const bool ac = getValue<input_SIG29>(ctx);
const bool ad = getValue<input_SIG30>(ctx);
const bool ae = getValue<input_SIG31>(ctx);
const bool af = getValue<input_SIG32>(ctx);
::digitalWrite(ss, 0);
::digitalWrite(di, a);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, b);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, c);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, d);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, e);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, f);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, g);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, h);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, i);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, j);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, k);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, l);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, m);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, n);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, o);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, p);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, q);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, r);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, s);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, t);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, u);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, v);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, w);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, x);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, y);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, z);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, aa);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, ab);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, ac);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, ad);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, ae);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(di, af);
::digitalWrite(cl, 1);
::digitalWrite(cl, 0);
::digitalWrite(ss, 1);
emitValue<output_DONE>(ctx, 1);
}