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

```asm
<ProbabilisticModel>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    %edi,0x14(%rsp)
  mov    %esi,%eax
  mov    %rdx,0x20(%rsp)
  mov    %rcx,%r14
  mov    %r8,0x28(%rsp)
  mov    0x70(%rsp),%rcx
  mov    0x78(%rsp),%rbp
  mov    0x80(%rsp),%r15
  mov    0x0(%rbp),%rsi
  movl   $0x3f800000,(%rsi)
  test   %eax,%eax
  jle    L1
  mov    %r9,%rdx
  lea    -0x1(%rax),%eax
  lea    0xc(,%rax,8),%rdi
  mov    $0x4,%eax
  movss  D9(%rip),%xmm2
L26:
  movss  -0x4(%rdx,%rax,1),%xmm0
  mov    0x0(%rbp),%rsi
  movss  %xmm0,(%rsi,%rax,1)
  movss  (%rdx,%rax,1),%xmm0
  mov    0x0(%rbp),%rsi
  movss  %xmm0,0x4(%rsi,%rax,1)
  mov    0x0(%rbp),%rsi
  addss  -0x4(%rdx,%rax,1),%xmm0
  movss  (%rsi),%xmm1
  subss  %xmm0,%xmm1
  movss  %xmm1,(%rsi)
  movss  -0x4(%rcx,%rax,1),%xmm0
  mov    0x0(%rbp,%rax,2),%rsi
  movss  %xmm0,(%rsi,%rax,1)
  movss  (%rcx,%rax,1),%xmm0
  mov    0x8(%rbp,%rax,2),%rsi
  movss  %xmm0,0x4(%rsi,%rax,1)
  mov    0x0(%rbp,%rax,2),%rsi
  movl   $0x0,0x4(%rsi,%rax,1)
  mov    0x8(%rbp,%rax,2),%rsi
  movl   $0x0,(%rsi,%rax,1)
  mov    0x0(%rbp,%rax,2),%rsi
  movaps %xmm2,%xmm0
  subss  -0x4(%rcx,%rax,1),%xmm0
  movss  %xmm0,(%rsi)
  mov    0x8(%rbp,%rax,2),%rsi
  movaps %xmm2,%xmm0
  subss  (%rcx,%rax,1),%xmm0
  movss  %xmm0,(%rsi)
  add    $0x8,%rax
  cmp    %rdi,%rax
  jne    L26
L1:
  mov    0x14(%rsp),%eax
  test   %eax,%eax
  jle    L7
  mov    0x98(%rsp),%r12
  mov    %eax,%eax
  mov    %rax,0x18(%rsp)
  lea    0x0(,%rax,4),%r13
  movq   $0x0,0x8(%rsp)
  jmp    L115
L96:
  addq   $0x1,0x8(%rsp)
  mov    0x8(%rsp),%rax
  add    $0x8,%rbp
  add    $0x8,%r12
  cmp    0x18(%rsp),%rax
  je     L7
L115:
  mov    0x20(%rsp),%rax
  mov    0x8(%rsp),%rbx
  movss  (%rax,%rbx,4),%xmm0
  call   <log@plt>
  pxor   %xmm0,%xmm0
  cvtsi2ss %rax,%xmm0
  mov    0x90(%rsp),%rax
  movss  %xmm0,(%rax,%rbx,4)
  mov    $0x0,%ebx
L27:
  mov    0x0(%rbp),%rax
  movss  (%rax,%rbx,1),%xmm0
  call   <log@plt>
  mov    (%r12),%rdx
  pxor   %xmm0,%xmm0
  cvtsi2ss %rax,%xmm0
  movss  %xmm0,(%rdx,%rbx,1)
  add    $0x4,%rbx
  cmp    %r13,%rbx
  jne    L27
  jmp    L96
L7:
  mov    0x28(%rsp),%r12
  mov    0x88(%rsp),%rbp
  mov    0x14(%rsp),%eax
  lea    -0x1(%rax),%eax
  lea    0x4(,%rax,4),%rax
  mov    %rax,0x8(%rsp)
  mov    $0x0,%r13d
  jmp    L63
L104:
  movss  (%r14,%r13,4),%xmm0
  call   <log@plt>
  mov    (%r15,%r13,8),%rdx
  pxor   %xmm0,%xmm0
  cvtsi2ss %rax,%xmm0
  movss  %xmm0,(%rdx,%rbx,1)
  add    $0x4,%rbx
  cmp    %rbx,0x8(%rsp)
  jne    L104
L35:
  mov    $0x0,%ebx
L21:
  mov    (%r12),%rax
  movss  (%rax,%rbx,1),%xmm0
  call   <log@plt>
  mov    0x0(%rbp),%rdx
  pxor   %xmm0,%xmm0
  cvtsi2ss %rax,%xmm0
  movss  %xmm0,(%rdx,%rbx,1)
  add    $0x4,%rbx
  cmp    $0x400,%rbx
  jne    L21
  add    $0x1,%r13
  add    $0x8,%r12
  add    $0x8,%rbp
  cmp    $0x100,%r13
  je     L78
L63:
  mov    $0x0,%ebx
  cmpl   $0x0,0x14(%rsp)
  jg     L104
  jmp    L35
L78:
  mov    $0x1,%eax
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: disassemble_data
arguments: data_label: D9
datatype: byte[4]

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

assistant: ```c
int ProbabilisticModel(int NumMatrixTypes, int NumInsertStates, float *initDistribMat, float *emitSingle, float **emitPairs, float *gapOpen, float *gapExtend, float **transMat, float **insProb, float **matchProb, float *initialDistribution, float **transProb) {
  int i, j;
  transMat[0][0] = 1;
  for (i = 0; i < NumInsertStates; i++) {
    transMat[0][2 * i + 1] = gapOpen[2 * i];
    transMat[0][2 * i + 2] = gapOpen[2 * i + 1];
    transMat[0][0] -= (gapOpen[2 * i] + gapOpen[2 * i + 1]);
    transMat[2 * i + 1][2 * i + 1] = gapExtend[2 * i];
    transMat[2 * i + 2][2 * i + 2] = gapExtend[2 * i + 1];
    transMat[2 * i + 1][2 * i + 2] = 0;
    transMat[2 * i + 2][2 * i + 1] = 0;
    transMat[2 * i + 1][0] = 1 - gapExtend[2 * i];
    transMat[2 * i + 2][0] = 1 - gapExtend[2 * i + 1];
  }
  for (i = 0; i < NumMatrixTypes; i++) {
    initialDistribution[i] = (float)log((float)initDistribMat[i]);
    for (j = 0; j < NumMatrixTypes; j++) {
      transProb[i][j] = (float)log((float)transMat[i][j]);
    }
  }
  for (i = 0; i < 256; i++) {
    for (j = 0; j < NumMatrixTypes; j++) {
      insProb[i][j] = (float)log((float)emitSingle[i]);
    }
    for (j = 0; j < 256; j++) {
      matchProb[i][j] = (float)log((float)emitPairs[i][j]);
    }
  }
  return 1;
}
```