user: 下面的汇编指令对应的C源代码是什么:

```asm
<show_short_lun_info>:
  endbr64
  push   %r15
  mov    %esi,%r8d
  mov    %edx,%r9d
  mov    $0x400,%esi
  push   %r14
  lea    D67(%rip),%rdx
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xb48,%rsp
  mov    %ecx,0x4(%rsp)
  lea    0x330(%rsp),%rbx
  sub    $0x8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xb40(%rsp)
  xor    %eax,%eax
  movl   $0x0,0x30(%rsp)
  movl   $0x0,0x34(%rsp)
  push   %rcx
  mov    %edi,%ecx
  mov    %rbx,%rdi
  call   <snprintf@plt>
  pop    %rcx
  pop    %rsi
  cmp    $0x3ff,%eax
  jbe    L2
L13:
  mov    0xb38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L55
  add    $0xb48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L2:
  lea    0x230(%rsp),%rax
  mov    $0x100,%ecx
  mov    %rbx,%rdi
  mov    %rax,%rdx
  lea    D90(%rip),%rsi
  mov    %rax,0x18(%rsp)
  lea    D63(%rip),%r12
  call   <sa_sys_read_line@plt>
  lea    0x130(%rsp),%rax
  mov    $0x100,%ecx
  mov    %rbx,%rdi
  mov    %rax,%rdx
  lea    D16(%rip),%rsi
  mov    %rax,0x10(%rsp)
  lea    D22(%rip),%r14
  call   <sa_sys_read_line@plt>
  lea    0x30(%rsp),%rax
  mov    $0x100,%ecx
  mov    %rbx,%rdi
  mov    %rax,%rdx
  lea    D21(%rip),%rsi
  mov    %rax,0x8(%rsp)
  call   <sa_sys_read_line@plt>
  mov    %rbx,%rdi
  call   <strlen@plt>
  mov    $0x3ff,%edx
  lea    D11(%rip),%rsi
  mov    %rbx,%rdi
  sub    %eax,%edx
  call   <strncat@plt>
  mov    %rbx,%rdi
  call   <opendir@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L13
  nopl   0x0(%rax)
L83:
  mov    %rbp,%rdi
  call   <readdir@plt>
  test   %rax,%rax
  je     L45
L102:
  mov    (%rax),%r13
  cmpb   $0x2e,0x0(%r13)
  jne    L34
  movzbl 0x1(%r13),%eax
  test   %al,%al
  je     L83
  cmp    $0x2e,%al
  je     L7
L34:
  lea    0x730(%rsp),%r15
  mov    %r13,%r8
  mov    %rbx,%rcx
  xor    %eax,%eax
  mov    %r14,%rdx
  mov    $0x400,%esi
  mov    %r15,%rdi
  mov    %r13,%r12
  call   <snprintf@plt>
  cmp    $0x3ff,%eax
  ja     L83
  lea    0x2c(%rsp),%rdx
  lea    D14(%rip),%rsi
  mov    %r15,%rdi
  call   <sa_sys_read_u64@plt>
  xor    %eax,%eax
  mov    %r13,%r8
  mov    %rbx,%rcx
  lea    D46(%rip),%rdx
  mov    $0x400,%esi
  mov    %r15,%rdi
  call   <snprintf@plt>
  cmp    $0x3ff,%eax
  ja     L83
  mov    %r15,%rdi
  lea    0x28(%rsp),%rdx
  lea    D97(%rip),%rsi
  call   <sa_sys_read_u32@plt>
  mov    %rbp,%rdi
  call   <readdir@plt>
  test   %rax,%rax
  jne    L102
  cs nopw 0x0(%rax,%rax,1)
L45:
  mov    %rbp,%rdi
  call   <closedir@plt>
  mov    0x28(%rsp),%esi
  mov    0x2c(%rsp),%edi
  call   <format_capstr@plt>
  push   0x18(%rsp)
  mov    %r12,%rdx
  lea    D77(%rip),%rdi
  push   0x18(%rsp)
  mov    %rax,%rbp
  mov    %rax,%rcx
  mov    0x18(%rsp),%r9
  mov    0x38(%rsp),%r8d
  mov    0x14(%rsp),%esi
  call   <printf@plt>
  mov    %rbp,%rdi
  call   <free@plt>
  pop    %rax
  pop    %rdx
  jmp    L13
  nop
L7:
  cmpb   $0x0,0x2(%r13)
  jne    L34
  jmp    L83
L55:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D67
type: string
name: extract_symbolic_data
arguments: data_label: D90
type: string
name: extract_symbolic_data
arguments: data_label: D63
type: string
name: extract_symbolic_data
arguments: data_label: D16
type: string
name: extract_symbolic_data
arguments: data_label: D22
type: string
name: extract_symbolic_data
arguments: data_label: D21
type: string
name: extract_symbolic_data
arguments: data_label: D11
type: string
name: extract_symbolic_data
arguments: data_label: D14
type: string
name: extract_symbolic_data
arguments: data_label: D46
type: string
name: extract_symbolic_data
arguments: data_label: D97
type: string
name: extract_symbolic_data
arguments: data_label: D77
type: string

tool: D67: /sys/class/scsi_device/%u:%u:%u:%u/device/

tool: D90: rev

tool: D63: Unknown

tool: D16: model

tool: D22: %s/%s/

tool: D21: vendor

tool: D11: block

tool: D14: size

tool: D46: %s/%s/queue/

tool: D97: hw_sector_size

tool: D77: %10d  %-11s  %10s  %7d     %s %s (rev %s)


assistant: ```c
void show_short_lun_info(unsigned int hba, unsigned int port, unsigned int tgt, unsigned int lun) {
  struct dirent *dp;
  char vendor[256];
  char path[1024];
  char npath[1024];
  char model[256];
  char rev[256];
  DIR *dir;
  uint32_t blksize = 0;
  char *capstr = "Unknown";
  char *osname = "Unknown";
  uint64_t size = 0;
  int rc;
  rc = snprintf(path, sizeof(path), "/sys/class/scsi_device/%u:%u:%u:%u/device/", hba, port, tgt, lun);
  if (rc < 0 || (size_t)rc >= sizeof(path))
    return;
  sa_sys_read_line(path, "rev", rev, sizeof(rev));
  sa_sys_read_line(path, "model", model, sizeof(model));
  sa_sys_read_line(path, "vendor", vendor, sizeof(vendor));
  strncat(path, "block", sizeof(path) - strlen(path) - 1);
  dir = opendir(path);
  if (!dir)
    return;
  while ((dp = readdir(dir)) != NULL) {
    if (dp->d_name[0] == '.' && (dp->d_name[1] == '\0' || (dp->d_name[1] == '.' && dp->d_name[2] == '\0')))
      continue;
    osname = dp->d_name;
    rc = snprintf(npath, sizeof(npath), "%s/%s/", path, osname);
    if (rc < 0 || (size_t)rc >= sizeof(npath))
      continue;
    sa_sys_read_u64(npath, "size", &size);
    rc = snprintf(npath, sizeof(npath), "%s/%s/queue/", path, osname);
    if (rc < 0 || (size_t)rc >= sizeof(npath))
      continue;
    sa_sys_read_u32(npath, "hw_sector_size", &blksize);
  }
  closedir(dir);
  capstr = format_capstr(size, blksize);
  printf("%10d  %-11s  %10s  %7d     %s %s (rev %s)\n", lun, osname, capstr, blksize, vendor, model, rev);
  free(capstr);
  return;
}
```