user: What is the c source code of the assembly code below:

```asm
<memdump_main>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x2e8,%rsp
  movdqa D95(%rip),%xmm0
  movdqa D77(%rip),%xmm3
  mov    %fs:0x28,%rax
  mov    %rax,0x2d8(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x40(%rsp)
  lea    0x150(%rsp),%r15
  movdqa D116(%rip),%xmm9
  movaps %xmm0,0x10(%rsp)
  movdqa D111(%rip),%xmm0
  movdqa D35(%rip),%xmm8
  mov    %r15,%rax
  movdqa D43(%rip),%xmm7
  movdqa D124(%rip),%xmm6
  lea    0x2d0(%rsp),%rbp
  movaps %xmm0,0x20(%rsp)
  movdqa D80(%rip),%xmm0
  movdqa D13(%rip),%xmm5
  movaps %xmm0,0x30(%rsp)
  nopl   0x0(%rax)
L1:
  movdqa %xmm3,%xmm2
  add    $0x10,%rax
  paddd  %xmm9,%xmm3
  movdqa %xmm2,%xmm4
  movdqa %xmm2,%xmm1
  movdqa %xmm2,%xmm0
  paddd  %xmm8,%xmm4
  punpcklwd %xmm4,%xmm1
  punpckhwd %xmm4,%xmm0
  movdqa %xmm1,%xmm4
  punpcklwd %xmm0,%xmm1
  punpckhwd %xmm0,%xmm4
  movdqa %xmm2,%xmm0
  paddd  %xmm6,%xmm2
  paddd  %xmm7,%xmm0
  punpcklwd %xmm4,%xmm1
  movdqa %xmm0,%xmm4
  punpcklwd %xmm2,%xmm0
  pand   %xmm5,%xmm1
  punpckhwd %xmm2,%xmm4
  movdqa %xmm0,%xmm2
  punpckhwd %xmm4,%xmm2
  punpcklwd %xmm4,%xmm0
  punpcklwd %xmm2,%xmm0
  pand   %xmm5,%xmm0
  packuswb %xmm0,%xmm1
  movaps %xmm1,-0x10(%rax)
  cmp    %rax,%rbp
  jne    L1
  lea    0x44(%rsp),%rax
  lea    0x10(%rsp),%r14
  mov    %rax,0x8(%rsp)
  lea    0x50(%rsp),%r13
  lea    D27(%rip),%r12
  xchg   %ax,%ax
L31:
  mov    (%r14),%edx
  mov    $0x100,%r8d
  mov    %r13,%rcx
  mov    %r15,%rdi
  mov    $0x10,%esi
  call   <csc_memdump_line@plt>
  mov    %r13,%rsi
  mov    %r12,%rdi
  mov    %eax,%ebx
  xor    %eax,%eax
  call   <slog_csoup_format@plt>
  xor    %edi,%edi
  mov    $0x8,%esi
  mov    %eax,%edx
  call   <slog_csoup_puts@plt>
  mov    %r13,%rdi
  call   <strlen@plt>
  cmp    %eax,%ebx
  jne    L9
  add    $0x4,%r14
  cmp    %r14,0x8(%rsp)
  jne    L31
L39:
  mov    %r13,%rcx
  mov    $0x20002,%edx
  mov    $0x10,%esi
  mov    %rbp,%rdi
  mov    $0x100,%r8d
  call   <csc_memdump_line@plt>
  mov    %r13,%rsi
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <slog_csoup_format@plt>
  mov    $0x8,%esi
  xor    %edi,%edi
  mov    %eax,%edx
  call   <slog_csoup_puts@plt>
  xor    %r8d,%r8d
  xor    %ecx,%ecx
  mov    $0x20002,%edx
  mov    $0x10,%esi
  mov    %rbp,%rdi
  call   <csc_memdump_line@plt>
  lea    D66(%rip),%rdi
  mov    %eax,%esi
  xor    %eax,%eax
  call   <slog_csoup_format@plt>
  mov    $0x8,%esi
  xor    %edi,%edi
  mov    %eax,%edx
  call   <slog_csoup_puts@plt>
  xor    %ecx,%ecx
  mov    $0x10,%edx
  mov    %r15,%rdi
  mov    $0x180,%esi
  call   <csc_memdump@plt>
  mov    $0xb002,%ecx
  mov    $0x4,%edx
  mov    %r15,%rdi
  mov    $0x180,%esi
  call   <csc_memdump@plt>
  mov    $0x20000,%ecx
  mov    $0x10,%edx
  mov    %rbp,%rdi
  mov    $0x180,%esi
  call   <csc_memdump@plt>
  sub    $0x8,%rsp
  mov    $0x2,%ecx
  xor    %eax,%eax
  push   $0x8
  mov    $0x4,%r9d
  mov    $0x8,%r8d
  mov    $0x8,%edx
  mov    $0x4,%esi
  lea    D112(%rip),%rdi
  call   <slog_csoup_format@plt>
  mov    $0x8,%esi
  xor    %edi,%edi
  mov    %eax,%edx
  call   <slog_csoup_puts@plt>
  pop    %rax
  pop    %rdx
  mov    0x2d8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L30
  add    $0x2e8,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L9:
  lea    D38(%rip),%rdi
  xor    %eax,%eax
  call   <slog_csoup_format@plt>
  mov    $0x8,%esi
  xor    %edi,%edi
  mov    %eax,%edx
  call   <slog_csoup_puts@plt>
  jmp    L39
L30:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: tag: D95
datatype: byte[16]
name: extract_symbolic_data
arguments: tag: D77
datatype: byte[16]
name: extract_symbolic_data
arguments: tag: D116
datatype: byte[16]
name: extract_symbolic_data
arguments: tag: D111
datatype: byte[16]
name: extract_symbolic_data
arguments: tag: D35
datatype: byte[16]
name: extract_symbolic_data
arguments: tag: D43
datatype: byte[16]
name: extract_symbolic_data
arguments: tag: D124
datatype: byte[16]
name: extract_symbolic_data
arguments: tag: D80
datatype: byte[16]
name: extract_symbolic_data
arguments: tag: D13
datatype: byte[16]
name: extract_symbolic_data
arguments: tag: D27
datatype: string
name: extract_symbolic_data
arguments: tag: D66
datatype: string
name: extract_symbolic_data
arguments: tag: D112
datatype: string
name: extract_symbolic_data
arguments: tag: D38
datatype: string

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

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

tool: {"D116": [0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00]}

tool: {"D111": [0x55,0x00,0x00,0x00,0x10,0x43,0x01,0x00,0x20,0x00,0x00,0x00,0x33,0x00,0x00,0x00]}

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

tool: {"D43": [0x08,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x08,0x00,0x00,0x00]}

tool: {"D124": [0x0c,0x00,0x00,0x00,0x0c,0x00,0x00,0x00,0x0c,0x00,0x00,0x00,0x0c,0x00,0x00,0x00]}

tool: {"D80": [0x40,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x80,0x00,0x00]}

tool: {"D13": [0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00]}

tool: D27: %s


tool: D66: SIZE=%d


tool: D112: Sizeof: int=%ld long=%ld short=%ld longlong=%ld float=%d double=%d


tool: D38: BOOM!


assistant: ```c
int memdump_main(void *rtime, int argc, char **argv) {
  char user[384], buf[256];
  int i, len;
  int flags[] = {1, 2, 3, 4 | 0x50, 5 | 0x50, 0x10 | (((3) << 8) & 0xf00) | 0x10000 | 0x4000, 0x20, 0x30 | 3, 0x40, 0x1000, 0x2000, 0x8000, 0};
  (void)rtime;
  (void)argc;
  (void)argv;
  for (i = 0; i < (int)sizeof(user); user[i] = i, i++)
    ;
  for (i = 0; i < (int)(sizeof(flags) / sizeof(int)); i++) {
    len = csc_memdump_line(user, 16, flags[i], buf, sizeof(buf));
    slog_csoup_puts(0, (8 | 0), slog_csoup_format("%s\n", buf));
    if (len != (int)strlen(buf)) {
      slog_csoup_puts(0, (8 | 0), slog_csoup_format("BOOM!\n"));
      break;
    }
  }
  csc_memdump_line(user + sizeof(user), 16, 2 | 0x20000, buf, sizeof(buf));
  slog_csoup_puts(0, (8 | 0), slog_csoup_format("%s\n", buf));
  slog_csoup_puts(0, (8 | 0), slog_csoup_format("SIZE=%d\n", csc_memdump_line(user + sizeof(user), 16, 2 | 0x20000, NULL, 0)));
  csc_memdump(user, sizeof(user), 16, 0);
  csc_memdump(user, sizeof(user), 4, 2 | 0x1000 | 0x2000 | 0x8000);
  csc_memdump(user + sizeof(user), sizeof(user), 16, 0x20000);
  slog_csoup_puts(0, (8 | 0), slog_csoup_format("Sizeof: int=%ld long=%ld short=%ld longlong=%ld float=%d double=%d\n", sizeof(int), sizeof(long), sizeof(short), sizeof(long long), sizeof(float), sizeof(double)));
  return 0;
}
```