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

```asm
<ultra_gf283>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %esi,%ebp
  push   %rbx
  movswl %bp,%r15d
  mov    %rdx,%rbx
  sub    $0x938,%rsp
  mov    %edi,0x2c(%rsp)
  lea    0x4c0(%rsp),%r13
  lea    0x40(%rsp),%r12
  lea    0x280(%rsp),%r14
  mov    %r13,%rdi
  mov    %r14,%rsi
  mov    %fs:0x28,%rax
  mov    %rax,0x928(%rsp)
  xor    %eax,%eax
  call   <ultra_initLogTables@plt>
  mov    %r13,%rdx
  mov    %r14,%rcx
  mov    %r12,%rsi
  mov    $0x119,%r13d
  mov    %r15d,%edi
  call   <ultra_genPoly@plt>
  sub    %r15d,%r13d
  cmp    $0x118,%r13d
  jg     L343
  lea    -0x1(%r15),%eax
  mov    %r15d,%edx
  xor    %esi,%esi
  neg    %rax
  shl    $0x2,%rdx
  lea    0x464(%rbx,%rax,4),%rdi
  call   <memset@plt>
  movswl 0x2c(%rsp),%r11d
  mov    $0x11a,%eax
  sub    %r15d,%eax
  mov    %r11d,%edx
  mov    %eax,0x18(%rsp)
  sub    $0x1,%edx
  js     L197
L225:
  movswq 0x2c(%rsp),%rsi
  movslq %r13d,%rcx
  mov    %rcx,%rax
  sub    %rsi,%rax
  lea    0x10(,%rax,4),%rax
  cmp    $0x8,%rax
  jbe    L376
  lea    -0x1(%r11),%eax
  cmp    $0x2,%eax
  jbe    L376
  lea    -0x10(%rbx,%rsi,4),%rdi
  lea    -0xc(%rbx,%rcx,4),%rsi
  mov    %r11d,%ecx
  xor    %eax,%eax
  shr    $0x2,%ecx
  neg    %rcx
  shl    $0x4,%rcx
  xchg   %ax,%ax
L276:
  movdqu (%rdi,%rax,1),%xmm6
  movups %xmm6,(%rsi,%rax,1)
  sub    $0x10,%rax
  cmp    %rcx,%rax
  jne    L276
  mov    %r11d,%esi
  mov    %edx,%eax
  mov    %r13d,%ecx
  and    $0xfffffffc,%esi
  sub    %esi,%eax
  sub    %esi,%ecx
  cmp    %esi,%r11d
  je     L260
  movslq %eax,%rdx
  mov    (%rbx,%rdx,4),%esi
  movslq %ecx,%rdx
  sub    $0x1,%ecx
  mov    %esi,(%rbx,%rdx,4)
  lea    -0x1(%rax),%edx
  test   %eax,%eax
  je     L260
  movslq %edx,%rdx
  movslq %ecx,%rcx
  lea    0x0(,%rdx,4),%rdi
  mov    (%rbx,%rdx,4),%edx
  lea    0x0(,%rcx,4),%rsi
  mov    %edx,(%rbx,%rcx,4)
  cmp    $0x1,%eax
  je     L260
  mov    -0x4(%rbx,%rdi,1),%eax
  mov    %eax,-0x4(%rbx,%rsi,1)
L260:
  sub    %r11d,%r13d
  lea    0x1(%r13),%eax
  mov    %eax,0x18(%rsp)
L197:
  mov    0x18(%rsp),%eax
  test   %eax,%eax
  jle    L78
L12:
  xor    %eax,%eax
  test   %r13d,%r13d
  cmovns %r13d,%eax
  add    $0x1,%eax
  cltq
  shl    $0x2,%rax
  cmp    $0x8,%eax
  jae    L27
  test   $0x4,%al
  jne    L355
  test   %eax,%eax
  je     L78
  movb   $0x0,(%rbx)
L78:
  mov    0x18(%rsp),%eax
  add    %eax,%r11d
  cmp    %r11d,%eax
  jge    L128
  lea    (%r15,%r11,1),%edx
  movslq %r11d,%rax
  movslq 0x18(%rsp),%r9
  lea    -0x1(%r15),%r14d
  movslq %edx,%rdx
  lea    (%rbx,%rax,4),%rdi
  movswq %bp,%rbp
  mov    %r15d,0x3c(%rsp)
  lea    -0x4(%rbx,%rdx,4),%rsi
  lea    -0x2(%r15),%edx
  mov    %rdi,0x8(%rsp)
  movzwl 0x40(%rsp),%edi
  add    %rdx,%rax
  mov    %rsi,0x10(%rsp)
  lea    -0x2(%r12,%rbp,2),%rsi
  movdqa D29(%rip),%xmm3
  lea    0x4(%rbx,%rax,4),%r10
  movswq 0x2c(%rsp),%rax
  pxor   %xmm4,%xmm4
  mov    %di,0x1e(%rsp)
  movdqa %xmm4,%xmm5
  mov    %rsi,0x20(%rsp)
  movdqa D30(%rip),%xmm6
  lea    0x1(%r9,%rax,1),%rax
  mov    %edx,0x28(%rsp)
  pcmpgtd %xmm3,%xmm5
  shl    $0x2,%rax
  lea    (%rbx,%rax,1),%r13
  lea    -0x4(%rbx,%rax,1),%r12
  mov    %r14d,%eax
  shr    $0x2,%eax
  lea    -0x1(%rax),%ebp
  mov    %r14d,%eax
  and    $0xfffffffc,%eax
  add    $0x1,%rbp
  mov    %eax,0x38(%rsp)
  movzwl %di,%eax
  shl    $0x4,%rbp
  mov    %rax,0x30(%rsp)
  nopl   0x0(%rax)
L344:
  mov    0x8(%rsp),%rdi
  mov    (%rbx,%r9,4),%eax
  add    (%rdi),%eax
  movslq %eax,%rsi
  cltd
  imul   $0xffffffffe79372e3,%rsi,%rsi
  shr    $0x20,%rsi
  add    %eax,%esi
  sar    $0x8,%esi
  sub    %edx,%esi
  imul   $0x11b,%esi,%edx
  sub    %edx,%eax
  mov    %eax,%esi
  test   %r14d,%r14d
  jle    L310
  test   %ax,%ax
  jne    L289
  cmpl   $0x2,0x28(%rsp)
  jbe    L147
  xor    %eax,%eax
  nopw   0x0(%rax,%rax,1)
L70:
  movdqu 0x0(%r13,%rax,1),%xmm2
  movdqa %xmm4,%xmm7
  movdqa %xmm5,%xmm8
  paddd  %xmm6,%xmm2
  movdqa %xmm2,%xmm1
  punpckldq %xmm2,%xmm1
  pcmpgtd %xmm1,%xmm7
  pmuludq %xmm1,%xmm8
  movdqa %xmm1,%xmm0
  pmuludq %xmm3,%xmm0
  movdqa %xmm2,%xmm1
  punpckhdq %xmm2,%xmm1
  pmuludq %xmm3,%xmm7
  paddq  %xmm8,%xmm7
  movdqa %xmm5,%xmm8
  psllq  $0x20,%xmm7
  pmuludq %xmm1,%xmm8
  paddq  %xmm7,%xmm0
  movdqa %xmm4,%xmm7
  pcmpgtd %xmm1,%xmm7
  pmuludq %xmm3,%xmm1
  pmuludq %xmm3,%xmm7
  paddq  %xmm8,%xmm7
  psllq  $0x20,%xmm7
  paddq  %xmm7,%xmm1
  shufps $0xdd,%xmm1,%xmm0
  movdqa %xmm2,%xmm1
  paddd  %xmm2,%xmm0
  psrad  $0x1f,%xmm1
  psrad  $0x8,%xmm0
  psubd  %xmm1,%xmm0
  movdqa %xmm0,%xmm1
  pslld  $0x3,%xmm1
  paddd  %xmm0,%xmm1
  pslld  $0x3,%xmm1
  psubd  %xmm0,%xmm1
  pslld  $0x2,%xmm1
  psubd  %xmm0,%xmm1
  psubd  %xmm1,%xmm2
  movups %xmm2,(%r12,%rax,1)
  add    $0x10,%rax
  cmp    %rax,%rbp
  jne    L70
  mov    0x38(%rsp),%eax
  mov    %eax,%ecx
  cmp    %eax,%r14d
  je     L315
L248:
  lea    0x1(%r11,%rcx,1),%esi
  movslq %esi,%rsi
  mov    (%rbx,%rsi,4),%eax
  lea    0x11b(%rax),%edx
  movslq %edx,%rax
  mov    %edx,%edi
  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
  lea    0x1(%rcx),%eax
  mov    %edx,-0x4(%rbx,%rsi,4)
  cmp    %eax,%r14d
  jle    L315
  lea    0x1(%r11,%rax,1),%esi
  add    $0x2,%ecx
  movslq %esi,%rsi
  mov    (%rbx,%rsi,4),%eax
  lea    0x11b(%rax),%edx
  movslq %edx,%rax
  mov    %edx,%edi
  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(%rbx,%rsi,4)
  cmp    %r14d,%ecx
  jge    L315
  lea    0x1(%rcx,%r11,1),%ecx
  movslq %ecx,%rcx
  mov    (%rbx,%rcx,4),%eax
  lea    0x11b(%rax),%edx
  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(%rbx,%rcx,4)
L315:
  xor    %eax,%eax
L48:
  mov    0x10(%rsp),%rdi
  add    $0x1,%r9
  mov    %eax,(%rdi)
  cmp    %r9d,%r11d
  jg     L344
  mov    0x3c(%rsp),%r15d
L128:
  lea    (%r15,%r11,1),%ecx
  cmp    %r11d,%ecx
  jle    L184
  lea    -0x1(%r15),%eax
  cmp    $0x2,%eax
  jbe    L231
  movswq 0x2c(%rsp),%rdx
  movslq 0x18(%rsp),%rax
  pxor   %xmm4,%xmm4
  movdqa D29(%rip),%xmm3
  movdqa %xmm4,%xmm5
  movdqa D30(%rip),%xmm6
  add    %rdx,%rax
  lea    (%rbx,%rax,4),%rdx
  pcmpgtd %xmm3,%xmm5
  mov    %r15d,%eax
  shr    $0x2,%eax
  lea    -0x1(%rax),%esi
  lea    0x10(%rdx),%rax
  shl    $0x4,%rsi
  add    %rax,%rsi
  jmp    L50
  nopl   0x0(%rax,%rax,1)
L51:
  add    $0x10,%rax
L50:
  movdqu (%rdx),%xmm7
  movdqa %xmm6,%xmm2
  movdqa %xmm4,%xmm1
  movdqa %xmm5,%xmm8
  psubd  %xmm7,%xmm2
  movdqa %xmm5,%xmm7
  movdqa %xmm2,%xmm0
  punpckldq %xmm2,%xmm0
  pcmpgtd %xmm0,%xmm1
  pmuludq %xmm0,%xmm7
  pmuludq %xmm3,%xmm0
  pmuludq %xmm3,%xmm1
  paddq  %xmm7,%xmm1
  movdqa %xmm4,%xmm7
  psllq  $0x20,%xmm1
  paddq  %xmm1,%xmm0
  movdqa %xmm2,%xmm1
  punpckhdq %xmm2,%xmm1
  pcmpgtd %xmm1,%xmm7
  pmuludq %xmm1,%xmm8
  pmuludq %xmm3,%xmm1
  pmuludq %xmm3,%xmm7
  paddq  %xmm8,%xmm7
  psllq  $0x20,%xmm7
  paddq  %xmm7,%xmm1
  shufps $0xdd,%xmm1,%xmm0
  movdqa %xmm2,%xmm1
  paddd  %xmm2,%xmm0
  psrad  $0x1f,%xmm1
  psrad  $0x8,%xmm0
  psubd  %xmm1,%xmm0
  movdqa %xmm0,%xmm1
  pslld  $0x3,%xmm1
  paddd  %xmm0,%xmm1
  pslld  $0x3,%xmm1
  psubd  %xmm0,%xmm1
  pslld  $0x2,%xmm1
  psubd  %xmm0,%xmm1
  psubd  %xmm1,%xmm2
  movups %xmm2,(%rdx)
  mov    %rax,%rdx
  cmp    %rsi,%rax
  jne    L51
  mov    %r15d,%eax
  and    $0xfffffffc,%eax
  add    %eax,%r11d
  cmp    %eax,%r15d
  je     L184
L231:
  movslq %r11d,%rsi
  mov    $0x11b,%edx
  shl    $0x2,%rsi
  mov    %edx,%edi
  lea    (%rbx,%rsi,1),%r8
  sub    (%r8),%edi
  movslq %edi,%rax
  mov    %edi,%r9d
  imul   $0xffffffffe79372e3,%rax,%rax
  sar    $0x1f,%r9d
  shr    $0x20,%rax
  add    %edi,%eax
  sar    $0x8,%eax
  sub    %r9d,%eax
  imul   $0x11b,%eax,%eax
  sub    %eax,%edi
  lea    0x1(%r11),%eax
  mov    %edi,(%r8)
  cmp    %eax,%ecx
  jle    L184
  lea    0x4(%rbx,%rsi,1),%r8
  mov    %edx,%edi
  add    $0x2,%r11d
  sub    (%r8),%edi
  movslq %edi,%rax
  mov    %edi,%r9d
  imul   $0xffffffffe79372e3,%rax,%rax
  sar    $0x1f,%r9d
  shr    $0x20,%rax
  add    %edi,%eax
  sar    $0x8,%eax
  sub    %r9d,%eax
  imul   $0x11b,%eax,%eax
  sub    %eax,%edi
  mov    %edi,(%r8)
  cmp    %r11d,%ecx
  jle    L184
  lea    0x8(%rbx,%rsi,1),%rcx
  sub    (%rcx),%edx
  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,(%rcx)
L184:
  mov    0x928(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L354
  add    $0x938,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L289:
  mov    %rdi,%rcx
  mov    0x20(%rsp),%rdi
  movzwl %ax,%r15d
  nopl   0x0(%rax)
L407:
  mov    0x4(%rcx),%eax
  lea    0x11b(%rax),%edx
  movzwl (%rdi),%eax
  test   %ax,%ax
  je     L215
  movzwl 0x280(%rsp,%rax,2),%eax
  movzwl 0x280(%rsp,%r15,2),%r8d
  add    %eax,%r8d
  movslq %r8d,%r8
  movzwl 0x4c0(%rsp,%r8,2),%eax
  sub    %eax,%edx
L215:
  movslq %edx,%rax
  mov    %edx,%r8d
  add    $0x4,%rcx
  sub    $0x2,%rdi
  imul   $0xffffffffe79372e3,%rax,%rax
  sar    $0x1f,%r8d
  shr    $0x20,%rax
  add    %edx,%eax
  sar    $0x8,%eax
  sub    %r8d,%eax
  imul   $0x11b,%eax,%eax
  sub    %eax,%edx
  mov    %edx,-0x4(%rcx)
  cmp    %r10,%rcx
  jne    L407
L151:
  xor    %eax,%eax
  cmpw   $0x0,0x1e(%rsp)
  je     L48
  mov    0x30(%rsp),%rdi
  movzwl %si,%esi
  movzwl 0x280(%rsp,%rsi,2),%eax
  movzwl 0x280(%rsp,%rdi,2),%edx
  add    %edx,%eax
  mov    $0x11b,%edx
  cltq
  movzwl 0x4c0(%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
  jmp    L48
  nopw   0x0(%rax,%rax,1)
L310:
  test   %ax,%ax
  je     L315
  jmp    L151
L27:
  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    L78
L147:
  xor    %ecx,%ecx
  jmp    L248
L376:
  sub    %rsi,%rcx
  movslq %edx,%rax
  lea    (%rbx,%rcx,4),%rcx
  nopl   (%rax)
L278:
  mov    (%rbx,%rax,4),%edx
  mov    %edx,0x4(%rcx,%rax,4)
  sub    $0x1,%rax
  test   %eax,%eax
  jns    L278
  jmp    L260
L343:
  movswl 0x2c(%rsp),%r11d
  mov    $0x119,%r13d
  mov    %r11d,%edx
  sub    $0x1,%edx
  jns    L225
  movl   $0x11a,0x18(%rsp)
  jmp    L12
L355:
  mov    %eax,%eax
  movl   $0x0,(%rbx)
  movl   $0x0,-0x4(%rbx,%rax,1)
  jmp    L78
L354:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_label: D29
type_guessed: byte[16]
name: read_data
arguments: data_label: D30
type_guessed: byte[16]

tool: {"D29": [0xe3,0x72,0x93,0xe7,0xe3,0x72,0x93,0xe7,0xe3,0x72,0x93,0xe7,0xe3,0x72,0x93,0xe7]}

tool: {"D30": [0x1b,0x01,0x00,0x00,0x1b,0x01,0x00,0x00,0x1b,0x01,0x00,0x00,0x1b,0x01,0x00,0x00]}

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