user: What is the c source code of the assembly code below?

```asm
<get_content_type>:
  endbr64
  push   %rbp
  mov    $0x2e,%esi
  call   <strrchr@plt>
  test   %rax,%rax
  je     L61
  lea    D130(%rip),%rsi
  mov    %rax,%rdi
  mov    %rax,%rbp
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L6
L42:
  lea    D13(%rip),%rax
L69:
  pop    %rbp
  ret
  nopl   0x0(%rax,%rax,1)
L6:
  lea    D44(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L42
  lea    D77(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L61
  lea    D112(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  lea    D12(%rip),%rax
  test   %r8,%r8
  je     L69
  lea    D86(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L59
  lea    D65(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L59
  lea    D9(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  mov    %rax,%r8
  lea    D97(%rip),%rax
  test   %r8,%r8
  je     L69
  lea    D35(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L61
  lea    D20(%rip),%rax
  pop    %rbp
  ret
  nopl   0x0(%rax)
L61:
  lea    D138(%rip),%rax
  pop    %rbp
  ret
  nopl   0x0(%rax)
L59:
  lea    D79(%rip),%rax
  pop    %rbp
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D130
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D13
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D44
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D77
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D112
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D12
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D86
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D65
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D9
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D97
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D35
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D20
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D138
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D79
type_guessed: string

tool: D130: .html

tool: D13: text/html

tool: D44: .htm

tool: D77: .txt

tool: D112: .css

tool: D12: text/css

tool: D86: .jpg

tool: D65: .jpeg

tool: D9: .gif

tool: D97: image/gif

tool: D35: .png

tool: D20: image/png

tool: D138: text/plain

tool: D79: image/jpeg

assistant: ```c
char *get_content_type(char *filename) {
  char *ext = strrchr(filename, '.');
  if (!ext) {
    return "text/plain";
  }
  if (strcmp(ext, ".html") == 0 || strcmp(ext, ".htm") == 0) {
    return "text/html";
  }
  if (strcmp(ext, ".txt") == 0) {
    return "text/plain";
  }
  if (strcmp(ext, ".css") == 0) {
    return "text/css";
  }
  if (strcmp(ext, ".jpg") == 0 || strcmp(ext, ".jpeg") == 0) {
    return "image/jpeg";
  }
  if (strcmp(ext, ".gif") == 0) {
    return "image/gif";
  }
  if (strcmp(ext, ".png") == 0) {
    return "image/png";
  }
  return "text/plain";
}
```