user: 下面的汇编指令对应的C源代码是什么:

```asm
<accept_loop>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0x4000(%rsp),%r11
L12:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L12
  sub    $0x138,%rsp
  mov    $0x1fe,%ecx
  pxor   %xmm0,%xmm0
  mov    %fs:0x28,%rax
  mov    %rax,0x4128(%rsp)
  xor    %eax,%eax
  mov    %edi,%ebx
  lea    0x130(%rsp),%rdi
  movaps %xmm0,0x120(%rsp)
  movaps %xmm0,0x1120(%rsp)
  movaps %xmm0,0x2120(%rsp)
  movaps %xmm0,0x3120(%rsp)
  rep stos %rax,%es:(%rdi)
  lea    0x1130(%rsp),%rdi
  mov    $0x1fe,%ecx
  rep stos %rax,%es:(%rdi)
  lea    0x2130(%rsp),%rdi
  mov    $0x1fe,%ecx
  rep stos %rax,%es:(%rdi)
  lea    0x3130(%rsp),%rdi
  mov    $0x1fe,%ecx
  rep stos %rax,%es:(%rdi)
  lea    0x10(%rsp),%rax
  mov    %rax,0x8(%rsp)
  lea    0x18(%rsp),%rax
  mov    %rax,(%rsp)
  jmp    L22
  nop
L34:
  mov    0x1c(%rsp),%edi
  lea    0x20(%rsp),%r12
  lea    0x2120(%rsp),%r13
  lea    0xa0(%rsp),%r15
  call   <inet_ntoa@plt>
  mov    0x18(%rsp),%edi
  mov    %rax,%rbp
  call   <ntohs@plt>
  mov    %rbp,%rsi
  lea    D32(%rip),%rdi
  lea    0x120(%rsp),%rbp
  mov    %eax,%edx
  xor    %eax,%eax
  call   <printf@plt>
  xor    %esi,%esi
  mov    %rbp,%rdi
  mov    $0x1000,%edx
  call   <memset@plt>
  xor    %ecx,%ecx
  mov    %rbp,%rsi
  mov    $0x1000,%edx
  mov    %r14d,%edi
  call   <recv@plt>
  lea    D95(%rip),%rdi
  call   <puts@plt>
  mov    %rbp,%rdi
  lea    0x3120(%rsp),%rbp
  call   <puts@plt>
  lea    D90(%rip),%rdi
  call   <puts@plt>
  xor    %edi,%edi
  call   <time@plt>
  lea    0x14(%rsp),%rdi
  mov    %eax,0x14(%rsp)
  call   <gmtime@plt>
  lea    D120(%rip),%rdx
  mov    %r12,%rdi
  mov    $0x80,%esi
  mov    %rax,%rcx
  call   <strftime@plt>
  lea    D59(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcpy@plt>
  lea    D188(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  lea    D18(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  lea    D79(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  lea    D69(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  lea    D150(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  lea    D172(%rip),%r12
  call   <strcat@plt>
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  lea    D24(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  lea    D162(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcat@plt>
  lea    D186(%rip),%rsi
  mov    %r13,%rdi
  call   <strcpy@plt>
  lea    D85(%rip),%rsi
  mov    %r13,%rdi
  call   <strcat@plt>
  mov    %rbp,%rdi
  call   <strlen@plt>
  mov    %r15,%rdi
  lea    D93(%rip),%rsi
  mov    %eax,%edx
  call   <sprintf@plt>
  mov    %r15,%rsi
  mov    %r13,%rdi
  lea    0x1120(%rsp),%r15
  call   <strcat@plt>
  mov    %r12,%rsi
  mov    %r13,%rdi
  call   <strcat@plt>
  lea    D42(%rip),%rsi
  mov    %r13,%rdi
  call   <strcat@plt>
  lea    D19(%rip),%rsi
  mov    %r13,%rdi
  call   <strcat@plt>
  mov    %r13,%rsi
  mov    %r15,%rdi
  call   <strcpy@plt>
  mov    %r12,%rsi
  mov    %r15,%rdi
  call   <strcat@plt>
  mov    %rbp,%rsi
  mov    %r15,%rdi
  call   <strcat@plt>
  mov    %r15,%rdi
  call   <strlen@plt>
  mov    %r14d,%edi
  xor    %ecx,%ecx
  mov    %r15,%rsi
  mov    %eax,%edx
  call   <send@plt>
  mov    %r14d,%edi
  call   <close@plt>
L22:
  mov    0x8(%rsp),%rdx
  mov    (%rsp),%rsi
  mov    %ebx,%edi
  movl   $0x8,0x10(%rsp)
  call   <accept@plt>
  mov    %eax,%r14d
  test   %eax,%eax
  jns    L34
  lea    D179(%rip),%rdi
  call   <perror@plt>
  mov    0x4128(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L9
  add    $0x4138,%rsp
  mov    $0xffffffff,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L9:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D32
type_guessed: string
name: parse_data
arguments: label: D95
type_guessed: string
name: parse_data
arguments: label: D90
type_guessed: string
name: parse_data
arguments: label: D120
type_guessed: string
name: parse_data
arguments: label: D59
type_guessed: string
name: parse_data
arguments: label: D188
type_guessed: string
name: parse_data
arguments: label: D18
type_guessed: string
name: parse_data
arguments: label: D79
type_guessed: string
name: parse_data
arguments: label: D69
type_guessed: string
name: parse_data
arguments: label: D150
type_guessed: string
name: parse_data
arguments: label: D172
type_guessed: string
name: parse_data
arguments: label: D24
type_guessed: string
name: parse_data
arguments: label: D162
type_guessed: string
name: parse_data
arguments: label: D186
type_guessed: string
name: parse_data
arguments: label: D85
type_guessed: string
name: parse_data
arguments: label: D93
type_guessed: string
name: parse_data
arguments: label: D42
type_guessed: string
name: parse_data
arguments: label: D19
type_guessed: string
name: parse_data
arguments: label: D179
type_guessed: string

tool: D32: accept!(IPAddress = %s, Port = %hu)


tool: D95: ----- recv begin -----

tool: D90: ----- recv end -----

tool: D120: %Y/%m/%d %H:%M:%S %Z

tool: D59: <html>


tool: D188:   <head>


tool: D18:     <title>Content-Type</title>


tool: D79:   </head>


tool: D69:   <body>


tool: D150:     

tool: D172: 


tool: D24:   </body>


tool: D162: </html>


tool: D186: HTTP/1.0 200 OK


tool: D85: Content-Length: 

tool: D93: %d

tool: D42: Content-Type: text/html


tool: D19: Set-Cookie: key1=value1


tool: D179: accept

assistant: ```c
int accept_loop(int soc) {
  struct sockaddr_in client_addr;
  int client_addr_len;
  int acc;
  char *client_ip_addr_str;
  u_short client_port;
  int ret = 0;
  char recv_buf[4096] = {0};
  char send_buf[4096] = {0};
  char response_header[4096] = {0};
  char response_body[4096] = {0};
  time_t t;
  struct tm *tm_ptr;
  char time_str[128];
  int content_length = 0;
  char content_length_str[128];
  while (1) {
    client_addr_len = sizeof(client_addr);
    acc = accept(soc, (struct sockaddr *)&client_addr, &client_addr_len);
    if (acc < 0) {
      perror("accept");
      ret = -1;
      break;
    }
    client_ip_addr_str = inet_ntoa(client_addr.sin_addr);
    client_port = ntohs(client_addr.sin_port);
    printf("accept!(IPAddress = %s, Port = %hu)\n", client_ip_addr_str, client_port);
    memset(recv_buf, 0, sizeof(char) * 4096);
    recv(acc, recv_buf, sizeof(recv_buf), 0);
    printf("----- recv begin -----\n");
    printf("%s\n", recv_buf);
    printf("----- recv end -----\n");
    t = time(NULL);
    tm_ptr = gmtime(&t);
    strftime(time_str, sizeof(time_str), "%Y/%m/%d %H:%M:%S %Z", tm_ptr);
    strcpy(response_body, "<html>\r\n");
    strcat(response_body, "  <head>\r\n");
    strcat(response_body, "    <title>Content-Type</title>\r\n");
    strcat(response_body, "  </head>\r\n");
    strcat(response_body, "  <body>\r\n");
    strcat(response_body, "    ");
    strcat(response_body, time_str);
    strcat(response_body, "\r\n");
    strcat(response_body, "  </body>\r\n");
    strcat(response_body, "</html>\r\n");
    strcpy(response_header, "HTTP/1.0 200 OK\r\n");
    strcat(response_header, "Content-Length: ");
    content_length = strlen(response_body);
    sprintf(content_length_str, "%d", content_length);
    strcat(response_header, content_length_str);
    strcat(response_header, "\r\n");
    strcat(response_header, "Content-Type: text/html\r\n");
    strcat(response_header, "Set-Cookie: key1=value1\r\n");
    strcpy(send_buf, response_header);
    strcat(send_buf, "\r\n");
    strcat(send_buf, response_body);
    send(acc, send_buf, strlen(send_buf), 0);
    close(acc);
  }
  return ret;
}
```