// File: /workspace/github_cpp_makefile_star2_O3/ArashPartow[P]exprtk-extras/exprtk_funcall_benchmark.cpp
// Function: void function_call_benchmark01<double>()
void function_call_benchmark01()
{
   typedef exprtk::symbol_table<T>         symbol_table_t;
   typedef exprtk::expression<T>           expression_t;
   typedef exprtk::parser<T>               parser_t;
   typedef exprtk::function_compositor<T>  compositor_t;
   typedef typename compositor_t::function function_t;

   T v1 = T(1);
   T v2 = T(2);

   func0<T> f0;

   symbol_table_t symbol_table;

   symbol_table.add_constants();

   symbol_table.add_variable("v1"   , v1           );
   symbol_table.add_variable("v2"   , v2           );
   symbol_table.add_function("func0", f0           );
   symbol_table.add_function("func1", func1<double>);

   compositor_t compositor(symbol_table);

   compositor.add(
      function_t("func2")
      .var("v1").var("v2")
      .expression(" 1 + cos(v1 * v2) / 3;"));

   const std::string program0 = "func0(v1,v2);";
   const std::string program1 = "func1(v1,v2);";
   const std::string program2 = "func2(v1,v2);";

   expression_t expression0(symbol_table);
   expression_t expression1(symbol_table);
   expression_t expression2(symbol_table);

   parser_t parser;

   if (!parser.compile(program0,expression0))
   {
      printf("Error: %s\tExpression: %s\n",
             parser.error().c_str(),
             program0.c_str());

      return;
   }

   if (!parser.compile(program1,expression1))
   {
      printf("Error: %s\tExpression: %s\n",
             parser.error().c_str(),
             program1.c_str());

      return;
   }

   if (!parser.compile(program2,expression2))
   {
      printf("Error: %s\tExpression: %s\n",
             parser.error().c_str(),
             program1.c_str());

      return;
   }

   const std::size_t rounds = 100000000;

   {
      T total = T(0);

      exprtk::timer timer;
      timer.start();

      for (std::size_t r = 0; r < rounds; ++r)
      {
         total += expression0.value();
         std::swap(v1,v2);
      }

      timer.stop();

      printf("[custom function]  Total time: %8.3fsec\tRate: %15.3f\tTotal:%20.5f\n",
             timer.time(),
             rounds / timer.time(),
             total);
   }

   {
      T total = T(0);

      exprtk::timer timer;
      timer.start();

      for (std::size_t r = 0; r < rounds; ++r)
      {
         total += expression1.value();
         std::swap(v1,v2);
      }

      timer.stop();

      printf("[free function  ]  Total time: %8.3fsec\tRate: %15.3f\tTotal:%20.5f\n",
             timer.time(),
             rounds / timer.time(),
             total);
   }

   {
      T total = T(0);

      exprtk::timer timer;
      timer.start();

      for (std::size_t r = 0; r < rounds; ++r)
      {
         total += expression2.value();
         std::swap(v1,v2);
      }

      timer.stop();

      printf("[compositor     ]  Total time: %8.3fsec\tRate: %15.3f\tTotal:%20.5f\n",
             timer.time(),
             rounds / timer.time(),
             total);
   }

   {
      T total = T(0);

      exprtk::timer timer;
      timer.start();

      for (std::size_t r = 0; r < rounds; ++r)
      {
         total += func1<T>(v1,v2);
         std::swap(v1,v2);
      }

      timer.stop();

      printf("[native         ]  Total time: %8.3fsec\tRate: %15.3f\tTotal:%20.5f\n",
             timer.time(),
             rounds / timer.time(),
             total);
   }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1568, %rsp           # imm = 0x1568
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, 0x18(%rsp)
movabsq $0x4000000000000000, %rax # imm = 0x4000000000000000
movq %rax, 0x10(%rsp)
movw $0x100, 0x238(%rsp)     # imm = 0x100
movq $0x0, 0x240(%rsp)
movq $-0x1, 0x248(%rsp)
movq $0x2, 0x250(%rsp)
leaq 0x2901b7(%rip), %rax    # 0x3aa6c0
movq %rax, 0x230(%rsp)
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movl $0x1, %esi
callq 0x11b432
movq %rbx, %rdi
callq 0x11b47a
leaq 0xb90(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x197427(%rip), %rsi    # 0x2b1965
leaq 0x197422(%rip), %rdx    # 0x2b1967
leaq 0xb80(%rsp), %rdi
callq 0x11b39c
leaq 0x8(%rsp), %rdi
leaq 0xb80(%rsp), %rsi
leaq 0x18(%rsp), %rdx
xorl %ecx, %ecx
callq 0x11b5c0
movq 0xb80(%rsp), %rdi
cmpq %r14, %rdi
je 0x11a588
movq 0xb90(%rsp), %rsi
incq %rsi
callq 0x117090
leaq 0xb80(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x1973ce(%rip), %rsi    # 0x2b1968
leaq 0x1973c9(%rip), %rdx    # 0x2b196a
callq 0x11b39c
leaq 0x8(%rsp), %rdi
leaq 0xb80(%rsp), %rsi
leaq 0x10(%rsp), %rdx
xorl %ecx, %ecx
callq 0x11b5c0
movq 0xb80(%rsp), %rdi
cmpq %r14, %rdi
je 0x11a5dc
movq 0xb90(%rsp), %rsi
incq %rsi
callq 0x117090
leaq 0xb80(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x19737d(%rip), %rsi    # 0x2b196b
leaq 0x19737b(%rip), %rdx    # 0x2b1970
callq 0x11b39c
leaq 0x8(%rsp), %rdi
leaq 0xb80(%rsp), %rsi
leaq 0x230(%rsp), %rdx
callq 0x11b710
movq 0xb80(%rsp), %rdi
cmpq %r14, %rdi
je 0x11a631
movq 0xb90(%rsp), %rsi
incq %rsi
callq 0x117090
leaq 0xb80(%rsp), %rdi
movq %r14, (%rdi)
leaq 0x19732e(%rip), %rsi    # 0x2b1971
leaq 0x19732c(%rip), %rdx    # 0x2b1976
callq 0x11b39c
leaq 0x1319(%rip), %rdx      # 0x11b96f
leaq 0x8(%rsp), %rdi
leaq 0xb80(%rsp), %rsi
callq 0x11b81a
movq 0xb80(%rsp), %rdi
cmpq %r14, %rdi
je 0x11a685
movq 0xb90(%rsp), %rsi
incq %rsi
callq 0x117090
leaq 0xb80(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x11b98c
leaq 0xf0(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x1972cc(%rip), %rsi    # 0x2b1977
leaq 0x1972ca(%rip), %rdx    # 0x2b197c
leaq 0xe0(%rsp), %rdi
callq 0x11b39c
leaq 0x258(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
callq 0x11bb14
leaq 0x30(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x197281(%rip), %rsi    # 0x2b1965
leaq 0x19727c(%rip), %rdx    # 0x2b1967
leaq 0x20(%rsp), %rdi
callq 0x11b39c
leaq 0x298(%rsp), %rbx
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x128f34
leaq 0x50(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x19724e(%rip), %rsi    # 0x2b1968
leaq 0x197249(%rip), %rdx    # 0x2b196a
leaq 0x40(%rsp), %rdi
callq 0x11b39c
leaq 0x40(%rsp), %rsi
movq %rbx, %rdi
callq 0x128f34
leaq 0x70(%rsp), %rbp
movq %rbp, -0x10(%rbp)
leaq 0x197235(%rip), %rsi    # 0x2b197d
leaq 0x197244(%rip), %rdx    # 0x2b1993
leaq 0x60(%rsp), %rdi
callq 0x11b39c
leaq 0x278(%rsp), %r15
leaq 0x60(%rsp), %rsi
movq %r15, %rdi
callq 0x117530
leaq 0x14b0(%rsp), %r14
leaq 0x258(%rsp), %rsi
movq %r14, %rdi
callq 0x121444
leaq 0x14b8(%rsp), %rcx
cmpq %rax, %rcx
jne 0x11a840
leaq 0xb80(%rsp), %rdi
leaq 0x258(%rsp), %rsi
movq %r15, %rdx
movq %rbx, %rcx
xorl %r8d, %r8d
callq 0x1201aa
testb %al, %al
je 0x11a840
leaq 0x258(%rsp), %rsi
movq 0x88(%rsi), %rax
movq %rax, %rcx
subq 0x68(%rsi), %rcx
shrq $0x3, %rcx
cmpq $0x1, %rax
adcq $-0x1, %rcx
movq 0x60(%rsi), %rax
movq 0x70(%rsi), %rdx
subq 0x78(%rsi), %rdx
subq 0x50(%rsi), %rax
sarq $0x5, %rdx
sarq $0x5, %rax
leaq (%rcx,%rcx,2), %rcx
shlq $0x8, %rcx
addq 0x14e0(%rsp), %rcx
leaq (%rdx,%rdx,2), %rdx
shlq $0x4, %rdx
leaq (%rax,%rax,2), %rdi
shlq $0x4, %rdi
addq %rdx, %rdi
addq %rcx, %rdi
callq 0x121068
movq (%rax), %r15
leaq 0x258(%rsp), %rsi
movq %r14, %rdi
callq 0x1213c8
movq %r15, %rdi
movq %rax, %rsi
callq 0x1210e4
movq 0x60(%rsp), %rdi
cmpq %rbp, %rdi
je 0x11a857
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x117090
movq 0x40(%rsp), %rdi
cmpq %r13, %rdi
je 0x11a86e
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x117090
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x11a88a
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x117090
movq %rbx, %rdi
callq 0x1291ce
leaq 0x288(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11a8b3
movq 0x288(%rsp), %rsi
incq %rsi
callq 0x117090
leaq 0x268(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11a8d4
movq 0x268(%rsp), %rsi
incq %rsi
callq 0x117090
movq 0xe0(%rsp), %rdi
cmpq %r12, %rdi
je 0x11a8f1
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x117090
leaq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
movq %rax, (%rdi)
leaq 0x19708f(%rip), %rsi    # 0x2b1994
leaq 0x197095(%rip), %rdx    # 0x2b19a1
callq 0x11b39c
leaq 0x40(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x197082(%rip), %rsi    # 0x2b19a2
leaq 0x197088(%rip), %rdx    # 0x2b19af
callq 0x11b39c
leaq 0x60(%rsp), %rdi
movq %rbp, (%rdi)
leaq 0x197075(%rip), %rsi    # 0x2b19b0
leaq 0x19707b(%rip), %rdx    # 0x2b19bd
callq 0x11b39c
leaq 0xc0(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x11bbee
leaq 0xa0(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x11bbee
leaq 0x80(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x11bbee
leaq 0xe0(%rsp), %rdi
movl $0x7f, %esi
callq 0x11bc92
leaq 0x258(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
callq 0x11bd92
leaq 0x1e0(%rsp), %rdi
callq 0x1293f8
leaq 0x1b0(%rsp), %rdi
callq 0x1293f8
leaq 0x180(%rsp), %rdi
callq 0x1293f8
leaq 0x150(%rsp), %rdi
callq 0x1293f8
leaq 0x120(%rsp), %rdi
callq 0x1293f8
leaq 0xf0(%rsp), %rbx
movq %rbx, %rdi
callq 0x1293f8
leaq 0x258(%rsp), %rdi
leaq 0x20(%rsp), %rsi
leaq 0xc0(%rsp), %rdx
callq 0x11c5b6
testb %al, %al
je 0x11aaf2
leaq 0x258(%rsp), %rdi
leaq 0x40(%rsp), %rsi
leaq 0xa0(%rsp), %rdx
callq 0x11c5b6
testb %al, %al
je 0x11ab5c
leaq 0x258(%rsp), %rdi
leaq 0x60(%rsp), %rsi
leaq 0x80(%rsp), %rdx
callq 0x11c5b6
testb %al, %al
je 0x11ac69
leaq 0xe8(%rsp), %rdi
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rdi)
movupd %xmm0, (%rdi)
movb $0x1, -0x8(%rdi)
xorl %esi, %esi
callq 0x117240
xorpd %xmm0, %xmm0
movsd %xmm0, (%rsp)
movl $0x5f5e100, %ebx        # imm = 0x5F5E100
movq 0xc0(%rsp), %rax
movq 0x8(%rax), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movsd (%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
movsd 0x18(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
movsd %xmm1, 0x18(%rsp)
movsd %xmm0, 0x10(%rsp)
decq %rbx
jne 0x11aa89
leaq 0xf8(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x117240
movq (%rbx), %rax
subq -0x10(%rbx), %rax
jge 0x11ad46
movsd 0x19251b(%rip), %xmm0   # 0x2ad008
jmp 0x11ad86
movq 0x570(%rsp), %r8
cmpq %r8, 0x590(%rsp)
je 0x11abc6
movq 0x588(%rsp), %rsi
movq %r8, %rcx
subq 0x578(%rsp), %rcx
movq %rcx, %rdx
sarq $0x3, %rdx
movabsq $-0x30c30c30c30c30c3, %rax # imm = 0xCF3CF3CF3CF3CF3D
imulq %rdx, %rax
cmpq $-0xa7, %rcx
jl 0x11abf9
cmpq $0x3, %rax
jb 0x11ac1d
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rdx
shrq %rdx
jmp 0x11ac0f
movq 0x570(%rsp), %rdi
cmpq %rdi, 0x590(%rsp)
je 0x11accf
movq 0x588(%rsp), %rsi
movq %rdi, %rcx
subq 0x578(%rsp), %rcx
movq %rcx, %rdx
sarq $0x3, %rdx
movabsq $-0x30c30c30c30c30c3, %rax # imm = 0xCF3CF3CF3CF3CF3D
imulq %rdx, %rax
cmpq $-0xa7, %rcx
jl 0x11acf9
cmpq $0x3, %rax
jb 0x11ad1d
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rdx
shrq %rdx
jmp 0x11ad0f
movq %rbx, 0xe0(%rsp)
movabsq $0x726f727245206f4e, %rax # imm = 0x726F727245206F4E
movq %rax, 0xf0(%rsp)
movq $0x8, 0xe8(%rsp)
movb $0x0, 0xf8(%rsp)
movq %rbx, %rsi
jmp 0x11ac40
notq %rax
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rdx
shrq %rdx
notq %rdx
imulq $-0x1f8, %rdx, %r8      # imm = 0xFE08
addq (%rsi,%rdx,8), %r8
addq %rcx, %r8
leaq 0xe0(%rsp), %rdi
movq %rbx, (%rdi)
movq 0x38(%r8), %rsi
movq 0x40(%r8), %rdx
addq %rsi, %rdx
callq 0x11dca4
movq 0xe0(%rsp), %rsi
movq 0x20(%rsp), %rdx
leaq 0x196d72(%rip), %rdi    # 0x2b19be
xorl %eax, %eax
callq 0x117050
movq 0xe0(%rsp), %rdi
cmpq %rbx, %rdi
jne 0x11b0fe
jmp 0x11b10e
movq 0x570(%rsp), %rdi
cmpq %rdi, 0x590(%rsp)
je 0x11accf
movq 0x588(%rsp), %rsi
movq %rdi, %rcx
subq 0x578(%rsp), %rcx
movq %rcx, %rdx
sarq $0x3, %rdx
movabsq $-0x30c30c30c30c30c3, %rax # imm = 0xCF3CF3CF3CF3CF3D
imulq %rdx, %rax
cmpq $-0xa7, %rcx
jl 0x11b08a
cmpq $0x3, %rax
jb 0x11b0ae
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rdx
shrq %rdx
jmp 0x11b0a0
leaq 0xf0(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movabsq $0x726f727245206f4e, %rax # imm = 0x726F727245206F4E
movq %rax, (%rsi)
movq $0x8, -0x8(%rsi)
movb $0x0, 0x8(%rsi)
jmp 0x11b0da
notq %rax
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rdx
shrq %rdx
notq %rdx
imulq $-0x1f8, %rdx, %rdi     # imm = 0xFE08
addq (%rsi,%rdx,8), %rdi
addq %rcx, %rdi
leaq 0xf0(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x38(%rdi), %rsi
movq 0x40(%rdi), %rdx
addq %rsi, %rdx
leaq 0xe0(%rsp), %rdi
callq 0x11dca4
jmp 0x11b0d2
imulq $0xf4240, %rax, %rax    # imm = 0xF4240
addq 0x100(%rsp), %rax
subq 0xf0(%rsp), %rax
movq %rax, %xmm1
punpckldq 0x192376(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x19237e(%rip), %xmm1   # 0x2ad0f0
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
mulsd 0x19228a(%rip), %xmm0   # 0x2ad010
movsd (%rsp), %xmm2
movsd 0x192285(%rip), %xmm1   # 0x2ad018
divsd %xmm0, %xmm1
leaq 0x196c3a(%rip), %rdi    # 0x2b19d8
movb $0x3, %al
callq 0x117050
leaq 0xe8(%rsp), %rdi
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rdi)
movupd %xmm0, (%rdi)
movb $0x1, -0x8(%rdi)
xorl %esi, %esi
callq 0x117240
xorpd %xmm0, %xmm0
movsd %xmm0, (%rsp)
movl $0x5f5e100, %ebx        # imm = 0x5F5E100
movq 0xa0(%rsp), %rax
movq 0x8(%rax), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movsd (%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
movsd 0x18(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
movsd %xmm1, 0x18(%rsp)
movsd %xmm0, 0x10(%rsp)
decq %rbx
jne 0x11add3
leaq 0xf8(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x117240
movq (%rbx), %rax
subq -0x10(%rbx), %rax
jge 0x11ae35
movsd 0x1921d5(%rip), %xmm0   # 0x2ad008
jmp 0x11ae75
imulq $0xf4240, %rax, %rax    # imm = 0xF4240
addq 0x100(%rsp), %rax
subq 0xf0(%rsp), %rax
movq %rax, %xmm1
punpckldq 0x192287(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x19228f(%rip), %xmm1   # 0x2ad0f0
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
mulsd 0x19219b(%rip), %xmm0   # 0x2ad010
movsd 0x19219b(%rip), %xmm1   # 0x2ad018
divsd %xmm0, %xmm1
leaq 0x196b93(%rip), %rdi    # 0x2b1a1b
movsd (%rsp), %xmm2
movb $0x3, %al
callq 0x117050
leaq 0xe8(%rsp), %rdi
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rdi)
movupd %xmm0, (%rdi)
movb $0x1, -0x8(%rdi)
xorl %esi, %esi
callq 0x117240
xorpd %xmm0, %xmm0
movsd %xmm0, (%rsp)
movl $0x5f5e100, %ebx        # imm = 0x5F5E100
movq 0x80(%rsp), %rax
movq 0x8(%rax), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movsd (%rsp), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
movsd 0x18(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
movsd %xmm1, 0x18(%rsp)
movsd %xmm0, 0x10(%rsp)
decq %rbx
jne 0x11aec2
leaq 0xf8(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x117240
movq (%rbx), %rax
subq -0x10(%rbx), %rax
jge 0x11af24
movsd 0x1920e6(%rip), %xmm0   # 0x2ad008
jmp 0x11af64
imulq $0xf4240, %rax, %rax    # imm = 0xF4240
addq 0x100(%rsp), %rax
subq 0xf0(%rsp), %rax
movq %rax, %xmm1
punpckldq 0x192198(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x1921a0(%rip), %xmm1   # 0x2ad0f0
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
mulsd 0x1920ac(%rip), %xmm0   # 0x2ad010
movsd 0x1920ac(%rip), %xmm1   # 0x2ad018
divsd %xmm0, %xmm1
leaq 0x196ae7(%rip), %rdi    # 0x2b1a5e
movsd (%rsp), %xmm2
movb $0x3, %al
callq 0x117050
leaq 0xe8(%rsp), %rdi
xorpd %xmm0, %xmm0
movupd %xmm0, 0x10(%rdi)
movupd %xmm0, (%rdi)
movb $0x1, -0x8(%rdi)
xorl %esi, %esi
callq 0x117240
movsd 0x18(%rsp), %xmm1
xorpd %xmm2, %xmm2
movl $0x5f5e100, %ebx        # imm = 0x5F5E100
movsd 0x10(%rsp), %xmm0
movsd %xmm2, (%rsp)
mulsd %xmm1, %xmm0
callq 0x1174a0
movsd (%rsp), %xmm2
divsd 0x19204d(%rip), %xmm0   # 0x2ad020
addsd 0x19204d(%rip), %xmm0   # 0x2ad028
addsd %xmm0, %xmm2
movsd 0x18(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
movsd %xmm1, 0x18(%rsp)
movsd %xmm0, 0x10(%rsp)
decq %rbx
jne 0x11afb8
movsd %xmm2, (%rsp)
leaq 0xf8(%rsp), %rbx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x117240
movq (%rbx), %rax
subq -0x10(%rbx), %rax
jge 0x11b026
movsd 0x191fe4(%rip), %xmm0   # 0x2ad008
jmp 0x11b066
imulq $0xf4240, %rax, %rax    # imm = 0xF4240
addq 0x100(%rsp), %rax
subq 0xf0(%rsp), %rax
movq %rax, %xmm1
punpckldq 0x192096(%rip), %xmm1 # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
subpd 0x19209e(%rip), %xmm1   # 0x2ad0f0
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
mulsd 0x191faa(%rip), %xmm0   # 0x2ad010
movsd (%rsp), %xmm2
movsd 0x191fa5(%rip), %xmm1   # 0x2ad018
divsd %xmm0, %xmm1
leaq 0x196a23(%rip), %rdi    # 0x2b1aa1
movb $0x3, %al
callq 0x117050
jmp 0x11b10e
notq %rax
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
mulq %rdx
shrq %rdx
notq %rdx
imulq $-0x1f8, %rdx, %rdi     # imm = 0xFE08
addq (%rsi,%rdx,8), %rdi
addq %rcx, %rdi
leaq 0xf0(%rsp), %rax
movq %rax, -0x10(%rax)
movq 0x38(%rdi), %rsi
movq 0x40(%rdi), %rdx
addq %rsi, %rdx
leaq 0xe0(%rsp), %rdi
callq 0x11dca4
movq 0xe0(%rsp), %rsi
movq 0x40(%rsp), %rdx
leaq 0x1968d8(%rip), %rdi    # 0x2b19be
xorl %eax, %eax
callq 0x117050
leaq 0xf0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x11b10e
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x117090
leaq 0x258(%rsp), %rdi
callq 0x11d152
leaq 0x80(%rsp), %rdi
callq 0x11d414
leaq 0xa0(%rsp), %rdi
callq 0x11d414
leaq 0xc0(%rsp), %rdi
callq 0x11d414
movq 0x60(%rsp), %rdi
cmpq %rbp, %rdi
je 0x11b159
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x117090
movq 0x40(%rsp), %rdi
cmpq %r13, %rdi
je 0x11b170
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x117090
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x11b18c
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x117090
leaq 0xb80(%rsp), %rdi
callq 0x11d462
leaq 0x8(%rsp), %rdi
callq 0x11d4c4
addq $0x1568, %rsp           # imm = 0x1568
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x11b2f0
jmp 0x11b2f0
jmp 0x11b2f0
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0x11c56e
jmp 0x11b300
movq %rax, %rbx
jmp 0x11b300
movq %rax, %rbx
jmp 0x11b30d
movq %rax, %rbx
jmp 0x11b31a
movq %rax, %rbx
jmp 0x11b327
movq %rax, %rbx
jmp 0x11b33e
movq %rax, %rbx
jmp 0x11b355
jmp 0x11b22c
jmp 0x11b20d
movq %rax, %rbx
jmp 0x11b291
jmp 0x11b214
movq %rax, %rbx
jmp 0x11b2a8
movq %rax, %rbx
jmp 0x11b2c4
movq %rax, %rbx
jmp 0x11b2d1
movq %rax, %rbx
jmp 0x11b371
jmp 0x11b26d
jmp 0x11b242
jmp 0x11b26d
jmp 0x11b242
jmp 0x11b26d
jmp 0x11b242
jmp 0x11b26d
movq %rax, %rbx
movq 0xb80(%rsp), %rdi
cmpq %r14, %rdi
je 0x11b37e
movq 0xb90(%rsp), %rsi
incq %rsi
callq 0x117090
jmp 0x11b37e
jmp 0x11b26d
movq %rax, %rbx
jmp 0x11b37e
jmp 0x11b2f0
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %rbp, %rdi
je 0x11b291
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x117090
movq 0x40(%rsp), %rdi
cmpq %r13, %rdi
je 0x11b2a8
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x117090
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x11b2c4
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x117090
leaq 0x258(%rsp), %rdi
callq 0x11bbae
movq 0xe0(%rsp), %rdi
cmpq %r12, %rdi
je 0x11b371
movq 0xf0(%rsp), %rsi
jmp 0x11b369
jmp 0x11b2f0
jmp 0x11b2f0
movq %rax, %rbx
leaq 0x258(%rsp), %rdi
callq 0x11d152
leaq 0x80(%rsp), %rdi
callq 0x11d414
leaq 0xa0(%rsp), %rdi
callq 0x11d414
leaq 0xc0(%rsp), %rdi
callq 0x11d414
movq 0x60(%rsp), %rdi
cmpq %rbp, %rdi
je 0x11b33e
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x117090
movq 0x40(%rsp), %rdi
cmpq %r13, %rdi
je 0x11b355
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x117090
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0x11b371
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x117090
leaq 0xb80(%rsp), %rdi
callq 0x11d462
leaq 0x8(%rsp), %rdi
callq 0x11d4c4
movq %rbx, %rdi
callq 0x1172f0