The entire implementation of shani message scheduling amounts to this:
else if constexpr (use_shani)
{
wbuffer[Round] = mm_sha256msg2_epu32
(
mm_add_epi32
(
mm_alignr_epi8
(
wbuffer[Round - 1], wbuffer[Round - 2], SHA::word_bytes
),
mm_sha256msg1_epu32
(
wbuffer[Round - 4], wbuffer[Round - 3]
)
),
wbuffer[Round - 1]
);
}