#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__ EOF;
int /*<<< orphan*/ printf(char *, int, double, double);
scalar_t__ scanf(char *, ...);
int /*<<< orphan*/ sqrt(double);
int main() {
  double u, a, t, v, s;
  int case_id, count;
  count = 0;
  while (scanf("%d\n", &case_id) != EOF && case_id != 0) {
    switch (case_id) {
    case 1:
      scanf("%lf %lf %lf\n", &u, &v, &t);
      a = (v - u) / t;
      s = (u + v) / 2 * t;
      printf("Case %d: %0.3lf %0.3lf\n", ++count, s, a);
      break;
    case 2:
      scanf("%lf %lf %lf\n", &u, &v, &a);
      t = (v - u) / a;
      s = (u + v) / 2 * t;
      printf("Case %d: %0.3lf %0.3lf\n", ++count, s, t);
      break;
    case 3:
      scanf("%lf %lf %lf\n", &u, &a, &s);
      t = (-u + sqrt(u * u + 2 * a * s)) / a;
      v = u + a * t;
      printf("Case %d: %0.3lf %0.3lf\n", ++count, v, t);
      break;
    case 4:
      scanf("%lf %lf %lf\n", &v, &a, &s);
      t = (-v + sqrt(v * v - 2 * a * s)) / -a;
      u = v - a * t;
      printf("Case %d: %0.3lf %0.3lf\n", ++count, u, t);
      break;
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x38(%rbp)
lea    0xecb(%rip),%rdi
lea    -0x34(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
mov    %rax,%rcx
xor    %eax,%eax
mov    0x2e84(%rip),%rdx
cmp    (%rdx),%rcx
mov    %al,-0x39(%rbp)
je     117a <main+0x4a>
cmpl   $0x0,-0x34(%rbp)
setne  %al
mov    %al,-0x39(%rbp)
mov    -0x39(%rbp),%al
test   $0x1,%al
jne    118a <main+0x5a>
jmp    1456 <main+0x326>
mov    -0x34(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x48(%rbp)
sub    $0x3,%eax
ja     1451 <main+0x321>
mov    -0x48(%rbp),%rax
lea    0xe5e(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xe62(%rip),%rdi
lea    -0x10(%rbp),%rsi
lea    -0x28(%rbp),%rdx
lea    -0x20(%rbp),%rcx
mov    $0x0,%al
call   1040 <scanf@plt>
movsd  -0x28(%rbp),%xmm0
subsd  -0x10(%rbp),%xmm0
divsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x10(%rbp),%xmm0
addsd  -0x28(%rbp),%xmm0
movsd  0xe0d(%rip),%xmm1
divsd  %xmm1,%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x38(%rbp),%esi
add    $0x1,%esi
mov    %esi,-0x38(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x18(%rbp),%xmm1
lea    0xe0e(%rip),%rdi
call   1030 <printf@plt>
jmp    1451 <main+0x321>
lea    0xdf0(%rip),%rdi
lea    -0x10(%rbp),%rsi
lea    -0x28(%rbp),%rdx
lea    -0x18(%rbp),%rcx
mov    $0x0,%al
call   1040 <scanf@plt>
movsd  -0x28(%rbp),%xmm0
subsd  -0x10(%rbp),%xmm0
divsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x10(%rbp),%xmm0
addsd  -0x28(%rbp),%xmm0
movsd  0xd9b(%rip),%xmm1
divsd  %xmm1,%xmm0
mulsd  -0x20(%rbp),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x38(%rbp),%esi
add    $0x1,%esi
mov    %esi,-0x38(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm1
lea    0xd9c(%rip),%rdi
call   1030 <printf@plt>
jmp    1451 <main+0x321>
lea    0xd7e(%rip),%rdi
lea    -0x10(%rbp),%rsi
lea    -0x18(%rbp),%rdx
lea    -0x30(%rbp),%rcx
mov    $0x0,%al
call   1040 <scanf@plt>
movsd  -0x10(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  -0x10(%rbp),%xmm2
movsd  0xd1c(%rip),%xmm1
mulsd  -0x18(%rbp),%xmm1
mulsd  -0x30(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   1050 <sqrt@plt>
movsd  -0x50(%rbp),%xmm0
cvtsi2sd %eax,%xmm1
addsd  %xmm1,%xmm0
divsd  -0x18(%rbp),%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x10(%rbp),%xmm1
movsd  -0x18(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
mov    -0x38(%rbp),%esi
add    $0x1,%esi
mov    %esi,-0x38(%rbp)
movsd  -0x28(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm1
lea    0xce1(%rip),%rdi
call   1030 <printf@plt>
jmp    1451 <main+0x321>
lea    0xcc3(%rip),%rdi
lea    -0x28(%rbp),%rsi
lea    -0x18(%rbp),%rdx
lea    -0x30(%rbp),%rcx
mov    $0x0,%al
call   1040 <scanf@plt>
movsd  -0x28(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x28(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm2
movsd  0xc61(%rip),%xmm1
mulsd  -0x18(%rbp),%xmm1
mulsd  -0x30(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
call   1050 <sqrt@plt>
movsd  -0x58(%rbp),%xmm0
cvtsi2sd %eax,%xmm1
addsd  %xmm1,%xmm0
movsd  -0x18(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x20(%rbp)
movsd  -0x28(%rbp),%xmm1
movsd  -0x18(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm2
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x10(%rbp)
mov    -0x38(%rbp),%esi
add    $0x1,%esi
mov    %esi,-0x38(%rbp)
movsd  -0x10(%rbp),%xmm0
movsd  -0x20(%rbp),%xmm1
lea    0xbdd(%rip),%rdi
call   1030 <printf@plt>
jmp    1146 <main+0x16>
xor    %eax,%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
lea    0xeeb(%rip),%rdi
lea    0x1c(%rsp),%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
mov    0x2e90(%rip),%r12
cmp    (%r12),%rax
je     1391 <main+0x261>
mov    0x1c(%rsp),%eax
test   %eax,%eax
je     1391 <main+0x261>
lea    0xebb(%rip),%r14
lea    0x1c(%rsp),%rbx
lea    0xe9f(%rip),%r15
lea    0xeb9(%rip),%rbp
xor    %r13d,%r13d
nopl   0x0(%rax,%rax,1)
add    $0xffffffff,%eax
cmp    $0x3,%eax
ja     1372 <main+0x242>
movslq (%r15,%rax,4),%rax
add    %r15,%rax
jmp    *%rax
lea    0xe88(%rip),%rdi
lea    0x10(%rsp),%rsi
lea    0x8(%rsp),%rdx
lea    0x28(%rsp),%rcx
xor    %eax,%eax
call   1040 <scanf@plt>
movsd  0x8(%rsp),%xmm0
movsd  0x10(%rsp),%xmm2
movapd %xmm0,%xmm1
subsd  %xmm2,%xmm1
movsd  0x28(%rsp),%xmm3
divsd  %xmm3,%xmm1
movsd  %xmm1,(%rsp)
addsd  %xmm2,%xmm0
mulsd  0xe17(%rip),%xmm0
mulsd  %xmm3,%xmm0
movsd  %xmm0,0x20(%rsp)
jmp    1363 <main+0x233>
lea    0xe2d(%rip),%rdi
lea    0x10(%rsp),%rsi
lea    0x8(%rsp),%rdx
mov    %rsp,%rcx
xor    %eax,%eax
call   1040 <scanf@plt>
movsd  0x8(%rsp),%xmm0
movsd  0x10(%rsp),%xmm2
movapd %xmm0,%xmm1
subsd  %xmm2,%xmm1
divsd  (%rsp),%xmm1
movsd  %xmm1,0x28(%rsp)
addsd  %xmm2,%xmm0
mulsd  0xdc2(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,0x20(%rsp)
jmp    1363 <main+0x233>
cs nopw 0x0(%rax,%rax,1)
nop
lea    0xdcd(%rip),%rdi
lea    0x10(%rsp),%rsi
mov    %rsp,%rdx
lea    0x20(%rsp),%rcx
xor    %eax,%eax
call   1040 <scanf@plt>
movsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x30(%rsp)
movsd  (%rsp),%xmm1
addsd  %xmm1,%xmm1
mulsd  0x20(%rsp),%xmm1
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
call   1050 <sqrt@plt>
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
subsd  0x30(%rsp),%xmm1
movsd  (%rsp),%xmm0
divsd  %xmm0,%xmm1
movsd  %xmm1,0x28(%rsp)
mulsd  %xmm1,%xmm0
addsd  0x10(%rsp),%xmm0
movsd  %xmm0,0x8(%rsp)
jmp    1363 <main+0x233>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xd4d(%rip),%rdi
lea    0x8(%rsp),%rsi
mov    %rsp,%rdx
lea    0x20(%rsp),%rcx
xor    %eax,%eax
call   1040 <scanf@plt>
movsd  0x8(%rsp),%xmm0
movsd  %xmm0,0x30(%rsp)
movsd  (%rsp),%xmm1
mulsd  0xcec(%rip),%xmm1
mulsd  0x20(%rsp),%xmm1
mulsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
call   1050 <sqrt@plt>
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
subsd  0x30(%rsp),%xmm1
movsd  (%rsp),%xmm2
movapd %xmm2,%xmm0
xorpd  0xccb(%rip),%xmm0
divsd  %xmm0,%xmm1
movsd  %xmm1,0x28(%rsp)
movsd  0x8(%rsp),%xmm0
mulsd  %xmm1,%xmm2
subsd  %xmm2,%xmm0
movsd  %xmm0,0x10(%rsp)
add    $0x1,%r13d
mov    %rbp,%rdi
mov    %r13d,%esi
call   1030 <printf@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <scanf@plt>
cmp    (%r12),%rax
je     1391 <main+0x261>
mov    0x1c(%rsp),%eax
test   %eax,%eax
jne    1190 <main+0x60>
xor    %eax,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [4 x i8] c"%d\0A\00"
@EOF = global i64 0
@.str.1 = [13 x i8] c"%lf %lf %lf\0A\00"
@.str.2 = [24 x i8] c"Case %d: %0.3lf %0.3lf\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 i32
%8 = alloca i32
store i32 0, i32* %1
store i32 0, i32* %8
br label %9
9: ; preds = %109, %0
%10 = call i64 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32* %7)
%11 = load i64, i64* @EOF
%12 = icmp ne i64 %10, %11
br i1 %12, label %13, label %16
13: ; preds = %9
%14 = load i32, i32* %7
%15 = icmp ne i32 %14, 0
br label %16
16: ; preds = %13, %9
%17 = phi i1 [ false, %9 ], [ %15, %13 ]
br i1 %17, label %18, label %110
18: ; preds = %16
%19 = load i32, i32* %7
switch i32 %19, label %109 [
i32 1, label %20
i32 2, label %38
i32 3, label %56
i32 4, label %81
]
20: ; preds = %18
%21 = call i64 (i8*, ...) @scanf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), double* %2, double* %5, double* %4)
%22 = load double, double* %5
%23 = load double, double* %2
%24 = fsub double %22, %23
%25 = load double, double* %4
%26 = fdiv double %24, %25
store double %26, double* %3
%27 = load double, double* %2
%28 = load double, double* %5
%29 = fadd double %27, %28
%30 = fdiv double %29, 2.000000e+00
%31 = load double, double* %4
%32 = fmul double %30, %31
store double %32, double* %6
%33 = load i32, i32* %8
%34 = add nsw i32 %33, 1
store i32 %34, i32* %8
%35 = load double, double* %6
%36 = load double, double* %3
%37 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), i32 %34, double %35, double %36)
br label %109
38: ; preds = %18
%39 = call i64 (i8*, ...) @scanf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), double* %2, double* %5, double* %3)
%40 = load double, double* %5
%41 = load double, double* %2
%42 = fsub double %40, %41
%43 = load double, double* %3
%44 = fdiv double %42, %43
store double %44, double* %4
%45 = load double, double* %2
%46 = load double, double* %5
%47 = fadd double %45, %46
%48 = fdiv double %47, 2.000000e+00
%49 = load double, double* %4
%50 = fmul double %48, %49
store double %50, double* %6
%51 = load i32, i32* %8
%52 = add nsw i32 %51, 1
store i32 %52, i32* %8
%53 = load double, double* %6
%54 = load double, double* %4
%55 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), i32 %52, double %53, double %54)
br label %109
56: ; preds = %18
%57 = call i64 (i8*, ...) @scanf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), double* %2, double* %3, double* %6)
%58 = load double, double* %2
%59 = fneg double %58
%60 = load double, double* %2
%61 = load double, double* %2
%62 = load double, double* %3
%63 = fmul double 2.000000e+00, %62
%64 = load double, double* %6
%65 = fmul double %63, %64
%66 = call double @llvm.fmuladd.f64(double %60, double %61, double %65)
%67 = call i32 @sqrt(double %66)
%68 = sitofp i32 %67 to double
%69 = fadd double %59, %68
%70 = load double, double* %3
%71 = fdiv double %69, %70
store double %71, double* %4
%72 = load double, double* %2
%73 = load double, double* %3
%74 = load double, double* %4
%75 = call double @llvm.fmuladd.f64(double %73, double %74, double %72)
store double %75, double* %5
%76 = load i32, i32* %8
%77 = add nsw i32 %76, 1
store i32 %77, i32* %8
%78 = load double, double* %5
%79 = load double, double* %4
%80 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), i32 %77, double %78, double %79)
br label %109
81: ; preds = %18
%82 = call i64 (i8*, ...) @scanf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), double* %5, double* %3, double* %6)
%83 = load double, double* %5
%84 = fneg double %83
%85 = load double, double* %5
%86 = load double, double* %5
%87 = load double, double* %3
%88 = fmul double 2.000000e+00, %87
%89 = load double, double* %6
%90 = fmul double %88, %89
%91 = fneg double %90
%92 = call double @llvm.fmuladd.f64(double %85, double %86, double %91)
%93 = call i32 @sqrt(double %92)
%94 = sitofp i32 %93 to double
%95 = fadd double %84, %94
%96 = load double, double* %3
%97 = fneg double %96
%98 = fdiv double %95, %97
store double %98, double* %4
%99 = load double, double* %5
%100 = load double, double* %3
%101 = load double, double* %4
%102 = fneg double %100
%103 = call double @llvm.fmuladd.f64(double %102, double %101, double %99)
store double %103, double* %2
%104 = load i32, i32* %8
%105 = add nsw i32 %104, 1
store i32 %105, i32* %8
%106 = load double, double* %2
%107 = load double, double* %4
%108 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), i32 %105, double %106, double %107)
br label %109
109: ; preds = %18, %81, %56, %38, %20
br label %9
110: ; preds = %16
ret i32 0
}

