#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 /*<<< orphan*/ endpar();
float exp(int);
int /*<<< orphan*/ getpar(char *, char *, ...);
float log(float);
int /*<<< orphan*/ mstpar(char *, char *, float *);
int /*<<< orphan*/ printf(char *, float, float);
int /*<<< orphan*/ setpar(int, char **);
main(int ac, char **av) {
  float df, pga, vref, vsite, vrat;
  float ma, mv, fa, fv, fac, freq;
  int i;
  int nf = 1000;
  float fmidbot = 0.3;
  float fmid = 1.0;
  float fhigh = 3.333;
  float fhightop = 10.0;
  float fbot = 0.02;
  float ftop = 50.0;
  float fmin = 0.1;
  float fmax = 15.0;
  setpar(ac, av);
  mstpar("vref", "f", &vref);
  mstpar("vsite", "f", &vsite);
  mstpar("pga", "f", &pga);
  getpar("fmin", "f", &fmin);
  getpar("fmidbot", "f", &fmidbot);
  getpar("fmid", "f", &fmid);
  getpar("fhigh", "f", &fhigh);
  getpar("fhightop", "f", &fhightop);
  getpar("fmax", "f", &fmax);
  getpar("nf", "d", &nf);
  endpar();
  vrat = vref / vsite;
  if (pga < 0.1) {
    ma = 0.35;
    mv = 0.65;
  } else if (pga < 0.2) {
    ma = 0.35 - (pga - 0.1);
    mv = 0.65 - 0.5 * (pga - 0.1);
  } else if (pga < 0.3) {
    ma = 0.25 - 1.5 * (pga - 0.2);
    mv = 0.60 - 0.7 * (pga - 0.2);
  } else if (pga < 0.4) {
    ma = 0.10 - 1.5 * (pga - 0.3);
    mv = 0.53 - 0.8 * (pga - 0.3);
  } else {
    ma = -0.05;
    mv = 0.45;
  }
  fa = exp(ma * log(vrat));
  fv = exp(mv * log(vrat));
  if (fmin > fmidbot)
    fmin = fmidbot;
  if (fmax < fhightop)
    fmin = fhightop;
  df = log(ftop / fbot) / (float)(nf - 1);
  for (i = 0; i < nf; i++) {
    freq = fbot * exp(i * df);
    if (freq < fmin)
      fac = 1.0;
    else if (freq < fmidbot)
      fac = 1.0 + (freq - fmin) * (fv - 1.0) / (fmidbot - fmin);
    else if (freq < fmid)
      fac = fv;
    else if (freq < fhigh)
      fac = fv + (freq - fmid) * (fa - fv) / (fhigh - fmid);
    else if (freq < fhightop)
      fac = fa;
    else if (freq < fmax)
      fac = fa + (freq - fhightop) * (1.0 - fa) / (fmax - fhightop);
    else
      fac = 1.0;
    printf("%13.5e %10.5f\n", freq, fac);
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x3e8,-0x44(%rbp)
movss  0xef7(%rip),%xmm0
movss  %xmm0,-0x48(%rbp)
movss  0xee6(%rip),%xmm0
movss  %xmm0,-0x4c(%rbp)
movss  0xed5(%rip),%xmm0
movss  %xmm0,-0x50(%rbp)
movss  0xec4(%rip),%xmm0
movss  %xmm0,-0x54(%rbp)
movss  0xeb3(%rip),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  0xea2(%rip),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  0xe91(%rip),%xmm0
movss  %xmm0,-0x60(%rbp)
movss  0xe80(%rip),%xmm0
movss  %xmm0,-0x64(%rbp)
mov    -0x8(%rbp),%edi
mov    -0x10(%rbp),%rsi
call   1030 <setpar@plt>
lea    0xe98(%rip),%rdi
lea    0xe94(%rip),%rsi
lea    -0x1c(%rbp),%rdx
call   1040 <mstpar@plt>
lea    0xe86(%rip),%rdi
lea    0xe7d(%rip),%rsi
lea    -0x20(%rbp),%rdx
call   1040 <mstpar@plt>
lea    0xe75(%rip),%rdi
lea    0xe66(%rip),%rsi
lea    -0x18(%rbp),%rdx
call   1040 <mstpar@plt>
lea    0xe62(%rip),%rdi
lea    0xe4f(%rip),%rsi
lea    -0x60(%rbp),%rdx
mov    $0x0,%al
call   1070 <getpar@plt>
lea    0xe4e(%rip),%rdi
lea    0xe36(%rip),%rsi
lea    -0x48(%rbp),%rdx
mov    $0x0,%al
call   1070 <getpar@plt>
lea    0xe3d(%rip),%rdi
lea    0xe1d(%rip),%rsi
lea    -0x4c(%rbp),%rdx
mov    $0x0,%al
call   1070 <getpar@plt>
lea    0xe29(%rip),%rdi
lea    0xe04(%rip),%rsi
lea    -0x50(%rbp),%rdx
mov    $0x0,%al
call   1070 <getpar@plt>
lea    0xe16(%rip),%rdi
lea    0xdeb(%rip),%rsi
lea    -0x54(%rbp),%rdx
mov    $0x0,%al
call   1070 <getpar@plt>
lea    0xe06(%rip),%rdi
lea    0xdd2(%rip),%rsi
lea    -0x64(%rbp),%rdx
mov    $0x0,%al
call   1070 <getpar@plt>
lea    0xdf2(%rip),%rdi
lea    0xdd5(%rip),%rsi
lea    -0x44(%rbp),%rdx
mov    $0x0,%al
call   1070 <getpar@plt>
mov    $0x0,%al
call   1080 <endpar@plt>
movss  -0x1c(%rbp),%xmm0
divss  -0x20(%rbp),%xmm0
movss  %xmm0,-0x24(%rbp)
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xce4(%rip),%xmm0
ucomisd %xmm1,%xmm0
jbe    1345 <main+0x1d5>
movss  0xd6e(%rip),%xmm0
movss  %xmm0,-0x28(%rbp)
movss  0xd5d(%rip),%xmm0
movss  %xmm0,-0x2c(%rbp)
jmp    1506 <main+0x396>
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xcb2(%rip),%xmm0
ucomisd %xmm1,%xmm0
jbe    13c5 <main+0x255>
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xc8f(%rip),%xmm0
subsd  %xmm0,%xmm1
movsd  0xce3(%rip),%xmm0
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x28(%rbp)
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xc65(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xca9(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xca5(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x2c(%rbp)
jmp    1501 <main+0x391>
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xc3a(%rip),%xmm0
ucomisd %xmm1,%xmm0
jbe    1451 <main+0x2e1>
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xc17(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xc33(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xc3f(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x28(%rbp)
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xbe1(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xc05(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xc01(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x2c(%rbp)
jmp    14fc <main+0x38c>
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xbb6(%rip),%xmm0
ucomisd %xmm1,%xmm0
jbe    14dd <main+0x36d>
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xb93(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xba7(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xb6b(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x28(%rbp)
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xb5d(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xb61(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xb5d(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x2c(%rbp)
jmp    14f7 <main+0x387>
movss  0xbaf(%rip),%xmm0
movss  %xmm0,-0x28(%rbp)
movss  0xb9e(%rip),%xmm0
movss  %xmm0,-0x2c(%rbp)
jmp    14fc <main+0x38c>
jmp    1501 <main+0x391>
jmp    1506 <main+0x396>
movss  -0x28(%rbp),%xmm0
movss  %xmm0,-0x6c(%rbp)
movss  -0x24(%rbp),%xmm0
call   1090 <log@plt>
movaps %xmm0,%xmm1
movss  -0x6c(%rbp),%xmm0
mulss  %xmm1,%xmm0
cvttss2si %xmm0,%edi
call   1060 <exp@plt>
movss  %xmm0,-0x30(%rbp)
movss  -0x2c(%rbp),%xmm0
movss  %xmm0,-0x68(%rbp)
movss  -0x24(%rbp),%xmm0
call   1090 <log@plt>
movaps %xmm0,%xmm1
movss  -0x68(%rbp),%xmm0
mulss  %xmm1,%xmm0
cvttss2si %xmm0,%edi
call   1060 <exp@plt>
movss  %xmm0,-0x34(%rbp)
movss  -0x60(%rbp),%xmm0
ucomiss -0x48(%rbp),%xmm0
jbe    157b <main+0x40b>
movss  -0x48(%rbp),%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0x64(%rbp),%xmm1
movss  -0x54(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    1598 <main+0x428>
movss  -0x54(%rbp),%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0x5c(%rbp),%xmm0
divss  -0x58(%rbp),%xmm0
call   1090 <log@plt>
mov    -0x44(%rbp),%eax
sub    $0x1,%eax
cvtsi2ss %eax,%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x14(%rbp)
movl   $0x0,-0x40(%rbp)
mov    -0x40(%rbp),%eax
cmp    -0x44(%rbp),%eax
jge    17c7 <main+0x657>
movss  -0x58(%rbp),%xmm0
movss  %xmm0,-0x70(%rbp)
cvtsi2ssl -0x40(%rbp),%xmm0
mulss  -0x14(%rbp),%xmm0
cvttss2si %xmm0,%edi
call   1060 <exp@plt>
movaps %xmm0,%xmm1
movss  -0x70(%rbp),%xmm0
mulss  %xmm1,%xmm0
movss  %xmm0,-0x3c(%rbp)
movss  -0x3c(%rbp),%xmm1
movss  -0x60(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    1620 <main+0x4b0>
movss  0xa72(%rip),%xmm0
movss  %xmm0,-0x38(%rbp)
jmp    17a3 <main+0x633>
movss  -0x3c(%rbp),%xmm1
movss  -0x48(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    1686 <main+0x516>
movss  -0x3c(%rbp),%xmm0
subss  -0x60(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movss  -0x34(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xa16(%rip),%xmm2
subsd  %xmm2,%xmm0
mulsd  %xmm0,%xmm1
movss  -0x48(%rbp),%xmm0
subss  -0x60(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
divsd  %xmm0,%xmm1
movsd  0x9f4(%rip),%xmm0
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x38(%rbp)
jmp    179e <main+0x62e>
movss  -0x3c(%rbp),%xmm1
movss  -0x4c(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    16a8 <main+0x538>
movss  -0x34(%rbp),%xmm0
movss  %xmm0,-0x38(%rbp)
jmp    1799 <main+0x629>
movss  -0x3c(%rbp),%xmm1
movss  -0x50(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    16f4 <main+0x584>
movss  -0x34(%rbp),%xmm0
movss  -0x3c(%rbp),%xmm1
subss  -0x4c(%rbp),%xmm1
movss  -0x30(%rbp),%xmm2
subss  -0x34(%rbp),%xmm2
mulss  %xmm2,%xmm1
movss  -0x50(%rbp),%xmm2
subss  -0x4c(%rbp),%xmm2
divss  %xmm2,%xmm1
addss  %xmm1,%xmm0
movss  %xmm0,-0x38(%rbp)
jmp    1794 <main+0x624>
movss  -0x3c(%rbp),%xmm1
movss  -0x54(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    1716 <main+0x5a6>
movss  -0x30(%rbp),%xmm0
movss  %xmm0,-0x38(%rbp)
jmp    178f <main+0x61f>
movss  -0x3c(%rbp),%xmm1
movss  -0x64(%rbp),%xmm0
ucomiss %xmm1,%xmm0
jbe    177d <main+0x60d>
movss  -0x30(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x3c(%rbp),%xmm1
subss  -0x54(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movss  -0x30(%rbp),%xmm2
cvtss2sd %xmm2,%xmm3
movsd  0x917(%rip),%xmm2
subsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
movss  -0x64(%rbp),%xmm2
subss  -0x54(%rbp),%xmm2
cvtss2sd %xmm2,%xmm2
divsd  %xmm2,%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x38(%rbp)
jmp    178a <main+0x61a>
movss  0x903(%rip),%xmm0
movss  %xmm0,-0x38(%rbp)
jmp    178f <main+0x61f>
jmp    1794 <main+0x624>
jmp    1799 <main+0x629>
jmp    179e <main+0x62e>
jmp    17a3 <main+0x633>
movss  -0x3c(%rbp),%xmm0
movss  -0x38(%rbp),%xmm1
lea    0x924(%rip),%rdi
call   1050 <printf@plt>
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    15c1 <main+0x451>
mov    -0x4(%rbp),%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %rbx
sub    $0x68,%rsp
movl   $0x3e8,0x20(%rsp)
movl   $0x3e99999a,0x1c(%rsp)
3e
movl   $0x3f800000,0x2c(%rsp)
3f
movl   $0x40554fdf,0x28(%rsp)
40
movl   $0x41200000,0x18(%rsp)
41
movl   $0x3dcccccd,0x10(%rsp)
3d
movl   $0x41700000,0x14(%rsp)
41
call   1030 <setpar@plt>
lea    0xf12(%rip),%rdi
lea    0xf0e(%rip),%rbx
lea    0x48(%rsp),%rdx
mov    %rbx,%rsi
call   1040 <mstpar@plt>
lea    0xefc(%rip),%rdi
lea    0x44(%rsp),%rdx
mov    %rbx,%rsi
call   1040 <mstpar@plt>
lea    0xeee(%rip),%rdi
lea    0x4c(%rsp),%rdx
mov    %rbx,%rsi
call   1040 <mstpar@plt>
lea    0xede(%rip),%rdi
lea    0x10(%rsp),%rdx
mov    %rbx,%rsi
xor    %eax,%eax
call   1070 <getpar@plt>
lea    0xecd(%rip),%rdi
lea    0x1c(%rsp),%rdx
mov    %rbx,%rsi
xor    %eax,%eax
call   1070 <getpar@plt>
lea    0xebf(%rip),%rdi
lea    0x2c(%rsp),%rdx
mov    %rbx,%rsi
xor    %eax,%eax
call   1070 <getpar@plt>
lea    0xeae(%rip),%rdi
lea    0x28(%rsp),%rdx
mov    %rbx,%rsi
xor    %eax,%eax
call   1070 <getpar@plt>
lea    0xe9e(%rip),%rdi
lea    0x18(%rsp),%rdx
mov    %rbx,%rsi
xor    %eax,%eax
call   1070 <getpar@plt>
lea    0xe91(%rip),%rdi
lea    0x14(%rsp),%rdx
mov    %rbx,%rsi
xor    %eax,%eax
call   1070 <getpar@plt>
lea    0xe80(%rip),%rdi
lea    0xe63(%rip),%rsi
lea    0x20(%rsp),%rdx
xor    %eax,%eax
call   1070 <getpar@plt>
xor    %eax,%eax
call   1080 <endpar@plt>
movss  0x48(%rsp),%xmm0
divss  0x44(%rsp),%xmm0
movss  0x4c(%rsp),%xmm1
cvtss2sd %xmm1,%xmm2
movsd  0xda7(%rip),%xmm1
ucomisd %xmm2,%xmm1
jbe    12cc <main+0x15c>
movapd 0xd39(%rip),%xmm1
jmp    1362 <main+0x1f2>
movsd  0xd94(%rip),%xmm1
ucomisd %xmm2,%xmm1
jbe    1304 <main+0x194>
addsd  0xdae(%rip),%xmm2
movsd  0xdae(%rip),%xmm1
subsd  %xmm2,%xmm1
mulsd  0xdaa(%rip),%xmm2
addsd  0xdaa(%rip),%xmm2
unpcklpd %xmm1,%xmm2
jmp    135e <main+0x1ee>
movsd  0xd64(%rip),%xmm1
ucomisd %xmm2,%xmm1
jbe    1330 <main+0x1c0>
addsd  0xd6e(%rip),%xmm2
unpcklpd %xmm2,%xmm2
mulpd  0xd1a(%rip),%xmm2
addpd  0xd22(%rip),%xmm2
jmp    135e <main+0x1ee>
movsd  0xd40(%rip),%xmm1
ucomisd %xmm2,%xmm1
jbe    157d <main+0x40d>
addsd  0xd36(%rip),%xmm2
unpcklpd %xmm2,%xmm2
mulpd  0xcca(%rip),%xmm2
addpd  0xcd2(%rip),%xmm2
cvtpd2ps %xmm2,%xmm1
movapd %xmm1,0x30(%rsp)
movss  %xmm0,0xc(%rsp)
call   1090 <log@plt>
movaps 0x30(%rsp),%xmm1
shufps $0x55,%xmm1,%xmm1
mulss  %xmm0,%xmm1
cvttss2si %xmm1,%edi
call   1060 <exp@plt>
movss  %xmm0,0x24(%rsp)
movss  0xc(%rsp),%xmm0
call   1090 <log@plt>
mulss  0x30(%rsp),%xmm0
cvttss2si %xmm0,%edi
call   1060 <exp@plt>
movss  %xmm0,0xc(%rsp)
movss  0x10(%rsp),%xmm1
movss  0x1c(%rsp),%xmm0
ucomiss %xmm0,%xmm1
jbe    13c6 <main+0x256>
movss  %xmm0,0x10(%rsp)
movss  0x18(%rsp),%xmm0
ucomiss 0x14(%rsp),%xmm0
jbe    13d9 <main+0x269>
movss  %xmm0,0x10(%rsp)
mov    0x20(%rsp),%eax
test   %eax,%eax
jle    1574 <main+0x404>
add    $0xffffffff,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movss  0xcc9(%rip),%xmm1
divss  %xmm0,%xmm1
movss  %xmm1,0x30(%rsp)
movss  0x24(%rsp),%xmm0
xorps  %xmm1,%xmm1
cvtss2sd %xmm0,%xmm1
movsd  0xc9a(%rip),%xmm2
movsd  %xmm1,0x58(%rsp)
subsd  %xmm1,%xmm2
movsd  %xmm2,0x50(%rsp)
movaps %xmm0,%xmm1
movss  0xc(%rsp),%xmm0
subss  %xmm0,%xmm1
movss  %xmm1,0x40(%rsp)
cvtss2sd %xmm0,%xmm0
addsd  0xc73(%rip),%xmm0
movsd  %xmm0,0x60(%rsp)
xor    %ebp,%ebp
lea    0xcb0(%rip),%rbx
jmp    14a1 <main+0x331>
cs nopw 0x0(%rax,%rax,1)
movaps %xmm0,%xmm3
subss  %xmm2,%xmm3
cvtss2sd %xmm3,%xmm3
mulsd  0x60(%rsp),%xmm3
subss  %xmm2,%xmm1
cvtss2sd %xmm1,%xmm1
divsd  %xmm1,%xmm3
addsd  0xc2b(%rip),%xmm3
xorps  %xmm1,%xmm1
cvtsd2ss %xmm3,%xmm1
mov    %rbx,%rdi
call   1050 <printf@plt>
add    $0x1,%ebp
cmp    0x20(%rsp),%ebp
jge    1574 <main+0x404>
xorps  %xmm0,%xmm0
cvtsi2ss %ebp,%xmm0
mulss  0x30(%rsp),%xmm0
cvttss2si %xmm0,%edi
call   1060 <exp@plt>
mulss  0xc05(%rip),%xmm0
movss  0x10(%rsp),%xmm2
ucomiss %xmm0,%xmm2
movss  0xbf8(%rip),%xmm1
ja     148c <main+0x31c>
movss  0x1c(%rsp),%xmm1
ucomiss %xmm0,%xmm1
ja     1460 <main+0x2f0>
movss  0x2c(%rsp),%xmm2
ucomiss %xmm0,%xmm2
movss  0xc(%rsp),%xmm1
ja     148c <main+0x31c>
movss  0x28(%rsp),%xmm3
ucomiss %xmm0,%xmm3
jbe    1519 <main+0x3a9>
movaps %xmm0,%xmm1
subss  %xmm2,%xmm1
mulss  0x40(%rsp),%xmm1
subss  %xmm2,%xmm3
divss  %xmm3,%xmm1
addss  0xc(%rsp),%xmm1
jmp    148c <main+0x31c>
movss  0x18(%rsp),%xmm2
ucomiss %xmm0,%xmm2
movss  0x24(%rsp),%xmm1
ja     148c <main+0x31c>
movss  0x14(%rsp),%xmm3
ucomiss %xmm0,%xmm3
movss  0xb89(%rip),%xmm1
jbe    148c <main+0x31c>
movaps %xmm0,%xmm1
subss  %xmm2,%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  0x50(%rsp),%xmm1
subss  %xmm2,%xmm3
xorps  %xmm2,%xmm2
cvtss2sd %xmm3,%xmm2
divsd  %xmm2,%xmm1
addsd  0x58(%rsp),%xmm1
cvtsd2ss %xmm1,%xmm1
jmp    148c <main+0x31c>
xor    %eax,%eax
add    $0x68,%rsp
pop    %rbx
pop    %rbp
ret
movapd 0xa8b(%rip),%xmm1
jmp    1362 <main+0x1f2>

LLVM IR (-O0):
@.str = [5 x i8] c"vref\00"
@.str.1 = [2 x i8] c"f\00"
@.str.2 = [6 x i8] c"vsite\00"
@.str.3 = [4 x i8] c"pga\00"
@.str.4 = [5 x i8] c"fmin\00"
@.str.5 = [8 x i8] c"fmidbot\00"
@.str.6 = [5 x i8] c"fmid\00"
@.str.7 = [6 x i8] c"fhigh\00"
@.str.8 = [9 x i8] c"fhightop\00"
@.str.9 = [5 x i8] c"fmax\00"
@.str.10 = [3 x i8] c"nf\00"
@.str.11 = [2 x i8] c"d\00"
@.str.12 = [15 x i8] c"%13.5e %10.5f\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca float
%7 = alloca float
%8 = alloca float
%9 = alloca float
%10 = alloca float
%11 = alloca float
%12 = alloca float
%13 = alloca float
%14 = alloca float
%15 = alloca float
%16 = alloca float
%17 = alloca i32
%18 = alloca i32
%19 = alloca float
%20 = alloca float
%21 = alloca float
%22 = alloca float
%23 = alloca float
%24 = alloca float
%25 = alloca float
%26 = alloca float
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 1000, i32* %18
store float 0x3FD3333340000000, float* %19
store float 1.000000e+00, float* %20
store float 0x400AA9FBE0000000, float* %21
store float 1.000000e+01, float* %22
store float 0x3F947AE140000000, float* %23
store float 5.000000e+01, float* %24
store float 0x3FB99999A0000000, float* %25
store float 1.500000e+01, float* %26
%27 = load i32, i32* %4
%28 = load i8**, i8*** %5
%29 = call i32 @setpar(i32 %27, i8** %28)
%30 = call i32 @mstpar(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), float* %8)
%31 = call i32 @mstpar(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), float* %9)
%32 = call i32 @mstpar(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), float* %7)
%33 = call i32 (i8*, i8*, ...) @getpar(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), float* %25)
%34 = call i32 (i8*, i8*, ...) @getpar(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), float* %19)
%35 = call i32 (i8*, i8*, ...) @getpar(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), float* %20)
%36 = call i32 (i8*, i8*, ...) @getpar(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), float* %21)
%37 = call i32 (i8*, i8*, ...) @getpar(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), float* %22)
%38 = call i32 (i8*, i8*, ...) @getpar(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), float* %26)
%39 = call i32 (i8*, i8*, ...) @getpar(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0), i32* %18)
%40 = call i32 (...) @endpar()
%41 = load float, float* %8
%42 = load float, float* %9
%43 = fdiv float %41, %42
store float %43, float* %10
%44 = load float, float* %7
%45 = fpext float %44 to double
%46 = fcmp olt double %45, 1.000000e-01
br i1 %46, label %47, label %48
47: ; preds = %2
store float 0x3FD6666660000000, float* %11
store float 0x3FE4CCCCC0000000, float* %12
br label %97
48: ; preds = %2
%49 = load float, float* %7
%50 = fpext float %49 to double
%51 = fcmp olt double %50, 2.000000e-01
br i1 %51, label %52, label %63
52: ; preds = %48
%53 = load float, float* %7
%54 = fpext float %53 to double
%55 = fsub double %54, 1.000000e-01
%56 = fsub double 3.500000e-01, %55
%57 = fptrunc double %56 to float
store float %57, float* %11
%58 = load float, float* %7
%59 = fpext float %58 to double
%60 = fsub double %59, 1.000000e-01
%61 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %60, double 6.500000e-01)
%62 = fptrunc double %61 to float
store float %62, float* %12
br label %96
63: ; preds = %48
%64 = load float, float* %7
%65 = fpext float %64 to double
%66 = fcmp olt double %65, 3.000000e-01
br i1 %66, label %67, label %78
67: ; preds = %63
%68 = load float, float* %7
%69 = fpext float %68 to double
%70 = fsub double %69, 2.000000e-01
%71 = call double @llvm.fmuladd.f64(double -1.500000e+00, double %70, double 2.500000e-01)
%72 = fptrunc double %71 to float
store float %72, float* %11
%73 = load float, float* %7
%74 = fpext float %73 to double
%75 = fsub double %74, 2.000000e-01
%76 = call double @llvm.fmuladd.f64(double 0xBFE6666666666666, double %75, double 6.000000e-01)
%77 = fptrunc double %76 to float
store float %77, float* %12
br label %95
78: ; preds = %63
%79 = load float, float* %7
%80 = fpext float %79 to double
%81 = fcmp olt double %80, 4.000000e-01
br i1 %81, label %82, label %93
82: ; preds = %78
%83 = load float, float* %7
%84 = fpext float %83 to double
%85 = fsub double %84, 3.000000e-01
%86 = call double @llvm.fmuladd.f64(double -1.500000e+00, double %85, double 1.000000e-01)
%87 = fptrunc double %86 to float
store float %87, float* %11
%88 = load float, float* %7
%89 = fpext float %88 to double
%90 = fsub double %89, 3.000000e-01
%91 = call double @llvm.fmuladd.f64(double -8.000000e-01, double %90, double 5.300000e-01)
%92 = fptrunc double %91 to float
store float %92, float* %12
br label %94
93: ; preds = %78
store float 0xBFA99999A0000000, float* %11
store float 0x3FDCCCCCC0000000, float* %12
br label %94
94: ; preds = %93, %82
br label %95
95: ; preds = %94, %67
br label %96
96: ; preds = %95, %52
br label %97
97: ; preds = %96, %47
%98 = load float, float* %11
%99 = load float, float* %10
%100 = call float @log(float %99)
%101 = fmul float %98, %100
%102 = fptosi float %101 to i32
%103 = call float @exp(i32 %102)
store float %103, float* %13
%104 = load float, float* %12
%105 = load float, float* %10
%106 = call float @log(float %105)
%107 = fmul float %104, %106
%108 = fptosi float %107 to i32
%109 = call float @exp(i32 %108)
store float %109, float* %14
%110 = load float, float* %25
%111 = load float, float* %19
%112 = fcmp ogt float %110, %111
br i1 %112, label %113, label %115
113: ; preds = %97
%114 = load float, float* %19
store float %114, float* %25
br label %115
115: ; preds = %113, %97
%116 = load float, float* %26
%117 = load float, float* %22
%118 = fcmp olt float %116, %117
br i1 %118, label %119, label %121
119: ; preds = %115
%120 = load float, float* %22
store float %120, float* %25
br label %121
121: ; preds = %119, %115
%122 = load float, float* %24
%123 = load float, float* %23
%124 = fdiv float %122, %123
%125 = call float @log(float %124)
%126 = load i32, i32* %18
%127 = sub nsw i32 %126, 1
%128 = sitofp i32 %127 to float
%129 = fdiv float %125, %128
store float %129, float* %6
store i32 0, i32* %17
br label %130
130: ; preds = %229, %121
%131 = load i32, i32* %17
%132 = load i32, i32* %18
%133 = icmp slt i32 %131, %132
br i1 %133, label %134, label %232
134: ; preds = %130
%135 = load float, float* %23
%136 = load i32, i32* %17
%137 = sitofp i32 %136 to float
%138 = load float, float* %6
%139 = fmul float %137, %138
%140 = fptosi float %139 to i32
%141 = call float @exp(i32 %140)
%142 = fmul float %135, %141
store float %142, float* %16
%143 = load float, float* %16
%144 = load float, float* %25
%145 = fcmp olt float %143, %144
br i1 %145, label %146, label %147
146: ; preds = %134
store float 1.000000e+00, float* %15
br label %225
147: ; preds = %134
%148 = load float, float* %16
%149 = load float, float* %19
%150 = fcmp olt float %148, %149
br i1 %150, label %151, label %167
151: ; preds = %147
%152 = load float, float* %16
%153 = load float, float* %25
%154 = fsub float %152, %153
%155 = fpext float %154 to double
%156 = load float, float* %14
%157 = fpext float %156 to double
%158 = fsub double %157, 1.000000e+00
%159 = fmul double %155, %158
%160 = load float, float* %19
%161 = load float, float* %25
%162 = fsub float %160, %161
%163 = fpext float %162 to double
%164 = fdiv double %159, %163
%165 = fadd double 1.000000e+00, %164
%166 = fptrunc double %165 to float
store float %166, float* %15
br label %224
167: ; preds = %147
%168 = load float, float* %16
%169 = load float, float* %20
%170 = fcmp olt float %168, %169
br i1 %170, label %171, label %173
171: ; preds = %167
%172 = load float, float* %14
store float %172, float* %15
br label %223
173: ; preds = %167
%174 = load float, float* %16
%175 = load float, float* %21
%176 = fcmp olt float %174, %175
br i1 %176, label %177, label %191
177: ; preds = %173
%178 = load float, float* %14
%179 = load float, float* %16
%180 = load float, float* %20
%181 = fsub float %179, %180
%182 = load float, float* %13
%183 = load float, float* %14
%184 = fsub float %182, %183
%185 = fmul float %181, %184
%186 = load float, float* %21
%187 = load float, float* %20
%188 = fsub float %186, %187
%189 = fdiv float %185, %188
%190 = fadd float %178, %189
store float %190, float* %15
br label %222
191: ; preds = %173
%192 = load float, float* %16
%193 = load float, float* %22
%194 = fcmp olt float %192, %193
br i1 %194, label %195, label %197
195: ; preds = %191
%196 = load float, float* %13
store float %196, float* %15
br label %221
197: ; preds = %191
%198 = load float, float* %16
%199 = load float, float* %26
%200 = fcmp olt float %198, %199
br i1 %200, label %201, label %219
201: ; preds = %197
%202 = load float, float* %13
%203 = fpext float %202 to double
%204 = load float, float* %16
%205 = load float, float* %22
%206 = fsub float %204, %205
%207 = fpext float %206 to double
%208 = load float, float* %13
%209 = fpext float %208 to double
%210 = fsub double 1.000000e+00, %209
%211 = fmul double %207, %210
%212 = load float, float* %26
%213 = load float, float* %22
%214 = fsub float %212, %213
%215 = fpext float %214 to double
%216 = fdiv double %211, %215
%217 = fadd double %203, %216
%218 = fptrunc double %217 to float
store float %218, float* %15
br label %220
219: ; preds = %197
store float 1.000000e+00, float* %15
br label %220
220: ; preds = %219, %201
br label %221
221: ; preds = %220, %195
br label %222
222: ; preds = %221, %177
br label %223
223: ; preds = %222, %171
br label %224
224: ; preds = %223, %151
br label %225
225: ; preds = %224, %146
%226 = load float, float* %16
%227 = load float, float* %15
%228 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0), float %226, float %227)
br label %229
229: ; preds = %225
%230 = load i32, i32* %17
%231 = add nsw i32 %230, 1
store i32 %231, i32* %17
br label %130
232: ; preds = %130
%233 = load i32, i32* %3
ret i32 %233
}

LLVM IR (-O2):
@.str = [5 x i8] c"vref\00"
@.str.1 = [2 x i8] c"f\00"
@.str.2 = [6 x i8] c"vsite\00"
@.str.3 = [4 x i8] c"pga\00"
@.str.4 = [5 x i8] c"fmin\00"
@.str.5 = [8 x i8] c"fmidbot\00"
@.str.6 = [5 x i8] c"fmid\00"
@.str.7 = [6 x i8] c"fhigh\00"
@.str.8 = [9 x i8] c"fhightop\00"
@.str.9 = [5 x i8] c"fmax\00"
@.str.10 = [3 x i8] c"nf\00"
@.str.11 = [2 x i8] c"d\00"
@.str.12 = [15 x i8] c"%13.5e %10.5f\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca float
%4 = alloca float
%5 = alloca float
%6 = alloca i32
%7 = alloca float
%8 = alloca float
%9 = alloca float
%10 = alloca float
%11 = alloca float
%12 = alloca float
%13 = bitcast float* %3 to i8*
%14 = bitcast float* %4 to i8*
%15 = bitcast float* %5 to i8*
%16 = bitcast i32* %6 to i8*
store i32 1000, i32* %6
%17 = bitcast float* %7 to i8*
store float 0x3FD3333340000000, float* %7
%18 = bitcast float* %8 to i8*
store float 1.000000e+00, float* %8
%19 = bitcast float* %9 to i8*
store float 0x400AA9FBE0000000, float* %9
%20 = bitcast float* %10 to i8*
store float 1.000000e+01, float* %10
%21 = bitcast float* %11 to i8*
store float 0x3FB99999A0000000, float* %11
%22 = bitcast float* %12 to i8*
store float 1.500000e+01, float* %12
%23 = tail call i32 @setpar(i32 %0, i8** %1)
%24 = call i32 @mstpar(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), float* %4)
%25 = call i32 @mstpar(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), float* %5)
%26 = call i32 @mstpar(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), float* %3)
%27 = call i32 (i8*, i8*, ...) @getpar(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), float* %11)
%28 = call i32 (i8*, i8*, ...) @getpar(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), float* %7)
%29 = call i32 (i8*, i8*, ...) @getpar(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), float* %8)
%30 = call i32 (i8*, i8*, ...) @getpar(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), float* %9)
%31 = call i32 (i8*, i8*, ...) @getpar(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), float* %10)
%32 = call i32 (i8*, i8*, ...) @getpar(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), float* %12)
%33 = call i32 (i8*, i8*, ...) @getpar(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.11, i64 0, i64 0), i32* %6)
%34 = call i32 (...) @endpar()
%35 = load float, float* %4
%36 = load float, float* %5
%37 = fdiv float %35, %36
%38 = load float, float* %3
%39 = fpext float %38 to double
%40 = fcmp olt double %39, 1.000000e-01
br i1 %40, label %66, label %41
41: ; preds = %2
%42 = fcmp olt double %39, 2.000000e-01
br i1 %42, label %43, label %50
43: ; preds = %41
%44 = fadd double %39, -1.000000e-01
%45 = fsub double 3.500000e-01, %44
%46 = call double @llvm.fmuladd.f64(double %44, double -5.000000e-01, double 6.500000e-01)
%47 = insertelement <2 x double> poison, double %46, i64 0
%48 = insertelement <2 x double> %47, double %45, i64 1
%49 = fptrunc <2 x double> %48 to <2 x float>
br label %66
50: ; preds = %41
%51 = fcmp olt double %39, 3.000000e-01
br i1 %51, label %52, label %58
52: ; preds = %50
%53 = fadd double %39, -2.000000e-01
%54 = insertelement <2 x double> poison, double %53, i64 0
%55 = shufflevector <2 x double> %54, <2 x double> poison, <2 x i32> zeroinitializer
%56 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %55, <2 x double> <double 0xBFE6666666666666, double -1.500000e+00>, <2 x double> <double 6.000000e-01, double 2.500000e-01>)
%57 = fptrunc <2 x double> %56 to <2 x float>
br label %66
58: ; preds = %50
%59 = fcmp olt double %39, 4.000000e-01
br i1 %59, label %60, label %66
60: ; preds = %58
%61 = fadd double %39, -3.000000e-01
%62 = insertelement <2 x double> poison, double %61, i64 0
%63 = shufflevector <2 x double> %62, <2 x double> poison, <2 x i32> zeroinitializer
%64 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %63, <2 x double> <double -8.000000e-01, double -1.500000e+00>, <2 x double> <double 5.300000e-01, double 1.000000e-01>)
%65 = fptrunc <2 x double> %64 to <2 x float>
br label %66
66: ; preds = %58, %2, %43, %60, %52
%67 = phi <2 x float> [ %49, %43 ], [ %57, %52 ], [ %65, %60 ], [ <float 0x3FE4CCCCC0000000, float 0x3FD6666660000000>, %2 ], [ <float 0x3FDCCCCCC0000000, float 0xBFA99999A0000000>, %58 ]
%68 = call float @log(float %37)
%69 = extractelement <2 x float> %67, i64 1
%70 = fmul float %69, %68
%71 = fptosi float %70 to i32
%72 = call float @exp(i32 %71)
%73 = call float @log(float %37)
%74 = extractelement <2 x float> %67, i64 0
%75 = fmul float %74, %73
%76 = fptosi float %75 to i32
%77 = call float @exp(i32 %76)
%78 = load float, float* %11
%79 = load float, float* %7
%80 = fcmp ogt float %78, %79
br i1 %80, label %81, label %82
81: ; preds = %66
store float %79, float* %11
br label %82
82: ; preds = %81, %66
%83 = load float, float* %12
%84 = load float, float* %10
%85 = fcmp olt float %83, %84
br i1 %85, label %86, label %87
86: ; preds = %82
store float %84, float* %11
br label %87
87: ; preds = %86, %82
%88 = load i32, i32* %6
%89 = add nsw i32 %88, -1
%90 = sitofp i32 %89 to float
%91 = fdiv float 0x401F4BD2C0000000, %90
%92 = icmp sgt i32 %88, 0
br i1 %92, label %93, label %153
93: ; preds = %87
%94 = fpext float %72 to double
%95 = fsub double 1.000000e+00, %94
%96 = fsub float %72, %77
%97 = fpext float %77 to double
%98 = fadd double %97, -1.000000e+00
br label %99
99: ; preds = %93, %147
%100 = phi i32 [ 0, %93 ], [ %150, %147 ]
%101 = sitofp i32 %100 to float
%102 = fmul float %91, %101
%103 = fptosi float %102 to i32
%104 = call float @exp(i32 %103)
%105 = fmul float %104, 0x3F947AE140000000
%106 = load float, float* %11
%107 = fcmp olt float %105, %106
br i1 %107, label %147, label %108
108: ; preds = %99
%109 = load float, float* %7
%110 = fcmp olt float %105, %109
br i1 %110, label %111, label %120
111: ; preds = %108
%112 = fsub float %105, %106
%113 = fpext float %112 to double
%114 = fmul double %98, %113
%115 = fsub float %109, %106
%116 = fpext float %115 to double
%117 = fdiv double %114, %116
%118 = fadd double %117, 1.000000e+00
%119 = fptrunc double %118 to float
br label %147
120: ; preds = %108
%121 = load float, float* %8
%122 = fcmp olt float %105, %121
br i1 %122, label %147, label %123
123: ; preds = %120
%124 = load float, float* %9
%125 = fcmp olt float %105, %124
br i1 %125, label %126, label %132
126: ; preds = %123
%127 = fsub float %105, %121
%128 = fmul float %96, %127
%129 = fsub float %124, %121
%130 = fdiv float %128, %129
%131 = fadd float %77, %130
br label %147
132: ; preds = %123
%133 = load float, float* %10
%134 = fcmp olt float %105, %133
br i1 %134, label %147, label %135
135: ; preds = %132
%136 = load float, float* %12
%137 = fcmp olt float %105, %136
br i1 %137, label %138, label %147
138: ; preds = %135
%139 = fsub float %105, %133
%140 = fpext float %139 to double
%141 = fmul double %95, %140
%142 = fsub float %136, %133
%143 = fpext float %142 to double
%144 = fdiv double %141, %143
%145 = fadd double %144, %94
%146 = fptrunc double %145 to float
br label %147
147: ; preds = %135, %132, %120, %99, %111, %126, %138
%148 = phi float [ %119, %111 ], [ %131, %126 ], [ %146, %138 ], [ 1.000000e+00, %99 ], [ %77, %120 ], [ %72, %132 ], [ 1.000000e+00, %135 ]
%149 = call i32 @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0), float %105, float %148)
%150 = add nuw nsw i32 %100, 1
%151 = load i32, i32* %6
%152 = icmp slt i32 %150, %151
br i1 %152, label %99, label %153
153: ; preds = %147, %87
ret i32 0
}