user: What is the c source code of the assembly code below:

```asm
<calculateSubgridError_ADR_generic_tau>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xd8,%rsp
  mov    0x110(%rsp),%rax
  mov    %edi,0x9c(%rsp)
  mov    %esi,0x90(%rsp)
  mov    %rax,0x68(%rsp)
  mov    0x118(%rsp),%rax
  mov    %rcx,0x58(%rsp)
  mov    %rax,0x70(%rsp)
  mov    0x120(%rsp),%rax
  mov    %r8,0x20(%rsp)
  mov    %rax,0x78(%rsp)
  mov    0x128(%rsp),%rax
  mov    %r9,0x60(%rsp)
  mov    %rax,0x48(%rsp)
  mov    0x130(%rsp),%rax
  mov    %rax,0x28(%rsp)
  mov    0x138(%rsp),%rax
  mov    %rax,0x30(%rsp)
  mov    0x140(%rsp),%rax
  mov    %rax,0x38(%rsp)
  mov    0x148(%rsp),%rax
  mov    %rax,0x40(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0xc8(%rsp)
  mov    %edx,%eax
  imul   %edx,%eax
  mov    %eax,0x1c(%rsp)
  test   %edi,%edi
  jle    L30
  imul   %esi,%eax
  lea    -0x1(%rdx),%r13d
  movslq %edx,%r12
  mov    %edx,%ebx
  imul   %edx,%esi
  shl    $0x3,%r12
  movl   $0x0,0x84(%rsp)
  lea    0xb0(%rsp),%rbp
  movl   $0x0,0x88(%rsp)
  lea    0x8(%r12),%r8
  pxor   %xmm3,%xmm3
  mov    %eax,0x98(%rsp)
  lea    0x8(,%r13,8),%rax
  mov    %r8,%r15
  mov    %rbp,%r8
  mov    %esi,0x94(%rsp)
  mov    %rax,0x50(%rsp)
  movl   $0x0,0x8c(%rsp)
  movl   $0x0,0x80(%rsp)
L83:
  mov    0x90(%rsp),%edi
  test   %edi,%edi
  jle    L165
  movslq 0x8c(%rsp),%rax
  lea    -0x1(%rdi),%edx
  mov    0x84(%rsp),%ebp
  lea    0x0(,%rax,8),%r14
  lea    0x1(%rax,%rdx,1),%rax
  shl    $0x3,%rax
  mov    %rax,0x10(%rsp)
  mov    0x88(%rsp),%eax
  mov    %eax,0x18(%rsp)
  nop
L197:
  test   %ebx,%ebx
  jle    L217
  mov    0x60(%rsp),%rax
  movslq %ebp,%r9
  mov    0x50(%rsp),%rdx
  mov    %r8,%rdi
  shl    $0x3,%r9
  lea    (%rax,%r9,1),%rcx
  mov    %r9,0x8(%rsp)
  mov    %rcx,%rsi
  mov    %rcx,(%rsp)
  call   <memcpy@plt>
  movslq 0x18(%rsp),%r11
  mov    (%rsp),%rcx
  xor    %edi,%edi
  mov    %rax,%r8
  mov    0x70(%rsp),%rax
  mov    0x8(%rsp),%r9
  pxor   %xmm3,%xmm3
  shl    $0x3,%r11
  add    0x78(%rsp),%r9
  lea    (%rax,%r11,1),%rsi
L216:
  movsd  (%rcx,%rdi,8),%xmm1
  xor    %eax,%eax
  nopl   0x0(%rax)
L81:
  movsd  (%rsi,%rax,8),%xmm0
  mulsd  (%r9,%rax,8),%xmm0
  mov    %rax,%rdx
  add    $0x1,%rax
  subsd  %xmm0,%xmm1
  cmp    %r13,%rdx
  jne    L81
  movsd  %xmm1,(%r8,%rdi,8)
  add    $0x1,%rdi
  add    %r12,%rsi
  cmp    %edi,%ebx
  jg     L216
  mov    0x58(%rsp),%rax
  xor    %r10d,%r10d
  movapd %xmm3,%xmm4
  movapd %xmm3,%xmm5
  lea    (%rax,%r11,1),%r9
L137:
  mov    %r10,%rsi
  xor    %edi,%edi
  movapd %xmm3,%xmm2
  neg    %rsi
L22:
  mov    %r9,%rax
  movapd %xmm3,%xmm0
  xor    %edx,%edx
L43:
  movsd  (%rax),%xmm1
  mulsd  (%rax,%rsi,8),%xmm1
  mov    %edx,%ecx
  lea    0x1(%rdx),%edx
  add    %r12,%rax
  addsd  %xmm1,%xmm0
  cmp    %edx,%ebx
  jne    L43
  movsd  (%r8,%rdi,8),%xmm1
  add    $0x1,%rdi
  add    $0x1,%rsi
  mulsd  %xmm0,%xmm1
  mulsd  %xmm0,%xmm0
  addsd  %xmm1,%xmm2
  addsd  %xmm0,%xmm4
  cmp    %edi,%ebx
  jg     L22
  mulsd  (%r8,%r10,8),%xmm2
  add    $0x1,%r10
  add    $0x8,%r9
  addsd  %xmm2,%xmm5
  cmp    %r10d,%ebx
  jg     L137
  add    0x68(%rsp),%r11
  movapd %xmm3,%xmm1
  xor    %eax,%eax
L151:
  movsd  (%r11),%xmm0
  lea    0x1(%rax),%edx
  add    %r15,%r11
  maxsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  cmp    %ecx,%eax
  je     L94
  mov    %edx,%eax
  jmp    L151
  nopl   (%rax)
L94:
  mov    0x48(%rsp),%rax
  movsd  D7(%rip),%xmm0
  ucomisd %xmm5,%xmm3
  mulsd  (%rax,%r14,1),%xmm1
  mulsd  %xmm1,%xmm0
  mulsd  %xmm0,%xmm1
  mulsd  %xmm4,%xmm1
  ja     L169
L23:
  movapd %xmm5,%xmm2
  sqrtsd %xmm2,%xmm2
L60:
  mulsd  D16(%rip),%xmm2
  ucomisd %xmm1,%xmm3
  ja     L224
  movapd %xmm1,%xmm0
  sqrtsd %xmm0,%xmm0
L162:
  mulsd  D39(%rip),%xmm0
  mov    0x38(%rsp),%rax
  maxsd  %xmm0,%xmm2
  movsd  D3(%rip),%xmm0
  movsd  %xmm2,(%rax,%r14,1)
  mov    0x28(%rsp),%rax
  movsd  (%rax,%r14,1),%xmm2
  mov    0x20(%rsp),%rax
  mulsd  %xmm2,%xmm0
  movsd  (%rax,%r14,1),%xmm4
  mulsd  %xmm2,%xmm0
  movapd %xmm5,%xmm2
  addsd  %xmm1,%xmm2
  addsd  %xmm2,%xmm0
  movsd  D3(%rip),%xmm2
  mulsd  %xmm4,%xmm2
  mulsd  %xmm4,%xmm2
  addsd  %xmm2,%xmm0
  addsd  D27(%rip),%xmm0
  ucomisd %xmm0,%xmm3
  ja     L89
  sqrtsd %xmm0,%xmm0
L75:
  movsd  D64(%rip),%xmm2
  ucomisd %xmm5,%xmm3
  mov    0x40(%rsp),%rax
  divsd  %xmm0,%xmm2
  movsd  %xmm2,(%rax,%r14,1)
  ja     L106
  sqrtsd %xmm5,%xmm5
L113:
  ucomisd %xmm1,%xmm3
  ja     L149
  sqrtsd %xmm1,%xmm1
L158:
  divsd  %xmm1,%xmm5
  mov    0x30(%rsp),%rax
  mov    0x1c(%rsp),%edi
  add    %ebx,%ebp
  add    %edi,0x18(%rsp)
  movsd  %xmm5,(%rax,%r14,1)
  add    $0x8,%r14
  cmp    %r14,0x10(%rsp)
  jne    L197
L165:
  mov    0x90(%rsp),%ecx
  addl   $0x1,0x80(%rsp)
  add    %ecx,0x8c(%rsp)
  mov    0x80(%rsp),%eax
  mov    0x98(%rsp),%ecx
  add    %ecx,0x88(%rsp)
  mov    0x94(%rsp),%ecx
  add    %ecx,0x84(%rsp)
  cmp    %eax,0x9c(%rsp)
  jne    L83
L30:
  mov    0xc8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L29
  add    $0xd8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L217:
  mov    0x48(%rsp),%rax
  movsd  D7(%rip),%xmm1
  movapd %xmm3,%xmm5
  movsd  (%rax,%r14,1),%xmm0
  mulsd  %xmm3,%xmm0
  mulsd  %xmm0,%xmm1
  mulsd  %xmm0,%xmm1
  mulsd  %xmm3,%xmm1
  jmp    L23
L169:
  movapd %xmm5,%xmm0
  mov    %r8,0xa0(%rsp)
  movsd  %xmm1,0x8(%rsp)
  movsd  %xmm5,(%rsp)
  call   <sqrt@plt>
  movsd  0x8(%rsp),%xmm1
  movsd  (%rsp),%xmm5
  pxor   %xmm3,%xmm3
  mov    0xa0(%rsp),%r8
  movapd %xmm0,%xmm2
  jmp    L60
L29:
  call   <__stack_chk_fail@plt>
  nopl   0x0(%rax)
L149:
  movapd %xmm1,%xmm0
  mov    %r8,0x8(%rsp)
  movsd  %xmm5,(%rsp)
  call   <sqrt@plt>
  mov    0x8(%rsp),%r8
  movsd  (%rsp),%xmm5
  pxor   %xmm3,%xmm3
  movapd %xmm0,%xmm1
  jmp    L158
L106:
  movapd %xmm5,%xmm0
  mov    %r8,0x8(%rsp)
  movsd  %xmm1,(%rsp)
  call   <sqrt@plt>
  mov    0x8(%rsp),%r8
  movsd  (%rsp),%xmm1
  pxor   %xmm3,%xmm3
  movapd %xmm0,%xmm5
  jmp    L113
L89:
  mov    %r8,0xa0(%rsp)
  movsd  %xmm5,0x8(%rsp)
  movsd  %xmm1,(%rsp)
  call   <sqrt@plt>
  movsd  0x8(%rsp),%xmm5
  movsd  (%rsp),%xmm1
  pxor   %xmm3,%xmm3
  mov    0xa0(%rsp),%r8
  jmp    L75
L224:
  movapd %xmm1,%xmm0
  mov    %r8,0xa8(%rsp)
  movsd  %xmm5,0xa0(%rsp)
  movsd  %xmm2,0x8(%rsp)
  movsd  %xmm1,(%rsp)
  call   <sqrt@plt>
  movsd  0x8(%rsp),%xmm2
  movsd  (%rsp),%xmm1
  pxor   %xmm3,%xmm3
  mov    0xa8(%rsp),%r8
  movsd  0xa0(%rsp),%xmm5
  jmp    L162
```

