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    D17(%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     L128
L41:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L41
L128:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L174
L203:
  mov    %rax,%rdx
  mov    %rsp,%rcx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%r14
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L224
L163:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L163
L224:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L154
L106:
  mov    %r14,%rsi
  mov    %r13,%rdi
  mov    %rsp,%rbx
  call   <realpath@plt>
  test   %eax,%eax
  jne    L43
  mov    %r15d,%edx
  mov    %r13,%rsi
  mov    %r14,%rdi
  call   <__strncpy_null@plt>
L43:
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <realpath@plt>
  test   %eax,%eax
  je     L164
L30:
  mov    %rbx,%rsi
  mov    %r14,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L200
L190:
  mov    $0x1,%eax
L147:
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  jne    L84
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
  nopl   0x0(%rax)
L174:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L203
  nopl   0x0(%rax,%rax,1)
L200:
  lea    -0x80(%rbp),%rsi
  mov    %r13,%rdi
  call   <stat@plt>
  test   %rax,%rax
  jns    L132
L103:
  mov    D28(%rip),%rax
  mov    D7(%rip),%rdx
  mov    (%rax),%eax
  cmp    (%rdx),%eax
  je     L134
  neg    %eax
  jmp    L147
  nopl   0x0(%rax)
L164:
  mov    %r15d,%edx
  mov    %r12,%rsi
  mov    %rbx,%rdi
  call   <__strncpy_null@plt>
  jmp    L30
  nopl   0x0(%rax,%rax,1)
L132:
  lea    -0x60(%rbp),%rsi
  mov    %r12,%rdi
  call   <stat@plt>
  test   %rax,%rax
  js     L103
  mov    -0x68(%rbp),%edi
  call   <S_ISBLK@plt>
  test   %rax,%rax
  jne    L49
L239:
  mov    -0x58(%rbp),%rax
  cmp    %rax,-0x78(%rbp)
  je     L114
L134:
  xor    %eax,%eax
  jmp    L147
  nop
L154:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L106
  nopl   0x0(%rax,%rax,1)
L114:
  mov    -0x50(%rbp),%rax
  cmp    %rax,-0x70(%rbp)
  sete   %al
  movzbl %al,%eax
  jmp    L147
  nopl   0x0(%rax,%rax,1)
L49:
  mov    -0x48(%rbp),%edi
  call   <S_ISBLK@plt>
  test   %rax,%rax
  je     L239
  mov    -0x60(%rbp),%rax
  cmp    %rax,-0x80(%rbp)
  jne    L239
  jmp    L190
L84:
  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;
}
```