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

```asm
<innerFH>:
  endbr64
  push   %r15
  push   %r14
  mov    %r9d,%r14d
  push   %r13
  mov    %r14,%r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xc8,%rsp
  mov    0x100(%rsp),%eax
  mov    0x110(%rsp),%r15d
  mov    %esi,0x48(%rsp)
  mov    0x108(%rsp),%ebx
  mov    %rdx,0x40(%rsp)
  mov    %eax,0x2c(%rsp)
  mov    0x118(%rsp),%rax
  mov    %ecx,0x4c(%rsp)
  mov    %rax,0x58(%rsp)
  mov    0x120(%rsp),%rax
  mov    %r8,0x8(%rsp)
  mov    %rdi,0x38(%rsp)
  mov    %r14,%rdi
  mov    %ebx,0x50(%rsp)
  add    %r15d,%ebx
  mov    %r15d,0x54(%rsp)
  mov    %rax,0x60(%rsp)
  movsd  %xmm0,(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0xb8(%rsp)
  xor    %eax,%eax
  call   <malloc@plt>
  lea    (%rbx,%rbx,2),%edi
  add    %edi,%edi
  mov    %rax,%r12
  shl    $0x3,%rdi
  call   <malloc@plt>
  lea    0x0(,%r14,8),%rdi
  mov    %rax,0x68(%rsp)
  call   <malloc@plt>
  lea    0x0(,%rbx,4),%rdi
  mov    %ebx,0x14(%rsp)
  mov    %rax,%rbp
  call   <malloc@plt>
  mov    %rax,%r15
  mov    0x14(%rsp),%eax
  lea    (%rax,%rax,8),%edi
  shl    $0x3,%rdi
  call   <malloc@plt>
  mov    0x14(%rsp),%esi
  movsd  (%rsp),%xmm0
  mov    %rax,0x20(%rsp)
  xor    %eax,%eax
  test   %esi,%esi
  je     L121
L82:
  mov    %eax,(%r15,%rax,4)
  add    $0x1,%rax
  cmp    %rbx,%rax
  jne    L82
L121:
  mov    0x58(%rsp),%rdi
  movsd  D12(%rip),%xmm1
  mov    %rdi,%rax
  lea    0x48(%rdi),%rdx
  nopl   0x0(%rax)
L104:
  movsd  %xmm1,(%rax)
  add    $0x8,%rax
  cmp    %rax,%rdx
  jne    L104
  test   %r13d,%r13d
  je     L117
  mov    0x60(%rsp),%rdi
  mov    %r14,%rdx
  xor    %esi,%esi
  movsd  %xmm0,(%rsp)
  call   <memset@plt>
  movsd  (%rsp),%xmm0
L117:
  mov    0x2c(%rsp),%ecx
  test   %ecx,%ecx
  je     L116
  movl   $0x0,0x28(%rsp)
  lea    0x70(%rsp),%rbx
  movl   $0x0,0x10(%rsp)
  movl   $0x0,(%rsp)
  mov    %r15,0x30(%rsp)
  mov    %r14,%r15
  mov    0x68(%rsp),%r14
  movsd  %xmm0,0x18(%rsp)
  xchg   %ax,%ax
L73:
  sub    $0x8,%rsp
  xor    %eax,%eax
  push   %r14
  mov    0x64(%rsp),%r9d
  mov    0x5c(%rsp),%r8d
  mov    0x50(%rsp),%rcx
  mov    0x60(%rsp),%edx
  mov    0x58(%rsp),%esi
  mov    0x48(%rsp),%rdi
  call   <dual_sample@plt>
  mov    0x30(%rsp),%r8
  mov    0x24(%rsp),%edx
  xor    %eax,%eax
  mov    0x40(%rsp),%rsi
  mov    %rbx,%rcx
  mov    %r14,%rdi
  call   <u2f@plt>
  mov    0x18(%rsp),%rdi
  mov    %rbp,%rdx
  mov    %r13d,%ecx
  mov    %rbx,%rsi
  xor    %eax,%eax
  call   <FDs@plt>
  pop    %rax
  pop    %rdx
  test   %r13d,%r13d
  je     L57
  movsd  0x18(%rsp),%xmm0
  xor    %eax,%eax
  xor    %r9d,%r9d
  nop
L86:
  xor    %edx,%edx
  comisd 0x0(%rbp,%rax,8),%xmm0
  jbe    L32
  add    $0x1,%r9d
  mov    $0x1,%edx
L32:
  mov    %dl,(%r12,%rax,1)
  add    $0x1,%rax
  cmp    %rax,%r15
  jne    L86
  cmp    0x10(%rsp),%r9d
  jbe    L89
  mov    0x60(%rsp),%rdi
  mov    %r15,%rdx
  mov    %r12,%rsi
  mov    %r9d,0x10(%rsp)
  call   <memcpy@plt>
  mov    0x58(%rsp),%rcx
  mov    0x40(%rbx),%rax
  movdqa (%rbx),%xmm3
  movdqa 0x10(%rbx),%xmm4
  movdqa 0x20(%rbx),%xmm5
  movdqa 0x30(%rbx),%xmm6
  mov    %rax,0x40(%rcx)
  mov    0x10(%rsp),%r9d
  movups %xmm3,(%rcx)
  movups %xmm4,0x10(%rcx)
  movups %xmm5,0x20(%rcx)
  movups %xmm6,0x30(%rcx)
L89:
  cmp    0x28(%rsp),%r9d
  ja     L114
L57:
  addl   $0x1,(%rsp)
  mov    (%rsp),%eax
  cmp    %eax,0x2c(%rsp)
  jne    L73
  mov    0x30(%rsp),%r15
L116:
  mov    0x68(%rsp),%rdi
  call   <free@plt>
  mov    %rbp,%rdi
  call   <free@plt>
  mov    %r15,%rdi
  call   <free@plt>
  mov    0x20(%rsp),%rdi
  call   <free@plt>
  mov    0xb8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L130
  add    $0xc8,%rsp
  mov    %r12,%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    10d0 <free@plt>
  nopl   0x0(%rax)
L114:
  movsd  0x18(%rsp),%xmm2
  mov    %r12,%rcx
  mov    %rbx,%rdx
  mov    %r13d,%esi
  mov    0x8(%rsp),%rdi
  mov    $0x4,%r8d
  mov    $0x2,%eax
  movsd  D15(%rip),%xmm1
  movapd %xmm2,%xmm0
  mov    %r9d,0x28(%rsp)
  mulsd  %xmm2,%xmm1
  call   <u2Fit@plt>
  cmp    %eax,0x10(%rsp)
  jae    L57
  mov    0x60(%rsp),%rdi
  mov    %r12,%rsi
  mov    %r15,%rdx
  mov    %eax,0x10(%rsp)
  call   <memcpy@plt>
  mov    0x58(%rsp),%rsi
  movdqa (%rbx),%xmm7
  movdqa 0x30(%rbx),%xmm3
  mov    0x40(%rbx),%rax
  movups %xmm7,(%rsi)
  movdqa 0x10(%rbx),%xmm7
  mov    %rax,0x40(%rsi)
  movups %xmm7,0x10(%rsi)
  movdqa 0x20(%rbx),%xmm7
  movups %xmm3,0x30(%rsi)
  movups %xmm7,0x20(%rsi)
  jmp    L57
L130:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D12
type_guessed: byte[8]
name: extract_symbolic_data
arguments: label: D15
type_guessed: byte[8]

tool: {"D12": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

tool: {"D15": [0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x40]}

assistant: ```c
void innerFH(double *uH, unsigned lenH, double *uO, unsigned lenO, double *u, unsigned len, double th, unsigned repCount, unsigned sam_sizH, unsigned sam_sizO, double *F, unsigned char *inl) {
  unsigned i, rep, max_i, max_s, no_i;
  double aF[3 * 3];
  unsigned char *v = (unsigned char *)malloc(len * sizeof(unsigned char));
  double *usam = (double *)malloc(6 * (sam_sizH + sam_sizO) * sizeof(double));
  double *Ds = (double *)malloc(len * sizeof(double));
  int *allInl = (int *)malloc((sam_sizH + sam_sizO) * sizeof(int));
  double *buffer = (double *)malloc(9 * (sam_sizH + sam_sizO) * sizeof(double));
  for (i = 0; i < sam_sizH + sam_sizO; ++i) {
    allInl[i] = i;
  }
  for (i = 0; i < 3 * 3; ++i) {
    F[i] = 1;
  }
  for (i = 0; i < len; ++i) {
    inl[i] = 0;
  }
  max_i = 0;
  max_s = 0;
  for (rep = 0; rep < repCount; ++rep) {
    dual_sample(uH, lenH, sam_sizH, uO, lenO, sam_sizO, usam);
    u2f(usam, allInl, sam_sizH + sam_sizO, aF, buffer);
    FDs(u, aF, Ds, len);
    no_i = 0;
    for (i = 0; i < len; ++i) {
      if (Ds[i] < th) {
        v[i] = 1;
        ++no_i;
      } else {
        v[i] = 0;
      }
    }
    if (max_i < no_i) {
      memcpy(inl, v, len * sizeof(unsigned char));
      memcpy(F, aF, 3 * 3 * sizeof(double));
      max_i = no_i;
    }
    if (no_i > max_s) {
      max_s = no_i;
      no_i = u2Fit(u, len, aF, v, th, th * 3, 4);
      if (max_i < no_i) {
        memcpy(inl, v, len * sizeof(unsigned char));
        memcpy(F, aF, 3 * 3 * sizeof(double));
        max_i = no_i;
      }
    }
  }
  free(usam);
  free(Ds);
  free(allInl);
  free(buffer);
  free(v);
}
```