tool_calls: name: parse_data
arguments: label: D7
type: f32[2]
name: parse_data
arguments: label: D16
type: f64
name: parse_data
arguments: label: D39
type: f64
name: parse_data
arguments: label: D3
type: f64
name: parse_data
arguments: label: D27
type: byte[8]
name: parse_data
arguments: label: D64
type: f64

tool: {"D7": [0.0,4.6328125]}

tool: D16: 0.5

tool: D39: 0.25

tool: D3: 4

tool: {"D27": [0x3a,0x8c,0x30,0xe2,0x8e,0x79,0x45,0x3e]}

tool: D64: 1

assistant: ```c
void calculateSubgridError_ADR_generic_tau(int nElements_global, int nQuadraturePoints_element, int nSpace, double *inverseJ, double *dmt, double *df, double *a, double *da, double *grad_phi, double *dphi, double *dr, double *pe, double *cfl, double *tau) {
  int eN, k, I, J, K, nSpace2 = nSpace * nSpace;
  double Vlin, Alin, A_II, cfl1, cfl2, vlin[3], G_IJ, v_dot_Gv, CI_nu2_G_ddot_G, Gv_I, CI = 36.0 * 36.0, g_I, g_dot_g;
  for (eN = 0; eN < nElements_global; eN++) {
    for (k = 0; k < nQuadraturePoints_element; k++) {
      Vlin = 0.0;
      Alin = 0.0;
      for (I = 0; I < nSpace; I++) {
        vlin[I] = df[eN * nQuadraturePoints_element * nSpace + k * nSpace + I];
        for (J = 0; J < nSpace; J++) {
          vlin[I] -= da[eN * nQuadraturePoints_element * nSpace2 + k * nSpace2 + I * nSpace + J] * grad_phi[eN * nQuadraturePoints_element * nSpace + k * nSpace + J];
        }
      }
      v_dot_Gv = 0.0;
      CI_nu2_G_ddot_G = 0.0;
      g_dot_g = 0.0;
      for (I = 0; I < nSpace; I++) {
        Gv_I = 0.0;
        g_I = 0.0;
        for (J = 0; J < nSpace; J++) {
          G_IJ = 0.0;
          for (K = 0; K < nSpace; K++)
            G_IJ += inverseJ[eN * nQuadraturePoints_element * nSpace2 + k * nSpace2 + K * nSpace + I] * inverseJ[eN * nQuadraturePoints_element * nSpace2 + k * nSpace2 + K * nSpace + J];
          Gv_I += G_IJ * vlin[J];
          CI_nu2_G_ddot_G += G_IJ * G_IJ;
          g_I += inverseJ[eN * nQuadraturePoints_element * nSpace2 + k * nSpace2 + J * nSpace + I];
        }
        g_dot_g += g_I * g_I;
        v_dot_Gv += vlin[I] * Gv_I;
      }
      for (I = 0; I < nSpace; I++) {
        A_II = a[eN * nQuadraturePoints_element * nSpace2 + k * nSpace2 + I * nSpace + I];
        Alin = (A_II > Alin) ? A_II : Alin;
      }
      Alin *= dphi[eN * nQuadraturePoints_element + k];
      CI_nu2_G_ddot_G *= CI * Alin * Alin;
      cfl1 = 0.5 * sqrt(v_dot_Gv);
      cfl2 = 0.25 * sqrt(CI_nu2_G_ddot_G);
      if (cfl1 > cfl2)
        cfl[eN * nQuadraturePoints_element + k] = cfl1;
      else
        cfl[eN * nQuadraturePoints_element + k] = cfl2;
      tau[eN * nQuadraturePoints_element + k] = 1.0 / sqrt(v_dot_Gv + CI_nu2_G_ddot_G + 4.0 * dr[eN * nQuadraturePoints_element + k] * dr[eN * nQuadraturePoints_element + k] + 4.0 * dmt[eN * nQuadraturePoints_element + k] * dmt[eN * nQuadraturePoints_element + k] + 1.0e-8);
      pe[eN * nQuadraturePoints_element + k] = sqrt(v_dot_Gv) / sqrt(CI_nu2_G_ddot_G);
    }
  }
}
```