Wrote literal translation of the expandbit256's asm to C