#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 */
float abs(float);
int /*<<< orphan*/ getch();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, float *);
int main() {
  float x1, y1, x2, y2;
input:
  printf("Enter x1: ");
  scanf("%f", &x1);
  printf("Enter y1: ");
  scanf("%f", &y1);
  printf("Enter x2: ");
  scanf("%f", &x2);
  printf("Enter y2: ");
  scanf("%f", &y2);
  float a, b;
  char sign;
  a = (y1 - y2) / (x1 - x2);
  b = ((x1 * y2) - (y1 * x2)) / (x1 - x2);
  if (x1 == x2) {
    printf("\n x1 and x2 cannot be same! \n\n");
    goto input;
  }
  if (b >= 0)
    sign = '+';
  else {
    b = abs(b);
    sign = '-';
  }
  printf("Linear Equation: y = ");
  if (a == 0)
    ;
  else if (a == 1)
    printf("x ");
  else if (a == -1)
    printf("-x ");
  else
    printf("%.0fx ", a);
  if (a == 0 && sign == '+' && b != 0)
    printf("%.0f", b);
  else if (a == 0 && sign == '-' && b != 0)
    printf("-%.0f", b);
  else if (a != 0)
    printf("%c %.0f", sign, b);
  getch();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeb2(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xeaf(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1050 <scanf@plt>
lea    0xea2(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe91(%rip),%rdi
lea    -0xc(%rbp),%rsi
call   1050 <scanf@plt>
lea    0xe8f(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe73(%rip),%rdi
lea    -0x10(%rbp),%rsi
call   1050 <scanf@plt>
lea    0xe7c(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xe55(%rip),%rdi
lea    -0x14(%rbp),%rsi
call   1050 <scanf@plt>
movss  -0xc(%rbp),%xmm0
subss  -0x14(%rbp),%xmm0
movss  -0x8(%rbp),%xmm1
subss  -0x10(%rbp),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x18(%rbp)
movss  -0x8(%rbp),%xmm0
movss  -0x14(%rbp),%xmm2
movss  -0xc(%rbp),%xmm1
mulss  -0x10(%rbp),%xmm1
movd   %xmm1,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  -0x8(%rbp),%xmm1
subss  -0x10(%rbp),%xmm1
divss  %xmm1,%xmm0
movss  %xmm0,-0x1c(%rbp)
movss  -0x8(%rbp),%xmm0
ucomiss -0x10(%rbp),%xmm0
jne    1248 <main+0x108>
jp     1248 <main+0x108>
lea    0xdfb(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    114f <main+0xf>
movss  -0x1c(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jb     1262 <main+0x122>
movb   $0x2b,-0x1d(%rbp)
jmp    1275 <main+0x135>
movss  -0x1c(%rbp),%xmm0
call   1030 <abs@plt>
movss  %xmm0,-0x1c(%rbp)
movb   $0x2d,-0x1d(%rbp)
lea    0xdda(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movss  -0x18(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    129f <main+0x15f>
jp     129f <main+0x15f>
jmp    131e <main+0x1de>
movss  -0x18(%rbp),%xmm0
movss  0xd54(%rip),%xmm1
ucomiss %xmm1,%xmm0
jne    12ce <main+0x18e>
jp     12ce <main+0x18e>
lea    0xdab(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1319 <main+0x1d9>
movss  -0x18(%rbp),%xmm0
movss  0xd29(%rip),%xmm1
ucomiss %xmm1,%xmm0
jne    12fd <main+0x1bd>
jp     12fd <main+0x1bd>
lea    0xd7b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1314 <main+0x1d4>
movss  -0x18(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xd63(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
jmp    1319 <main+0x1d9>
jmp    131e <main+0x1de>
movss  -0x18(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    137a <main+0x23a>
jp     137a <main+0x23a>
movsbl -0x1d(%rbp),%eax
cmp    $0x2b,%eax
jne    137a <main+0x23a>
movss  -0x1c(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    135e <main+0x21e>
jp     135e <main+0x21e>
jmp    137a <main+0x23a>
movss  -0x1c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xd12(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
jmp    1417 <main+0x2d7>
movss  -0x18(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    13d6 <main+0x296>
jp     13d6 <main+0x296>
movsbl -0x1d(%rbp),%eax
cmp    $0x2d,%eax
jne    13d6 <main+0x296>
movss  -0x1c(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    13ba <main+0x27a>
jp     13ba <main+0x27a>
jmp    13d6 <main+0x296>
movss  -0x1c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xcad(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
jmp    1412 <main+0x2d2>
movss  -0x18(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    13f2 <main+0x2b2>
jp     13f2 <main+0x2b2>
jmp    140d <main+0x2cd>
movsbl -0x1d(%rbp),%esi
movss  -0x1c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xc77(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
jmp    1412 <main+0x2d2>
jmp    1417 <main+0x2d7>
mov    $0x0,%al
call   1060 <getch@plt>
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    $0x28,%rsp
lea    0xeb2(%rip),%rbx
lea    0xeb9(%rip),%rbp
lea    0x1c(%rsp),%r14
lea    0xeb8(%rip),%r15
lea    0x18(%rsp),%r12
lea    0xee6(%rip),%r13
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xe75(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
lea    0x24(%rsp),%rsi
call   1060 <scanf@plt>
lea    0xe68(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
lea    0x20(%rsp),%rsi
call   1060 <scanf@plt>
mov    %rbp,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1060 <scanf@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %rbx,%rdi
mov    %r12,%rsi
call   1060 <scanf@plt>
movss  0x24(%rsp),%xmm4
movss  0x1c(%rsp),%xmm0
ucomiss %xmm0,%xmm4
jne    120d <main+0xbd>
jp     120d <main+0xbd>
mov    %r13,%rdi
call   1030 <puts@plt>
jmp    1190 <main+0x40>
movss  0x20(%rsp),%xmm1
movss  0x18(%rsp),%xmm2
movaps %xmm4,%xmm3
subss  %xmm0,%xmm3
mulss  %xmm1,%xmm0
subss  %xmm2,%xmm1
divss  %xmm3,%xmm1
movss  %xmm1,0x10(%rsp)
mulss  %xmm2,%xmm4
subss  %xmm0,%xmm4
divss  %xmm3,%xmm4
mov    $0x2b,%ebx
xorps  %xmm0,%xmm0
ucomiss %xmm0,%xmm4
movss  %xmm4,0x14(%rsp)
movaps %xmm4,%xmm0
jae    1264 <main+0x114>
movss  0x14(%rsp),%xmm0
call   1040 <abs@plt>
mov    $0x2d,%ebx
movss  %xmm0,0xc(%rsp)
lea    0xdca(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movss  0x10(%rsp),%xmm1
ucomiss 0xd83(%rip),%xmm1
jne    12b4 <main+0x164>
jp     12b4 <main+0x164>
xorps  %xmm0,%xmm0
movss  0x14(%rsp),%xmm3
ucomiss %xmm0,%xmm3
movss  0xc(%rsp),%xmm2
jb     12c8 <main+0x178>
ucomiss %xmm0,%xmm2
jne    12a4 <main+0x154>
jnp    12c8 <main+0x178>
xorps  %xmm0,%xmm0
cvtss2sd %xmm2,%xmm0
lea    0xdb3(%rip),%rdi
jmp    12e5 <main+0x195>
ucomiss 0xd45(%rip),%xmm1
jne    12ee <main+0x19e>
jp     12ee <main+0x19e>
lea    0xd8c(%rip),%rdi
jmp    1300 <main+0x1b0>
ucomiss %xmm0,%xmm3
jae    1313 <main+0x1c3>
xorps  %xmm0,%xmm0
ucomiss %xmm0,%xmm2
jne    12d7 <main+0x187>
jnp    1313 <main+0x1c3>
xorps  %xmm0,%xmm0
cvtss2sd %xmm2,%xmm0
lea    0xd77(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
jmp    1334 <main+0x1e4>
ucomiss 0xd0f(%rip),%xmm1
jne    134c <main+0x1fc>
jp     134c <main+0x1fc>
lea    0xd51(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
movss  0x10(%rsp),%xmm1
movss  0xc(%rsp),%xmm2
xorps  %xmm0,%xmm0
ucomiss %xmm0,%xmm1
jne    131d <main+0x1cd>
jnp    1334 <main+0x1e4>
xorps  %xmm0,%xmm0
cvtss2sd %xmm2,%xmm0
lea    0xd37(%rip),%rdi
mov    %ebx,%esi
mov    $0x1,%al
call   1050 <printf@plt>
xor    %eax,%eax
call   1070 <getch@plt>
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
xorps  %xmm0,%xmm0
cvtss2sd %xmm1,%xmm0
lea    0xcfb(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
jmp    1307 <main+0x1b7>

LLVM IR (-O0):
@.str = [11 x i8] c"Enter x1: \00"
@.str.1 = [3 x i8] c"%f\00"
@.str.2 = [11 x i8] c"Enter y1: \00"
@.str.3 = [11 x i8] c"Enter x2: \00"
@.str.4 = [11 x i8] c"Enter y2: \00"
@.str.5 = [31 x i8] c"\0A x1 and x2 cannot be same! \0A\0A\00"
@.str.6 = [22 x i8] c"Linear Equation: y = \00"
@.str.7 = [3 x i8] c"x \00"
@.str.8 = [4 x i8] c"-x \00"
@.str.9 = [7 x i8] c"%.0fx \00"
@.str.10 = [5 x i8] c"%.0f\00"
@.str.11 = [6 x i8] c"-%.0f\00"
@.str.12 = [8 x i8] c"%c %.0f\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca float
%3 = alloca float
%4 = alloca float
%5 = alloca float
%6 = alloca float
%7 = alloca float
%8 = alloca i8
store i32 0, i32* %1
br label %9
9: ; preds = %39, %0
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%11 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %2)
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0))
%13 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %3)
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%15 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %4)
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
%17 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %5)
%18 = load float, float* %3
%19 = load float, float* %5
%20 = fsub float %18, %19
%21 = load float, float* %2
%22 = load float, float* %4
%23 = fsub float %21, %22
%24 = fdiv float %20, %23
store float %24, float* %6
%25 = load float, float* %2
%26 = load float, float* %5
%27 = load float, float* %3
%28 = load float, float* %4
%29 = fmul float %27, %28
%30 = fneg float %29
%31 = call float @llvm.fmuladd.f32(float %25, float %26, float %30)
%32 = load float, float* %2
%33 = load float, float* %4
%34 = fsub float %32, %33
%35 = fdiv float %31, %34
store float %35, float* %7
%36 = load float, float* %2
%37 = load float, float* %4
%38 = fcmp oeq float %36, %37
br i1 %38, label %39, label %41
39: ; preds = %9
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.5, i64 0, i64 0))
br label %9
41: ; preds = %9
%42 = load float, float* %7
%43 = fcmp oge float %42, 0.000000e+00
br i1 %43, label %44, label %45
44: ; preds = %41
store i8 43, i8* %8
br label %48
45: ; preds = %41
%46 = load float, float* %7
%47 = call float @abs(float %46)
store float %47, float* %7
store i8 45, i8* %8
br label %48
48: ; preds = %45, %44
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0))
%50 = load float, float* %6
%51 = fcmp oeq float %50, 0.000000e+00
br i1 %51, label %52, label %53
52: ; preds = %48
br label %69
53: ; preds = %48
%54 = load float, float* %6
%55 = fcmp oeq float %54, 1.000000e+00
br i1 %55, label %56, label %58
56: ; preds = %53
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
br label %68
58: ; preds = %53
%59 = load float, float* %6
%60 = fcmp oeq float %59, -1.000000e+00
br i1 %60, label %61, label %63
61: ; preds = %58
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
br label %67
63: ; preds = %58
%64 = load float, float* %6
%65 = fpext float %64 to double
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), double %65)
br label %67
67: ; preds = %63, %61
br label %68
68: ; preds = %67, %56
br label %69
69: ; preds = %68, %52
%70 = load float, float* %6
%71 = fcmp oeq float %70, 0.000000e+00
br i1 %71, label %72, label %83
72: ; preds = %69
%73 = load i8, i8* %8
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 43
br i1 %75, label %76, label %83
76: ; preds = %72
%77 = load float, float* %7
%78 = fcmp une float %77, 0.000000e+00
br i1 %78, label %79, label %83
79: ; preds = %76
%80 = load float, float* %7
%81 = fpext float %80 to double
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), double %81)
br label %108
83: ; preds = %76, %72, %69
%84 = load float, float* %6
%85 = fcmp oeq float %84, 0.000000e+00
br i1 %85, label %86, label %97
86: ; preds = %83
%87 = load i8, i8* %8
%88 = sext i8 %87 to i32
%89 = icmp eq i32 %88, 45
br i1 %89, label %90, label %97
90: ; preds = %86
%91 = load float, float* %7
%92 = fcmp une float %91, 0.000000e+00
br i1 %92, label %93, label %97
93: ; preds = %90
%94 = load float, float* %7
%95 = fpext float %94 to double
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), double %95)
br label %107
97: ; preds = %90, %86, %83
%98 = load float, float* %6
%99 = fcmp une float %98, 0.000000e+00
br i1 %99, label %100, label %106
100: ; preds = %97
%101 = load i8, i8* %8
%102 = sext i8 %101 to i32
%103 = load float, float* %7
%104 = fpext float %103 to double
%105 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 %102, double %104)
br label %106
106: ; preds = %100, %97
br label %107
107: ; preds = %106, %93
br label %108
108: ; preds = %107, %79
%109 = call i32 (...) @getch()
ret i32 0
}

LLVM IR (-O2):
@.str = [11 x i8] c"Enter x1: \00"
@.str.1 = [3 x i8] c"%f\00"
@.str.2 = [11 x i8] c"Enter y1: \00"
@.str.3 = [11 x i8] c"Enter x2: \00"
@.str.4 = [11 x i8] c"Enter y2: \00"
@.str.6 = [22 x i8] c"Linear Equation: y = \00"
@.str.7 = [3 x i8] c"x \00"
@.str.8 = [4 x i8] c"-x \00"
@.str.9 = [7 x i8] c"%.0fx \00"
@.str.10 = [5 x i8] c"%.0f\00"
@.str.11 = [6 x i8] c"-%.0f\00"
@.str.12 = [8 x i8] c"%c %.0f\00"
@str = [30 x i8] c"\0A x1 and x2 cannot be same! \0A\00"
define i32 @main() {
%1 = alloca float
%2 = alloca float
%3 = alloca float
%4 = alloca float
%5 = bitcast float* %1 to i8*
%6 = bitcast float* %2 to i8*
%7 = bitcast float* %3 to i8*
%8 = bitcast float* %4 to i8*
br label %9
9: ; preds = %23, %0
%10 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0))
%11 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %1)
%12 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.2, i64 0, i64 0))
%13 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %2)
%14 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0))
%15 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %3)
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.4, i64 0, i64 0))
%17 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), float* %4)
%18 = load float, float* %2
%19 = load float, float* %4
%20 = load float, float* %1
%21 = load float, float* %3
%22 = fcmp oeq float %20, %21
br i1 %22, label %23, label %25
23: ; preds = %9
%24 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str, i64 0, i64 0))
br label %9
25: ; preds = %9
%26 = fsub float %18, %19
%27 = fsub float %20, %21
%28 = fdiv float %26, %27
%29 = fneg float %18
%30 = fmul float %21, %29
%31 = call float @llvm.fmuladd.f32(float %20, float %19, float %30)
%32 = fdiv float %31, %27
%33 = fcmp ult float %32, 0.000000e+00
br i1 %33, label %34, label %36
34: ; preds = %25
%35 = call float @abs(float %32)
br label %36
36: ; preds = %25, %34
%37 = phi float [ %35, %34 ], [ %32, %25 ]
%38 = phi i32 [ 45, %34 ], [ 43, %25 ]
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0))
%40 = fcmp oeq float %28, 0.000000e+00
br i1 %40, label %52, label %41
41: ; preds = %36
%42 = fcmp oeq float %28, 1.000000e+00
br i1 %42, label %43, label %45
43: ; preds = %41
%44 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
br label %64
45: ; preds = %41
%46 = fcmp oeq float %28, -1.000000e+00
br i1 %46, label %47, label %49
47: ; preds = %45
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
br label %64
49: ; preds = %45
%50 = fpext float %28 to double
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), double %50)
br label %64
52: ; preds = %36
%53 = xor i1 %33, true
%54 = fcmp une float %37, 0.000000e+00
%55 = select i1 %53, i1 %54, i1 false
br i1 %55, label %56, label %59
56: ; preds = %52
%57 = fpext float %37 to double
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), double %57)
br label %69
59: ; preds = %52
%60 = select i1 %33, i1 %54, i1 false
br i1 %60, label %61, label %64
61: ; preds = %59
%62 = fpext float %37 to double
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), double %62)
br label %69
64: ; preds = %43, %49, %47, %59
%65 = fcmp une float %28, 0.000000e+00
br i1 %65, label %66, label %69
66: ; preds = %64
%67 = fpext float %37 to double
%68 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 %38, double %67)
br label %69
69: ; preds = %61, %66, %64, %56
%70 = call i32 (...) @getch()
ret i32 0
}