How do you validate the functions are correct? I did something similar, letting it (mostly deepseek 4.1) translate from assembly to C but it commonly made mistakes, some really hard to discover and fix.
You should be able to validate it by creating tests against the assembler.
You should be able to validate it by creating tests against the assembler.