#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__ pow(double, int);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ scanf(char *, double *, double *, double *);
int /*<<< orphan*/ system(char *);
main() {
  double A, B, C, A2, B2, C2;
  scanf("%lf %lf %lf", &A, &B, &C);
  system("clear");
  if (A > B && B >= C)
    A2 = A, B2 = B, C2 = C;
  else if (A > C && C > B)
    A2 = A, C2 = B, B2 = C;
  else if (B > A && A >= C)
    A2 = B, B2 = A, C2 = C;
  else if (B > C && C > A)
    A2 = B, B2 = C, C2 = A;
  else if (C > A && A >= B)
    A2 = C, B2 = A, C2 = B;
  else if (C > B && B > A)
    A2 = C, B2 = B, C2 = A;
  else
    A2 = A, B2 = B, C2 = C;
  if (A2 >= B2 + C2)
    printf("NAO FORMA TRIANGULO\n");
  else if (pow(A2, 2) == (pow(B2, 2) + pow(C2, 2)))
    printf("TRIANGULO RETANGULO\n");
  else if (pow(A2, 2) > (pow(B2, 2) + pow(C2, 2)))
    printf("TRIANGULO OBTUSANGULO\n");
  else if (pow(A2, 2) < (pow(B2, 2) + pow(C2, 2)))
    printf("TRIANGULO ACUTANGULO\n");
  if (A2 == B2 && B2 == C2)
    printf("TRIANGULO EQUILATERO\n");
  else if (A2 == B2 || A2 == C2 || B2 == C2)
    printf("TRIANGULO ISOSCELES\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeaa(%rip),%rdi
lea    -0x10(%rbp),%rsi
lea    -0x18(%rbp),%rdx
lea    -0x20(%rbp),%rcx
call   1050 <scanf@plt>
lea    0xe9e(%rip),%rdi
call   1030 <system@plt>
movsd  -0x10(%rbp),%xmm0
ucomisd -0x18(%rbp),%xmm0
jbe    11b6 <main+0x76>
movsd  -0x18(%rbp),%xmm0
ucomisd -0x20(%rbp),%xmm0
jb     11b6 <main+0x76>
movsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
jmp    133c <main+0x1fc>
movsd  -0x10(%rbp),%xmm0
ucomisd -0x20(%rbp),%xmm0
jbe    11f9 <main+0xb9>
movsd  -0x20(%rbp),%xmm0
ucomisd -0x18(%rbp),%xmm0
jbe    11f9 <main+0xb9>
movsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
jmp    1337 <main+0x1f7>
movsd  -0x18(%rbp),%xmm0
ucomisd -0x10(%rbp),%xmm0
jbe    123c <main+0xfc>
movsd  -0x10(%rbp),%xmm0
ucomisd -0x20(%rbp),%xmm0
jb     123c <main+0xfc>
movsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
jmp    1332 <main+0x1f2>
movsd  -0x18(%rbp),%xmm0
ucomisd -0x20(%rbp),%xmm0
jbe    127f <main+0x13f>
movsd  -0x20(%rbp),%xmm0
ucomisd -0x10(%rbp),%xmm0
jbe    127f <main+0x13f>
movsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
jmp    132d <main+0x1ed>
movsd  -0x20(%rbp),%xmm0
ucomisd -0x10(%rbp),%xmm0
jbe    12c2 <main+0x182>
movsd  -0x10(%rbp),%xmm0
ucomisd -0x18(%rbp),%xmm0
jb     12c2 <main+0x182>
movsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
jmp    1328 <main+0x1e8>
movsd  -0x20(%rbp),%xmm0
ucomisd -0x18(%rbp),%xmm0
jbe    1305 <main+0x1c5>
movsd  -0x18(%rbp),%xmm0
ucomisd -0x10(%rbp),%xmm0
jbe    1305 <main+0x1c5>
movsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
jmp    1323 <main+0x1e3>
movsd  -0x10(%rbp),%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x38(%rbp)
jmp    1328 <main+0x1e8>
jmp    132d <main+0x1ed>
jmp    1332 <main+0x1f2>
jmp    1337 <main+0x1f7>
jmp    133c <main+0x1fc>
movsd  -0x28(%rbp),%xmm0
movsd  -0x30(%rbp),%xmm1
addsd  -0x38(%rbp),%xmm1
ucomisd %xmm1,%xmm0
jb     1366 <main+0x226>
lea    0xcb6(%rip),%rdi
call   1040 <printf@plt>
jmp    1487 <main+0x347>
movsd  -0x28(%rbp),%xmm0
mov    $0x2,%edi
call   1060 <pow@plt>
mov    %rax,-0x40(%rbp)
movsd  -0x30(%rbp),%xmm0
mov    $0x2,%edi
call   1060 <pow@plt>
mov    %rax,-0x48(%rbp)
movsd  -0x38(%rbp),%xmm0
mov    $0x2,%edi
call   1060 <pow@plt>
mov    -0x48(%rbp),%rcx
mov    %rax,%rdx
mov    -0x40(%rbp),%rax
add    %rdx,%rcx
cmp    %rcx,%rax
jne    13c3 <main+0x283>
lea    0xc6e(%rip),%rdi
call   1040 <printf@plt>
jmp    1482 <main+0x342>
movsd  -0x28(%rbp),%xmm0
mov    $0x2,%edi
call   1060 <pow@plt>
mov    %rax,-0x50(%rbp)
movsd  -0x30(%rbp),%xmm0
mov    $0x2,%edi
call   1060 <pow@plt>
mov    %rax,-0x58(%rbp)
movsd  -0x38(%rbp),%xmm0
mov    $0x2,%edi
call   1060 <pow@plt>
mov    -0x58(%rbp),%rcx
mov    %rax,%rdx
mov    -0x50(%rbp),%rax
add    %rdx,%rcx
cmp    %rcx,%rax
jle    1420 <main+0x2e0>
lea    0xc26(%rip),%rdi
call   1040 <printf@plt>
jmp    147d <main+0x33d>
movsd  -0x28(%rbp),%xmm0
mov    $0x2,%edi
call   1060 <pow@plt>
mov    %rax,-0x60(%rbp)
movsd  -0x30(%rbp),%xmm0
mov    $0x2,%edi
call   1060 <pow@plt>
mov    %rax,-0x68(%rbp)
movsd  -0x38(%rbp),%xmm0
mov    $0x2,%edi
call   1060 <pow@plt>
mov    -0x68(%rbp),%rcx
mov    %rax,%rdx
mov    -0x60(%rbp),%rax
add    %rdx,%rcx
cmp    %rcx,%rax
jge    1478 <main+0x338>
lea    0xbe0(%rip),%rdi
call   1040 <printf@plt>
jmp    147d <main+0x33d>
jmp    1482 <main+0x342>
jmp    1487 <main+0x347>
movsd  -0x28(%rbp),%xmm0
ucomisd -0x30(%rbp),%xmm0
jne    14c4 <main+0x384>
jp     14c4 <main+0x384>
movsd  -0x30(%rbp),%xmm0
ucomisd -0x38(%rbp),%xmm0
jne    14c4 <main+0x384>
jp     14c4 <main+0x384>
lea    0xbaf(%rip),%rdi
call   1040 <printf@plt>
jmp    1521 <main+0x3e1>
movsd  -0x28(%rbp),%xmm0
ucomisd -0x30(%rbp),%xmm0
jne    14df <main+0x39f>
jp     14df <main+0x39f>
jmp    1510 <main+0x3d0>
movsd  -0x28(%rbp),%xmm0
ucomisd -0x38(%rbp),%xmm0
jne    14fa <main+0x3ba>
jp     14fa <main+0x3ba>
jmp    1510 <main+0x3d0>
movsd  -0x30(%rbp),%xmm0
ucomisd -0x38(%rbp),%xmm0
jne    151c <main+0x3dc>
jp     151c <main+0x3dc>
lea    0xb68(%rip),%rdi
call   1040 <printf@plt>
jmp    1521 <main+0x3e1>
xor    %eax,%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x38,%rsp
lea    0xeb2(%rip),%rdi
lea    0x30(%rsp),%rsi
lea    0x28(%rsp),%rdx
lea    0x20(%rsp),%rcx
call   1050 <scanf@plt>
lea    0xea3(%rip),%rdi
call   1040 <system@plt>
movsd  0x30(%rsp),%xmm1
movsd  0x28(%rsp),%xmm3
ucomisd %xmm3,%xmm1
movsd  0x20(%rsp),%xmm2
jbe    1196 <main+0x56>
ucomisd %xmm2,%xmm3
jb     1196 <main+0x56>
movapd %xmm1,%xmm0
movapd %xmm3,%xmm4
jmp    11e6 <main+0xa6>
ucomisd %xmm2,%xmm1
jbe    11b0 <main+0x70>
ucomisd %xmm3,%xmm2
jbe    11b0 <main+0x70>
movapd %xmm1,%xmm0
movapd %xmm2,%xmm4
movapd %xmm3,%xmm2
jmp    11e6 <main+0xa6>
ucomisd %xmm1,%xmm3
jbe    11c6 <main+0x86>
ucomisd %xmm2,%xmm1
jb     11c6 <main+0x86>
movapd %xmm3,%xmm0
movapd %xmm1,%xmm4
jmp    11e6 <main+0xa6>
ucomisd %xmm2,%xmm3
jbe    1344 <main+0x204>
ucomisd %xmm1,%xmm2
jbe    1344 <main+0x204>
movapd %xmm3,%xmm0
movapd %xmm2,%xmm4
movapd %xmm1,%xmm2
movapd %xmm4,%xmm1
addsd  %xmm2,%xmm1
ucomisd %xmm1,%xmm0
movsd  %xmm2,0x10(%rsp)
movsd  %xmm0,0x18(%rsp)
movsd  %xmm4,0x8(%rsp)
jae    1247 <main+0x107>
mov    $0x2,%edi
call   1060 <pow@plt>
mov    %rax,%r14
movsd  0x8(%rsp),%xmm0
mov    $0x2,%edi
call   1060 <pow@plt>
mov    %rax,%rbx
movsd  0x10(%rsp),%xmm0
mov    $0x2,%edi
call   1060 <pow@plt>
add    %rbx,%rax
cmp    %rax,%r14
jne    12ac <main+0x16c>
lea    0xe21(%rip),%rdi
jmp    124e <main+0x10e>
lea    0xe2c(%rip),%rdi
call   1030 <puts@plt>
movsd  0x18(%rsp),%xmm1
movsd  0x8(%rsp),%xmm2
ucomisd %xmm2,%xmm1
movsd  0x10(%rsp),%xmm0
jne    1283 <main+0x143>
jp     1283 <main+0x143>
ucomisd %xmm0,%xmm2
jne    1283 <main+0x143>
jp     1283 <main+0x143>
lea    0xdaa(%rip),%rdi
call   1030 <puts@plt>
jmp    12a2 <main+0x162>
ucomisd %xmm2,%xmm1
lea    0xd84(%rip),%rdi
jne    1292 <main+0x152>
jnp    127c <main+0x13c>
ucomisd %xmm0,%xmm1
jne    129a <main+0x15a>
jnp    127c <main+0x13c>
ucomisd %xmm0,%xmm2
jne    12a2 <main+0x162>
jnp    127c <main+0x13c>
xor    %eax,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r14
ret
movsd  0x18(%rsp),%xmm0
mov    $0x2,%edi
call   1060 <pow@plt>
mov    %rax,%r14
movsd  0x8(%rsp),%xmm0
mov    $0x2,%edi
call   1060 <pow@plt>
mov    %rax,%rbx
movsd  0x10(%rsp),%xmm0
mov    $0x2,%edi
call   1060 <pow@plt>
add    %rbx,%rax
cmp    %rax,%r14
jle    12f6 <main+0x1b6>
lea    0xd5f(%rip),%rdi
jmp    124e <main+0x10e>
movsd  0x18(%rsp),%xmm0
mov    $0x2,%edi
call   1060 <pow@plt>
mov    %rax,%r14
movsd  0x8(%rsp),%xmm0
mov    $0x2,%edi
call   1060 <pow@plt>
mov    %rax,%rbx
movsd  0x10(%rsp),%xmm0
mov    $0x2,%edi
call   1060 <pow@plt>
add    %rbx,%rax
cmp    %rax,%r14
jge    1253 <main+0x113>
lea    0xcfc(%rip),%rdi
jmp    124e <main+0x10e>
ucomisd %xmm1,%xmm2
jbe    135d <main+0x21d>
ucomisd %xmm3,%xmm1
jb     135d <main+0x21d>
movapd %xmm2,%xmm0
movapd %xmm1,%xmm4
jmp    11aa <main+0x6a>
ucomisd %xmm3,%xmm2
seta   %al
ucomisd %xmm1,%xmm3
seta   %cl
test   %cl,%al
je     118c <main+0x4c>
movapd %xmm2,%xmm0
movapd %xmm1,%xmm2
jmp    1190 <main+0x50>

LLVM IR (-O0):
@.str = [12 x i8] c"%lf %lf %lf\00"
@.str.1 = [6 x i8] c"clear\00"
@.str.2 = [21 x i8] c"NAO FORMA TRIANGULO\0A\00"
@.str.3 = [21 x i8] c"TRIANGULO RETANGULO\0A\00"
@.str.4 = [23 x i8] c"TRIANGULO OBTUSANGULO\0A\00"
@.str.5 = [22 x i8] c"TRIANGULO ACUTANGULO\0A\00"
@.str.6 = [22 x i8] c"TRIANGULO EQUILATERO\0A\00"
@.str.7 = [21 x i8] c"TRIANGULO ISOSCELES\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca double
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = alloca double
store i32 0, i32* %1
%8 = call i32 @scanf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), double* %2, double* %3, double* %4)
%9 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%10 = load double, double* %2
%11 = load double, double* %3
%12 = fcmp ogt double %10, %11
br i1 %12, label %13, label %21
13: ; preds = %0
%14 = load double, double* %3
%15 = load double, double* %4
%16 = fcmp oge double %14, %15
br i1 %16, label %17, label %21
17: ; preds = %13
%18 = load double, double* %2
store double %18, double* %5
%19 = load double, double* %3
store double %19, double* %6
%20 = load double, double* %4
store double %20, double* %7
br label %90
21: ; preds = %13, %0
%22 = load double, double* %2
%23 = load double, double* %4
%24 = fcmp ogt double %22, %23
br i1 %24, label %25, label %33
25: ; preds = %21
%26 = load double, double* %4
%27 = load double, double* %3
%28 = fcmp ogt double %26, %27
br i1 %28, label %29, label %33
29: ; preds = %25
%30 = load double, double* %2
store double %30, double* %5
%31 = load double, double* %3
store double %31, double* %7
%32 = load double, double* %4
store double %32, double* %6
br label %89
33: ; preds = %25, %21
%34 = load double, double* %3
%35 = load double, double* %2
%36 = fcmp ogt double %34, %35
br i1 %36, label %37, label %45
37: ; preds = %33
%38 = load double, double* %2
%39 = load double, double* %4
%40 = fcmp oge double %38, %39
br i1 %40, label %41, label %45
41: ; preds = %37
%42 = load double, double* %3
store double %42, double* %5
%43 = load double, double* %2
store double %43, double* %6
%44 = load double, double* %4
store double %44, double* %7
br label %88
45: ; preds = %37, %33
%46 = load double, double* %3
%47 = load double, double* %4
%48 = fcmp ogt double %46, %47
br i1 %48, label %49, label %57
49: ; preds = %45
%50 = load double, double* %4
%51 = load double, double* %2
%52 = fcmp ogt double %50, %51
br i1 %52, label %53, label %57
53: ; preds = %49
%54 = load double, double* %3
store double %54, double* %5
%55 = load double, double* %4
store double %55, double* %6
%56 = load double, double* %2
store double %56, double* %7
br label %87
57: ; preds = %49, %45
%58 = load double, double* %4
%59 = load double, double* %2
%60 = fcmp ogt double %58, %59
br i1 %60, label %61, label %69
61: ; preds = %57
%62 = load double, double* %2
%63 = load double, double* %3
%64 = fcmp oge double %62, %63
br i1 %64, label %65, label %69
65: ; preds = %61
%66 = load double, double* %4
store double %66, double* %5
%67 = load double, double* %2
store double %67, double* %6
%68 = load double, double* %3
store double %68, double* %7
br label %86
69: ; preds = %61, %57
%70 = load double, double* %4
%71 = load double, double* %3
%72 = fcmp ogt double %70, %71
br i1 %72, label %73, label %81
73: ; preds = %69
%74 = load double, double* %3
%75 = load double, double* %2
%76 = fcmp ogt double %74, %75
br i1 %76, label %77, label %81
77: ; preds = %73
%78 = load double, double* %4
store double %78, double* %5
%79 = load double, double* %3
store double %79, double* %6
%80 = load double, double* %2
store double %80, double* %7
br label %85
81: ; preds = %73, %69
%82 = load double, double* %2
store double %82, double* %5
%83 = load double, double* %3
store double %83, double* %6
%84 = load double, double* %4
store double %84, double* %7
br label %85
85: ; preds = %81, %77
br label %86
86: ; preds = %85, %65
br label %87
87: ; preds = %86, %53
br label %88
88: ; preds = %87, %41
br label %89
89: ; preds = %88, %29
br label %90
90: ; preds = %89, %17
%91 = load double, double* %5
%92 = load double, double* %6
%93 = load double, double* %7
%94 = fadd double %92, %93
%95 = fcmp oge double %91, %94
br i1 %95, label %96, label %98
96: ; preds = %90
%97 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
br label %134
98: ; preds = %90
%99 = load double, double* %5
%100 = call i64 @pow(double %99, i32 2)
%101 = load double, double* %6
%102 = call i64 @pow(double %101, i32 2)
%103 = load double, double* %7
%104 = call i64 @pow(double %103, i32 2)
%105 = add nsw i64 %102, %104
%106 = icmp eq i64 %100, %105
br i1 %106, label %107, label %109
107: ; preds = %98
%108 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0))
br label %133
109: ; preds = %98
%110 = load double, double* %5
%111 = call i64 @pow(double %110, i32 2)
%112 = load double, double* %6
%113 = call i64 @pow(double %112, i32 2)
%114 = load double, double* %7
%115 = call i64 @pow(double %114, i32 2)
%116 = add nsw i64 %113, %115
%117 = icmp sgt i64 %111, %116
br i1 %117, label %118, label %120
118: ; preds = %109
%119 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i64 0, i64 0))
br label %132
120: ; preds = %109
%121 = load double, double* %5
%122 = call i64 @pow(double %121, i32 2)
%123 = load double, double* %6
%124 = call i64 @pow(double %123, i32 2)
%125 = load double, double* %7
%126 = call i64 @pow(double %125, i32 2)
%127 = add nsw i64 %124, %126
%128 = icmp slt i64 %122, %127
br i1 %128, label %129, label %131
129: ; preds = %120
%130 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
br label %131
131: ; preds = %129, %120
br label %132
132: ; preds = %131, %118
br label %133
133: ; preds = %132, %107
br label %134
134: ; preds = %133, %96
%135 = load double, double* %5
%136 = load double, double* %6
%137 = fcmp oeq double %135, %136
br i1 %137, label %138, label %144
138: ; preds = %134
%139 = load double, double* %6
%140 = load double, double* %7
%141 = fcmp oeq double %139, %140
br i1 %141, label %142, label %144
142: ; preds = %138
%143 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0))
br label %159
144: ; preds = %138, %134
%145 = load double, double* %5
%146 = load double, double* %6
%147 = fcmp oeq double %145, %146
br i1 %147, label %156, label %148
148: ; preds = %144
%149 = load double, double* %5
%150 = load double, double* %7
%151 = fcmp oeq double %149, %150
br i1 %151, label %156, label %152
152: ; preds = %148
%153 = load double, double* %6
%154 = load double, double* %7
%155 = fcmp oeq double %153, %154
br i1 %155, label %156, label %158
156: ; preds = %152, %148, %144
%157 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.7, i64 0, i64 0))
br label %158
158: ; preds = %156, %152
br label %159
159: ; preds = %158, %142
ret i32 0
}

