#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 */
scalar_t__ fmin(double, double);
int /*<<< orphan*/ read_double(char const *, char *, double *);
int /*<<< orphan*/ read_int(char const *, char *, int *);
int /*<<< orphan*/ read_string(char const *, char *, char *);
int read_parameters(const char *szFileName, double *Re, double *UI, double *VI,
                    double *PI, double *GX, double *GY, double *t_end,
                    double *xlength, double *ylength, double *dt, double *dx,
                    double *dy, int *imax, int *jmax, double *alpha,
                    double *omg, double *tau, int *itermax, double *eps,
                    double *dt_value, int *wl, int *wr, int *wt, int *wb,
                    char *problem, double *presLeft, double *presRight,
                    double *presDelta, double *vel) {
  read_double(szFileName, "*xlength", &(*xlength));
  read_double(szFileName, "*ylength", &(*ylength));
  read_int(szFileName, "*imax", &(*imax));
  read_int(szFileName, "*jmax", &(*jmax));
  read_double(szFileName, "*dt", &(*dt));
  read_double(szFileName, "*t_end", &(*t_end));
  read_double(szFileName, "*tau", &(*tau));
  read_double(szFileName, "*dt_value", &(*dt_value));
  read_int(szFileName, "*itermax", &(*itermax));
  read_double(szFileName, "*eps", &(*eps));
  read_double(szFileName, "*omg", &(*omg));
  read_double(szFileName, "*alpha", &(*alpha));
  read_double(szFileName, "*Re", &(*Re));
  read_double(szFileName, "*GX", &(*GX));
  read_double(szFileName, "*GY", &(*GY));
  read_double(szFileName, "*PI", &(*PI));
  read_double(szFileName, "*UI", &(*UI));
  read_double(szFileName, "*VI", &(*VI));
  read_int(szFileName, "*wl", &(*wl));
  read_int(szFileName, "*wr", &(*wr));
  read_int(szFileName, "*wt", &(*wt));
  read_int(szFileName, "*wb", &(*wb));
  read_string(szFileName, "problem", (problem));
  read_double(szFileName, "*presLeft", &(*presLeft));
  read_double(szFileName, "*presRight", &(*presRight));
  read_double(szFileName, "*presDelta", &(*presDelta));
  read_double(szFileName, "*vel", &(*vel));
  if (*presDelta <= 0) {
    if (fmin(*presLeft, *presRight) >= 0) {
      *presDelta = *presLeft - *presRight;
    }
  } else {
    if (*presLeft < *presDelta) {
      if (*presRight < 0) {
        *presLeft = *presDelta;
        *presRight = 0.0;
      } else {
        *presLeft = *presRight + *presDelta;
      }
    } else {
      *presRight = *presLeft - *presDelta;
    }
  }
  if (*presDelta > 0) {
    *wl = 3;
    *wr = 3;
  }
  *dx = *xlength / (double)(*imax);
  *dy = *ylength / (double)(*jmax);
  return 1;
}


