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

```asm
<calculate_fgh>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x198,%rsp
  movsd  %xmm0,-0x128(%rbp)
  movsd  %xmm1,-0x130(%rbp)
  movsd  %xmm2,-0x138(%rbp)
  movsd  %xmm3,-0x140(%rbp)
  movsd  %xmm4,-0x148(%rbp)
  movsd  %xmm5,-0x150(%rbp)
  movsd  %xmm6,-0x158(%rbp)
  movsd  %xmm7,-0x160(%rbp)
  mov    %edi,-0x164(%rbp)
  mov    %esi,-0x168(%rbp)
  mov    %edx,-0x16c(%rbp)
  mov    %rcx,-0x178(%rbp)
  mov    %r8,-0x180(%rbp)
  mov    %r9,-0x188(%rbp)
  movsd  D96(%rip),%xmm0
  divsd  -0x158(%rbp),%xmm0
  movsd  %xmm0,-0x108(%rbp)
  movsd  D96(%rip),%xmm0
  divsd  -0x160(%rbp),%xmm0
  movsd  %xmm0,-0x100(%rbp)
  movsd  D96(%rip),%xmm0
  divsd  0x10(%rbp),%xmm0
  movsd  %xmm0,-0xf8(%rbp)
  movsd  D96(%rip),%xmm0
  divsd  -0x128(%rbp),%xmm0
  movsd  %xmm0,-0xf0(%rbp)
  movl   $0x1,-0x118(%rbp)
  jmp    L174
L255:
  movl   $0x1,-0x114(%rbp)
  jmp    L195
L173:
  movl   $0x1,-0x110(%rbp)
  jmp    L235
L254:
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <isfluid@plt>
  test   %eax,%eax
  je     L79
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x178(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xe8(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x180(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xe0(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x188(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xd8(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x178(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xd0(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x180(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  add    $0x1,%rax
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xc8(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x188(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  add    $0x1,%rax
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xc0(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x178(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xb8(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x180(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  sub    $0x8,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xb0(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x188(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  sub    $0x8,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xa8(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x178(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  add    $0x1,%rax
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0xa0(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x180(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  add    $0x1,%rax
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x98(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x188(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x90(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x178(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  sub    $0x8,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x88(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x180(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  sub    $0x8,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x80(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x188(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x78(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x178(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  add    $0x1,%rax
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x70(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x180(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x68(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x188(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  add    $0x1,%rax
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x60(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x178(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  sub    $0x8,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x58(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x180(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x50(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x188(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  sub    $0x8,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x48(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x178(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  add    $0x1,%rax
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x178(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  add    $0x1,%rax
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x38(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x180(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  sub    $0x8,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x30(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x180(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  sub    $0x8,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  add    $0x1,%rax
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x28(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x188(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  add    $0x1,%rax
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  sub    $0x8,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    -0x188(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  sub    $0x8,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x18(%rbp)
  mov    -0x118(%rbp),%eax
  cltq
  add    $0x1,%rax
  lea    0x0(,%rax,8),%rdx
  mov    0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <isfluid@plt>
  test   %eax,%eax
  je     L177
  movsd  -0xe8(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  %xmm0,%xmm1
  movsd  -0xd0(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  addsd  -0xb8(%rbp),%xmm0
  mulsd  -0x108(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x108(%rbp),%xmm1
  movsd  -0xe8(%rbp),%xmm0
  movapd %xmm0,%xmm2
  addsd  %xmm0,%xmm2
  movsd  -0xa0(%rbp),%xmm0
  subsd  %xmm2,%xmm0
  addsd  -0x88(%rbp),%xmm0
  mulsd  -0x100(%rbp),%xmm0
  mulsd  -0x100(%rbp),%xmm0
  addsd  %xmm0,%xmm1
  movsd  -0xe8(%rbp),%xmm0
  movapd %xmm0,%xmm2
  addsd  %xmm0,%xmm2
  movsd  -0x70(%rbp),%xmm0
  subsd  %xmm2,%xmm0
  addsd  -0x58(%rbp),%xmm0
  mulsd  -0xf8(%rbp),%xmm0
  mulsd  -0xf8(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  mulsd  -0xf0(%rbp),%xmm0
  movsd  %xmm0,-0x190(%rbp)
  movsd  -0x108(%rbp),%xmm1
  movsd  D171(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  %xmm1,-0x198(%rbp)
  movsd  -0xe8(%rbp),%xmm0
  movapd %xmm0,%xmm6
  addsd  -0xd0(%rbp),%xmm6
  movq   %xmm6,%rax
  movsd  D249(%rip),%xmm0
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <pow@plt>
  movq   %xmm0,%rbx
  movsd  -0xb8(%rbp),%xmm0
  movapd %xmm0,%xmm7
  addsd  -0xe8(%rbp),%xmm7
  movq   %xmm7,%rax
  movsd  D249(%rip),%xmm0
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <pow@plt>
  movq   %rbx,%xmm2
  subsd  %xmm0,%xmm2
  movsd  -0xe8(%rbp),%xmm0
  addsd  -0xd0(%rbp),%xmm0
  movq   D5(%rip),%xmm1
  andpd  %xmm0,%xmm1
  movsd  -0xe8(%rbp),%xmm0
  subsd  -0xd0(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0xb8(%rbp),%xmm1
  addsd  -0xe8(%rbp),%xmm1
  movq   D5(%rip),%xmm3
  andpd  %xmm1,%xmm3
  movsd  -0xb8(%rbp),%xmm1
  subsd  -0xe8(%rbp),%xmm1
  mulsd  %xmm3,%xmm1
  subsd  %xmm1,%xmm0
  mulsd  -0x148(%rbp),%xmm0
  addsd  %xmm2,%xmm0
  movsd  -0x198(%rbp),%xmm1
  mulsd  %xmm0,%xmm1
  movsd  -0x190(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  -0x100(%rbp),%xmm2
  movsd  D171(%rip),%xmm1
  movapd %xmm2,%xmm3
  mulsd  %xmm1,%xmm3
  movsd  -0xe0(%rbp),%xmm1
  movapd %xmm1,%xmm2
  addsd  -0x68(%rbp),%xmm2
  movsd  -0xe8(%rbp),%xmm1
  addsd  -0xa0(%rbp),%xmm1
  mulsd  %xmm2,%xmm1
  movsd  -0xb0(%rbp),%xmm2
  movapd %xmm2,%xmm4
  addsd  -0x30(%rbp),%xmm4
  movsd  -0x88(%rbp),%xmm2
  addsd  -0xe8(%rbp),%xmm2
  mulsd  %xmm4,%xmm2
  movapd %xmm1,%xmm4
  subsd  %xmm2,%xmm4
  movsd  -0xe0(%rbp),%xmm1
  addsd  -0x68(%rbp),%xmm1
  movq   D5(%rip),%xmm2
  andpd  %xmm1,%xmm2
  movsd  -0xe8(%rbp),%xmm1
  subsd  -0xa0(%rbp),%xmm1
  mulsd  %xmm2,%xmm1
  movsd  -0xb0(%rbp),%xmm2
  addsd  -0x30(%rbp),%xmm2
  movq   D5(%rip),%xmm5
  andpd  %xmm2,%xmm5
  movsd  -0x88(%rbp),%xmm2
  subsd  -0xe8(%rbp),%xmm2
  mulsd  %xmm5,%xmm2
  subsd  %xmm2,%xmm1
  mulsd  -0x148(%rbp),%xmm1
  addsd  %xmm4,%xmm1
  mulsd  %xmm3,%xmm1
  subsd  %xmm1,%xmm0
  movsd  -0xf8(%rbp),%xmm2
  movsd  D171(%rip),%xmm1
  movapd %xmm2,%xmm3
  mulsd  %xmm1,%xmm3
  movsd  -0xd8(%rbp),%xmm1
  movapd %xmm1,%xmm2
  addsd  -0x90(%rbp),%xmm2
  movsd  -0xe8(%rbp),%xmm1
  addsd  -0x70(%rbp),%xmm1
  mulsd  %xmm2,%xmm1
  movsd  -0xa8(%rbp),%xmm2
  movapd %xmm2,%xmm4
  addsd  -0x18(%rbp),%xmm4
  movsd  -0x58(%rbp),%xmm2
  addsd  -0xe8(%rbp),%xmm2
  mulsd  %xmm4,%xmm2
  movapd %xmm1,%xmm4
  subsd  %xmm2,%xmm4
  movsd  -0xd8(%rbp),%xmm1
  addsd  -0x90(%rbp),%xmm1
  movq   D5(%rip),%xmm2
  andpd  %xmm1,%xmm2
  movsd  -0xe8(%rbp),%xmm1
  subsd  -0x70(%rbp),%xmm1
  mulsd  %xmm2,%xmm1
  movsd  -0xa8(%rbp),%xmm2
  addsd  -0x18(%rbp),%xmm2
  movq   D5(%rip),%xmm5
  andpd  %xmm2,%xmm5
  movsd  -0x58(%rbp),%xmm2
  subsd  -0xe8(%rbp),%xmm2
  mulsd  %xmm5,%xmm2
  subsd  %xmm2,%xmm1
  mulsd  -0x148(%rbp),%xmm1
  addsd  %xmm4,%xmm1
  mulsd  %xmm3,%xmm1
  subsd  %xmm1,%xmm0
  addsd  -0x130(%rbp),%xmm0
  mulsd  -0x150(%rbp),%xmm0
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x18(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  addsd  -0xe8(%rbp),%xmm0
  movsd  %xmm0,(%rax)
L177:
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  add    $0x1,%rax
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <isfluid@plt>
  test   %eax,%eax
  je     L222
  movsd  -0xe0(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  %xmm0,%xmm1
  movsd  -0x68(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  addsd  -0x50(%rbp),%xmm0
  mulsd  -0x108(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x108(%rbp),%xmm1
  movsd  -0xe0(%rbp),%xmm0
  movapd %xmm0,%xmm2
  addsd  %xmm0,%xmm2
  movsd  -0xc8(%rbp),%xmm0
  subsd  %xmm2,%xmm0
  addsd  -0xb0(%rbp),%xmm0
  mulsd  -0x100(%rbp),%xmm0
  mulsd  -0x100(%rbp),%xmm0
  addsd  %xmm0,%xmm1
  movsd  -0xe0(%rbp),%xmm0
  movapd %xmm0,%xmm2
  addsd  %xmm0,%xmm2
  movsd  -0x98(%rbp),%xmm0
  subsd  %xmm2,%xmm0
  addsd  -0x80(%rbp),%xmm0
  mulsd  -0xf8(%rbp),%xmm0
  mulsd  -0xf8(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  mulsd  -0xf0(%rbp),%xmm0
  movsd  %xmm0,-0x190(%rbp)
  movsd  -0x100(%rbp),%xmm1
  movsd  D171(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  %xmm1,-0x198(%rbp)
  movsd  -0xe0(%rbp),%xmm0
  movapd %xmm0,%xmm6
  addsd  -0xc8(%rbp),%xmm6
  movq   %xmm6,%rax
  movsd  D249(%rip),%xmm0
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <pow@plt>
  movq   %xmm0,%rbx
  movsd  -0xb0(%rbp),%xmm0
  movapd %xmm0,%xmm7
  addsd  -0xe0(%rbp),%xmm7
  movq   %xmm7,%rax
  movsd  D249(%rip),%xmm0
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <pow@plt>
  movq   %rbx,%xmm2
  subsd  %xmm0,%xmm2
  movsd  -0xe0(%rbp),%xmm0
  addsd  -0xc8(%rbp),%xmm0
  movq   D5(%rip),%xmm1
  andpd  %xmm0,%xmm1
  movsd  -0xe0(%rbp),%xmm0
  subsd  -0xc8(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0xb0(%rbp),%xmm1
  addsd  -0xe0(%rbp),%xmm1
  movq   D5(%rip),%xmm3
  andpd  %xmm1,%xmm3
  movsd  -0xb0(%rbp),%xmm1
  subsd  -0xe0(%rbp),%xmm1
  mulsd  %xmm3,%xmm1
  subsd  %xmm1,%xmm0
  mulsd  -0x148(%rbp),%xmm0
  addsd  %xmm2,%xmm0
  movsd  -0x198(%rbp),%xmm1
  mulsd  %xmm0,%xmm1
  movsd  -0x190(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  -0x108(%rbp),%xmm2
  movsd  D171(%rip),%xmm1
  movapd %xmm2,%xmm3
  mulsd  %xmm1,%xmm3
  movsd  -0xe8(%rbp),%xmm1
  movapd %xmm1,%xmm2
  addsd  -0xa0(%rbp),%xmm2
  movsd  -0xe0(%rbp),%xmm1
  addsd  -0x68(%rbp),%xmm1
  mulsd  %xmm2,%xmm1
  movsd  -0xb8(%rbp),%xmm2
  movapd %xmm2,%xmm4
  addsd  -0x40(%rbp),%xmm4
  movsd  -0x50(%rbp),%xmm2
  addsd  -0xe0(%rbp),%xmm2
  mulsd  %xmm4,%xmm2
  movapd %xmm1,%xmm4
  subsd  %xmm2,%xmm4
  movsd  -0xe8(%rbp),%xmm1
  addsd  -0xa0(%rbp),%xmm1
  movq   D5(%rip),%xmm2
  andpd  %xmm1,%xmm2
  movsd  -0xe0(%rbp),%xmm1
  subsd  -0x68(%rbp),%xmm1
  mulsd  %xmm2,%xmm1
  movsd  -0xb8(%rbp),%xmm2
  addsd  -0x40(%rbp),%xmm2
  movq   D5(%rip),%xmm5
  andpd  %xmm2,%xmm5
  movsd  -0x50(%rbp),%xmm2
  subsd  -0xe0(%rbp),%xmm2
  mulsd  %xmm5,%xmm2
  subsd  %xmm2,%xmm1
  mulsd  -0x148(%rbp),%xmm1
  addsd  %xmm4,%xmm1
  mulsd  %xmm3,%xmm1
  subsd  %xmm1,%xmm0
  movsd  -0xf8(%rbp),%xmm2
  movsd  D171(%rip),%xmm1
  movapd %xmm2,%xmm3
  mulsd  %xmm1,%xmm3
  movsd  -0xd8(%rbp),%xmm1
  movapd %xmm1,%xmm2
  addsd  -0x60(%rbp),%xmm2
  movsd  -0xe0(%rbp),%xmm1
  addsd  -0x98(%rbp),%xmm1
  mulsd  %xmm2,%xmm1
  movsd  -0xa8(%rbp),%xmm2
  movapd %xmm2,%xmm4
  addsd  -0x20(%rbp),%xmm4
  movsd  -0x80(%rbp),%xmm2
  addsd  -0xe0(%rbp),%xmm2
  mulsd  %xmm4,%xmm2
  movapd %xmm1,%xmm4
  subsd  %xmm2,%xmm4
  movsd  -0xd8(%rbp),%xmm1
  addsd  -0x60(%rbp),%xmm1
  movq   D5(%rip),%xmm2
  andpd  %xmm1,%xmm2
  movsd  -0xe0(%rbp),%xmm1
  subsd  -0x98(%rbp),%xmm1
  mulsd  %xmm2,%xmm1
  movsd  -0xa8(%rbp),%xmm2
  addsd  -0x20(%rbp),%xmm2
  movq   D5(%rip),%xmm5
  andpd  %xmm2,%xmm5
  movsd  -0x80(%rbp),%xmm2
  subsd  -0xe0(%rbp),%xmm2
  mulsd  %xmm5,%xmm2
  subsd  %xmm2,%xmm1
  mulsd  -0x148(%rbp),%xmm1
  addsd  %xmm4,%xmm1
  mulsd  %xmm3,%xmm1
  subsd  %xmm1,%xmm0
  addsd  -0x138(%rbp),%xmm0
  mulsd  -0x150(%rbp),%xmm0
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x20(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  addsd  -0xe0(%rbp),%xmm0
  movsd  %xmm0,(%rax)
L222:
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  add    $0x1,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <isfluid@plt>
  test   %eax,%eax
  je     L60
  movsd  -0xd8(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  %xmm0,%xmm1
  movsd  -0x90(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  addsd  -0x78(%rbp),%xmm0
  mulsd  -0x108(%rbp),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x108(%rbp),%xmm1
  movsd  -0xd8(%rbp),%xmm0
  movapd %xmm0,%xmm2
  addsd  %xmm0,%xmm2
  movsd  -0x60(%rbp),%xmm0
  subsd  %xmm2,%xmm0
  addsd  -0x48(%rbp),%xmm0
  mulsd  -0x100(%rbp),%xmm0
  mulsd  -0x100(%rbp),%xmm0
  addsd  %xmm0,%xmm1
  movsd  -0xd8(%rbp),%xmm0
  movapd %xmm0,%xmm2
  addsd  %xmm0,%xmm2
  movsd  -0xc0(%rbp),%xmm0
  subsd  %xmm2,%xmm0
  addsd  -0xa8(%rbp),%xmm0
  mulsd  -0xf8(%rbp),%xmm0
  mulsd  -0xf8(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  mulsd  -0xf0(%rbp),%xmm0
  movsd  %xmm0,-0x190(%rbp)
  movsd  -0xf8(%rbp),%xmm1
  movsd  D171(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  %xmm1,-0x198(%rbp)
  movsd  -0xd8(%rbp),%xmm0
  movapd %xmm0,%xmm6
  addsd  -0xc0(%rbp),%xmm6
  movq   %xmm6,%rax
  movsd  D249(%rip),%xmm0
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <pow@plt>
  movq   %xmm0,%rbx
  movsd  -0xa8(%rbp),%xmm0
  movapd %xmm0,%xmm7
  addsd  -0xd8(%rbp),%xmm7
  movq   %xmm7,%rax
  movsd  D249(%rip),%xmm0
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <pow@plt>
  movq   %rbx,%xmm2
  subsd  %xmm0,%xmm2
  movsd  -0xd8(%rbp),%xmm0
  addsd  -0xc0(%rbp),%xmm0
  movq   D5(%rip),%xmm1
  andpd  %xmm0,%xmm1
  movsd  -0xd8(%rbp),%xmm0
  subsd  -0xc0(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0xa8(%rbp),%xmm1
  addsd  -0xd8(%rbp),%xmm1
  movq   D5(%rip),%xmm3
  andpd  %xmm1,%xmm3
  movsd  -0xa8(%rbp),%xmm1
  subsd  -0xd8(%rbp),%xmm1
  mulsd  %xmm3,%xmm1
  subsd  %xmm1,%xmm0
  mulsd  -0x148(%rbp),%xmm0
  addsd  %xmm2,%xmm0
  movsd  -0x198(%rbp),%xmm1
  mulsd  %xmm0,%xmm1
  movsd  -0x190(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  -0x108(%rbp),%xmm2
  movsd  D171(%rip),%xmm1
  movapd %xmm2,%xmm3
  mulsd  %xmm1,%xmm3
  movsd  -0xe8(%rbp),%xmm1
  movapd %xmm1,%xmm2
  addsd  -0x70(%rbp),%xmm2
  movsd  -0xd8(%rbp),%xmm1
  addsd  -0x90(%rbp),%xmm1
  mulsd  %xmm2,%xmm1
  movsd  -0xb8(%rbp),%xmm2
  movapd %xmm2,%xmm4
  addsd  -0x38(%rbp),%xmm4
  movsd  -0x78(%rbp),%xmm2
  addsd  -0xd8(%rbp),%xmm2
  mulsd  %xmm4,%xmm2
  movapd %xmm1,%xmm4
  subsd  %xmm2,%xmm4
  movsd  -0xe8(%rbp),%xmm1
  addsd  -0x70(%rbp),%xmm1
  movq   D5(%rip),%xmm2
  andpd  %xmm1,%xmm2
  movsd  -0xd8(%rbp),%xmm1
  subsd  -0x90(%rbp),%xmm1
  mulsd  %xmm2,%xmm1
  movsd  -0xb8(%rbp),%xmm2
  addsd  -0x38(%rbp),%xmm2
  movq   D5(%rip),%xmm5
  andpd  %xmm2,%xmm5
  movsd  -0x78(%rbp),%xmm2
  subsd  -0xd8(%rbp),%xmm2
  mulsd  %xmm5,%xmm2
  subsd  %xmm2,%xmm1
  mulsd  -0x148(%rbp),%xmm1
  addsd  %xmm4,%xmm1
  mulsd  %xmm3,%xmm1
  subsd  %xmm1,%xmm0
  movsd  -0x100(%rbp),%xmm2
  movsd  D171(%rip),%xmm1
  movapd %xmm2,%xmm3
  mulsd  %xmm1,%xmm3
  movsd  -0xe0(%rbp),%xmm1
  movapd %xmm1,%xmm2
  addsd  -0x98(%rbp),%xmm2
  movsd  -0xd8(%rbp),%xmm1
  addsd  -0x60(%rbp),%xmm1
  mulsd  %xmm2,%xmm1
  movsd  -0xb0(%rbp),%xmm2
  movapd %xmm2,%xmm4
  addsd  -0x28(%rbp),%xmm4
  movsd  -0x48(%rbp),%xmm2
  addsd  -0xd8(%rbp),%xmm2
  mulsd  %xmm4,%xmm2
  movapd %xmm1,%xmm4
  subsd  %xmm2,%xmm4
  movsd  -0xe0(%rbp),%xmm1
  addsd  -0x98(%rbp),%xmm1
  movq   D5(%rip),%xmm2
  andpd  %xmm1,%xmm2
  movsd  -0xd8(%rbp),%xmm1
  subsd  -0x60(%rbp),%xmm1
  mulsd  %xmm2,%xmm1
  movsd  -0xb0(%rbp),%xmm2
  addsd  -0x28(%rbp),%xmm2
  movq   D5(%rip),%xmm5
  andpd  %xmm2,%xmm5
  movsd  -0x48(%rbp),%xmm2
  subsd  -0xd8(%rbp),%xmm2
  mulsd  %xmm5,%xmm2
  subsd  %xmm2,%xmm1
  mulsd  -0x148(%rbp),%xmm1
  addsd  %xmm4,%xmm1
  mulsd  %xmm3,%xmm1
  subsd  %xmm1,%xmm0
  addsd  -0x140(%rbp),%xmm0
  mulsd  -0x150(%rbp),%xmm0
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  addsd  -0xd8(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  jmp    L60
L79:
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,%edi
  mov    $0x0,%eax
  call   <getboundarytype@plt>
  mov    %eax,-0x10c(%rbp)
  mov    -0x10c(%rbp),%eax
  cltd
  shr    $0x1e,%edx
  add    %edx,%eax
  and    $0x3,%eax
  sub    %edx,%eax
  cmp    $0x1,%eax
  jne    L115
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x188(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,%rdx
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    0x28(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  jmp    L277
L115:
  mov    -0x10c(%rbp),%eax
  cltd
  shr    $0x1e,%edx
  add    %edx,%eax
  and    $0x3,%eax
  sub    %edx,%eax
  cmp    $0x2,%eax
  jne    L211
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x188(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  sub    $0x8,%rax
  add    %rax,%rdx
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    0x28(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  sub    $0x8,%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  jmp    L277
L211:
  cmpl   $0x1f,-0x10c(%rbp)
  jle    L123
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x178(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,%rdx
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  jmp    L277
L123:
  cmpl   $0xf,-0x10c(%rbp)
  jle    L57
  mov    -0x118(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x178(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,%rdx
  mov    -0x118(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rcx
  mov    0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  jmp    L277
L57:
  mov    -0x10c(%rbp),%eax
  cltd
  shr    $0x1c,%edx
  add    %edx,%eax
  and    $0xf,%eax
  sub    %edx,%eax
  sub    $0x8,%eax
  cmp    $0x2,%eax
  ja     L193
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x180(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,%rdx
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    0x20(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  jmp    L277
L193:
  mov    -0x10c(%rbp),%eax
  cltd
  shr    $0x1c,%edx
  add    %edx,%eax
  and    $0xf,%eax
  sub    %edx,%eax
  sub    $0x4,%eax
  cmp    $0x2,%eax
  ja     L60
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x180(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  sub    $0x8,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,%rdx
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    0x20(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  sub    $0x8,%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  jmp    L277
L60:
  addl   $0x1,-0x110(%rbp)
L235:
  mov    -0x16c(%rbp),%eax
  cmp    -0x110(%rbp),%eax
  jge    L254
L277:
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x188(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    0x28(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x188(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x16c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,%rdx
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    0x28(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x16c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x114(%rbp)
L195:
  mov    -0x168(%rbp),%eax
  cmp    -0x114(%rbp),%eax
  jge    L173
  movl   $0x1,-0x110(%rbp)
  jmp    L275
L141:
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x180(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,%rdx
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    0x20(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rax
  mov    (%rax),%rcx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x180(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x168(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,%rdx
  mov    -0x118(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    0x20(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x168(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x110(%rbp)
L275:
  mov    -0x16c(%rbp),%eax
  cmp    -0x110(%rbp),%eax
  jge    L141
  addl   $0x1,-0x118(%rbp)
L174:
  mov    -0x164(%rbp),%eax
  cmp    -0x118(%rbp),%eax
  jge    L255
  movl   $0x1,-0x114(%rbp)
  jmp    L253
L274:
  movl   $0x1,-0x110(%rbp)
  jmp    L140
L106:
  mov    -0x178(%rbp),%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,%rdx
  mov    0x18(%rbp),%rax
  mov    (%rax),%rcx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x164(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x178(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,%rdx
  mov    -0x164(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    0x18(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x114(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  mov    (%rax),%rcx
  mov    -0x110(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x110(%rbp)
L140:
  mov    -0x16c(%rbp),%eax
  cmp    -0x110(%rbp),%eax
  jge    L106
  addl   $0x1,-0x114(%rbp)
L253:
  mov    -0x168(%rbp),%eax
  cmp    -0x114(%rbp),%eax
  jge    L274
  nop
  nop
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: unpack_data
arguments: data_tag: D96
type_infered: f64
name: unpack_data
arguments: data_tag: D171
type_infered: f64
name: unpack_data
arguments: data_tag: D249
type_infered: byte[8]
name: unpack_data
arguments: data_tag: D5
type_infered: qword

tool: D96: 1

tool: D171: 0.25

tool: {"D249": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40]}

tool: D5: 9223372036854775807

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];
    }
  }
}
```