user: Demonstrate the C code that generates the assembly output below:

```asm
<send_headers>:
  endbr64
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xa0,%rsp
  mov    %rdi,%rbx
  mov    %rcx,%r12
  mov    %r8,%rbp
  mov    %r9d,%r13d
  mov    %fs:0x28,%rax
  mov    %rax,0x98(%rsp)
  xor    %eax,%eax
  mov    %rdx,%r8
  mov    %esi,%ecx
  lea    D105(%rip),%rdx
  lea    D114(%rip),%rsi
  call   <fprintf@plt>
  lea    D48(%rip),%rdx
  lea    D81(%rip),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  mov    $0x0,%edi
  call   <time@plt>
  mov    %eax,0xc(%rsp)
  lea    0xc(%rsp),%rdi
  call   <gmtime@plt>
  mov    %eax,%ecx
  lea    0x10(%rsp),%r14
  lea    D92(%rip),%rdx
  mov    $0x80,%esi
  mov    %r14,%rdi
  call   <strftime@plt>
  mov    %r14,%rdx
  lea    D46(%rip),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  test   %r12,%r12
  je     L41
  mov    %r12,%rdx
  lea    D10(%rip),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
L41:
  test   %rbp,%rbp
  je     L6
  mov    %rbp,%rdx
  lea    D47(%rip),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
L6:
  test   %r13d,%r13d
  jns    L4
L45:
  cmpl   $0xffffffff,0xd0(%rsp)
  jne    L15
L10:
  mov    %rbx,%rcx
  mov    $0x13,%edx
  mov    $0x1,%esi
  lea    D35(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbx,%rcx
  mov    $0x2,%edx
  mov    $0x1,%esi
  lea    D52(%rip),%rdi
  call   <fwrite@plt>
  mov    0x98(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L1
  add    $0xa0,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
L4:
  mov    %r13d,%edx
  lea    D63(%rip),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  jmp    L45
L15:
  lea    0xd0(%rsp),%rdi
  call   <gmtime@plt>
  mov    %eax,%ecx
  lea    0x10(%rsp),%rbp
  lea    D92(%rip),%rdx
  mov    $0x80,%esi
  mov    %rbp,%rdi
  call   <strftime@plt>
  mov    %rbp,%rdx
  lea    D11(%rip),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <fprintf@plt>
  jmp    L10
L1:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D105
type_guessed: string
name: unpack_data
arguments: data_tag: D114
type_guessed: string
name: unpack_data
arguments: data_tag: D48
type_guessed: string
name: unpack_data
arguments: data_tag: D81
type_guessed: string
name: unpack_data
arguments: data_tag: D92
type_guessed: string
name: unpack_data
arguments: data_tag: D46
type_guessed: string
name: unpack_data
arguments: data_tag: D10
type_guessed: string
name: unpack_data
arguments: data_tag: D47
type_guessed: string
name: unpack_data
arguments: data_tag: D35
type_guessed: string
name: unpack_data
arguments: data_tag: D52
type_guessed: string
name: unpack_data
arguments: data_tag: D63
type_guessed: string
name: unpack_data
arguments: data_tag: D11
type_guessed: string

tool: D105: HTTP/1.0

tool: D114: %s %d %s


tool: D48: webserver/1.0

tool: D81: Server: %s


tool: D92: %a, %d %b %Y %H:%M:%S GMT

tool: D46: Date: %s


tool: D10: %s


tool: D47: Content-Type: %s


tool: D35: Connection: close


tool: D52: 


tool: D63: Content-Length: %d


tool: D11: Last-Modified: %s


assistant: ```c
void send_headers(FILE *f, int status, char *title, char *extra, char *mime, int length, time_t date) {
  time_t now;
  char timebuf[128];
  fprintf(f, "%s %d %s\r\n", "HTTP/1.0", status, title);
  fprintf(f, "Server: %s\r\n", "webserver/1.0");
  now = time(NULL);
  strftime(timebuf, sizeof(timebuf), "%a, %d %b %Y %H:%M:%S GMT", gmtime(&now));
  fprintf(f, "Date: %s\r\n", timebuf);
  if (extra)
    fprintf(f, "%s\r\n", extra);
  if (mime)
    fprintf(f, "Content-Type: %s\r\n", mime);
  if (length >= 0)
    fprintf(f, "Content-Length: %d\r\n", length);
  if (date != -1) {
    strftime(timebuf, sizeof(timebuf), "%a, %d %b %Y %H:%M:%S GMT", gmtime(&date));
    fprintf(f, "Last-Modified: %s\r\n", timebuf);
  }
  fprintf(f, "Connection: close\r\n");
  fprintf(f, "\r\n");
}
```