user: 请将以下的汇编代码转换成C语言代码：

```asm
<udev_node_update_old_links>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x8,%rsp
  mov    %rdi,%r13
  mov    %rsi,%r15
  call   <udev_device_get_udev@plt>
  mov    %rax,%r14
  mov    %r15,%rdi
  call   <udev_device_get_devlinks_list_entry@plt>
  mov    %rax,%r12
  test   %rax,%rax
  jne    L70
L31:
  mov    %r15,%rdi
  call   <udev_device_get_devnode@plt>
  mov    %rax,%rbx
  test   %rax,%rax
  je     L72
  mov    %r13,%rdi
  call   <udev_device_get_devnode@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L72
  mov    %rax,%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L92
L72:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L92:
  mov    %rbp,%rcx
  mov    %rbx,%rdx
  lea    D4(%rip),%rsi
  mov    %r14,%rdi
  call   <udev_log_null@plt>
  mov    %r13,%rdi
  call   <udev_device_get_devpath@plt>
  mov    %rax,%rsi
  mov    $0x0,%ecx
  mov    %rbx,%rdx
  mov    %r14,%rdi
  call   <name_index@plt>
  mov    %rbx,%rsi
  mov    %r13,%rdi
  call   <update_link@plt>
  jmp    L72
L11:
  mov    %r13,%rdi
  call   <udev_device_get_devpath@plt>
  mov    %rax,%rcx
  mov    %rbp,%rdx
  lea    D19(%rip),%rsi
  mov    %r14,%rdi
  call   <udev_log_null@plt>
  mov    %r13,%rdi
  call   <udev_device_get_devpath@plt>
  mov    %rax,%rsi
  mov    $0x0,%ecx
  mov    %rbp,%rdx
  mov    %r14,%rdi
  call   <name_index@plt>
  mov    %rbp,%rsi
  mov    %r13,%rdi
  call   <update_link@plt>
L16:
  mov    %r12,%rdi
  call   <udev_list_entry_get_next@plt>
  mov    %rax,%r12
  test   %rax,%rax
  je     L31
L70:
  mov    %r12,%rdi
  call   <udev_list_entry_get_name@plt>
  mov    %rax,%rbp
  mov    %r13,%rdi
  call   <udev_device_get_devnode@plt>
  mov    %rax,%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L16
  mov    %r13,%rdi
  call   <udev_device_get_devlinks_list_entry@plt>
  mov    %rax,%rbx
  test   %rax,%rax
  je     L11
L98:
  mov    %rbx,%rdi
  call   <udev_list_entry_get_name@plt>
  mov    %rax,%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L16
  mov    %rbx,%rdi
  call   <udev_list_entry_get_next@plt>
  mov    %rax,%rbx
  test   %rax,%rax
  jne    L98
  jmp    L11
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D4
type_infered: string
name: extract_symbolic_data
arguments: data_tag: D19
type_infered: string

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


tool: D19: update old name, '%s' no longer belonging 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);
    }
  }
}
```