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

```asm
<calculate_fgh>:
  endbr64
  push   %r15
  movapd %xmm0,%xmm8
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x198,%rsp
  movsd  D70(%rip),%xmm0
  movsd  %xmm4,0x120(%rsp)
  movapd %xmm0,%xmm4
  mov    %edi,0x180(%rsp)
  divsd  %xmm6,%xmm4
  mov    %esi,0x15c(%rsp)
  mov    %edx,0x1c(%rsp)
  mov    %rcx,0x188(%rsp)
  movsd  %xmm1,0x140(%rsp)
  movsd  %xmm2,0x148(%rsp)
  movsd  %xmm3,0x150(%rsp)
  movsd  %xmm5,0x128(%rsp)
  movsd  %xmm4,0x80(%rsp)
  movapd %xmm0,%xmm4
  divsd  %xmm7,%xmm4
  movsd  %xmm4,0x88(%rsp)
  movapd %xmm0,%xmm4
  divsd  0x1d0(%rsp),%xmm4
  divsd  %xmm8,%xmm0
  movsd  %xmm4,0x10(%rsp)
  movsd  %xmm0,0x118(%rsp)
  test   %edi,%edi
  jle    L242
  mov    0x1e8(%rsp),%rax
  mov    %rcx,%r11
  movslq %edx,%rcx
  mov    %r8,0x8(%rsp)
  shl    $0x3,%rcx
  mov    %r11,0x110(%rsp)
  mov    %r9,%r15
  add    $0x8,%rax
  mov    %rcx,0x160(%rsp)
  movslq %esi,%rcx
  mov    %rax,0x138(%rsp)
  shl    $0x3,%rcx
  mov    0x1f0(%rsp),%rax
  mov    %rcx,0x170(%rsp)
  mov    %edx,%ecx
  lea    0x8(%rax),%r14
  mov    %edx,%eax
  and    $0xfffffffe,%ecx
  movq   $0x1,0x130(%rsp)
  shr    %eax
  mov    %ecx,0x184(%rsp)
  mov    %r14,%r13
  sub    $0x1,%eax
  shl    $0x4,%rax
  add    $0x18,%rax
  mov    %rax,0x178(%rsp)
  mov    %edx,%eax
  or     $0x1,%eax
  cltq
  shl    $0x3,%rax
  mov    %rax,0x168(%rsp)
L354:
  mov    0x15c(%rsp),%eax
  mov    $0x8,%ebp
  mov    %r13,%r14
  movl   $0x1,0x158(%rsp)
  test   %eax,%eax
  jle    L230
  nopl   0x0(%rax)
L198:
  mov    0x1c(%rsp),%ecx
  test   %ecx,%ecx
  jle    L103
  lea    -0x8(%rbp),%rax
  lea    0x8(%rbp),%r12
  mov    $0x1,%ebx
  mov    %r14,%r13
  mov    %rax,0x108(%rsp)
  jmp    L364
  nopl   0x0(%rax)
L51:
  mov    0x110(%rsp),%rdx
  mov    0x8(%rsp),%rax
  lea    0x0(,%rbx,8),%r14
  mov    0x8(%rdx),%rdi
  mov    0x8(%rax),%r9
  mov    0x10(%rdx),%r10
  mov    0x8(%r15),%rax
  mov    (%rdi,%rbp,1),%rcx
  mov    (%r9,%rbp,1),%rsi
  mov    (%rax,%rbp,1),%r8
  mov    (%r10,%rbp,1),%r10
  movsd  (%rcx,%rbx,8),%xmm6
  movsd  (%rsi,%rbx,8),%xmm2
  mov    (%rdx),%r11
  mov    0x108(%rsp),%rdx
  movsd  %xmm6,0x20(%rsp)
  movsd  (%r8,%rbx,8),%xmm6
  movsd  %xmm2,0x28(%rsp)
  movsd  (%r10,%rbx,8),%xmm2
  mov    (%r9,%r12,1),%r10
  movsd  %xmm6,0x30(%rsp)
  mov    (%r9,%rdx,1),%r9
  movsd  %xmm2,0x90(%rsp)
  movsd  (%r10,%rbx,8),%xmm6
  movsd  0x8(%r8,%r14,1),%xmm2
  mov    (%r11,%rbp,1),%r10
  movsd  (%r9,%rbx,8),%xmm4
  movsd  %xmm6,0x98(%rsp)
  movsd  %xmm2,0xa0(%rsp)
  movsd  (%r10,%rbx,8),%xmm6
  movsd  -0x8(%r8,%r14,1),%xmm2
  movsd  %xmm4,0x40(%rsp)
  movsd  %xmm6,0x38(%rsp)
  movsd  %xmm2,0x48(%rsp)
  mov    (%rdi,%r12,1),%r8
  movsd  0x8(%rsi,%r14,1),%xmm4
  mov    (%rdi,%rdx,1),%rdi
  movsd  (%r8,%rbx,8),%xmm6
  movsd  %xmm4,0x50(%rsp)
  mov    0x10(%r15),%r8
  movsd  (%rdi,%rbx,8),%xmm7
  movsd  %xmm6,0x58(%rsp)
  movsd  -0x8(%rsi,%r14,1),%xmm6
  mov    (%r15),%rsi
  movsd  %xmm7,0xa8(%rsp)
  mov    (%r8,%rbp,1),%r8
  movsd  %xmm6,0xb0(%rsp)
  mov    (%rsi,%rbp,1),%rsi
  movsd  (%r8,%rbx,8),%xmm2
  movsd  (%rsi,%rbx,8),%xmm4
  mov    0x8(%rsp),%rsi
  movsd  %xmm2,0x60(%rsp)
  movsd  0x8(%rcx,%r14,1),%xmm2
  movsd  %xmm4,0xb8(%rsp)
  mov    0x10(%rsi),%rdi
  movsd  -0x8(%rcx,%r14,1),%xmm4
  mov    0x8(%rsp),%rcx
  movsd  %xmm2,0x68(%rsp)
  movsd  %xmm4,0xc0(%rsp)
  mov    (%rdi,%rbp,1),%rsi
  mov    (%rcx),%rcx
  movsd  (%rsi,%rbx,8),%xmm7
  mov    (%rax,%r12,1),%rsi
  movsd  (%rsi,%rbx,8),%xmm6
  movsd  %xmm7,0x70(%rsp)
  movsd  %xmm6,0x78(%rsp)
  mov    (%rcx,%rbp,1),%rcx
  mov    (%rax,%rdx,1),%rax
  movsd  0x8(%r10,%r14,1),%xmm6
  movsd  (%rax,%rbx,8),%xmm5
  mov    (%r11,%r12,1),%rax
  movsd  %xmm6,0xe0(%rsp)
  movsd  (%rcx,%rbx,8),%xmm2
  movsd  %xmm5,0xd0(%rsp)
  movsd  (%rax,%rbx,8),%xmm7
  mov    (%rdi,%rdx,1),%rax
  movsd  %xmm2,0xc8(%rsp)
  movsd  -0x8(%rsi,%r14,1),%xmm5
  movsd  0x8(%r9,%r14,1),%xmm2
  movsd  %xmm7,0xd8(%rsp)
  movsd  (%rax,%rbx,8),%xmm4
  mov    0x8(%r13),%rax
  movsd  %xmm2,0xf0(%rsp)
  movsd  -0x8(%r8,%r14,1),%xmm7
  movsd  %xmm4,0xe8(%rsp)
  mov    (%rax,%rbp,1),%rax
  movsd  %xmm5,0xf8(%rsp)
  movsd  %xmm7,0x100(%rsp)
  mov    (%rax,%rbx,4),%edi
  xor    %eax,%eax
  call   <isfluid@plt>
  test   %eax,%eax
  jne    L125
L116:
  mov    0x0(%r13),%rax
  mov    (%rsp),%rcx
  mov    (%rax,%r12,1),%rax
  mov    (%rax,%rcx,1),%edi
  xor    %eax,%eax
  call   <isfluid@plt>
  test   %eax,%eax
  jne    L202
L6:
  mov    0x0(%r13),%rax
  mov    (%rsp),%rcx
  mov    (%rax,%rbp,1),%rax
  mov    0x4(%rax,%rcx,1),%edi
  xor    %eax,%eax
  call   <isfluid@plt>
  test   %eax,%eax
  jne    L225
L249:
  add    $0x1,%rbx
  cmp    %ebx,0x1c(%rsp)
  jl     L421
L364:
  lea    0x0(,%rbx,4),%rax
  mov    %rax,(%rsp)
  mov    0x0(%r13),%rax
  mov    (%rax,%rbp,1),%rax
  mov    (%rax,%rbx,4),%edi
  xor    %eax,%eax
  call   <isfluid@plt>
  test   %eax,%eax
  jne    L51
  mov    0x0(%r13),%rax
  mov    (%rax,%rbp,1),%rax
  mov    (%rax,%rbx,4),%edi
  xor    %eax,%eax
  call   <getboundarytype@plt>
  mov    %eax,%esi
  sar    $0x1f,%esi
  mov    %esi,%edi
  shr    $0x1e,%edi
  lea    (%rax,%rdi,1),%ecx
  and    $0x3,%ecx
  sub    %edi,%ecx
  cmp    $0x1,%ecx
  je     L415
  cmp    $0x2,%ecx
  je     L235
  cmp    $0x1f,%eax
  jg     L1
  cmp    $0xf,%eax
  jg     L112
  shr    $0x1c,%esi
  add    %esi,%eax
  and    $0xf,%eax
  sub    %esi,%eax
  lea    -0x8(%rax),%ecx
  cmp    $0x2,%ecx
  jbe    L372
  sub    $0x4,%eax
  cmp    $0x2,%eax
  ja     L249
  mov    0x8(%rsp),%rax
  mov    0x108(%rsp),%rcx
  mov    %r13,%r14
  mov    0x130(%rsp),%rsi
  mov    0x8(%rax),%rax
  mov    (%rax,%rcx,1),%rax
  movsd  (%rax,%rbx,8),%xmm0
  mov    0x1e0(%rsp),%rax
  mov    (%rax,%rsi,8),%rax
  mov    (%rax,%rcx,1),%rax
  movsd  %xmm0,(%rax,%rbx,8)
  nopl   0x0(%rax)
L376:
  mov    0x8(%r15),%rax
  mov    (%rax,%rbp,1),%rcx
  mov    0x138(%rsp),%rax
  mov    (%rax),%rax
  mov    (%rax,%rbp,1),%rax
L152:
  movsd  (%rcx),%xmm0
  mov    0x160(%rsp),%rsi
  mov    %r12,%rbp
  addl   $0x1,0x158(%rsp)
  movsd  %xmm0,(%rax)
  movsd  (%rcx,%rsi,1),%xmm0
  movsd  %xmm0,(%rax,%rsi,1)
  mov    0x158(%rsp),%eax
  cmp    %eax,0x15c(%rsp)
  jge    L198
  mov    %r14,%r13
L230:
  mov    0x1c(%rsp),%edx
  test   %edx,%edx
  jle    L299
  mov    0x8(%rsp),%rax
  mov    0x130(%rsp),%rdx
  mov    0x8(%rax),%rcx
  mov    0x1e0(%rsp),%rax
  mov    (%rax,%rdx,8),%rdi
  mov    0x170(%rsp),%rdx
  mov    (%rcx),%rsi
  mov    (%rdi),%rax
  mov    (%rdi,%rdx,1),%rdi
  lea    0x10(%rsi),%r8
  mov    (%rcx,%rdx,1),%rcx
  mov    0x1c(%rsp),%edx
  lea    0x8(%rdi),%r9
  lea    0x8(%rax),%r10
  cmp    %r8,%r9
  lea    -0x1(%rdx),%ebx
  setne  %r11b
  cmp    %r10,%r8
  setne  %r8b
  and    %r11d,%r8d
  cmp    $0x1,%ebx
  seta   %r11b
  and    %r11d,%r8d
  lea    0x10(%rax),%r11
  cmp    %r11,%r9
  setne  %r11b
  and    %r11d,%r8d
  lea    0x10(%rcx),%r11
  cmp    %r11,%r9
  setne  %r9b
  test   %r9b,%r8b
  je     L101
  lea    0x8(%rcx),%r9
  lea    0x18(%rax),%r8
  cmp    %r8,%r9
  lea    0x18(%rcx),%r8
  setae  %r9b
  cmp    %r8,%r10
  setae  %r8b
  or     %r9b,%r8b
  je     L101
  mov    0x178(%rsp),%rdx
  mov    $0x8,%r8d
  nopl   0x0(%rax,%rax,1)
L212:
  movupd (%rsi,%r8,1),%xmm0
  movups %xmm0,(%rax,%r8,1)
  movupd (%rcx,%r8,1),%xmm0
  movups %xmm0,(%rdi,%r8,1)
  add    $0x10,%r8
  cmp    %r8,%rdx
  jne    L212
  mov    0x184(%rsp),%ebx
  cmp    %ebx,0x1c(%rsp)
  je     L299
  mov    0x168(%rsp),%rbx
  movsd  (%rsi,%rbx,1),%xmm0
  movsd  %xmm0,(%rax,%rbx,1)
  movsd  (%rcx,%rbx,1),%xmm0
  movsd  %xmm0,(%rdi,%rbx,1)
L299:
  addq   $0x8,0x8(%rsp)
  add    $0x8,%r15
  add    $0x8,%r13
  addq   $0x1,0x130(%rsp)
  mov    0x130(%rsp),%rax
  addq   $0x8,0x138(%rsp)
  addq   $0x8,0x110(%rsp)
  cmp    %eax,0x180(%rsp)
  jge    L354
L242:
  mov    0x15c(%rsp),%ecx
  test   %ecx,%ecx
  jle    L16
  movslq 0x180(%rsp),%rax
  mov    0x188(%rsp),%rbx
  mov    0x1c(%rsp),%esi
  shl    $0x3,%rax
  lea    (%rbx,%rax,1),%rdx
  add    0x1d8(%rsp),%rax
  test   %esi,%esi
  jle    L16
  add    $0x1,%ecx
  mov    (%rax),%rax
  mov    (%rbx),%r12
  mov    $0x8,%r8d
  shl    $0x3,%rcx
  mov    (%rdx),%r15
  mov    %rcx,(%rsp)
  mov    0x1d8(%rsp),%rcx
  mov    %rax,0x8(%rsp)
  mov    %esi,%eax
  mov    (%rcx),%r13
  mov    %esi,%ecx
  and    $0xfffffffe,%esi
  shr    %eax
  mov    %esi,0x20(%rsp)
  lea    -0x1(%rcx),%esi
  lea    -0x1(%rax),%r10d
  mov    %ecx,%eax
  mov    %esi,0x10(%rsp)
  shl    $0x4,%r10
  or     $0x1,%eax
  lea    0x1(%rcx),%ebp
  add    $0x18,%r10
  shl    $0x3,%rax
L148:
  mov    0x8(%rsp),%rbx
  mov    (%r12,%r8,1),%rsi
  mov    0x0(%r13,%r8,1),%rdx
  mov    (%r15,%r8,1),%rcx
  mov    (%rbx,%r8,1),%rdi
  lea    0x10(%rsi),%r9
  lea    0x8(%rdx),%rbx
  lea    0x8(%rdi),%r11
  cmp    %r9,%r11
  setne  %r14b
  cmp    %rbx,%r9
  setne  %r9b
  and    %r14d,%r9d
  cmpl   $0x1,0x10(%rsp)
  seta   %r14b
  and    %r14d,%r9d
  lea    0x10(%rdx),%r14
  cmp    %r14,%r11
  setne  %r14b
  and    %r14d,%r9d
  lea    0x10(%rcx),%r14
  cmp    %r14,%r11
  setne  %r11b
  test   %r11b,%r9b
  je     L233
  lea    0x8(%rcx),%r11
  lea    0x18(%rdx),%r9
  cmp    %r9,%r11
  lea    0x18(%rcx),%r9
  setae  %r11b
  cmp    %r9,%rbx
  mov    $0x8,%r9d
  setae  %bl
  or     %r11b,%bl
  je     L233
  nopl   0x0(%rax,%rax,1)
L280:
  movupd (%rsi,%r9,1),%xmm0
  movups %xmm0,(%rdx,%r9,1)
  movupd (%rcx,%r9,1),%xmm0
  movups %xmm0,(%rdi,%r9,1)
  add    $0x10,%r9
  cmp    %r9,%r10
  jne    L280
  mov    0x1c(%rsp),%r11d
  cmp    %r11d,0x20(%rsp)
  je     L84
  movsd  (%rsi,%rax,1),%xmm0
  movsd  %xmm0,(%rdx,%rax,1)
  movsd  (%rcx,%rax,1),%xmm0
  movsd  %xmm0,(%rdi,%rax,1)
L84:
  add    $0x8,%r8
  cmp    (%rsp),%r8
  jne    L148
L16:
  add    $0x198,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L225:
  movsd  0x30(%rsp),%xmm12
  movsd  0x60(%rsp),%xmm14
  add    $0x1,%rbx
  movsd  0xb8(%rsp),%xmm15
  movsd  0x20(%rsp),%xmm2
  movapd %xmm12,%xmm8
  movapd %xmm14,%xmm0
  movsd  0x80(%rsp),%xmm3
  movsd  0x78(%rsp),%xmm10
  addsd  %xmm12,%xmm8
  movsd  0x48(%rsp),%xmm11
  movsd  0xd0(%rsp),%xmm13
  movapd %xmm12,%xmm5
  movsd  0xa0(%rsp),%xmm9
  movapd %xmm12,%xmm7
  addsd  0x68(%rsp),%xmm2
  addsd  %xmm11,%xmm7
  movsd  0x38(%rsp),%xmm6
  addsd  0xe0(%rsp),%xmm6
  subsd  %xmm8,%xmm0
  addsd  %xmm9,%xmm5
  mov    0x138(%rsp),%rax
  movsd  0x28(%rsp),%xmm1
  addsd  0x50(%rsp),%xmm1
  movsd  0x40(%rsp),%xmm4
  addsd  0xf0(%rsp),%xmm4
  mov    (%rax),%rax
  addsd  %xmm15,%xmm0
  mov    (%rax,%rbp,1),%rax
  mulsd  %xmm3,%xmm0
  mulsd  %xmm3,%xmm0
  movapd %xmm10,%xmm3
  subsd  %xmm8,%xmm3
  addsd  %xmm13,%xmm3
  mulsd  0x88(%rsp),%xmm3
  mulsd  0x88(%rsp),%xmm3
  addsd  %xmm3,%xmm0
  movapd %xmm9,%xmm3
  subsd  %xmm8,%xmm3
  movsd  0x10(%rsp),%xmm8
  addsd  %xmm11,%xmm3
  subsd  %xmm12,%xmm11
  mulsd  %xmm8,%xmm3
  mulsd  %xmm8,%xmm3
  movapd %xmm12,%xmm8
  subsd  %xmm9,%xmm8
  movapd %xmm7,%xmm9
  andpd  D53(%rip),%xmm9
  mulsd  %xmm7,%xmm7
  addsd  %xmm3,%xmm0
  movapd %xmm5,%xmm3
  andpd  D53(%rip),%xmm3
  mulsd  %xmm5,%xmm5
  mulsd  %xmm8,%xmm3
  movapd %xmm11,%xmm8
  mulsd  %xmm9,%xmm8
  movsd  0x120(%rsp),%xmm9
  mulsd  0x118(%rsp),%xmm0
  subsd  %xmm7,%xmm5
  movapd %xmm6,%xmm7
  andpd  D53(%rip),%xmm7
  subsd  %xmm8,%xmm3
  mulsd  %xmm9,%xmm3
  addsd  %xmm5,%xmm3
  movsd  D83(%rip),%xmm5
  mulsd  0x10(%rsp),%xmm5
  mulsd  %xmm5,%xmm3
  movapd %xmm2,%xmm5
  andpd  D53(%rip),%xmm5
  subsd  %xmm3,%xmm0
  movapd %xmm12,%xmm3
  subsd  %xmm14,%xmm3
  addsd  %xmm12,%xmm14
  mulsd  %xmm3,%xmm5
  movapd %xmm7,%xmm3
  movapd %xmm15,%xmm7
  subsd  %xmm12,%xmm7
  addsd  %xmm12,%xmm15
  mulsd  %xmm14,%xmm2
  mulsd  %xmm7,%xmm3
  subsd  %xmm3,%xmm5
  movapd %xmm15,%xmm3
  mulsd  %xmm6,%xmm3
  mulsd  %xmm9,%xmm5
  subsd  %xmm3,%xmm2
  movapd %xmm1,%xmm3
  addsd  %xmm5,%xmm2
  movsd  D83(%rip),%xmm5
  mulsd  0x80(%rsp),%xmm5
  andpd  D53(%rip),%xmm3
  mulsd  %xmm5,%xmm2
  movapd %xmm13,%xmm5
  addsd  %xmm12,%xmm13
  subsd  %xmm12,%xmm5
  subsd  %xmm2,%xmm0
  movapd %xmm12,%xmm2
  subsd  %xmm10,%xmm2
  addsd  %xmm12,%xmm10
  mulsd  %xmm2,%xmm3
  movapd %xmm4,%xmm2
  andpd  D53(%rip),%xmm2
  mulsd  %xmm10,%xmm1
  mulsd  %xmm5,%xmm2
  subsd  %xmm2,%xmm3
  movapd %xmm13,%xmm2
  mulsd  %xmm4,%xmm2
  mulsd  %xmm9,%xmm3
  subsd  %xmm2,%xmm1
  movsd  D83(%rip),%xmm2
  mulsd  0x88(%rsp),%xmm2
  addsd  %xmm3,%xmm1
  mulsd  %xmm2,%xmm1
  subsd  %xmm1,%xmm0
  addsd  0x150(%rsp),%xmm0
  mulsd  0x128(%rsp),%xmm0
  addsd  %xmm12,%xmm0
  movsd  %xmm0,(%rax,%r14,1)
  cmp    %ebx,0x1c(%rsp)
  jge    L364
  nopl   0x0(%rax)
L421:
  mov    %r13,%r14
  jmp    L376
  nopl   0x0(%rax,%rax,1)
L202:
  movsd  0x28(%rsp),%xmm11
  movsd  0x58(%rsp),%xmm6
  movsd  0x98(%rsp),%xmm14
  movsd  0x70(%rsp),%xmm15
  movapd %xmm11,%xmm4
  movapd %xmm11,%xmm3
  movsd  0xc8(%rsp),%xmm9
  movsd  0x40(%rsp),%xmm8
  addsd  %xmm11,%xmm4
  movapd %xmm14,%xmm1
  movapd %xmm15,%xmm0
  movsd  0x80(%rsp),%xmm10
  movsd  0x88(%rsp),%xmm12
  addsd  %xmm14,%xmm3
  movsd  0xb0(%rsp),%xmm13
  addsd  0x20(%rsp),%xmm6
  mov    0x1e0(%rsp),%rax
  subsd  %xmm4,%xmm0
  subsd  %xmm4,%xmm1
  movsd  0xd8(%rsp),%xmm5
  movsd  0xf8(%rsp),%xmm2
  addsd  0x38(%rsp),%xmm5
  addsd  0x48(%rsp),%xmm2
  mov    0x130(%rsp),%rsi
  addsd  %xmm9,%xmm0
  addsd  %xmm8,%xmm1
  mov    (%rax,%rsi,8),%rax
  mulsd  %xmm10,%xmm0
  mov    (%rax,%rbp,1),%rax
  mulsd  %xmm12,%xmm1
  mulsd  %xmm10,%xmm0
  mulsd  %xmm12,%xmm1
  addsd  %xmm1,%xmm0
  movsd  0x50(%rsp),%xmm1
  subsd  %xmm4,%xmm1
  movsd  0x10(%rsp),%xmm4
  addsd  %xmm13,%xmm1
  mulsd  %xmm4,%xmm1
  mulsd  %xmm4,%xmm1
  movapd %xmm11,%xmm4
  subsd  %xmm14,%xmm4
  movsd  0x120(%rsp),%xmm14
  addsd  %xmm1,%xmm0
  movapd %xmm3,%xmm1
  andpd  D53(%rip),%xmm1
  mulsd  %xmm3,%xmm3
  mulsd  %xmm4,%xmm1
  movapd %xmm11,%xmm4
  mulsd  0x118(%rsp),%xmm0
  addsd  %xmm8,%xmm4
  subsd  %xmm11,%xmm8
  movapd %xmm4,%xmm7
  andpd  D53(%rip),%xmm7
  mulsd  %xmm4,%xmm4
  mulsd  %xmm8,%xmm7
  subsd  %xmm4,%xmm3
  movsd  D83(%rip),%xmm4
  subsd  %xmm7,%xmm1
  movapd %xmm9,%xmm7
  addsd  %xmm11,%xmm9
  subsd  %xmm11,%xmm7
  mulsd  %xmm14,%xmm1
  addsd  %xmm3,%xmm1
  movapd %xmm12,%xmm3
  mulsd  %xmm4,%xmm3
  mulsd  %xmm3,%xmm1
  movapd %xmm6,%xmm3
  andpd  D53(%rip),%xmm3
  subsd  %xmm1,%xmm0
  movapd %xmm3,%xmm1
  movapd %xmm11,%xmm3
  subsd  %xmm15,%xmm3
  addsd  %xmm11,%xmm15
  mulsd  %xmm3,%xmm1
  movapd %xmm5,%xmm3
  andpd  D53(%rip),%xmm3
  mulsd  %xmm9,%xmm5
  mulsd  %xmm7,%xmm3
  movsd  0x50(%rsp),%xmm7
  subsd  %xmm3,%xmm1
  movapd %xmm1,%xmm3
  movapd %xmm15,%xmm1
  mulsd  %xmm6,%xmm1
  mulsd  %xmm14,%xmm3
  subsd  %xmm5,%xmm1
  movsd  0x30(%rsp),%xmm5
  addsd  0x78(%rsp),%xmm5
  addsd  %xmm3,%xmm1
  movapd %xmm10,%xmm3
  movapd %xmm5,%xmm6
  mulsd  %xmm4,%xmm3
  andpd  D53(%rip),%xmm6
  mulsd  %xmm3,%xmm1
  movapd %xmm11,%xmm3
  subsd  %xmm7,%xmm3
  subsd  %xmm1,%xmm0
  movapd %xmm6,%xmm1
  movapd %xmm13,%xmm6
  subsd  %xmm11,%xmm6
  mulsd  %xmm3,%xmm1
  movapd %xmm2,%xmm3
  andpd  D53(%rip),%xmm3
  addsd  %xmm11,%xmm13
  mulsd  0x10(%rsp),%xmm4
  mulsd  %xmm6,%xmm3
  mulsd  %xmm13,%xmm2
  subsd  %xmm3,%xmm1
  movapd %xmm11,%xmm3
  addsd  %xmm7,%xmm3
  mulsd  %xmm14,%xmm1
  mulsd  %xmm3,%xmm5
  subsd  %xmm2,%xmm5
  addsd  %xmm5,%xmm1
  mulsd  %xmm4,%xmm1
  subsd  %xmm1,%xmm0
  addsd  0x148(%rsp),%xmm0
  mulsd  0x128(%rsp),%xmm0
  addsd  %xmm11,%xmm0
  movsd  %xmm0,(%rax,%r14,1)
  jmp    L6
  nopl   0x0(%rax,%rax,1)
L125:
  movsd  0x20(%rsp),%xmm10
  movsd  0x58(%rsp),%xmm15
  movsd  0x90(%rsp),%xmm6
  movsd  0x38(%rsp),%xmm9
  movapd %xmm10,%xmm5
  movapd %xmm15,%xmm1
  movsd  0xa8(%rsp),%xmm13
  movsd  0x80(%rsp),%xmm8
  addsd  %xmm10,%xmm5
  movapd %xmm6,%xmm0
  movsd  0x88(%rsp),%xmm11
  movsd  0x68(%rsp),%xmm12
  movsd  0xc0(%rsp),%xmm14
  movapd %xmm10,%xmm3
  movsd  0xe8(%rsp),%xmm4
  addsd  %xmm6,%xmm3
  addsd  0x40(%rsp),%xmm4
  movsd  0x100(%rsp),%xmm2
  subsd  %xmm5,%xmm0
  subsd  %xmm5,%xmm1
  mov    0x1d8(%rsp),%rax
  mov    0x130(%rsp),%rcx
  addsd  0x48(%rsp),%xmm2
  movapd %xmm4,%xmm7
  andpd  D53(%rip),%xmm7
  mov    (%rax,%rcx,8),%rax
  addsd  %xmm9,%xmm0
  addsd  %xmm13,%xmm1
  mov    (%rax,%rbp,1),%rax
  mulsd  %xmm8,%xmm0
  mulsd  %xmm11,%xmm1
  mulsd  %xmm8,%xmm0
  mulsd  %xmm11,%xmm1
  addsd  %xmm1,%xmm0
  movapd %xmm12,%xmm1
  subsd  %xmm5,%xmm1
  movsd  0x10(%rsp),%xmm5
  addsd  %xmm14,%xmm1
  mulsd  %xmm5,%xmm1
  mulsd  %xmm5,%xmm1
  movapd %xmm10,%xmm5
  subsd  %xmm6,%xmm5
  addsd  %xmm1,%xmm0
  movapd %xmm3,%xmm1
  andpd  D53(%rip),%xmm1
  mulsd  %xmm3,%xmm3
  mulsd  %xmm5,%xmm1
  movapd %xmm10,%xmm5
  mulsd  0x118(%rsp),%xmm0
  addsd  %xmm9,%xmm5
  subsd  %xmm10,%xmm9
  movapd %xmm5,%xmm6
  andpd  D53(%rip),%xmm6
  mulsd  %xmm5,%xmm5
  mulsd  %xmm9,%xmm6
  movsd  0x120(%rsp),%xmm9
  subsd  %xmm5,%xmm3
  movapd %xmm8,%xmm5
  subsd  %xmm6,%xmm1
  movsd  0x28(%rsp),%xmm6
  addsd  0x70(%rsp),%xmm6
  mulsd  %xmm9,%xmm1
  addsd  %xmm3,%xmm1
  movsd  D83(%rip),%xmm3
  mulsd  %xmm3,%xmm5
  mulsd  %xmm5,%xmm1
  movapd %xmm10,%xmm5
  subsd  %xmm15,%xmm5
  subsd  %xmm1,%xmm0
  movapd %xmm6,%xmm1
  andpd  D53(%rip),%xmm1
  mulsd  %xmm5,%xmm1
  movapd %xmm7,%xmm5
  movapd %xmm13,%xmm7
  subsd  %xmm10,%xmm7
  addsd  %xmm10,%xmm13
  mulsd  %xmm7,%xmm5
  mulsd  %xmm13,%xmm4
  subsd  %xmm5,%xmm1
  movapd %xmm10,%xmm5
  addsd  %xmm15,%xmm5
  mulsd  %xmm9,%xmm1
  mulsd  %xmm5,%xmm6
  subsd  %xmm4,%xmm6
  movapd %xmm11,%xmm4
  mulsd  %xmm3,%xmm4
  mulsd  0x10(%rsp),%xmm3
  addsd  %xmm6,%xmm1
  movapd %xmm14,%xmm6
  addsd  %xmm10,%xmm14
  subsd  %xmm10,%xmm6
  mulsd  %xmm4,%xmm1
  movsd  0x30(%rsp),%xmm4
  addsd  0x60(%rsp),%xmm4
  movapd %xmm4,%xmm5
  subsd  %xmm1,%xmm0
  movapd %xmm4,%xmm1
  movapd %xmm10,%xmm4
  subsd  %xmm12,%xmm4
  andpd  D53(%rip),%xmm1
  mulsd  %xmm4,%xmm1
  movapd %xmm2,%xmm4
  andpd  D53(%rip),%xmm4
  mulsd  %xmm14,%xmm2
  mulsd  %xmm6,%xmm4
  subsd  %xmm4,%xmm1
  movapd %xmm10,%xmm4
  addsd  %xmm12,%xmm4
  mulsd  %xmm9,%xmm1
  mulsd  %xmm4,%xmm5
  movapd %xmm5,%xmm4
  subsd  %xmm2,%xmm4
  addsd  %xmm4,%xmm1
  mulsd  %xmm3,%xmm1
  subsd  %xmm1,%xmm0
  addsd  0x140(%rsp),%xmm0
  mulsd  0x128(%rsp),%xmm0
  addsd  %xmm10,%xmm0
  movsd  %xmm0,(%rax,%rbx,8)
  jmp    L116
L415:
  mov    0x8(%r15),%rax
  mov    %r13,%r14
  mov    (%rax,%rbp,1),%rcx
  mov    0x138(%rsp),%rax
  mov    (%rax),%rax
  movsd  (%rcx,%rbx,8),%xmm0
  mov    (%rax,%rbp,1),%rax
  movsd  %xmm0,(%rax,%rbx,8)
  jmp    L152
L235:
  mov    0x8(%r15),%rax
  shl    $0x3,%rbx
  mov    %r13,%r14
  mov    (%rax,%rbp,1),%rcx
  mov    0x138(%rsp),%rax
  mov    (%rax),%rax
  movsd  -0x8(%rcx,%rbx,1),%xmm0
  mov    (%rax,%rbp,1),%rax
  movsd  %xmm0,-0x8(%rax,%rbx,1)
  jmp    L152
L1:
  mov    0x110(%rsp),%rax
  mov    0x130(%rsp),%rcx
  mov    %r13,%r14
  mov    0x8(%rax),%rax
  mov    (%rax,%rbp,1),%rax
  movsd  (%rax,%rbx,8),%xmm0
  mov    0x1d8(%rsp),%rax
  mov    (%rax,%rcx,8),%rax
  mov    (%rax,%rbp,1),%rax
  movsd  %xmm0,(%rax,%rbx,8)
  jmp    L376
L112:
  mov    0x110(%rsp),%rax
  mov    0x130(%rsp),%rcx
  mov    %r13,%r14
  mov    (%rax),%rax
  mov    (%rax,%rbp,1),%rax
  movsd  (%rax,%rbx,8),%xmm0
  mov    0x1d8(%rsp),%rax
  mov    -0x8(%rax,%rcx,8),%rax
  mov    (%rax,%rbp,1),%rax
  movsd  %xmm0,(%rax,%rbx,8)
  jmp    L376
L372:
  mov    0x8(%rsp),%rax
  mov    0x130(%rsp),%rcx
  mov    %r13,%r14
  mov    0x8(%rax),%rax
  mov    (%rax,%rbp,1),%rax
  movsd  (%rax,%rbx,8),%xmm0
  mov    0x1e0(%rsp),%rax
  mov    (%rax,%rcx,8),%rax
  mov    (%rax,%rbp,1),%rax
  movsd  %xmm0,(%rax,%rbx,8)
  jmp    L376
L101:
  mov    %ebx,%r9d
  mov    $0x1,%r8d
  add    $0x2,%r9
  nopl   (%rax)
L162:
  movsd  (%rsi,%r8,8),%xmm0
  movsd  %xmm0,(%rax,%r8,8)
  movsd  (%rcx,%r8,8),%xmm0
  movsd  %xmm0,(%rdi,%r8,8)
  add    $0x1,%r8
  cmp    %r9,%r8
  jne    L162
  jmp    L299
L233:
  mov    $0x1,%r9d
  nopl   0x0(%rax)
L339:
  movsd  (%rsi,%r9,8),%xmm0
  movsd  %xmm0,(%rdx,%r9,8)
  movsd  (%rcx,%r9,8),%xmm0
  movsd  %xmm0,(%rdi,%r9,8)
  add    $0x1,%r9
  cmp    %r9,%rbp
  jne    L339
  jmp    L84
L103:
  mov    0x8(%r15),%rax
  lea    0x8(%rbp),%r12
  mov    (%rax,%rbp,1),%rcx
  mov    0x138(%rsp),%rax
  mov    (%rax),%rax
  mov    (%rax,%rbp,1),%rax
  jmp    L152
```

