double SIM_power_compare_time(C, A, Ntbl, Ntspd, inputtime, outputtime)
int C, A, Ntbl, Ntspd;
double inputtime, *outputtime;
{
  double Req, Ceq, tf, st1del, st2del, st3del, nextinputtime, m;
  double c1, c2, r1, r2, tstep, a, b, c;
  double Tcomparatorni;
  int cols, tagbits;
  Ceq = SIM_power_gatecap((12.0 * 0.0875) + (20.0 * 0.0875), 10.0) +
        SIM_power_draincap((10.0 * 0.0875), 0, 1) +
        SIM_power_draincap((6.0 * 0.0875), 1, 1);
  Req = SIM_power_transreson((10.0 * 0.0875), 0, 1);
  tf = Req * Ceq;
  st1del = SIM_power_horowitz(inputtime, tf, (4.370000e-01), (4.370000e-01), 0);
  nextinputtime = st1del / (4.370000e-01);
  Ceq = SIM_power_gatecap((24.0 * 0.0875) + (40.0 * 0.0875), 10.0) +
        SIM_power_draincap((20.0 * 0.0875), 0, 1) +
        SIM_power_draincap((12.0 * 0.0875), 1, 1);
  Req = SIM_power_transreson((12.0 * 0.0875), 1, 1);
  tf = Req * Ceq;
  st2del = SIM_power_horowitz(inputtime, tf, (4.370000e-01), (4.370000e-01), 1);
  nextinputtime = st1del / (1.0 - (4.370000e-01));
  Ceq = SIM_power_gatecap((80.0 * 0.0875) + (20.0 * 0.0875), 10.0) +
        SIM_power_draincap((40.0 * 0.0875), 0, 1) +
        SIM_power_draincap((24.0 * 0.0875), 1, 1);
  Req = SIM_power_transreson((40.0 * 0.0875), 0, 1);
  tf = Req * Ceq;
  st3del =
      SIM_power_horowitz(nextinputtime, tf, (4.370000e-01), (2.670000e-01), 0);
  nextinputtime = st1del / ((2.670000e-01));
  tagbits = (64) - (int)logtwo((double)C) + (int)logtwo((double)A);
  cols = tagbits * Ntbl * Ntspd;
  r1 = SIM_power_transreson((20.0 * 0.0875), 1, 2);
  r2 = SIM_power_transresswitch((80.0 * 0.0875), 1, 1);
  c2 = (tagbits) * (SIM_power_draincap((20.0 * 0.0875), 1, 1) +
                    SIM_power_draincap((20.0 * 0.0875), 1, 2)) +
       SIM_power_draincap((20.0 * 0.0875), 0, 1) +
       SIM_power_draincap((80.0 * 0.0875), 1, 1);
  c1 = (tagbits) * (SIM_power_draincap((20.0 * 0.0875), 1, 1) +
                    SIM_power_draincap((20.0 * 0.0875), 1, 2)) +
       SIM_power_draincap((30.0 * 0.0875), 0, 1) +
       SIM_power_gatecap((30.0 * 0.0875) + (50.0 * 0.0875), 20.0) +
       cols * (1.8e-15 * ((172.2157) * (0.0875 * 0.0875)));
  tstep = (r2 * c2 + (r1 + r2) * c1) * log(1.0 / (4.370000e-01));
  m = (5 * 0.36) / nextinputtime;
  if ((tstep) <= (0.5 * ((5 * 0.36) - (1.09 * 0.46)) / m)) {
    a = m;
    b = 2 * (((5 * 0.36) * (2.670000e-01)) - (1.09 * 0.46));
    c = -2 * (tstep) * ((5 * 0.36) - (1.09 * 0.46)) +
        1 / m * (((5 * 0.36) * (2.670000e-01)) - (1.09 * 0.46)) *
            (((5 * 0.36) * (2.670000e-01)) - (1.09 * 0.46));
    Tcomparatorni = (-b + sqrt(b * b - 4 * a * c)) / (2 * a);
  } else {
    Tcomparatorni = (tstep) + ((5 * 0.36) + (1.09 * 0.46)) / (2 * m) -
                    ((5 * 0.36) * (2.670000e-01)) / m;
  }
  *outputtime = Tcomparatorni / (1.0 - (4.370000e-01));
  return (Tcomparatorni + st1del + st2del + st3del);
}


