user: Translate the below assembly code into C programming language:

```asm
<http_request_line>:
  endbr64
  push   %r15
  mov    %r8d,%r15d
  push   %r14
  lea    D28(%rip),%r14
  push   %r13
  mov    %rsi,%r13
  push   %r12
  mov    %rdx,%r12
  push   %rbp
  mov    %edi,%ebp
  lea    D4(%rip),%rdi
  push   %rbx
  mov    %r9d,%ebx
  sub    $0x18,%rsp
  mov    %rcx,(%rsp)
  call   <touch@plt>
  mov    $0x2000,%edx
  mov    %r14,%rsi
  mov    %ebp,%edi
  call   <http_read_line@plt>
  lea    D110(%rip),%r8
  test   %rax,%rax
  js     L59
  mov    $0x20,%esi
  mov    %r14,%rdi
  call   <strchr@plt>
  lea    D96(%rip),%r8
  test   %rax,%rax
  je     L59
  cmpb   $0x2f,0x1(%rax)
  movb   $0x0,(%rax)
  lea    D70(%rip),%r8
  je     L74
L59:
  add    $0x18,%rsp
  mov    %r8,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L74:
  lea    0x1(%rax),%rbp
  mov    $0x20,%esi
  mov    %rbp,%rdi
  call   <strchr@plt>
  lea    D82(%rip),%r8
  mov    %rax,0x8(%rsp)
  test   %rax,%rax
  je     L59
  movb   $0x0,(%rax)
  lea    D73(%rip),%rsi
  mov    %r14,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L7
  lea    D51(%rip),%rsi
  mov    %r14,%rdi
  call   <strcmp@plt>
  lea    D39(%rip),%r8
  test   %rax,%rax
  jne    L59
L7:
  mov    %r14,%rcx
  mov    %ebx,%esi
  lea    D22(%rip),%rdx
  mov    %r12,%rdi
  xor    %eax,%eax
  call   <snprintf@plt>
  mov    0x8(%rsp),%rcx
  lea    D1(%rip),%rdx
  add    $0x1,%eax
  sub    %eax,%ebx
  movslq %eax,%rdi
  add    $0x1,%rcx
  xor    %eax,%eax
  add    %r12,%rdi
  mov    %ebx,%esi
  mov    %ebx,%r14d
  mov    %rdi,0x8(%rsp)
  call   <snprintf@plt>
  mov    0x8(%rsp),%rdi
  mov    $0x3f,%esi
  lea    0x1(%rax),%r8d
  movslq %r8d,%rax
  sub    %r8d,%r14d
  mov    %r8d,0x8(%rsp)
  lea    (%rdi,%rax,1),%rbx
  mov    %rbp,%rdi
  call   <strchr@plt>
  mov    0x8(%rsp),%r8d
  test   %rax,%rax
  je     L25
  movb   $0x0,(%rax)
  lea    0x1(%rax),%rcx
  mov    %r14d,%esi
  mov    %rbx,%rdi
  lea    D83(%rip),%rdx
  xor    %eax,%eax
  mov    %r8d,0x8(%rsp)
  call   <snprintf@plt>
  mov    0x8(%rsp),%r8d
  lea    0x1(%r8,%rax,1),%eax
  sub    %eax,%r14d
  cltq
  add    %rax,%rbx
L25:
  mov    %r15d,%edx
  mov    %rbp,%rsi
  mov    %r13,%rdi
  call   <url_decode@plt>
  mov    %rbx,%rdi
  mov    %r13,%rcx
  mov    %r14d,%esi
  lea    D20(%rip),%rdx
  xor    %eax,%eax
  call   <snprintf@plt>
  mov    %r14d,%esi
  add    $0x1,%eax
  movslq %eax,%rdx
  sub    %eax,%esi
  xor    %eax,%eax
  add    %rdx,%rbx
  lea    D63(%rip),%rdx
  mov    %rbx,%rdi
  call   <snprintf@plt>
  xor    %r8d,%r8d
  add    $0x1,%eax
  cltq
  add    %rax,%rbx
  mov    (%rsp),%rax
  movb   $0x0,(%rbx)
  sub    %r12,%rbx
  add    $0x1,%rbx
  mov    %rbx,(%rax)
  jmp    L59
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D4
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D110
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D96
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D70
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D82
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D73
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D51
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D39
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D22
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D1
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D83
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D20
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D63
type_guessed: string

tool: D4: http_request_line

tool: D110: Socket IO error

tool: D96: Cannot parse HTTP request (1)

tool: D70: Bad request path

tool: D82: Cannot parse HTTP request (2)

tool: D73: GET

tool: D51: POST

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

tool: D22: REQUEST_METHOD=%s

tool: D1: SERVER_PROTOCOL=%s

tool: D83: QUERY_STRING=%s

tool: D20: REQUEST_URI=%s

tool: D63: SERVER_NAME=zoobar.org

assistant: ```c
const char *http_request_line(int fd, char *reqpath, char *env, size_t *env_len, int len, int len2) {
  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)";
  int length = len2;
  int gap = snprintf(envp, length, "REQUEST_METHOD=%s", buf) + 1;
  envp += gap;
  length -= gap;
  gap = snprintf(envp, length, "SERVER_PROTOCOL=%s", sp2) + 1;
  envp += gap;
  length -= gap;
  if ((qp = strchr(sp1, '?'))) {
    *qp = '\0';
    gap += snprintf(envp, length, "QUERY_STRING=%s", qp + 1) + 1;
    length -= gap;
    envp += gap;
  }
  url_decode(reqpath, sp1, len);
  gap = snprintf(envp, length, "REQUEST_URI=%s", reqpath) + 1;
  envp += gap;
  length -= gap;
  gap = snprintf(envp, length, "SERVER_NAME=zoobar.org") + 1;
  envp += gap;
  length -= gap;
  *envp = 0;
  *env_len = envp - env + 1;
  return NULL;
}
```