user: Please show me the C implementation that matches the assembly code listed below:

```asm
<ultra_gf283>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x918,%rsp
  mov    %edi,%ebp
  mov    %esi,%r15d
  mov    %esi,0x1c(%rsp)
  mov    %rdx,%rbx
  mov    %fs:0x28,%rax
  mov    %rax,0x908(%rsp)
  xor    %eax,%eax
  lea    0x260(%rsp),%r13
  lea    0x4a0(%rsp),%r12
  mov    %r13,%rsi
  mov    %r12,%rdi
  call   <ultra_initLogTables@plt>
  movswl %r15w,%eax
  mov    %eax,%r14d
  mov    %eax,0x18(%rsp)
  lea    0x20(%rsp),%rsi
  mov    %r13,%rcx
  mov    %r12,%rdx
  mov    %eax,%edi
  call   <ultra_genPoly@plt>
  mov    $0x119,%ecx
  sub    %r14d,%ecx
  cmp    $0x118,%ecx
  jg     L43
  lea    0x464(%rbx),%rax
  lea    0x460(%rbx),%rdx
  lea    -0x1(%r14),%esi
  shl    $0x2,%rsi
  sub    %rsi,%rdx
L108:
  movl   $0x0,(%rax)
  sub    $0x4,%rax
  cmp    %rdx,%rax
  jne    L108
  movswl %bp,%r13d
  mov    %r13d,%eax
  sub    $0x1,%eax
  js     L139
L150:
  cltq
  movswq %bp,%rsi
  movslq %ecx,%rdx
  sub    %rsi,%rdx
  lea    (%rbx,%rdx,4),%rsi
L53:
  mov    (%rbx,%rax,4),%edx
  mov    %edx,0x4(%rsi,%rax,4)
  sub    $0x1,%rax
  test   %eax,%eax
  jns    L53
  movswl %bp,%ebp
  sub    %ebp,%ecx
L139:
  lea    0x1(%rcx),%ebp
  test   %ebp,%ebp
  jle    L32
L41:
  mov    %rbx,%rax
  mov    %ecx,%ecx
  lea    0x4(%rbx,%rcx,4),%rdx
L169:
  movl   $0x0,(%rax)
  add    $0x4,%rax
  cmp    %rdx,%rax
  jne    L169
L32:
  add    %ebp,%r13d
  cmp    %r13d,%ebp
  jge    L105
  movslq %r13d,%rax
  lea    (%rbx,%rax,4),%r15
  movzwl 0x20(%rsp),%edi
  mov    %di,0xe(%rsp)
  movswl 0x1c(%rsp),%eax
  add    %r13d,%eax
  cltq
  lea    -0x4(%rbx,%rax,4),%rax
  mov    %rax,(%rsp)
  movslq %ebp,%rbp
  mov    0x18(%rsp),%eax
  lea    -0x1(%rax),%r14d
  mov    $0x0,%r10d
  movzwl %di,%eax
  mov    %rax,0x10(%rsp)
  jmp    L39
L112:
  sub    %eax,%edx
  movslq %edx,%rax
  imul   $0xffffffffe79372e3,%rax,%rax
  shr    $0x20,%rax
  add    %edx,%eax
  sar    $0x8,%eax
  mov    %edx,%r8d
  sar    $0x1f,%r8d
  sub    %r8d,%eax
  imul   $0x11b,%eax,%eax
  sub    %eax,%edx
  mov    %edx,(%rdi)
  add    $0x4,%rcx
  sub    $0x1,%esi
  je     L140
L149:
  mov    %rcx,%rdi
  mov    0x4(%rcx),%eax
  lea    0x11b(%rax),%edx
  mov    %r10d,%eax
  test   %r11w,%r11w
  je     L112
  movslq %esi,%rax
  movzwl 0x20(%rsp,%rax,2),%r8d
  mov    %r10d,%eax
  test   %r8w,%r8w
  je     L112
  movzwl 0x260(%rsp,%r12,2),%eax
  movzwl %r8w,%r8d
  movzwl 0x260(%rsp,%r8,2),%r8d
  add    %r8d,%eax
  cltq
  movzwl 0x4a0(%rsp,%rax,2),%eax
  jmp    L112
L140:
  mov    %r10d,%eax
  test   %r11w,%r11w
  je     L74
  cmpw   $0x0,0xe(%rsp)
  je     L74
  movzwl %r9w,%r9d
  movzwl 0x260(%rsp,%r9,2),%eax
  mov    0x10(%rsp),%rdi
  movzwl 0x260(%rsp,%rdi,2),%edx
  add    %edx,%eax
  cltq
  movzwl 0x4a0(%rsp,%rax,2),%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
L74:
  mov    (%rsp),%rdi
  mov    %eax,(%rdi)
  add    $0x1,%rbp
  cmp    %ebp,%r13d
  jle    L105
L39:
  mov    (%rbx,%rbp,4),%eax
  add    (%r15),%eax
  movslq %eax,%r9
  imul   $0xffffffffe79372e3,%r9,%r9
  shr    $0x20,%r9
  add    %eax,%r9d
  sar    $0x8,%r9d
  cltd
  sub    %edx,%r9d
  imul   $0x11b,%r9d,%edx
  sub    %edx,%eax
  mov    %eax,%r9d
  mov    %eax,%r11d
  test   %r14d,%r14d
  jle    L140
  mov    %r14d,%esi
  mov    %r15,%rcx
  movzwl %ax,%r12d
  jmp    L149
L105:
  mov    0x18(%rsp),%eax
  add    %r13d,%eax
  cmp    %r13d,%eax
  jle    L171
  movslq %r13d,%r13
  lea    (%rbx,%r13,4),%rcx
  movswl 0x1c(%rsp),%eax
  lea    -0x1(%rax),%eax
  add    %r13,%rax
  lea    0x4(%rbx,%rax,4),%r8
  mov    $0x11b,%edi
L70:
  mov    %edi,%edx
  sub    (%rcx),%edx
  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,%eax
  sub    %eax,%edx
  mov    %edx,(%rcx)
  add    $0x4,%rcx
  cmp    %r8,%rcx
  jne    L70
L171:
  mov    0x908(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L99
  add    $0x918,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L43:
  movswl %bp,%r13d
  mov    $0x119,%ecx
  mov    %r13d,%eax
  sub    $0x1,%eax
  jns    L150
  mov    $0x11a,%ebp
  jmp    L41
L99:
  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;
}
```