#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ fgets(char *, int, int /*<<< orphan*/);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *);
float log10(float);
int /*<<< orphan*/ printf(char *, ...);
int sscanf(char *, char *, float *, float *);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdin;
int main(int argc, char *argv[]) {
  int go_again = 1;
  float nu1, nu2;
  float f1, f2;
  float alph;
  char line[1000];
  printf("Enter nu1 and nu2:  ");
  fgets(line, 1000, stdin);
  while (sscanf(line, "%f %f", &nu1, &nu2) != 2) {
    fprintf(stderr, "ERROR: Bad input.  Enter nu1 and nu2 again:  ");
    fgets(line, 1000, stdin);
  }
  printf("\n****************************************\n");
  printf("nu1 = %f, flux1 = %f\n", nu1, f1);
  printf("****************************************\n\n");
  while (go_again) {
    printf("Enter flux1 and flux2:  ");
    fgets(line, 1000, stdin);
    while (sscanf(line, "%f %f", &f1, &f2) != 2) {
      fprintf(stderr, "ERROR: Bad input.  Enter flux1 and flux2 again:  ");
      fgets(line, 1000, stdin);
    }
    alph = (log10(f2) - log10(f1)) / (log10(nu2) - log10(nu1));
    printf("\nnu2 = %f, flux2 = %f\n", nu2, f2);
    printf("Spectral index = %6.3f\n", alph);
    printf("\nCalculate another spectral index for the same pair of ");
    printf("frequencies? [y] ");
    fgets(line, 1000, stdin);
    if (line[0] == 'n' || line[0] == 'N')
      go_again = 0;
    printf("\n****************************************\n\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x420,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x1,-0x14(%rbp)
lea    0xe89(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x410(%rbp),%rdi
mov    0x2e5c(%rip),%rax
mov    (%rax),%edx
mov    $0x3e8,%esi
call   1040 <fgets@plt>
lea    -0x410(%rbp),%rdi
lea    0xe6f(%rip),%rsi
lea    -0x18(%rbp),%rdx
lea    -0x1c(%rbp),%rcx
call   1060 <sscanf@plt>
cmp    $0x2,%eax
je     11f0 <main+0xa0>
mov    0x2e15(%rip),%rax
mov    (%rax),%edi
lea    0xe4f(%rip),%rsi
call   1050 <fprintf@plt>
lea    -0x410(%rbp),%rdi
mov    0x2e09(%rip),%rax
mov    (%rax),%edx
mov    $0x3e8,%esi
call   1040 <fgets@plt>
jmp    1198 <main+0x48>
lea    0xe52(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x20(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xe5d(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
lea    0xf2a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,-0x14(%rbp)
je     13cc <main+0x27c>
lea    0xe4d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x410(%rbp),%rdi
mov    0x2d96(%rip),%rax
mov    (%rax),%edx
mov    $0x3e8,%esi
call   1040 <fgets@plt>
lea    -0x410(%rbp),%rdi
lea    0xda9(%rip),%rsi
lea    -0x20(%rbp),%rdx
lea    -0x24(%rbp),%rcx
call   1060 <sscanf@plt>
cmp    $0x2,%eax
je     12b6 <main+0x166>
mov    0x2d4f(%rip),%rax
mov    (%rax),%edi
lea    0xe11(%rip),%rsi
call   1050 <fprintf@plt>
lea    -0x410(%rbp),%rdi
mov    0x2d43(%rip),%rax
mov    (%rax),%edx
mov    $0x3e8,%esi
call   1040 <fgets@plt>
jmp    125e <main+0x10e>
movss  -0x24(%rbp),%xmm0
call   1070 <log10@plt>
movss  %xmm0,-0x41c(%rbp)
ff
movss  -0x20(%rbp),%xmm0
call   1070 <log10@plt>
movaps %xmm0,%xmm1
movss  -0x41c(%rbp),%xmm0
ff
subss  %xmm1,%xmm0
movss  %xmm0,-0x414(%rbp)
ff
movss  -0x1c(%rbp),%xmm0
call   1070 <log10@plt>
movss  %xmm0,-0x418(%rbp)
ff
movss  -0x18(%rbp),%xmm0
call   1070 <log10@plt>
movss  -0x418(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movss  -0x414(%rbp),%xmm0
ff
subss  %xmm2,%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x28(%rbp)
movss  -0x1c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  -0x24(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xd97(%rip),%rdi
mov    $0x2,%al
call   1030 <printf@plt>
movss  -0x28(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xd97(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
lea    0xda1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdcb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x410(%rbp),%rdi
mov    0x2c62(%rip),%rax
mov    (%rax),%edx
mov    $0x3e8,%esi
call   1040 <fgets@plt>
movsbl -0x410(%rbp),%eax
cmp    $0x6e,%eax
je     13b2 <main+0x262>
movsbl -0x410(%rbp),%eax
cmp    $0x4e,%eax
jne    13b9 <main+0x269>
movl   $0x0,-0x14(%rbp)
lea    0xd8e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    122c <main+0xdc>
xor    %eax,%eax
add    $0x420,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x408,%rsp
lea    0xe88(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x2e62(%rip),%rax
mov    (%rax),%edx
lea    0x20(%rsp),%rbx
mov    %rbx,%rdi
mov    $0x3e8,%esi
call   1050 <fgets@plt>
lea    0xe74(%rip),%rsi
lea    0x14(%rsp),%rdx
lea    0x10(%rsp),%rcx
mov    %rbx,%rdi
call   1070 <sscanf@plt>
cmp    $0x2,%eax
je     1217 <main+0xb7>
mov    0x2e19(%rip),%rbp
lea    0xe55(%rip),%r14
lea    0x20(%rsp),%rbx
lea    0xe43(%rip),%r15
lea    0x14(%rsp),%r12
lea    0x10(%rsp),%r13
nopl   0x0(%rax)
mov    0x0(%rbp),%edi
mov    %r14,%rsi
call   1060 <fprintf@plt>
mov    0x2df6(%rip),%rax
mov    (%rax),%edx
mov    %rbx,%rdi
mov    $0x3e8,%esi
call   1050 <fgets@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    %r12,%rdx
mov    %r13,%rcx
call   1070 <sscanf@plt>
cmp    $0x2,%eax
jne    11e0 <main+0x80>
lea    0xf05(%rip),%rdi
call   1030 <puts@plt>
movss  0x14(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe15(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
lea    0xf0c(%rip),%rdi
call   1030 <puts@plt>
lea    0x20(%rsp),%rbx
lea    0xdc2(%rip),%r14
lea    0x1c(%rsp),%r13
lea    0xc(%rsp),%rbp
mov    0x2d84(%rip),%r12
jmp    135f <main+0x1ff>
nopl   0x0(%rax)
movss  0xc(%rsp),%xmm0
call   1080 <log10@plt>
movss  %xmm0,0x8(%rsp)
movss  0x1c(%rsp),%xmm0
call   1080 <log10@plt>
movss  0x8(%rsp),%xmm1
subss  %xmm0,%xmm1
movss  %xmm1,0x8(%rsp)
movss  0x10(%rsp),%xmm0
call   1080 <log10@plt>
movss  %xmm0,0x18(%rsp)
movss  0x14(%rsp),%xmm0
call   1080 <log10@plt>
movss  0x18(%rsp),%xmm1
subss  %xmm0,%xmm1
movss  0x8(%rsp),%xmm0
divss  %xmm1,%xmm0
movss  %xmm0,0x8(%rsp)
movss  0x10(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
movss  0xc(%rsp),%xmm1
cvtss2sd %xmm1,%xmm1
lea    0xdbd(%rip),%rdi
mov    $0x2,%al
call   1040 <printf@plt>
movss  0x8(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xdbc(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
lea    0xdc6(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdf0(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%rbp),%edx
mov    %rbx,%rdi
mov    $0x3e8,%esi
call   1050 <fgets@plt>
mov    %rbp,%r12
mov    0x20(%rsp),%bpl
and    $0xdf,%bpl
lea    0xe02(%rip),%rdi
call   1030 <puts@plt>
cmp    $0x4e,%bpl
lea    0xc(%rsp),%rbp
je     13e8 <main+0x288>
lea    0xcf9(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%r12),%edx
mov    %rbx,%rdi
mov    $0x3e8,%esi
call   1050 <fgets@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %r13,%rdx
mov    %rbp,%rcx
call   1070 <sscanf@plt>
cmp    $0x2,%eax
mov    %r12,%rbp
mov    0x2c3c(%rip),%r15
lea    0xcd5(%rip),%r12
je     1270 <main+0x110>
nopl   0x0(%rax)
mov    (%r15),%edi
mov    %r12,%rsi
call   1060 <fprintf@plt>
mov    0x0(%rbp),%edx
mov    %rbx,%rdi
mov    $0x3e8,%esi
call   1050 <fgets@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    %r13,%rdx
lea    0xc(%rsp),%rcx
call   1070 <sscanf@plt>
cmp    $0x2,%eax
jne    13b0 <main+0x250>
jmp    1270 <main+0x110>
xor    %eax,%eax
add    $0x408,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [21 x i8] c"Enter nu1 and nu2: \00"
@stdin = global i32 0
@.str.1 = [6 x i8] c"%f %f\00"
@stderr = global i32 0
@.str.2 = [46 x i8] c"ERROR: Bad input. Enter nu1 and nu2 again: \00"
@.str.3 = [43 x i8] c"\0A****************************************\0A\00"
@.str.4 = [22 x i8] c"nu1 = %f, flux1 = %f\0A\00"
@.str.5 = [43 x i8] c"****************************************\0A\0A\00"
@.str.6 = [25 x i8] c"Enter flux1 and flux2: \00"
@.str.7 = [50 x i8] c"ERROR: Bad input. Enter flux1 and flux2 again: \00"
@.str.8 = [23 x i8] c"\0Anu2 = %f, flux2 = %f\0A\00"
@.str.9 = [24 x i8] c"Spectral index = %6.3f\0A\00"
@.str.10 = [56 x i8] c"\0ACalculate another spectral index for the same pair of \00"
@.str.11 = [18 x i8] c"frequencies? [y] \00"
@.str.12 = [44 x i8] c"\0A****************************************\0A\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca float
%8 = alloca float
%9 = alloca float
%10 = alloca float
%11 = alloca float
%12 = alloca [1000 x i8]
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 1, i32* %6
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
%14 = getelementptr inbounds [1000 x i8], [1000 x i8]* %12, i64 0, i64 0
%15 = load i32, i32* @stdin
%16 = call i32 @fgets(i8* %14, i32 1000, i32 %15)
br label %17
17: ; preds = %21, %2
%18 = getelementptr inbounds [1000 x i8], [1000 x i8]* %12, i64 0, i64 0
%19 = call i32 @sscanf(i8* %18, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), float* %7, float* %8)
%20 = icmp ne i32 %19, 2
br i1 %20, label %21, label %27
21: ; preds = %17
%22 = load i32, i32* @stderr
%23 = call i32 @fprintf(i32 %22, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0))
%24 = getelementptr inbounds [1000 x i8], [1000 x i8]* %12, i64 0, i64 0
%25 = load i32, i32* @stdin
%26 = call i32 @fgets(i8* %24, i32 1000, i32 %25)
br label %17
27: ; preds = %17
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.3, i64 0, i64 0))
%29 = load float, float* %7
%30 = fpext float %29 to double
%31 = load float, float* %9
%32 = fpext float %31 to double
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), double %30, double %32)
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.5, i64 0, i64 0))
br label %35
35: ; preds = %88, %27
%36 = load i32, i32* %6
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %90
38: ; preds = %35
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0))
%40 = getelementptr inbounds [1000 x i8], [1000 x i8]* %12, i64 0, i64 0
%41 = load i32, i32* @stdin
%42 = call i32 @fgets(i8* %40, i32 1000, i32 %41)
br label %43
43: ; preds = %47, %38
%44 = getelementptr inbounds [1000 x i8], [1000 x i8]* %12, i64 0, i64 0
%45 = call i32 @sscanf(i8* %44, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), float* %9, float* %10)
%46 = icmp ne i32 %45, 2
br i1 %46, label %47, label %53
47: ; preds = %43
%48 = load i32, i32* @stderr
%49 = call i32 @fprintf(i32 %48, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.7, i64 0, i64 0))
%50 = getelementptr inbounds [1000 x i8], [1000 x i8]* %12, i64 0, i64 0
%51 = load i32, i32* @stdin
%52 = call i32 @fgets(i8* %50, i32 1000, i32 %51)
br label %43
53: ; preds = %43
%54 = load float, float* %10
%55 = call float @log10(float %54)
%56 = load float, float* %9
%57 = call float @log10(float %56)
%58 = fsub float %55, %57
%59 = load float, float* %8
%60 = call float @log10(float %59)
%61 = load float, float* %7
%62 = call float @log10(float %61)
%63 = fsub float %60, %62
%64 = fdiv float %58, %63
store float %64, float* %11
%65 = load float, float* %8
%66 = fpext float %65 to double
%67 = load float, float* %10
%68 = fpext float %67 to double
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.8, i64 0, i64 0), double %66, double %68)
%70 = load float, float* %11
%71 = fpext float %70 to double
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.9, i64 0, i64 0), double %71)
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.10, i64 0, i64 0))
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.11, i64 0, i64 0))
%75 = getelementptr inbounds [1000 x i8], [1000 x i8]* %12, i64 0, i64 0
%76 = load i32, i32* @stdin
%77 = call i32 @fgets(i8* %75, i32 1000, i32 %76)
%78 = getelementptr inbounds [1000 x i8], [1000 x i8]* %12, i64 0, i64 0
%79 = load i8, i8* %78
%80 = sext i8 %79 to i32
%81 = icmp eq i32 %80, 110
br i1 %81, label %87, label %82
82: ; preds = %53
%83 = getelementptr inbounds [1000 x i8], [1000 x i8]* %12, i64 0, i64 0
%84 = load i8, i8* %83
%85 = sext i8 %84 to i32
%86 = icmp eq i32 %85, 78
br i1 %86, label %87, label %88
87: ; preds = %82, %53
store i32 0, i32* %6
br label %88
88: ; preds = %87, %82
%89 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.12, i64 0, i64 0))
br label %35
90: ; preds = %35
ret i32 0
}