LLVM IR (-O2):
@.str = [4 x i8] c"%d\0A\00"
@EOF = global i64 0
@.str.1 = [13 x i8] c"%lf %lf %lf\0A\00"
@.str.2 = [24 x i8] c"Case %d: %0.3lf %0.3lf\0A\00"
define i32 @main() {
%1 = alloca double
%2 = alloca double
%3 = alloca double
%4 = alloca double
%5 = alloca double
%6 = alloca i32
%7 = bitcast double* %1 to i8*
%8 = bitcast double* %2 to i8*
%9 = bitcast double* %3 to i8*
%10 = bitcast double* %4 to i8*
%11 = bitcast double* %5 to i8*
%12 = bitcast i32* %6 to i8*
%13 = call i64 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32* %6)
%14 = load i64, i64* @EOF
%15 = icmp ne i64 %13, %14
%16 = load i32, i32* %6
%17 = icmp ne i32 %16, 0
%18 = select i1 %15, i1 %17, i1 false
br i1 %18, label %19, label %89
19: ; preds = %0, %81
%20 = phi i32 [ %86, %81 ], [ %16, %0 ]
%21 = phi i32 [ %82, %81 ], [ 0, %0 ]
switch i32 %20, label %81 [
i32 1, label %22
i32 2, label %34
i32 3, label %46
i32 4, label %63
]
22: ; preds = %19
%23 = call i64 (i8*, ...) @scanf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), double* %1, double* %4, double* %3)
%24 = load double, double* %4
%25 = load double, double* %1
%26 = fsub double %24, %25
%27 = load double, double* %3
%28 = fdiv double %26, %27
store double %28, double* %2
%29 = fadd double %24, %25
%30 = fmul double %29, 5.000000e-01
%31 = fmul double %27, %30
store double %31, double* %5
%32 = add nsw i32 %21, 1
%33 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), i32 %32, double %31, double %28)
br label %81
34: ; preds = %19
%35 = call i64 (i8*, ...) @scanf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), double* %1, double* %4, double* %2)
%36 = load double, double* %4
%37 = load double, double* %1
%38 = fsub double %36, %37
%39 = load double, double* %2
%40 = fdiv double %38, %39
store double %40, double* %3
%41 = fadd double %36, %37
%42 = fmul double %41, 5.000000e-01
%43 = fmul double %42, %40
store double %43, double* %5
%44 = add nsw i32 %21, 1
%45 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), i32 %44, double %43, double %40)
br label %81
46: ; preds = %19
%47 = call i64 (i8*, ...) @scanf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), double* %1, double* %2, double* %5)
%48 = load double, double* %1
%49 = load double, double* %2
%50 = fmul double %49, 2.000000e+00
%51 = load double, double* %5
%52 = fmul double %50, %51
%53 = call double @llvm.fmuladd.f64(double %48, double %48, double %52)
%54 = call i32 @sqrt(double %53)
%55 = sitofp i32 %54 to double
%56 = fsub double %55, %48
%57 = load double, double* %2
%58 = fdiv double %56, %57
store double %58, double* %3
%59 = load double, double* %1
%60 = call double @llvm.fmuladd.f64(double %57, double %58, double %59)
store double %60, double* %4
%61 = add nsw i32 %21, 1
%62 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), i32 %61, double %60, double %58)
br label %81
63: ; preds = %19
%64 = call i64 (i8*, ...) @scanf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), double* %4, double* %2, double* %5)
%65 = load double, double* %4
%66 = load double, double* %2
%67 = load double, double* %5
%68 = fmul double %66, -2.000000e+00
%69 = fmul double %68, %67
%70 = call double @llvm.fmuladd.f64(double %65, double %65, double %69)
%71 = call i32 @sqrt(double %70)
%72 = sitofp i32 %71 to double
%73 = fsub double %72, %65
%74 = load double, double* %2
%75 = fneg double %74
%76 = fdiv double %73, %75
store double %76, double* %3
%77 = load double, double* %4
%78 = call double @llvm.fmuladd.f64(double %75, double %76, double %77)
store double %78, double* %1
%79 = add nsw i32 %21, 1
%80 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0), i32 %79, double %78, double %76)
br label %81
81: ; preds = %19, %63, %46, %34, %22
%82 = phi i32 [ %21, %19 ], [ %79, %63 ], [ %61, %46 ], [ %44, %34 ], [ %32, %22 ]
%83 = call i64 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32* %6)
%84 = load i64, i64* @EOF
%85 = icmp ne i64 %83, %84
%86 = load i32, i32* %6
%87 = icmp ne i32 %86, 0
%88 = select i1 %85, i1 %87, i1 false
br i1 %88, label %19, label %89
89: ; preds = %81, %0
ret i32 0
}