user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<ultra_gf283>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x910,%rsp
  mov    %edi,%ecx
  mov    %esi,%eax
  mov    %rdx,-0x910(%rbp)
  mov    %ecx,%edx
  mov    %dx,-0x904(%rbp)
  mov    %ax,-0x908(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    -0x6b0(%rbp),%rdx
  lea    -0x470(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <ultra_initLogTables@plt>
  movswl -0x908(%rbp),%eax
  lea    -0x6b0(%rbp),%rcx
  lea    -0x470(%rbp),%rdx
  lea    -0x8f0(%rbp),%rsi
  mov    %eax,%edi
  call   <ultra_genPoly@plt>
  movl   $0x119,-0x8f8(%rbp)
  jmp    L186
L128:
  mov    -0x8f8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x910(%rbp),%rax
  add    %rdx,%rax
  movl   $0x0,(%rax)
  subl   $0x1,-0x8f8(%rbp)
L186:
  movswl -0x908(%rbp),%edx
  mov    $0x119,%eax
  sub    %edx,%eax
  cmp    %eax,-0x8f8(%rbp)
  jg     L128
  movswl -0x904(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0x8fc(%rbp)
  jmp    L48
L170:
  mov    -0x8fc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x910(%rbp),%rax
  add    %rdx,%rax
  mov    -0x8f8(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0x910(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  subl   $0x1,-0x8f8(%rbp)
  subl   $0x1,-0x8fc(%rbp)
L48:
  cmpl   $0x0,-0x8fc(%rbp)
  jns    L170
  addl   $0x1,-0x8f8(%rbp)
  movl   $0x0,-0x8fc(%rbp)
  jmp    L53
L36:
  mov    -0x8fc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x910(%rbp),%rax
  add    %rdx,%rax
  movl   $0x0,(%rax)
  addl   $0x1,-0x8fc(%rbp)
L53:
  mov    -0x8fc(%rbp),%eax
  cmp    -0x8f8(%rbp),%eax
  jl     L36
  mov    -0x8f8(%rbp),%eax
  mov    %eax,-0x8f4(%rbp)
  jmp    L72
L153:
  movswl -0x904(%rbp),%edx
  mov    -0x8f8(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x910(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x8f4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x910(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  add    %eax,%edx
  movslq %edx,%rax
  imul   $0xffffffffe79372e3,%rax,%rax
  shr    $0x20,%rax
  add    %edx,%eax
  sar    $0x8,%eax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  imul   $0x11b,%eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %ax,-0x8fe(%rbp)
  movl   $0x0,-0x8fc(%rbp)
  jmp    L43
L109:
  movswl -0x904(%rbp),%edx
  mov    -0x8f8(%rbp),%eax
  add    %eax,%edx
  mov    -0x8fc(%rbp),%eax
  add    %edx,%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x910(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  lea    0x11b(%rax),%edx
  cmpw   $0x0,-0x8fe(%rbp)
  je     L49
  movswl -0x908(%rbp),%eax
  sub    $0x1,%eax
  sub    -0x8fc(%rbp),%eax
  cltq
  movzwl -0x8f0(%rbp,%rax,2),%eax
  test   %ax,%ax
  je     L49
  movzwl -0x8fe(%rbp),%eax
  cltq
  movzwl -0x6b0(%rbp,%rax,2),%eax
  movzwl %ax,%ecx
  movswl -0x908(%rbp),%eax
  sub    $0x1,%eax
  sub    -0x8fc(%rbp),%eax
  cltq
  movzwl -0x8f0(%rbp,%rax,2),%eax
  movzwl %ax,%eax
  cltq
  movzwl -0x6b0(%rbp,%rax,2),%eax
  movzwl %ax,%eax
  add    %ecx,%eax
  cltq
  movzwl -0x470(%rbp,%rax,2),%eax
  movzwl %ax,%eax
  jmp    L136
L49:
  mov    $0x0,%eax
L136:
  sub    %eax,%edx
  movswl -0x904(%rbp),%ecx
  mov    -0x8f8(%rbp),%eax
  add    %eax,%ecx
  mov    -0x8fc(%rbp),%eax
  add    %ecx,%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x910(%rbp),%rax
  add    %rax,%rcx
  movslq %edx,%rax
  imul   $0xffffffffe79372e3,%rax,%rax
  shr    $0x20,%rax
  add    %edx,%eax
  sar    $0x8,%eax
  mov    %edx,%esi
  sar    $0x1f,%esi
  sub    %esi,%eax
  imul   $0x11b,%eax,%esi
  mov    %edx,%eax
  sub    %esi,%eax
  mov    %eax,(%rcx)
  addl   $0x1,-0x8fc(%rbp)
L43:
  movswl -0x908(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x8fc(%rbp)
  jl     L109
  cmpw   $0x0,-0x8fe(%rbp)
  je     L27
  movzwl -0x8f0(%rbp),%eax
  test   %ax,%ax
  je     L27
  movzwl -0x8fe(%rbp),%eax
  cltq
  movzwl -0x6b0(%rbp,%rax,2),%eax
  movzwl %ax,%edx
  movzwl -0x8f0(%rbp),%eax
  movzwl %ax,%eax
  cltq
  movzwl -0x6b0(%rbp,%rax,2),%eax
  movzwl %ax,%eax
  add    %edx,%eax
  cltq
  movzwl -0x470(%rbp,%rax,2),%eax
  movzwl %ax,%eax
  mov    $0x11b,%edx
  sub    %eax,%edx
  movslq %edx,%rax
  imul   $0xffffffffe79372e3,%rax,%rax
  shr    $0x20,%rax
  add    %edx,%eax
  sar    $0x8,%eax
  mov    %edx,%ecx
  sar    $0x1f,%ecx
  sub    %ecx,%eax
  imul   $0x11b,%eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  jmp    L119
L27:
  mov    $0x0,%eax
L119:
  movswl -0x904(%rbp),%ecx
  mov    -0x8f8(%rbp),%edx
  add    %edx,%ecx
  movswl -0x908(%rbp),%edx
  add    %ecx,%edx
  movslq %edx,%rdx
  shl    $0x2,%rdx
  lea    -0x4(%rdx),%rcx
  mov    -0x910(%rbp),%rdx
  add    %rcx,%rdx
  mov    %eax,(%rdx)
  addl   $0x1,-0x8f4(%rbp)
L72:
  movswl -0x904(%rbp),%edx
  mov    -0x8f8(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0x8f4(%rbp)
  jl     L153
  movswl -0x904(%rbp),%edx
  mov    -0x8f8(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x8fc(%rbp)
  jmp    L91
L164:
  mov    -0x8fc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x910(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    $0x11b,%edx
  sub    %eax,%edx
  mov    -0x8fc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0x910(%rbp),%rax
  add    %rax,%rcx
  movslq %edx,%rax
  imul   $0xffffffffe79372e3,%rax,%rax
  shr    $0x20,%rax
  add    %edx,%eax
  sar    $0x8,%eax
  mov    %edx,%esi
  sar    $0x1f,%esi
  sub    %esi,%eax
  imul   $0x11b,%eax,%esi
  mov    %edx,%eax
  sub    %esi,%eax
  mov    %eax,(%rcx)
  addl   $0x1,-0x8fc(%rbp)
L91:
  movswl -0x904(%rbp),%edx
  mov    -0x8f8(%rbp),%eax
  add    %eax,%edx
  movswl -0x908(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0x8fc(%rbp)
  jl     L164
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L45
  call   <__stack_chk_fail@plt>
L45:
  leave
  ret
```

assistant: ```c
void ultra_gf283(short DataSize, short EccSize, int Message[]) {
  unsigned short gPoly[283], gfPwr[(282 * 2)], gfLog[283];
  int i, j, n;
  unsigned short t;
  ultra_initLogTables(gfPwr, gfLog);
  ultra_genPoly(EccSize, gPoly, gfPwr, gfLog);
  for (j = 281; (j > (281 - EccSize)); j--)
    Message[j] = 0;
  for (i = DataSize - 1; (i >= 0); j--, i--)
    Message[j] = Message[i];
  j++;
  for (i = 0; i < j; i++)
    Message[i] = 0;
  for (n = j; n < (j + DataSize); n++) {
    t = (Message[j + DataSize] + Message[n]) % 283;
    for (i = 0; i < (EccSize - 1); i++) {
      Message[j + DataSize + i] = (Message[j + DataSize + i + 1] + 283 - ((((t) == 0) || ((gPoly[EccSize - 1 - i]) == 0)) ? 0 : gfPwr[(gfLog[t] + gfLog[gPoly[EccSize - 1 - i]])])) % 283;
    }
    Message[j + DataSize + EccSize - 1] = (283 - ((((t) == 0) || ((gPoly[0]) == 0)) ? 0 : gfPwr[(gfLog[t] + gfLog[gPoly[0]])])) % 283;
  }
  for (i = j + DataSize; i < (j + DataSize + EccSize); i++)
    Message[i] = (283 - Message[i]) % 283;
}
```