user: 请将以下的汇编代码转换成C语言代码:

```asm
<rec>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0x600000(%rsp),%r11
L116:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L116
  sub    $0x48,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x600038(%rsp)
  xor    %eax,%eax
  test   %edi,%edi
  je     L197
  movd   %edi,%xmm7
  lea    0x30(%rsp),%rbx
  mov    %edi,%ecx
  movdqa D17(%rip),%xmm3
  pshufd $0x0,%xmm7,%xmm5
  movdqa D8(%rip),%xmm2
  lea    0x100030(%rsp),%r12
  mov    %rbx,%rax
  movdqa %xmm5,%xmm6
  movdqa %xmm3,%xmm4
  psrlq  $0x20,%xmm6
  xchg   %ax,%ax
L71:
  movdqa %xmm4,%xmm0
  add    $0x10,%rax
  paddd  %xmm2,%xmm4
  movdqa %xmm0,%xmm1
  psrlq  $0x20,%xmm0
  pmuludq %xmm5,%xmm1
  pmuludq %xmm6,%xmm0
  pshufd $0x8,%xmm1,%xmm1
  pshufd $0x8,%xmm0,%xmm0
  punpckldq %xmm0,%xmm1
  movaps %xmm1,-0x10(%rax)
  cmp    %r12,%rax
  jne    L71
  mov    %ecx,%edx
  sub    $0x1,%edx
  je     L102
  movd   %edx,%xmm7
  mov    %r12,%rbp
  movdqa %xmm3,%xmm5
  mov    %r12,%rax
  pshufd $0x0,%xmm7,%xmm4
  lea    0x200030(%rsp),%r14
  movdqa %xmm4,%xmm6
  psrlq  $0x20,%xmm6
  nopl   0x0(%rax,%rax,1)
L188:
  movdqa %xmm5,%xmm0
  add    $0x10,%rax
  paddd  %xmm2,%xmm5
  movdqa %xmm0,%xmm1
  psrlq  $0x20,%xmm0
  pmuludq %xmm4,%xmm1
  pmuludq %xmm6,%xmm0
  pshufd $0x8,%xmm1,%xmm1
  pshufd $0x8,%xmm0,%xmm0
  punpckldq %xmm0,%xmm1
  movaps %xmm1,-0x10(%rax)
  cmp    %rax,%r14
  jne    L188
  mov    %ecx,%eax
  sub    $0x2,%eax
  je     L162
  movd   %eax,%xmm7
  mov    %r14,%r13
  movdqa %xmm3,%xmm5
  mov    %r14,%rax
  pshufd $0x0,%xmm7,%xmm4
  lea    0x300030(%rsp),%rsi
  movdqa %xmm4,%xmm6
  psrlq  $0x20,%xmm6
  nopl   0x0(%rax,%rax,1)
L79:
  movdqa %xmm5,%xmm0
  add    $0x10,%rax
  paddd  %xmm2,%xmm5
  movdqa %xmm0,%xmm1
  psrlq  $0x20,%xmm0
  pmuludq %xmm4,%xmm1
  pmuludq %xmm6,%xmm0
  pshufd $0x8,%xmm1,%xmm1
  pshufd $0x8,%xmm0,%xmm0
  punpckldq %xmm0,%xmm1
  movaps %xmm1,-0x10(%rax)
  cmp    %rax,%rsi
  jne    L79
  mov    %ecx,%edx
  sub    $0x3,%edx
  je     L56
  movd   %edx,%xmm7
  mov    %rsi,%r15
  movdqa %xmm3,%xmm5
  mov    %rsi,%rax
  pshufd $0x0,%xmm7,%xmm4
  lea    0x400030(%rsp),%r8
  movdqa %xmm4,%xmm6
  psrlq  $0x20,%xmm6
  nopl   0x0(%rax,%rax,1)
L9:
  movdqa %xmm5,%xmm0
  add    $0x10,%rax
  paddd  %xmm2,%xmm5
  movdqa %xmm0,%xmm1
  psrlq  $0x20,%xmm0
  pmuludq %xmm4,%xmm1
  pmuludq %xmm6,%xmm0
  pshufd $0x8,%xmm1,%xmm1
  pshufd $0x8,%xmm0,%xmm0
  punpckldq %xmm0,%xmm1
  movaps %xmm1,-0x10(%rax)
  cmp    %rax,%r8
  jne    L9
  mov    %ecx,%eax
  sub    $0x4,%eax
  je     L161
  movd   %eax,%xmm7
  mov    %r8,%rdx
  movdqa %xmm3,%xmm5
  mov    %r8,%rax
  pshufd $0x0,%xmm7,%xmm4
  lea    0x500030(%rsp),%r10
  movdqa %xmm4,%xmm6
  psrlq  $0x20,%xmm6
  nopl   0x0(%rax,%rax,1)
L105:
  movdqa %xmm5,%xmm0
  add    $0x10,%rax
  paddd  %xmm2,%xmm5
  movdqa %xmm0,%xmm1
  psrlq  $0x20,%xmm0
  pmuludq %xmm4,%xmm1
  pmuludq %xmm6,%xmm0
  pshufd $0x8,%xmm1,%xmm1
  pshufd $0x8,%xmm0,%xmm0
  punpckldq %xmm0,%xmm1
  movaps %xmm1,-0x10(%rax)
  cmp    %rax,%r10
  jne    L105
  mov    %ecx,%edi
  sub    $0x5,%edi
  je     L78
  movd   %edi,%xmm7
  mov    %r10,%r9
  lea    0x600030(%rsp),%r11
  mov    %r10,%rax
  pshufd $0x0,%xmm7,%xmm4
  movdqa %xmm4,%xmm5
  psrlq  $0x20,%xmm5
  nop
L31:
  movdqa %xmm3,%xmm0
  add    $0x10,%rax
  paddd  %xmm2,%xmm3
  movdqa %xmm0,%xmm1
  psrlq  $0x20,%xmm0
  pmuludq %xmm4,%xmm1
  pmuludq %xmm5,%xmm0
  pshufd $0x8,%xmm1,%xmm1
  pshufd $0x8,%xmm0,%xmm0
  punpckldq %xmm0,%xmm1
  movaps %xmm1,-0x10(%rax)
  cmp    %rax,%r11
  jne    L31
  lea    -0x6(%rcx),%edi
  mov    %r8,0x28(%rsp)
  mov    %r10,0x20(%rsp)
  mov    %rsi,0x18(%rsp)
  mov    %r9,0x10(%rsp)
  mov    %r11,0x8(%rsp)
  mov    %rdx,(%rsp)
  call   <rec>
  mov    0x28(%rsp),%r8
  mov    0x20(%rsp),%r10
  pxor   %xmm0,%xmm0
  mov    0x18(%rsp),%rsi
  mov    0x10(%rsp),%r9
  mov    0x8(%rsp),%r11
  mov    (%rsp),%rdx
  nopw   0x0(%rax,%rax,1)
L75:
  paddd  (%r9),%xmm0
  add    $0x10,%r9
  cmp    %r9,%r11
  jne    L75
  movdqa %xmm0,%xmm1
  psrldq $0x8,%xmm1
  paddd  %xmm1,%xmm0
  movdqa %xmm0,%xmm1
  psrldq $0x4,%xmm1
  paddd  %xmm1,%xmm0
  movd   %xmm0,%edi
  add    %eax,%edi
L78:
  pxor   %xmm0,%xmm0
  nopw   0x0(%rax,%rax,1)
L160:
  paddd  (%rdx),%xmm0
  add    $0x10,%rdx
  cmp    %r10,%rdx
  jne    L160
  movdqa %xmm0,%xmm1
  psrldq $0x8,%xmm1
  paddd  %xmm1,%xmm0
  movdqa %xmm0,%xmm1
  psrldq $0x4,%xmm1
  paddd  %xmm1,%xmm0
  movd   %xmm0,%eax
  add    %edi,%eax
L161:
  pxor   %xmm0,%xmm0
  nopl   0x0(%rax)
L151:
  paddd  (%r15),%xmm0
  add    $0x10,%r15
  cmp    %r15,%r8
  jne    L151
  movdqa %xmm0,%xmm1
  psrldq $0x8,%xmm1
  paddd  %xmm1,%xmm0
  movdqa %xmm0,%xmm1
  psrldq $0x4,%xmm1
  paddd  %xmm1,%xmm0
  movd   %xmm0,%edx
  add    %eax,%edx
L56:
  pxor   %xmm0,%xmm0
  nopw   0x0(%rax,%rax,1)
L34:
  paddd  0x0(%r13),%xmm0
  add    $0x10,%r13
  cmp    %rsi,%r13
  jne    L34
  movdqa %xmm0,%xmm1
  psrldq $0x8,%xmm1
  paddd  %xmm1,%xmm0
  movdqa %xmm0,%xmm1
  psrldq $0x4,%xmm1
  paddd  %xmm1,%xmm0
  movd   %xmm0,%eax
  add    %edx,%eax
L162:
  pxor   %xmm0,%xmm0
  nopl   0x0(%rax,%rax,1)
L29:
  paddd  0x0(%rbp),%xmm0
  add    $0x10,%rbp
  cmp    %r14,%rbp
  jne    L29
  movdqa %xmm0,%xmm1
  psrldq $0x8,%xmm1
  paddd  %xmm1,%xmm0
  movdqa %xmm0,%xmm1
  psrldq $0x4,%xmm1
  paddd  %xmm1,%xmm0
  movd   %xmm0,%edx
  add    %eax,%edx
L102:
  pxor   %xmm0,%xmm0
  nopw   0x0(%rax,%rax,1)
L16:
  paddd  (%rbx),%xmm0
  add    $0x10,%rbx
  cmp    %r12,%rbx
  jne    L16
  movdqa %xmm0,%xmm1
  psrldq $0x8,%xmm1
  paddd  %xmm1,%xmm0
  movdqa %xmm0,%xmm1
  psrldq $0x4,%xmm1
  paddd  %xmm1,%xmm0
  movd   %xmm0,%eax
  add    %edx,%eax
L197:
  mov    0x600038(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L143
  add    $0x600048,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L143:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: tag: D17
type_infered: byte[16]
name: disassemble_data
arguments: tag: D8
type_infered: byte[16]

tool: {"D17": [0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x00,0x00,0x00]}

tool: {"D8": [0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00]}

assistant: ```c
int rec(int depth) {
  int i, zzz;
  int arr[(1048576 / sizeof(int))];
  if (depth == 0)
    return 0;
  for (i = 0; i < (1048576 / sizeof(int)); i++)
    arr[i] = i * depth;
  zzz = rec(depth - 1);
  for (i = 0; i < (1048576 / sizeof(int)); i++)
    zzz += arr[i];
  return zzz;
}
```