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

```asm
<cro_GenMipMapMinMaxI>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x78,%rsp
  mov    %rdi,0x38(%rsp)
  mov    %esi,%ebx
  mov    %esi,0x30(%rsp)
  mov    %rcx,0x10(%rsp)
  mov    %r8,0x18(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  test   %esi,%esi
  je     L41
  mov    %edx,%esi
  test   %edx,%edx
  je     L41
  lea    0x44(%rsp),%rcx
  lea    0x40(%rsp),%rdx
  mov    %ebx,%edi
  call   <cro_GetMipMapSize@plt>
  cmpl   $0x0,0x44(%rsp)
  je     L41
  mov    $0x0,%eax
  movl   $0x0,0x2c(%rsp)
  lea    0x58(%rsp),%rsi
  mov    %rsi,0x20(%rsp)
L48:
  mov    %eax,%edx
  mov    0x38(%rsp),%rsi
  lea    (%rsi,%rdx,4),%rdi
  mov    %rdi,0x8(%rsp)
  add    0x30(%rsp),%eax
  mov    %eax,0x34(%rsp)
  mov    %eax,%eax
  lea    (%rsi,%rax,4),%r15
  cmpl   $0x0,0x40(%rsp)
  je     L20
  mov    $0x0,%ebx
L66:
  mov    0x8(%rsp),%rax
  mov    (%rax,%rbx,8),%ebp
  mov    (%r15,%rbx,8),%r12d
  mov    0x4(%rax,%rbx,8),%r13d
  mov    0x4(%r15,%rbx,8),%r14d
  sub    $0x8,%rsp
  lea    0x50(%rsp),%rax
  push   %rax
  mov    0x30(%rsp),%r9
  mov    $0x18,%r8d
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <cro_MinMaxBits@plt>
  add    $0x8,%rsp
  lea    0x54(%rsp),%rax
  push   %rax
  lea    0x6c(%rsp),%r9
  mov    $0x10,%r8d
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <cro_MinMaxBits@plt>
  add    $0x8,%rsp
  lea    0x58(%rsp),%rax
  push   %rax
  lea    0x70(%rsp),%r9
  mov    $0x8,%r8d
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <cro_MinMaxBits@plt>
  add    $0x8,%rsp
  lea    0x5c(%rsp),%rax
  push   %rax
  lea    0x74(%rsp),%r9
  mov    $0x0,%r8d
  mov    %r14d,%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %ebp,%edi
  call   <cro_MinMaxBits@plt>
  mov    0x68(%rsp),%eax
  shl    $0x18,%eax
  mov    0x6c(%rsp),%edx
  shl    $0x10,%edx
  or     %edx,%eax
  or     0x74(%rsp),%eax
  mov    0x70(%rsp),%edx
  shl    $0x8,%edx
  or     %edx,%eax
  mov    0x20(%rsp),%rdi
  mov    %eax,(%rdi)
  mov    0x58(%rsp),%eax
  shl    $0x18,%eax
  mov    0x5c(%rsp),%edx
  shl    $0x10,%edx
  or     %edx,%eax
  or     0x64(%rsp),%eax
  mov    0x60(%rsp),%edx
  shl    $0x8,%edx
  or     %edx,%eax
  mov    0x28(%rsp),%rcx
  mov    %eax,(%rcx)
  add    $0x1,%rbx
  add    $0x10,%rsp
  cmp    %ebx,0x40(%rsp)
  ja     L66
L20:
  addl   $0x1,0x2c(%rsp)
  mov    0x2c(%rsp),%esi
  mov    0x34(%rsp),%eax
  add    0x30(%rsp),%eax
  cmp    %esi,0x44(%rsp)
  ja     L48
L41:
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L10
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L10:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void cro_GenMipMapMinMaxI(const int *image, unsigned int width, unsigned int height, int *minMip, int *maxMip) {
  if (width == 0 || height == 0)
    return;
  unsigned int newWidth, newHeight;
  int *minPixel = minMip;
  int *maxPixel = maxMip;
  cro_GetMipMapSize(width, height, &newWidth, &newHeight);
  for (unsigned int h = 0; h < newHeight; ++h) {
    const int *row1 = &image[width * (2 * h + 0)];
    const int *row2 = &image[width * (2 * h + 1)];
    for (unsigned int w = 0; w < newWidth; ++w, ++minPixel, ++maxPixel, row1 += 2, row2 += 2) {
      int p1 = row1[0];
      int p2 = row2[0];
      int p3 = row1[1];
      int p4 = row2[1];
      int max1, max2, max3, max4;
      int min1, min2, min3, min4;
      cro_MinMaxBits(p1, p2, p3, p4, 24, &min1, &max1);
      cro_MinMaxBits(p1, p2, p3, p4, 16, &min2, &max2);
      cro_MinMaxBits(p1, p2, p3, p4, 8, &min3, &max3);
      cro_MinMaxBits(p1, p2, p3, p4, 0, &min4, &max4);
      *minMip = (min1 << 24) | (min2 << 16) | (min3 << 8) | (min4 << 0);
      *maxMip = (max1 << 24) | (max2 << 16) | (max3 << 8) | (max4 << 0);
    }
  }
}
```