user: Converte this assembly snippet into its equivalent C code:

```asm
<get_dump_format>:
  endbr64
  push   %rbp
  mov    $0x5,%edx
  lea    D33(%rip),%rsi
  mov    %rdi,%rbp
  call   <strncmp@plt>
  mov    %eax,%r8d
  mov    $0x1,%eax
  test   %r8d,%r8d
  jne    L7
L103:
  pop    %rbp
  ret
  nopl   0x0(%rax,%rax,1)
L7:
  mov    $0x5,%edx
  lea    D88(%rip),%rsi
  mov    %rbp,%rdi
  call   <strncmp@plt>
  mov    %eax,%r8d
  mov    $0x2,%eax
  test   %r8d,%r8d
  je     L103
  mov    $0xc,%edx
  lea    D112(%rip),%rsi
  mov    %rbp,%rdi
  call   <strncmp@plt>
  mov    %eax,%r8d
  mov    $0x3,%eax
  test   %r8d,%r8d
  je     L103
  mov    $0x6,%edx
  lea    D41(%rip),%rsi
  mov    %rbp,%rdi
  call   <strncmp@plt>
  mov    %eax,%r8d
  mov    $0x4,%eax
  test   %r8d,%r8d
  je     L103
  mov    $0x6,%edx
  lea    D36(%rip),%rsi
  mov    %rbp,%rdi
  call   <strncmp@plt>
  mov    %eax,%r8d
  mov    $0x5,%eax
  test   %r8d,%r8d
  je     L103
  mov    $0xa,%edx
  lea    D10(%rip),%rsi
  mov    %rbp,%rdi
  call   <strncmp@plt>
  mov    %eax,%r8d
  mov    $0x6,%eax
  test   %r8d,%r8d
  je     L103
  mov    $0x7,%edx
  lea    D40(%rip),%rsi
  mov    %rbp,%rdi
  call   <strncmp@plt>
  test   %eax,%eax
  je     L81
  mov    $0xc,%edx
  lea    D3(%rip),%rsi
  mov    %rbp,%rdi
  call   <strncmp@plt>
  test   %eax,%eax
  je     L81
  mov    $0xc,%edx
  lea    D78(%rip),%rsi
  mov    %rbp,%rdi
  call   <strncmp@plt>
  mov    %eax,%r8d
  mov    $0x8,%eax
  test   %r8d,%r8d
  je     L103
  mov    $0x8,%edx
  lea    D65(%rip),%rsi
  mov    %rbp,%rdi
  call   <strncmp@plt>
  mov    %eax,%r8d
  mov    $0x9,%eax
  test   %r8d,%r8d
  je     L103
  mov    $0x6,%edx
  lea    D28(%rip),%rsi
  mov    %rbp,%rdi
  call   <strncmp@plt>
  mov    %eax,%r8d
  mov    $0xa,%eax
  test   %r8d,%r8d
  je     L103
  mov    %rbp,%rdi
  mov    $0x8,%edx
  lea    D45(%rip),%rsi
  call   <strncmp@plt>
  pop    %rbp
  cmp    $0x1,%eax
  sbb    %eax,%eax
  and    $0xb,%eax
  ret
  nopw   0x0(%rax,%rax,1)
L81:
  mov    $0x7,%eax
  pop    %rbp
  ret
```

tool_calls: name: extract_symbolic_data
arguments: label: D33
type: string
name: extract_symbolic_data
arguments: label: D88
type: string
name: extract_symbolic_data
arguments: label: D112
type: string
name: extract_symbolic_data
arguments: label: D41
type: string
name: extract_symbolic_data
arguments: label: D36
type: string
name: extract_symbolic_data
arguments: label: D10
type: string
name: extract_symbolic_data
arguments: label: D40
type: string
name: extract_symbolic_data
arguments: label: D3
type: string
name: extract_symbolic_data
arguments: label: D78
type: string
name: extract_symbolic_data
arguments: label: D65
type: string
name: extract_symbolic_data
arguments: label: D28
type: string
name: extract_symbolic_data
arguments: label: D45
type: string

tool: D33: audio

tool: D88: video

tool: D112: applications

tool: D41: groups

tool: D36: events

tool: D10: blog_posts

tool: D40: memlite

tool: D3: members_lite

tool: D78: market_items

tool: D65: question

tool: D28: topics

tool: D45: minifeed

assistant: ```c
int get_dump_format(char *str) {
  if (!strncmp(str, "audio", sizeof("audio") - 1)) {
    return 1;
  }
  if (!strncmp(str, "video", sizeof("video") - 1)) {
    return 2;
  }
  if (!strncmp(str, "applications", sizeof("applications") - 1)) {
    return 3;
  }
  if (!strncmp(str, "groups", sizeof("groups") - 1)) {
    return 4;
  }
  if (!strncmp(str, "events", sizeof("events") - 1)) {
    return 5;
  }
  if (!strncmp(str, "blog_posts", sizeof("blog_posts") - 1)) {
    return 6;
  }
  if (!strncmp(str, "memlite", sizeof("memlite") - 1)) {
    return 7;
  }
  if (!strncmp(str, "members_lite", sizeof("members_lite") - 1)) {
    return 7;
  }
  if (!strncmp(str, "market_items", sizeof("market_items") - 1)) {
    return 8;
  }
  if (!strncmp(str, "question", sizeof("question") - 1)) {
    return 9;
  }
  if (!strncmp(str, "topics", sizeof("topics") - 1)) {
    return 10;
  }
  if (!strncmp(str, "minifeed", sizeof("minifeed") - 1)) {
    return 11;
  }
  return 0;
}
```