user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x208,%rsp
  mov    %edi,-0x194(%rbp)
  mov    %rsi,-0x1a0(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,-0x228(%rbp)
  cmpl   $0x5,-0x194(%rbp)
  jg     L311
  mov    -0x1a0(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,%rsi
  lea    D62(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x1,%edi
  call   <exit@plt>
L311:
  mov    -0x1a0(%rbp),%rax
  add    $0x28,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <atof@plt>
  movq   %xmm0,%rax
  mov    %rax,-0xd8(%rbp)
  mov    -0x1a0(%rbp),%rax
  add    $0x30,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <atof@plt>
  movq   %xmm0,%rax
  mov    %rax,-0xd0(%rbp)
  movsd  D8(%rip),%xmm0
  movsd  %xmm0,-0xc8(%rbp)
  mov    -0x1a0(%rbp),%rax
  add    $0x20,%rax
  mov    (%rax),%rax
  mov    %rax,%rdi
  call   <atoi@plt>
  mov    %eax,-0x168(%rbp)
  movsd  D30(%rip),%xmm0
  movsd  %xmm0,-0xc0(%rbp)
  mov    -0x1a0(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rcx
  mov    $0x2,%edx
  lea    D125(%rip),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <openfile_or_exit@plt>
  mov    %rax,-0xb8(%rbp)
  lea    -0x150(%rbp),%rdi
  lea    -0x158(%rbp),%rcx
  lea    -0x188(%rbp),%rdx
  lea    -0x184(%rbp),%rsi
  mov    -0xb8(%rbp),%rax
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <read_slap@plt>
  mov    -0x1a0(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rcx
  mov    $0x2,%edx
  lea    D125(%rip),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <openfile_or_exit@plt>
  mov    %rax,-0xb0(%rbp)
  lea    -0x140(%rbp),%rdi
  lea    -0x148(%rbp),%rcx
  lea    -0x180(%rbp),%rdx
  lea    -0x17c(%rbp),%rsi
  mov    -0xb0(%rbp),%rax
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <read_slap@plt>
  mov    -0x1a0(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rcx
  mov    $0x2,%edx
  lea    D125(%rip),%rax
  mov    %rax,%rsi
  mov    %rcx,%rdi
  call   <openfile_or_exit@plt>
  mov    %rax,-0xa8(%rbp)
  lea    -0x128(%rbp),%r8
  lea    -0x130(%rbp),%rdi
  lea    -0x138(%rbp),%rcx
  lea    -0x178(%rbp),%rdx
  lea    -0x174(%rbp),%rsi
  mov    -0xa8(%rbp),%rax
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <read_slap_w@plt>
  mov    -0x178(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,%eax
  sub    $0x1,%rax
  mov    %rax,-0xa0(%rbp)
  mov    %edx,%eax
  mov    %rax,%r12
  mov    $0x0,%r13d
  mov    %edx,%eax
  mov    %rax,%r14
  mov    $0x0,%r15d
  mov    %edx,%eax
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rdx
  mov    %rdx,%rax
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rcx
  sub    %rax,%rcx
L188:
  cmp    %rcx,%rsp
  je     L57
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L188
L57:
  mov    %rdx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  mov    %rdx,%rax
  and    $0xfff,%eax
  test   %rax,%rax
  je     L129
  mov    %rdx,%rax
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L129:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x98(%rbp)
  mov    -0x178(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,%eax
  sub    $0x1,%rax
  mov    %rax,-0x90(%rbp)
  mov    %edx,%eax
  mov    %rax,-0x1b0(%rbp)
  movq   $0x0,-0x1a8(%rbp)
  mov    %edx,%eax
  mov    %rax,-0x1c0(%rbp)
  movq   $0x0,-0x1b8(%rbp)
  mov    %edx,%eax
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rdx
  mov    %rdx,%rax
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rcx
  sub    %rax,%rcx
L158:
  cmp    %rcx,%rsp
  je     L250
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L158
L250:
  mov    %rdx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  mov    %rdx,%rax
  and    $0xfff,%eax
  test   %rax,%rax
  je     L23
  mov    %rdx,%rax
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L23:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x88(%rbp)
  movl   $0x0,-0x170(%rbp)
  jmp    L72
L58:
  mov    -0x170(%rbp),%edx
  mov    -0x188(%rbp),%eax
  cmp    %eax,%edx
  ja     L329
  mov    -0x150(%rbp),%rdx
  mov    -0x170(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,%ecx
  mov    -0x98(%rbp),%rdx
  mov    -0x170(%rbp),%eax
  cltq
  mov    %ecx,(%rdx,%rax,4)
  jmp    L82
L329:
  mov    -0x150(%rbp),%rdx
  mov    -0x188(%rbp),%eax
  mov    %eax,%eax
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,%ecx
  mov    -0x98(%rbp),%rdx
  mov    -0x170(%rbp),%eax
  cltq
  mov    %ecx,(%rdx,%rax,4)
L82:
  mov    -0x170(%rbp),%edx
  mov    -0x180(%rbp),%eax
  cmp    %eax,%edx
  ja     L54
  mov    -0x140(%rbp),%rdx
  mov    -0x170(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,%ecx
  mov    -0x88(%rbp),%rdx
  mov    -0x170(%rbp),%eax
  cltq
  mov    %ecx,(%rdx,%rax,4)
  jmp    L247
L54:
  mov    -0x140(%rbp),%rdx
  mov    -0x180(%rbp),%eax
  mov    %eax,%eax
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,%ecx
  mov    -0x88(%rbp),%rdx
  mov    -0x170(%rbp),%eax
  cltq
  mov    %ecx,(%rdx,%rax,4)
L247:
  addl   $0x1,-0x170(%rbp)
L72:
  mov    -0x170(%rbp),%edx
  mov    -0x178(%rbp),%eax
  cmp    %eax,%edx
  jbe    L58
  mov    -0x178(%rbp),%edx
  mov    %edx,%eax
  sub    $0x1,%rax
  mov    %rax,-0x80(%rbp)
  mov    %edx,%eax
  mov    %rax,-0x1d0(%rbp)
  movq   $0x0,-0x1c8(%rbp)
  mov    %edx,%eax
  mov    %rax,-0x1e0(%rbp)
  movq   $0x0,-0x1d8(%rbp)
  mov    %edx,%eax
  lea    0x0(,%rax,8),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%ebx
  mov    $0x0,%edx
  div    %rbx
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L271:
  cmp    %rdx,%rsp
  je     L293
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L271
L293:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L302
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L302:
  mov    %rsp,%rax
  add    $0x7,%rax
  shr    $0x3,%rax
  shl    $0x3,%rax
  mov    %rax,-0x78(%rbp)
  mov    -0x178(%rbp),%eax
  mov    %eax,%edx
  sub    $0x1,%rdx
  mov    %rdx,-0x70(%rbp)
  mov    %eax,%edx
  mov    %rdx,-0x1f0(%rbp)
  movq   $0x0,-0x1e8(%rbp)
  mov    %eax,%edx
  mov    %rdx,-0x200(%rbp)
  movq   $0x0,-0x1f8(%rbp)
  mov    %eax,%eax
  lea    0x0(,%rax,8),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L284:
  cmp    %rdx,%rsp
  je     L189
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L284
L189:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L172
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L172:
  mov    %rsp,%rax
  add    $0x7,%rax
  shr    $0x3,%rax
  shl    $0x3,%rax
  mov    %rax,-0x68(%rbp)
  mov    -0x178(%rbp),%eax
  mov    %eax,%edx
  sub    $0x1,%rdx
  mov    %rdx,-0x60(%rbp)
  mov    %eax,%edx
  mov    %rdx,-0x210(%rbp)
  movq   $0x0,-0x208(%rbp)
  mov    %eax,%edx
  mov    %rdx,-0x220(%rbp)
  movq   $0x0,-0x218(%rbp)
  mov    %eax,%eax
  lea    0x0(,%rax,8),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%ebx
  mov    $0x0,%edx
  div    %rbx
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L287:
  cmp    %rdx,%rsp
  je     L260
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L287
L260:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L62
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L62:
  mov    %rsp,%rax
  add    $0x7,%rax
  shr    $0x3,%rax
  shl    $0x3,%rax
  mov    %rax,-0x58(%rbp)
  movl   $0x0,-0x170(%rbp)
  jmp    L66
L336:
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x120(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x118(%rbp)
  mov    -0x130(%rbp),%rdx
  mov    -0x170(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  mov    %eax,-0x16c(%rbp)
  jmp    L156
L176:
  mov    -0x128(%rbp),%rdx
  mov    -0x16c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  cvttsd2si %xmm0,%eax
  mov    %eax,-0x15c(%rbp)
  mov    -0x138(%rbp),%rdx
  mov    -0x16c(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  lea    0x1(%rax),%edx
  mov    -0x98(%rbp),%rax
  mov    %edx,%edx
  mov    (%rax,%rdx,4),%edx
  mov    -0x138(%rbp),%rcx
  mov    -0x16c(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rcx,%rax
  mov    (%rax),%ecx
  mov    -0x98(%rbp),%rax
  mov    %ecx,%ecx
  mov    (%rax,%rcx,4),%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,-0x164(%rbp)
  mov    -0x138(%rbp),%rdx
  mov    -0x16c(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  lea    0x1(%rax),%edx
  mov    -0x88(%rbp),%rax
  mov    %edx,%edx
  mov    (%rax,%rdx,4),%edx
  mov    -0x138(%rbp),%rcx
  mov    -0x16c(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rcx,%rax
  mov    (%rax),%ecx
  mov    -0x88(%rbp),%rax
  mov    %ecx,%ecx
  mov    (%rax,%rcx,4),%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,-0x160(%rbp)
  mov    -0x164(%rbp),%edx
  mov    -0x160(%rbp),%eax
  add    %edx,%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,-0x48(%rbp)
  movsd  -0xc0(%rbp),%xmm0
  movsd  D106(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  -0xc0(%rbp),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x1b0(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x164(%rbp),%xmm0
  divsd  -0x48(%rbp),%xmm0
  cvttsd2si %xmm0,%eax
  mov    D30(%rip),%rdx
  movq   %rdx,%xmm0
  mov    %eax,%edi
  call   <pow@plt>
  mov    $0x1,%edx
  mov    %edx,%ebx
  sub    %eax,%ebx
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x160(%rbp),%xmm0
  divsd  -0x48(%rbp),%xmm0
  cvttsd2si %xmm0,%eax
  mov    D30(%rip),%rdx
  movq   %rdx,%xmm0
  mov    %eax,%edi
  call   <pow@plt>
  sub    %eax,%ebx
  mov    %ebx,%edx
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  mulsd  -0x1b0(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  cmpl   $0x0,-0x164(%rbp)
  jle    L95
  mov    -0xd8(%rbp),%rdx
  mov    -0x164(%rbp),%eax
  movq   %rdx,%xmm0
  mov    %eax,%edi
  call   <pow@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,-0x100(%rbp)
  jmp    L242
L95:
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x100(%rbp)
L242:
  cmpl   $0x0,-0x160(%rbp)
  jle    L223
  mov    -0xd0(%rbp),%rdx
  mov    -0x160(%rbp),%eax
  movq   %rdx,%xmm0
  mov    %eax,%edi
  call   <pow@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,-0xf8(%rbp)
  jmp    L101
L223:
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0xf8(%rbp)
L101:
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x15c(%rbp),%xmm0
  mulsd  -0x100(%rbp),%xmm0
  mulsd  -0xf8(%rbp),%xmm0
  movsd  -0x120(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x120(%rbp)
  cmpl   $0x0,-0x164(%rbp)
  jle    L216
  cmpl   $0x0,-0x160(%rbp)
  jle    L216
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x15c(%rbp),%xmm0
  mulsd  -0x100(%rbp),%xmm0
  mulsd  -0xf8(%rbp),%xmm0
  movsd  %xmm0,-0x1b0(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x15c(%rbp),%xmm0
  mulsd  -0x100(%rbp),%xmm0
  movapd %xmm0,%xmm5
  mulsd  -0xf8(%rbp),%xmm5
  movq   %xmm5,%rax
  movq   %rax,%xmm0
  call   <log@plt>
  mulsd  -0x1b0(%rbp),%xmm0
  movsd  -0x118(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x118(%rbp)
L216:
  addl   $0x1,-0x16c(%rbp)
L156:
  mov    -0x130(%rbp),%rdx
  mov    -0x170(%rbp),%eax
  cltq
  add    $0x1,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x16c(%rbp),%eax
  cmp    %eax,%edx
  ja     L176
  mov    -0x78(%rbp),%rax
  mov    -0x170(%rbp),%edx
  movslq %edx,%rdx
  movsd  -0x120(%rbp),%xmm0
  movsd  %xmm0,(%rax,%rdx,8)
  mov    -0x68(%rbp),%rax
  mov    -0x170(%rbp),%edx
  movslq %edx,%rdx
  movsd  -0x118(%rbp),%xmm0
  movsd  %xmm0,(%rax,%rdx,8)
  mov    -0x170(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x98(%rbp),%rax
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%ecx
  mov    -0x98(%rbp),%rax
  mov    -0x170(%rbp),%edx
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%edx
  mov    %ecx,%eax
  sub    %edx,%eax
  mov    %eax,-0x164(%rbp)
  mov    -0x170(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x88(%rbp),%rax
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%ecx
  mov    -0x88(%rbp),%rax
  mov    -0x170(%rbp),%edx
  movslq %edx,%rdx
  mov    (%rax,%rdx,4),%edx
  mov    %ecx,%eax
  sub    %edx,%eax
  mov    %eax,-0x160(%rbp)
  mov    -0x164(%rbp),%edx
  mov    -0x160(%rbp),%eax
  add    %edx,%eax
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,-0x48(%rbp)
  movsd  -0xc0(%rbp),%xmm0
  movsd  D106(%rip),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  -0xc0(%rbp),%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x1b0(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x164(%rbp),%xmm0
  divsd  -0x48(%rbp),%xmm0
  cvttsd2si %xmm0,%eax
  mov    D30(%rip),%rdx
  movq   %rdx,%xmm0
  mov    %eax,%edi
  call   <pow@plt>
  mov    $0x1,%edx
  mov    %edx,%ebx
  sub    %eax,%ebx
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x160(%rbp),%xmm0
  divsd  -0x48(%rbp),%xmm0
  cvttsd2si %xmm0,%eax
  mov    D30(%rip),%rdx
  movq   %rdx,%xmm0
  mov    %eax,%edi
  call   <pow@plt>
  sub    %eax,%ebx
  mov    %ebx,%edx
  pxor   %xmm0,%xmm0
  cvtsi2sd %edx,%xmm0
  mulsd  -0x1b0(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  cmpl   $0x0,-0x164(%rbp)
  jle    L255
  mov    -0xd8(%rbp),%rdx
  mov    -0x164(%rbp),%eax
  movq   %rdx,%xmm0
  mov    %eax,%edi
  call   <pow@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,-0x110(%rbp)
  jmp    L355
L255:
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x110(%rbp)
L355:
  cmpl   $0x0,-0x160(%rbp)
  jle    L165
  mov    -0xd0(%rbp),%rdx
  mov    -0x160(%rbp),%eax
  movq   %rdx,%xmm0
  mov    %eax,%edi
  call   <pow@plt>
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,-0x108(%rbp)
  jmp    L0
L165:
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x108(%rbp)
L0:
  movsd  -0x110(%rbp),%xmm0
  mulsd  -0x108(%rbp),%xmm0
  mov    -0x58(%rbp),%rax
  mov    -0x170(%rbp),%edx
  movslq %edx,%rdx
  movsd  %xmm0,(%rax,%rdx,8)
  addl   $0x1,-0x170(%rbp)
L66:
  mov    -0x170(%rbp),%edx
  mov    -0x178(%rbp),%eax
  cmp    %eax,%edx
  jb     L336
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0xf0(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0xe8(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0xe0(%rbp)
  movl   $0x0,-0x170(%rbp)
  jmp    L128
L24:
  mov    -0x78(%rbp),%rax
  mov    -0x170(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm1,%xmm0
  jbe    L286
  mov    -0x58(%rbp),%rax
  mov    -0x170(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm1
  mov    -0x78(%rbp),%rax
  mov    -0x170(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm0
  mulsd  %xmm0,%xmm1
  movsd  %xmm1,-0x1b0(%rbp)
  mov    -0x78(%rbp),%rax
  mov    -0x170(%rbp),%edx
  movslq %edx,%rdx
  mov    (%rax,%rdx,8),%rax
  movq   %rax,%xmm0
  call   <log@plt>
  mulsd  -0x1b0(%rbp),%xmm0
  movsd  -0xf0(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0xf0(%rbp)
L286:
  mov    -0x58(%rbp),%rax
  mov    -0x170(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm1
  mov    -0x68(%rbp),%rax
  mov    -0x170(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0xe8(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0xe8(%rbp)
  mov    -0x58(%rbp),%rax
  mov    -0x170(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm1
  mov    -0x78(%rbp),%rax
  mov    -0x170(%rbp),%edx
  movslq %edx,%rdx
  movsd  (%rax,%rdx,8),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  -0xe0(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0xe0(%rbp)
  addl   $0x1,-0x170(%rbp)
L128:
  mov    -0x170(%rbp),%edx
  mov    -0x178(%rbp),%eax
  cmp    %eax,%edx
  jb     L24
  movsd  -0xf0(%rbp),%xmm0
  subsd  -0xe8(%rbp),%xmm0
  divsd  -0xe0(%rbp),%xmm0
  movsd  %xmm0,-0x50(%rbp)
  movsd  -0xd0(%rbp),%xmm1
  movsd  -0xd8(%rbp),%xmm0
  mov    -0x50(%rbp),%rax
  movapd %xmm1,%xmm2
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  lea    D19(%rip),%rax
  mov    %rax,%rdi
  mov    $0x3,%eax
  call   <printf@plt>
  mov    -0x228(%rbp),%rsp
  mov    $0x0,%eax
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L151
  call   <__stack_chk_fail@plt>
L151:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D62
datatype: string
name: extract_symbolic_data
arguments: data_tag: D8
datatype: f64
name: extract_symbolic_data
arguments: data_tag: D30
datatype: f64
name: extract_symbolic_data
arguments: data_tag: D125
datatype: string
name: extract_symbolic_data
arguments: data_tag: D106
datatype: f64
name: extract_symbolic_data
arguments: data_tag: D19
datatype: string

tool: D62: Usage: %s <layer1> <layer2> <overlapping network> <N nodes> <b1> <b2>


tool: D8: 200

tool: D30: 2

tool: D125: r

tool: D106: 1

tool: D19: %f %f %f


assistant: ```c
int main(int argc, char *argv[]) {
  if (argc < 6) {
    printf("Usage: %s <layer1> <layer2> <overlapping network> <N nodes> <b1> <b2>\n", argv[0]);
    exit(1);
  }
  FILE *filein0, *filein1, *filein, *fileout;
  unsigned int N0, K0, N1, K1, N, K;
  unsigned int *J_slap0, *r_slap0, *J_slap1, *r_slap1, *J_slap, *r_slap;
  double *w_slap;
  int i, j;
  double c_i, d_i, f_i, f_i_2;
  double alpha = (atof(argv[5]));
  double beta = (atof(argv[6]));
  int ov;
  int deg0, deg1;
  double degM, part, f_j, f_j_2;
  double degMrid, maxdegM = 200.0;
  double num1, num2, den, h;
  int number_nodes = (atoi(argv[4]));
  double M = 2.0;
  filein0 = openfile_or_exit(argv[1], "r", 2);
  read_slap(filein0, &K0, &N0, &J_slap0, &r_slap0);
  filein1 = openfile_or_exit(argv[2], "r", 2);
  read_slap(filein1, &K1, &N1, &J_slap1, &r_slap1);
  filein = openfile_or_exit(argv[3], "r", 2);
  read_slap_w(filein, &K, &N, &J_slap, &r_slap, &w_slap);
  int r_slap0_n[N + 1], r_slap1_n[N + 1];
  for (i = 0; i <= N; i++) {
    if (i <= N0) {
      r_slap0_n[i] = r_slap0[i];
    } else {
      r_slap0_n[i] = r_slap0[N0];
    }
    if (i <= N1) {
      r_slap1_n[i] = r_slap1[i];
    } else {
      r_slap1_n[i] = r_slap1[N1];
    }
  }
  double c_i_vec[N];
  double d_i_vec[N];
  double f_i_vec[N];
  for (i = 0; i < N; i++) {
    c_i = 0;
    d_i = 0;
    for (j = r_slap[i]; j < r_slap[i + 1]; j++) {
      ov = w_slap[j];
      deg0 = r_slap0_n[J_slap[j] + 1] - r_slap0_n[J_slap[j]];
      deg1 = r_slap1_n[J_slap[j] + 1] - r_slap1_n[J_slap[j]];
      degM = (deg0 + deg1) * 1.0;
      part = (M / (M - 1)) * (1 - (pow((deg0 / degM), 2)) - (pow((deg1 / degM), 2)));
      if (deg0 > 0.0000000001) {
        f_j = pow(deg0, alpha);
      } else {
        f_j = 0;
      }
      if (deg1 > 0.0000000001) {
        f_j_2 = pow(deg1, beta);
      } else {
        f_j_2 = 0;
      }
      c_i += ov * f_j * f_j_2;
      if (deg0 > 0.0000000001 && deg1 > 0.0000000001) {
        d_i += ov * f_j * f_j_2 * log((ov * f_j * f_j_2));
      }
    }
    c_i_vec[i] = c_i;
    d_i_vec[i] = d_i;
    deg0 = r_slap0_n[i + 1] - r_slap0_n[i];
    deg1 = r_slap1_n[i + 1] - r_slap1_n[i];
    degM = (deg0 + deg1) * 1.0;
    part = (M / (M - 1)) * (1 - (pow((deg0 / degM), 2)) - (pow((deg1 / degM), 2)));
    if (deg0 > 0.0000000001) {
      f_i = pow(deg0, alpha);
    } else {
      f_i = 0;
    }
    if (deg1 > 0.0000000001) {
      f_i_2 = pow(deg1, beta);
    } else {
      f_i_2 = 0;
    }
    f_i_vec[i] = f_i * f_i_2;
  }
  num1 = 0;
  num2 = 0;
  den = 0;
  for (i = 0; i < N; i++) {
    if (c_i_vec[i] > 0.0) {
      num1 += f_i_vec[i] * c_i_vec[i] * log(c_i_vec[i]);
    }
    num2 = num2 + f_i_vec[i] * d_i_vec[i];
    den = den + f_i_vec[i] * c_i_vec[i];
  }
  h = (num1 - num2) / den;
  printf("%f %f %f\n", h, alpha, beta);
}
```