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

```asm
<imgLoad>:
  endbr64
  push   %r15
  mov    %esi,%r15d
  push   %r14
  push   %r13
  mov    %rcx,%r13
  push   %r12
  mov    %r8,%r12
  push   %rbp
  lea    (%r15,%r15,1),%ebp
  push   %rbx
  mov    %rdx,%rbx
  sub    $0x38,%rsp
  mov    %r9,(%rsp)
  lea    0x24(%rsp),%rcx
  lea    0x20(%rsp),%rdx
  lea    0x1c(%rsp),%rsi
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  call   <read_texture@plt>
  mov    0x1c(%rsp),%r14d
  mov    $0x4,%esi
  mov    %rax,0x8(%rsp)
  add    %ebp,%r14d
  add    0x20(%rsp),%ebp
  mov    %r14d,%edi
  imul   %ebp,%edi
  call   <calloc@plt>
  mov    %r15d,%r11d
  mov    0x8(%rsp),%r8
  mov    %rax,%r9
  mov    0x20(%rsp),%eax
  neg    %r11d
  add    %r15d,%eax
  cmp    %eax,%r11d
  jge    L5
  mov    0x1c(%rsp),%ecx
  mov    %r11d,%r10d
  mov    %r9,%rax
  lea    (%rcx,%r15,1),%esi
  nopw   0x0(%rax,%rax,1)
L18:
  cmp    %esi,%r11d
  jge    L5
  mov    %r11d,%edx
  test   %r10d,%r10d
  jns    L20
  jmp    L27
  cs nopw 0x0(%rax,%rax,1)
L19:
  mov    (%rbx),%esi
  add    $0x1,%edx
  add    $0x10,%rax
  mov    %esi,%ecx
  shl    $0x8,%ecx
  sub    %esi,%ecx
  mov    %ecx,-0x10(%rax)
  mov    0x4(%rbx),%esi
  mov    %esi,%ecx
  shl    $0x8,%ecx
  sub    %esi,%ecx
  mov    %ecx,-0xc(%rax)
  mov    0x8(%rbx),%esi
  mov    %esi,%ecx
  shl    $0x8,%ecx
  sub    %esi,%ecx
  mov    %ecx,-0x8(%rax)
  mov    0xc(%rbx),%esi
  mov    %esi,%ecx
  shl    $0x8,%ecx
  sub    %esi,%ecx
  mov    %ecx,-0x4(%rax)
  mov    0x1c(%rsp),%ecx
  lea    (%r15,%rcx,1),%esi
  cmp    %edx,%esi
  jle    L24
L20:
  mov    %edx,%esi
  not    %esi
  shr    $0x1f,%esi
  cmp    %edx,%ecx
  setg   %dil
  test   %sil,%dil
  je     L19
  cmp    %r10d,0x20(%rsp)
  jle    L19
  imul   %r10d,%ecx
  add    $0x10,%rax
  add    %edx,%ecx
  shl    $0x2,%ecx
  movslq %ecx,%rcx
  mov    (%r8,%rcx,4),%ecx
  mov    %ecx,-0x10(%rax)
  mov    0x1c(%rsp),%ecx
  mov    %ecx,%esi
  imul   %r10d,%esi
  add    %edx,%esi
  add    $0x1,%edx
  shl    $0x2,%esi
  movslq %esi,%rsi
  add    $0x1,%rsi
  mov    (%r8,%rsi,4),%edi
  mov    %edi,-0xc(%rax)
  mov    0x4(%r8,%rsi,4),%esi
  movl   $0xff,-0x4(%rax)
  mov    %esi,-0x8(%rax)
  lea    (%rcx,%r15,1),%esi
  cmp    %esi,%edx
  jl     L20
  nopl   (%rax)
L24:
  mov    0x20(%rsp),%edx
  add    $0x1,%r10d
  add    %r15d,%edx
  cmp    %r10d,%edx
  jg     L18
  nopl   0x0(%rax)
L5:
  mov    %r8,%rdi
  mov    %r9,0x8(%rsp)
  call   <free@plt>
  mov    (%rsp),%rax
  mov    0x8(%rsp),%r9
  mov    %r14d,0x0(%r13)
  mov    %ebp,(%r12)
  mov    %r9,(%rax)
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L102
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L27:
  mov    %r11d,%edi
  nopl   0x0(%rax,%rax,1)
L118:
  mov    (%rbx),%ecx
  add    $0x1,%edi
  add    $0x10,%rax
  mov    %ecx,%edx
  shl    $0x8,%edx
  sub    %ecx,%edx
  mov    %edx,-0x10(%rax)
  mov    0x4(%rbx),%ecx
  mov    %ecx,%edx
  shl    $0x8,%edx
  sub    %ecx,%edx
  mov    %edx,-0xc(%rax)
  mov    0x8(%rbx),%ecx
  mov    %ecx,%edx
  shl    $0x8,%edx
  sub    %ecx,%edx
  mov    %edx,-0x8(%rax)
  mov    0xc(%rbx),%ecx
  mov    %ecx,%edx
  shl    $0x8,%edx
  sub    %ecx,%edx
  mov    %edx,-0x4(%rax)
  mov    0x1c(%rsp),%ecx
  lea    (%rcx,%r15,1),%esi
  cmp    %esi,%edi
  jl     L118
  mov    0x20(%rsp),%edx
  add    $0x1,%r10d
  add    %r15d,%edx
  cmp    %r10d,%edx
  jg     L18
  jmp    L5
L102:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void imgLoad(char *filenameIn, int borderIn, GLfloat borderColorIn[4], int *wOut, int *hOut, GLubyte **imgOut) {
  int border = borderIn;
  int width, height;
  int w, h;
  GLubyte *image, *img, *p;
  int i, j, components;
  image = (GLubyte *)read_texture(filenameIn, &width, &height, &components);
  w = width + 2 * border;
  h = height + 2 * border;
  img = (GLubyte *)calloc(w * h, 4 * sizeof(unsigned char));
  p = img;
  for (j = -border; j < height + border; ++j) {
    for (i = -border; i < width + border; ++i) {
      if (0 <= j && j <= height - 1 && 0 <= i && i <= width - 1) {
        p[0] = image[4 * (j * width + i) + 0];
        p[1] = image[4 * (j * width + i) + 1];
        p[2] = image[4 * (j * width + i) + 2];
        p[3] = 0xff;
      } else {
        p[0] = borderColorIn[0] * 0xff;
        p[1] = borderColorIn[1] * 0xff;
        p[2] = borderColorIn[2] * 0xff;
        p[3] = borderColorIn[3] * 0xff;
      }
      p += 4;
    }
  }
  free(image);
  *wOut = w;
  *hOut = h;
  *imgOut = img;
}
```