frac32 chain in
bool32 led 1
bool32 led 2
bool32 led 3
bool32 led 4
bool32 led 5
bool32 led 6
bool32 led 7
bool32 led 8
int32 chain in i
int32 out
int32 chain out i
frac32 out
frac32 chain out
int32 0to3
outlet_outi = ((inlet_led1 ? 1 : 0) | (inlet_led2 ? 1 << 1 : 0) |
(inlet_led3 ? 1 << 2 : 0) | (inlet_led4 ? 1 << 3 : 0) |
(inlet_led5 ? 1 << 4 : 0) | (inlet_led6 ? 1 << 5 : 0) |
(inlet_led7 ? 1 << 6 : 0) | (inlet_led8 ? 1 << 7 : 0))
<< (param_0to3 * 8);
outlet_outf = outlet_outi;
outlet_chainoutf = inlet_inf + outlet_outf;
outlet_chainouti = inlet_ini + outlet_outi;