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

```asm
<argConvGLcpara2>:
  endbr64
  push   %r14
  mov    %esi,%r14d
  push   %r13
  mov    %edx,%r13d
  push   %r12
  mov    %rcx,%r12
  push   %rbp
  push   %rbx
  sub    $0x1b0,%rsp
  movsd  %xmm0,0x8(%rsp)
  lea    0xc0(%rsp),%rbp
  lea    0x60(%rsp),%rbx
  movsd  %xmm1,(%rsp)
  mov    %rbp,%rdx
  mov    %rbx,%rsi
  mov    %fs:0x28,%rax
  mov    %rax,0x1a8(%rsp)
  xor    %eax,%eax
  call   <arParamDecompMat@plt>
  test   %eax,%eax
  js     L34
  movsd  (%rsp),%xmm1
  mov    %rbx,%rax
  lea    0x10(%rsp),%rdx
  lea    0x58(%rsp),%rcx
  movsd  0xb0(%rsp),%xmm2
  movsd  0x8(%rsp),%xmm3
L19:
  movsd  (%rax),%xmm0
  add    $0x18,%rdx
  add    $0x20,%rax
  divsd  %xmm2,%xmm0
  movsd  %xmm0,-0x18(%rdx)
  movsd  -0x18(%rax),%xmm0
  divsd  %xmm2,%xmm0
  movsd  %xmm0,-0x10(%rdx)
  movsd  -0x10(%rax),%xmm0
  divsd  %xmm2,%xmm0
  movsd  %xmm0,-0x8(%rdx)
  cmp    %rcx,%rdx
  jne    L19
  movsd  0x10(%rsp),%xmm0
  pxor   %xmm2,%xmm2
  mov    %r12,%rsi
  xor    %r8d,%r8d
  cvtsi2sd %r14d,%xmm2
  pxor   %xmm4,%xmm4
  movq   $0x0,0x140(%rsp)
  movsd  0xd8(%rsp),%xmm7
  cvtsi2sd %r13d,%xmm4
  addsd  %xmm0,%xmm0
  movq   $0x0,0x158(%rsp)
  movsd  0xf8(%rsp),%xmm6
  movq   $0x0,0x160(%rsp)
  movsd  0x118(%rsp),%xmm5
  lea    0x120(%rsp),%rcx
  pxor   %xmm8,%xmm8
  movq   $0x0,0x168(%rsp)
  lea    0xd8(%rsp),%rdi
  movq   $0x0,0x180(%rsp)
  divsd  %xmm2,%xmm0
  movq   $0x0,0x188(%rsp)
  movq   $0x0,0x198(%rsp)
  movsd  %xmm0,0x120(%rsp)
  movsd  0x18(%rsp),%xmm0
  addsd  %xmm0,%xmm0
  divsd  %xmm2,%xmm0
  movsd  %xmm0,0x128(%rsp)
  movsd  0x20(%rsp),%xmm0
  addsd  %xmm0,%xmm0
  divsd  %xmm2,%xmm0
  movsd  D26(%rip),%xmm2
  movsd  %xmm2,0x190(%rsp)
  subsd  %xmm2,%xmm0
  movsd  %xmm0,0x130(%rsp)
  movsd  0x30(%rsp),%xmm0
  addsd  %xmm0,%xmm0
  divsd  %xmm4,%xmm0
  movsd  %xmm0,0x148(%rsp)
  movsd  0x38(%rsp),%xmm0
  addsd  %xmm0,%xmm0
  divsd  %xmm4,%xmm0
  movapd %xmm1,%xmm4
  subsd  %xmm3,%xmm4
  subsd  %xmm2,%xmm0
  movsd  %xmm0,0x150(%rsp)
  movapd %xmm1,%xmm0
  mulsd  D0(%rip),%xmm1
  addsd  %xmm3,%xmm0
  divsd  %xmm4,%xmm0
  mulsd  %xmm3,%xmm1
  divsd  %xmm4,%xmm1
  movsd  %xmm0,0x170(%rsp)
  movsd  %xmm1,0x178(%rsp)
L35:
  movsd  (%rcx),%xmm1
  movsd  0x8(%rcx),%xmm3
  mov    %rbp,%rax
  mov    %rsi,%rdx
  movsd  0x10(%rcx),%xmm2
L27:
  movsd  (%rax),%xmm0
  movsd  0x20(%rax),%xmm4
  add    $0x8,%rax
  add    $0x20,%rdx
  mulsd  %xmm3,%xmm4
  mulsd  %xmm1,%xmm0
  addsd  %xmm4,%xmm0
  movsd  0x38(%rax),%xmm4
  mulsd  %xmm2,%xmm4
  addsd  %xmm4,%xmm0
  movsd  %xmm0,-0x20(%rdx)
  cmp    %rdi,%rax
  jne    L27
  mulsd  %xmm7,%xmm1
  add    $0x1,%r8d
  add    $0x20,%rcx
  add    $0x8,%rsi
  mulsd  %xmm6,%xmm3
  mulsd  %xmm5,%xmm2
  addsd  %xmm3,%xmm1
  addsd  %xmm2,%xmm1
  addsd  %xmm8,%xmm1
  movsd  %xmm1,0x58(%rsi)
  cmp    $0x4,%r8d
  je     L43
  movsd  0x18(%rcx),%xmm8
  jmp    L35
  nop
L43:
  mov    0x1a8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L59
  add    $0x1b0,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax,%rax,1)
L34:
  lea    D19(%rip),%rdi
  call   <puts@plt>
  xor    %edi,%edi
  call   <exit@plt>
L59:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: label: D26
data_type: f64
name: retrieve_data
arguments: label: D0
data_type: f32[2]
name: retrieve_data
arguments: label: D19
data_type: string

tool: D26: 1

tool: {"D0": [0.0,-2.0]}

tool: D19: gConvGLcpara: Parameter error!!

assistant: ```c
void argConvGLcpara2(double cparam[3][4], int width, int height, double gnear, double gfar, double m[16]) {
  double icpara[3][4];
  double trans[3][4];
  double p[3][3], q[4][4];
  int i, j;
  if (arParamDecompMat(cparam, icpara, trans) < 0) {
    printf("gConvGLcpara: Parameter error!!\n");
    exit(0);
  }
  for (i = 0; i < 3; i++) {
    for (j = 0; j < 3; j++) {
      p[i][j] = icpara[i][j] / icpara[2][2];
    }
  }
  q[0][0] = (2.0 * p[0][0] / width);
  q[0][1] = (2.0 * p[0][1] / width);
  q[0][2] = ((2.0 * p[0][2] / width) - 1.0);
  q[0][3] = 0.0;
  q[1][0] = 0.0;
  q[1][1] = (2.0 * p[1][1] / height);
  q[1][2] = ((2.0 * p[1][2] / height) - 1.0);
  q[1][3] = 0.0;
  q[2][0] = 0.0;
  q[2][1] = 0.0;
  q[2][2] = (gfar + gnear) / (gfar - gnear);
  q[2][3] = -2.0 * gfar * gnear / (gfar - gnear);
  q[3][0] = 0.0;
  q[3][1] = 0.0;
  q[3][2] = 1.0;
  q[3][3] = 0.0;
  for (i = 0; i < 4; i++) {
    for (j = 0; j < 3; j++) {
      m[i + j * 4] = q[i][0] * trans[0][j] + q[i][1] * trans[1][j] + q[i][2] * trans[2][j];
    }
    m[i + 3 * 4] = q[i][0] * trans[0][3] + q[i][1] * trans[1][3] + q[i][2] * trans[2][3] + q[i][3];
  }
}
```