#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*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, float *, char *);
int main(void) {
  float number;
  float accumulator = 0;
  char operator;
  printf("Welcome to the simple printing calculator\n");
  printf("Usage:\n");
  printf("Prompt: Number Operator");
  printf("Operators:\n");
  printf("\tS    - used to set the accumulator.\n");
  printf("\t+    - used to add to the accumulator.\n");
  printf("\t-    - used to add to the accumulator.\n");
  printf("\t*    - used to add to the accumulator.\n");
  printf("\t/    - used to add to the accumulator.\n");
  printf("\tE    - used to end the program. Prefix with 0\n");
  printf("\n");
  printf("Prompt(# O): ");
  scanf("%f %c", &number, &operator);
  while (operator!= 'E') {
    switch (operator) {
    case 'S':
      accumulator = number;
      printf("= %.6f\n", accumulator);
      break;
    case '+':
      accumulator += number;
      printf("= %.6f\n", accumulator);
      break;
    case '-':
      accumulator -= number;
      printf("= %.6f\n", accumulator);
      break;
    case '*':
      accumulator *= number;
      printf("= %.6f\n", accumulator);
      break;
    case '/':
      if ((int)number != 0) {
        accumulator /= number;
        printf("= %.6f\n", accumulator);
      } else {
        printf("Division by zero! Accumulator unchanged!\n");
      }
      break;
    default:
      printf("Unknown operator!, Accumulator unchanged!\n");
    }
    printf("Prompt(# O): ");
    scanf("%f %c", &number, &operator);
    if (operator== 'E') {
      printf("= %.6f\n", accumulator);
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0xc(%rbp)
lea    0xf6a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf87(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf81(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf8b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf89(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfa1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfbc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfd7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x100d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1073(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1021(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1021(%rip),%rdi
lea    -0x8(%rbp),%rsi
lea    -0xd(%rbp),%rdx
call   1040 <scanf@plt>
movsbl -0xd(%rbp),%eax
cmp    $0x45,%eax
je     137e <main+0x25e>
movsbl -0xd(%rbp),%eax
add    $0xffffffd6,%eax
mov    %eax,%ecx
mov    %rcx,-0x18(%rbp)
sub    $0x29,%eax
ja     1325 <main+0x205>
mov    -0x18(%rbp),%rax
lea    0xddf(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movss  -0x8(%rbp),%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xfc9(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    1333 <main+0x213>
movss  -0x8(%rbp),%xmm0
addss  -0xc(%rbp),%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xf9e(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    1333 <main+0x213>
movss  -0x8(%rbp),%xmm1
movss  -0xc(%rbp),%xmm0
subss  %xmm1,%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xf6f(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    1333 <main+0x213>
movss  -0x8(%rbp),%xmm0
mulss  -0xc(%rbp),%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xf44(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    1333 <main+0x213>
cvttss2si -0x8(%rbp),%eax
cmp    $0x0,%eax
je     1312 <main+0x1f2>
movss  -0x8(%rbp),%xmm1
movss  -0xc(%rbp),%xmm0
divss  %xmm1,%xmm0
movss  %xmm0,-0xc(%rbp)
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xf07(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    1320 <main+0x200>
lea    0xefc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1333 <main+0x213>
lea    0xf13(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xebf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xebf(%rip),%rdi
lea    -0x8(%rbp),%rsi
lea    -0xd(%rbp),%rdx
call   1040 <scanf@plt>
movsbl -0xd(%rbp),%eax
cmp    $0x45,%eax
jne    1379 <main+0x259>
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe9b(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
jmp    11f3 <main+0xd3>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
lea    0xf87(%rip),%rdi
call   1040 <puts@plt>
lea    0xfa5(%rip),%rdi
call   1040 <puts@plt>
lea    0xf3b(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xf92(%rip),%rdi
call   1040 <puts@plt>
lea    0xf91(%rip),%rdi
call   1040 <puts@plt>
lea    0xfaa(%rip),%rdi
call   1040 <puts@plt>
lea    0xfc6(%rip),%rdi
call   1040 <puts@plt>
lea    0xfe2(%rip),%rdi
call   1040 <puts@plt>
lea    0xffe(%rip),%rdi
call   1040 <puts@plt>
lea    0x101a(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xee7(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xee7(%rip),%rdi
lea    0x14(%rsp),%rsi
lea    0xf(%rsp),%rdx
call   1060 <scanf@plt>
mov    0xf(%rsp),%al
cmp    $0x45,%al
jne    120f <main+0xcf>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
xorps  %xmm0,%xmm0
movss  %xmm0,0x10(%rsp)
lea    0xea1(%rip),%r15
lea    0xea8(%rip),%r12
lea    0x14(%rsp),%r13
lea    0xf(%rsp),%rbx
lea    0xe9d(%rip),%rbp
lea    0xdc2(%rip),%r14
jmp    1244 <main+0x104>
cmp    $0x45,%al
je     11fe <main+0xbe>
movsbl %al,%eax
add    $0xffffffd6,%eax
cmp    $0x29,%eax
ja     1274 <main+0x134>
movslq (%r14,%rax,4),%rax
add    %r14,%rax
jmp    *%rax
movss  0x10(%rsp),%xmm0
mulss  0x14(%rsp),%xmm0
jmp    12b8 <main+0x178>
movss  0x10(%rsp),%xmm0
addss  0x14(%rsp),%xmm0
jmp    12b8 <main+0x178>
lea    0xfba(%rip),%rdi
jmp    12d5 <main+0x195>
movss  0x10(%rsp),%xmm0
subss  0x14(%rsp),%xmm0
jmp    12b8 <main+0x178>
movss  0x14(%rsp),%xmm0
cvttss2si %xmm0,%eax
test   %eax,%eax
je     12ce <main+0x18e>
movss  0x10(%rsp),%xmm1
divss  %xmm0,%xmm1
movss  %xmm1,0x10(%rsp)
xorps  %xmm0,%xmm0
cvtss2sd %xmm1,%xmm0
jmp    12c2 <main+0x182>
movss  0x14(%rsp),%xmm0
movss  %xmm0,0x10(%rsp)
cvtss2sd %xmm0,%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
jmp    12da <main+0x19a>
lea    0xf37(%rip),%rdi
call   1040 <puts@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r12,%rdi
mov    %r13,%rsi
mov    %rbx,%rdx
call   1060 <scanf@plt>
movzbl 0xf(%rsp),%eax
cmp    $0x45,%al
jne    1240 <main+0x100>
movss  0x10(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %rbp,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movzbl 0xf(%rsp),%eax
jmp    1240 <main+0x100>

LLVM IR (-O0):
@.str = [43 x i8] c"Welcome to the simple printing calculator\0A\00"
@.str.1 = [8 x i8] c"Usage:\0A\00"
@.str.2 = [24 x i8] c"Prompt: Number Operator\00"
@.str.3 = [12 x i8] c"Operators:\0A\00"
@.str.4 = [38 x i8] c"\09S - used to set the accumulator.\0A\00"
@.str.5 = [41 x i8] c"\09+ - used to add to the accumulator.\0A\00"
@.str.6 = [41 x i8] c"\09- - used to add to the accumulator.\0A\00"
@.str.7 = [41 x i8] c"\09* - used to add to the accumulator.\0A\00"
@.str.8 = [41 x i8] c"\09/ - used to add to the accumulator.\0A\00"
@.str.9 = [48 x i8] c"\09E - used to end the program. Prefix with 0\0A\00"
@.str.10 = [2 x i8] c"\0A\00"
@.str.11 = [14 x i8] c"Prompt(# O): \00"
@.str.12 = [6 x i8] c"%f %c\00"
@.str.13 = [8 x i8] c"= %.6f\0A\00"
@.str.14 = [42 x i8] c"Division by zero! Accumulator unchanged!\0A\00"
@.str.15 = [43 x i8] c"Unknown operator!, Accumulator unchanged!\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca float
%3 = alloca float
%4 = alloca i8
store i32 0, i32* %1
store float 0.000000e+00, float* %3
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.4, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.5, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.6, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.7, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.8, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.9, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.11, i64 0, i64 0))
%17 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0), float* %2, i8* %4)
br label %18
18: ; preds = %77, %0
%19 = load i8, i8* %4
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 69
br i1 %21, label %22, label %78
22: ; preds = %18
%23 = load i8, i8* %4
%24 = sext i8 %23 to i32
switch i32 %24, label %65 [
i32 83, label %25
i32 43, label %30
i32 45, label %37
i32 42, label %44
i32 47, label %51
]
25: ; preds = %22
%26 = load float, float* %2
store float %26, float* %3
%27 = load float, float* %3
%28 = fpext float %27 to double
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), double %28)
br label %67
30: ; preds = %22
%31 = load float, float* %2
%32 = load float, float* %3
%33 = fadd float %32, %31
store float %33, float* %3
%34 = load float, float* %3
%35 = fpext float %34 to double
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), double %35)
br label %67
37: ; preds = %22
%38 = load float, float* %2
%39 = load float, float* %3
%40 = fsub float %39, %38
store float %40, float* %3
%41 = load float, float* %3
%42 = fpext float %41 to double
%43 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), double %42)
br label %67
44: ; preds = %22
%45 = load float, float* %2
%46 = load float, float* %3
%47 = fmul float %46, %45
store float %47, float* %3
%48 = load float, float* %3
%49 = fpext float %48 to double
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), double %49)
br label %67
51: ; preds = %22
%52 = load float, float* %2
%53 = fptosi float %52 to i32
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %62
55: ; preds = %51
%56 = load float, float* %2
%57 = load float, float* %3
%58 = fdiv float %57, %56
store float %58, float* %3
%59 = load float, float* %3
%60 = fpext float %59 to double
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), double %60)
br label %64
62: ; preds = %51
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.14, i64 0, i64 0))
br label %64
64: ; preds = %62, %55
br label %67
65: ; preds = %22
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.15, i64 0, i64 0))
br label %67
67: ; preds = %65, %64, %44, %37, %30, %25
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.11, i64 0, i64 0))
%69 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0), float* %2, i8* %4)
%70 = load i8, i8* %4
%71 = sext i8 %70 to i32
%72 = icmp eq i32 %71, 69
br i1 %72, label %73, label %77
73: ; preds = %67
%74 = load float, float* %3
%75 = fpext float %74 to double
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), double %75)
br label %77
77: ; preds = %73, %67
br label %18
78: ; preds = %18
ret i32 0
}

