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

```asm
<PlanePoiseuilleFlow_u>:
  endbr64
  push   %r12
  pxor   %xmm4,%xmm4
  mov    %edx,%r12d
  push   %rbp
  mov    %rcx,%rbp
  push   %rbx
  mov    %r8,%rbx
  sub    $0x20,%rsp
  movsd  0x10(%rsi),%xmm1
  movsd  (%rsi),%xmm3
  movsd  0x8(%rsi),%xmm2
  movsd  0x28(%rsi),%xmm5
  ucomisd %xmm4,%xmm1
  jp     L2
  jne    L2
  movsd  0x18(%rsi),%xmm1
  ucomisd %xmm4,%xmm1
  jp     L41
  je     L109
L41:
  mulsd  D58(%rip),%xmm1
  movapd %xmm1,%xmm0
  divsd  %xmm3,%xmm0
  jmp    L60
  nopw   0x0(%rax,%rax,1)
L2:
  addsd  %xmm2,%xmm2
  movsd  D43(%rip),%xmm0
  xorpd  D25(%rip),%xmm1
  divsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  movapd %xmm3,%xmm1
  mulsd  %xmm3,%xmm1
  mulsd  D56(%rip),%xmm1
  mulsd  %xmm1,%xmm0
L60:
  test   %r12d,%r12d
  jle    L101
  movslq %r12d,%rdx
  lea    0x8(%rbp),%rax
  movapd %xmm3,%xmm4
  lea    (%rdx,%rdx,2),%rcx
  lea    (%rbx,%rdx,8),%rdx
  mulsd  D3(%rip),%xmm0
  lea    -0x8(%rbp,%rcx,8),%rcx
  mulsd  %xmm3,%xmm4
  cmp    %rcx,%rbx
  setae  %cl
  cmp    %rdx,%rax
  setae  %dl
  or     %dl,%cl
  je     L105
  cmp    $0x1,%r12d
  je     L105
  mov    %r12d,%ecx
  movapd %xmm5,%xmm10
  movapd %xmm0,%xmm9
  mov    %rbx,%rdx
  movapd %xmm3,%xmm8
  shr    %ecx
  movapd %xmm4,%xmm7
  unpcklpd %xmm10,%xmm10
  sub    $0x1,%ecx
  unpcklpd %xmm9,%xmm9
  unpcklpd %xmm8,%xmm8
  shl    $0x4,%rcx
  unpcklpd %xmm7,%xmm7
  lea    0x10(%rbx,%rcx,1),%rcx
  nopl   (%rax)
L45:
  movupd 0x10(%rax),%xmm2
  movapd %xmm8,%xmm6
  add    $0x10,%rdx
  add    $0x30,%rax
  movlpd -0x30(%rax),%xmm2
  subpd  %xmm10,%xmm2
  movapd %xmm2,%xmm1
  subpd  %xmm2,%xmm6
  mulpd  %xmm9,%xmm1
  mulpd  %xmm6,%xmm1
  divpd  %xmm7,%xmm1
  movups %xmm1,-0x10(%rdx)
  cmp    %rcx,%rdx
  jne    L45
  mov    %r12d,%eax
  and    $0xfffffffe,%eax
  and    $0x1,%r12d
  je     L101
  lea    (%rax,%rax,2),%edx
  movslq %edx,%rdx
  movsd  0x8(%rbp,%rdx,8),%xmm1
  subsd  %xmm5,%xmm1
  mulsd  %xmm1,%xmm0
  subsd  %xmm1,%xmm3
  mulsd  %xmm3,%xmm0
  divsd  %xmm4,%xmm0
  movsd  %xmm0,(%rbx,%rax,8)
L101:
  add    $0x20,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
  xchg   %ax,%ax
L105:
  lea    -0x1(%r12),%edx
  lea    0x8(%rbx,%rdx,8),%rdx
  nopw   0x0(%rax,%rax,1)
L117:
  movsd  (%rax),%xmm1
  movapd %xmm3,%xmm2
  add    $0x8,%rbx
  add    $0x18,%rax
  subsd  %xmm5,%xmm1
  subsd  %xmm1,%xmm2
  mulsd  %xmm0,%xmm1
  mulsd  %xmm1,%xmm2
  divsd  %xmm4,%xmm2
  movsd  %xmm2,-0x8(%rbx)
  cmp    %rdx,%rbx
  jne    L117
  add    $0x20,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
  nopl   0x0(%rax)
L109:
  lea    D26(%rip),%rdi
  movsd  %xmm5,0x18(%rsp)
  movsd  %xmm3,0x10(%rsp)
  movsd  %xmm0,0x8(%rsp)
  call   <printf@plt>
  xor    %edi,%edi
  call   <exit@plt>
  movsd  0x18(%rsp),%xmm5
  movsd  0x10(%rsp),%xmm3
  movsd  0x8(%rsp),%xmm0
  jmp    L60
```

tool_calls: name: read_data
arguments: label: D58
type_guessed: f32[2]
name: read_data
arguments: label: D43
type_guessed: f64
name: read_data
arguments: label: D25
type_guessed: f32[4]
name: read_data
arguments: label: D56
type_guessed: f32[2]
name: read_data
arguments: label: D3
type_guessed: f64
name: read_data
arguments: label: D26
type_guessed: string

tool: {"D58": [0.0,1.9375]}

tool: D43: 1

tool: {"D25": [0.0,-0.0,0.0,0.0]}

tool: {"D56": [0.0,1.625]}

tool: D3: 4

tool: D26: Please enter input values for either q(Flow Rate per unit depth) or GradP(Pressure Gradient)


assistant: ```c
int PlanePoiseuilleFlow_u(int *iwork, double *rwork, int nPoints, double t, double *x, double *u) {
  int i;
  double h = rwork[0], mu = rwork[1];
  double GradP = rwork[2], q = rwork[3];
  double ys = rwork[5];
  double umax;
  double Y;
  if (GradP != 0.0) {
    umax = -GradP * (1.0 / (2.0 * mu)) * (h * h / 4.0);
  } else if (q != 0.0) {
    umax = (3.0 / 2.0) * q / h;
  } else {
    printf("Please enter input values for either q(Flow Rate per unit depth) or GradP(Pressure Gradient)\n");
    exit(0);
  }
  for (i = 0; i < nPoints; i++) {
    Y = x[i * 3 + 1] - ys;
    u[i] = (4.0 * umax * Y * (h - Y)) / (h * h);
  }
  return 0;
}
```