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

```asm
<is_same_blk_file>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  mov    %rdi,%r13
  push   %r12
  mov    %rsi,%r12
  push   %rbx
  sub    $0x58,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  mov    D15(%rip),%rax
  mov    %rsp,%rcx
  movslq (%rax),%rax
  mov    %rax,%r15
  add    $0xf,%rax
  mov    %rax,%rsi
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rsi
  and    $0xfffffffffffffff0,%rdx
  sub    %rsi,%rcx
  cmp    %rcx,%rsp
  je     L48
L10:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L10
L48:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L220
L42:
  mov    %rax,%rdx
  mov    %rsp,%rcx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%r14
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L110
L39:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L39
L110:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L32
L191:
  mov    %r14,%rsi
  mov    %r13,%rdi
  mov    %rsp,%rbx
  call   <realpath@plt>
  test   %eax,%eax
  jne    L79
  mov    %r15d,%edx
  mov    %r13,%rsi
  mov    %r14,%rdi
  call   <__strncpy_null@plt>
L79:
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <realpath@plt>
  test   %eax,%eax
  je     L97
L51:
  mov    %rbx,%rsi
  mov    %r14,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L208
L169:
  mov    $0x1,%eax
L105:
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  jne    L217
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
  nopl   0x0(%rax)
L220:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L42
  nopl   0x0(%rax,%rax,1)
L208:
  lea    -0x80(%rbp),%rsi
  mov    %r13,%rdi
  call   <stat@plt>
  test   %rax,%rax
  jns    L60
L205:
  mov    D2(%rip),%rax
  mov    D18(%rip),%rdx
  mov    (%rax),%eax
  cmp    (%rdx),%eax
  je     L12
  neg    %eax
  jmp    L105
  nopl   0x0(%rax)
L97:
  mov    %r15d,%edx
  mov    %r12,%rsi
  mov    %rbx,%rdi
  call   <__strncpy_null@plt>
  jmp    L51
  nopl   0x0(%rax,%rax,1)
L60:
  lea    -0x60(%rbp),%rsi
  mov    %r12,%rdi
  call   <stat@plt>
  test   %rax,%rax
  js     L205
  mov    -0x68(%rbp),%edi
  call   <S_ISBLK@plt>
  test   %rax,%rax
  jne    L202
L2:
  mov    -0x58(%rbp),%rax
  cmp    %rax,-0x78(%rbp)
  je     L52
L12:
  xor    %eax,%eax
  jmp    L105
  nop
L32:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L191
  nopl   0x0(%rax,%rax,1)
L52:
  mov    -0x50(%rbp),%rax
  cmp    %rax,-0x70(%rbp)
  sete   %al
  movzbl %al,%eax
  jmp    L105
  nopl   0x0(%rax,%rax,1)
L202:
  mov    -0x48(%rbp),%edi
  call   <S_ISBLK@plt>
  test   %rax,%rax
  je     L2
  mov    -0x60(%rbp),%rax
  cmp    %rax,-0x80(%rbp)
  jne    L2
  jmp    L169
L217:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int is_same_blk_file(const char *a, const char *b) {
  struct stat st_buf_a, st_buf_b;
  char real_a[PATH_MAX];
  char real_b[PATH_MAX];
  if (!realpath(a, real_a))
    __strncpy_null(real_a, a, sizeof(real_a));
  if (!realpath(b, real_b))
    __strncpy_null(real_b, b, sizeof(real_b));
  if (strcmp(real_a, real_b) == 0)
    return 1;
  if (stat(a, &st_buf_a) < 0 || stat(b, &st_buf_b) < 0) {
    if (errno == ENOENT)
      return 0;
    return -errno;
  }
  if (S_ISBLK(st_buf_a.st_mode) && S_ISBLK(st_buf_b.st_mode) && st_buf_a.st_rdev == st_buf_b.st_rdev) {
    return 1;
  }
  if (st_buf_a.st_dev == st_buf_b.st_dev && st_buf_a.st_ino == st_buf_b.st_ino) {
    return 1;
  }
  return 0;
}
```