x86 assembly (clang, -O0):
<SIM_power_compare_time>:
push   %rbp
mov    %rsp,%rbp
sub    $0x100,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %ecx,-0x10(%rbp)
movsd  %xmm0,-0x18(%rbp)
mov    %r8,-0x20(%rbp)
movsd  0xef0(%rip),%xmm0
movsd  0xeb8(%rip),%xmm1
mov    $0x2,%al
call   1090 <SIM_power_gatecap@plt>
mov    %eax,-0xf4(%rbp)
movsd  0xec3(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,%ecx
mov    -0xf4(%rbp),%eax
add    %ecx,%eax
mov    %eax,-0xf0(%rbp)
movsd  0xea5(%rip),%xmm0
mov    $0x1,%esi
mov    %esi,%edi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,%ecx
mov    -0xf0(%rbp),%eax
add    %ecx,%eax
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xe74(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1030 <SIM_power_transreson@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm1
movsd  0xdfc(%rip),%xmm3
xor    %edi,%edi
movaps %xmm3,%xmm2
mov    $0x4,%al
call   1050 <SIM_power_horowitz@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  0xdda(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  0xe01(%rip),%xmm0
movsd  0xde1(%rip),%xmm1
mov    $0x2,%al
call   1090 <SIM_power_gatecap@plt>
mov    %eax,-0xec(%rbp)
movsd  0xd9c(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,%ecx
mov    -0xec(%rbp),%eax
add    %ecx,%eax
mov    %eax,-0xe8(%rbp)
movsd  0xdb6(%rip),%xmm0
mov    $0x1,%esi
mov    %esi,%edi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,%ecx
mov    -0xe8(%rbp),%eax
add    %ecx,%eax
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xd8d(%rip),%xmm0
mov    $0x1,%esi
mov    %esi,%edi
mov    $0x1,%al
call   1030 <SIM_power_transreson@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm1
movsd  0xd25(%rip),%xmm3
mov    $0x1,%edi
movaps %xmm3,%xmm2
mov    $0x4,%al
call   1050 <SIM_power_horowitz@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  0xd28(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  0xd07(%rip),%xmm0
movsd  0xd07(%rip),%xmm1
mov    $0x2,%al
call   1090 <SIM_power_gatecap@plt>
mov    %eax,-0xe4(%rbp)
movsd  0xcda(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,%ecx
mov    -0xe4(%rbp),%eax
add    %ecx,%eax
mov    %eax,-0xe0(%rbp)
movsd  0xcbc(%rip),%xmm0
mov    $0x1,%esi
mov    %esi,%edi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,%ecx
mov    -0xe0(%rbp),%eax
add    %ecx,%eax
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xc8b(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1030 <SIM_power_transreson@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm1
movsd  0xc4b(%rip),%xmm2
movsd  0xc3b(%rip),%xmm3
xor    %edi,%edi
mov    $0x4,%al
call   1050 <SIM_power_horowitz@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  0xc1c(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
cvtsi2sdl -0x4(%rbp),%xmm0
mov    $0x1,%al
call   1060 <logtwo@plt>
mov    %eax,%ecx
mov    $0x40,%eax
sub    %ecx,%eax
mov    %eax,-0xdc(%rbp)
cvtsi2sdl -0x8(%rbp),%xmm0
mov    $0x1,%al
call   1060 <logtwo@plt>
mov    %eax,%ecx
mov    -0xdc(%rbp),%eax
add    %ecx,%eax
mov    %eax,-0xb0(%rbp)
mov    -0xb0(%rbp),%eax
imul   -0xc(%rbp),%eax
imul   -0x10(%rbp),%eax
mov    %eax,-0xac(%rbp)
movsd  0xbb8(%rip),%xmm0
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x1,%al
call   1030 <SIM_power_transreson@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  0xb7e(%rip),%xmm0
mov    $0x1,%esi
mov    %esi,%edi
mov    $0x1,%al
call   1070 <SIM_power_transresswitch@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    -0xb0(%rbp),%eax
mov    %eax,-0xd4(%rbp)
movsd  0xb6b(%rip),%xmm0
mov    $0x1,%esi
mov    %esi,%edi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,-0xd8(%rbp)
movsd  0xb4f(%rip),%xmm0
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    -0xd8(%rbp),%ecx
mov    %eax,%edx
mov    -0xd4(%rbp),%eax
add    %edx,%ecx
imul   %ecx,%eax
mov    %eax,-0xd0(%rbp)
movsd  0xb1d(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,%ecx
mov    -0xd0(%rbp),%eax
add    %ecx,%eax
mov    %eax,-0xcc(%rbp)
movsd  0xadf(%rip),%xmm0
mov    $0x1,%esi
mov    %esi,%edi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,%ecx
mov    -0xcc(%rbp),%eax
add    %ecx,%eax
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0xb0(%rbp),%eax
mov    %eax,-0xc4(%rbp)
movsd  0xac2(%rip),%xmm0
mov    $0x1,%esi
mov    %esi,%edi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,-0xc8(%rbp)
movsd  0xaa6(%rip),%xmm0
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    -0xc8(%rbp),%ecx
mov    %eax,%edx
mov    -0xc4(%rbp),%eax
add    %edx,%ecx
imul   %ecx,%eax
mov    %eax,-0xc0(%rbp)
movsd  0xa6c(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,%ecx
mov    -0xc0(%rbp),%eax
add    %ecx,%eax
mov    %eax,-0xbc(%rbp)
movsd  0xa36(%rip),%xmm0
movsd  0xa36(%rip),%xmm1
mov    $0x2,%al
call   1090 <SIM_power_gatecap@plt>
mov    %eax,%ecx
mov    -0xbc(%rbp),%eax
add    %ecx,%eax
cvtsi2sd %eax,%xmm1
cvtsi2sdl -0xac(%rbp),%xmm0
ff
movsd  0xa01(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x80(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
addsd  -0x80(%rbp),%xmm1
mulsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  0x9bb(%rip),%xmm0
call   1080 <log@plt>
movaps %xmm0,%xmm1
movsd  -0xb8(%rbp),%xmm0
ff
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  0x98f(%rip),%xmm0
divsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x88(%rbp),%xmm1
ff
movsd  0x96d(%rip),%xmm0
divsd  -0x60(%rbp),%xmm0
ucomisd %xmm1,%xmm0
jb     17af <SIM_power_compare_time+0x62f>
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  0xa29(%rip),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  0xa11(%rip),%xmm0
mulsd  -0x88(%rbp),%xmm0
ff
movsd  0x9f9(%rip),%xmm1
divsd  -0x60(%rbp),%xmm1
movsd  0x9e4(%rip),%xmm2
mulsd  %xmm2,%xmm1
movsd  0x9d8(%rip),%xmm2
mulsd  %xmm2,%xmm1
movsd  0x9c4(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x98(%rbp),%xmm0
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x100(%rbp)
ff
movsd  -0x98(%rbp),%xmm0
ff
movsd  -0x98(%rbp),%xmm2
ff
movsd  0x96d(%rip),%xmm1
mulsd  -0x90(%rbp),%xmm1
ff
mulsd  -0xa0(%rbp),%xmm1
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   10a0 <sqrt@plt>
movaps %xmm0,%xmm1
movsd  -0x100(%rbp),%xmm0
ff
addsd  %xmm1,%xmm0
movsd  0x91a(%rip),%xmm1
mulsd  -0x90(%rbp),%xmm1
ff
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
jmp    17ed <SIM_power_compare_time+0x66d>
movsd  -0x88(%rbp),%xmm0
ff
movsd  0x8f1(%rip),%xmm2
mulsd  -0x60(%rbp),%xmm2
movsd  0x8dc(%rip),%xmm1
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
movsd  0x8c4(%rip),%xmm1
divsd  -0x60(%rbp),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0xa8(%rbp),%xmm0
ff
movsd  0x873(%rip),%xmm1
divsd  %xmm1,%xmm0
mov    -0x20(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0xa8(%rbp),%xmm0
ff
addsd  -0x40(%rbp),%xmm0
addsd  -0x48(%rbp),%xmm0
addsd  -0x50(%rbp),%xmm0
add    $0x100,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<SIM_power_compare_time>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    %r8,0x50(%rsp)
movsd  %xmm0,0x18(%rsp)
mov    %ecx,%r13d
mov    %edx,%r12d
mov    %esi,%r15d
mov    %edi,%r14d
movsd  0xe63(%rip),%xmm0
movsd  0xe63(%rip),%xmm1
mov    $0x2,%al
call   1080 <SIM_power_gatecap@plt>
mov    %eax,%ebx
movsd  0xe5a(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,%ebp
add    %ebx,%ebp
movsd  0xe48(%rip),%xmm0
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
add    %ebp,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xe18(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1030 <SIM_power_transreson@plt>
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
mulsd  0x10(%rsp),%xmm1
movsd  0xe05(%rip),%xmm2
movsd  0x18(%rsp),%xmm0
movaps %xmm2,%xmm3
xor    %edi,%edi
mov    $0x4,%al
call   1050 <SIM_power_horowitz@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0xde6(%rip),%xmm0
movsd  0xdbe(%rip),%xmm1
mov    $0x2,%al
call   1080 <SIM_power_gatecap@plt>
mov    %eax,%ebx
movsd  0xdd5(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,%ebp
add    %ebx,%ebp
movsd  0xdc3(%rip),%xmm0
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
add    %ebp,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xd9b(%rip),%xmm0
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1030 <SIM_power_transreson@plt>
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
mulsd  0x8(%rsp),%xmm1
movsd  0x18(%rsp),%xmm0
movsd  0xd57(%rip),%xmm2
movaps %xmm2,%xmm3
mov    $0x1,%edi
mov    $0x4,%al
call   1050 <SIM_power_horowitz@plt>
mov    %eax,0x18(%rsp)
movsd  0x10(%rsp),%xmm0
divsd  0xd56(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0xd50(%rip),%xmm0
movsd  0xd08(%rip),%xmm1
mov    $0x2,%al
call   1080 <SIM_power_gatecap@plt>
mov    %eax,%ebx
movsd  0xd3f(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,%ebp
add    %ebx,%ebp
movsd  0xd2d(%rip),%xmm0
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
add    %ebp,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0xcfd(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1030 <SIM_power_transreson@plt>
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
mulsd  0x20(%rsp),%xmm1
movsd  0xcea(%rip),%xmm3
movsd  0x8(%rsp),%xmm0
movsd  0xc9c(%rip),%xmm2
xor    %edi,%edi
mov    $0x4,%al
call   1050 <SIM_power_horowitz@plt>
mov    %eax,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
divsd  0xcc1(%rip),%xmm0
movsd  %xmm0,0x20(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sd %r14d,%xmm0
mov    $0x1,%al
call   1060 <logtwo@plt>
mov    %eax,%ebp
xorps  %xmm0,%xmm0
cvtsi2sd %r15d,%xmm0
mov    $0x1,%al
call   1060 <logtwo@plt>
mov    %eax,%r15d
sub    %ebp,%r15d
add    $0x40,%r15d
imul   %r13d,%r12d
imul   %r15d,%r12d
movsd  0xc51(%rip),%xmm0
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x1,%al
call   1030 <SIM_power_transreson@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0x48(%rsp)
movsd  0xc63(%rip),%xmm0
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1070 <SIM_power_transresswitch@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0x40(%rsp)
movsd  0xc05(%rip),%xmm0
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,%r14d
movsd  0xbe9(%rip),%xmm0
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,%ebp
add    %r14d,%ebp
imul   %r15d,%ebp
movsd  0xbc7(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,%ebx
add    %ebp,%ebx
movsd  0xbe5(%rip),%xmm0
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
add    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0x38(%rsp)
movsd  0xb85(%rip),%xmm0
mov    $0x1,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,%ebx
movsd  0xb6a(%rip),%xmm0
mov    $0x1,%edi
mov    $0x2,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,%ebp
add    %ebx,%ebp
imul   %r15d,%ebp
movsd  0xb89(%rip),%xmm0
xor    %edi,%edi
mov    $0x1,%esi
mov    $0x1,%al
call   1040 <SIM_power_draincap@plt>
mov    %eax,%ebx
add    %ebp,%ebx
movsd  0xb77(%rip),%xmm1
movsd  0xb5f(%rip),%xmm0
mov    $0x2,%al
call   1080 <SIM_power_gatecap@plt>
movsd  0x38(%rsp),%xmm4
add    %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
xorps  %xmm1,%xmm1
cvtsi2sd %r12d,%xmm1
mulsd  0xb51(%rip),%xmm1
addsd  %xmm0,%xmm1
movsd  0x48(%rsp),%xmm0
movsd  0x40(%rsp),%xmm2
addsd  %xmm2,%xmm0
mulsd  %xmm1,%xmm0
mulsd  %xmm2,%xmm4
addsd  %xmm0,%xmm4
mulsd  0xb31(%rip),%xmm4
movsd  0xb31(%rip),%xmm2
divsd  0x20(%rsp),%xmm2
movsd  0xb2b(%rip),%xmm0
divsd  %xmm2,%xmm0
ucomisd %xmm4,%xmm0
jae    15a0 <SIM_power_compare_time+0x430>
movapd %xmm2,%xmm0
addsd  %xmm2,%xmm0
unpcklpd %xmm2,%xmm0
movapd 0xb55(%rip),%xmm1
divpd  %xmm0,%xmm1
addsd  %xmm1,%xmm4
unpckhpd %xmm1,%xmm1
subsd  %xmm1,%xmm4
jmp    1620 <SIM_power_compare_time+0x4b0>
mulsd  0xaf8(%rip),%xmm4
movsd  0xaf8(%rip),%xmm0
divsd  %xmm2,%xmm0
movsd  0xaf4(%rip),%xmm1
mulsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm0
mulsd  0xaec(%rip),%xmm4
addsd  %xmm0,%xmm4
movsd  0xae8(%rip),%xmm0
mulsd  %xmm2,%xmm0
mulsd  %xmm4,%xmm0
addsd  0xae0(%rip),%xmm0
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jb     15fb <SIM_power_compare_time+0x48b>
xorps  %xmm4,%xmm4
sqrtsd %xmm0,%xmm4
jmp    1610 <SIM_power_compare_time+0x4a0>
movapd %xmm2,0x20(%rsp)
call   1090 <sqrt@plt>
movapd 0x20(%rsp),%xmm2
movapd %xmm0,%xmm4
addsd  0xab8(%rip),%xmm4
addsd  %xmm2,%xmm2
divsd  %xmm2,%xmm4
cvtsi2sdl 0x8(%rsp),%xmm3
xorps  %xmm1,%xmm1
cvtsi2sdl 0x18(%rsp),%xmm1
movapd %xmm4,%xmm2
divsd  0xa05(%rip),%xmm2
mov    0x50(%rsp),%rax
movsd  %xmm2,(%rax)
movsd  0x10(%rsp),%xmm0
addsd  %xmm4,%xmm0
addsd  %xmm1,%xmm0
addsd  %xmm3,%xmm0
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define double @SIM_power_compare_time(i32 %0, i32 %1, i32 %2, i32 %3, double %4, double* %5) {
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca double
%12 = alloca double*
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca double
%17 = alloca double
%18 = alloca double
%19 = alloca double
%20 = alloca double
%21 = alloca double
%22 = alloca double
%23 = alloca double
%24 = alloca double
%25 = alloca double
%26 = alloca double
%27 = alloca double
%28 = alloca double
%29 = alloca double
%30 = alloca i32
%31 = alloca i32
store i32 %0, i32* %7
store i32 %1, i32* %8
store i32 %2, i32* %9
store i32 %3, i32* %10
store double %4, double* %11
store double* %5, double** %12
%32 = call i32 (double, double, ...) bitcast (i32 (...)* @SIM_power_gatecap to i32 (double, double, ...)*)(double 2.800000e+00, double 1.000000e+01)
%33 = call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 8.750000e-01, i32 0, i32 1)
%34 = add nsw i32 %32, %33
%35 = call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 0x3FE0CCCCCCCCCCCC, i32 1, i32 1)
%36 = add nsw i32 %34, %35
%37 = sitofp i32 %36 to double
store double %37, double* %14
%38 = call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_transreson to i32 (double, i32, i32, ...)*)(double 8.750000e-01, i32 0, i32 1)
%39 = sitofp i32 %38 to double
store double %39, double* %13
%40 = load double, double* %13
%41 = load double, double* %14
%42 = fmul double %40, %41
store double %42, double* %15
%43 = load double, double* %11
%44 = load double, double* %15
%45 = call i32 (double, double, double, double, i32, ...) bitcast (i32 (...)* @SIM_power_horowitz to i32 (double, double, double, double, i32, ...)*)(double %43, double %44, double 4.370000e-01, double 4.370000e-01, i32 0)
%46 = sitofp i32 %45 to double
store double %46, double* %16
%47 = load double, double* %16
%48 = fdiv double %47, 4.370000e-01
store double %48, double* %19
%49 = call i32 (double, double, ...) bitcast (i32 (...)* @SIM_power_gatecap to i32 (double, double, ...)*)(double 5.600000e+00, double 1.000000e+01)
%50 = call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 1.750000e+00, i32 0, i32 1)
%51 = add nsw i32 %49, %50
%52 = call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 0x3FF0CCCCCCCCCCCC, i32 1, i32 1)
%53 = add nsw i32 %51, %52
%54 = sitofp i32 %53 to double
store double %54, double* %14
%55 = call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_transreson to i32 (double, i32, i32, ...)*)(double 0x3FF0CCCCCCCCCCCC, i32 1, i32 1)
%56 = sitofp i32 %55 to double
store double %56, double* %13
%57 = load double, double* %13
%58 = load double, double* %14
%59 = fmul double %57, %58
store double %59, double* %15
%60 = load double, double* %11
%61 = load double, double* %15
%62 = call i32 (double, double, double, double, i32, ...) bitcast (i32 (...)* @SIM_power_horowitz to i32 (double, double, double, double, i32, ...)*)(double %60, double %61, double 4.370000e-01, double 4.370000e-01, i32 1)
%63 = sitofp i32 %62 to double
store double %63, double* %17
%64 = load double, double* %16
%65 = fdiv double %64, 5.630000e-01
store double %65, double* %19
%66 = call i32 (double, double, ...) bitcast (i32 (...)* @SIM_power_gatecap to i32 (double, double, ...)*)(double 8.750000e+00, double 1.000000e+01)
%67 = call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 3.500000e+00, i32 0, i32 1)
%68 = add nsw i32 %66, %67
%69 = call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 0x4000CCCCCCCCCCCC, i32 1, i32 1)
%70 = add nsw i32 %68, %69
%71 = sitofp i32 %70 to double
store double %71, double* %14
%72 = call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_transreson to i32 (double, i32, i32, ...)*)(double 3.500000e+00, i32 0, i32 1)
%73 = sitofp i32 %72 to double
store double %73, double* %13
%74 = load double, double* %13
%75 = load double, double* %14
%76 = fmul double %74, %75
store double %76, double* %15
%77 = load double, double* %19
%78 = load double, double* %15
%79 = call i32 (double, double, double, double, i32, ...) bitcast (i32 (...)* @SIM_power_horowitz to i32 (double, double, double, double, i32, ...)*)(double %77, double %78, double 4.370000e-01, double 2.670000e-01, i32 0)
%80 = sitofp i32 %79 to double
store double %80, double* %18
%81 = load double, double* %16
%82 = fdiv double %81, 2.670000e-01
store double %82, double* %19
%83 = load i32, i32* %7
%84 = sitofp i32 %83 to double
%85 = call i32 (double, ...) bitcast (i32 (...)* @logtwo to i32 (double, ...)*)(double %84)
%86 = sub nsw i32 64, %85
%87 = load i32, i32* %8
%88 = sitofp i32 %87 to double
%89 = call i32 (double, ...) bitcast (i32 (...)* @logtwo to i32 (double, ...)*)(double %88)
%90 = add nsw i32 %86, %89
store i32 %90, i32* %31
%91 = load i32, i32* %31
%92 = load i32, i32* %9
%93 = mul nsw i32 %91, %92
%94 = load i32, i32* %10
%95 = mul nsw i32 %93, %94
store i32 %95, i32* %30
%96 = call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_transreson to i32 (double, i32, i32, ...)*)(double 1.750000e+00, i32 1, i32 2)
%97 = sitofp i32 %96 to double
store double %97, double* %23
%98 = call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_transresswitch to i32 (double, i32, i32, ...)*)(double 7.000000e+00, i32 1, i32 1)
%99 = sitofp i32 %98 to double
store double %99, double* %24
%100 = load i32, i32* %31
%101 = call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 1.750000e+00, i32 1, i32 1)
%102 = call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 1.750000e+00, i32 1, i32 2)
%103 = add nsw i32 %101, %102
%104 = mul nsw i32 %100, %103
%105 = call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 1.750000e+00, i32 0, i32 1)
%106 = add nsw i32 %104, %105
%107 = call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 7.000000e+00, i32 1, i32 1)
%108 = add nsw i32 %106, %107
%109 = sitofp i32 %108 to double
store double %109, double* %22
%110 = load i32, i32* %31
%111 = call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 1.750000e+00, i32 1, i32 1)
%112 = call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 1.750000e+00, i32 1, i32 2)
%113 = add nsw i32 %111, %112
%114 = mul nsw i32 %110, %113
%115 = call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 2.625000e+00, i32 0, i32 1)
%116 = add nsw i32 %114, %115
%117 = call i32 (double, double, ...) bitcast (i32 (...)* @SIM_power_gatecap to i32 (double, double, ...)*)(double 7.000000e+00, double 2.000000e+01)
%118 = add nsw i32 %116, %117
%119 = sitofp i32 %118 to double
%120 = load i32, i32* %30
%121 = sitofp i32 %120 to double
%122 = call double @llvm.fmuladd.f64(double %121, double 0x3CE56091276E6568, double %119)
store double %122, double* %21
%123 = load double, double* %24
%124 = load double, double* %22
%125 = load double, double* %23
%126 = load double, double* %24
%127 = fadd double %125, %126
%128 = load double, double* %21
%129 = fmul double %127, %128
%130 = call double @llvm.fmuladd.f64(double %123, double %124, double %129)
%131 = call double @log(double 0x40024E7FB50419C7)
%132 = fmul double %130, %131
store double %132, double* %25
%133 = load double, double* %19
%134 = fdiv double 0x3FFCCCCCCCCCCCCC, %133
store double %134, double* %20
%135 = load double, double* %25
%136 = load double, double* %20
%137 = fdiv double 0x3FE4C710CB295E9D, %136
%138 = fcmp ole double %135, %137
br i1 %138, label %139, label %163
139: ; preds = %6
%140 = load double, double* %20
store double %140, double* %26
store double 0xBFA54C985F06F6B0, double* %27
%141 = load double, double* %25
%142 = fmul double -2.000000e+00, %141
%143 = load double, double* %20
%144 = fdiv double 1.000000e+00, %143
%145 = fmul double %144, 0xBF954C985F06F6B0
%146 = fmul double %145, 0xBF954C985F06F6B0
%147 = call double @llvm.fmuladd.f64(double %142, double 0x3FF4C710CB295E9D, double %146)
store double %147, double* %28
%148 = load double, double* %27
%149 = fneg double %148
%150 = load double, double* %27
%151 = load double, double* %27
%152 = load double, double* %26
%153 = fmul double 4.000000e+00, %152
%154 = load double, double* %28
%155 = fmul double %153, %154
%156 = fneg double %155
%157 = call double @llvm.fmuladd.f64(double %150, double %151, double %156)
%158 = call double @sqrt(double %157)
%159 = fadd double %149, %158
%160 = load double, double* %26
%161 = fmul double 2.000000e+00, %160
%162 = fdiv double %159, %161
store double %162, double* %29
br label %172
163: ; preds = %6
%164 = load double, double* %25
%165 = load double, double* %20
%166 = fmul double 2.000000e+00, %165
%167 = fdiv double 2.301400e+00, %166
%168 = fadd double %164, %167
%169 = load double, double* %20
%170 = fdiv double 0x3FDEC226809D4951, %169
%171 = fsub double %168, %170
store double %171, double* %29
br label %172
172: ; preds = %163, %139
%173 = load double, double* %29
%174 = fdiv double %173, 5.630000e-01
%175 = load double*, double** %12
store double %174, double* %175
%176 = load double, double* %29
%177 = load double, double* %16
%178 = fadd double %176, %177
%179 = load double, double* %17
%180 = fadd double %178, %179
%181 = load double, double* %18
%182 = fadd double %180, %181
ret double %182
}

LLVM IR (-O2):
define double @SIM_power_compare_time(i32 %0, i32 %1, i32 %2, i32 %3, double %4, double* nocapture writeonly %5) {
%7 = tail call i32 (double, double, ...) bitcast (i32 (...)* @SIM_power_gatecap to i32 (double, double, ...)*)(double 2.800000e+00, double 1.000000e+01)
%8 = tail call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 8.750000e-01, i32 0, i32 1)
%9 = add nsw i32 %8, %7
%10 = tail call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 0x3FE0CCCCCCCCCCCC, i32 1, i32 1)
%11 = add nsw i32 %9, %10
%12 = sitofp i32 %11 to double
%13 = tail call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_transreson to i32 (double, i32, i32, ...)*)(double 8.750000e-01, i32 0, i32 1)
%14 = sitofp i32 %13 to double
%15 = fmul double %14, %12
%16 = tail call i32 (double, double, double, double, i32, ...) bitcast (i32 (...)* @SIM_power_horowitz to i32 (double, double, double, double, i32, ...)*)(double %4, double %15, double 4.370000e-01, double 4.370000e-01, i32 0)
%17 = sitofp i32 %16 to double
%18 = tail call i32 (double, double, ...) bitcast (i32 (...)* @SIM_power_gatecap to i32 (double, double, ...)*)(double 5.600000e+00, double 1.000000e+01)
%19 = tail call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 1.750000e+00, i32 0, i32 1)
%20 = add nsw i32 %19, %18
%21 = tail call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 0x3FF0CCCCCCCCCCCC, i32 1, i32 1)
%22 = add nsw i32 %20, %21
%23 = sitofp i32 %22 to double
%24 = tail call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_transreson to i32 (double, i32, i32, ...)*)(double 0x3FF0CCCCCCCCCCCC, i32 1, i32 1)
%25 = sitofp i32 %24 to double
%26 = fmul double %25, %23
%27 = tail call i32 (double, double, double, double, i32, ...) bitcast (i32 (...)* @SIM_power_horowitz to i32 (double, double, double, double, i32, ...)*)(double %4, double %26, double 4.370000e-01, double 4.370000e-01, i32 1)
%28 = fdiv double %17, 5.630000e-01
%29 = tail call i32 (double, double, ...) bitcast (i32 (...)* @SIM_power_gatecap to i32 (double, double, ...)*)(double 8.750000e+00, double 1.000000e+01)
%30 = tail call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 3.500000e+00, i32 0, i32 1)
%31 = add nsw i32 %30, %29
%32 = tail call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 0x4000CCCCCCCCCCCC, i32 1, i32 1)
%33 = add nsw i32 %31, %32
%34 = sitofp i32 %33 to double
%35 = tail call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_transreson to i32 (double, i32, i32, ...)*)(double 3.500000e+00, i32 0, i32 1)
%36 = sitofp i32 %35 to double
%37 = fmul double %36, %34
%38 = tail call i32 (double, double, double, double, i32, ...) bitcast (i32 (...)* @SIM_power_horowitz to i32 (double, double, double, double, i32, ...)*)(double %28, double %37, double 4.370000e-01, double 2.670000e-01, i32 0)
%39 = fdiv double %17, 2.670000e-01
%40 = sitofp i32 %0 to double
%41 = tail call i32 (double, ...) bitcast (i32 (...)* @logtwo to i32 (double, ...)*)(double %40)
%42 = sub nsw i32 64, %41
%43 = sitofp i32 %1 to double
%44 = tail call i32 (double, ...) bitcast (i32 (...)* @logtwo to i32 (double, ...)*)(double %43)
%45 = add nsw i32 %42, %44
%46 = mul i32 %3, %2
%47 = mul i32 %46, %45
%48 = tail call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_transreson to i32 (double, i32, i32, ...)*)(double 1.750000e+00, i32 1, i32 2)
%49 = sitofp i32 %48 to double
%50 = tail call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_transresswitch to i32 (double, i32, i32, ...)*)(double 7.000000e+00, i32 1, i32 1)
%51 = sitofp i32 %50 to double
%52 = tail call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 1.750000e+00, i32 1, i32 1)
%53 = tail call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 1.750000e+00, i32 1, i32 2)
%54 = add nsw i32 %53, %52
%55 = mul nsw i32 %54, %45
%56 = tail call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 1.750000e+00, i32 0, i32 1)
%57 = add nsw i32 %55, %56
%58 = tail call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 7.000000e+00, i32 1, i32 1)
%59 = add nsw i32 %57, %58
%60 = sitofp i32 %59 to double
%61 = tail call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 1.750000e+00, i32 1, i32 1)
%62 = tail call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 1.750000e+00, i32 1, i32 2)
%63 = add nsw i32 %62, %61
%64 = mul nsw i32 %63, %45
%65 = tail call i32 (double, i32, i32, ...) bitcast (i32 (...)* @SIM_power_draincap to i32 (double, i32, i32, ...)*)(double 2.625000e+00, i32 0, i32 1)
%66 = add nsw i32 %64, %65
%67 = tail call i32 (double, double, ...) bitcast (i32 (...)* @SIM_power_gatecap to i32 (double, double, ...)*)(double 7.000000e+00, double 2.000000e+01)
%68 = add nsw i32 %66, %67
%69 = sitofp i32 %68 to double
%70 = sitofp i32 %47 to double
%71 = tail call double @llvm.fmuladd.f64(double %70, double 0x3CE56091276E6568, double %69)
%72 = fadd double %49, %51
%73 = fmul double %72, %71
%74 = tail call double @llvm.fmuladd.f64(double %51, double %60, double %73)
%75 = fmul double %74, 0x3FEA7D84BD266091
%76 = fdiv double 0x3FFCCCCCCCCCCCCC, %39
%77 = fdiv double 0x3FE4C710CB295E9D, %76
%78 = fcmp ugt double %75, %77
br i1 %78, label %92, label %79
79: ; preds = %6
%80 = fmul double %75, -2.000000e+00
%81 = fdiv double 1.000000e+00, %76
%82 = fmul double %81, 0xBF954C985F06F6B0
%83 = fmul double %82, 0xBF954C985F06F6B0
%84 = tail call double @llvm.fmuladd.f64(double %80, double 0x3FF4C710CB295E9D, double %83)
%85 = fmul double %76, 4.000000e+00
%86 = fmul double %85, %84
%87 = fsub double 0x3F5C5A7EA6A4196E, %86
%88 = tail call double @sqrt(double %87)
%89 = fadd double %88, 0x3FA54C985F06F6B0
%90 = fmul double %76, 2.000000e+00
%91 = fdiv double %89, %90
br label %101
92: ; preds = %6
%93 = fmul double %76, 2.000000e+00
%94 = insertelement <2 x double> poison, double %93, i64 0
%95 = insertelement <2 x double> %94, double %76, i64 1
%96 = fdiv <2 x double> <double 2.301400e+00, double 0x3FDEC226809D4951>, %95
%97 = extractelement <2 x double> %96, i64 0
%98 = fadd double %97, %75
%99 = extractelement <2 x double> %96, i64 1
%100 = fsub double %98, %99
br label %101
101: ; preds = %92, %79
%102 = phi double [ %91, %79 ], [ %100, %92 ]
%103 = sitofp i32 %38 to double
%104 = sitofp i32 %27 to double
%105 = fdiv double %102, 5.630000e-01
store double %105, double* %5
%106 = fadd double %102, %17
%107 = fadd double %106, %104
%108 = fadd double %107, %103
ret double %108
}