x86 assembly (clang, -O0):
<read_parameters>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    0xc8(%rbp),%rax
mov    0xc0(%rbp),%rax
mov    0xb8(%rbp),%rax
mov    0xb0(%rbp),%rax
mov    0xa8(%rbp),%rax
mov    0xa0(%rbp),%rax
mov    0x98(%rbp),%rax
mov    0x90(%rbp),%rax
mov    0x88(%rbp),%rax
mov    0x80(%rbp),%rax
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)
mov    -0x8(%rbp),%rdi
mov    0x20(%rbp),%rdx
lea    0xe13(%rip),%rsi
call   1050 <read_double@plt>
mov    -0x8(%rbp),%rdi
mov    0x28(%rbp),%rdx
lea    0xe08(%rip),%rsi
call   1050 <read_double@plt>
mov    -0x8(%rbp),%rdi
mov    0x48(%rbp),%rdx
lea    0xdfd(%rip),%rsi
call   1040 <read_int@plt>
mov    -0x8(%rbp),%rdi
mov    0x50(%rbp),%rdx
lea    0xdef(%rip),%rsi
call   1040 <read_int@plt>
mov    -0x8(%rbp),%rdi
mov    0x30(%rbp),%rdx
lea    0xde1(%rip),%rsi
call   1050 <read_double@plt>
mov    -0x8(%rbp),%rdi
mov    0x18(%rbp),%rdx
lea    0xdd1(%rip),%rsi
call   1050 <read_double@plt>
mov    -0x8(%rbp),%rdi
mov    0x68(%rbp),%rdx
lea    0xdc4(%rip),%rsi
call   1050 <read_double@plt>
mov    -0x8(%rbp),%rdi
mov    0x80(%rbp),%rdx
lea    0xdb2(%rip),%rsi
call   1050 <read_double@plt>
mov    -0x8(%rbp),%rdi
mov    0x70(%rbp),%rdx
lea    0xda8(%rip),%rsi
call   1040 <read_int@plt>
mov    -0x8(%rbp),%rdi
mov    0x78(%rbp),%rdx
lea    0xd9d(%rip),%rsi
call   1050 <read_double@plt>
mov    -0x8(%rbp),%rdi
mov    0x60(%rbp),%rdx
lea    0xd8e(%rip),%rsi
call   1050 <read_double@plt>
mov    -0x8(%rbp),%rdi
mov    0x58(%rbp),%rdx
lea    0xd7f(%rip),%rsi
call   1050 <read_double@plt>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rdx
lea    0xd72(%rip),%rsi
call   1050 <read_double@plt>
mov    -0x8(%rbp),%rdi
mov    -0x30(%rbp),%rdx
lea    0xd62(%rip),%rsi
call   1050 <read_double@plt>
mov    -0x8(%rbp),%rdi
mov    0x10(%rbp),%rdx
lea    0xd52(%rip),%rsi
call   1050 <read_double@plt>
mov    -0x8(%rbp),%rdi
mov    -0x28(%rbp),%rdx
lea    0xd42(%rip),%rsi
call   1050 <read_double@plt>
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0xd32(%rip),%rsi
call   1050 <read_double@plt>
mov    -0x8(%rbp),%rdi
mov    -0x20(%rbp),%rdx
lea    0xd22(%rip),%rsi
call   1050 <read_double@plt>
mov    -0x8(%rbp),%rdi
mov    0x88(%rbp),%rdx
lea    0xd0f(%rip),%rsi
call   1040 <read_int@plt>
mov    -0x8(%rbp),%rdi
mov    0x90(%rbp),%rdx
lea    0xcfc(%rip),%rsi
call   1040 <read_int@plt>
mov    -0x8(%rbp),%rdi
mov    0x98(%rbp),%rdx
lea    0xce9(%rip),%rsi
call   1040 <read_int@plt>
mov    -0x8(%rbp),%rdi
mov    0xa0(%rbp),%rdx
lea    0xcd6(%rip),%rsi
call   1040 <read_int@plt>
mov    -0x8(%rbp),%rdi
mov    0xa8(%rbp),%rdx
lea    0xcc3(%rip),%rsi
call   1060 <read_string@plt>
mov    -0x8(%rbp),%rdi
mov    0xb0(%rbp),%rdx
lea    0xcb4(%rip),%rsi
call   1050 <read_double@plt>
mov    -0x8(%rbp),%rdi
mov    0xb8(%rbp),%rdx
lea    0xca7(%rip),%rsi
call   1050 <read_double@plt>
mov    -0x8(%rbp),%rdi
mov    0xc0(%rbp),%rdx
lea    0xc9b(%rip),%rsi
call   1050 <read_double@plt>
mov    -0x8(%rbp),%rdi
mov    0xc8(%rbp),%rdx
lea    0xc8f(%rip),%rsi
call   1050 <read_double@plt>
mov    0xc0(%rbp),%rax
xorps  %xmm0,%xmm0
ucomisd (%rax),%xmm0
jb     1477 <read_parameters+0x337>
mov    0xb0(%rbp),%rax
movsd  (%rax),%xmm0
mov    0xb8(%rbp),%rax
movsd  (%rax),%xmm1
call   1030 <fmin@plt>
cmp    $0x0,%rax
jl     1472 <read_parameters+0x332>
mov    0xb0(%rbp),%rax
movsd  (%rax),%xmm0
mov    0xb8(%rbp),%rax
subsd  (%rax),%xmm0
mov    0xc0(%rbp),%rax
movsd  %xmm0,(%rax)
jmp    1520 <read_parameters+0x3e0>
mov    0xb0(%rbp),%rax
movsd  (%rax),%xmm1
mov    0xc0(%rbp),%rax
movsd  (%rax),%xmm0
ucomisd %xmm1,%xmm0
jbe    14fa <read_parameters+0x3ba>
mov    0xb8(%rbp),%rax
xorps  %xmm0,%xmm0
ucomisd (%rax),%xmm0
jbe    14d4 <read_parameters+0x394>
mov    0xc0(%rbp),%rax
movsd  (%rax),%xmm0
mov    0xb0(%rbp),%rax
movsd  %xmm0,(%rax)
mov    0xb8(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax)
jmp    14f5 <read_parameters+0x3b5>
mov    0xb8(%rbp),%rax
movsd  (%rax),%xmm0
mov    0xc0(%rbp),%rax
addsd  (%rax),%xmm0
mov    0xb0(%rbp),%rax
movsd  %xmm0,(%rax)
jmp    151b <read_parameters+0x3db>
mov    0xb0(%rbp),%rax
movsd  (%rax),%xmm0
mov    0xc0(%rbp),%rax
subsd  (%rax),%xmm0
mov    0xb8(%rbp),%rax
movsd  %xmm0,(%rax)
jmp    1520 <read_parameters+0x3e0>
mov    0xc0(%rbp),%rax
movsd  (%rax),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    1552 <read_parameters+0x412>
mov    0x88(%rbp),%rax
movl   $0x3,(%rax)
mov    0x90(%rbp),%rax
movl   $0x3,(%rax)
mov    0x20(%rbp),%rax
movsd  (%rax),%xmm0
mov    0x48(%rbp),%rax
cvtsi2sdl (%rax),%xmm1
divsd  %xmm1,%xmm0
mov    0x38(%rbp),%rax
movsd  %xmm0,(%rax)
mov    0x28(%rbp),%rax
movsd  (%rax),%xmm0
mov    0x50(%rbp),%rax
cvtsi2sdl (%rax),%xmm1
divsd  %xmm1,%xmm0
mov    0x40(%rbp),%rax
movsd  %xmm0,(%rax)
mov    $0x1,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<read_parameters>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %r9,0x8(%rsp)
mov    %r8,0x10(%rsp)
mov    %rcx,0x20(%rsp)
mov    %rdx,0x18(%rsp)
mov    %rsi,(%rsp)
mov    %rdi,%r15
mov    0xa0(%rsp),%rbp
mov    0x98(%rsp),%r12
mov    0x78(%rsp),%rbx
mov    0x70(%rsp),%rdx
mov    0x68(%rsp),%r14
mov    0x80(%rsp),%r13
lea    0xe69(%rip),%rsi
call   1050 <read_double@plt>
lea    0xe66(%rip),%rsi
mov    %r15,%rdi
mov    %rbx,%rdx
call   1050 <read_double@plt>
lea    0xe5d(%rip),%rsi
mov    %r15,%rdi
mov    %r12,%rdx
call   1040 <read_int@plt>
lea    0xe51(%rip),%rsi
mov    %r15,%rdi
mov    %rbp,%rdx
call   1040 <read_int@plt>
lea    0xe45(%rip),%rsi
mov    %r15,%rdi
mov    %r13,%rdx
mov    0x108(%rsp),%r13
call   1050 <read_double@plt>
lea    0xe2f(%rip),%rsi
mov    %r15,%rdi
mov    %r14,%rdx
mov    0xe0(%rsp),%rbx
call   1050 <read_double@plt>
lea    0xe1c(%rip),%rsi
mov    %r15,%rdi
mov    0xb8(%rsp),%rdx
call   1050 <read_double@plt>
lea    0xe0a(%rip),%rsi
mov    %r15,%rdi
mov    0xd0(%rsp),%rdx
call   1050 <read_double@plt>
lea    0xdfd(%rip),%rsi
mov    %r15,%rdi
mov    0xc0(%rsp),%rdx
call   1040 <read_int@plt>
lea    0xdef(%rip),%rsi
mov    %r15,%rdi
mov    0xc8(%rsp),%rdx
call   1050 <read_double@plt>
lea    0xddd(%rip),%rsi
mov    %r15,%rdi
mov    0xb0(%rsp),%rdx
call   1050 <read_double@plt>
lea    0xdcb(%rip),%rsi
mov    %r15,%rdi
mov    0xa8(%rsp),%rdx
call   1050 <read_double@plt>
lea    0xdbb(%rip),%rsi
mov    %r15,%rdi
mov    (%rsp),%rdx
call   1050 <read_double@plt>
lea    0xdac(%rip),%rsi
mov    %r15,%rdi
mov    0x8(%rsp),%rdx
call   1050 <read_double@plt>
lea    0xd9c(%rip),%rsi
mov    %r15,%rdi
mov    0x60(%rsp),%rdx
call   1050 <read_double@plt>
lea    0xd8c(%rip),%rsi
mov    %r15,%rdi
mov    0x10(%rsp),%rdx
call   1050 <read_double@plt>
lea    0xd7c(%rip),%rsi
mov    %r15,%rdi
mov    0x18(%rsp),%rdx
call   1050 <read_double@plt>
lea    0xd6c(%rip),%rsi
mov    %r15,%rdi
mov    0x20(%rsp),%rdx
call   1050 <read_double@plt>
lea    0xd5c(%rip),%rsi
mov    %r15,%rdi
mov    0xd8(%rsp),%rdx
call   1040 <read_int@plt>
lea    0xd49(%rip),%rsi
mov    %r15,%rdi
mov    %rbx,%r14
mov    %rbx,%rdx
call   1040 <read_int@plt>
lea    0xd38(%rip),%rsi
mov    %r15,%rdi
mov    0xe8(%rsp),%rdx
call   1040 <read_int@plt>
lea    0xd25(%rip),%rsi
mov    %r15,%rdi
mov    0xf0(%rsp),%rdx
call   1040 <read_int@plt>
lea    0xd12(%rip),%rsi
mov    %r15,%rdi
mov    0xf8(%rsp),%rdx
call   1060 <read_string@plt>
lea    0xd03(%rip),%rsi
mov    %r15,%rdi
mov    0x100(%rsp),%rbx
mov    %rbx,%rdx
call   1050 <read_double@plt>
lea    0xcf3(%rip),%rsi
mov    %r15,%rdi
mov    %r13,%rdx
call   1050 <read_double@plt>
lea    0xcec(%rip),%rsi
mov    %r15,%rdi
mov    0x110(%rsp),%rbp
mov    %rbp,%rdx
call   1050 <read_double@plt>
lea    0xcdd(%rip),%rsi
mov    %r15,%rdi
mov    0x118(%rsp),%rdx
call   1050 <read_double@plt>
movsd  0x0(%rbp),%xmm1
xorpd  %xmm0,%xmm0
ucomisd %xmm1,%xmm0
movsd  (%rbx),%xmm0
jae    141e <read_parameters+0x2de>
ucomisd %xmm0,%xmm1
jbe    1451 <read_parameters+0x311>
movsd  0x0(%r13),%xmm0
xorpd  %xmm2,%xmm2
ucomisd %xmm0,%xmm2
mov    0xa0(%rsp),%rdx
mov    0x78(%rsp),%rsi
mov    0x70(%rsp),%rdi
jbe    146f <read_parameters+0x32f>
movsd  %xmm1,(%rbx)
movq   $0x0,0x0(%r13)
jmp    1477 <read_parameters+0x337>
movsd  0x0(%r13),%xmm1
call   1030 <fmin@plt>
test   %rax,%rax
mov    0xa0(%rsp),%rdx
mov    0x78(%rsp),%rsi
mov    0x70(%rsp),%rdi
js     1477 <read_parameters+0x337>
movsd  (%rbx),%xmm0
subsd  0x0(%r13),%xmm0
movsd  %xmm0,0x0(%rbp)
jmp    147c <read_parameters+0x33c>
subsd  %xmm1,%xmm0
movsd  %xmm0,0x0(%r13)
mov    0xa0(%rsp),%rdx
mov    0x78(%rsp),%rsi
mov    0x70(%rsp),%rdi
jmp    1477 <read_parameters+0x337>
addsd  %xmm0,%xmm1
movsd  %xmm1,(%rbx)
movsd  0x0(%rbp),%xmm0
mov    0x90(%rsp),%rax
mov    0x88(%rsp),%rcx
xorpd  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jbe    14ac <read_parameters+0x36c>
mov    0xd8(%rsp),%rbp
movl   $0x3,0x0(%rbp)
movl   $0x3,(%r14)
movsd  (%rdi),%xmm0
xorps  %xmm1,%xmm1
cvtsi2sdl (%r12),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,(%rcx)
xorps  %xmm0,%xmm0
cvtsi2sdl (%rdx),%xmm0
movsd  (%rsi),%xmm1
divsd  %xmm0,%xmm1
movsd  %xmm1,(%rax)
mov    $0x1,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [9 x i8] c"*xlength\00"
@.str.1 = [9 x i8] c"*ylength\00"
@.str.2 = [6 x i8] c"*imax\00"
@.str.3 = [6 x i8] c"*jmax\00"
@.str.4 = [4 x i8] c"*dt\00"
@.str.5 = [7 x i8] c"*t_end\00"
@.str.6 = [5 x i8] c"*tau\00"
@.str.7 = [10 x i8] c"*dt_value\00"
@.str.8 = [9 x i8] c"*itermax\00"
@.str.9 = [5 x i8] c"*eps\00"
@.str.10 = [5 x i8] c"*omg\00"
@.str.11 = [7 x i8] c"*alpha\00"
@.str.12 = [4 x i8] c"*Re\00"
@.str.13 = [4 x i8] c"*GX\00"
@.str.14 = [4 x i8] c"*GY\00"
@.str.15 = [4 x i8] c"*PI\00"
@.str.16 = [4 x i8] c"*UI\00"
@.str.17 = [4 x i8] c"*VI\00"
@.str.18 = [4 x i8] c"*wl\00"
@.str.19 = [4 x i8] c"*wr\00"
@.str.20 = [4 x i8] c"*wt\00"
@.str.21 = [4 x i8] c"*wb\00"
@.str.22 = [8 x i8] c"problem\00"
@.str.23 = [10 x i8] c"*presLeft\00"
@.str.24 = [11 x i8] c"*presRight\00"
@.str.25 = [11 x i8] c"*presDelta\00"
@.str.26 = [5 x i8] c"*vel\00"
define i32 @read_parameters(i8* %0, double* %1, double* %2, double* %3, double* %4, double* %5, double* %6, double* %7, double* %8, double* %9, double* %10, double* %11, double* %12, i32* %13, i32* %14, double* %15, double* %16, double* %17, i32* %18, double* %19, double* %20, i32* %21, i32* %22, i32* %23, i32* %24, i8* %25, double* %26, double* %27, double* %28, double* %29) {
%31 = alloca i8*
%32 = alloca double*
%33 = alloca double*
%34 = alloca double*
%35 = alloca double*
%36 = alloca double*
%37 = alloca double*
%38 = alloca double*
%39 = alloca double*
%40 = alloca double*
%41 = alloca double*
%42 = alloca double*
%43 = alloca double*
%44 = alloca i32*
%45 = alloca i32*
%46 = alloca double*
%47 = alloca double*
%48 = alloca double*
%49 = alloca i32*
%50 = alloca double*
%51 = alloca double*
%52 = alloca i32*
%53 = alloca i32*
%54 = alloca i32*
%55 = alloca i32*
%56 = alloca i8*
%57 = alloca double*
%58 = alloca double*
%59 = alloca double*
%60 = alloca double*
store i8* %0, i8** %31
store double* %1, double** %32
store double* %2, double** %33
store double* %3, double** %34
store double* %4, double** %35
store double* %5, double** %36
store double* %6, double** %37
store double* %7, double** %38
store double* %8, double** %39
store double* %9, double** %40
store double* %10, double** %41
store double* %11, double** %42
store double* %12, double** %43
store i32* %13, i32** %44
store i32* %14, i32** %45
store double* %15, double** %46
store double* %16, double** %47
store double* %17, double** %48
store i32* %18, i32** %49
store double* %19, double** %50
store double* %20, double** %51
store i32* %21, i32** %52
store i32* %22, i32** %53
store i32* %23, i32** %54
store i32* %24, i32** %55
store i8* %25, i8** %56
store double* %26, double** %57
store double* %27, double** %58
store double* %28, double** %59
store double* %29, double** %60
%61 = load i8*, i8** %31
%62 = load double*, double** %39
%63 = call i32 @read_double(i8* %61, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), double* %62)
%64 = load i8*, i8** %31
%65 = load double*, double** %40
%66 = call i32 @read_double(i8* %64, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), double* %65)
%67 = load i8*, i8** %31
%68 = load i32*, i32** %44
%69 = call i32 @read_int(i8* %67, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32* %68)
%70 = load i8*, i8** %31
%71 = load i32*, i32** %45
%72 = call i32 @read_int(i8* %70, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32* %71)
%73 = load i8*, i8** %31
%74 = load double*, double** %41
%75 = call i32 @read_double(i8* %73, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), double* %74)
%76 = load i8*, i8** %31
%77 = load double*, double** %38
%78 = call i32 @read_double(i8* %76, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), double* %77)
%79 = load i8*, i8** %31
%80 = load double*, double** %48
%81 = call i32 @read_double(i8* %79, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), double* %80)
%82 = load i8*, i8** %31
%83 = load double*, double** %51
%84 = call i32 @read_double(i8* %82, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), double* %83)
%85 = load i8*, i8** %31
%86 = load i32*, i32** %49
%87 = call i32 @read_int(i8* %85, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i32* %86)
%88 = load i8*, i8** %31
%89 = load double*, double** %50
%90 = call i32 @read_double(i8* %88, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), double* %89)
%91 = load i8*, i8** %31
%92 = load double*, double** %47
%93 = call i32 @read_double(i8* %91, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), double* %92)
%94 = load i8*, i8** %31
%95 = load double*, double** %46
%96 = call i32 @read_double(i8* %94, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0), double* %95)
%97 = load i8*, i8** %31
%98 = load double*, double** %32
%99 = call i32 @read_double(i8* %97, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0), double* %98)
%100 = load i8*, i8** %31
%101 = load double*, double** %36
%102 = call i32 @read_double(i8* %100, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), double* %101)
%103 = load i8*, i8** %31
%104 = load double*, double** %37
%105 = call i32 @read_double(i8* %103, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0), double* %104)
%106 = load i8*, i8** %31
%107 = load double*, double** %35
%108 = call i32 @read_double(i8* %106, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), double* %107)
%109 = load i8*, i8** %31
%110 = load double*, double** %33
%111 = call i32 @read_double(i8* %109, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0), double* %110)
%112 = load i8*, i8** %31
%113 = load double*, double** %34
%114 = call i32 @read_double(i8* %112, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), double* %113)
%115 = load i8*, i8** %31
%116 = load i32*, i32** %52
%117 = call i32 @read_int(i8* %115, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i32* %116)
%118 = load i8*, i8** %31
%119 = load i32*, i32** %53
%120 = call i32 @read_int(i8* %118, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.19, i64 0, i64 0), i32* %119)
%121 = load i8*, i8** %31
%122 = load i32*, i32** %54
%123 = call i32 @read_int(i8* %121, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0), i32* %122)
%124 = load i8*, i8** %31
%125 = load i32*, i32** %55
%126 = call i32 @read_int(i8* %124, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.21, i64 0, i64 0), i32* %125)
%127 = load i8*, i8** %31
%128 = load i8*, i8** %56
%129 = call i32 @read_string(i8* %127, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.22, i64 0, i64 0), i8* %128)
%130 = load i8*, i8** %31
%131 = load double*, double** %57
%132 = call i32 @read_double(i8* %130, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.23, i64 0, i64 0), double* %131)
%133 = load i8*, i8** %31
%134 = load double*, double** %58
%135 = call i32 @read_double(i8* %133, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.24, i64 0, i64 0), double* %134)
%136 = load i8*, i8** %31
%137 = load double*, double** %59
%138 = call i32 @read_double(i8* %136, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.25, i64 0, i64 0), double* %137)
%139 = load i8*, i8** %31
%140 = load double*, double** %60
%141 = call i32 @read_double(i8* %139, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.26, i64 0, i64 0), double* %140)
%142 = load double*, double** %59
%143 = load double, double* %142
%144 = fcmp ole double %143, 0.000000e+00
br i1 %144, label %145, label %160
145: ; preds = %30
%146 = load double*, double** %57
%147 = load double, double* %146
%148 = load double*, double** %58
%149 = load double, double* %148
%150 = call i64 @fmin(double %147, double %149)
%151 = icmp sge i64 %150, 0
br i1 %151, label %152, label %159
152: ; preds = %145
%153 = load double*, double** %57
%154 = load double, double* %153
%155 = load double*, double** %58
%156 = load double, double* %155
%157 = fsub double %154, %156
%158 = load double*, double** %59
store double %157, double* %158
br label %159
159: ; preds = %152, %145
br label %191
160: ; preds = %30
%161 = load double*, double** %57
%162 = load double, double* %161
%163 = load double*, double** %59
%164 = load double, double* %163
%165 = fcmp olt double %162, %164
br i1 %165, label %166, label %183
166: ; preds = %160
%167 = load double*, double** %58
%168 = load double, double* %167
%169 = fcmp olt double %168, 0.000000e+00
br i1 %169, label %170, label %175
170: ; preds = %166
%171 = load double*, double** %59
%172 = load double, double* %171
%173 = load double*, double** %57
store double %172, double* %173
%174 = load double*, double** %58
store double 0.000000e+00, double* %174
br label %182
175: ; preds = %166
%176 = load double*, double** %58
%177 = load double, double* %176
%178 = load double*, double** %59
%179 = load double, double* %178
%180 = fadd double %177, %179
%181 = load double*, double** %57
store double %180, double* %181
br label %182
182: ; preds = %175, %170
br label %190
183: ; preds = %160
%184 = load double*, double** %57
%185 = load double, double* %184
%186 = load double*, double** %59
%187 = load double, double* %186
%188 = fsub double %185, %187
%189 = load double*, double** %58
store double %188, double* %189
br label %190
190: ; preds = %183, %182
br label %191
191: ; preds = %190, %159
%192 = load double*, double** %59
%193 = load double, double* %192
%194 = fcmp ogt double %193, 0.000000e+00
br i1 %194, label %195, label %198
195: ; preds = %191
%196 = load i32*, i32** %52
store i32 3, i32* %196
%197 = load i32*, i32** %53
store i32 3, i32* %197
br label %198
198: ; preds = %195, %191
%199 = load double*, double** %39
%200 = load double, double* %199
%201 = load i32*, i32** %44
%202 = load i32, i32* %201
%203 = sitofp i32 %202 to double
%204 = fdiv double %200, %203
%205 = load double*, double** %42
store double %204, double* %205
%206 = load double*, double** %40
%207 = load double, double* %206
%208 = load i32*, i32** %45
%209 = load i32, i32* %208
%210 = sitofp i32 %209 to double
%211 = fdiv double %207, %210
%212 = load double*, double** %43
store double %211, double* %212
ret i32 1
}

