#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 */
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fgets(char *, int, int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ sscanf(char *, char *, char *, ...);
scalar_t__ strcmp(char *, char *);
int parser(int *latt, float *density, float *densityT1, int *move, int *seed,
           float *temp, int *rng, float *frmoves, double *epsilon11,
           double *epsilon12, double *epsilon22, double *alpha11,
           double *alpha12, double *alpha22, double *sigma11, double *sigma12,
           double *sigma22, int *rlimit, int *dumpmode, char filename[100]) {
  FILE *in = fopen("sim.conf", "r");
  float value;
  int countpars = 0;
  char word[30], str[200];
  while (fgets(str, 200, in) != NULL) {
    sscanf(str, "%s = \"%f\"", word, &value);
    if (strcmp(word, "lattice") == 0) {
      *latt = (int)value;
      countpars++;
    }
    if (strcmp(word, "density") == 0) {
      *density = value;
      countpars++;
    }
    if (strcmp(word, "densityT1") == 0) {
      *densityT1 = value;
      countpars++;
    }
    if (strcmp(word, "moves") == 0) {
      *move = (int)value;
      countpars++;
    }
    if (strcmp(word, "seed") == 0) {
      *seed = (int)value;
      countpars++;
    }
    if (strcmp(word, "temperature") == 0) {
      *temp = value;
      countpars++;
    }
    if (strcmp(word, "rng") == 0) {
      *rng = (int)value;
      countpars++;
    }
    if (strcmp(word, "frmoves") == 0) {
      *frmoves = value;
      countpars++;
    }
    if (strcmp(word, "epsilon11") == 0) {
      *epsilon11 = value;
      countpars++;
    }
    if (strcmp(word, "epsilon12") == 0) {
      *epsilon12 = value;
      countpars++;
    }
    if (strcmp(word, "epsilon22") == 0) {
      *epsilon22 = value;
      countpars++;
    }
    if (strcmp(word, "alpha11") == 0) {
      *alpha11 = value;
      countpars++;
    }
    if (strcmp(word, "alpha12") == 0) {
      *alpha12 = value;
      countpars++;
    }
    if (strcmp(word, "alpha22") == 0) {
      *alpha22 = value;
      countpars++;
    }
    if (strcmp(word, "sigma11") == 0) {
      *sigma11 = value;
      countpars++;
    }
    if (strcmp(word, "sigma12") == 0) {
      *sigma12 = value;
      countpars++;
    }
    if (strcmp(word, "sigma22") == 0) {
      *sigma22 = value;
      countpars++;
    }
    if (strcmp(word, "rlimit") == 0) {
      *rlimit = (int)value;
      countpars++;
    }
    if (strcmp(word, "dumpmode") == 0) {
      *dumpmode = (int)value;
      countpars++;
    }
    if (strcmp(word, "filename") == 0) {
      sscanf(str, "%s = \"%100[^\"]\"", word, filename);
      countpars++;
    }
  }
  fclose(in);
  return countpars;
}


x86 assembly (clang, -O0):
<parser>:
push   %rbp
mov    %rsp,%rbp
sub    $0x130,%rsp
mov    0x78(%rbp),%rax
mov    0x70(%rbp),%rax
mov    0x68(%rbp),%rax
mov    0x60(%rbp),%rax
mov    0x58(%rbp),%rax
mov    0x50(%rbp),%rax
mov    0x48(%rbp),%rax
mov    0x40(%rbp),%rax
mov    0x38(%rbp),%rax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
lea    0xe4e(%rip),%rdi
lea    0xe50(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,-0x38(%rbp)
movl   $0x0,-0x40(%rbp)
lea    -0x130(%rbp),%rdi
mov    -0x38(%rbp),%rdx
mov    $0xc8,%esi
call   1040 <fgets@plt>
cmp    $0x0,%rax
je     15f2 <parser+0x4a2>
lea    -0x130(%rbp),%rdi
lea    -0x60(%rbp),%rdx
lea    0xe11(%rip),%rsi
lea    -0x3c(%rbp),%rcx
mov    $0x0,%al
call   1060 <sscanf@plt>
lea    -0x60(%rbp),%rdi
lea    0xe05(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1233 <parser+0xe3>
cvttss2si -0x3c(%rbp),%ecx
mov    -0x8(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xddf(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1263 <parser+0x113>
movss  -0x3c(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movss  %xmm0,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xdb7(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1293 <parser+0x143>
movss  -0x3c(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movss  %xmm0,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xda8(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    12c1 <parser+0x171>
cvttss2si -0x3c(%rbp),%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xd63(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    12ef <parser+0x19f>
cvttss2si -0x3c(%rbp),%ecx
mov    -0x28(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xd3a(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    131f <parser+0x1cf>
movss  -0x3c(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movss  %xmm0,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xd16(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    134d <parser+0x1fd>
cvttss2si -0x3c(%rbp),%ecx
mov    0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xcec(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    137d <parser+0x22d>
movss  -0x3c(%rbp),%xmm0
mov    0x18(%rbp),%rax
movss  %xmm0,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xcc4(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    13b1 <parser+0x261>
movss  -0x3c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0x20(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xc9a(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    13e5 <parser+0x295>
movss  -0x3c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0x28(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xc70(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1419 <parser+0x2c9>
movss  -0x3c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0x30(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xc46(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    144d <parser+0x2fd>
movss  -0x3c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0x38(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xc1a(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1481 <parser+0x331>
movss  -0x3c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0x40(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xbee(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    14b5 <parser+0x365>
movss  -0x3c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0x48(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xbc2(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    14e9 <parser+0x399>
movss  -0x3c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0x50(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xb96(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    151d <parser+0x3cd>
movss  -0x3c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0x58(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xb6a(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    1551 <parser+0x401>
movss  -0x3c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0x60(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xb3e(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    157f <parser+0x42f>
cvttss2si -0x3c(%rbp),%ecx
mov    0x68(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xb17(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    15ad <parser+0x45d>
cvttss2si -0x3c(%rbp),%ecx
mov    0x70(%rbp),%rax
mov    %ecx,(%rax)
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
lea    -0x60(%rbp),%rdi
lea    0xaf2(%rip),%rsi
call   1050 <strcmp@plt>
cmp    $0x0,%rax
jne    15ed <parser+0x49d>
lea    -0x130(%rbp),%rdi
lea    -0x60(%rbp),%rdx
mov    0x78(%rbp),%rcx
lea    0xad6(%rip),%rsi
mov    $0x0,%al
call   1060 <sscanf@plt>
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    11c9 <parser+0x79>
mov    -0x38(%rbp),%rdi
call   1030 <fclose@plt>
mov    -0x40(%rbp),%eax
add    $0x130,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<parser>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x128,%rsp
mov    %r9,0x38(%rsp)
mov    %r8,0x30(%rsp)
mov    %rcx,0x28(%rsp)
mov    %rdx,0x20(%rsp)
mov    %rsi,0x18(%rsp)
mov    %rdi,0x10(%rsp)
lea    0xe7a(%rip),%rdi
lea    0xe7c(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,%r14
lea    0x60(%rsp),%rdi
mov    $0xc8,%esi
mov    %rax,%rdx
call   1040 <fgets@plt>
test   %rax,%rax
je     1547 <parser+0x3f7>
lea    0x60(%rsp),%r12
lea    0x40(%rsp),%r13
lea    0xee0(%rip),%rbp
lea    0xee2(%rip),%r15
xor    %ebx,%ebx
jmp    11e9 <parser+0x99>
nopl   0x0(%rax)
mov    %r12,%rdi
mov    $0xc8,%esi
mov    %r14,%rdx
call   1040 <fgets@plt>
test   %rax,%rax
je     1549 <parser+0x3f9>
mov    %r12,%rdi
lea    0xe18(%rip),%rsi
mov    %r13,%rdx
lea    0xc(%rsp),%rcx
xor    %eax,%eax
call   1060 <sscanf@plt>
mov    %r13,%rdi
lea    0xe09(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    1226 <parser+0xd6>
cvttss2si 0xc(%rsp),%eax
mov    0x10(%rsp),%rcx
mov    %eax,(%rcx)
add    $0x1,%ebx
mov    %r13,%rdi
lea    0xded(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    124c <parser+0xfc>
movss  0xc(%rsp),%xmm0
mov    0x18(%rsp),%rax
movss  %xmm0,(%rax)
add    $0x1,%ebx
mov    %r13,%rdi
lea    0xdcf(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    1272 <parser+0x122>
movss  0xc(%rsp),%xmm0
mov    0x20(%rsp),%rax
movss  %xmm0,(%rax)
add    $0x1,%ebx
mov    %r13,%rdi
lea    0xdca(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    1296 <parser+0x146>
cvttss2si 0xc(%rsp),%eax
mov    0x28(%rsp),%rcx
mov    %eax,(%rcx)
add    $0x1,%ebx
mov    %r13,%rdi
lea    0xd8f(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    12ba <parser+0x16a>
cvttss2si 0xc(%rsp),%eax
mov    0x30(%rsp),%rcx
mov    %eax,(%rcx)
add    $0x1,%ebx
mov    %r13,%rdi
lea    0xd70(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    12e0 <parser+0x190>
movss  0xc(%rsp),%xmm0
mov    0x38(%rsp),%rax
movss  %xmm0,(%rax)
add    $0x1,%ebx
mov    %r13,%rdi
lea    0xd56(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    1307 <parser+0x1b7>
cvttss2si 0xc(%rsp),%eax
mov    0x160(%rsp),%rcx
mov    %eax,(%rcx)
add    $0x1,%ebx
mov    %r13,%rdi
lea    0xd33(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    1330 <parser+0x1e0>
movss  0xc(%rsp),%xmm0
mov    0x168(%rsp),%rax
movss  %xmm0,(%rax)
add    $0x1,%ebx
mov    %r13,%rdi
lea    0xd12(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    135d <parser+0x20d>
movss  0xc(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0x170(%rsp),%rax
movsd  %xmm0,(%rax)
add    $0x1,%ebx
mov    %r13,%rdi
lea    0xcef(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    138a <parser+0x23a>
movss  0xc(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0x178(%rsp),%rax
movsd  %xmm0,(%rax)
add    $0x1,%ebx
mov    %r13,%rdi
lea    0xccc(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    13b7 <parser+0x267>
movss  0xc(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0x180(%rsp),%rax
movsd  %xmm0,(%rax)
add    $0x1,%ebx
mov    %r13,%rdi
lea    0xca9(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    13e4 <parser+0x294>
movss  0xc(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0x188(%rsp),%rax
movsd  %xmm0,(%rax)
add    $0x1,%ebx
mov    %r13,%rdi
lea    0xc84(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    1411 <parser+0x2c1>
movss  0xc(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0x190(%rsp),%rax
movsd  %xmm0,(%rax)
add    $0x1,%ebx
mov    %r13,%rdi
lea    0xc5f(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    143e <parser+0x2ee>
movss  0xc(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0x198(%rsp),%rax
movsd  %xmm0,(%rax)
add    $0x1,%ebx
mov    %r13,%rdi
lea    0xc3a(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    146b <parser+0x31b>
movss  0xc(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0x1a0(%rsp),%rax
movsd  %xmm0,(%rax)
add    $0x1,%ebx
mov    %r13,%rdi
lea    0xc15(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    1498 <parser+0x348>
movss  0xc(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0x1a8(%rsp),%rax
movsd  %xmm0,(%rax)
add    $0x1,%ebx
mov    %r13,%rdi
lea    0xbf0(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    14c5 <parser+0x375>
movss  0xc(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    0x1b0(%rsp),%rax
movsd  %xmm0,(%rax)
add    $0x1,%ebx
mov    %r13,%rdi
lea    0xbcb(%rip),%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    14ec <parser+0x39c>
cvttss2si 0xc(%rsp),%eax
mov    0x1b8(%rsp),%rcx
mov    %eax,(%rcx)
add    $0x1,%ebx
mov    %r13,%rdi
mov    %rbp,%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    150f <parser+0x3bf>
cvttss2si 0xc(%rsp),%eax
mov    0x1c0(%rsp),%rcx
mov    %eax,(%rcx)
add    $0x1,%ebx
mov    %r13,%rdi
mov    %r15,%rsi
call   1050 <strcmp@plt>
test   %rax,%rax
jne    11d0 <parser+0x80>
mov    %r12,%rdi
lea    0xb86(%rip),%rsi
mov    %r13,%rdx
mov    0x1c8(%rsp),%rcx
xor    %eax,%eax
call   1060 <sscanf@plt>
add    $0x1,%ebx
jmp    11d0 <parser+0x80>
xor    %ebx,%ebx
mov    %r14,%rdi
call   1030 <fclose@plt>
mov    %ebx,%eax
add    $0x128,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [9 x i8] c"sim.conf\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [10 x i8] c"%s = \22%f\22\00"
@.str.3 = [8 x i8] c"lattice\00"
@.str.4 = [8 x i8] c"density\00"
@.str.5 = [10 x i8] c"densityT1\00"
@.str.6 = [6 x i8] c"moves\00"
@.str.7 = [5 x i8] c"seed\00"
@.str.8 = [12 x i8] c"temperature\00"
@.str.9 = [4 x i8] c"rng\00"
@.str.10 = [8 x i8] c"frmoves\00"
@.str.11 = [10 x i8] c"epsilon11\00"
@.str.12 = [10 x i8] c"epsilon12\00"
@.str.13 = [10 x i8] c"epsilon22\00"
@.str.14 = [8 x i8] c"alpha11\00"
@.str.15 = [8 x i8] c"alpha12\00"
@.str.16 = [8 x i8] c"alpha22\00"
@.str.17 = [8 x i8] c"sigma11\00"
@.str.18 = [8 x i8] c"sigma12\00"
@.str.19 = [8 x i8] c"sigma22\00"
@.str.20 = [7 x i8] c"rlimit\00"
@.str.21 = [9 x i8] c"dumpmode\00"
@.str.22 = [9 x i8] c"filename\00"
@.str.23 = [16 x i8] c"%s = \22%100[^\22]\22\00"
define i32 @parser(i32* %0, float* %1, float* %2, i32* %3, i32* %4, float* %5, i32* %6, float* %7, double* %8, double* %9, double* %10, double* %11, double* %12, double* %13, double* %14, double* %15, double* %16, i32* %17, i32* %18, i8* %19) {
%21 = alloca i32*
%22 = alloca float*
%23 = alloca float*
%24 = alloca i32*
%25 = alloca i32*
%26 = alloca float*
%27 = alloca i32*
%28 = alloca float*
%29 = alloca double*
%30 = alloca double*
%31 = alloca double*
%32 = alloca double*
%33 = alloca double*
%34 = alloca double*
%35 = alloca double*
%36 = alloca double*
%37 = alloca double*
%38 = alloca i32*
%39 = alloca i32*
%40 = alloca i8*
%41 = alloca i32*
%42 = alloca float
%43 = alloca i32
%44 = alloca [30 x i8]
%45 = alloca [200 x i8]
store i32* %0, i32** %21
store float* %1, float** %22
store float* %2, float** %23
store i32* %3, i32** %24
store i32* %4, i32** %25
store float* %5, float** %26
store i32* %6, i32** %27
store float* %7, float** %28
store double* %8, double** %29
store double* %9, double** %30
store double* %10, double** %31
store double* %11, double** %32
store double* %12, double** %33
store double* %13, double** %34
store double* %14, double** %35
store double* %15, double** %36
store double* %16, double** %37
store i32* %17, i32** %38
store i32* %18, i32** %39
store i8* %19, i8** %40
%46 = call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
store i32* %46, i32** %41
store i32 0, i32* %43
br label %47
47: ; preds = %252, %20
%48 = getelementptr inbounds [200 x i8], [200 x i8]* %45, i64 0, i64 0
%49 = load i32*, i32** %41
%50 = call i32* @fgets(i8* %48, i32 200, i32* %49)
%51 = icmp ne i32* %50, null
br i1 %51, label %52, label %253
52: ; preds = %47
%53 = getelementptr inbounds [200 x i8], [200 x i8]* %45, i64 0, i64 0
%54 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%55 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %53, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %54, float* %42)
%56 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%57 = call i64 @strcmp(i8* %56, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
%58 = icmp eq i64 %57, 0
br i1 %58, label %59, label %65
59: ; preds = %52
%60 = load float, float* %42
%61 = fptosi float %60 to i32
%62 = load i32*, i32** %21
store i32 %61, i32* %62
%63 = load i32, i32* %43
%64 = add nsw i32 %63, 1
store i32 %64, i32* %43
br label %65
65: ; preds = %59, %52
%66 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%67 = call i64 @strcmp(i8* %66, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
%68 = icmp eq i64 %67, 0
br i1 %68, label %69, label %74
69: ; preds = %65
%70 = load float, float* %42
%71 = load float*, float** %22
store float %70, float* %71
%72 = load i32, i32* %43
%73 = add nsw i32 %72, 1
store i32 %73, i32* %43
br label %74
74: ; preds = %69, %65
%75 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%76 = call i64 @strcmp(i8* %75, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%77 = icmp eq i64 %76, 0
br i1 %77, label %78, label %83
78: ; preds = %74
%79 = load float, float* %42
%80 = load float*, float** %23
store float %79, float* %80
%81 = load i32, i32* %43
%82 = add nsw i32 %81, 1
store i32 %82, i32* %43
br label %83
83: ; preds = %78, %74
%84 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%85 = call i64 @strcmp(i8* %84, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%86 = icmp eq i64 %85, 0
br i1 %86, label %87, label %93
87: ; preds = %83
%88 = load float, float* %42
%89 = fptosi float %88 to i32
%90 = load i32*, i32** %24
store i32 %89, i32* %90
%91 = load i32, i32* %43
%92 = add nsw i32 %91, 1
store i32 %92, i32* %43
br label %93
93: ; preds = %87, %83
%94 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%95 = call i64 @strcmp(i8* %94, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%96 = icmp eq i64 %95, 0
br i1 %96, label %97, label %103
97: ; preds = %93
%98 = load float, float* %42
%99 = fptosi float %98 to i32
%100 = load i32*, i32** %25
store i32 %99, i32* %100
%101 = load i32, i32* %43
%102 = add nsw i32 %101, 1
store i32 %102, i32* %43
br label %103
103: ; preds = %97, %93
%104 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%105 = call i64 @strcmp(i8* %104, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
%106 = icmp eq i64 %105, 0
br i1 %106, label %107, label %112
107: ; preds = %103
%108 = load float, float* %42
%109 = load float*, float** %26
store float %108, float* %109
%110 = load i32, i32* %43
%111 = add nsw i32 %110, 1
store i32 %111, i32* %43
br label %112
112: ; preds = %107, %103
%113 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%114 = call i64 @strcmp(i8* %113, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%115 = icmp eq i64 %114, 0
br i1 %115, label %116, label %122
116: ; preds = %112
%117 = load float, float* %42
%118 = fptosi float %117 to i32
%119 = load i32*, i32** %27
store i32 %118, i32* %119
%120 = load i32, i32* %43
%121 = add nsw i32 %120, 1
store i32 %121, i32* %43
br label %122
122: ; preds = %116, %112
%123 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%124 = call i64 @strcmp(i8* %123, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
%125 = icmp eq i64 %124, 0
br i1 %125, label %126, label %131
126: ; preds = %122
%127 = load float, float* %42
%128 = load float*, float** %28
store float %127, float* %128
%129 = load i32, i32* %43
%130 = add nsw i32 %129, 1
store i32 %130, i32* %43
br label %131
131: ; preds = %126, %122
%132 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%133 = call i64 @strcmp(i8* %132, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%134 = icmp eq i64 %133, 0
br i1 %134, label %135, label %141
135: ; preds = %131
%136 = load float, float* %42
%137 = fpext float %136 to double
%138 = load double*, double** %29
store double %137, double* %138
%139 = load i32, i32* %43
%140 = add nsw i32 %139, 1
store i32 %140, i32* %43
br label %141
141: ; preds = %135, %131
%142 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%143 = call i64 @strcmp(i8* %142, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0))
%144 = icmp eq i64 %143, 0
br i1 %144, label %145, label %151
145: ; preds = %141
%146 = load float, float* %42
%147 = fpext float %146 to double
%148 = load double*, double** %30
store double %147, double* %148
%149 = load i32, i32* %43
%150 = add nsw i32 %149, 1
store i32 %150, i32* %43
br label %151
151: ; preds = %145, %141
%152 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%153 = call i64 @strcmp(i8* %152, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0))
%154 = icmp eq i64 %153, 0
br i1 %154, label %155, label %161
155: ; preds = %151
%156 = load float, float* %42
%157 = fpext float %156 to double
%158 = load double*, double** %31
store double %157, double* %158
%159 = load i32, i32* %43
%160 = add nsw i32 %159, 1
store i32 %160, i32* %43
br label %161
161: ; preds = %155, %151
%162 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%163 = call i64 @strcmp(i8* %162, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0))
%164 = icmp eq i64 %163, 0
br i1 %164, label %165, label %171
165: ; preds = %161
%166 = load float, float* %42
%167 = fpext float %166 to double
%168 = load double*, double** %32
store double %167, double* %168
%169 = load i32, i32* %43
%170 = add nsw i32 %169, 1
store i32 %170, i32* %43
br label %171
171: ; preds = %165, %161
%172 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%173 = call i64 @strcmp(i8* %172, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.15, i64 0, i64 0))
%174 = icmp eq i64 %173, 0
br i1 %174, label %175, label %181
175: ; preds = %171
%176 = load float, float* %42
%177 = fpext float %176 to double
%178 = load double*, double** %33
store double %177, double* %178
%179 = load i32, i32* %43
%180 = add nsw i32 %179, 1
store i32 %180, i32* %43
br label %181
181: ; preds = %175, %171
%182 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%183 = call i64 @strcmp(i8* %182, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0))
%184 = icmp eq i64 %183, 0
br i1 %184, label %185, label %191
185: ; preds = %181
%186 = load float, float* %42
%187 = fpext float %186 to double
%188 = load double*, double** %34
store double %187, double* %188
%189 = load i32, i32* %43
%190 = add nsw i32 %189, 1
store i32 %190, i32* %43
br label %191
191: ; preds = %185, %181
%192 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%193 = call i64 @strcmp(i8* %192, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.17, i64 0, i64 0))
%194 = icmp eq i64 %193, 0
br i1 %194, label %195, label %201
195: ; preds = %191
%196 = load float, float* %42
%197 = fpext float %196 to double
%198 = load double*, double** %35
store double %197, double* %198
%199 = load i32, i32* %43
%200 = add nsw i32 %199, 1
store i32 %200, i32* %43
br label %201
201: ; preds = %195, %191
%202 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%203 = call i64 @strcmp(i8* %202, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.18, i64 0, i64 0))
%204 = icmp eq i64 %203, 0
br i1 %204, label %205, label %211
205: ; preds = %201
%206 = load float, float* %42
%207 = fpext float %206 to double
%208 = load double*, double** %36
store double %207, double* %208
%209 = load i32, i32* %43
%210 = add nsw i32 %209, 1
store i32 %210, i32* %43
br label %211
211: ; preds = %205, %201
%212 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%213 = call i64 @strcmp(i8* %212, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.19, i64 0, i64 0))
%214 = icmp eq i64 %213, 0
br i1 %214, label %215, label %221
215: ; preds = %211
%216 = load float, float* %42
%217 = fpext float %216 to double
%218 = load double*, double** %37
store double %217, double* %218
%219 = load i32, i32* %43
%220 = add nsw i32 %219, 1
store i32 %220, i32* %43
br label %221
221: ; preds = %215, %211
%222 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%223 = call i64 @strcmp(i8* %222, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.20, i64 0, i64 0))
%224 = icmp eq i64 %223, 0
br i1 %224, label %225, label %231
225: ; preds = %221
%226 = load float, float* %42
%227 = fptosi float %226 to i32
%228 = load i32*, i32** %38
store i32 %227, i32* %228
%229 = load i32, i32* %43
%230 = add nsw i32 %229, 1
store i32 %230, i32* %43
br label %231
231: ; preds = %225, %221
%232 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%233 = call i64 @strcmp(i8* %232, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.21, i64 0, i64 0))
%234 = icmp eq i64 %233, 0
br i1 %234, label %235, label %241
235: ; preds = %231
%236 = load float, float* %42
%237 = fptosi float %236 to i32
%238 = load i32*, i32** %39
store i32 %237, i32* %238
%239 = load i32, i32* %43
%240 = add nsw i32 %239, 1
store i32 %240, i32* %43
br label %241
241: ; preds = %235, %231
%242 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%243 = call i64 @strcmp(i8* %242, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.22, i64 0, i64 0))
%244 = icmp eq i64 %243, 0
br i1 %244, label %245, label %252
245: ; preds = %241
%246 = getelementptr inbounds [200 x i8], [200 x i8]* %45, i64 0, i64 0
%247 = getelementptr inbounds [30 x i8], [30 x i8]* %44, i64 0, i64 0
%248 = load i8*, i8** %40
%249 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %246, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.23, i64 0, i64 0), i8* %247, i8* %248)
%250 = load i32, i32* %43
%251 = add nsw i32 %250, 1
store i32 %251, i32* %43
br label %252
252: ; preds = %245, %241
br label %47
253: ; preds = %47
%254 = load i32*, i32** %41
%255 = call i32 @fclose(i32* %254)
%256 = load i32, i32* %43
ret i32 %256
}

LLVM IR (-O2):
@.str = [9 x i8] c"sim.conf\00"
@.str.1 = [2 x i8] c"r\00"
@.str.2 = [10 x i8] c"%s = \22%f\22\00"
@.str.3 = [8 x i8] c"lattice\00"
@.str.4 = [8 x i8] c"density\00"
@.str.5 = [10 x i8] c"densityT1\00"
@.str.6 = [6 x i8] c"moves\00"
@.str.7 = [5 x i8] c"seed\00"
@.str.8 = [12 x i8] c"temperature\00"
@.str.9 = [4 x i8] c"rng\00"
@.str.10 = [8 x i8] c"frmoves\00"
@.str.11 = [10 x i8] c"epsilon11\00"
@.str.12 = [10 x i8] c"epsilon12\00"
@.str.13 = [10 x i8] c"epsilon22\00"
@.str.14 = [8 x i8] c"alpha11\00"
@.str.15 = [8 x i8] c"alpha12\00"
@.str.16 = [8 x i8] c"alpha22\00"
@.str.17 = [8 x i8] c"sigma11\00"
@.str.18 = [8 x i8] c"sigma12\00"
@.str.19 = [8 x i8] c"sigma22\00"
@.str.20 = [7 x i8] c"rlimit\00"
@.str.21 = [9 x i8] c"dumpmode\00"
@.str.22 = [9 x i8] c"filename\00"
@.str.23 = [16 x i8] c"%s = \22%100[^\22]\22\00"
define i32 @parser(i32* nocapture writeonly %0, float* nocapture writeonly %1, float* nocapture writeonly %2, i32* nocapture writeonly %3, i32* nocapture writeonly %4, float* nocapture writeonly %5, i32* nocapture writeonly %6, float* nocapture writeonly %7, double* nocapture writeonly %8, double* nocapture writeonly %9, double* nocapture writeonly %10, double* nocapture writeonly %11, double* nocapture writeonly %12, double* nocapture writeonly %13, double* nocapture writeonly %14, double* nocapture writeonly %15, double* nocapture writeonly %16, i32* nocapture writeonly %17, i32* nocapture writeonly %18, i8* %19) {
%21 = alloca float
%22 = alloca [30 x i8]
%23 = alloca [200 x i8]
%24 = tail call i32* @fopen(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%25 = bitcast float* %21 to i8*
%26 = getelementptr inbounds [30 x i8], [30 x i8]* %22, i64 0, i64 0
%27 = getelementptr inbounds [200 x i8], [200 x i8]* %23, i64 0, i64 0
%28 = call i32* @fgets(i8* %27, i32 200, i32* %24)
%29 = icmp eq i32* %28, null
br i1 %29, label %190, label %30
30: ; preds = %20, %186
%31 = phi i32 [ %187, %186 ], [ 0, %20 ]
%32 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %27, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0), i8* %26, float* %21)
%33 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %39
35: ; preds = %30
%36 = load float, float* %21
%37 = fptosi float %36 to i32
store i32 %37, i32* %0
%38 = add nsw i32 %31, 1
br label %39
39: ; preds = %35, %30
%40 = phi i32 [ %38, %35 ], [ %31, %30 ]
%41 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
%42 = icmp eq i64 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %39
%44 = load float, float* %21
store float %44, float* %1
%45 = add nsw i32 %40, 1
br label %46
46: ; preds = %43, %39
%47 = phi i32 [ %45, %43 ], [ %40, %39 ]
%48 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %46
%51 = load float, float* %21
store float %51, float* %2
%52 = add nsw i32 %47, 1
br label %53
53: ; preds = %50, %46
%54 = phi i32 [ %52, %50 ], [ %47, %46 ]
%55 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0))
%56 = icmp eq i64 %55, 0
br i1 %56, label %57, label %61
57: ; preds = %53
%58 = load float, float* %21
%59 = fptosi float %58 to i32
store i32 %59, i32* %3
%60 = add nsw i32 %54, 1
br label %61
61: ; preds = %57, %53
%62 = phi i32 [ %60, %57 ], [ %54, %53 ]
%63 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.7, i64 0, i64 0))
%64 = icmp eq i64 %63, 0
br i1 %64, label %65, label %69
65: ; preds = %61
%66 = load float, float* %21
%67 = fptosi float %66 to i32
store i32 %67, i32* %4
%68 = add nsw i32 %62, 1
br label %69
69: ; preds = %65, %61
%70 = phi i32 [ %68, %65 ], [ %62, %61 ]
%71 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0))
%72 = icmp eq i64 %71, 0
br i1 %72, label %73, label %76
73: ; preds = %69
%74 = load float, float* %21
store float %74, float* %5
%75 = add nsw i32 %70, 1
br label %76
76: ; preds = %73, %69
%77 = phi i32 [ %75, %73 ], [ %70, %69 ]
%78 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
%79 = icmp eq i64 %78, 0
br i1 %79, label %80, label %84
80: ; preds = %76
%81 = load float, float* %21
%82 = fptosi float %81 to i32
store i32 %82, i32* %6
%83 = add nsw i32 %77, 1
br label %84
84: ; preds = %80, %76
%85 = phi i32 [ %83, %80 ], [ %77, %76 ]
%86 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
%87 = icmp eq i64 %86, 0
br i1 %87, label %88, label %91
88: ; preds = %84
%89 = load float, float* %21
store float %89, float* %7
%90 = add nsw i32 %85, 1
br label %91
91: ; preds = %88, %84
%92 = phi i32 [ %90, %88 ], [ %85, %84 ]
%93 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.11, i64 0, i64 0))
%94 = icmp eq i64 %93, 0
br i1 %94, label %95, label %99
95: ; preds = %91
%96 = load float, float* %21
%97 = fpext float %96 to double
store double %97, double* %8
%98 = add nsw i32 %92, 1
br label %99
99: ; preds = %95, %91
%100 = phi i32 [ %98, %95 ], [ %92, %91 ]
%101 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0))
%102 = icmp eq i64 %101, 0
br i1 %102, label %103, label %107
103: ; preds = %99
%104 = load float, float* %21
%105 = fpext float %104 to double
store double %105, double* %9
%106 = add nsw i32 %100, 1
br label %107
107: ; preds = %103, %99
%108 = phi i32 [ %106, %103 ], [ %100, %99 ]
%109 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.13, i64 0, i64 0))
%110 = icmp eq i64 %109, 0
br i1 %110, label %111, label %115
111: ; preds = %107
%112 = load float, float* %21
%113 = fpext float %112 to double
store double %113, double* %10
%114 = add nsw i32 %108, 1
br label %115
115: ; preds = %111, %107
%116 = phi i32 [ %114, %111 ], [ %108, %107 ]
%117 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.14, i64 0, i64 0))
%118 = icmp eq i64 %117, 0
br i1 %118, label %119, label %123
119: ; preds = %115
%120 = load float, float* %21
%121 = fpext float %120 to double
store double %121, double* %11
%122 = add nsw i32 %116, 1
br label %123
123: ; preds = %119, %115
%124 = phi i32 [ %122, %119 ], [ %116, %115 ]
%125 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.15, i64 0, i64 0))
%126 = icmp eq i64 %125, 0
br i1 %126, label %127, label %131
127: ; preds = %123
%128 = load float, float* %21
%129 = fpext float %128 to double
store double %129, double* %12
%130 = add nsw i32 %124, 1
br label %131
131: ; preds = %127, %123
%132 = phi i32 [ %130, %127 ], [ %124, %123 ]
%133 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0))
%134 = icmp eq i64 %133, 0
br i1 %134, label %135, label %139
135: ; preds = %131
%136 = load float, float* %21
%137 = fpext float %136 to double
store double %137, double* %13
%138 = add nsw i32 %132, 1
br label %139
139: ; preds = %135, %131
%140 = phi i32 [ %138, %135 ], [ %132, %131 ]
%141 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.17, i64 0, i64 0))
%142 = icmp eq i64 %141, 0
br i1 %142, label %143, label %147
143: ; preds = %139
%144 = load float, float* %21
%145 = fpext float %144 to double
store double %145, double* %14
%146 = add nsw i32 %140, 1
br label %147
147: ; preds = %143, %139
%148 = phi i32 [ %146, %143 ], [ %140, %139 ]
%149 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.18, i64 0, i64 0))
%150 = icmp eq i64 %149, 0
br i1 %150, label %151, label %155
151: ; preds = %147
%152 = load float, float* %21
%153 = fpext float %152 to double
store double %153, double* %15
%154 = add nsw i32 %148, 1
br label %155
155: ; preds = %151, %147
%156 = phi i32 [ %154, %151 ], [ %148, %147 ]
%157 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.19, i64 0, i64 0))
%158 = icmp eq i64 %157, 0
br i1 %158, label %159, label %163
159: ; preds = %155
%160 = load float, float* %21
%161 = fpext float %160 to double
store double %161, double* %16
%162 = add nsw i32 %156, 1
br label %163
163: ; preds = %159, %155
%164 = phi i32 [ %162, %159 ], [ %156, %155 ]
%165 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.20, i64 0, i64 0))
%166 = icmp eq i64 %165, 0
br i1 %166, label %167, label %171
167: ; preds = %163
%168 = load float, float* %21
%169 = fptosi float %168 to i32
store i32 %169, i32* %17
%170 = add nsw i32 %164, 1
br label %171
171: ; preds = %167, %163
%172 = phi i32 [ %170, %167 ], [ %164, %163 ]
%173 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.21, i64 0, i64 0))
%174 = icmp eq i64 %173, 0
br i1 %174, label %175, label %179
175: ; preds = %171
%176 = load float, float* %21
%177 = fptosi float %176 to i32
store i32 %177, i32* %18
%178 = add nsw i32 %172, 1
br label %179
179: ; preds = %175, %171
%180 = phi i32 [ %178, %175 ], [ %172, %171 ]
%181 = call i64 @strcmp(i8* %26, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.22, i64 0, i64 0))
%182 = icmp eq i64 %181, 0
br i1 %182, label %183, label %186
183: ; preds = %179
%184 = call i32 (i8*, i8*, i8*, ...) @sscanf(i8* %27, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.23, i64 0, i64 0), i8* %26, i8* %19)
%185 = add nsw i32 %180, 1
br label %186
186: ; preds = %183, %179
%187 = phi i32 [ %185, %183 ], [ %180, %179 ]
%188 = call i32* @fgets(i8* %27, i32 200, i32* %24)
%189 = icmp eq i32* %188, null
br i1 %189, label %190, label %30
190: ; preds = %186, %20
%191 = phi i32 [ 0, %20 ], [ %187, %186 ]
%192 = call i32 @fclose(i32* %24)
ret i32 %191
}