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

```asm
<main>:
  endbr64
  push   %r13
  mov    $0x4,%esi
  mov    $0x1312d00,%edi
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x18,%rsp
  call   <calloc@plt>
  mov    $0x4,%esi
  mov    $0x1312d00,%edi
  mov    %rax,%rbp
  call   <calloc@plt>
  mov    %rax,%rbx
  lea    0x4(%rax),%rdx
  mov    %rbp,%rax
  sub    %rdx,%rax
  lea    0x4c4b400(%rbx),%rcx
  cmp    $0x8,%rax
  mov    %rbx,%rax
  jbe    L199
  mov    %rbp,%rdx
  movdqa D1(%rip),%xmm0
  sub    %rbx,%rdx
  xchg   %ax,%ax
L7:
  movups %xmm0,(%rax)
  movups %xmm0,(%rdx,%rax,1)
  add    $0x10,%rax
  cmp    %rcx,%rax
  jne    L7
L12:
  xor    %eax,%eax
  call   <omp_get_wtime@plt>
  xor    %eax,%eax
  movsd  %xmm0,0x8(%rsp)
  call   <omp_get_thread_num@plt>
  mov    %eax,%r13d
  xor    %eax,%eax
  call   <omp_get_num_threads@plt>
  mov    %eax,%r12d
  test   %r13d,%r13d
  je     L191
  imul   $0x1312d00,%r13d,%esi
  mov    %esi,%eax
  cltd
  idiv   %r12d
  lea    -0x1(%r12),%edx
  mov    %eax,%ecx
  mov    $0x1312d00,%eax
  cmp    %r13d,%edx
  je     L60
  lea    0x1312d00(%rsi),%eax
  cltd
  idiv   %r12d
L60:
  cmp    %ecx,%eax
  jle    L195
L160:
  movslq %ecx,%r8
  mov    %eax,%edi
  lea    0x0(,%r8,4),%rsi
  sub    %ecx,%edi
  lea    0x0(%rbp,%rsi,1),%rdx
  lea    0x4(%rbx,%rsi,1),%r9
  mov    %rdx,%rsi
  sub    %r9,%rsi
  cmp    $0x8,%rsi
  jbe    L6
  cmp    $0x1,%edi
  setne  %r9b
  cmp    %eax,%ecx
  setl   %sil
  test   %sil,%r9b
  je     L6
  cmp    %eax,%ecx
  mov    $0x1,%esi
  cmovl  %edi,%esi
  sub    $0x1,%edi
  cmp    $0x2,%edi
  jbe    L103
  mov    %esi,%eax
  mov    %rbx,%r9
  shr    $0x2,%eax
  sub    %rbp,%r9
  lea    -0x1(%rax),%edi
  lea    0x10(%rdx),%rax
  shl    $0x4,%rdi
  add    %rax,%rdi
  jmp    L111
  nopw   0x0(%rax,%rax,1)
L92:
  add    $0x10,%rax
L111:
  movdqu (%r9,%rdx,1),%xmm0
  movdqu (%rdx),%xmm2
  paddd  %xmm2,%xmm0
  movups %xmm0,(%rdx)
  mov    %rax,%rdx
  cmp    %rdi,%rax
  jne    L92
  mov    %esi,%eax
  and    $0xfffffffc,%eax
  add    %eax,%ecx
  cmp    %eax,%esi
  je     L195
L65:
  sub    %eax,%esi
  cmp    $0x1,%esi
  je     L25
  add    %r8,%rax
  lea    0x0(%rbp,%rax,4),%rdx
  movq   (%rbx,%rax,4),%xmm0
  mov    %esi,%eax
  movq   (%rdx),%xmm1
  and    $0xfffffffe,%eax
  add    %eax,%ecx
  paddd  %xmm1,%xmm0
  movq   %xmm0,(%rdx)
  cmp    %eax,%esi
  je     L195
L25:
  movslq %ecx,%rcx
  mov    (%rbx,%rcx,4),%eax
  add    %eax,0x0(%rbp,%rcx,4)
L195:
  xor    %eax,%eax
  call   <omp_get_wtime@plt>
  subsd  0x8(%rsp),%xmm0
  mov    $0x1312d00,%esi
  lea    D6(%rip),%rdi
  call   <printf@plt>
  add    $0x18,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L191:
  pxor   %xmm0,%xmm0
  mov    $0x1312d00,%esi
  lea    D17(%rip),%rdi
  cvtsi2sd %eax,%xmm0
  call   <printf@plt>
  cmp    $0x1,%r12d
  je     L75
  mov    $0x1312d00,%eax
  xor    %ecx,%ecx
  cltd
  idiv   %r12d
  jmp    L60
L199:
  mov    %rbp,%rdx
  sub    %rbx,%rdx
  nopl   (%rax)
L16:
  movl   $0x1,(%rax)
  movl   $0x1,(%rdx,%rax,1)
  add    $0x4,%rax
  cmp    %rcx,%rax
  jne    L16
  jmp    L12
L6:
  sub    %rbp,%rbx
  xchg   %ax,%ax
L194:
  add    $0x1,%ecx
  mov    (%rbx,%rdx,1),%esi
  add    %esi,(%rdx)
  add    $0x4,%rdx
  cmp    %ecx,%eax
  jg     L194
  jmp    L195
L75:
  xor    %ecx,%ecx
  mov    $0x1312d00,%eax
  jmp    L160
L103:
  xor    %eax,%eax
  jmp    L65
```

tool_calls: name: unpack_data
arguments: data_label: D1
type_infered: byte[16]
name: unpack_data
arguments: data_label: D6
type_infered: string
name: unpack_data
arguments: data_label: D17
type_infered: string

tool: {"D1": [0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00]}

tool: D6: Soma de %d numeros em tempo: %.4f segundos.


tool: D17: Soma de %d numeros com %d threads


assistant: ```c
int main(void) {
  int N = 20000000;
  double t0, t1, tdelta;
  int *a, *b;
  int i;
  a = (int *)calloc(20000000, sizeof(int));
  b = (int *)calloc(20000000, sizeof(int));
  for (i = 0; i < N; i++) {
    a[i] = b[i] = 1;
  }
  t0 = omp_get_wtime();
#pragma omp parallel
  {
    int id, i, nthreads, istart, iend;
    id = omp_get_thread_num();
    nthreads = omp_get_num_threads();
    if (id == 0)
      printf("Soma de %d numeros com %d threads\n", N, nthreads);
    istart = id * N / nthreads;
    iend = (id + 1) * N / nthreads;
    if (id == nthreads - 1)
      iend = N;
    for (i = istart; i < iend; i++)
      a[i] = a[i] + b[i];
  }
  t1 = omp_get_wtime();
  tdelta = t1 - t0;
  printf("Soma de %d numeros em tempo: %.4f segundos.\n", N, tdelta);
  return 0;
}
```