user: What would the C source look like for the assembly code provided here:

```asm
<http_request_line>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %edi,-0x24(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %rdx,-0x38(%rbp)
  mov    %rcx,-0x40(%rbp)
  mov    -0x38(%rbp),%rax
  mov    %rax,-0x20(%rbp)
  lea    D61(%rip),%rax
  mov    %rax,%rdi
  call   <touch@plt>
  mov    -0x24(%rbp),%eax
  mov    $0x2000,%edx
  lea    D99(%rip),%rcx
  mov    %rcx,%rsi
  mov    %eax,%edi
  call   <http_read_line@plt>
  test   %rax,%rax
  jns    L94
  lea    D21(%rip),%rax
  jmp    L100
L94:
  mov    $0x20,%esi
  lea    D99(%rip),%rax
  mov    %rax,%rdi
  call   <strchr@plt>
  mov    %rax,-0x18(%rbp)
  cmpq   $0x0,-0x18(%rbp)
  jne    L117
  lea    D140(%rip),%rax
  jmp    L100
L117:
  mov    -0x18(%rbp),%rax
  movb   $0x0,(%rax)
  addq   $0x1,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x2f,%al
  je     L26
  lea    D166(%rip),%rax
  jmp    L100
L26:
  mov    -0x18(%rbp),%rax
  mov    $0x20,%esi
  mov    %rax,%rdi
  call   <strchr@plt>
  mov    %rax,-0x10(%rbp)
  cmpq   $0x0,-0x10(%rbp)
  jne    L10
  lea    D87(%rip),%rax
  jmp    L100
L10:
  mov    -0x10(%rbp),%rax
  movb   $0x0,(%rax)
  addq   $0x1,-0x10(%rbp)
  lea    D32(%rip),%rax
  mov    %rax,%rsi
  lea    D99(%rip),%rax
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L16
  lea    D48(%rip),%rax
  mov    %rax,%rsi
  lea    D99(%rip),%rax
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L16
  lea    D72(%rip),%rax
  jmp    L100
L16:
  mov    -0x20(%rbp),%rax
  lea    D99(%rip),%rdx
  lea    D149(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  add    $0x1,%rax
  add    %rax,-0x20(%rbp)
  mov    -0x10(%rbp),%rdx
  mov    -0x20(%rbp),%rax
  lea    D168(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  add    $0x1,%rax
  add    %rax,-0x20(%rbp)
  mov    -0x18(%rbp),%rax
  mov    $0x3f,%esi
  mov    %rax,%rdi
  call   <strchr@plt>
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  je     L113
  mov    -0x8(%rbp),%rax
  movb   $0x0,(%rax)
  mov    -0x8(%rbp),%rax
  lea    0x1(%rax),%rdx
  mov    -0x20(%rbp),%rax
  lea    D22(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  add    $0x1,%rax
  add    %rax,-0x20(%rbp)
L113:
  mov    -0x18(%rbp),%rcx
  mov    -0x30(%rbp),%rax
  mov    $0x800,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <url_decode@plt>
  mov    -0x30(%rbp),%rdx
  mov    -0x20(%rbp),%rax
  lea    D179(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  add    $0x1,%rax
  add    %rax,-0x20(%rbp)
  mov    -0x20(%rbp),%rax
  lea    D76(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  add    $0x1,%rax
  add    %rax,-0x20(%rbp)
  mov    -0x20(%rbp),%rax
  movb   $0x0,(%rax)
  mov    -0x20(%rbp),%rax
  sub    -0x38(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,%rdx
  mov    -0x40(%rbp),%rax
  mov    %rdx,(%rax)
  mov    $0x0,%eax
L100:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: label: D61
type_infered: string
name: unpack_data
arguments: label: D21
type_infered: string
name: unpack_data
arguments: label: D140
type_infered: string
name: unpack_data
arguments: label: D166
type_infered: string
name: unpack_data
arguments: label: D87
type_infered: string
name: unpack_data
arguments: label: D32
type_infered: string
name: unpack_data
arguments: label: D48
type_infered: string
name: unpack_data
arguments: label: D72
type_infered: string
name: unpack_data
arguments: label: D149
type_infered: string
name: unpack_data
arguments: label: D168
type_infered: string
name: unpack_data
arguments: label: D22
type_infered: string
name: unpack_data
arguments: label: D179
type_infered: string
name: unpack_data
arguments: label: D76
type_infered: string

tool: D61: http_request_line

tool: D21: Socket IO error

tool: D140: Cannot parse HTTP request (1)

tool: D166: Bad request path

tool: D87: Cannot parse HTTP request (2)

tool: D32: GET

tool: D48: POST

tool: D72: Unsupported request (not GET or POST)

tool: D149: REQUEST_METHOD=%s

tool: D168: SERVER_PROTOCOL=%s

tool: D22: QUERY_STRING=%s

tool: D179: REQUEST_URI=%s

tool: D76: SERVER_NAME=zoobar.org

assistant: ```c
const char *http_request_line(int fd, char *reqpath, char *env, size_t *env_len) {
  static char buf[8192];
  char *sp1, *sp2, *qp, *envp = env;
  touch("http_request_line");
  if (http_read_line(fd, buf, sizeof(buf)) < 0)
    return "Socket IO error";
  sp1 = strchr(buf, ' ');
  if (!sp1)
    return "Cannot parse HTTP request (1)";
  *sp1 = '\0';
  sp1++;
  if (*sp1 != '/')
    return "Bad request path";
  sp2 = strchr(sp1, ' ');
  if (!sp2)
    return "Cannot parse HTTP request (2)";
  *sp2 = '\0';
  sp2++;
  if (strcmp(buf, "GET") && strcmp(buf, "POST"))
    return "Unsupported request (not GET or POST)";
  envp += sprintf(envp, "REQUEST_METHOD=%s", buf) + 1;
  envp += sprintf(envp, "SERVER_PROTOCOL=%s", sp2) + 1;
  if ((qp = strchr(sp1, '?'))) {
    *qp = '\0';
    envp += sprintf(envp, "QUERY_STRING=%s", qp + 1) + 1;
  }
  url_decode(reqpath, sp1, 2048);
  envp += sprintf(envp, "REQUEST_URI=%s", reqpath) + 1;
  envp += sprintf(envp, "SERVER_NAME=zoobar.org") + 1;
  *envp = 0;
  *env_len = envp - env + 1;
  return NULL;
}
```