user: Converte this assembly snippet into its equivalent C code:

```asm
<main>:
  endbr64
  push   %r15
  mov    $0xa,%ecx
  mov    $0xd,%edx
  lea    D93(%rip),%rsi
  push   %r14
  lea    D47(%rip),%rdi
  push   %r13
  push   %r12
  push   %rbp
  lea    D86(%rip),%rbp
  push   %rbx
  lea    D57(%rip),%rbx
  sub    $0x78,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  mov    %rsp,%r12
  call   <printf@plt>
  lea    D58(%rip),%rdi
  call   <puts@plt>
  lea    D6(%rip),%rdi
  call   <getenv@plt>
  mov    %rbp,%rdi
  mov    %rax,%r14
  mov    %rax,%rsi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r14,%rdi
  call   <urldecode@plt>
  mov    %r14,%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %r14,%rdi
  mov    %r14,(%rsp)
  call   <strlen@plt>
  mov    %eax,%r13d
  test   %r14,%r14
  je     L63
  nopl   (%rax)
L23:
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <strsep@plt>
  test   %rax,%rax
  jne    L23
  movslq %r13d,%rax
  mov    %r14,(%rsp)
  lea    (%r14,%rax,1),%r12
  cmp    %r12,%r14
  jae    L22
  lea    0x8(%rsp),%r15
  lea    D71(%rip),%r13
  lea    0x10(%rsp),%rbx
  nopl   (%rax)
L72:
  mov    %r14,%rdi
  mov    %r14,0x8(%rsp)
  call   <strlen@plt>
  cltq
  add    (%rsp),%rax
  mov    %rax,(%rsp)
  cmp    %r12,%rax
  jb     L54
  jmp    L44
  xchg   %ax,%ax
L61:
  add    $0x1,%rax
  mov    %rax,(%rsp)
  cmp    %r12,%rax
  je     L44
L54:
  cmpb   $0x0,(%rax)
  je     L61
L44:
  lea    D67(%rip),%rsi
  mov    %r15,%rdi
  call   <strsep@plt>
  mov    %rax,%rdi
  call   <puts@plt>
  mov    0x8(%rsp),%rdi
  call   <puts@plt>
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x8(%rsp),%rdx
  lea    D44(%rip),%rsi
  mov    %rbx,%rdi
  call   <sprintf@plt>
  mov    %rbx,%rsi
  mov    %rbp,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbx,%rdi
  call   <system@plt>
  mov    (%rsp),%r14
  cmp    %r12,%r14
  jb     L72
L22:
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L25
  add    $0x78,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L63:
  lea    D64(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L22
L25:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D93
datatype: string
name: extract_symbolic_data
arguments: label: D47
datatype: string
name: extract_symbolic_data
arguments: label: D86
datatype: string
name: extract_symbolic_data
arguments: label: D57
datatype: string
name: extract_symbolic_data
arguments: label: D58
datatype: string
name: extract_symbolic_data
arguments: label: D6
datatype: string
name: extract_symbolic_data
arguments: label: D71
datatype: string
name: extract_symbolic_data
arguments: label: D67
datatype: string
name: extract_symbolic_data
arguments: label: D44
datatype: string
name: extract_symbolic_data
arguments: label: D64
datatype: string

tool: D93: Content-Type:text/html;charset=utf-8

tool: D47: %s%c%c


tool: D86: %s

tool: D57: &

tool: D58: <TITLE>Uploading</TITLE>

tool: D6: QUERY_STRING

tool: D71: <br/>

tool: D67: =

tool: D44: sh upload.sh %s

tool: D64: <p>Error!Error in passing data from form to script.

assistant: ```c
int main(int argc, char *argv[]) {
  char *data = NULL;
  int len, nel;
  char *q, *value, *name;
  char cmd[80];
  char username[80][80];
  printf("%s%c%c\n", "Content-Type:text/html;charset=utf-8", 13, 10);
  printf("<TITLE>Uploading</TITLE>\n");
  data = getenv("QUERY_STRING");
  printf("%s", data);
  urldecode(data);
  printf("%s", data);
  q = data;
  nel = 0;
  len = strlen(data);
  int i = 0;
  if (data == NULL)
    printf("<p>Error!Error in passing data from form to script.");
  else {
    while (strsep(&q, "&"))
      nel++;
    for (q = data; q < (data + len);) {
      value = name = q;
      for (q += strlen(q); q < (data + len) && !*q; q++)
        ;
      name = strsep(&value, "=");
      printf("%s\n", name);
      printf("%s\n", value);
      printf("<br/>");
      sprintf(cmd, "sh upload.sh %s", value);
      printf("%s", cmd);
      system(cmd);
    }
  }
  return 0;
}
```