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

```asm
<iswt2_input4_step>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %rdi,%rbp
  mov    %rsi,%r13
  mov    %rdx,%r12
  mov    %rcx,0x28(%rsp)
  mov    %r8d,0x14(%rsp)
  mov    %r8d,%r15d
  mov    %r9d,0x18(%rsp)
  imul   %r9d,%r15d
  lea    0x0(,%r15,8),%ebx
  mov    %ebx,%edi
  call   <malloc@plt>
  mov    %rax,%r14
  mov    %ebx,%edi
  call   <malloc@plt>
  mov    %rax,0x8(%rsp)
  mov    0xa0(%rsp),%eax
  sub    $0x1,%eax
  mov    %eax,0x1c(%rsp)
  imul   0x14(%rsp),%eax
  imul   0x18(%rsp),%eax
  cltq
  lea    0x0(,%rax,8),%rbx
  lea    0x0(%rbp,%rbx,1),%rdi
  mov    %r15d,%ecx
  mov    %r14,%rdx
  mov    %r15d,%esi
  call   <verbatim_copy@plt>
  cmpl   $0x0,0xa0(%rsp)
  jle    L1
  mov    0x14(%rsp),%eax
  neg    %eax
  imul   0x18(%rsp),%eax
  cltq
  shl    $0x3,%rax
  mov    %rax,0x20(%rsp)
  add    %rbx,%r13
  add    %rbx,%r12
  mov    0x28(%rsp),%rbp
  add    %rbx,%rbp
  mov    $0x0,%ebx
  mov    %r15d,0x28(%rsp)
  mov    %r12,%r15
  mov    %r13,%r12
  mov    %r14,%r13
  mov    %ebx,%r14d
  mov    0xa0(%rsp),%ebx
  jmp    L15
L18:
  add    $0x1,%r14d
  mov    0x20(%rsp),%rax
  add    %rax,%r12
  add    %rax,%r15
  add    %rax,%rbp
  cmp    %r14d,%ebx
  je     L5
L15:
  sub    $0x8,%rsp
  mov    %ebx,%eax
  sub    %r14d,%eax
  push   %rax
  mov    0xa8(%rsp),%eax
  push   %rax
  push   0xa8(%rsp)
  push   0xa8(%rsp)
  mov    0xa8(%rsp),%eax
  push   %rax
  mov    0xa8(%rsp),%eax
  push   %rax
  push   0x40(%rsp)
  mov    0x58(%rsp),%r9d
  mov    0x54(%rsp),%r8d
  mov    %rbp,%rcx
  mov    %r15,%rdx
  mov    %r12,%rsi
  mov    %r13,%rdi
  call   <iswt2@plt>
  add    $0x40,%rsp
  cmp    %r14d,0x1c(%rsp)
  je     L18
  mov    0x28(%rsp),%ecx
  mov    %r13,%rdx
  mov    %ecx,%esi
  mov    0x8(%rsp),%rdi
  call   <verbatim_copy@plt>
  jmp    L18
L5:
  mov    0x28(%rsp),%r15d
  mov    %r13,%r14
L1:
  mov    %r14,%rdi
  call   <free@plt>
  mov    %r15d,%ecx
  mov    0x70(%rsp),%rdx
  mov    %r15d,%esi
  mov    0x8(%rsp),%rbx
  mov    %rbx,%rdi
  call   <verbatim_copy@plt>
  mov    %rbx,%rdi
  call   <free@plt>
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void iswt2_input4_step(double *matrixInApprox, double *matrixInColDetail, double *matrixInRowDetail, double *matrixInDetail, int matrixInRow, int matrixInCol, double *matrixOut, int matrixOutRow, int matrixOutCol, double *filterLow, double *filterHi, int filterLength, int step) {
  int count;
  double *matrixApproxTemp, *matrixApproxOut;
  matrixApproxTemp = malloc(matrixInRow * matrixInCol * sizeof(double));
  matrixApproxOut = malloc(matrixInRow * matrixInCol * sizeof(double));
  verbatim_copy(matrixInApprox + (step - 1) * matrixInRow * matrixInCol, matrixInRow * matrixInCol, matrixApproxTemp, matrixInRow * matrixInCol);
  for (count = 0; count < step; count++) {
    iswt2(matrixApproxTemp, matrixInColDetail + (step - count - 1) * matrixInRow * matrixInCol, matrixInRowDetail + (step - count - 1) * matrixInRow * matrixInCol, matrixInDetail + (step - count - 1) * matrixInRow * matrixInCol, matrixInRow, matrixInCol, matrixApproxOut, matrixOutRow, matrixOutCol, filterLow, filterHi, filterLength, step - count);
    if (count != (step - 1)) {
      verbatim_copy(matrixApproxOut, matrixInRow * matrixInCol, matrixApproxTemp, matrixInRow * matrixInCol);
    }
  }
  free(matrixApproxTemp);
  verbatim_copy(matrixApproxOut, matrixInRow * matrixInCol, matrixOut, matrixInRow * matrixInCol);
  free(matrixApproxOut);
  return;
}
```