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

```asm
<get_event_desc>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xa0,%rsp
  mov    %edi,-0x94(%rbp)
  mov    %rsi,-0xa0(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movq   $0x0,-0x90(%rbp)
  movq   $0x0,-0x88(%rbp)
  movq   $0x0,-0x80(%rbp)
  movq   $0x0,-0x78(%rbp)
  movq   $0x0,-0x70(%rbp)
  movq   $0x0,-0x68(%rbp)
  movq   $0x0,-0x60(%rbp)
  movq   $0x0,-0x58(%rbp)
  movq   $0x0,-0x50(%rbp)
  movq   $0x0,-0x48(%rbp)
  movq   $0x0,-0x40(%rbp)
  movq   $0x0,-0x38(%rbp)
  movq   $0x0,-0x30(%rbp)
  movq   $0x0,-0x28(%rbp)
  movq   $0x0,-0x20(%rbp)
  movq   $0x0,-0x18(%rbp)
  cmpl   $0x40000200,-0x94(%rbp)
  je     L416
  cmpl   $0x40000200,-0x94(%rbp)
  jg     L213
  cmpl   $0x40000100,-0x94(%rbp)
  je     L395
  cmpl   $0x40000100,-0x94(%rbp)
  jg     L213
  cmpl   $0x40000020,-0x94(%rbp)
  je     L206
  cmpl   $0x40000020,-0x94(%rbp)
  jg     L213
  cmpl   $0x40000010,-0x94(%rbp)
  je     L244
  cmpl   $0x40000010,-0x94(%rbp)
  jg     L213
  cmpl   $0x40000004,-0x94(%rbp)
  je     L390
  cmpl   $0x40000004,-0x94(%rbp)
  jg     L213
  cmpl   $0x8000,-0x94(%rbp)
  je     L81
  cmpl   $0x8000,-0x94(%rbp)
  jg     L213
  cmpl   $0x4000,-0x94(%rbp)
  je     L106
  cmpl   $0x4000,-0x94(%rbp)
  jg     L213
  cmpl   $0x2000,-0x94(%rbp)
  je     L222
  cmpl   $0x2000,-0x94(%rbp)
  jg     L213
  cmpl   $0x800,-0x94(%rbp)
  je     L99
  cmpl   $0x800,-0x94(%rbp)
  jg     L213
  cmpl   $0x400,-0x94(%rbp)
  je     L28
  cmpl   $0x400,-0x94(%rbp)
  jg     L213
  cmpl   $0x200,-0x94(%rbp)
  je     L168
  cmpl   $0x200,-0x94(%rbp)
  jg     L213
  cmpl   $0x100,-0x94(%rbp)
  je     L327
  cmpl   $0x100,-0x94(%rbp)
  jg     L213
  cmpl   $0x80,-0x94(%rbp)
  je     L229
  cmpl   $0x80,-0x94(%rbp)
  jg     L213
  cmpl   $0x20,-0x94(%rbp)
  jg     L221
  cmpl   $0x0,-0x94(%rbp)
  jle    L213
  cmpl   $0x20,-0x94(%rbp)
  ja     L213
  mov    -0x94(%rbp),%eax
  lea    0x0(,%rax,4),%rdx
  lea    D119(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D119(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
L221:
  cmpl   $0x40,-0x94(%rbp)
  je     L293
  jmp    L213
  lea    -0x90(%rbp),%rax
  lea    D129(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
  lea    -0x90(%rbp),%rax
  lea    D35(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
  lea    -0x90(%rbp),%rax
  lea    D123(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
  lea    -0x90(%rbp),%rax
  lea    D182(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
  lea    -0x90(%rbp),%rax
  lea    D88(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
  lea    -0x90(%rbp),%rax
  lea    D137(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
L293:
  lea    -0x90(%rbp),%rax
  lea    D25(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
L229:
  lea    -0x90(%rbp),%rax
  lea    D144(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
L327:
  lea    -0x90(%rbp),%rax
  lea    D148(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
L168:
  lea    -0x90(%rbp),%rax
  lea    D149(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
L28:
  lea    -0x90(%rbp),%rax
  lea    D83(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
L99:
  lea    -0x90(%rbp),%rax
  lea    D162(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
L222:
  lea    -0x90(%rbp),%rax
  lea    D47(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
L106:
  lea    -0x90(%rbp),%rax
  lea    D143(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
L81:
  lea    -0x90(%rbp),%rax
  lea    D91(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
L395:
  lea    -0x90(%rbp),%rax
  lea    D216(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
L390:
  lea    -0x90(%rbp),%rax
  lea    D123(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
L244:
  lea    -0x90(%rbp),%rax
  lea    D104(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
L206:
  lea    -0x90(%rbp),%rax
  lea    D51(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
L416:
  lea    -0x90(%rbp),%rax
  lea    D43(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
  jmp    L152
L213:
  mov    -0x94(%rbp),%edx
  lea    -0x90(%rbp),%rax
  lea    D116(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <sprintf@plt>
L152:
  lea    -0x90(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%edx
  lea    -0x90(%rbp),%rcx
  mov    -0xa0(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <memcpy@plt>
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L259
  call   <__stack_chk_fail@plt>
L259:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D129
type: string
name: extract_symbolic_data
arguments: data_label: D35
type: string
name: extract_symbolic_data
arguments: data_label: D123
type: string
name: extract_symbolic_data
arguments: data_label: D182
type: string
name: extract_symbolic_data
arguments: data_label: D88
type: string
name: extract_symbolic_data
arguments: data_label: D137
type: string
name: extract_symbolic_data
arguments: data_label: D25
type: string
name: extract_symbolic_data
arguments: data_label: D144
type: string
name: extract_symbolic_data
arguments: data_label: D148
type: string
name: extract_symbolic_data
arguments: data_label: D149
type: string
name: extract_symbolic_data
arguments: data_label: D83
type: string
name: extract_symbolic_data
arguments: data_label: D162
type: string
name: extract_symbolic_data
arguments: data_label: D47
type: string
name: extract_symbolic_data
arguments: data_label: D143
type: string
name: extract_symbolic_data
arguments: data_label: D91
type: string
name: extract_symbolic_data
arguments: data_label: D216
type: string
name: extract_symbolic_data
arguments: data_label: D104
type: string
name: extract_symbolic_data
arguments: data_label: D51
type: string
name: extract_symbolic_data
arguments: data_label: D43
type: string
name: extract_symbolic_data
arguments: data_label: D116
type: string

tool: D129: file was accessed

tool: D35: file was modified

tool: D123: metadata changed

tool: D182: writeable file was closed

tool: D88: unwriteable file was closed

tool: D137: file was opened

tool: D25: file was moved from X

tool: D144: file was moved to Y

tool: D148: file was created

tool: D149: file was deleted

tool: D83: self was deleted

tool: D162: self was moved

tool: D47: backing fs was unmounted

tool: D143: event queued overflowed

tool: D91: file was ignored

tool: D216: dir was created

tool: D104: dir access (1)

tool: D51: dir access (2)

tool: D43: dir was deleted

tool: D116: UNKNOWN: %x

assistant: ```c
char *get_event_desc(int event, char *ptr) {
  char desc[128] = {0};
  switch (event) {
  case 0x00000001:
    sprintf(desc, "file was accessed");
    break;
  case 0x00000002:
    sprintf(desc, "file was modified");
    break;
  case 0x00000004:
    sprintf(desc, "metadata changed");
    break;
  case 0x00000008:
    sprintf(desc, "writeable file was closed");
    break;
  case 0x00000010:
    sprintf(desc, "unwriteable file was closed");
    break;
  case 0x00000020:
    sprintf(desc, "file was opened");
    break;
  case 0x00000040:
    sprintf(desc, "file was moved from X");
    break;
  case 0x00000080:
    sprintf(desc, "file was moved to Y");
    break;
  case 0x00000100:
    sprintf(desc, "file was created");
    break;
  case 0x00000200:
    sprintf(desc, "file was deleted");
    break;
  case 0x00000400:
    sprintf(desc, "self was deleted");
    break;
  case 0x00000800:
    sprintf(desc, "self was moved");
    break;
  case 0x00002000:
    sprintf(desc, "backing fs was unmounted");
    break;
  case 0x00004000:
    sprintf(desc, "event queued overflowed");
    break;
  case 0x00008000:
    sprintf(desc, "file was ignored");
    break;
  case 0x40000100:
    sprintf(desc, "dir was created");
    break;
  case 0x40000004:
    sprintf(desc, "metadata changed");
    break;
  case 0x40000010:
    sprintf(desc, "dir access (1)");
    break;
  case 0x40000020:
    sprintf(desc, "dir access (2)");
    break;
  case 0x40000200:
    sprintf(desc, "dir was deleted");
    break;
  default:
    sprintf(desc, "UNKNOWN: %x", event);
  }
  return memcpy(ptr, desc, strlen(desc));
}
```