#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int exp(double);
double const fabs(double);
double sqrt(double);
double Pelz(int n, double x) {
  const int JMAX = 20;
  const double EPS = 1.0e-10;
  const double C = 2.506628274631001;
  const double C2 = 1.2533141373155001;
  const double PI2 = 3.14159265358979323846 * 3.14159265358979323846;
  const double PI4 = PI2 * PI2;
  const double RACN = sqrt((double)n);
  const double z = RACN * x;
  const double z2 = z * z;
  const double z4 = z2 * z2;
  const double z6 = z4 * z2;
  const double w = PI2 / (2.0 * z * z);
  double ti, term, tom;
  double sum;
  int j;
  term = 1;
  j = 0;
  sum = 0;
  while (j <= JMAX && term > EPS * sum) {
    ti = j + 0.5;
    term = exp(-ti * ti * w);
    sum += term;
    j++;
  }
  sum *= C / z;
  term = 1;
  tom = 0;
  j = 0;
  while (j <= JMAX && fabs(term) > EPS * fabs(tom)) {
    ti = j + 0.5;
    term = (PI2 * ti * ti - z2) * exp(-ti * ti * w);
    tom += term;
    j++;
  }
  sum += tom * C2 / (RACN * 3.0 * z4);
  term = 1;
  tom = 0;
  j = 0;
  while (j <= JMAX && fabs(term) > EPS * fabs(tom)) {
    ti = j + 0.5;
    term = 6 * z6 + 2 * z4 + PI2 * (2 * z4 - 5 * z2) * ti * ti +
           PI4 * (1 - 2 * z2) * ti * ti * ti * ti;
    term *= exp(-ti * ti * w);
    tom += term;
    j++;
  }
  sum += tom * C2 / (n * 36.0 * z * z6);
  term = 1;
  tom = 0;
  j = 1;
  while (j <= JMAX && term > EPS * tom) {
    ti = j;
    term = PI2 * ti * ti * exp(-ti * ti * w);
    tom += term;
    j++;
  }
  sum -= tom * C2 / (n * 18.0 * z * z2);
  term = 1;
  tom = 0;
  j = 0;
  while (j <= JMAX && fabs(term) > EPS * fabs(tom)) {
    ti = j + 0.5;
    ti = ti * ti;
    term = -30 * z6 - 90 * z6 * z2 + PI2 * (135 * z4 - 96 * z6) * ti +
           PI4 * (212 * z4 - 60 * z2) * ti * ti +
           PI2 * PI4 * ti * ti * ti * (5 - 30 * z2);
    term *= exp(-ti * w);
    tom += term;
    j++;
  }
  sum += tom * C2 / (RACN * n * 3240.0 * z4 * z6);
  term = 1;
  tom = 0;
  j = 1;
  while (j <= JMAX && fabs(term) > EPS * fabs(tom)) {
    ti = j * j;
    term = (3 * PI2 * ti * z2 - PI4 * ti * ti) * exp(-ti * w);
    tom += term;
    j++;
  }
  sum += tom * C2 / (RACN * n * 108.0 * z6);
  return sum;
}


