user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<init_uvwp>:
  endbr64
  push   %r15
  lea    0x1(%rcx),%eax
  mov    %rdi,%r15
  mov    %r8,%rdi
  push   %r14
  push   %r13
  push   %r12
  lea    0x1(%rdx),%r12d
  push   %rbp
  mov    %r12d,%r8d
  mov    %eax,%ebp
  push   %rbx
  sub    $0x60,%rsp
  mov    0xa8(%rsp),%rbx
  movsd  %xmm3,0x8(%rsp)
  mov    0x98(%rsp),%r13
  movsd  %xmm2,0x10(%rsp)
  mov    0xa0(%rsp),%r14
  mov    %rbx,0x38(%rsp)
  lea    0x1(%rsi),%ebx
  mov    %esi,0x34(%rsp)
  xor    %esi,%esi
  mov    %edx,0x30(%rsp)
  mov    %ebx,%edx
  mov    %ecx,0x28(%rsp)
  xor    %ecx,%ecx
  mov    %r9,0x40(%rsp)
  xor    %r9d,%r9d
  mov    %r12d,0x50(%rsp)
  mov    %ebx,0x54(%rsp)
  movsd  %xmm1,0x18(%rsp)
  mov    %eax,0x2c(%rsp)
  push   %rax
  mov    %rdi,0x50(%rsp)
  call   <init_matrix2@plt>
  movsd  0x20(%rsp),%xmm1
  xor    %r9d,%r9d
  xor    %ecx,%ecx
  mov    0x48(%rsp),%rdi
  mov    %r12d,%r8d
  mov    %ebx,%edx
  xor    %esi,%esi
  movapd %xmm1,%xmm0
  mov    %ebp,(%rsp)
  call   <init_matrix2@plt>
  movsd  0x18(%rsp),%xmm2
  xor    %r9d,%r9d
  xor    %ecx,%ecx
  mov    %r12d,%r8d
  mov    %ebx,%edx
  xor    %esi,%esi
  mov    %r13,%rdi
  movapd %xmm2,%xmm0
  mov    %ebp,(%rsp)
  call   <init_matrix2@plt>
  movsd  0x10(%rsp),%xmm3
  xor    %esi,%esi
  mov    %r14,%rdi
  xor    %r9d,%r9d
  mov    %r12d,%r8d
  xor    %ecx,%ecx
  mov    %ebx,%edx
  movapd %xmm3,%xmm0
  mov    %ebp,(%rsp)
  call   <init_matrix2@plt>
  pop    %rsi
  pop    %rdi
  test   %ebx,%ebx
  js     L66
  mov    0x38(%rsp),%rax
  movl   $0x0,0x8(%rsp)
  mov    0x40(%rsp),%r12
  mov    %rax,0x10(%rsp)
  xchg   %ax,%ax
L189:
  mov    0x48(%rsp),%eax
  movq   $0x0,(%rsp)
  test   %eax,%eax
  js     L183
  nopl   0x0(%rax)
L26:
  mov    (%rsp),%rax
  mov    0x24(%rsp),%edx
  xor    %ebx,%ebx
  lea    0x0(,%rax,8),%rbp
  lea    -0x8(%rbp),%rax
  mov    %rax,0x18(%rsp)
  test   %edx,%edx
  js     L152
  mov    %r15,%rax
  mov    %rbx,%r15
  mov    %rax,%rbx
  nopl   0x0(%rax)
L207:
  mov    (%rbx),%rax
  mov    (%rax,%rbp,1),%rax
  mov    (%rax,%r15,4),%edi
  call   <isfluid@plt>
  test   %eax,%eax
  jne    L99
  mov    (%r12),%rdi
  mov    0x8(%rsp),%ecx
  lea    0x0(,%r15,8),%rax
  mov    (%rdi,%rbp,1),%rdi
  movq   $0x0,(%rdi,%r15,8)
  test   %ecx,%ecx
  je     L81
  mov    -0x8(%r12),%rdi
  mov    (%rdi,%rbp,1),%rdi
  movq   $0x0,(%rdi,%r15,8)
L81:
  mov    0x10(%rsp),%rcx
  cmpq   $0x0,(%rsp)
  mov    (%rcx),%rdi
  mov    (%rdi,%rbp,1),%r8
  movq   $0x0,(%r8,%rax,1)
  je     L231
  mov    0x18(%rsp),%rsi
  mov    (%rdi,%rsi,1),%rdi
  movq   $0x0,(%rdi,%rax,1)
L231:
  mov    0x0(%r13),%rdi
  mov    (%rdi,%rbp,1),%rdi
  movq   $0x0,(%rdi,%rax,1)
  test   %r15,%r15
  je     L64
  movq   $0x0,-0x8(%rdi,%rax,1)
L64:
  mov    (%r14),%rdi
  mov    (%rdi,%rbp,1),%rdi
  movq   $0x0,(%rdi,%rax,1)
L99:
  add    $0x1,%r15
  lea    -0x1(%r15),%eax
  cmp    %eax,0x20(%rsp)
  jge    L207
  mov    %rbx,%r15
L152:
  addq   $0x1,(%rsp)
  mov    (%rsp),%rax
  sub    $0x1,%eax
  cmp    %eax,0x28(%rsp)
  jge    L26
