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

```asm
<replaceEvents>:
  endbr64
  push   %rbp
  lea    D133(%rip),%rsi
  mov    %rdi,%rbp
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L67
  mov    %rbp,%rdi
  mov    $0x100,%edx
  lea    D22(%rip),%rsi
  pop    %rbp
  jmp    1060 <strncpy@plt>
  xchg   %ax,%ax
L67:
  lea    D59(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L33
  mov    %rbp,%rdi
  mov    $0x100,%edx
  lea    D44(%rip),%rsi
  pop    %rbp
  jmp    1060 <strncpy@plt>
  nopl   0x0(%rax)
L33:
  lea    D28(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L17
  lea    D19(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L46
  mov    %rbp,%rdi
  mov    $0x100,%edx
  lea    D46(%rip),%rsi
  pop    %rbp
  jmp    1060 <strncpy@plt>
  nopl   (%rax)
L17:
  mov    %rbp,%rdi
  mov    $0x100,%edx
  lea    D53(%rip),%rsi
  pop    %rbp
  jmp    1060 <strncpy@plt>
  nopl   (%rax)
L46:
  lea    D95(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L63
  lea    D30(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L42
  mov    %rbp,%rdi
  mov    $0x100,%edx
  lea    D34(%rip),%rsi
  pop    %rbp
  jmp    1060 <strncpy@plt>
  nopl   (%rax)
L63:
  mov    %rbp,%rdi
  mov    $0x100,%edx
  lea    D48(%rip),%rsi
  pop    %rbp
  jmp    1060 <strncpy@plt>
  nopl   (%rax)
L42:
  lea    D154(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L71
  mov    %rbp,%rdi
  mov    $0x100,%edx
  lea    D12(%rip),%rsi
  pop    %rbp
  jmp    1060 <strncpy@plt>
L71:
  lea    D13(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L76
  pop    %rbp
  ret
L76:
  mov    %rbp,%rdi
  mov    $0x100,%edx
  lea    D18(%rip),%rsi
  pop    %rbp
  jmp    1060 <strncpy@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D133
type: string
name: extract_symbolic_data
arguments: data_tag: D22
type: string
name: extract_symbolic_data
arguments: data_tag: D59
type: string
name: extract_symbolic_data
arguments: data_tag: D44
type: string
name: extract_symbolic_data
arguments: data_tag: D28
type: string
name: extract_symbolic_data
arguments: data_tag: D19
type: string
name: extract_symbolic_data
arguments: data_tag: D46
type: string
name: extract_symbolic_data
arguments: data_tag: D53
type: string
name: extract_symbolic_data
arguments: data_tag: D95
type: string
name: extract_symbolic_data
arguments: data_tag: D30
type: string
name: extract_symbolic_data
arguments: data_tag: D34
type: string
name: extract_symbolic_data
arguments: data_tag: D48
type: string
name: extract_symbolic_data
arguments: data_tag: D154
type: string
name: extract_symbolic_data
arguments: data_tag: D12
type: string
name: extract_symbolic_data
arguments: data_tag: D13
type: string
name: extract_symbolic_data
arguments: data_tag: D18
type: string

tool: D133: open,creat,link,symlink,truncate,ftruncate,mknod,rename,truncate64,ftruncate64,access

tool: D22: File_Read_Write

tool: D59: unlink,rmdir

tool: D44: File_Remove

tool: D28: execve

tool: D19: chmod,chown,lchown,fchmod,fchown,fchown32,lchown32,chown32

tool: D46: File_Attrib

tool: D53: Process_Events

tool: D95: mount,umount,umount2,settimeofday,swapon,swapoff,reboot,setdomainname,create_module,delete_module,quotactl

tool: D30: socketcall

tool: D34: Socket_Events

tool: D48: Admin_Events

tool: D154: login_auth,login_start,logout

tool: D12: Logon_Logoff

tool: D13: acct_mgmt

tool: D18: User_Events

assistant: ```c
void replaceEvents(char *event) {
  if (strcmp(event, "open,creat,link,symlink,truncate,ftruncate,mknod,rename,truncate64,ftruncate64,access") == 0) {
    strncpy(event, "File_Read_Write", 256);
  } else if (strcmp(event, "unlink,rmdir") == 0) {
    strncpy(event, "File_Remove", 256);
  } else if (strcmp(event, "execve") == 0) {
    strncpy(event, "Process_Events", 256);
  } else if (strcmp(event, "chmod,chown,lchown,fchmod,fchown,fchown32,lchown32,chown32") == 0) {
    strncpy(event, "File_Attrib", 256);
  } else if (strcmp(event, "mount,umount,umount2,settimeofday,swapon,swapoff,reboot,setdomainname,create_module,delete_module,quotactl") == 0) {
    strncpy(event, "Admin_Events", 256);
  } else if (strcmp(event, "socketcall") == 0) {
    strncpy(event, "Socket_Events", 256);
  } else if (strcmp(event, "login_auth,login_start,logout") == 0) {
    strncpy(event, "Logon_Logoff", 256);
  } else if (strcmp(event, "acct_mgmt") == 0) {
    strncpy(event, "User_Events", 256);
  }
}
```