#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 */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
double exp(int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, int, double, ...);
int /*<<< orphan*/ sprintf(char *, char *, int /*<<< orphan*/, char *);
int main() {
  double ez[200], hy[200 - 1], ceze[200], cezh[200], chyh[200 - 1],
      chye[200 - 1], imp0 = 377.0;
  int qTime, maxTime = 450, mm;
  char basename[80] = "sim", filename[100];
  int frame = 0;
  FILE *snapshot, *freq;
  for (mm = 0; mm < 200; mm++)
    ez[mm] = 0.0;
  for (mm = 0; mm < 200; mm++)
    hy[mm] = 0.0;
  for (mm = 0; mm < 200; mm++)
    if (mm < 100) {
      ceze[mm] = 1.0;
      cezh[mm] = imp0;
    } else if (mm < 180) {
      ceze[mm] = 1.0;
      cezh[mm] = imp0 / 9.0;
    } else {
      ceze[mm] = (1.0 - 0.01) / (1.0 + 0.01);
      cezh[mm] = imp0 / 9.0 / (1.0 + 0.01);
    }
  for (mm = 0; mm < 200 - 1; mm++)
    if (mm < 180) {
      chyh[mm] = 1.0;
      chye[mm] = 1.0 / imp0;
    } else {
      chyh[mm] = (1.0 - 0.01) / (1.0 + 0.01);
      chye[mm] = 1.0 / imp0 / (1.0 + 0.01);
    }
  freq = fopen("freq.data", "w");
  for (qTime = 0; qTime < maxTime; qTime++) {
    for (mm = 0; mm < 200 - 1; mm++)
      hy[mm] = chyh[mm] * hy[mm] + chye[mm] * (ez[mm + 1] - ez[mm]);
    hy[49] -= exp(-(qTime - 30.) * (qTime - 30.) / 100.) / imp0;
    ez[0] = ez[1];
    for (mm = 1; mm < 200 - 1; mm++)
      ez[mm] = ceze[mm] * ez[mm] + cezh[mm] * (hy[mm] - hy[mm - 1]);
    fprintf(freq, "%d\t%g\n", qTime, ez[30]);
    ez[50] += exp(-(qTime + 0.5 - (-0.5) - 30.) * (qTime + 0.5 - (-0.5) - 30.) /
                  100.);
    if (qTime % 10 == 0) {
      sprintf(filename, "%d.%s", frame++, basename);
      snapshot = fopen(filename, "w");
      for (mm = 0; mm < 200; mm++)
        fprintf(snapshot, "%d\t%g\t%g\n", mm, ez[mm], hy[mm]);
      fclose(snapshot);
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x2690,%rsp
movl   $0x0,-0x4(%rbp)
movsd  0xe86(%rip),%xmm0
movsd  %xmm0,-0x2598(%rbp)
ff
movl   $0x1c2,-0x25a0(%rbp)
lea    -0x2600(%rbp),%rdi
xor    %esi,%esi
mov    $0x50,%edx
call   1040 <memset@plt>
movb   $0x73,-0x2600(%rbp)
movb   $0x69,-0x25ff(%rbp)
movb   $0x6d,-0x25fe(%rbp)
movl   $0x0,-0x2674(%rbp)
movl   $0x0,-0x25a4(%rbp)
cmpl   $0xc8,-0x25a4(%rbp)
jge    11ff <main+0x9f>
movslq -0x25a4(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x650(%rbp,%rax,8)
ff ff
mov    -0x25a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x25a4(%rbp)
jmp    11c8 <main+0x68>
movl   $0x0,-0x25a4(%rbp)
cmpl   $0xc8,-0x25a4(%rbp)
jge    1240 <main+0xe0>
movslq -0x25a4(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xc90(%rbp,%rax,8)
ff ff
mov    -0x25a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x25a4(%rbp)
jmp    1209 <main+0xa9>
movl   $0x0,-0x25a4(%rbp)
cmpl   $0xc8,-0x25a4(%rbp)
jge    1353 <main+0x1f3>
cmpl   $0x64,-0x25a4(%rbp)
jge    129c <main+0x13c>
movslq -0x25a4(%rbp),%rax
movsd  0xdba(%rip),%xmm0
movsd  %xmm0,-0x12d0(%rbp,%rax,8)
ff ff
movsd  -0x2598(%rbp),%xmm0
ff
movslq -0x25a4(%rbp),%rax
movsd  %xmm0,-0x1910(%rbp,%rax,8)
ff ff
jmp    133a <main+0x1da>
cmpl   $0xb4,-0x25a4(%rbp)
jge    12ed <main+0x18d>
movslq -0x25a4(%rbp),%rax
movsd  0xd75(%rip),%xmm0
movsd  %xmm0,-0x12d0(%rbp,%rax,8)
ff ff
movsd  -0x2598(%rbp),%xmm0
ff
movsd  0xd6c(%rip),%xmm1
divsd  %xmm1,%xmm0
movslq -0x25a4(%rbp),%rax
movsd  %xmm0,-0x1910(%rbp,%rax,8)
ff ff
jmp    1335 <main+0x1d5>
movslq -0x25a4(%rbp),%rax
movsd  0xd3c(%rip),%xmm0
movsd  %xmm0,-0x12d0(%rbp,%rax,8)
ff ff
movsd  -0x2598(%rbp),%xmm0
ff
movsd  0xd2b(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  0xd07(%rip),%xmm1
divsd  %xmm1,%xmm0
movslq -0x25a4(%rbp),%rax
movsd  %xmm0,-0x1910(%rbp,%rax,8)
ff ff
jmp    133a <main+0x1da>
jmp    133f <main+0x1df>
mov    -0x25a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x25a4(%rbp)
jmp    124a <main+0xea>
movl   $0x0,-0x25a4(%rbp)
cmpl   $0xc7,-0x25a4(%rbp)
jge    1417 <main+0x2b7>
cmpl   $0xb4,-0x25a4(%rbp)
jge    13ba <main+0x25a>
movslq -0x25a4(%rbp),%rax
movsd  0xca4(%rip),%xmm0
movsd  %xmm0,-0x1f50(%rbp,%rax,8)
ff ff
movsd  0xc93(%rip),%xmm0
divsd  -0x2598(%rbp),%xmm0
ff
movslq -0x25a4(%rbp),%rax
movsd  %xmm0,-0x2590(%rbp,%rax,8)
ff ff
jmp    13fe <main+0x29e>
movslq -0x25a4(%rbp),%rax
movsd  0xc6f(%rip),%xmm0
movsd  %xmm0,-0x1f50(%rbp,%rax,8)
ff ff
movsd  0xc56(%rip),%xmm0
divsd  -0x2598(%rbp),%xmm0
ff
movsd  0xc3e(%rip),%xmm1
divsd  %xmm1,%xmm0
movslq -0x25a4(%rbp),%rax
movsd  %xmm0,-0x2590(%rbp,%rax,8)
ff ff
jmp    1403 <main+0x2a3>
mov    -0x25a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x25a4(%rbp)
jmp    135d <main+0x1fd>
lea    0xc2a(%rip),%rdi
lea    0xc2d(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,-0x2688(%rbp)
movl   $0x0,-0x259c(%rbp)
mov    -0x259c(%rbp),%eax
cmp    -0x25a0(%rbp),%eax
jge    17b5 <main+0x655>
movl   $0x0,-0x25a4(%rbp)
cmpl   $0xc7,-0x25a4(%rbp)
jge    14eb <main+0x38b>
movslq -0x25a4(%rbp),%rax
movsd  -0x1f50(%rbp,%rax,8),%xmm0
ff ff
movslq -0x25a4(%rbp),%rax
movsd  -0xc90(%rbp,%rax,8),%xmm2
ff ff
movslq -0x25a4(%rbp),%rax
movsd  -0x2590(%rbp,%rax,8),%xmm1
ff ff
mov    -0x25a4(%rbp),%eax
add    $0x1,%eax
cltq
movsd  -0x650(%rbp,%rax,8),%xmm3
ff ff
movslq -0x25a4(%rbp),%rax
subsd  -0x650(%rbp,%rax,8),%xmm3
ff ff
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movslq -0x25a4(%rbp),%rax
movsd  %xmm0,-0xc90(%rbp,%rax,8)
ff ff
mov    -0x25a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x25a4(%rbp)
jmp    1457 <main+0x2f7>
cvtsi2sdl -0x259c(%rbp),%xmm0
ff
movsd  0xb15(%rip),%xmm1
subsd  %xmm1,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
cvtsi2sdl -0x259c(%rbp),%xmm1
ff
movsd  0xaea(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xad2(%rip),%xmm1
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1060 <exp@plt>
movaps %xmm0,%xmm1
divsd  -0x2598(%rbp),%xmm1
ff
movsd  -0xb08(%rbp),%xmm0
ff
subsd  %xmm1,%xmm0
movsd  %xmm0,-0xb08(%rbp)
ff
movsd  -0x648(%rbp),%xmm0
ff
movsd  %xmm0,-0x650(%rbp)
ff
movl   $0x1,-0x25a4(%rbp)
cmpl   $0xc7,-0x25a4(%rbp)
jge    1610 <main+0x4b0>
movslq -0x25a4(%rbp),%rax
movsd  -0x12d0(%rbp,%rax,8),%xmm0
ff ff
movslq -0x25a4(%rbp),%rax
movsd  -0x650(%rbp,%rax,8),%xmm2
ff ff
movslq -0x25a4(%rbp),%rax
movsd  -0x1910(%rbp,%rax,8),%xmm1
ff ff
movslq -0x25a4(%rbp),%rax
movsd  -0xc90(%rbp,%rax,8),%xmm3
ff ff
mov    -0x25a4(%rbp),%eax
sub    $0x1,%eax
cltq
subsd  -0xc90(%rbp,%rax,8),%xmm3
ff ff
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movslq -0x25a4(%rbp),%rax
movsd  %xmm0,-0x650(%rbp,%rax,8)
ff ff
mov    -0x25a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x25a4(%rbp)
jmp    157c <main+0x41c>
mov    -0x2688(%rbp),%rdi
mov    -0x259c(%rbp),%edx
movsd  -0x560(%rbp),%xmm0
ff
lea    0xa28(%rip),%rsi
mov    $0x1,%al
call   1050 <fprintf@plt>
cvtsi2sdl -0x259c(%rbp),%xmm0
ff
movsd  0x9dd(%rip),%xmm1
addsd  %xmm1,%xmm0
movsd  0x9c9(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0x9b5(%rip),%xmm1
subsd  %xmm1,%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
cvtsi2sdl -0x259c(%rbp),%xmm1
ff
movsd  0x99a(%rip),%xmm2
addsd  %xmm2,%xmm1
movsd  0x986(%rip),%xmm2
subsd  %xmm2,%xmm1
movsd  0x972(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0x95a(%rip),%xmm1
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1060 <exp@plt>
addsd  -0x4c0(%rbp),%xmm0
ff
movsd  %xmm0,-0x4c0(%rbp)
ff
mov    -0x259c(%rbp),%eax
mov    $0xa,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    179c <main+0x63c>
lea    -0x2670(%rbp),%rdi
mov    -0x2674(%rbp),%edx
mov    %edx,%eax
add    $0x1,%eax
mov    %eax,-0x2674(%rbp)
lea    -0x2600(%rbp),%rcx
lea    0x953(%rip),%rsi
call   1080 <sprintf@plt>
lea    -0x2670(%rbp),%rdi
lea    0x937(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,-0x2680(%rbp)
movl   $0x0,-0x25a4(%rbp)
cmpl   $0xc8,-0x25a4(%rbp)
jge    1790 <main+0x630>
mov    -0x2680(%rbp),%rdi
mov    -0x25a4(%rbp),%edx
movslq -0x25a4(%rbp),%rax
movsd  -0x650(%rbp,%rax,8),%xmm0
ff ff
movslq -0x25a4(%rbp),%rax
movsd  -0xc90(%rbp,%rax,8),%xmm1
ff ff
lea    0x8ec(%rip),%rsi
mov    $0x2,%al
call   1050 <fprintf@plt>
mov    -0x25a4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x25a4(%rbp)
jmp    1731 <main+0x5d1>
mov    -0x2680(%rbp),%rdi
call   1030 <fclose@plt>
jmp    17a1 <main+0x641>
mov    -0x259c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x259c(%rbp)
jmp    143b <main+0x2db>
xor    %eax,%eax
add    $0x2690,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x26b8,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
movw   $0x6973,0x70(%rsp)
movb   $0x6d,0x72(%rsp)
lea    0xc0(%rsp),%rdi
xor    %ebx,%ebx
mov    $0x640,%edx
xor    %esi,%esi
call   1040 <memset@plt>
lea    0x700(%rsp),%rdi
mov    $0x640,%edx
xor    %esi,%esi
call   1040 <memset@plt>
movabs $0x3ff0000000000000,%rax
movsd  0xe2f(%rip),%xmm0
movsd  0xe1f(%rip),%xmm1
movabs $0x3fef5dc83cd4e930,%rcx
5d ef 3f
movsd  0xe05(%rip),%xmm2
jmp    1222 <main+0xc2>
nopl   (%rax)
mov    %rax,0x1a30(%rsp,%rbx,8)
movapd %xmm0,%xmm3
movsd  %xmm3,0x2070(%rsp,%rbx,8)
add    $0x1,%rbx
cmp    $0xc8,%rbx
je     124e <main+0xee>
cmp    $0x63,%rbx
jbe    1200 <main+0xa0>
cmp    $0xb3,%rbx
ja     1240 <main+0xe0>
mov    %rax,0x1a30(%rsp,%rbx,8)
movapd %xmm1,%xmm3
jmp    120c <main+0xac>
nop
mov    %rcx,0x1a30(%rsp,%rbx,8)
movapd %xmm2,%xmm3
jmp    120c <main+0xac>
xor    %edx,%edx
lea    0xde9(%rip),%rax
lea    0xdf2(%rip),%rcx
xchg   %ax,%ax
xor    %esi,%esi
cmp    $0xb4,%rdx
setb   %sil
movsd  (%rax,%rsi,8),%xmm0
movsd  (%rcx,%rsi,8),%xmm1
movsd  %xmm0,0x13f0(%rsp,%rdx,8)
movsd  %xmm1,0xdb0(%rsp,%rdx,8)
lea    0x1(%rdx),%rsi
cmp    $0xc7,%rsi
je     12cc <main+0x16c>
lea    -0x1(%rsi),%rdi
xor    %ebp,%ebp
cmp    $0xb3,%rdi
setb   %bpl
movsd  (%rax,%rbp,8),%xmm0
movsd  (%rcx,%rbp,8),%xmm1
movsd  %xmm0,0x13f8(%rsp,%rdx,8)
movsd  %xmm1,0xdb8(%rsp,%rdx,8)
add    $0x1,%rsi
mov    %rsi,%rdx
jmp    1260 <main+0x100>
lea    0xd8d(%rip),%rdi
lea    0xd90(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,%r15
movsd  0x13f0(%rsp),%xmm0
movsd  %xmm0,0x68(%rsp)
movsd  0xdb0(%rsp),%xmm0
movsd  %xmm0,0x60(%rsp)
movsd  0x1a18(%rsp),%xmm0
movsd  %xmm0,0x58(%rsp)
movsd  0x13d8(%rsp),%xmm0
movsd  %xmm0,0x50(%rsp)
movsd  0x1a20(%rsp),%xmm0
movsd  %xmm0,0x48(%rsp)
movsd  0x13e0(%rsp),%xmm0
movsd  %xmm0,0x40(%rsp)
movsd  0x1a38(%rsp),%xmm0
movsd  %xmm0,0x38(%rsp)
movsd  0x2078(%rsp),%xmm0
movsd  %xmm0,0x30(%rsp)
movsd  0x2060(%rsp),%xmm0
movsd  %xmm0,0x28(%rsp)
xor    %ebx,%ebx
xorps  %xmm0,%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x26a0(%rsp),%xmm0
movsd  %xmm0,0x20(%rsp)
lea    0xce2(%rip),%rbp
lea    0xce8(%rip),%r13
xor    %r12d,%r12d
xorpd  %xmm0,%xmm0
movsd  %xmm0,(%rsp)
xorpd  %xmm7,%xmm7
mov    %rax,0x18(%rsp)
jmp    13cd <main+0x26d>
nopl   0x0(%rax,%rax,1)
movsd  0x10(%rsp),%xmm7
addsd  0xc7a(%rip),%xmm7
add    $0x1,%ebx
cmp    $0x1c2,%ebx
je     177d <main+0x61d>
movsd  0x8(%rsp),%xmm2
mulsd  0x68(%rsp),%xmm2
movsd  0xc8(%rsp),%xmm1
unpcklpd %xmm1,%xmm0
subsd  (%rsp),%xmm1
mulsd  0x60(%rsp),%xmm1
addsd  %xmm2,%xmm1
movsd  %xmm1,0x700(%rsp)
xor    %eax,%eax
movupd 0x708(%rsp,%rax,8),%xmm1
movupd 0x718(%rsp,%rax,8),%xmm2
movupd 0x13f8(%rsp,%rax,8),%xmm3
mulpd  %xmm1,%xmm3
movupd 0x1408(%rsp,%rax,8),%xmm1
mulpd  %xmm2,%xmm1
movupd 0xdb8(%rsp,%rax,8),%xmm2
movupd 0xdc8(%rsp,%rax,8),%xmm4
movapd 0xd0(%rsp,%rax,8),%xmm5
shufpd $0x1,%xmm5,%xmm0
movapd %xmm5,%xmm6
subpd  %xmm0,%xmm5
movapd 0xe0(%rsp,%rax,8),%xmm0
shufpd $0x1,%xmm0,%xmm6
mulpd  %xmm2,%xmm5
addpd  %xmm3,%xmm5
movapd %xmm0,%xmm2
subpd  %xmm6,%xmm2
mulpd  %xmm4,%xmm2
addpd  %xmm1,%xmm2
movupd %xmm5,0x708(%rsp,%rax,8)
movupd %xmm2,0x718(%rsp,%rax,8)
add    $0x4,%rax
cmp    $0xc4,%rax
jne    1400 <main+0x2a0>
unpckhpd %xmm0,%xmm0
movsd  0x6f0(%rsp),%xmm1
movsd  0x6f8(%rsp),%xmm2
subsd  %xmm1,%xmm2
subsd  %xmm0,%xmm1
mulsd  0x50(%rsp),%xmm1
movsd  0xd28(%rsp),%xmm0
mulsd  0x58(%rsp),%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0xd28(%rsp)
mulsd  0x40(%rsp),%xmm2
movsd  0xd30(%rsp),%xmm0
mulsd  0x48(%rsp),%xmm0
addsd  %xmm2,%xmm0
movsd  %xmm0,0xd30(%rsp)
movsd  %xmm7,0x10(%rsp)
movapd %xmm7,%xmm0
addsd  0xb08(%rip),%xmm0
mulsd  %xmm0,%xmm0
divsd  0xb04(%rip),%xmm0
cvttsd2si %xmm0,%edi
call   1060 <exp@plt>
divsd  0xafb(%rip),%xmm0
addsd  0x888(%rsp),%xmm0
movsd  %xmm0,0x888(%rsp)
movsd  0xc8(%rsp),%xmm3
movsd  %xmm3,0xc0(%rsp)
movsd  0x700(%rsp),%xmm2
movsd  0x708(%rsp),%xmm1
unpcklpd %xmm1,%xmm0
movsd  %xmm2,0x8(%rsp)
subsd  %xmm2,%xmm1
mulsd  0x30(%rsp),%xmm1
movsd  0x38(%rsp),%xmm2
movsd  %xmm3,(%rsp)
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  %xmm2,0xc8(%rsp)
mov    $0x4,%eax
nopl   0x0(%rax,%rax,1)
movapd 0x1a20(%rsp,%rax,8),%xmm1
movapd 0x1a30(%rsp,%rax,8),%xmm2
movapd 0x6f0(%rsp,%rax,8),%xmm3
shufpd $0x1,%xmm3,%xmm0
movapd %xmm3,%xmm4
subpd  %xmm0,%xmm3
movapd 0x700(%rsp,%rax,8),%xmm0
shufpd $0x1,%xmm0,%xmm4
movapd %xmm0,%xmm5
subpd  %xmm4,%xmm5
mulpd  0x2060(%rsp,%rax,8),%xmm3
mulpd  0x2070(%rsp,%rax,8),%xmm5
mulpd  0xb0(%rsp,%rax,8),%xmm1
addpd  %xmm3,%xmm1
mulpd  0xc0(%rsp,%rax,8),%xmm2
addpd  %xmm5,%xmm2
movapd %xmm1,0xb0(%rsp,%rax,8)
movapd %xmm2,0xc0(%rsp,%rax,8)
add    $0x4,%rax
cmp    $0xc8,%rax
jne    15a0 <main+0x440>
unpckhpd %xmm0,%xmm0
movsd  0xd30(%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0x20(%rsp),%xmm1
movsd  0x6f0(%rsp),%xmm0
mulsd  0x28(%rsp),%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x6f0(%rsp)
movsd  0x1b0(%rsp),%xmm0
mov    %r15,%rdi
mov    %rbp,%rsi
mov    %ebx,%edx
mov    $0x1,%al
call   1050 <fprintf@plt>
movsd  0x10(%rsp),%xmm0
movsd  0x9ab(%rip),%xmm1
addsd  %xmm1,%xmm0
addsd  %xmm1,%xmm0
addsd  0x983(%rip),%xmm0
mulsd  %xmm0,%xmm0
divsd  0x97f(%rip),%xmm0
cvttsd2si %xmm0,%edi
call   1060 <exp@plt>
addsd  0x250(%rsp),%xmm0
movsd  %xmm0,0x250(%rsp)
imul   $0xcccccccd,%ebx,%eax
ror    %eax
cmp    $0x19999999,%eax
ja     13b0 <main+0x250>
mov    %rbp,%r15
lea    0xd40(%rsp),%rbp
mov    %rbp,%rdi
lea    0x98f(%rip),%rsi
mov    %r12d,%r14d
mov    %r12d,%edx
lea    0x70(%rsp),%rcx
call   1080 <sprintf@plt>
mov    %rbp,%rdi
lea    0x96c(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,%rbp
mov    %rax,%rdi
mov    %r13,%rsi
xor    %edx,%edx
movsd  (%rsp),%xmm0
movsd  0x8(%rsp),%xmm1
mov    $0x2,%al
call   1050 <fprintf@plt>
mov    $0x1,%r12d
cs nopw 0x0(%rax,%rax,1)
movsd  0xc0(%rsp,%r12,8),%xmm0
movsd  0x700(%rsp,%r12,8),%xmm1
mov    %rbp,%rdi
mov    %r13,%rsi
mov    %r12d,%edx
mov    $0x2,%al
call   1050 <fprintf@plt>
add    $0x1,%r12
cmp    $0xc8,%r12
jne    1730 <main+0x5d0>
mov    %r14d,%r12d
add    $0x1,%r12d
mov    %rbp,%rdi
call   1030 <fclose@plt>
mov    %r15,%rbp
mov    0x18(%rsp),%r15
jmp    13b0 <main+0x250>
xor    %eax,%eax
add    $0x26b8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [10 x i8] c"freq.data\00"
@.str.1 = [2 x i8] c"w\00"
@.str.2 = [7 x i8] c"%d\09%g\0A\00"
@.str.3 = [6 x i8] c"%d.%s\00"
@.str.4 = [10 x i8] c"%d\09%g\09%g\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [200 x double]
%3 = alloca [199 x double]
%4 = alloca [200 x double]
%5 = alloca [200 x double]
%6 = alloca [199 x double]
%7 = alloca [199 x double]
%8 = alloca double
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca [80 x i8]
%13 = alloca [100 x i8]
%14 = alloca i32
%15 = alloca i32*
%16 = alloca i32*
store i32 0, i32* %1
store double 3.770000e+02, double* %8
store i32 450, i32* %10
%17 = bitcast [80 x i8]* %12 to i8*
%18 = bitcast i8* %17 to [80 x i8]*
%19 = getelementptr inbounds [80 x i8], [80 x i8]* %18, i32 0, i32 0
store i8 115, i8* %19
%20 = getelementptr inbounds [80 x i8], [80 x i8]* %18, i32 0, i32 1
store i8 105, i8* %20
%21 = getelementptr inbounds [80 x i8], [80 x i8]* %18, i32 0, i32 2
store i8 109, i8* %21
store i32 0, i32* %14
store i32 0, i32* %11
br label %22
22: ; preds = %29, %0
%23 = load i32, i32* %11
%24 = icmp slt i32 %23, 200
br i1 %24, label %25, label %32
25: ; preds = %22
%26 = load i32, i32* %11
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [200 x double], [200 x double]* %2, i64 0, i64 %27
store double 0.000000e+00, double* %28
br label %29
29: ; preds = %25
%30 = load i32, i32* %11
%31 = add nsw i32 %30, 1
store i32 %31, i32* %11
br label %22
32: ; preds = %22
store i32 0, i32* %11
br label %33
33: ; preds = %40, %32
%34 = load i32, i32* %11
%35 = icmp slt i32 %34, 200
br i1 %35, label %36, label %43
36: ; preds = %33
%37 = load i32, i32* %11
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [199 x double], [199 x double]* %3, i64 0, i64 %38
store double 0.000000e+00, double* %39
br label %40
40: ; preds = %36
%41 = load i32, i32* %11
%42 = add nsw i32 %41, 1
store i32 %42, i32* %11
br label %33
43: ; preds = %33
store i32 0, i32* %11
br label %44
44: ; preds = %82, %43
%45 = load i32, i32* %11
%46 = icmp slt i32 %45, 200
br i1 %46, label %47, label %85
47: ; preds = %44
%48 = load i32, i32* %11
%49 = icmp slt i32 %48, 100
br i1 %49, label %50, label %58
50: ; preds = %47
%51 = load i32, i32* %11
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [200 x double], [200 x double]* %4, i64 0, i64 %52
store double 1.000000e+00, double* %53
%54 = load double, double* %8
%55 = load i32, i32* %11
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [200 x double], [200 x double]* %5, i64 0, i64 %56
store double %54, double* %57
br label %81
58: ; preds = %47
%59 = load i32, i32* %11
%60 = icmp slt i32 %59, 180
br i1 %60, label %61, label %70
61: ; preds = %58
%62 = load i32, i32* %11
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [200 x double], [200 x double]* %4, i64 0, i64 %63
store double 1.000000e+00, double* %64
%65 = load double, double* %8
%66 = fdiv double %65, 9.000000e+00
%67 = load i32, i32* %11
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [200 x double], [200 x double]* %5, i64 0, i64 %68
store double %66, double* %69
br label %80
70: ; preds = %58
%71 = load i32, i32* %11
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [200 x double], [200 x double]* %4, i64 0, i64 %72
store double 0x3FEF5DC83CD4E930, double* %73
%74 = load double, double* %8
%75 = fdiv double %74, 9.000000e+00
%76 = fdiv double %75, 1.010000e+00
%77 = load i32, i32* %11
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [200 x double], [200 x double]* %5, i64 0, i64 %78
store double %76, double* %79
br label %80
80: ; preds = %70, %61
br label %81
81: ; preds = %80, %50
br label %82
82: ; preds = %81
%83 = load i32, i32* %11
%84 = add nsw i32 %83, 1
store i32 %84, i32* %11
br label %44
85: ; preds = %44
store i32 0, i32* %11
br label %86
86: ; preds = %112, %85
%87 = load i32, i32* %11
%88 = icmp slt i32 %87, 199
br i1 %88, label %89, label %115
89: ; preds = %86
%90 = load i32, i32* %11
%91 = icmp slt i32 %90, 180
br i1 %91, label %92, label %101
92: ; preds = %89
%93 = load i32, i32* %11
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [199 x double], [199 x double]* %6, i64 0, i64 %94
store double 1.000000e+00, double* %95
%96 = load double, double* %8
%97 = fdiv double 1.000000e+00, %96
%98 = load i32, i32* %11
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [199 x double], [199 x double]* %7, i64 0, i64 %99
store double %97, double* %100
br label %111
101: ; preds = %89
%102 = load i32, i32* %11
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds [199 x double], [199 x double]* %6, i64 0, i64 %103
store double 0x3FEF5DC83CD4E930, double* %104
%105 = load double, double* %8
%106 = fdiv double 1.000000e+00, %105
%107 = fdiv double %106, 1.010000e+00
%108 = load i32, i32* %11
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds [199 x double], [199 x double]* %7, i64 0, i64 %109
store double %107, double* %110
br label %111
111: ; preds = %101, %92
br label %112
112: ; preds = %111
%113 = load i32, i32* %11
%114 = add nsw i32 %113, 1
store i32 %114, i32* %11
br label %86
115: ; preds = %86
%116 = call i32* @fopen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %116, i32** %16
store i32 0, i32* %9
br label %117
117: ; preds = %267, %115
%118 = load i32, i32* %9
%119 = load i32, i32* %10
%120 = icmp slt i32 %118, %119
br i1 %120, label %121, label %270
121: ; preds = %117
store i32 0, i32* %11
br label %122
122: ; preds = %153, %121
%123 = load i32, i32* %11
%124 = icmp slt i32 %123, 199
br i1 %124, label %125, label %156
125: ; preds = %122
%126 = load i32, i32* %11
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [199 x double], [199 x double]* %6, i64 0, i64 %127
%129 = load double, double* %128
%130 = load i32, i32* %11
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds [199 x double], [199 x double]* %3, i64 0, i64 %131
%133 = load double, double* %132
%134 = load i32, i32* %11
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds [199 x double], [199 x double]* %7, i64 0, i64 %135
%137 = load double, double* %136
%138 = load i32, i32* %11
%139 = add nsw i32 %138, 1
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [200 x double], [200 x double]* %2, i64 0, i64 %140
%142 = load double, double* %141
%143 = load i32, i32* %11
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [200 x double], [200 x double]* %2, i64 0, i64 %144
%146 = load double, double* %145
%147 = fsub double %142, %146
%148 = fmul double %137, %147
%149 = call double @llvm.fmuladd.f64(double %129, double %133, double %148)
%150 = load i32, i32* %11
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds [199 x double], [199 x double]* %3, i64 0, i64 %151
store double %149, double* %152
br label %153
153: ; preds = %125
%154 = load i32, i32* %11
%155 = add nsw i32 %154, 1
store i32 %155, i32* %11
br label %122
156: ; preds = %122
%157 = load i32, i32* %9
%158 = sitofp i32 %157 to double
%159 = fsub double %158, 3.000000e+01
%160 = fneg double %159
%161 = load i32, i32* %9
%162 = sitofp i32 %161 to double
%163 = fsub double %162, 3.000000e+01
%164 = fmul double %160, %163
%165 = fdiv double %164, 1.000000e+02
%166 = fptosi double %165 to i32
%167 = call double @exp(i32 %166)
%168 = load double, double* %8
%169 = fdiv double %167, %168
%170 = getelementptr inbounds [199 x double], [199 x double]* %3, i64 0, i64 49
%171 = load double, double* %170
%172 = fsub double %171, %169
store double %172, double* %170
%173 = getelementptr inbounds [200 x double], [200 x double]* %2, i64 0, i64 1
%174 = load double, double* %173
%175 = getelementptr inbounds [200 x double], [200 x double]* %2, i64 0, i64 0
store double %174, double* %175
store i32 1, i32* %11
br label %176
176: ; preds = %207, %156
%177 = load i32, i32* %11
%178 = icmp slt i32 %177, 199
br i1 %178, label %179, label %210
179: ; preds = %176
%180 = load i32, i32* %11
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds [200 x double], [200 x double]* %4, i64 0, i64 %181
%183 = load double, double* %182
%184 = load i32, i32* %11
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds [200 x double], [200 x double]* %2, i64 0, i64 %185
%187 = load double, double* %186
%188 = load i32, i32* %11
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds [200 x double], [200 x double]* %5, i64 0, i64 %189
%191 = load double, double* %190
%192 = load i32, i32* %11
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds [199 x double], [199 x double]* %3, i64 0, i64 %193
%195 = load double, double* %194
%196 = load i32, i32* %11
%197 = sub nsw i32 %196, 1
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds [199 x double], [199 x double]* %3, i64 0, i64 %198
%200 = load double, double* %199
%201 = fsub double %195, %200
%202 = fmul double %191, %201
%203 = call double @llvm.fmuladd.f64(double %183, double %187, double %202)
%204 = load i32, i32* %11
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds [200 x double], [200 x double]* %2, i64 0, i64 %205
store double %203, double* %206
br label %207
207: ; preds = %179
%208 = load i32, i32* %11
%209 = add nsw i32 %208, 1
store i32 %209, i32* %11
br label %176
210: ; preds = %176
%211 = load i32*, i32** %16
%212 = load i32, i32* %9
%213 = getelementptr inbounds [200 x double], [200 x double]* %2, i64 0, i64 30
%214 = load double, double* %213
%215 = call i32 (i32*, i8*, i32, double, ...) @fprintf(i32* %211, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %212, double %214)
%216 = load i32, i32* %9
%217 = sitofp i32 %216 to double
%218 = fadd double %217, 5.000000e-01
%219 = fsub double %218, -5.000000e-01
%220 = fsub double %219, 3.000000e+01
%221 = fneg double %220
%222 = load i32, i32* %9
%223 = sitofp i32 %222 to double
%224 = fadd double %223, 5.000000e-01
%225 = fsub double %224, -5.000000e-01
%226 = fsub double %225, 3.000000e+01
%227 = fmul double %221, %226
%228 = fdiv double %227, 1.000000e+02
%229 = fptosi double %228 to i32
%230 = call double @exp(i32 %229)
%231 = getelementptr inbounds [200 x double], [200 x double]* %2, i64 0, i64 50
%232 = load double, double* %231
%233 = fadd double %232, %230
store double %233, double* %231
%234 = load i32, i32* %9
%235 = srem i32 %234, 10
%236 = icmp eq i32 %235, 0
br i1 %236, label %237, label %266
237: ; preds = %210
%238 = getelementptr inbounds [100 x i8], [100 x i8]* %13, i64 0, i64 0
%239 = load i32, i32* %14
%240 = add nsw i32 %239, 1
store i32 %240, i32* %14
%241 = getelementptr inbounds [80 x i8], [80 x i8]* %12, i64 0, i64 0
%242 = call i32 @sprintf(i8* %238, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32 %239, i8* %241)
%243 = getelementptr inbounds [100 x i8], [100 x i8]* %13, i64 0, i64 0
%244 = call i32* @fopen(i8* %243, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %244, i32** %15
store i32 0, i32* %11
br label %245
245: ; preds = %260, %237
%246 = load i32, i32* %11
%247 = icmp slt i32 %246, 200
br i1 %247, label %248, label %263
248: ; preds = %245
%249 = load i32*, i32** %15
%250 = load i32, i32* %11
%251 = load i32, i32* %11
%252 = sext i32 %251 to i64
%253 = getelementptr inbounds [200 x double], [200 x double]* %2, i64 0, i64 %252
%254 = load double, double* %253
%255 = load i32, i32* %11
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds [199 x double], [199 x double]* %3, i64 0, i64 %256
%258 = load double, double* %257
%259 = call i32 (i32*, i8*, i32, double, ...) @fprintf(i32* %249, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %250, double %254, double %258)
br label %260
260: ; preds = %248
%261 = load i32, i32* %11
%262 = add nsw i32 %261, 1
store i32 %262, i32* %11
br label %245
263: ; preds = %245
%264 = load i32*, i32** %15
%265 = call i32 @fclose(i32* %264)
br label %266
266: ; preds = %263, %210
br label %267
267: ; preds = %266
%268 = load i32, i32* %9
%269 = add nsw i32 %268, 1
store i32 %269, i32* %9
br label %117
270: ; preds = %117
ret i32 0
}

LLVM IR (-O2):
@.str = [10 x i8] c"freq.data\00"
@.str.1 = [2 x i8] c"w\00"
@.str.2 = [7 x i8] c"%d\09%g\0A\00"
@.str.3 = [6 x i8] c"%d.%s\00"
@.str.4 = [10 x i8] c"%d\09%g\09%g\0A\00"
define i32 @main() {
%1 = alloca [200 x double]
%2 = bitcast [200 x double]* %1 to i8*
%3 = alloca [199 x double]
%4 = bitcast [199 x double]* %3 to i8*
%5 = alloca [200 x double]
%6 = alloca [200 x double]
%7 = alloca [199 x double]
%8 = alloca [199 x double]
%9 = alloca [80 x i8]
%10 = alloca [100 x i8]
%11 = bitcast [200 x double]* %5 to i8*
%12 = bitcast [200 x double]* %6 to i8*
%13 = bitcast [199 x double]* %7 to i8*
%14 = bitcast [199 x double]* %8 to i8*
%15 = getelementptr inbounds [80 x i8], [80 x i8]* %9, i64 0, i64 0
store i8 115, i8* %15
%16 = getelementptr inbounds [80 x i8], [80 x i8]* %9, i64 0, i64 1
store i8 105, i8* %16
%17 = getelementptr inbounds [80 x i8], [80 x i8]* %9, i64 0, i64 2
store i8 109, i8* %17
%18 = getelementptr inbounds [100 x i8], [100 x i8]* %10, i64 0, i64 0
br label %19
19: ; preds = %0, %29
%20 = phi i64 [ 0, %0 ], [ %32, %29 ]
%21 = icmp ult i64 %20, 100
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = getelementptr inbounds [200 x double], [200 x double]* %5, i64 0, i64 %20
store double 1.000000e+00, double* %23
br label %29
24: ; preds = %19
%25 = icmp ult i64 %20, 180
%26 = getelementptr inbounds [200 x double], [200 x double]* %5, i64 0, i64 %20
br i1 %25, label %27, label %28
27: ; preds = %24
store double 1.000000e+00, double* %26
br label %29
28: ; preds = %24
store double 0x3FEF5DC83CD4E930, double* %26
br label %29
29: ; preds = %22, %28, %27
%30 = phi double [ 3.770000e+02, %22 ], [ 0x4044BCB0DCCBE617, %28 ], [ 0x4044F1C71C71C71C, %27 ]
%31 = getelementptr inbounds [200 x double], [200 x double]* %6, i64 0, i64 %20
store double %30, double* %31
%32 = add nuw nsw i64 %20, 1
%33 = icmp eq i64 %32, 200
br i1 %33, label %34, label %19
34: ; preds = %29, %43
%35 = phi i64 [ %49, %43 ], [ 0, %29 ]
%36 = icmp ult i64 %35, 180
%37 = select i1 %36, double 1.000000e+00, double 0x3FEF5DC83CD4E930
%38 = select i1 %36, double 0x3F65BABCC647FA91, double 0x3F6583A929B44197
%39 = getelementptr inbounds [199 x double], [199 x double]* %7, i64 0, i64 %35
store double %37, double* %39
%40 = getelementptr inbounds [199 x double], [199 x double]* %8, i64 0, i64 %35
store double %38, double* %40
%41 = or i64 %35, 1
%42 = icmp eq i64 %41, 199
br i1 %42, label %50, label %43
43: ; preds = %34
%44 = icmp ult i64 %35, 179
%45 = select i1 %44, double 1.000000e+00, double 0x3FEF5DC83CD4E930
%46 = select i1 %44, double 0x3F65BABCC647FA91, double 0x3F6583A929B44197
%47 = getelementptr inbounds [199 x double], [199 x double]* %7, i64 0, i64 %41
store double %45, double* %47
%48 = getelementptr inbounds [199 x double], [199 x double]* %8, i64 0, i64 %41
store double %46, double* %48
%49 = add nuw nsw i64 %35, 2
br label %34
50: ; preds = %34
%51 = tail call i32* @fopen(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%52 = getelementptr inbounds [199 x double], [199 x double]* %3, i64 0, i64 49
%53 = getelementptr inbounds [200 x double], [200 x double]* %1, i64 0, i64 1
%54 = getelementptr inbounds [200 x double], [200 x double]* %1, i64 0, i64 0
%55 = getelementptr inbounds [200 x double], [200 x double]* %1, i64 0, i64 30
%56 = getelementptr inbounds [200 x double], [200 x double]* %1, i64 0, i64 50
%57 = getelementptr inbounds [199 x double], [199 x double]* %3, i64 0, i64 0
%58 = getelementptr inbounds [199 x double], [199 x double]* %7, i64 0, i64 0
%59 = load double, double* %58
%60 = getelementptr inbounds [199 x double], [199 x double]* %3, i64 0, i64 0
%61 = getelementptr inbounds [199 x double], [199 x double]* %8, i64 0, i64 0
%62 = load double, double* %61
%63 = getelementptr inbounds [200 x double], [200 x double]* %1, i64 0, i64 1
%64 = getelementptr inbounds [199 x double], [199 x double]* %3, i64 0, i64 197
%65 = getelementptr inbounds [199 x double], [199 x double]* %7, i64 0, i64 197
%66 = load double, double* %65
%67 = getelementptr inbounds [199 x double], [199 x double]* %3, i64 0, i64 197
%68 = getelementptr inbounds [199 x double], [199 x double]* %8, i64 0, i64 197
%69 = load double, double* %68
%70 = getelementptr inbounds [200 x double], [200 x double]* %1, i64 0, i64 198
%71 = getelementptr inbounds [199 x double], [199 x double]* %3, i64 0, i64 198
%72 = getelementptr inbounds [199 x double], [199 x double]* %7, i64 0, i64 198
%73 = load double, double* %72
%74 = getelementptr inbounds [199 x double], [199 x double]* %3, i64 0, i64 198
%75 = getelementptr inbounds [199 x double], [199 x double]* %8, i64 0, i64 198
%76 = load double, double* %75
%77 = getelementptr inbounds [200 x double], [200 x double]* %1, i64 0, i64 199
%78 = getelementptr inbounds [200 x double], [200 x double]* %5, i64 0, i64 1
%79 = load double, double* %78
%80 = getelementptr inbounds [200 x double], [200 x double]* %1, i64 0, i64 1
%81 = getelementptr inbounds [200 x double], [200 x double]* %6, i64 0, i64 1
%82 = load double, double* %81
%83 = getelementptr inbounds [199 x double], [199 x double]* %3, i64 0, i64 1
%84 = getelementptr inbounds [200 x double], [200 x double]* %1, i64 0, i64 198
%85 = getelementptr inbounds [200 x double], [200 x double]* %5, i64 0, i64 198
%86 = load double, double* %85
%87 = getelementptr inbounds [200 x double], [200 x double]* %1, i64 0, i64 198
%88 = getelementptr inbounds [200 x double], [200 x double]* %6, i64 0, i64 198
%89 = load double, double* %88
%90 = getelementptr inbounds [199 x double], [199 x double]* %3, i64 0, i64 198
br label %91
91: ; preds = %50, %249
%92 = phi double [ 0.000000e+00, %50 ], [ %165, %249 ]
%93 = phi double [ 0.000000e+00, %50 ], [ %164, %249 ]
%94 = phi i32 [ 0, %50 ], [ %251, %249 ]
%95 = phi i32 [ 0, %50 ], [ %250, %249 ]
%96 = load double, double* %63
%97 = fsub double %96, %93
%98 = fmul double %62, %97
%99 = call double @llvm.fmuladd.f64(double %59, double %92, double %98)
store double %99, double* %60
%100 = insertelement <2 x double> poison, double %96, i64 1
br label %101
101: ; preds = %101, %91
%102 = phi i64 [ 0, %91 ], [ %140, %101 ]
%103 = phi <2 x double> [ %100, %91 ], [ %129, %101 ]
%104 = or i64 %102, 1
%105 = getelementptr inbounds [199 x double], [199 x double]* %3, i64 0, i64 %104
%106 = bitcast double* %105 to <2 x double>*
%107 = load <2 x double>, <2 x double>* %106
%108 = getelementptr inbounds double, double* %105, i64 2
%109 = bitcast double* %108 to <2 x double>*
%110 = load <2 x double>, <2 x double>* %109
%111 = getelementptr inbounds [199 x double], [199 x double]* %7, i64 0, i64 %104
%112 = bitcast double* %111 to <2 x double>*
%113 = load <2 x double>, <2 x double>* %112
%114 = getelementptr inbounds double, double* %111, i64 2
%115 = bitcast double* %114 to <2 x double>*
%116 = load <2 x double>, <2 x double>* %115
%117 = getelementptr inbounds [199 x double], [199 x double]* %8, i64 0, i64 %104
%118 = bitcast double* %117 to <2 x double>*
%119 = load <2 x double>, <2 x double>* %118
%120 = getelementptr inbounds double, double* %117, i64 2
%121 = bitcast double* %120 to <2 x double>*
%122 = load <2 x double>, <2 x double>* %121
%123 = or i64 %102, 2
%124 = getelementptr inbounds [200 x double], [200 x double]* %1, i64 0, i64 %123
%125 = bitcast double* %124 to <2 x double>*
%126 = load <2 x double>, <2 x double>* %125
%127 = getelementptr inbounds double, double* %124, i64 2
%128 = bitcast double* %127 to <2 x double>*
%129 = load <2 x double>, <2 x double>* %128
%130 = shufflevector <2 x double> %103, <2 x double> %126, <2 x i32> <i32 1, i32 2>
%131 = shufflevector <2 x double> %126, <2 x double> %129, <2 x i32> <i32 1, i32 2>
%132 = fsub <2 x double> %126, %130
%133 = fsub <2 x double> %129, %131
%134 = fmul <2 x double> %119, %132
%135 = fmul <2 x double> %122, %133
%136 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %113, <2 x double> %107, <2 x double> %134)
%137 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %116, <2 x double> %110, <2 x double> %135)
%138 = bitcast double* %105 to <2 x double>*
store <2 x double> %136, <2 x double>* %138
%139 = bitcast double* %108 to <2 x double>*
store <2 x double> %137, <2 x double>* %139
%140 = add nuw i64 %102, 4
%141 = icmp eq i64 %140, 196
br i1 %141, label %142, label %101
142: ; preds = %101
%143 = extractelement <2 x double> %129, i64 1
%144 = load double, double* %64
%145 = load double, double* %70
%146 = fsub double %145, %143
%147 = fmul double %69, %146
%148 = call double @llvm.fmuladd.f64(double %66, double %144, double %147)
store double %148, double* %67
%149 = load double, double* %71
%150 = load double, double* %77
%151 = fsub double %150, %145
%152 = fmul double %76, %151
%153 = call double @llvm.fmuladd.f64(double %73, double %149, double %152)
store double %153, double* %74
%154 = sitofp i32 %94 to double
%155 = fadd double %154, -3.000000e+01
%156 = fneg double %155
%157 = fmul double %155, %156
%158 = fdiv double %157, 1.000000e+02
%159 = fptosi double %158 to i32
%160 = call double @exp(i32 %159)
%161 = fdiv double %160, 3.770000e+02
%162 = load double, double* %52
%163 = fsub double %162, %161
store double %163, double* %52
%164 = load double, double* %53
store double %164, double* %54
%165 = load double, double* %57
%166 = load double, double* %83
%167 = fsub double %166, %165
%168 = fmul double %82, %167
%169 = call double @llvm.fmuladd.f64(double %79, double %164, double %168)
store double %169, double* %80
%170 = insertelement <2 x double> poison, double %166, i64 1
br label %171
171: ; preds = %171, %142
%172 = phi i64 [ 0, %142 ], [ %209, %171 ]
%173 = phi <2 x double> [ %170, %142 ], [ %198, %171 ]
%174 = or i64 %172, 2
%175 = getelementptr inbounds [200 x double], [200 x double]* %1, i64 0, i64 %174
%176 = bitcast double* %175 to <2 x double>*
%177 = load <2 x double>, <2 x double>* %176
%178 = getelementptr inbounds double, double* %175, i64 2
%179 = bitcast double* %178 to <2 x double>*
%180 = load <2 x double>, <2 x double>* %179
%181 = getelementptr inbounds [200 x double], [200 x double]* %5, i64 0, i64 %174
%182 = bitcast double* %181 to <2 x double>*
%183 = load <2 x double>, <2 x double>* %182
%184 = getelementptr inbounds double, double* %181, i64 2
%185 = bitcast double* %184 to <2 x double>*
%186 = load <2 x double>, <2 x double>* %185
%187 = getelementptr inbounds [200 x double], [200 x double]* %6, i64 0, i64 %174
%188 = bitcast double* %187 to <2 x double>*
%189 = load <2 x double>, <2 x double>* %188
%190 = getelementptr inbounds double, double* %187, i64 2
%191 = bitcast double* %190 to <2 x double>*
%192 = load <2 x double>, <2 x double>* %191
%193 = getelementptr inbounds [199 x double], [199 x double]* %3, i64 0, i64 %174
%194 = bitcast double* %193 to <2 x double>*
%195 = load <2 x double>, <2 x double>* %194
%196 = getelementptr inbounds double, double* %193, i64 2
%197 = bitcast double* %196 to <2 x double>*
%198 = load <2 x double>, <2 x double>* %197
%199 = shufflevector <2 x double> %173, <2 x double> %195, <2 x i32> <i32 1, i32 2>
%200 = shufflevector <2 x double> %195, <2 x double> %198, <2 x i32> <i32 1, i32 2>
%201 = fsub <2 x double> %195, %199
%202 = fsub <2 x double> %198, %200
%203 = fmul <2 x double> %189, %201
%204 = fmul <2 x double> %192, %202
%205 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %183, <2 x double> %177, <2 x double> %203)
%206 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %186, <2 x double> %180, <2 x double> %204)
%207 = bitcast double* %175 to <2 x double>*
store <2 x double> %205, <2 x double>* %207
%208 = bitcast double* %178 to <2 x double>*
store <2 x double> %206, <2 x double>* %208
%209 = add nuw i64 %172, 4
%210 = icmp eq i64 %209, 196
br i1 %210, label %211, label %171
211: ; preds = %171
%212 = extractelement <2 x double> %198, i64 1
%213 = load double, double* %84
%214 = load double, double* %90
%215 = fsub double %214, %212
%216 = fmul double %89, %215
%217 = call double @llvm.fmuladd.f64(double %86, double %213, double %216)
store double %217, double* %87
%218 = load double, double* %55
%219 = call i32 (i32*, i8*, i32, double, ...) @fprintf(i32* %51, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i32 %94, double %218)
%220 = fadd double %154, 5.000000e-01
%221 = fadd double %220, 5.000000e-01
%222 = fadd double %221, -3.000000e+01
%223 = fneg double %222
%224 = fmul double %222, %223
%225 = fdiv double %224, 1.000000e+02
%226 = fptosi double %225 to i32
%227 = call double @exp(i32 %226)
%228 = load double, double* %56
%229 = fadd double %227, %228
store double %229, double* %56
%230 = urem i32 %94, 10
%231 = icmp eq i32 %230, 0
br i1 %231, label %232, label %249
232: ; preds = %211
%233 = call i32 @sprintf(i8* %18, i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32 %95, i8* %15)
%234 = call i32* @fopen(i8* %18, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%235 = call i32 (i32*, i8*, i32, double, ...) @fprintf(i32* %234, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 0, double %164, double %165)
br label %236
236: ; preds = %232, %236
%237 = phi i64 [ 1, %232 ], [ %244, %236 ]
%238 = getelementptr inbounds [200 x double], [200 x double]* %1, i64 0, i64 %237
%239 = load double, double* %238
%240 = getelementptr inbounds [199 x double], [199 x double]* %3, i64 0, i64 %237
%241 = load double, double* %240
%242 = trunc i64 %237 to i32
%243 = call i32 (i32*, i8*, i32, double, ...) @fprintf(i32* %234, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 %242, double %239, double %241)
%244 = add nuw nsw i64 %237, 1
%245 = icmp eq i64 %244, 200
br i1 %245, label %246, label %236
246: ; preds = %236
%247 = add nsw i32 %95, 1
%248 = call i32 @fclose(i32* %234)
br label %249
249: ; preds = %211, %246
%250 = phi i32 [ %247, %246 ], [ %95, %211 ]
%251 = add nuw nsw i32 %94, 1
%252 = icmp eq i32 %251, 450
br i1 %252, label %253, label %91
253: ; preds = %249
ret i32 0
}