LLVM IR (-O2):
@.str = [12 x i8] c"%lf %lf %lf\00"
@.str.1 = [6 x i8] c"clear\00"
@str = [20 x i8] c"TRIANGULO ISOSCELES\00"
@str.8 = [21 x i8] c"TRIANGULO EQUILATERO\00"
@str.9 = [21 x i8] c"TRIANGULO ACUTANGULO\00"
@str.10 = [22 x i8] c"TRIANGULO OBTUSANGULO\00"
@str.11 = [20 x i8] c"TRIANGULO RETANGULO\00"
@str.12 = [20 x i8] c"NAO FORMA TRIANGULO\00"
define i32 @main() {
%1 = alloca double
%2 = alloca double
%3 = alloca double
%4 = bitcast double* %1 to i8*
%5 = bitcast double* %2 to i8*
%6 = bitcast double* %3 to i8*
%7 = call i32 @scanf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str, i64 0, i64 0), double* %1, double* %2, double* %3)
%8 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%9 = load double, double* %1
%10 = load double, double* %2
%11 = fcmp ule double %9, %10
%12 = load double, double* %3
%13 = fcmp ult double %10, %12
%14 = select i1 %11, i1 true, i1 %13
br i1 %14, label %15, label %36
15: ; preds = %0
%16 = fcmp ogt double %9, %12
%17 = fcmp ogt double %12, %10
%18 = select i1 %16, i1 %17, i1 false
br i1 %18, label %36, label %19
19: ; preds = %15
%20 = fcmp ule double %10, %9
%21 = fcmp ult double %9, %12
%22 = select i1 %20, i1 true, i1 %21
br i1 %22, label %23, label %36
23: ; preds = %19
%24 = fcmp ogt double %10, %12
%25 = fcmp ogt double %12, %9
%26 = select i1 %24, i1 %25, i1 false
br i1 %26, label %36, label %27
27: ; preds = %23
%28 = fcmp ule double %12, %9
%29 = fcmp ult double %9, %10
%30 = select i1 %28, i1 true, i1 %29
br i1 %30, label %31, label %36
31: ; preds = %27
%32 = fcmp ogt double %10, %9
%33 = select i1 %17, i1 %32, i1 false
%34 = select i1 %33, double %12, double %9
%35 = select i1 %33, double %9, double %12
br label %36
36: ; preds = %31, %27, %23, %19, %15, %0
%37 = phi double [ %9, %0 ], [ %9, %15 ], [ %10, %19 ], [ %10, %23 ], [ %12, %27 ], [ %34, %31 ]
%38 = phi double [ %10, %0 ], [ %12, %15 ], [ %9, %19 ], [ %12, %23 ], [ %9, %27 ], [ %10, %31 ]
%39 = phi double [ %12, %0 ], [ %10, %15 ], [ %12, %19 ], [ %9, %23 ], [ %10, %27 ], [ %35, %31 ]
%40 = fadd double %38, %39
%41 = fcmp ult double %37, %40
br i1 %41, label %42, label %60
42: ; preds = %36
%43 = call i64 @pow(double %37, i32 2)
%44 = call i64 @pow(double %38, i32 2)
%45 = call i64 @pow(double %39, i32 2)
%46 = add nsw i64 %45, %44
%47 = icmp eq i64 %43, %46
br i1 %47, label %60, label %48
48: ; preds = %42
%49 = call i64 @pow(double %37, i32 2)
%50 = call i64 @pow(double %38, i32 2)
%51 = call i64 @pow(double %39, i32 2)
%52 = add nsw i64 %51, %50
%53 = icmp sgt i64 %49, %52
br i1 %53, label %60, label %54
54: ; preds = %48
%55 = call i64 @pow(double %37, i32 2)
%56 = call i64 @pow(double %38, i32 2)
%57 = call i64 @pow(double %39, i32 2)
%58 = add nsw i64 %57, %56
%59 = icmp slt i64 %55, %58
br i1 %59, label %60, label %63
60: ; preds = %54, %48, %42, %36
%61 = phi i8* [ getelementptr inbounds ([20 x i8], [20 x i8]* @str.12, i64 0, i64 0), %36 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @str.11, i64 0, i64 0), %42 ], [ getelementptr inbounds ([22 x i8], [22 x i8]* @str.10, i64 0, i64 0), %48 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @str.9, i64 0, i64 0), %54 ]
%62 = call i32 @puts(i8* dereferenceable(1) %61)
br label %63
63: ; preds = %60, %54
%64 = fcmp oeq double %37, %38
%65 = fcmp oeq double %38, %39
%66 = select i1 %64, i1 %65, i1 false
br i1 %66, label %71, label %67
67: ; preds = %63
%68 = fcmp oeq double %37, %39
%69 = select i1 %64, i1 true, i1 %68
%70 = select i1 %69, i1 true, i1 %65
br i1 %70, label %71, label %74
71: ; preds = %67, %63
%72 = phi i8* [ getelementptr inbounds ([21 x i8], [21 x i8]* @str.8, i64 0, i64 0), %63 ], [ getelementptr inbounds ([20 x i8], [20 x i8]* @str, i64 0, i64 0), %67 ]
%73 = call i32 @puts(i8* dereferenceable(1) %72)
br label %74
74: ; preds = %71, %67
ret i32 0
}