LLVM IR (-O2):
@.str = [9 x i8] c"*xlength\00"
@.str.1 = [9 x i8] c"*ylength\00"
@.str.2 = [6 x i8] c"*imax\00"
@.str.3 = [6 x i8] c"*jmax\00"
@.str.4 = [4 x i8] c"*dt\00"
@.str.5 = [7 x i8] c"*t_end\00"
@.str.6 = [5 x i8] c"*tau\00"
@.str.7 = [10 x i8] c"*dt_value\00"
@.str.8 = [9 x i8] c"*itermax\00"
@.str.9 = [5 x i8] c"*eps\00"
@.str.10 = [5 x i8] c"*omg\00"
@.str.11 = [7 x i8] c"*alpha\00"
@.str.12 = [4 x i8] c"*Re\00"
@.str.13 = [4 x i8] c"*GX\00"
@.str.14 = [4 x i8] c"*GY\00"
@.str.15 = [4 x i8] c"*PI\00"
@.str.16 = [4 x i8] c"*UI\00"
@.str.17 = [4 x i8] c"*VI\00"
@.str.18 = [4 x i8] c"*wl\00"
@.str.19 = [4 x i8] c"*wr\00"
@.str.20 = [4 x i8] c"*wt\00"
@.str.21 = [4 x i8] c"*wb\00"
@.str.22 = [8 x i8] c"problem\00"
@.str.23 = [10 x i8] c"*presLeft\00"
@.str.24 = [11 x i8] c"*presRight\00"
@.str.25 = [11 x i8] c"*presDelta\00"
@.str.26 = [5 x i8] c"*vel\00"
define i32 @read_parameters(i8* %0, double* %1, double* %2, double* %3, double* %4, double* %5, double* %6, double* %7, double* %8, double* %9, double* %10, double* nocapture writeonly %11, double* nocapture writeonly %12, i32* %13, i32* %14, double* %15, double* %16, double* %17, i32* %18, double* %19, double* %20, i32* %21, i32* %22, i32* %23, i32* %24, i8* %25, double* %26, double* %27, double* %28, double* %29) {
%31 = tail call i32 @read_double(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), double* %8)
%32 = tail call i32 @read_double(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.1, i64 0, i64 0), double* %9)
%33 = tail call i32 @read_int(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32* %13)
%34 = tail call i32 @read_int(i8* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32* %14)
%35 = tail call i32 @read_double(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), double* %10)
%36 = tail call i32 @read_double(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), double* %7)
%37 = tail call i32 @read_double(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), double* %17)
%38 = tail call i32 @read_double(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.7, i64 0, i64 0), double* %20)
%39 = tail call i32 @read_int(i8* %0, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i32* %18)
%40 = tail call i32 @read_double(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), double* %19)
%41 = tail call i32 @read_double(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), double* %16)
%42 = tail call i32 @read_double(i8* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0), double* %15)
%43 = tail call i32 @read_double(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0), double* %1)
%44 = tail call i32 @read_double(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.13, i64 0, i64 0), double* %5)
%45 = tail call i32 @read_double(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.14, i64 0, i64 0), double* %6)
%46 = tail call i32 @read_double(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.15, i64 0, i64 0), double* %4)
%47 = tail call i32 @read_double(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.16, i64 0, i64 0), double* %2)
%48 = tail call i32 @read_double(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.17, i64 0, i64 0), double* %3)
%49 = tail call i32 @read_int(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i32* %21)
%50 = tail call i32 @read_int(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.19, i64 0, i64 0), i32* %22)
%51 = tail call i32 @read_int(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0), i32* %23)
%52 = tail call i32 @read_int(i8* %0, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.21, i64 0, i64 0), i32* %24)
%53 = tail call i32 @read_string(i8* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.22, i64 0, i64 0), i8* %25)
%54 = tail call i32 @read_double(i8* %0, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.23, i64 0, i64 0), double* %26)
%55 = tail call i32 @read_double(i8* %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.24, i64 0, i64 0), double* %27)
%56 = tail call i32 @read_double(i8* %0, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.25, i64 0, i64 0), double* %28)
%57 = tail call i32 @read_double(i8* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.26, i64 0, i64 0), double* %29)
%58 = load double, double* %28
%59 = fcmp ugt double %58, 0.000000e+00
%60 = load double, double* %26
br i1 %59, label %69, label %61
61: ; preds = %30
%62 = load double, double* %27
%63 = tail call i64 @fmin(double %60, double %62)
%64 = icmp sgt i64 %63, -1
br i1 %64, label %65, label %79
65: ; preds = %61
%66 = load double, double* %26
%67 = load double, double* %27
%68 = fsub double %66, %67
store double %68, double* %28
br label %81
69: ; preds = %30
%70 = fcmp olt double %60, %58
br i1 %70, label %71, label %77
71: ; preds = %69
%72 = load double, double* %27
%73 = fcmp olt double %72, 0.000000e+00
br i1 %73, label %74, label %75
74: ; preds = %71
store double %58, double* %26
store double 0.000000e+00, double* %27
br label %79
75: ; preds = %71
%76 = fadd double %58, %72
store double %76, double* %26
br label %79
77: ; preds = %69
%78 = fsub double %60, %58
store double %78, double* %27
br label %79
79: ; preds = %61, %74, %75, %77
%80 = load double, double* %28
br label %81
81: ; preds = %79, %65
%82 = phi double [ %80, %79 ], [ %68, %65 ]
%83 = fcmp ogt double %82, 0.000000e+00
br i1 %83, label %84, label %85
84: ; preds = %81
store i32 3, i32* %21
store i32 3, i32* %22
br label %85
85: ; preds = %84, %81
%86 = load double, double* %8
%87 = load i32, i32* %13
%88 = sitofp i32 %87 to double
%89 = fdiv double %86, %88
store double %89, double* %11
%90 = load double, double* %9
%91 = load i32, i32* %14
%92 = sitofp i32 %91 to double
%93 = fdiv double %90, %92
store double %93, double* %12
ret i32 1
}