LLVM IR (-O2):
@.str.2 = [24 x i8] c"Prompt: Number Operator\00"
@.str.11 = [14 x i8] c"Prompt(# O): \00"
@.str.12 = [6 x i8] c"%f %c\00"
@.str.13 = [8 x i8] c"= %.6f\0A\00"
@str = [42 x i8] c"Welcome to the simple printing calculator\00"
@str.16 = [7 x i8] c"Usage:\00"
@str.17 = [11 x i8] c"Operators:\00"
@str.18 = [37 x i8] c"\09S - used to set the accumulator.\00"
@str.19 = [40 x i8] c"\09+ - used to add to the accumulator.\00"
@str.20 = [40 x i8] c"\09- - used to add to the accumulator.\00"
@str.21 = [40 x i8] c"\09* - used to add to the accumulator.\00"
@str.22 = [40 x i8] c"\09/ - used to add to the accumulator.\00"
@str.23 = [47 x i8] c"\09E - used to end the program. Prefix with 0\00"
@str.24 = [41 x i8] c"Division by zero! Accumulator unchanged!\00"
@str.25 = [42 x i8] c"Unknown operator!, Accumulator unchanged!\00"
define i32 @main() {
%1 = alloca float
%2 = alloca i8
%3 = bitcast float* %1 to i8*
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @str.16, i64 0, i64 0))
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @str.17, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.18, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.19, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.20, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.21, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @str.22, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.23, i64 0, i64 0))
%14 = tail call i32 @putchar(i32 10)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.11, i64 0, i64 0))
%16 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0), float* %1, i8* %2)
%17 = load i8, i8* %2
%18 = icmp eq i8 %17, 69
br i1 %18, label %67, label %19
19: ; preds = %0, %64
%20 = phi i8 [ %65, %64 ], [ %17, %0 ]
%21 = phi float [ %55, %64 ], [ 0.000000e+00, %0 ]
%22 = sext i8 %20 to i32
switch i32 %22, label %52 [
i32 83, label %23
i32 43, label %27
i32 45, label %32
i32 42, label %37
i32 47, label %42
]
23: ; preds = %19
%24 = load float, float* %1
%25 = fpext float %24 to double
%26 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), double %25)
br label %54
27: ; preds = %19
%28 = load float, float* %1
%29 = fadd float %21, %28
%30 = fpext float %29 to double
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), double %30)
br label %54
32: ; preds = %19
%33 = load float, float* %1
%34 = fsub float %21, %33
%35 = fpext float %34 to double
%36 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), double %35)
br label %54
37: ; preds = %19
%38 = load float, float* %1
%39 = fmul float %21, %38
%40 = fpext float %39 to double
%41 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), double %40)
br label %54
42: ; preds = %19
%43 = load float, float* %1
%44 = fptosi float %43 to i32
%45 = icmp eq i32 %44, 0
br i1 %45, label %50, label %46
46: ; preds = %42
%47 = fdiv float %21, %43
%48 = fpext float %47 to double
%49 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), double %48)
br label %54
50: ; preds = %42
%51 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @str.24, i64 0, i64 0))
br label %54
52: ; preds = %19
%53 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.25, i64 0, i64 0))
br label %54
54: ; preds = %46, %50, %52, %37, %32, %27, %23
%55 = phi float [ %21, %52 ], [ %47, %46 ], [ %21, %50 ], [ %39, %37 ], [ %34, %32 ], [ %29, %27 ], [ %24, %23 ]
%56 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.11, i64 0, i64 0))
%57 = call i32 @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.12, i64 0, i64 0), float* %1, i8* %2)
%58 = load i8, i8* %2
%59 = icmp eq i8 %58, 69
br i1 %59, label %60, label %64
60: ; preds = %54
%61 = fpext float %55 to double
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), double %61)
%63 = load i8, i8* %2
br label %64
64: ; preds = %60, %54
%65 = phi i8 [ %63, %60 ], [ %58, %54 ]
%66 = icmp eq i8 %65, 69
br i1 %66, label %67, label %19
67: ; preds = %64, %0
ret i32 0
}