user: 请从给定的汇编指令推导出C源代码:

```asm
<_get2dPhase>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %rdi,-0x38(%rbp)
  mov    %esi,-0x3c(%rbp)
  mov    %edx,-0x40(%rbp)
  mov    %ecx,-0x44(%rbp)
  mov    %r8,-0x50(%rbp)
  mov    %r9,-0x58(%rbp)
  movl   $0x0,-0x20(%rbp)
  jmp    L1
L11:
  mov    -0x20(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x50(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  test   %eax,%eax
  jne    L70
  mov    -0x3c(%rbp),%eax
  imul   -0x40(%rbp),%eax
  mov    -0x20(%rbp),%edx
  imul   %edx,%eax
  mov    %eax,-0x1c(%rbp)
  movl   $0x0,-0x24(%rbp)
  jmp    L94
L7:
  movl   $0x0,-0x28(%rbp)
  jmp    L59
L20:
  mov    -0x20(%rbp),%eax
  imul   0x10(%rbp),%eax
  mov    %eax,%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x18(%rbp)
  mov    -0x20(%rbp),%eax
  imul   0x18(%rbp),%eax
  mov    %eax,%edx
  mov    -0x24(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x20(%rbp),%eax
  imul   0x10(%rbp),%eax
  mov    %eax,%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x28(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm1
  movss  D9(%rip),%xmm0
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x10(%rbp)
  mov    -0x20(%rbp),%eax
  imul   0x10(%rbp),%eax
  mov    %eax,%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x28(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0xc(%rbp)
  mov    -0x20(%rbp),%eax
  imul   0x18(%rbp),%eax
  mov    %eax,%edx
  mov    -0x24(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x38(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm1
  movss  D9(%rip),%xmm0
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x8(%rbp)
  mov    -0x20(%rbp),%eax
  imul   0x18(%rbp),%eax
  mov    %eax,%edx
  mov    -0x24(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x38(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0x4(%rbp)
  mov    -0x1c(%rbp),%edx
  mov    -0x18(%rbp),%eax
  add    %edx,%eax
  lea    0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  imul   -0x3c(%rbp),%eax
  add    %eax,%edx
  mov    -0x3c(%rbp),%eax
  imul   -0x40(%rbp),%eax
  imul   -0x44(%rbp),%eax
  cmp    %eax,%edx
  jl     L22
  mov    $0x1,%eax
  jmp    L89
L22:
  mov    -0x24(%rbp),%eax
  imul   0x10(%rbp),%eax
  mov    %eax,%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm1
  movss  -0x10(%rbp),%xmm0
  movaps %xmm0,%xmm2
  mulss  -0x8(%rbp),%xmm2
  mov    -0x1c(%rbp),%edx
  mov    -0x18(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  %xmm0,%xmm2
  movss  -0xc(%rbp),%xmm0
  movaps %xmm0,%xmm3
  mulss  -0x8(%rbp),%xmm3
  mov    -0x1c(%rbp),%edx
  mov    -0x18(%rbp),%eax
  add    %edx,%eax
  lea    0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  %xmm3,%xmm0
  addss  %xmm0,%xmm2
  movss  -0x10(%rbp),%xmm0
  movaps %xmm0,%xmm3
  mulss  -0x4(%rbp),%xmm3
  mov    -0x1c(%rbp),%edx
  mov    -0x18(%rbp),%eax
  add    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  %xmm3,%xmm0
  addss  %xmm0,%xmm2
  movss  -0xc(%rbp),%xmm0
  movaps %xmm0,%xmm3
  mulss  -0x4(%rbp),%xmm3
  mov    -0x1c(%rbp),%edx
  mov    -0x18(%rbp),%eax
  add    %edx,%eax
  lea    0x1(%rax),%edx
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  imul   -0x3c(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  %xmm3,%xmm0
  addss  %xmm2,%xmm0
  mov    -0x24(%rbp),%eax
  imul   0x10(%rbp),%eax
  mov    %eax,%edx
  mov    -0x28(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  addss  %xmm1,%xmm0
  movss  %xmm0,(%rax)
  addl   $0x1,-0x28(%rbp)
L59:
  mov    -0x28(%rbp),%eax
  cmp    0x10(%rbp),%eax
  jl     L20
  addl   $0x1,-0x24(%rbp)
L94:
  mov    -0x24(%rbp),%eax
  cmp    0x18(%rbp),%eax
  jl     L7
  jmp    L47
L70:
  nop
L47:
  addl   $0x1,-0x20(%rbp)
L1:
  mov    -0x20(%rbp),%eax
  cmp    -0x44(%rbp),%eax
  jl     L11
  mov    $0x0,%eax
L89:
  pop    %rbp
  ret
```

tool_calls: name: parse_data
arguments: tag: D9
type_infered: byte[4]

tool: {"D9": [0x00,0x00,0x80,0x3f]}

assistant: ```c
int _get2dPhase(float *pscreens, int psnx, int psny, int nscreens, int *skip, float *outphase, int phnx, int phny, int *ishifts, float *xshifts, int *jshifts, float *yshifts) {
  int i, j, k, ips, jps;
  int firstel;
  float wx1, wx2, wy1, wy2;
  for (k = 0; k < nscreens; ++k) {
    if (skip[k])
      continue;
    firstel = k * (psnx * psny);
    for (j = 0; j < phny; ++j) {
      for (i = 0; i < phnx; ++i) {
        ips = ishifts[i + k * phnx];
        jps = jshifts[j + k * phny];
        wx1 = (1.0f - xshifts[i + k * phnx]);
        wx2 = (xshifts[i + k * phnx]);
        wy1 = (1.0f - yshifts[j + k * phny]);
        wy2 = (yshifts[j + k * phny]);
        if ((firstel + ips + 1 + (jps + 1) * psnx) >= (psnx * psny * nscreens)) {
          return (1);
        }
        outphase[i + j * phnx] += (wx1 * wy1 * pscreens[firstel + ips + jps * psnx] + wx2 * wy1 * pscreens[firstel + ips + 1 + jps * psnx] + wx1 * wy2 * pscreens[firstel + ips + (jps + 1) * psnx] + wx2 * wy2 * pscreens[firstel + ips + 1 + (jps + 1) * psnx]);
      }
    }
  }
  return (0);
}
```