tool_calls: name: retrieve_data
arguments: label: D70
data_type: f64
name: retrieve_data
arguments: label: D53
data_type: qword[2]
name: retrieve_data
arguments: label: D83
data_type: f64

tool: D70: 1

tool: {"D53": [0x7fffffffffffffff,0x0000000000000000]}

tool: D83: 0.25

assistant: ```c
void calculate_fgh(double Re, double GX, double GY, double GZ, double alpha, double dt, double dx, double dy, double dz, int imax, int jmax, int kmax, double ***U, double ***V, double ***W, double ***F, double ***G, double ***H, int ***Flag) {
  double uijk, vijk, wijk, uujk, udjk, uiuk, uidk, uiju, uijd, viuk, vidk, viju, vijd, vujk, vdjk, wiju, wijd, wujk, wdjk, wiuk, widk, uduk, udju, vudk, vidu, wiud, wujd;
  double Dx = 1 / dx, Dy = 1 / dy, Dz = 1 / dz;
  double ReInv = 1.0 / Re;
  int i, j, k, fgg;
  for (i = 1; i < imax + 1; i++) {
    for (j = 1; j < jmax + 1; j++) {
      for (k = 1; k < kmax + 1; k++) {
        if (isfluid(Flag[i][j][k])) {
          uijk = U[i][j][k];
          vijk = V[i][j][k];
          wijk = W[i][j][k];
          uujk = U[i + 1][j][k];
          viuk = V[i][j + 1][k];
          wiju = W[i][j][k + 1];
          udjk = U[i - 1][j][k];
          vidk = V[i][j - 1][k];
          wijd = W[i][j][k - 1];
          uiuk = U[i][j + 1][k];
          viju = V[i][j][k + 1];
          wujk = W[i + 1][j][k];
          uidk = U[i][j - 1][k];
          vijd = V[i][j][k - 1];
          wdjk = W[i - 1][j][k];
          uiju = U[i][j][k + 1];
          vujk = V[i + 1][j][k];
          wiuk = W[i][j + 1][k];
          uijd = U[i][j][k - 1];
          vdjk = V[i - 1][j][k];
          widk = W[i][j - 1][k];
          uduk = U[i - 1][j + 1][k];
          udju = U[i - 1][j][k + 1];
          vudk = V[i + 1][j - 1][k];
          vidu = V[i][j - 1][k + 1];
          wiud = W[i][j + 1][k - 1];
          wujd = W[i + 1][j][k - 1];
          if (isfluid(Flag[i + 1][j][k])) {
            F[i][j][k] = uijk + dt * (ReInv * ((uujk - 2 * uijk + udjk) * Dx * Dx + (uiuk - 2 * uijk + uidk) * Dy * Dy + (uiju - 2 * uijk + uijd) * Dz * Dz) - 0.25 * Dx * (pow((uijk + uujk), 2) - pow((udjk + uijk), 2) + alpha * (fabs(uijk + uujk) * (uijk - uujk) - fabs(udjk + uijk) * (udjk - uijk))) - 0.25 * Dy * ((vijk + vujk) * (uijk + uiuk) - (vidk + vudk) * (uidk + uijk) + alpha * (fabs(vijk + vujk) * (uijk - uiuk) - fabs(vidk + vudk) * (uidk - uijk))) - 0.25 * Dz * ((wijk + wujk) * (uijk + uiju) - (wijd + wujd) * (uijd + uijk) + alpha * (fabs(wijk + wujk) * (uijk - uiju) - fabs(wijd + wujd) * (uijd - uijk))) + GX);
          }
          if (isfluid(Flag[i][j + 1][k])) {
            G[i][j][k] = vijk + dt * (ReInv * ((vujk - 2 * vijk + vdjk) * Dx * Dx + (viuk - 2 * vijk + vidk) * Dy * Dy + (viju - 2 * vijk + vijd) * Dz * Dz) - 0.25 * Dy * (pow((vijk + viuk), 2) - pow((vidk + vijk), 2) + alpha * (fabs(vijk + viuk) * (vijk - viuk) - fabs(vidk + vijk) * (vidk - vijk))) - 0.25 * Dx * ((uijk + uiuk) * (vijk + vujk) - (udjk + uduk) * (vdjk + vijk) + alpha * (fabs(uijk + uiuk) * (vijk - vujk) - fabs(udjk + uduk) * (vdjk - vijk))) - 0.25 * Dz * ((wijk + wiuk) * (vijk + viju) - (wijd + wiud) * (vijd + vijk) + alpha * (fabs(wijk + wiuk) * (vijk - viju) - fabs(wijd + wiud) * (vijd - vijk))) + GY);
          }
          if (isfluid(Flag[i][j][k + 1])) {
            H[i][j][k] = wijk + dt * (ReInv * ((wujk - 2 * wijk + wdjk) * Dx * Dx + (wiuk - 2 * wijk + widk) * Dy * Dy + (wiju - 2 * wijk + wijd) * Dz * Dz) - 0.25 * Dz * (pow((wijk + wiju), 2) - pow((wijd + wijk), 2) + alpha * (fabs(wijk + wiju) * (wijk - wiju) - fabs(wijd + wijk) * (wijd - wijk))) - 0.25 * Dx * ((uijk + uiju) * (wijk + wujk) - (udjk + udju) * (wdjk + wijk) + alpha * (fabs(uijk + uiju) * (wijk - wujk) - fabs(udjk + udju) * (wdjk - wijk))) - 0.25 * Dy * ((vijk + viju) * (wijk + wiuk) - (vidk + vidu) * (widk + wijk) + alpha * (fabs(vijk + viju) * (wijk - wiuk) - fabs(vidk + vidu) * (widk - wijk))) + GZ);
          }
        } else {
          fgg = getboundarytype(Flag[i][j][k]);
          if (fgg % 4 == 1) {
            H[i][j][k] = W[i][j][k];
            break;
          } else if (fgg % 4 == 2) {
            H[i][j][k - 1] = W[i][j][k - 1];
            break;
          }
          if (fgg > 31) {
            F[i][j][k] = U[i][j][k];
            break;
          } else if (fgg > 15) {
            F[i - 1][j][k] = U[i - 1][j][k];
            break;
          }
          if ((fgg % 16 + 1) / 3 == 3) {
            G[i][j][k] = V[i][j][k];
            break;
          } else if ((fgg % 16 + 2) / 3 == 2) {
            G[i][j - 1][k] = V[i][j - 1][k];
            break;
          }
        }
      }
      H[i][j][0] = W[i][j][0];
      H[i][j][kmax] = W[i][j][kmax];
    }
    for (k = 1; k < kmax + 1; k++) {
      G[i][0][k] = V[i][0][k];
      G[i][jmax][k] = V[i][jmax][k];
    }
  }
  for (j = 1; j < jmax + 1; j++) {
    for (k = 1; k < kmax + 1; k++) {
      F[0][j][k] = U[0][j][k];
      F[imax][j][k] = U[imax][j][k];
    }
  }
}
```