x86 assembly (clang, -O0):
<Pelz>:
push   %rbp
mov    %rsp,%rbp
sub    $0xf0,%rsp
mov    %edi,-0x4(%rbp)
movsd  %xmm0,-0x10(%rbp)
movl   $0x14,-0x14(%rbp)
movsd  0xede(%rip),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  0xec9(%rip),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xeb4(%rip),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  0xe8f(%rip),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  0xe92(%rip),%xmm0
movsd  %xmm0,-0x40(%rbp)
cvtsi2sdl -0x4(%rbp),%xmm0
call   1050 <sqrt@plt>
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
mulsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x50(%rbp),%xmm0
mulsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x60(%rbp),%xmm0
mulsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  0xe32(%rip),%xmm1
mulsd  -0x50(%rbp),%xmm1
mulsd  -0x50(%rbp),%xmm1
movsd  0xe18(%rip),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  0xdff(%rip),%xmm0
movsd  %xmm0,-0x80(%rbp)
movl   $0x0,-0x94(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
xor    %eax,%eax
cmpl   $0x14,-0x94(%rbp)
mov    %al,-0x95(%rbp)
jg     1252 <Pelz+0x122>
movsd  -0x80(%rbp),%xmm0
movsd  0xdf3(%rip),%xmm1
mulsd  -0x90(%rbp),%xmm1
ff
ucomisd %xmm1,%xmm0
seta   %al
mov    %al,-0x95(%rbp)
mov    -0x95(%rbp),%al
test   $0x1,%al
jne    1265 <Pelz+0x135>
jmp    12db <Pelz+0x1ab>
cvtsi2sdl -0x94(%rbp),%xmm0
ff
movsd  0xe33(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x78(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x78(%rbp),%xmm0
mulsd  -0x70(%rbp),%xmm0
call   1040 <exp@plt>
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x80(%rbp),%xmm0
addsd  -0x90(%rbp),%xmm0
ff
movsd  %xmm0,-0x90(%rbp)
ff
mov    -0x94(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x94(%rbp)
jmp    121b <Pelz+0xeb>
movsd  0xd45(%rip),%xmm0
divsd  -0x50(%rbp),%xmm0
mulsd  -0x90(%rbp),%xmm0
ff
movsd  %xmm0,-0x90(%rbp)
ff
movsd  0xd00(%rip),%xmm0
movsd  %xmm0,-0x80(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movl   $0x0,-0x94(%rbp)
xor    %eax,%eax
cmpl   $0x14,-0x94(%rbp)
mov    %al,-0x96(%rbp)
jg     1372 <Pelz+0x242>
movsd  -0x80(%rbp),%xmm0
call   1030 <fabs@plt>
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x88(%rbp),%xmm0
ff
call   1030 <fabs@plt>
movaps %xmm0,%xmm2
movsd  -0xa0(%rbp),%xmm0
ff
movsd  0xccf(%rip),%xmm1
mulsd  %xmm2,%xmm1
ucomisd %xmm1,%xmm0
seta   %al
mov    %al,-0x96(%rbp)
mov    -0x96(%rbp),%al
test   $0x1,%al
jne    1385 <Pelz+0x255>
jmp    1445 <Pelz+0x315>
cvtsi2sdl -0x94(%rbp),%xmm0
ff
movsd  0xd13(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  0xc62(%rip),%xmm0
mulsd  -0x78(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x58(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x78(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x78(%rbp),%xmm0
mulsd  -0x70(%rbp),%xmm0
call   1040 <exp@plt>
movsd  -0xa8(%rbp),%xmm0
ff
cvtsi2sd %eax,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x80(%rbp),%xmm0
addsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x94(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x94(%rbp)
jmp    131a <Pelz+0x1ea>
movsd  0xbd3(%rip),%xmm0
mulsd  -0x88(%rbp),%xmm0
ff
movsd  0xbdb(%rip),%xmm1
mulsd  -0x48(%rbp),%xmm1
mulsd  -0x60(%rbp),%xmm1
divsd  %xmm1,%xmm0
addsd  -0x90(%rbp),%xmm0
ff
movsd  %xmm0,-0x90(%rbp)
ff
movsd  0xb7d(%rip),%xmm0
movsd  %xmm0,-0x80(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movl   $0x0,-0x94(%rbp)
xor    %eax,%eax
cmpl   $0x14,-0x94(%rbp)
mov    %al,-0xa9(%rbp)
jg     14f5 <Pelz+0x3c5>
movsd  -0x80(%rbp),%xmm0
call   1030 <fabs@plt>
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0x88(%rbp),%xmm0
ff
call   1030 <fabs@plt>
movaps %xmm0,%xmm2
movsd  -0xb8(%rbp),%xmm0
ff
movsd  0xb4c(%rip),%xmm1
mulsd  %xmm2,%xmm1
ucomisd %xmm1,%xmm0
seta   %al
mov    %al,-0xa9(%rbp)
mov    -0xa9(%rbp),%al
test   $0x1,%al
jne    1508 <Pelz+0x3d8>
jmp    1636 <Pelz+0x506>
cvtsi2sdl -0x94(%rbp),%xmm0
ff
movsd  0xb90(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x68(%rbp),%xmm0
movsd  0xae2(%rip),%xmm1
mulsd  -0x60(%rbp),%xmm1
movsd  0xb75(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  0xb20(%rip),%xmm1
mulsd  -0x58(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
addsd  %xmm2,%xmm2
addsd  %xmm1,%xmm2
movsd  0xa8c(%rip),%xmm1
mulsd  %xmm2,%xmm1
mulsd  -0x78(%rbp),%xmm1
movsd  -0x78(%rbp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x58(%rbp),%xmm0
addsd  %xmm0,%xmm0
movsd  0xa5d(%rip),%xmm2
subsd  %xmm0,%xmm2
movsd  0xa69(%rip),%xmm0
mulsd  %xmm2,%xmm0
mulsd  -0x78(%rbp),%xmm0
mulsd  -0x78(%rbp),%xmm0
mulsd  -0x78(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x78(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x78(%rbp),%xmm0
mulsd  -0x70(%rbp),%xmm0
call   1040 <exp@plt>
cvtsi2sd %eax,%xmm0
mulsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x80(%rbp),%xmm0
addsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x94(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x94(%rbp)
jmp    149d <Pelz+0x36d>
movsd  0x9e2(%rip),%xmm0
mulsd  -0x88(%rbp),%xmm0
ff
cvtsi2sdl -0x4(%rbp),%xmm1
movsd  0x9ed(%rip),%xmm2
mulsd  %xmm2,%xmm1
mulsd  -0x50(%rbp),%xmm1
mulsd  -0x68(%rbp),%xmm1
divsd  %xmm1,%xmm0
addsd  -0x90(%rbp),%xmm0
ff
movsd  %xmm0,-0x90(%rbp)
ff
movsd  0x983(%rip),%xmm0
movsd  %xmm0,-0x80(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movl   $0x1,-0x94(%rbp)
xor    %eax,%eax
cmpl   $0x14,-0x94(%rbp)
mov    %al,-0xb9(%rbp)
jg     16ce <Pelz+0x59e>
movsd  -0x80(%rbp),%xmm0
movsd  0x977(%rip),%xmm1
mulsd  -0x88(%rbp),%xmm1
ff
ucomisd %xmm1,%xmm0
seta   %al
mov    %al,-0xb9(%rbp)
mov    -0xb9(%rbp),%al
test   $0x1,%al
jne    16e1 <Pelz+0x5b1>
jmp    1771 <Pelz+0x641>
cvtsi2sdl -0x94(%rbp),%xmm0
ff
movsd  %xmm0,-0x78(%rbp)
movsd  0x912(%rip),%xmm0
mulsd  -0x78(%rbp),%xmm0
mulsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0x78(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x78(%rbp),%xmm0
mulsd  -0x70(%rbp),%xmm0
call   1040 <exp@plt>
movsd  -0xc8(%rbp),%xmm0
ff
cvtsi2sd %eax,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x80(%rbp),%xmm0
addsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x94(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x94(%rbp)
jmp    1697 <Pelz+0x567>
movsd  0x8a7(%rip),%xmm1
mulsd  -0x88(%rbp),%xmm1
ff
cvtsi2sdl -0x4(%rbp),%xmm0
movsd  0x8ba(%rip),%xmm2
mulsd  %xmm2,%xmm0
mulsd  -0x50(%rbp),%xmm0
mulsd  -0x58(%rbp),%xmm0
divsd  %xmm0,%xmm1
movsd  -0x90(%rbp),%xmm0
ff
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  0x844(%rip),%xmm0
movsd  %xmm0,-0x80(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movl   $0x0,-0x94(%rbp)
xor    %eax,%eax
cmpl   $0x14,-0x94(%rbp)
mov    %al,-0xc9(%rbp)
jg     182e <Pelz+0x6fe>
movsd  -0x80(%rbp),%xmm0
call   1030 <fabs@plt>
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0x88(%rbp),%xmm0
ff
call   1030 <fabs@plt>
movaps %xmm0,%xmm2
movsd  -0xd8(%rbp),%xmm0
ff
movsd  0x813(%rip),%xmm1
mulsd  %xmm2,%xmm1
ucomisd %xmm1,%xmm0
seta   %al
mov    %al,-0xc9(%rbp)
mov    -0xc9(%rbp),%al
test   $0x1,%al
jne    1841 <Pelz+0x711>
jmp    19ee <Pelz+0x8be>
cvtsi2sdl -0x94(%rbp),%xmm0
ff
movsd  0x857(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x78(%rbp),%xmm0
mulsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x68(%rbp),%xmm1
movsd  0x82a(%rip),%xmm0
mulsd  -0x68(%rbp),%xmm0
mulsd  -0x58(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  0x7c9(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x60(%rbp),%xmm2
movsd  0x7e4(%rip),%xmm0
mulsd  -0x68(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  0x7b8(%rip),%xmm3
mulsd  %xmm3,%xmm2
addsd  %xmm0,%xmm2
movsd  0x720(%rip),%xmm0
mulsd  %xmm2,%xmm0
movsd  -0x78(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  0x782(%rip),%xmm1
mulsd  -0x58(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0x756(%rip),%xmm3
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  0x6de(%rip),%xmm1
mulsd  %xmm2,%xmm1
mulsd  -0x78(%rbp),%xmm1
movsd  -0x78(%rbp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0x720(%rip),%xmm0
mulsd  -0x78(%rbp),%xmm0
mulsd  -0x78(%rbp),%xmm0
mulsd  -0x78(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  0x6f4(%rip),%xmm3
mulsd  %xmm3,%xmm2
movsd  0x6f0(%rip),%xmm3
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x78(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x70(%rbp),%xmm0
call   1040 <exp@plt>
cvtsi2sd %eax,%xmm0
mulsd  -0x80(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x80(%rbp),%xmm0
addsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x94(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x94(%rbp)
jmp    17d6 <Pelz+0x6a6>
movsd  0x62a(%rip),%xmm0
mulsd  -0x88(%rbp),%xmm0
ff
movsd  -0x48(%rbp),%xmm1
cvtsi2sdl -0x4(%rbp),%xmm2
mulsd  %xmm2,%xmm1
movsd  0x63c(%rip),%xmm2
mulsd  %xmm2,%xmm1
mulsd  -0x60(%rbp),%xmm1
mulsd  -0x68(%rbp),%xmm1
divsd  %xmm1,%xmm0
addsd  -0x90(%rbp),%xmm0
ff
movsd  %xmm0,-0x90(%rbp)
ff
movsd  0x5c2(%rip),%xmm0
movsd  %xmm0,-0x80(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movl   $0x1,-0x94(%rbp)
xor    %eax,%eax
cmpl   $0x14,-0x94(%rbp)
mov    %al,-0xd9(%rbp)
jg     1ab0 <Pelz+0x980>
movsd  -0x80(%rbp),%xmm0
call   1030 <fabs@plt>
movsd  %xmm0,-0xe8(%rbp)
ff
movsd  -0x88(%rbp),%xmm0
ff
call   1030 <fabs@plt>
movaps %xmm0,%xmm2
movsd  -0xe8(%rbp),%xmm0
ff
movsd  0x591(%rip),%xmm1
mulsd  %xmm2,%xmm1
ucomisd %xmm1,%xmm0
seta   %al
mov    %al,-0xd9(%rbp)
mov    -0xd9(%rbp),%al
test   $0x1,%al
jne    1ac3 <Pelz+0x993>
jmp    1b88 <Pelz+0xa58>
mov    -0x94(%rbp),%eax
imul   -0x94(%rbp),%eax
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  0x57f(%rip),%xmm0
mulsd  -0x78(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  0x525(%rip),%xmm1
mulsd  -0x78(%rbp),%xmm1
mulsd  -0x78(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xf0(%rbp)
ff
movsd  -0x78(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x70(%rbp),%xmm0
call   1040 <exp@plt>
movsd  -0xf0(%rbp),%xmm0
ff
cvtsi2sd %eax,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x80(%rbp),%xmm0
addsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x94(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x94(%rbp)
jmp    1a58 <Pelz+0x928>
movsd  0x490(%rip),%xmm0
mulsd  -0x88(%rbp),%xmm0
ff
movsd  -0x48(%rbp),%xmm1
cvtsi2sdl -0x4(%rbp),%xmm2
mulsd  %xmm2,%xmm1
movsd  0x4aa(%rip),%xmm2
mulsd  %xmm2,%xmm1
mulsd  -0x68(%rbp),%xmm1
divsd  %xmm1,%xmm0
addsd  -0x90(%rbp),%xmm0
ff
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x90(%rbp),%xmm0
ff
add    $0xf0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Pelz>:
push   %rbx
sub    $0x100,%rsp
cvtsi2sd %edi,%xmm2
movapd %xmm0,%xmm1
movapd %xmm2,%xmm0
xorpd  %xmm3,%xmm3
xorpd  %xmm2,%xmm2
movsd  %xmm2,0x38(%rsp)
ucomisd %xmm3,%xmm0
movapd %xmm0,0xf0(%rsp)
jb     1157 <Pelz+0x37>
sqrtsd %xmm0,%xmm0
jmp    116e <Pelz+0x4e>
movapd %xmm1,0x80(%rsp)
call   1040 <sqrt@plt>
movapd 0x80(%rsp),%xmm1
movapd %xmm0,0xe0(%rsp)
mulsd  %xmm0,%xmm1
movapd %xmm1,%xmm0
mulsd  %xmm1,%xmm0
movapd %xmm0,0x40(%rsp)
mulsd  %xmm0,%xmm0
movapd %xmm0,0x70(%rsp)
movapd %xmm1,%xmm0
addsd  %xmm1,%xmm0
movapd %xmm1,0x80(%rsp)
mulsd  %xmm1,%xmm0
movsd  0xe50(%rip),%xmm1
divsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rsp)
xor    %ebx,%ebx
nopl   0x0(%rax)
xorps  %xmm1,%xmm1
cvtsi2sd %ebx,%xmm1
addsd  0xe39(%rip),%xmm1
movapd %xmm1,%xmm0
xorpd  0xec5(%rip),%xmm0
mulsd  %xmm1,%xmm0
mulsd  0x8(%rsp),%xmm0
call   1030 <exp@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  0x38(%rsp),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x38(%rsp)
mulsd  0xe07(%rip),%xmm1
cmp    $0x13,%ebx
ja     1217 <Pelz+0xf7>
add    $0x1,%ebx
ucomisd %xmm1,%xmm0
ja     11c0 <Pelz+0xa0>
movapd 0x40(%rsp),%xmm0
movapd %xmm0,%xmm1
mulsd  0x70(%rsp),%xmm1
movapd %xmm1,0x90(%rsp)
movapd 0xe68(%rip),%xmm1
xorpd  %xmm0,%xmm1
movapd %xmm1,0x10(%rsp)
movsd  0xdce(%rip),%xmm0
xorpd  %xmm1,%xmm1
xor    %ebx,%ebx
movapd 0xe58(%rip),%xmm2
andpd  %xmm2,%xmm0
movapd %xmm1,%xmm3
andpd  %xmm2,%xmm1
mulsd  0xda4(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    12e9 <Pelz+0x1c9>
xorps  %xmm1,%xmm1
cvtsi2sd %ebx,%xmm1
addsd  0xd87(%rip),%xmm1
movapd %xmm1,%xmm0
mulsd  0xd73(%rip),%xmm0
mulsd  %xmm1,%xmm0
addsd  0x10(%rsp),%xmm0
movapd %xmm0,0x20(%rsp)
movapd %xmm1,%xmm0
xorpd  0xdf7(%rip),%xmm0
mulsd  %xmm1,%xmm0
mulsd  0x8(%rsp),%xmm0
movapd %xmm3,0xc0(%rsp)
call   1030 <exp@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x20(%rsp),%xmm0
movapd 0xc0(%rsp),%xmm1
addsd  %xmm0,%xmm1
add    $0x1,%ebx
cmp    $0x15,%ebx
jne    1250 <Pelz+0x130>
jmp    12ed <Pelz+0x1cd>
movapd %xmm3,%xmm1
movapd %xmm1,0xc0(%rsp)
movapd 0x70(%rsp),%xmm0
addsd  %xmm0,%xmm0
movsd  0xd18(%rip),%xmm2
mulsd  0x90(%rsp),%xmm2
movsd  0xd0f(%rip),%xmm3
movapd 0x40(%rsp),%xmm1
mulsd  %xmm1,%xmm3
addsd  %xmm0,%xmm3
mulsd  0xcd1(%rip),%xmm3
movsd  %xmm3,0x60(%rsp)
addsd  %xmm0,%xmm2
movsd  %xmm2,0x10(%rsp)
addsd  %xmm1,%xmm1
movsd  0xccd(%rip),%xmm0
movapd %xmm0,%xmm2
subsd  %xmm1,%xmm2
mulsd  0xcd5(%rip),%xmm2
movsd  %xmm2,0x50(%rsp)
xorpd  %xmm3,%xmm3
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
movapd 0xd38(%rip),%xmm2
andpd  %xmm2,%xmm0
movapd %xmm3,%xmm1
andpd  %xmm2,%xmm1
mulsd  0xc84(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1423 <Pelz+0x303>
xorps  %xmm1,%xmm1
cvtsi2sd %ebx,%xmm1
addsd  0xc63(%rip),%xmm1
movsd  0x60(%rsp),%xmm0
mulsd  %xmm1,%xmm0
mulsd  %xmm1,%xmm0
addsd  0x10(%rsp),%xmm0
movsd  0x50(%rsp),%xmm2
mulsd  %xmm1,%xmm2
mulsd  %xmm1,%xmm2
mulsd  %xmm1,%xmm2
mulsd  %xmm1,%xmm2
addsd  %xmm0,%xmm2
movsd  %xmm2,0x20(%rsp)
movapd %xmm1,%xmm0
xorpd  0xcbb(%rip),%xmm0
mulsd  %xmm1,%xmm0
mulsd  0x8(%rsp),%xmm0
movapd %xmm3,0xb0(%rsp)
call   1030 <exp@plt>
movapd 0xb0(%rsp),%xmm3
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x20(%rsp),%xmm0
addsd  %xmm0,%xmm3
add    $0x1,%ebx
cmp    $0x15,%ebx
jne    1370 <Pelz+0x250>
movapd %xmm3,0xb0(%rsp)
xorpd  %xmm0,%xmm0
movapd %xmm0,0x20(%rsp)
mov    $0x1,%ebx
nopl   0x0(%rax,%rax,1)
xorps  %xmm1,%xmm1
cvtsi2sd %ebx,%xmm1
movapd %xmm1,%xmm0
mulsd  0xbad(%rip),%xmm0
mulsd  %xmm1,%xmm0
movapd %xmm0,0x10(%rsp)
movapd %xmm1,%xmm0
xorpd  0xc37(%rip),%xmm0
mulsd  %xmm1,%xmm0
mulsd  0x8(%rsp),%xmm0
call   1030 <exp@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x10(%rsp),%xmm0
movapd 0x20(%rsp),%xmm1
addsd  %xmm0,%xmm1
movapd %xmm1,0x20(%rsp)
mulsd  0xb73(%rip),%xmm1
cmp    $0x13,%ebx
ja     14ab <Pelz+0x38b>
add    $0x1,%ebx
ucomisd %xmm1,%xmm0
ja     1440 <Pelz+0x320>
movsd  0xb85(%rip),%xmm0
movapd 0x90(%rsp),%xmm2
mulsd  %xmm2,%xmm0
movapd 0x40(%rsp),%xmm3
mulsd  %xmm3,%xmm0
movsd  0xb6e(%rip),%xmm4
movapd %xmm2,%xmm5
movsd  0xb6a(%rip),%xmm1
mulsd  %xmm2,%xmm1
movsd  0xb66(%rip),%xmm6
movapd 0x70(%rsp),%xmm2
mulsd  %xmm2,%xmm6
addsd  %xmm1,%xmm6
mulsd  0xb00(%rip),%xmm6
movsd  %xmm6,0xd8(%rsp)
mulsd  %xmm4,%xmm5
movsd  0xb43(%rip),%xmm1
mulsd  %xmm3,%xmm1
movsd  0xb3f(%rip),%xmm6
mulsd  %xmm2,%xmm6
addsd  %xmm1,%xmm6
mulsd  0xaff(%rip),%xmm6
movsd  %xmm6,0xd0(%rsp)
addsd  %xmm0,%xmm5
movapd %xmm5,0xa0(%rsp)
mulsd  %xmm3,%xmm4
addsd  0xb15(%rip),%xmm4
movsd  %xmm4,0x50(%rsp)
movsd  0xab7(%rip),%xmm0
xorpd  %xmm7,%xmm7
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
movapd 0xb38(%rip),%xmm2
andpd  %xmm2,%xmm0
movapd %xmm7,%xmm1
andpd  %xmm2,%xmm1
mulsd  0xa84(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1634 <Pelz+0x514>
xorps  %xmm0,%xmm0
cvtsi2sd %ebx,%xmm0
addsd  0xa63(%rip),%xmm0
mulsd  %xmm0,%xmm0
movsd  0xd8(%rsp),%xmm1
mulsd  %xmm0,%xmm1
addsd  0xa0(%rsp),%xmm1
movsd  0xd0(%rsp),%xmm2
mulsd  %xmm0,%xmm2
mulsd  %xmm0,%xmm2
addsd  %xmm1,%xmm2
movapd %xmm0,%xmm1
mulsd  0xa90(%rip),%xmm1
mulsd  %xmm0,%xmm1
mulsd  %xmm0,%xmm1
mulsd  0x50(%rsp),%xmm1
addsd  %xmm2,%xmm1
movapd %xmm1,0x60(%rsp)
xorpd  0xaa0(%rip),%xmm0
mulsd  0x8(%rsp),%xmm0
movapd %xmm7,0x10(%rsp)
call   1030 <exp@plt>
movapd 0x10(%rsp),%xmm7
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x60(%rsp),%xmm0
addsd  %xmm0,%xmm7
add    $0x1,%ebx
cmp    $0x15,%ebx
jne    1570 <Pelz+0x450>
movapd 0xe0(%rsp),%xmm0
mulsd  0xf0(%rsp),%xmm0
movapd %xmm0,0xa0(%rsp)
movsd  0x9c1(%rip),%xmm0
xorpd  %xmm3,%xmm3
mov    $0x1,%ebx
movapd %xmm7,0x10(%rsp)
cs nopw 0x0(%rax,%rax,1)
movapd 0xa38(%rip),%xmm2
andpd  %xmm2,%xmm0
movapd %xmm3,%xmm1
andpd  %xmm2,%xmm1
mulsd  0x984(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    170c <Pelz+0x5ec>
mov    %ebx,%eax
imul   %ebx,%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movapd %xmm0,%xmm2
mulsd  0x9ce(%rip),%xmm2
movapd %xmm0,%xmm1
mulsd  0x9ca(%rip),%xmm1
mulsd  %xmm0,%xmm1
mulsd  0x40(%rsp),%xmm2
addsd  %xmm1,%xmm2
movapd %xmm2,0x50(%rsp)
xorpd  0x9ce(%rip),%xmm0
mulsd  0x8(%rsp),%xmm0
movapd %xmm3,0x60(%rsp)
call   1030 <exp@plt>
movapd 0x60(%rsp),%xmm3
movapd 0x10(%rsp),%xmm7
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0x50(%rsp),%xmm0
addsd  %xmm0,%xmm3
add    $0x1,%ebx
cmp    $0x15,%ebx
jne    1670 <Pelz+0x550>
movapd 0xc0(%rsp),%xmm1
mulsd  0x96b(%rip),%xmm1
movapd 0xe0(%rsp),%xmm2
mulsd  0x962(%rip),%xmm2
unpcklpd %xmm3,%xmm7
movapd 0x70(%rsp),%xmm3
mulsd  %xmm3,%xmm2
movapd 0x97c(%rip),%xmm0
unpcklpd %xmm1,%xmm0
movapd 0x80(%rsp),%xmm4
movapd %xmm4,%xmm1
unpcklpd %xmm2,%xmm1
divpd  %xmm1,%xmm0
movsd  0x38(%rsp),%xmm1
mulsd  %xmm0,%xmm1
unpckhpd %xmm0,%xmm0
addsd  %xmm1,%xmm0
movapd 0xb0(%rsp),%xmm6
unpcklpd 0x20(%rsp),%xmm6
movapd 0x94a(%rip),%xmm1
mulpd  %xmm1,%xmm6
movapd 0xf0(%rsp),%xmm2
unpcklpd %xmm2,%xmm2
mulpd  0x941(%rip),%xmm2
unpcklpd %xmm4,%xmm4
mulpd  %xmm2,%xmm4
movapd 0x90(%rsp),%xmm5
movapd %xmm5,%xmm2
unpcklpd 0x40(%rsp),%xmm2
mulpd  %xmm4,%xmm2
divpd  %xmm2,%xmm6
addsd  %xmm6,%xmm0
unpckhpd %xmm6,%xmm6
subsd  %xmm6,%xmm0
movsd  0x8c2(%rip),%xmm2
movapd 0xa0(%rsp),%xmm4
mulsd  %xmm4,%xmm2
mulpd  %xmm1,%xmm7
shufpd $0x2,0x900(%rip),%xmm3
unpcklpd %xmm4,%xmm2
mulpd  %xmm2,%xmm3
unpcklpd %xmm5,%xmm5
mulpd  %xmm3,%xmm5
divpd  %xmm5,%xmm7
addsd  %xmm7,%xmm0
unpckhpd %xmm7,%xmm7
addsd  %xmm0,%xmm7
movapd %xmm7,%xmm0
add    $0x100,%rsp
pop    %rbx
ret

LLVM IR (-O0):
define double @Pelz(i32 %0, double %1) {
%3 = alloca i32
%4 = alloca double
%5 = alloca i32
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
%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 i32
store i32 %0, i32* %3
store double %1, double* %4
store i32 20, i32* %5
store double 1.000000e-10, double* %6
store double 0x40040D931FF62707, double* %7
store double 0x3FF40D931FF62705, double* %8
store double 0x4023BD3CC9BE45DE, double* %9
store double 0x40585A2E8C290825, double* %10
%22 = load i32, i32* %3
%23 = sitofp i32 %22 to double
%24 = call double @sqrt(double %23)
store double %24, double* %11
%25 = load double, double* %11
%26 = load double, double* %4
%27 = fmul double %25, %26
store double %27, double* %12
%28 = load double, double* %12
%29 = load double, double* %12
%30 = fmul double %28, %29
store double %30, double* %13
%31 = load double, double* %13
%32 = load double, double* %13
%33 = fmul double %31, %32
store double %33, double* %14
%34 = load double, double* %14
%35 = load double, double* %13
%36 = fmul double %34, %35
store double %36, double* %15
%37 = load double, double* %12
%38 = fmul double 2.000000e+00, %37
%39 = load double, double* %12
%40 = fmul double %38, %39
%41 = fdiv double 0x4023BD3CC9BE45DE, %40
store double %41, double* %16
store double 1.000000e+00, double* %18
store i32 0, i32* %21
store double 0.000000e+00, double* %20
br label %42
42: ; preds = %52, %2
%43 = load i32, i32* %21
%44 = icmp sle i32 %43, 20
br i1 %44, label %45, label %50
45: ; preds = %42
%46 = load double, double* %18
%47 = load double, double* %20
%48 = fmul double 1.000000e-10, %47
%49 = fcmp ogt double %46, %48
br label %50
50: ; preds = %45, %42
%51 = phi i1 [ false, %42 ], [ %49, %45 ]
br i1 %51, label %52, label %69
52: ; preds = %50
%53 = load i32, i32* %21
%54 = sitofp i32 %53 to double
%55 = fadd double %54, 5.000000e-01
store double %55, double* %17
%56 = load double, double* %17
%57 = fneg double %56
%58 = load double, double* %17
%59 = fmul double %57, %58
%60 = load double, double* %16
%61 = fmul double %59, %60
%62 = call i32 @exp(double %61)
%63 = sitofp i32 %62 to double
store double %63, double* %18
%64 = load double, double* %18
%65 = load double, double* %20
%66 = fadd double %65, %64
store double %66, double* %20
%67 = load i32, i32* %21
%68 = add nsw i32 %67, 1
store i32 %68, i32* %21
br label %42
69: ; preds = %50
%70 = load double, double* %12
%71 = fdiv double 0x40040D931FF62707, %70
%72 = load double, double* %20
%73 = fmul double %72, %71
store double %73, double* %20
store double 1.000000e+00, double* %18
store double 0.000000e+00, double* %19
store i32 0, i32* %21
br label %74
74: ; preds = %86, %69
%75 = load i32, i32* %21
%76 = icmp sle i32 %75, 20
br i1 %76, label %77, label %84
77: ; preds = %74
%78 = load double, double* %18
%79 = call double @fabs(double %78)
%80 = load double, double* %19
%81 = call double @fabs(double %80)
%82 = fmul double 1.000000e-10, %81
%83 = fcmp ogt double %79, %82
br label %84
84: ; preds = %77, %74
%85 = phi i1 [ false, %74 ], [ %83, %77 ]
br i1 %85, label %86, label %110
86: ; preds = %84
%87 = load i32, i32* %21
%88 = sitofp i32 %87 to double
%89 = fadd double %88, 5.000000e-01
store double %89, double* %17
%90 = load double, double* %17
%91 = fmul double 0x4023BD3CC9BE45DE, %90
%92 = load double, double* %17
%93 = load double, double* %13
%94 = fneg double %93
%95 = call double @llvm.fmuladd.f64(double %91, double %92, double %94)
%96 = load double, double* %17
%97 = fneg double %96
%98 = load double, double* %17
%99 = fmul double %97, %98
%100 = load double, double* %16
%101 = fmul double %99, %100
%102 = call i32 @exp(double %101)
%103 = sitofp i32 %102 to double
%104 = fmul double %95, %103
store double %104, double* %18
%105 = load double, double* %18
%106 = load double, double* %19
%107 = fadd double %106, %105
store double %107, double* %19
%108 = load i32, i32* %21
%109 = add nsw i32 %108, 1
store i32 %109, i32* %21
br label %74
110: ; preds = %84
%111 = load double, double* %19
%112 = fmul double %111, 0x3FF40D931FF62705
%113 = load double, double* %11
%114 = fmul double %113, 3.000000e+00
%115 = load double, double* %14
%116 = fmul double %114, %115
%117 = fdiv double %112, %116
%118 = load double, double* %20
%119 = fadd double %118, %117
store double %119, double* %20
store double 1.000000e+00, double* %18
store double 0.000000e+00, double* %19
store i32 0, i32* %21
br label %120
120: ; preds = %132, %110
%121 = load i32, i32* %21
%122 = icmp sle i32 %121, 20
br i1 %122, label %123, label %130
123: ; preds = %120
%124 = load double, double* %18
%125 = call double @fabs(double %124)
%126 = load double, double* %19
%127 = call double @fabs(double %126)
%128 = fmul double 1.000000e-10, %127
%129 = fcmp ogt double %125, %128
br label %130
130: ; preds = %123, %120
%131 = phi i1 [ false, %120 ], [ %129, %123 ]
br i1 %131, label %132, label %176
132: ; preds = %130
%133 = load i32, i32* %21
%134 = sitofp i32 %133 to double
%135 = fadd double %134, 5.000000e-01
store double %135, double* %17
%136 = load double, double* %15
%137 = load double, double* %14
%138 = fmul double 2.000000e+00, %137
%139 = call double @llvm.fmuladd.f64(double 6.000000e+00, double %136, double %138)
%140 = load double, double* %14
%141 = load double, double* %13
%142 = fmul double 5.000000e+00, %141
%143 = fneg double %142
%144 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %140, double %143)
%145 = fmul double 0x4023BD3CC9BE45DE, %144
%146 = load double, double* %17
%147 = fmul double %145, %146
%148 = load double, double* %17
%149 = call double @llvm.fmuladd.f64(double %147, double %148, double %139)
%150 = load double, double* %13
%151 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %150, double 1.000000e+00)
%152 = fmul double 0x40585A2E8C290825, %151
%153 = load double, double* %17
%154 = fmul double %152, %153
%155 = load double, double* %17
%156 = fmul double %154, %155
%157 = load double, double* %17
%158 = fmul double %156, %157
%159 = load double, double* %17
%160 = call double @llvm.fmuladd.f64(double %158, double %159, double %149)
store double %160, double* %18
%161 = load double, double* %17
%162 = fneg double %161
%163 = load double, double* %17
%164 = fmul double %162, %163
%165 = load double, double* %16
%166 = fmul double %164, %165
%167 = call i32 @exp(double %166)
%168 = sitofp i32 %167 to double
%169 = load double, double* %18
%170 = fmul double %169, %168
store double %170, double* %18
%171 = load double, double* %18
%172 = load double, double* %19
%173 = fadd double %172, %171
store double %173, double* %19
%174 = load i32, i32* %21
%175 = add nsw i32 %174, 1
store i32 %175, i32* %21
br label %120
176: ; preds = %130
%177 = load double, double* %19
%178 = fmul double %177, 0x3FF40D931FF62705
%179 = load i32, i32* %3
%180 = sitofp i32 %179 to double
%181 = fmul double %180, 3.600000e+01
%182 = load double, double* %12
%183 = fmul double %181, %182
%184 = load double, double* %15
%185 = fmul double %183, %184
%186 = fdiv double %178, %185
%187 = load double, double* %20
%188 = fadd double %187, %186
store double %188, double* %20
store double 1.000000e+00, double* %18
store double 0.000000e+00, double* %19
store i32 1, i32* %21
br label %189
189: ; preds = %199, %176
%190 = load i32, i32* %21
%191 = icmp sle i32 %190, 20
br i1 %191, label %192, label %197
192: ; preds = %189
%193 = load double, double* %18
%194 = load double, double* %19
%195 = fmul double 1.000000e-10, %194
%196 = fcmp ogt double %193, %195
br label %197
197: ; preds = %192, %189
%198 = phi i1 [ false, %189 ], [ %196, %192 ]
br i1 %198, label %199, label %220
199: ; preds = %197
%200 = load i32, i32* %21
%201 = sitofp i32 %200 to double
store double %201, double* %17
%202 = load double, double* %17
%203 = fmul double 0x4023BD3CC9BE45DE, %202
%204 = load double, double* %17
%205 = fmul double %203, %204
%206 = load double, double* %17
%207 = fneg double %206
%208 = load double, double* %17
%209 = fmul double %207, %208
%210 = load double, double* %16
%211 = fmul double %209, %210
%212 = call i32 @exp(double %211)
%213 = sitofp i32 %212 to double
%214 = fmul double %205, %213
store double %214, double* %18
%215 = load double, double* %18
%216 = load double, double* %19
%217 = fadd double %216, %215
store double %217, double* %19
%218 = load i32, i32* %21
%219 = add nsw i32 %218, 1
store i32 %219, i32* %21
br label %189
220: ; preds = %197
%221 = load double, double* %19
%222 = fmul double %221, 0x3FF40D931FF62705
%223 = load i32, i32* %3
%224 = sitofp i32 %223 to double
%225 = fmul double %224, 1.800000e+01
%226 = load double, double* %12
%227 = fmul double %225, %226
%228 = load double, double* %13
%229 = fmul double %227, %228
%230 = fdiv double %222, %229
%231 = load double, double* %20
%232 = fsub double %231, %230
store double %232, double* %20
store double 1.000000e+00, double* %18
store double 0.000000e+00, double* %19
store i32 0, i32* %21
br label %233
233: ; preds = %245, %220
%234 = load i32, i32* %21
%235 = icmp sle i32 %234, 20
br i1 %235, label %236, label %243
236: ; preds = %233
%237 = load double, double* %18
%238 = call double @fabs(double %237)
%239 = load double, double* %19
%240 = call double @fabs(double %239)
%241 = fmul double 1.000000e-10, %240
%242 = fcmp ogt double %238, %241
br label %243
243: ; preds = %236, %233
%244 = phi i1 [ false, %233 ], [ %242, %236 ]
br i1 %244, label %245, label %299
245: ; preds = %243
%246 = load i32, i32* %21
%247 = sitofp i32 %246 to double
%248 = fadd double %247, 5.000000e-01
store double %248, double* %17
%249 = load double, double* %17
%250 = load double, double* %17
%251 = fmul double %249, %250
store double %251, double* %17
%252 = load double, double* %15
%253 = load double, double* %15
%254 = fmul double 9.000000e+01, %253
%255 = load double, double* %13
%256 = fmul double %254, %255
%257 = fneg double %256
%258 = call double @llvm.fmuladd.f64(double -3.000000e+01, double %252, double %257)
%259 = load double, double* %14
%260 = load double, double* %15
%261 = fmul double 9.600000e+01, %260
%262 = fneg double %261
%263 = call double @llvm.fmuladd.f64(double 1.350000e+02, double %259, double %262)
%264 = fmul double 0x4023BD3CC9BE45DE, %263
%265 = load double, double* %17
%266 = call double @llvm.fmuladd.f64(double %264, double %265, double %258)
%267 = load double, double* %14
%268 = load double, double* %13
%269 = fmul double 6.000000e+01, %268
%270 = fneg double %269
%271 = call double @llvm.fmuladd.f64(double 2.120000e+02, double %267, double %270)
%272 = fmul double 0x40585A2E8C290825, %271
%273 = load double, double* %17
%274 = fmul double %272, %273
%275 = load double, double* %17
%276 = call double @llvm.fmuladd.f64(double %274, double %275, double %266)
%277 = load double, double* %17
%278 = fmul double 0x408E0B1D11856DF6, %277
%279 = load double, double* %17
%280 = fmul double %278, %279
%281 = load double, double* %17
%282 = fmul double %280, %281
%283 = load double, double* %13
%284 = call double @llvm.fmuladd.f64(double -3.000000e+01, double %283, double 5.000000e+00)
%285 = call double @llvm.fmuladd.f64(double %282, double %284, double %276)
store double %285, double* %18
%286 = load double, double* %17
%287 = fneg double %286
%288 = load double, double* %16
%289 = fmul double %287, %288
%290 = call i32 @exp(double %289)
%291 = sitofp i32 %290 to double
%292 = load double, double* %18
%293 = fmul double %292, %291
store double %293, double* %18
%294 = load double, double* %18
%295 = load double, double* %19
%296 = fadd double %295, %294
store double %296, double* %19
%297 = load i32, i32* %21
%298 = add nsw i32 %297, 1
store i32 %298, i32* %21
br label %233
299: ; preds = %243
%300 = load double, double* %19
%301 = fmul double %300, 0x3FF40D931FF62705
%302 = load double, double* %11
%303 = load i32, i32* %3
%304 = sitofp i32 %303 to double
%305 = fmul double %302, %304
%306 = fmul double %305, 3.240000e+03
%307 = load double, double* %14
%308 = fmul double %306, %307
%309 = load double, double* %15
%310 = fmul double %308, %309
%311 = fdiv double %301, %310
%312 = load double, double* %20
%313 = fadd double %312, %311
store double %313, double* %20
store double 1.000000e+00, double* %18
store double 0.000000e+00, double* %19
store i32 1, i32* %21
br label %314
314: ; preds = %326, %299
%315 = load i32, i32* %21
%316 = icmp sle i32 %315, 20
br i1 %316, label %317, label %324
317: ; preds = %314
%318 = load double, double* %18
%319 = call double @fabs(double %318)
%320 = load double, double* %19
%321 = call double @fabs(double %320)
%322 = fmul double 1.000000e-10, %321
%323 = fcmp ogt double %319, %322
br label %324
324: ; preds = %317, %314
%325 = phi i1 [ false, %314 ], [ %323, %317 ]
br i1 %325, label %326, label %352
326: ; preds = %324
%327 = load i32, i32* %21
%328 = load i32, i32* %21
%329 = mul nsw i32 %327, %328
%330 = sitofp i32 %329 to double
store double %330, double* %17
%331 = load double, double* %17
%332 = fmul double 0x403D9BDB2E9D68CD, %331
%333 = load double, double* %13
%334 = load double, double* %17
%335 = fmul double 0x40585A2E8C290825, %334
%336 = load double, double* %17
%337 = fmul double %335, %336
%338 = fneg double %337
%339 = call double @llvm.fmuladd.f64(double %332, double %333, double %338)
%340 = load double, double* %17
%341 = fneg double %340
%342 = load double, double* %16
%343 = fmul double %341, %342
%344 = call i32 @exp(double %343)
%345 = sitofp i32 %344 to double
%346 = fmul double %339, %345
store double %346, double* %18
%347 = load double, double* %18
%348 = load double, double* %19
%349 = fadd double %348, %347
store double %349, double* %19
%350 = load i32, i32* %21
%351 = add nsw i32 %350, 1
store i32 %351, i32* %21
br label %314
352: ; preds = %324
%353 = load double, double* %19
%354 = fmul double %353, 0x3FF40D931FF62705
%355 = load double, double* %11
%356 = load i32, i32* %3
%357 = sitofp i32 %356 to double
%358 = fmul double %355, %357
%359 = fmul double %358, 1.080000e+02
%360 = load double, double* %15
%361 = fmul double %359, %360
%362 = fdiv double %354, %361
%363 = load double, double* %20
%364 = fadd double %363, %362
store double %364, double* %20
%365 = load double, double* %20
ret double %365
}

LLVM IR (-O2):
define double @Pelz(i32 %0, double %1) {
%3 = sitofp i32 %0 to double
%4 = tail call double @sqrt(double %3)
%5 = fmul double %4, %1
%6 = fmul double %5, %5
%7 = fmul double %6, %6
%8 = fmul double %5, 2.000000e+00
%9 = fmul double %5, %8
%10 = fdiv double 0x4023BD3CC9BE45DE, %9
br label %14
11: ; preds = %14
%12 = fmul double %6, %7
%13 = fneg double %6
br label %30
14: ; preds = %2, %14
%15 = phi i32 [ 0, %2 ], [ %25, %14 ]
%16 = phi double [ 0.000000e+00, %2 ], [ %24, %14 ]
%17 = sitofp i32 %15 to double
%18 = fadd double %17, 5.000000e-01
%19 = fneg double %18
%20 = fmul double %18, %19
%21 = fmul double %10, %20
%22 = tail call i32 @exp(double %21)
%23 = sitofp i32 %22 to double
%24 = fadd double %16, %23
%25 = add nuw nsw i32 %15, 1
%26 = icmp ult i32 %15, 20
%27 = fmul double %24, 1.000000e-10
%28 = fcmp olt double %27, %23
%29 = select i1 %26, i1 %28, i1 false
br i1 %29, label %14, label %11
30: ; preds = %11, %38
%31 = phi i32 [ 0, %11 ], [ %50, %38 ]
%32 = phi double [ 0.000000e+00, %11 ], [ %49, %38 ]
%33 = phi double [ 1.000000e+00, %11 ], [ %48, %38 ]
%34 = tail call double @llvm.fabs.f64(double %33)
%35 = tail call double @llvm.fabs.f64(double %32)
%36 = fmul double %35, 1.000000e-10
%37 = fcmp ogt double %34, %36
br i1 %37, label %38, label %52
38: ; preds = %30
%39 = sitofp i32 %31 to double
%40 = fadd double %39, 5.000000e-01
%41 = fmul double %40, 0x4023BD3CC9BE45DE
%42 = tail call double @llvm.fmuladd.f64(double %41, double %40, double %13)
%43 = fneg double %40
%44 = fmul double %40, %43
%45 = fmul double %10, %44
%46 = tail call i32 @exp(double %45)
%47 = sitofp i32 %46 to double
%48 = fmul double %42, %47
%49 = fadd double %32, %48
%50 = add nuw nsw i32 %31, 1
%51 = icmp eq i32 %50, 21
br i1 %51, label %52, label %30
52: ; preds = %38, %30
%53 = phi double [ %49, %38 ], [ %32, %30 ]
%54 = fmul double %7, 2.000000e+00
%55 = tail call double @llvm.fmuladd.f64(double %12, double 6.000000e+00, double %54)
%56 = fmul double %6, -5.000000e+00
%57 = tail call double @llvm.fmuladd.f64(double %7, double 2.000000e+00, double %56)
%58 = fmul double %57, 0x4023BD3CC9BE45DE
%59 = tail call double @llvm.fmuladd.f64(double %6, double -2.000000e+00, double 1.000000e+00)
%60 = fmul double %59, 0x40585A2E8C290825
br label %61
61: ; preds = %52, %69
%62 = phi i32 [ 0, %52 ], [ %85, %69 ]
%63 = phi double [ 0.000000e+00, %52 ], [ %84, %69 ]
%64 = phi double [ 1.000000e+00, %52 ], [ %83, %69 ]
%65 = tail call double @llvm.fabs.f64(double %64)
%66 = tail call double @llvm.fabs.f64(double %63)
%67 = fmul double %66, 1.000000e-10
%68 = fcmp ogt double %65, %67
br i1 %68, label %69, label %87
69: ; preds = %61
%70 = sitofp i32 %62 to double
%71 = fadd double %70, 5.000000e-01
%72 = fmul double %58, %71
%73 = tail call double @llvm.fmuladd.f64(double %72, double %71, double %55)
%74 = fmul double %60, %71
%75 = fmul double %71, %74
%76 = fmul double %71, %75
%77 = tail call double @llvm.fmuladd.f64(double %76, double %71, double %73)
%78 = fneg double %71
%79 = fmul double %71, %78
%80 = fmul double %10, %79
%81 = tail call i32 @exp(double %80)
%82 = sitofp i32 %81 to double
%83 = fmul double %77, %82
%84 = fadd double %63, %83
%85 = add nuw nsw i32 %62, 1
%86 = icmp eq i32 %85, 21
br i1 %86, label %87, label %61
87: ; preds = %69, %61
%88 = phi double [ %84, %69 ], [ %63, %61 ]
br label %100
89: ; preds = %100
%90 = fmul double %12, -9.000000e+01
%91 = fmul double %6, %90
%92 = tail call double @llvm.fmuladd.f64(double %12, double -3.000000e+01, double %91)
%93 = fmul double %12, -9.600000e+01
%94 = tail call double @llvm.fmuladd.f64(double %7, double 1.350000e+02, double %93)
%95 = fmul double %94, 0x4023BD3CC9BE45DE
%96 = fmul double %6, -6.000000e+01
%97 = tail call double @llvm.fmuladd.f64(double %7, double 2.120000e+02, double %96)
%98 = fmul double %97, 0x40585A2E8C290825
%99 = tail call double @llvm.fmuladd.f64(double %6, double -3.000000e+01, double 5.000000e+00)
br label %118
100: ; preds = %87, %100
%101 = phi i32 [ 1, %87 ], [ %113, %100 ]
%102 = phi double [ 0.000000e+00, %87 ], [ %112, %100 ]
%103 = sitofp i32 %101 to double
%104 = fmul double %103, 0x4023BD3CC9BE45DE
%105 = fmul double %104, %103
%106 = fneg double %103
%107 = fmul double %106, %103
%108 = fmul double %10, %107
%109 = tail call i32 @exp(double %108)
%110 = sitofp i32 %109 to double
%111 = fmul double %105, %110
%112 = fadd double %102, %111
%113 = add nuw nsw i32 %101, 1
%114 = icmp ult i32 %101, 20
%115 = fmul double %112, 1.000000e-10
%116 = fcmp ogt double %111, %115
%117 = select i1 %114, i1 %116, i1 false
br i1 %117, label %100, label %89
118: ; preds = %89, %126
%119 = phi i32 [ 0, %89 ], [ %143, %126 ]
%120 = phi double [ 0.000000e+00, %89 ], [ %142, %126 ]
%121 = phi double [ 1.000000e+00, %89 ], [ %141, %126 ]
%122 = tail call double @llvm.fabs.f64(double %121)
%123 = tail call double @llvm.fabs.f64(double %120)
%124 = fmul double %123, 1.000000e-10
%125 = fcmp ogt double %122, %124
br i1 %125, label %126, label %145
126: ; preds = %118
%127 = sitofp i32 %119 to double
%128 = fadd double %127, 5.000000e-01
%129 = fmul double %128, %128
%130 = tail call double @llvm.fmuladd.f64(double %95, double %129, double %92)
%131 = fmul double %98, %129
%132 = tail call double @llvm.fmuladd.f64(double %131, double %129, double %130)
%133 = fmul double %129, 0x408E0B1D11856DF6
%134 = fmul double %129, %133
%135 = fmul double %129, %134
%136 = tail call double @llvm.fmuladd.f64(double %135, double %99, double %132)
%137 = fneg double %129
%138 = fmul double %10, %137
%139 = tail call i32 @exp(double %138)
%140 = sitofp i32 %139 to double
%141 = fmul double %136, %140
%142 = fadd double %120, %141
%143 = add nuw nsw i32 %119, 1
%144 = icmp eq i32 %143, 21
br i1 %144, label %145, label %118
145: ; preds = %126, %118
%146 = phi double [ %142, %126 ], [ %120, %118 ]
%147 = fmul double %4, %3
br label %148
148: ; preds = %145, %156
%149 = phi i32 [ 1, %145 ], [ %169, %156 ]
%150 = phi double [ 0.000000e+00, %145 ], [ %168, %156 ]
%151 = phi double [ 1.000000e+00, %145 ], [ %167, %156 ]
%152 = tail call double @llvm.fabs.f64(double %151)
%153 = tail call double @llvm.fabs.f64(double %150)
%154 = fmul double %153, 1.000000e-10
%155 = fcmp ogt double %152, %154
br i1 %155, label %156, label %171
156: ; preds = %148
%157 = mul nuw nsw i32 %149, %149
%158 = sitofp i32 %157 to double
%159 = fmul double %158, 0x403D9BDB2E9D68CD
%160 = fmul double %158, 0xC0585A2E8C290825
%161 = fmul double %160, %158
%162 = tail call double @llvm.fmuladd.f64(double %159, double %6, double %161)
%163 = fneg double %158
%164 = fmul double %10, %163
%165 = tail call i32 @exp(double %164)
%166 = sitofp i32 %165 to double
%167 = fmul double %162, %166
%168 = fadd double %150, %167
%169 = add nuw nsw i32 %149, 1
%170 = icmp eq i32 %169, 21
br i1 %170, label %171, label %148
171: ; preds = %156, %148
%172 = phi double [ %168, %156 ], [ %150, %148 ]
%173 = fmul double %53, 0x3FF40D931FF62705
%174 = fmul double %4, 3.000000e+00
%175 = fmul double %174, %7
%176 = insertelement <2 x double> <double 0x40040D931FF62707, double poison>, double %173, i64 1
%177 = insertelement <2 x double> poison, double %5, i64 0
%178 = insertelement <2 x double> %177, double %175, i64 1
%179 = fdiv <2 x double> %176, %178
%180 = extractelement <2 x double> %179, i64 0
%181 = fmul double %180, %24
%182 = extractelement <2 x double> %179, i64 1
%183 = fadd double %181, %182
%184 = insertelement <2 x double> poison, double %88, i64 0
%185 = insertelement <2 x double> %184, double %112, i64 1
%186 = fmul <2 x double> %185, <double 0x3FF40D931FF62705, double 0x3FF40D931FF62705>
%187 = insertelement <2 x double> poison, double %3, i64 0
%188 = shufflevector <2 x double> %187, <2 x double> poison, <2 x i32> zeroinitializer
%189 = fmul <2 x double> %188, <double 3.600000e+01, double 1.800000e+01>
%190 = shufflevector <2 x double> %177, <2 x double> poison, <2 x i32> zeroinitializer
%191 = fmul <2 x double> %189, %190
%192 = insertelement <2 x double> poison, double %12, i64 0
%193 = insertelement <2 x double> %192, double %6, i64 1
%194 = fmul <2 x double> %191, %193
%195 = fdiv <2 x double> %186, %194
%196 = extractelement <2 x double> %195, i64 0
%197 = fadd double %183, %196
%198 = extractelement <2 x double> %195, i64 1
%199 = fsub double %197, %198
%200 = fmul double %147, 3.240000e+03
%201 = insertelement <2 x double> poison, double %146, i64 0
%202 = insertelement <2 x double> %201, double %172, i64 1
%203 = fmul <2 x double> %202, <double 0x3FF40D931FF62705, double 0x3FF40D931FF62705>
%204 = insertelement <2 x double> poison, double %147, i64 1
%205 = insertelement <2 x double> %204, double %200, i64 0
%206 = insertelement <2 x double> <double poison, double 1.080000e+02>, double %7, i64 0
%207 = fmul <2 x double> %205, %206
%208 = shufflevector <2 x double> %192, <2 x double> poison, <2 x i32> zeroinitializer
%209 = fmul <2 x double> %207, %208
%210 = fdiv <2 x double> %203, %209
%211 = extractelement <2 x double> %210, i64 0
%212 = fadd double %199, %211
%213 = extractelement <2 x double> %210, i64 1
%214 = fadd double %212, %213
ret double %214
}