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

```asm
<udev_node_update_old_links>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %rdi,-0x48(%rbp)
  mov    %rsi,-0x50(%rbp)
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <udev_device_get_udev@plt>
  mov    %rax,-0x28(%rbp)
  mov    -0x50(%rbp),%rax
  mov    %rax,%rdi
  call   <udev_device_get_devlinks_list_entry@plt>
  mov    %rax,-0x38(%rbp)
  jmp    L12
L58:
  mov    -0x38(%rbp),%rax
  mov    %rax,%rdi
  call   <udev_list_entry_get_name@plt>
  mov    %rax,-0x10(%rbp)
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <udev_device_get_devnode@plt>
  mov    %rax,%rdx
  mov    -0x10(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L69
  movl   $0x0,-0x3c(%rbp)
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <udev_device_get_devlinks_list_entry@plt>
  mov    %rax,-0x30(%rbp)
  jmp    L119
L111:
  mov    -0x30(%rbp),%rax
  mov    %rax,%rdi
  call   <udev_list_entry_get_name@plt>
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rdx
  mov    -0x10(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L65
  movl   $0x1,-0x3c(%rbp)
  jmp    L79
L65:
  mov    -0x30(%rbp),%rax
  mov    %rax,%rdi
  call   <udev_list_entry_get_next@plt>
  mov    %rax,-0x30(%rbp)
L119:
  cmpq   $0x0,-0x30(%rbp)
  jne    L111
L79:
  cmpl   $0x0,-0x3c(%rbp)
  jne    L117
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <udev_device_get_devpath@plt>
  mov    %rax,%rcx
  mov    -0x10(%rbp),%rdx
  mov    -0x28(%rbp),%rax
  lea    D0(%rip),%rsi
  mov    %rax,%rdi
  call   <udev_log_null@plt>
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <udev_device_get_devpath@plt>
  mov    %rax,%rsi
  mov    -0x10(%rbp),%rdx
  mov    -0x28(%rbp),%rax
  mov    $0x0,%ecx
  mov    %rax,%rdi
  call   <name_index@plt>
  mov    -0x10(%rbp),%rdx
  mov    -0x48(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <update_link@plt>
  jmp    L9
L69:
  nop
  jmp    L9
L117:
  nop
L9:
  mov    -0x38(%rbp),%rax
  mov    %rax,%rdi
  call   <udev_list_entry_get_next@plt>
  mov    %rax,-0x38(%rbp)
L12:
  cmpq   $0x0,-0x38(%rbp)
  jne    L58
  mov    -0x50(%rbp),%rax
  mov    %rax,%rdi
  call   <udev_device_get_devnode@plt>
  mov    %rax,-0x20(%rbp)
  cmpq   $0x0,-0x20(%rbp)
  je     L116
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <udev_device_get_devnode@plt>
  mov    %rax,-0x18(%rbp)
  cmpq   $0x0,-0x18(%rbp)
  je     L116
  mov    -0x18(%rbp),%rdx
  mov    -0x20(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L116
  mov    -0x18(%rbp),%rcx
  mov    -0x20(%rbp),%rdx
  mov    -0x28(%rbp),%rax
  lea    D17(%rip),%rsi
  mov    %rax,%rdi
  call   <udev_log_null@plt>
  mov    -0x48(%rbp),%rax
  mov    %rax,%rdi
  call   <udev_device_get_devpath@plt>
  mov    %rax,%rsi
  mov    -0x20(%rbp),%rdx
  mov    -0x28(%rbp),%rax
  mov    $0x0,%ecx
  mov    %rax,%rdi
  call   <name_index@plt>
  mov    -0x20(%rbp),%rdx
  mov    -0x48(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <update_link@plt>
L116:
  nop
  leave
  ret
```

tool_calls: name: parse_data
arguments: tag: D0
type: string
name: parse_data
arguments: tag: D17
type: string

tool: D0: update old name, '%s' no longer belonging to '%s'


tool: D17: node has changed from '%s' to '%s'


assistant: ```c
void udev_node_update_old_links(struct udev_device *dev, struct udev_device *dev_old) {
  struct udev *udev = udev_device_get_udev(dev);
  struct udev_list_entry *list_entry;
  const char *devnode_old;
  for (list_entry = udev_device_get_devlinks_list_entry(dev_old); list_entry != NULL; list_entry = udev_list_entry_get_next(list_entry)) {
    const char *name = udev_list_entry_get_name(list_entry);
    struct udev_list_entry *list_entry_current;
    int found;
    if (strcmp(name, udev_device_get_devnode(dev)) == 0)
      continue;
    found = 0;
    for (list_entry_current = udev_device_get_devlinks_list_entry(dev); list_entry_current != NULL; list_entry_current = udev_list_entry_get_next(list_entry_current)) {
      const char *name_current = udev_list_entry_get_name(list_entry_current);
      if (strcmp(name, name_current) == 0) {
        found = 1;
        break;
      }
    }
    if (found)
      continue;
    udev_log_null(udev, "update old name, '%s' no longer belonging to '%s'\n", name, udev_device_get_devpath(dev));
    name_index(udev, udev_device_get_devpath(dev), name, 0);
    update_link(dev, name);
  }
  devnode_old = udev_device_get_devnode(dev_old);
  if (devnode_old != NULL) {
    const char *devnode = udev_device_get_devnode(dev);
    if (devnode != NULL && strcmp(devnode_old, devnode) != 0) {
      udev_log_null(udev, "node has changed from '%s' to '%s'\n", devnode_old, devnode);
      name_index(udev, udev_device_get_devpath(dev), devnode_old, 0);
      update_link(dev, devnode_old);
    }
  }
}
```