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

/* Variables and functions */
float atof(char *);
int /*<<< orphan*/ exit(int);
int /*<<< orphan*/ fclose(int /*<<< orphan*/ *);
int /*<<< orphan*/ *fopen(char *, char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
int /*<<< orphan*/ printf(char *);
scalar_t__ round(float);
int /*<<< orphan*/ stderr;
int main(int argc, char **argv) {
  if (argc < 7) {
    fprintf(stderr, "usage %s <xstart><xstop><ystart><ystop><xres><yres>\n",
            argv[0]);
    exit(2);
  }
  float xstart = atof(argv[1]), xstop = atof(argv[2]), ystart = atof(argv[3]),
        ystop = atof(argv[4]), xres = atof(argv[5]), yres = atof(argv[6]);
  float xinc = (xstop - xstart) / (xres - 1);
  float yinc = (ystop - ystart) / (yres - 1);
  char buf[256] = {};
  FILE *fichier = NULL;
  fichier = fopen("config_mandelbrot.vhd", "w+");
  if (fichier != NULL) {
    fprintf(fichier, "%s",
            "library IEEE;\nuse IEEE.STD_LOGIC_1164.ALL;\nuse "
            "IEEE.NUMERIC_STD.ALL;\n\n\npackage CONFIG_MANDELBROT is \n");
    fprintf(fichier, "constant XSTART : SIGNED(31 downto 0) :=x\"%X\";\n",
            (int32_t)round(xstart * (1 << 28)));
    fprintf(fichier, "constant XSTOP : SIGNED(31 downto 0) :=x\"%X\";\n",
            (int32_t)round(xstop * (1 << 28)));
    fprintf(fichier, "constant YSTART : SIGNED(31 downto 0) :=x\"%X\";\n",
            (int32_t)round(ystart * (1 << 28)));
    fprintf(fichier, "constant YSTOP : SIGNED(31 downto 0) :=x\"%X\";\n",
            (int32_t)round(ystop * (1 << 28)));
    fprintf(fichier, "constant XINC : SIGNED(31 downto 0) :=x\"%X\";\n",
            (int32_t)round(xinc * (1 << 28)));
    fprintf(fichier, "constant YINC : SIGNED(31 downto 0) :=x\"%X\";\n",
            (int32_t)round(yinc * (1 << 28)));
    fprintf(fichier, "constant XRES : integer :=\"%d\";\n", (int)xres);
    fprintf(fichier, "constant YRES : integer :=\"%d\";\n", (int)yres);
    fprintf(fichier, "\n\n end CONFIG_MANDELBROT;\n");
  } else {
    printf("erreur d'ouverture du fichier\n");
  }
  fclose(fichier);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x170,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x7,-0x8(%rbp)
jge    11cc <main+0x4c>
mov    0x2e36(%rip),%rax
movslq (%rax),%rdi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xe4d(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    $0x2,%edi
call   10a0 <exit@plt>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1030 <atof@plt>
movss  %xmm0,-0x14(%rbp)
mov    -0x10(%rbp),%rax
mov    0x10(%rax),%rdi
call   1030 <atof@plt>
movss  %xmm0,-0x18(%rbp)
mov    -0x10(%rbp),%rax
mov    0x18(%rax),%rdi
call   1030 <atof@plt>
movss  %xmm0,-0x1c(%rbp)
mov    -0x10(%rbp),%rax
mov    0x20(%rax),%rdi
call   1030 <atof@plt>
movss  %xmm0,-0x20(%rbp)
mov    -0x10(%rbp),%rax
mov    0x28(%rax),%rdi
call   1030 <atof@plt>
movss  %xmm0,-0x24(%rbp)
mov    -0x10(%rbp),%rax
mov    0x30(%rax),%rdi
call   1030 <atof@plt>
movss  %xmm0,-0x28(%rbp)
movss  -0x18(%rbp),%xmm0
subss  -0x14(%rbp),%xmm0
movss  -0x24(%rbp),%xmm1
movss  0xdb1(%rip),%xmm2
subss  %xmm2,%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x2c(%rbp)
movss  -0x20(%rbp),%xmm0
subss  -0x1c(%rbp),%xmm0
movss  -0x28(%rbp),%xmm1
movss  0xd8d(%rip),%xmm2
subss  %xmm2,%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x30(%rbp)
lea    -0x130(%rbp),%rdi
xor    %esi,%esi
mov    $0x100,%edx
call   1060 <memset@plt>
movq   $0x0,-0x138(%rbp)
lea    0xd98(%rip),%rdi
lea    0xda7(%rip),%rsi
call   1080 <fopen@plt>
mov    %rax,-0x138(%rbp)
cmpq   $0x0,-0x138(%rbp)
je     147a <main+0x2fa>
mov    -0x138(%rbp),%rdi
lea    0xd82(%rip),%rsi
lea    0xd7e(%rip),%rdx
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    -0x138(%rbp),%rax
mov    %rax,-0x168(%rbp)
movss  0xd0c(%rip),%xmm0
mulss  -0x14(%rbp),%xmm0
call   1090 <round@plt>
mov    -0x168(%rbp),%rdi
mov    %eax,%edx
lea    0xdad(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    -0x138(%rbp),%rax
mov    %rax,-0x160(%rbp)
movss  0xcd5(%rip),%xmm0
mulss  -0x18(%rbp),%xmm0
call   1090 <round@plt>
mov    -0x160(%rbp),%rdi
mov    %eax,%edx
lea    0xda6(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    -0x138(%rbp),%rax
mov    %rax,-0x158(%rbp)
movss  0xc9e(%rip),%xmm0
mulss  -0x1c(%rbp),%xmm0
call   1090 <round@plt>
mov    -0x158(%rbp),%rdi
mov    %eax,%edx
lea    0xd9e(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    -0x138(%rbp),%rax
mov    %rax,-0x150(%rbp)
movss  0xc67(%rip),%xmm0
mulss  -0x20(%rbp),%xmm0
call   1090 <round@plt>
mov    -0x150(%rbp),%rdi
mov    %eax,%edx
lea    0xd97(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    -0x138(%rbp),%rax
mov    %rax,-0x148(%rbp)
movss  0xc30(%rip),%xmm0
mulss  -0x2c(%rbp),%xmm0
call   1090 <round@plt>
mov    -0x148(%rbp),%rdi
mov    %eax,%edx
lea    0xd8f(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    -0x138(%rbp),%rax
mov    %rax,-0x140(%rbp)
movss  0xbf9(%rip),%xmm0
mulss  -0x30(%rbp),%xmm0
call   1090 <round@plt>
mov    -0x140(%rbp),%rdi
mov    %eax,%edx
lea    0xd86(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    -0x138(%rbp),%rdi
cvttss2si -0x24(%rbp),%edx
lea    0xd9a(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    -0x138(%rbp),%rdi
cvttss2si -0x28(%rbp),%edx
lea    0xda1(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
mov    -0x138(%rbp),%rdi
lea    0xdad(%rip),%rsi
mov    $0x0,%al
call   1070 <fprintf@plt>
jmp    1486 <main+0x306>
lea    0xdb5(%rip),%rdi
call   1050 <printf@plt>
mov    -0x138(%rbp),%rdi
call   1040 <fclose@plt>
xor    %eax,%eax
add    $0x170,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0x20,%rsp
mov    %rsi,%rbx
cmp    $0x6,%edi
jle    13ad <main+0x22d>
mov    0x8(%rbx),%rdi
call   1040 <atof@plt>
movss  %xmm0,(%rsp)
mov    0x10(%rbx),%rdi
call   1040 <atof@plt>
movss  %xmm0,0x4(%rsp)
mov    0x18(%rbx),%rdi
call   1040 <atof@plt>
movss  %xmm0,0x8(%rsp)
mov    0x20(%rbx),%rdi
call   1040 <atof@plt>
movss  %xmm0,0xc(%rsp)
mov    0x28(%rbx),%rdi
call   1040 <atof@plt>
movss  %xmm0,0x10(%rsp)
mov    0x30(%rbx),%rdi
call   1040 <atof@plt>
movss  %xmm0,0x14(%rsp)
lea    0xe4c(%rip),%rdi
lea    0xe5b(%rip),%rsi
call   1070 <fopen@plt>
mov    %rax,%rbx
test   %rax,%rax
je     1391 <main+0x211>
movss  0xc(%rsp),%xmm2
subss  0x8(%rsp),%xmm2
movss  0xde3(%rip),%xmm0
movss  0x14(%rsp),%xmm1
addss  %xmm0,%xmm1
divss  %xmm1,%xmm2
movss  %xmm2,0x1c(%rsp)
movss  0x4(%rsp),%xmm1
subss  (%rsp),%xmm1
addss  0x10(%rsp),%xmm0
divss  %xmm0,%xmm1
movss  %xmm1,0x18(%rsp)
lea    0xe03(%rip),%rdi
mov    $0x65,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   10a0 <fwrite@plt>
movss  (%rsp),%xmm0
mulss  0xd92(%rip),%xmm0
call   1080 <round@plt>
lea    0xe3e(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <fprintf@plt>
movss  0x4(%rsp),%xmm0
mulss  0xd6c(%rip),%xmm0
call   1080 <round@plt>
lea    0xe48(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <fprintf@plt>
movss  0x8(%rsp),%xmm0
mulss  0xd46(%rip),%xmm0
call   1080 <round@plt>
lea    0xe51(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <fprintf@plt>
movss  0xc(%rsp),%xmm0
mulss  0xd20(%rip),%xmm0
call   1080 <round@plt>
lea    0xe5b(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <fprintf@plt>
movss  0x18(%rsp),%xmm0
mulss  0xcfa(%rip),%xmm0
call   1080 <round@plt>
lea    0xe64(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <fprintf@plt>
movss  0x1c(%rsp),%xmm0
mulss  0xcd4(%rip),%xmm0
call   1080 <round@plt>
lea    0xe6c(%rip),%rsi
mov    %rbx,%rdi
mov    %eax,%edx
xor    %eax,%eax
call   1060 <fprintf@plt>
cvttss2si 0x10(%rsp),%edx
lea    0xe81(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <fprintf@plt>
cvttss2si 0x14(%rsp),%edx
lea    0xe8b(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <fprintf@plt>
lea    0xe9b(%rip),%rdi
mov    $0x1a,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   10a0 <fwrite@plt>
jmp    139d <main+0x21d>
lea    0xe9b(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1050 <fclose@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbx
ret
mov    0x2c2c(%rip),%rax
movslq (%rax),%rdi
mov    (%rbx),%rdx
lea    0xc47(%rip),%rsi
xor    %eax,%eax
call   1060 <fprintf@plt>
mov    $0x2,%edi
call   1090 <exit@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [53 x i8] c"usage %s <xstart><xstop><ystart><ystop><xres><yres>\0A\00"
@.str.1 = [22 x i8] c"config_mandelbrot.vhd\00"
@.str.2 = [3 x i8] c"w+\00"
@.str.3 = [3 x i8] c"%s\00"
@.str.4 = [102 x i8] c"library IEEE;\0Ause IEEE.STD_LOGIC_1164.ALL;\0Ause IEEE.NUMERIC_STD.ALL;\0A\0A\0Apackage CONFIG_MANDELBROT is \0A\00"
@.str.5 = [48 x i8] c"constant XSTART : SIGNED(31 downto 0) :=x\22%X\22;\0A\00"
@.str.6 = [47 x i8] c"constant XSTOP : SIGNED(31 downto 0) :=x\22%X\22;\0A\00"
@.str.7 = [48 x i8] c"constant YSTART : SIGNED(31 downto 0) :=x\22%X\22;\0A\00"
@.str.8 = [47 x i8] c"constant YSTOP : SIGNED(31 downto 0) :=x\22%X\22;\0A\00"
@.str.9 = [46 x i8] c"constant XINC : SIGNED(31 downto 0) :=x\22%X\22;\0A\00"
@.str.10 = [46 x i8] c"constant YINC : SIGNED(31 downto 0) :=x\22%X\22;\0A\00"
@.str.11 = [33 x i8] c"constant XRES : integer :=\22%d\22;\0A\00"
@.str.12 = [33 x i8] c"constant YRES : integer :=\22%d\22;\0A\00"
@.str.13 = [27 x i8] c"\0A\0A end CONFIG_MANDELBROT;\0A\00"
@.str.14 = [31 x i8] c"erreur d'ouverture du fichier\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca float
%7 = alloca float
%8 = alloca float
%9 = alloca float
%10 = alloca float
%11 = alloca float
%12 = alloca float
%13 = alloca float
%14 = alloca [256 x i8]
%15 = alloca i32*
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%16 = load i32, i32* %4
%17 = icmp slt i32 %16, 7
br i1 %17, label %18, label %27
18: ; preds = %2
%19 = load i32, i32* @stderr
%20 = sext i32 %19 to i64
%21 = inttoptr i64 %20 to i32*
%22 = load i8**, i8*** %5
%23 = getelementptr inbounds i8*, i8** %22, i64 0
%24 = load i8*, i8** %23
%25 = call i32 (i32*, i8*, ...) @fprintf(i32* %21, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i8* %24)
%26 = call i32 @exit(i32 2)
unreachable
27: ; preds = %2
%28 = load i8**, i8*** %5
%29 = getelementptr inbounds i8*, i8** %28, i64 1
%30 = load i8*, i8** %29
%31 = call float @atof(i8* %30)
store float %31, float* %6
%32 = load i8**, i8*** %5
%33 = getelementptr inbounds i8*, i8** %32, i64 2
%34 = load i8*, i8** %33
%35 = call float @atof(i8* %34)
store float %35, float* %7
%36 = load i8**, i8*** %5
%37 = getelementptr inbounds i8*, i8** %36, i64 3
%38 = load i8*, i8** %37
%39 = call float @atof(i8* %38)
store float %39, float* %8
%40 = load i8**, i8*** %5
%41 = getelementptr inbounds i8*, i8** %40, i64 4
%42 = load i8*, i8** %41
%43 = call float @atof(i8* %42)
store float %43, float* %9
%44 = load i8**, i8*** %5
%45 = getelementptr inbounds i8*, i8** %44, i64 5
%46 = load i8*, i8** %45
%47 = call float @atof(i8* %46)
store float %47, float* %10
%48 = load i8**, i8*** %5
%49 = getelementptr inbounds i8*, i8** %48, i64 6
%50 = load i8*, i8** %49
%51 = call float @atof(i8* %50)
store float %51, float* %11
%52 = load float, float* %7
%53 = load float, float* %6
%54 = fsub float %52, %53
%55 = load float, float* %10
%56 = fsub float %55, 1.000000e+00
%57 = fdiv float %54, %56
store float %57, float* %12
%58 = load float, float* %9
%59 = load float, float* %8
%60 = fsub float %58, %59
%61 = load float, float* %11
%62 = fsub float %61, 1.000000e+00
%63 = fdiv float %60, %62
store float %63, float* %13
%64 = bitcast [256 x i8]* %14 to i8*
store i32* null, i32** %15
%65 = call i32* @fopen(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
store i32* %65, i32** %15
%66 = load i32*, i32** %15
%67 = icmp ne i32* %66, null
br i1 %67, label %68, label %117
68: ; preds = %27
%69 = load i32*, i32** %15
%70 = call i32 (i32*, i8*, ...) @fprintf(i32* %69, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([102 x i8], [102 x i8]* @.str.4, i64 0, i64 0))
%71 = load i32*, i32** %15
%72 = load float, float* %6
%73 = fmul float %72, 0x41B0000000000000
%74 = call i64 @round(float %73)
%75 = trunc i64 %74 to i32
%76 = call i32 (i32*, i8*, ...) @fprintf(i32* %71, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.5, i64 0, i64 0), i32 %75)
%77 = load i32*, i32** %15
%78 = load float, float* %7
%79 = fmul float %78, 0x41B0000000000000
%80 = call i64 @round(float %79)
%81 = trunc i64 %80 to i32
%82 = call i32 (i32*, i8*, ...) @fprintf(i32* %77, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.6, i64 0, i64 0), i32 %81)
%83 = load i32*, i32** %15
%84 = load float, float* %8
%85 = fmul float %84, 0x41B0000000000000
%86 = call i64 @round(float %85)
%87 = trunc i64 %86 to i32
%88 = call i32 (i32*, i8*, ...) @fprintf(i32* %83, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.7, i64 0, i64 0), i32 %87)
%89 = load i32*, i32** %15
%90 = load float, float* %9
%91 = fmul float %90, 0x41B0000000000000
%92 = call i64 @round(float %91)
%93 = trunc i64 %92 to i32
%94 = call i32 (i32*, i8*, ...) @fprintf(i32* %89, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.8, i64 0, i64 0), i32 %93)
%95 = load i32*, i32** %15
%96 = load float, float* %12
%97 = fmul float %96, 0x41B0000000000000
%98 = call i64 @round(float %97)
%99 = trunc i64 %98 to i32
%100 = call i32 (i32*, i8*, ...) @fprintf(i32* %95, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.9, i64 0, i64 0), i32 %99)
%101 = load i32*, i32** %15
%102 = load float, float* %13
%103 = fmul float %102, 0x41B0000000000000
%104 = call i64 @round(float %103)
%105 = trunc i64 %104 to i32
%106 = call i32 (i32*, i8*, ...) @fprintf(i32* %101, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.10, i64 0, i64 0), i32 %105)
%107 = load i32*, i32** %15
%108 = load float, float* %10
%109 = fptosi float %108 to i32
%110 = call i32 (i32*, i8*, ...) @fprintf(i32* %107, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.11, i64 0, i64 0), i32 %109)
%111 = load i32*, i32** %15
%112 = load float, float* %11
%113 = fptosi float %112 to i32
%114 = call i32 (i32*, i8*, ...) @fprintf(i32* %111, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.12, i64 0, i64 0), i32 %113)
%115 = load i32*, i32** %15
%116 = call i32 (i32*, i8*, ...) @fprintf(i32* %115, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.13, i64 0, i64 0))
br label %119
117: ; preds = %27
%118 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.14, i64 0, i64 0))
br label %119
119: ; preds = %117, %68
%120 = load i32*, i32** %15
%121 = call i32 @fclose(i32* %120)
ret i32 0
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [53 x i8] c"usage %s <xstart><xstop><ystart><ystop><xres><yres>\0A\00"
@.str.1 = [22 x i8] c"config_mandelbrot.vhd\00"
@.str.2 = [3 x i8] c"w+\00"
@.str.4 = [102 x i8] c"library IEEE;\0Ause IEEE.STD_LOGIC_1164.ALL;\0Ause IEEE.NUMERIC_STD.ALL;\0A\0A\0Apackage CONFIG_MANDELBROT is \0A\00"
@.str.5 = [48 x i8] c"constant XSTART : SIGNED(31 downto 0) :=x\22%X\22;\0A\00"
@.str.6 = [47 x i8] c"constant XSTOP : SIGNED(31 downto 0) :=x\22%X\22;\0A\00"
@.str.7 = [48 x i8] c"constant YSTART : SIGNED(31 downto 0) :=x\22%X\22;\0A\00"
@.str.8 = [47 x i8] c"constant YSTOP : SIGNED(31 downto 0) :=x\22%X\22;\0A\00"
@.str.9 = [46 x i8] c"constant XINC : SIGNED(31 downto 0) :=x\22%X\22;\0A\00"
@.str.10 = [46 x i8] c"constant YINC : SIGNED(31 downto 0) :=x\22%X\22;\0A\00"
@.str.11 = [33 x i8] c"constant XRES : integer :=\22%d\22;\0A\00"
@.str.12 = [33 x i8] c"constant YRES : integer :=\22%d\22;\0A\00"
@.str.13 = [27 x i8] c"\0A\0A end CONFIG_MANDELBROT;\0A\00"
@str = [30 x i8] c"erreur d'ouverture du fichier\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp slt i32 %0, 7
br i1 %3, label %4, label %11
4: ; preds = %2
%5 = load i32, i32* @stderr
%6 = sext i32 %5 to i64
%7 = inttoptr i64 %6 to i32*
%8 = load i8*, i8** %1
%9 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %7, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str, i64 0, i64 0), i8* %8)
%10 = tail call i32 @exit(i32 2)
unreachable
11: ; preds = %2
%12 = getelementptr inbounds i8*, i8** %1, i64 1
%13 = load i8*, i8** %12
%14 = tail call float @atof(i8* %13)
%15 = getelementptr inbounds i8*, i8** %1, i64 2
%16 = load i8*, i8** %15
%17 = tail call float @atof(i8* %16)
%18 = getelementptr inbounds i8*, i8** %1, i64 3
%19 = load i8*, i8** %18
%20 = tail call float @atof(i8* %19)
%21 = getelementptr inbounds i8*, i8** %1, i64 4
%22 = load i8*, i8** %21
%23 = tail call float @atof(i8* %22)
%24 = getelementptr inbounds i8*, i8** %1, i64 5
%25 = load i8*, i8** %24
%26 = tail call float @atof(i8* %25)
%27 = getelementptr inbounds i8*, i8** %1, i64 6
%28 = load i8*, i8** %27
%29 = tail call float @atof(i8* %28)
%30 = tail call i32* @fopen(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
%31 = icmp eq i32* %30, null
br i1 %31, label %69, label %32
32: ; preds = %11
%33 = fsub float %23, %20
%34 = fadd float %29, -1.000000e+00
%35 = fdiv float %33, %34
%36 = fsub float %17, %14
%37 = fadd float %26, -1.000000e+00
%38 = fdiv float %36, %37
%39 = tail call i64 @fwrite(i8* getelementptr inbounds ([102 x i8], [102 x i8]* @.str.4, i64 0, i64 0), i64 101, i64 1, i32* %30)
%40 = fmul float %14, 0x41B0000000000000
%41 = tail call i64 @round(float %40)
%42 = trunc i64 %41 to i32
%43 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %30, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.5, i64 0, i64 0), i32 %42)
%44 = fmul float %17, 0x41B0000000000000
%45 = tail call i64 @round(float %44)
%46 = trunc i64 %45 to i32
%47 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %30, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.6, i64 0, i64 0), i32 %46)
%48 = fmul float %20, 0x41B0000000000000
%49 = tail call i64 @round(float %48)
%50 = trunc i64 %49 to i32
%51 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %30, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.7, i64 0, i64 0), i32 %50)
%52 = fmul float %23, 0x41B0000000000000
%53 = tail call i64 @round(float %52)
%54 = trunc i64 %53 to i32
%55 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %30, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.8, i64 0, i64 0), i32 %54)
%56 = fmul float %38, 0x41B0000000000000
%57 = tail call i64 @round(float %56)
%58 = trunc i64 %57 to i32
%59 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %30, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.9, i64 0, i64 0), i32 %58)
%60 = fmul float %35, 0x41B0000000000000
%61 = tail call i64 @round(float %60)
%62 = trunc i64 %61 to i32
%63 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %30, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.10, i64 0, i64 0), i32 %62)
%64 = fptosi float %26 to i32
%65 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %30, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.11, i64 0, i64 0), i32 %64)
%66 = fptosi float %29 to i32
%67 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %30, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.12, i64 0, i64 0), i32 %66)
%68 = tail call i64 @fwrite(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.13, i64 0, i64 0), i64 26, i64 1, i32* %30)
br label %71
69: ; preds = %11
%70 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str, i64 0, i64 0))
br label %71
71: ; preds = %69, %32
%72 = tail call i32 @fclose(i32* %30)
ret i32 0
}