user: Translate the below assembly code into C programming language:

```asm
<ultra_gf283>:
  endbr64
  push   %r15
  push   %r14
  mov    %edi,%r14d
  push   %r13
  push   %r12
  push   %rbp
  mov    %esi,%ebp
  push   %rbx
  movswl %bp,%ebp
  mov    %rdx,%rbx
  sub    $0x908,%rsp
  lea    0x250(%rsp),%r13
  lea    0x490(%rsp),%r12
  mov    %fs:0x28,%rax
  mov    %rax,0x8f8(%rsp)
  xor    %eax,%eax
  mov    %r13,%rsi
  mov    %r12,%rdi
  call   <ultra_initLogTables@plt>
  mov    %r13,%rcx
  mov    $0x119,%r13d
  mov    %ebp,%edi
  lea    0x10(%rsp),%rsi
  mov    %r12,%rdx
  sub    %ebp,%r13d
  call   <ultra_genPoly@plt>
  cmp    $0x118,%r13d
  jg     L177
  lea    -0x1(%rbp),%eax
  mov    %ebp,%edx
  xor    %esi,%esi
  neg    %rax
  shl    $0x2,%rdx
  lea    0x464(%rbx,%rax,4),%rdi
  call   <memset@plt>
L121:
  movswl %r14w,%r12d
  mov    %r12d,%eax
  sub    $0x1,%eax
  js     L44
  movslq %r13d,%rdx
  movswq %r14w,%r14
  cltq
  sub    %r14,%rdx
  lea    (%rbx,%rdx,4),%rcx
  nopl   0x0(%rax)
L63:
  mov    (%rbx,%rax,4),%edx
  mov    %edx,0x4(%rcx,%rax,4)
  sub    $0x1,%rax
  test   %eax,%eax
  jns    L63
  sub    %r12d,%r13d
  lea    0x1(%r13),%r10d
L33:
  test   %r10d,%r10d
  jle    L66
  xor    %eax,%eax
  test   %r13d,%r13d
  cmovns %r13d,%eax
  add    $0x1,%eax
  cltq
  shl    $0x2,%rax
  cmp    $0x8,%eax
  jae    L39
  test   $0x4,%al
  jne    L165
  test   %eax,%eax
  je     L66
  movb   $0x0,(%rbx)
L66:
  add    %r10d,%r12d
  cmp    %r10d,%r12d
  jle    L75
  movzwl 0x10(%rsp),%esi
  movslq %r12d,%rax
  mov    %ebp,0xc(%rsp)
  lea    -0x1(%rbp),%r13d
  lea    (%rbx,%rax,4),%r14
  lea    0x0(%rbp,%r12,1),%eax
  movslq %r10d,%r10
  movzwl %si,%esi
  cltq
  mov    %rsi,(%rsp)
  lea    -0x4(%rbx,%rax,4),%r15
  mov    %esi,%ebp
  nopl   (%rax)
L218:
  mov    (%rbx,%r10,4),%eax
  add    (%r14),%eax
  mov    %r13d,%esi
  mov    %r14,%rcx
  movslq %eax,%r8
  cltd
  imul   $0xffffffffe79372e3,%r8,%r8
  shr    $0x20,%r8
  add    %eax,%r8d
  sar    $0x8,%r8d
  sub    %edx,%r8d
  imul   $0x11b,%r8d,%edx
  sub    %edx,%eax
  mov    %eax,%r8d
  mov    %eax,%r9d
  movzwl %ax,%r11d
  test   %r13d,%r13d
  jle    L167
  cs nopw 0x0(%rax,%rax,1)
L19:
  mov    0x4(%rcx),%eax
  lea    0x11b(%rax),%edx
  test   %r9w,%r9w
  je     L9
  movslq %esi,%rax
  movzwl 0x10(%rsp,%rax,2),%eax
  test   %ax,%ax
  je     L9
  movzwl 0x250(%rsp,%rax,2),%eax
  movzwl 0x250(%rsp,%r11,2),%edi
  add    %eax,%edi
  movslq %edi,%rdi
  movzwl 0x490(%rsp,%rdi,2),%eax
  sub    %eax,%edx
L9:
  movslq %edx,%rax
  mov    %edx,%edi
  add    $0x4,%rcx
  imul   $0xffffffffe79372e3,%rax,%rax
  sar    $0x1f,%edi
  shr    $0x20,%rax
  add    %edx,%eax
  sar    $0x8,%eax
  sub    %edi,%eax
  imul   $0x11b,%eax,%eax
  sub    %eax,%edx
  mov    %edx,-0x4(%rcx)
  sub    $0x1,%esi
  jne    L19
L167:
  xor    %eax,%eax
  test   %r9w,%r9w
  je     L78
  test   %bp,%bp
  je     L78
  mov    (%rsp),%rsi
  movzwl %r8w,%r8d
  movzwl 0x250(%rsp,%r8,2),%eax
  movzwl 0x250(%rsp,%rsi,2),%edx
  add    %edx,%eax
  mov    $0x11b,%edx
  cltq
  movzwl 0x490(%rsp,%rax,2),%eax
  sub    %eax,%edx
  movslq %edx,%rax
  mov    %edx,%ecx
  imul   $0xffffffffe79372e3,%rax,%rax
  sar    $0x1f,%ecx
  shr    $0x20,%rax
  add    %edx,%eax
  sar    $0x8,%eax
  sub    %ecx,%eax
  imul   $0x11b,%eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
L78:
  add    $0x1,%r10
  mov    %eax,(%r15)
  cmp    %r10d,%r12d
  jg     L218
  mov    0xc(%rsp),%ebp
L75:
  lea    0x0(%rbp,%r12,1),%eax
  cmp    %r12d,%eax
  jle    L208
  movslq %r12d,%r12
  lea    -0x1(%rbp),%eax
  mov    $0x11b,%edi
  add    %r12,%rax
  lea    (%rbx,%r12,4),%rcx
  lea    0x4(%rbx,%rax,4),%r8
  nopl   0x0(%rax)
L129:
  mov    %edi,%edx
  sub    (%rcx),%edx
  add    $0x4,%rcx
  movslq %edx,%rax
  mov    %edx,%esi
  imul   $0xffffffffe79372e3,%rax,%rax
  sar    $0x1f,%esi
  shr    $0x20,%rax
  add    %edx,%eax
  sar    $0x8,%eax
  sub    %esi,%eax
  imul   $0x11b,%eax,%eax
  sub    %eax,%edx
  mov    %edx,-0x4(%rcx)
  cmp    %rcx,%r8
  jne    L129
L208:
  mov    0x8f8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L159
  add    $0x908,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L39:
  mov    %eax,%edx
  lea    0x8(%rbx),%rdi
  movq   $0x0,(%rbx)
  movq   $0x0,-0x8(%rbx,%rdx,1)
  and    $0xfffffffffffffff8,%rdi
  mov    %rbx,%rdx
  sub    %rdi,%rdx
  add    %edx,%eax
  shr    $0x3,%eax
  mov    %eax,%ecx
  xor    %eax,%eax
  rep stos %rax,%es:(%rdi)
  jmp    L66
L44:
  lea    0x1(%r13),%r10d
  jmp    L33
L177:
  mov    $0x119,%r13d
  jmp    L121
L165:
  mov    %eax,%eax
  movl   $0x0,(%rbx)
  movl   $0x0,-0x4(%rbx,%rax,1)
  jmp    L66
L159:
  call   <__stack_chk_fail@plt>
```

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;
}
```