L183:
  mov    0x8(%rsp),%ebx
  add    $0x8,%r15
  add    $0x8,%r14
  add    $0x8,%r13
  addq   $0x8,0x10(%rsp)
  add    $0x8,%r12
  lea    0x1(%rbx),%eax
  cmp    %ebx,0x2c(%rsp)
  jl     L155
  mov    %eax,0x8(%rsp)
  jmp    L189
L155:
  mov    0x30(%rsp),%rdi
  lea    D5(%rip),%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L55
L187:
  mov    0x48(%rsp),%eax
  mov    0x2c(%rsp),%r9d
  xor    %esi,%esi
  pxor   %xmm3,%xmm3
  movsd  D53(%rip),%xmm2
  mov    0x20(%rsp),%r11d
  mov    0x40(%rsp),%r8
  mov    %rax,%r10
  lea    0x8(,%rax,8),%rdi
  nopw   0x0(%rax,%rax,1)
L223:
  test   %r10d,%r10d
  js     L50
  pxor   %xmm1,%xmm1
  xor    %ecx,%ecx
  cvtsi2sd %r11d,%xmm1
  mulsd  %xmm2,%xmm1
  nopl   0x0(%rax)
L17:
  comisd %xmm3,%xmm1
  jb     L58
  mov    (%r8,%rsi,8),%rax
  mov    (%rax,%rcx,1),%rdx
  mov    $0x1,%eax
  nopl   0x0(%rax,%rax,1)
L240:
  movsd  -0x8(%rdx,%rax,8),%xmm0
  mulsd  %xmm2,%xmm0
  movsd  %xmm0,-0x8(%rdx,%rax,8)
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  add    $0x1,%rax
  comisd %xmm0,%xmm1
  jae    L240
L58:
  add    $0x8,%rcx
  cmp    %rdi,%rcx
  jne    L17
L50:
  add    $0x1,%rsi
  lea    -0x1(%rsi),%eax
  cmp    %eax,%r9d
  jge    L223
L162:
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L55:
  mov    0x30(%rsp),%rdi
  lea    D25(%rip),%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L187
  mov    0x30(%rsp),%rdi
  lea    D66(%rip),%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L162
  mov    0x4c(%rsp),%eax
  mov    0x38(%rsp),%r13
  lea    0x8(%r13,%rax,8),%r12
  mov    0x24(%rsp),%eax
  mov    %rax,%r14
  lea    0x8(,%rax,8),%rbp
L139:
  xor    %ebx,%ebx
L37:
  test   %r14d,%r14d
  js     L225
  mov    0x0(%r13),%rax
  mov    %rbp,%rdx
  xor    %esi,%esi
  mov    (%rax,%rbx,1),%rdi
  call   <memset@plt>
L225:
  add    $0x8,%rbx
  cmp    $0x50,%rbx
  jne    L37
  add    $0x8,%r13
  cmp    %r13,%r12
  jne    L139
  jmp    L162
L66:
  mov    0x30(%rsp),%rdi
  lea    D5(%rip),%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L162
  mov    0x30(%rsp),%rdi
  lea    D25(%rip),%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  je     L162
  mov    0x30(%rsp),%rdi
  add    $0x58,%rsp
  lea    D66(%rip),%rsi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    10a0 <strcmp@plt>
```

tool_calls: name: parse_data
arguments: data_label: D5
type: string
name: parse_data
arguments: data_label: D53
type: f64
name: parse_data
arguments: data_label: D25
type: string
name: parse_data
arguments: data_label: D66
type: string

tool: D5: step.pgm

tool: D53: 0.5

tool: D25: surface.pgm

tool: D66: drop.pgm

assistant: ```c
void init_uvwp(double UI, double VI, double WI, double PI, int ***Flag, int imax, int jmax, int kmax, double ***U, double ***V, double ***W, double ***P, char *problem) {
  int i, j, k;
  init_matrix2(U, 0, imax + 1, 0, jmax + 1, 0, kmax + 1, UI);
  init_matrix2(V, 0, imax + 1, 0, jmax + 1, 0, kmax + 1, VI);
  init_matrix2(W, 0, imax + 1, 0, jmax + 1, 0, kmax + 1, WI);
  init_matrix2(P, 0, imax + 1, 0, jmax + 1, 0, kmax + 1, PI);
  for (i = 0; i <= imax + 1; i++) {
    for (j = 0; j <= jmax + 1; j++) {
      for (k = 0; k <= kmax + 1; k++) {
        if (!isfluid(Flag[i][j][k])) {
          U[i][j][k] = 0;
          if (i > 0)
            U[i - 1][j][k] = 0;
          V[i][j][k] = 0;
          if (j > 0)
            V[i][j - 1][k] = 0;
          W[i][j][k] = 0;
          if (k > 0)
            W[i][j][k - 1] = 0;
          P[i][j][k] = 0;
        }
      }
    }
  }
  if (strcmp(problem, "step.pgm") == 0 || strcmp(problem, "surface.pgm") == 0) {
    for (i = 0; i <= imax + 1; i++) {
      for (j = 0; j <= jmax + 1; j++) {
        for (k = 0; k <= kmax * 0.5; k++) {
          U[i][j][k] = U[i][j][k] * 0.5;
        }
      }
    }
  } else if (strcmp(problem, "drop.pgm") == 0) {
    for (i = 0; i <= imax + 1; i++) {
      for (j = 0; j < 10; j++) {
        for (k = 0; k <= kmax + 1; k++) {
          V[i][j][k] = 0;
        }
      }
    }
  }
}
```