LLVM IR (-O2):
@.str = [21 x i8] c"Enter nu1 and nu2: \00"
@stdin = global i32 0
@.str.1 = [6 x i8] c"%f %f\00"
@stderr = global i32 0
@.str.2 = [46 x i8] c"ERROR: Bad input. Enter nu1 and nu2 again: \00"
@.str.4 = [22 x i8] c"nu1 = %f, flux1 = %f\0A\00"
@.str.6 = [25 x i8] c"Enter flux1 and flux2: \00"
@.str.7 = [50 x i8] c"ERROR: Bad input. Enter flux1 and flux2 again: \00"
@.str.8 = [23 x i8] c"\0Anu2 = %f, flux2 = %f\0A\00"
@.str.9 = [24 x i8] c"Spectral index = %6.3f\0A\00"
@.str.10 = [56 x i8] c"\0ACalculate another spectral index for the same pair of \00"
@.str.11 = [18 x i8] c"frequencies? [y] \00"
@str = [42 x i8] c"\0A****************************************\00"
@str.13 = [42 x i8] c"****************************************\0A\00"
@str.14 = [43 x i8] c"\0A****************************************\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca float
%4 = alloca float
%5 = alloca float
%6 = alloca float
%7 = alloca [1000 x i8]
%8 = bitcast float* %3 to i8*
%9 = bitcast float* %4 to i8*
%10 = bitcast float* %5 to i8*
%11 = bitcast float* %6 to i8*
%12 = getelementptr inbounds [1000 x i8], [1000 x i8]* %7, i64 0, i64 0
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
%14 = load i32, i32* @stdin
%15 = call i32 @fgets(i8* %12, i32 1000, i32 %14)
%16 = call i32 @sscanf(i8* %12, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), float* %3, float* %4)
%17 = icmp eq i32 %16, 2
br i1 %17, label %25, label %18
18: ; preds = %2, %18
%19 = load i32, i32* @stderr
%20 = call i32 @fprintf(i32 %19, i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0))
%21 = load i32, i32* @stdin
%22 = call i32 @fgets(i8* %12, i32 1000, i32 %21)
%23 = call i32 @sscanf(i8* %12, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), float* %3, float* %4)
%24 = icmp eq i32 %23, 2
br i1 %24, label %25, label %18
25: ; preds = %18, %2
%26 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str, i64 0, i64 0))
%27 = load float, float* %3
%28 = fpext float %27 to double
%29 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), double %28, double undef)
%30 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.13, i64 0, i64 0))
br label %31
31: ; preds = %25, %44
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0))
%33 = load i32, i32* @stdin
%34 = call i32 @fgets(i8* %12, i32 1000, i32 %33)
%35 = call i32 @sscanf(i8* %12, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), float* %5, float* %6)
%36 = icmp eq i32 %35, 2
br i1 %36, label %44, label %37
37: ; preds = %31, %37
%38 = load i32, i32* @stderr
%39 = call i32 @fprintf(i32 %38, i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.7, i64 0, i64 0))
%40 = load i32, i32* @stdin
%41 = call i32 @fgets(i8* %12, i32 1000, i32 %40)
%42 = call i32 @sscanf(i8* %12, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), float* %5, float* %6)
%43 = icmp eq i32 %42, 2
br i1 %43, label %44, label %37
44: ; preds = %37, %31
%45 = load float, float* %6
%46 = call float @log10(float %45)
%47 = load float, float* %5
%48 = call float @log10(float %47)
%49 = fsub float %46, %48
%50 = load float, float* %4
%51 = call float @log10(float %50)
%52 = load float, float* %3
%53 = call float @log10(float %52)
%54 = fsub float %51, %53
%55 = fdiv float %49, %54
%56 = load float, float* %4
%57 = fpext float %56 to double
%58 = load float, float* %6
%59 = fpext float %58 to double
%60 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.8, i64 0, i64 0), double %57, double %59)
%61 = fpext float %55 to double
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.9, i64 0, i64 0), double %61)
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @.str.10, i64 0, i64 0))
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.11, i64 0, i64 0))
%65 = load i32, i32* @stdin
%66 = call i32 @fgets(i8* %12, i32 1000, i32 %65)
%67 = load i8, i8* %12
%68 = and i8 %67, -33
%69 = icmp eq i8 %68, 78
%70 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.14, i64 0, i64 0))
br i1 %69, label %71, label %31
71: ; preds = %44
ret i32 0
}