user: 请将以下的汇编代码转换成C语言代码:

```asm
<floatshrinkarraytonew>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x70,%rsp
  mov    %rdi,-0x58(%rbp)
  mov    %esi,-0x5c(%rbp)
  mov    %edx,-0x60(%rbp)
  mov    %ecx,-0x64(%rbp)
  mov    %r8d,-0x68(%rbp)
  mov    %r9d,-0x6c(%rbp)
  mov    -0x60(%rbp),%edi
  mov    -0x5c(%rbp),%ecx
  lea    -0x6c(%rbp),%rdx
  lea    -0x68(%rbp),%rsi
  lea    -0x64(%rbp),%rax
  mov    %edi,%r9d
  mov    %ecx,%r8d
  lea    0x10(%rbp),%rcx
  mov    %rax,%rdi
  call   <checkifinarray@plt>
  mov    -0x64(%rbp),%edx
  mov    -0x6c(%rbp),%eax
  cmp    %eax,%edx
  je     L48
  mov    -0x68(%rbp),%edx
  mov    0x10(%rbp),%eax
  cmp    %eax,%edx
  jne    L33
L48:
  mov    0x18(%rbp),%rax
  movq   $0x0,(%rax)
  jmp    L69
L33:
  mov    -0x64(%rbp),%eax
  test   %eax,%eax
  jne    L60
  mov    -0x68(%rbp),%eax
  test   %eax,%eax
  jne    L60
  mov    -0x6c(%rbp),%eax
  cmp    %eax,-0x5c(%rbp)
  jne    L60
  mov    0x10(%rbp),%eax
  cmp    %eax,-0x60(%rbp)
  jne    L60
  mov    -0x5c(%rbp),%eax
  imul   -0x60(%rbp),%eax
  mov    %eax,%ecx
  mov    0x18(%rbp),%rdx
  mov    -0x58(%rbp),%rax
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <floatarrcpy@plt>
  jmp    L69
L60:
  mov    -0x6c(%rbp),%eax
  mov    -0x64(%rbp),%edx
  sub    %edx,%eax
  cltq
  mov    %rax,-0x30(%rbp)
  mov    0x10(%rbp),%eax
  mov    -0x68(%rbp),%edx
  sub    %edx,%eax
  cltq
  mov    %rax,-0x28(%rbp)
  mov    -0x30(%rbp),%rax
  imul   -0x28(%rbp),%rax
  shl    $0x2,%rax
  mov    %rax,%rdi
  call   <malloc@plt>
  mov    %rax,%rdx
  mov    0x18(%rbp),%rax
  mov    %rdx,(%rax)
  mov    0x18(%rbp),%rax
  mov    (%rax),%rax
  test   %rax,%rax
  setne  %al
  movzbl %al,%eax
  mov    %eax,%edi
  call   <assert@plt>
  mov    -0x64(%rbp),%eax
  cltq
  mov    %rax,-0x20(%rbp)
  mov    -0x68(%rbp),%eax
  cltq
  mov    %rax,-0x18(%rbp)
  mov    -0x60(%rbp),%eax
  cltq
  mov    %rax,-0x10(%rbp)
  movq   $0x0,-0x38(%rbp)
  jmp    L81
L111:
  mov    0x18(%rbp),%rax
  mov    (%rax),%rdx
  mov    -0x38(%rbp),%rax
  imul   -0x28(%rbp),%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  mov    %rax,-0x40(%rbp)
  mov    -0x20(%rbp),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  imul   -0x10(%rbp),%rax
  mov    %rax,%rdx
  mov    -0x18(%rbp),%rax
  add    %rdx,%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x48(%rbp)
  jmp    L115
L39:
  mov    -0x48(%rbp),%rdx
  lea    0x4(%rdx),%rax
  mov    %rax,-0x48(%rbp)
  mov    -0x40(%rbp),%rax
  lea    0x4(%rax),%rcx
  mov    %rcx,-0x40(%rbp)
  movss  (%rdx),%xmm0
  movss  %xmm0,(%rax)
L115:
  mov    -0x28(%rbp),%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x8(%rbp),%rax
  add    %rdx,%rax
  cmp    %rax,-0x40(%rbp)
  jb     L39
  addq   $0x1,-0x38(%rbp)
L81:
  mov    -0x38(%rbp),%rax
  cmp    -0x30(%rbp),%rax
  jb     L111
L69:
  leave
  ret
```

assistant: ```c
void floatshrinkarraytonew(float *in, int size1, int size2, int x1, int y1, int x2, int y2, float **out) {
  float *ifpt, *ofpt, *rowstart;
  size_t i, ux1, uy1, us2, w1, w2;
  checkifinarray(&x1, &y1, &x2, &y2, size1, size2);
  if (x1 == x2 || y1 == y2) {
    *out = NULL;
    return;
  }
  if (x1 == 0 && y1 == 0 && x2 == size1 && y2 == size2) {
    floatarrcpy(in, size1 * size2, out);
    return;
  }
  w1 = x2 - x1;
  w2 = y2 - y1;
  *out = malloc(w1 * w2 * sizeof **out);
  assert(*out != NULL);
  ux1 = x1;
  uy1 = y1;
  us2 = size2;
  for (i = 0; i < w1; i++) {
    ofpt = rowstart = *out + i * w2;
    ifpt = in + (ux1 + i) * us2 + uy1;
    while (ofpt < rowstart + w2)
      *ofpt++ = *ifpt++;
  }
}
```