#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 *, ...);
int main() {
  int c1, c2, c3;
  double s1, s2, A, B, C;
  printf("Введите последовательно  целые числа c1, c2, c3\n");
  scanf("%d, %d, %d", &c1, &c2, &c3);
  printf("Введите последовательно  действительные числа M и N\n");
  scanf("%e, %e", &s1, &s2);
  if (c2 * c3 == 0 || c2 == 0)
    printf("Выражение A бессмысленно\n");
  else {
    A = (4 / 10) + (c1 / (c2 * c3)) + ((c1 * c3) / c2);
    printf("Значение выражения A %f\n", A);
  }
  if (c1 == 0 || s2 + (c2 / c3) == 0 || s1 == 0)
    printf("Выражение B бессмысленно \n");
  else {
    B = (((s1 + c2 / c1) / s2 + c2 / c3) - 1 / c1 - 1 / s1);
    printf("Значение выражения B %f\n", B);
  }
  if (s2 + c2 == 0)
    printf("Выражение C бессмысленно \n");
  else {
    C = 10 * 10 * 10 * ((s1 + c1) / (s2 + c2) + c3);
    printf("Значение выражения C %f\n", C);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeda(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf1d(%rip),%rdi
lea    -0x8(%rbp),%rsi
lea    -0xc(%rbp),%rdx
lea    -0x10(%rbp),%rcx
mov    $0x0,%al
call   1040 <scanf@plt>
lea    0xf0e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf5f(%rip),%rdi
lea    -0x18(%rbp),%rsi
lea    -0x20(%rbp),%rdx
mov    $0x0,%al
call   1040 <scanf@plt>
mov    -0xc(%rbp),%eax
imul   -0x10(%rbp),%eax
cmp    $0x0,%eax
je     1195 <main+0x75>
cmpl   $0x0,-0xc(%rbp)
jne    11a8 <main+0x88>
lea    0xf36(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    11e9 <main+0xc9>
mov    -0x8(%rbp),%eax
mov    -0xc(%rbp),%ecx
imul   -0x10(%rbp),%ecx
cltd
idiv   %ecx
add    $0x0,%eax
mov    %eax,-0x3c(%rbp)
mov    -0x8(%rbp),%eax
imul   -0x10(%rbp),%eax
cltd
idivl  -0xc(%rbp)
mov    %eax,%ecx
mov    -0x3c(%rbp),%eax
add    %ecx,%eax
cvtsi2sd %eax,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  -0x28(%rbp),%xmm0
lea    0xf1f(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
cmpl   $0x0,-0x8(%rbp)
je     1237 <main+0x117>
movsd  -0x20(%rbp),%xmm0
mov    -0xc(%rbp),%eax
cltd
idivl  -0x10(%rbp)
cvtsi2sd %eax,%xmm1
addsd  %xmm1,%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    121f <main+0xff>
jp     121f <main+0xff>
jmp    1237 <main+0x117>
movsd  -0x18(%rbp),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    124a <main+0x12a>
jp     124a <main+0x12a>
lea    0xeed(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12ac <main+0x18c>
movsd  -0x18(%rbp),%xmm0
mov    -0xc(%rbp),%eax
cltd
idivl  -0x8(%rbp)
cvtsi2sd %eax,%xmm1
addsd  %xmm1,%xmm0
divsd  -0x20(%rbp),%xmm0
mov    -0xc(%rbp),%eax
cltd
idivl  -0x10(%rbp)
cvtsi2sd %eax,%xmm1
addsd  %xmm1,%xmm0
mov    $0x1,%eax
cltd
idivl  -0x8(%rbp)
cvtsi2sd %eax,%xmm1
subsd  %xmm1,%xmm0
movsd  0xd75(%rip),%xmm1
divsd  -0x18(%rbp),%xmm1
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x30(%rbp),%xmm0
lea    0xeb6(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
movsd  -0x20(%rbp),%xmm0
cvtsi2sdl -0xc(%rbp),%xmm1
addsd  %xmm1,%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    12e0 <main+0x1c0>
jp     12e0 <main+0x1c0>
lea    0xeb1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    132d <main+0x20d>
movsd  -0x18(%rbp),%xmm1
cvtsi2sdl -0x8(%rbp),%xmm0
addsd  %xmm0,%xmm1
movsd  -0x20(%rbp),%xmm0
cvtsi2sdl -0xc(%rbp),%xmm2
addsd  %xmm2,%xmm0
divsd  %xmm0,%xmm1
cvtsi2sdl -0x10(%rbp),%xmm0
addsd  %xmm0,%xmm1
movsd  0xcf7(%rip),%xmm0
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm0
lea    0xe8f(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x28,%rsp
lea    0xf65(%rip),%rdi
call   1030 <puts@plt>
lea    0xec9(%rip),%rdi
lea    0x14(%rsp),%rsi
lea    0x10(%rsp),%rdx
lea    0xc(%rsp),%rcx
xor    %eax,%eax
call   1050 <scanf@plt>
lea    0xf8c(%rip),%rdi
call   1030 <puts@plt>
lea    0xeab(%rip),%rdi
lea    0x20(%rsp),%rsi
lea    0x18(%rsp),%rdx
xor    %eax,%eax
call   1050 <scanf@plt>
mov    0x10(%rsp),%edi
test   %edi,%edi
je     11c4 <main+0x94>
mov    0xc(%rsp),%esi
mov    %esi,%ecx
imul   %edi,%ecx
test   %ecx,%ecx
je     11c4 <main+0x94>
mov    0x14(%rsp),%r9d
mov    %r9d,%eax
cltd
idiv   %ecx
mov    %eax,%r8d
imul   %r9d,%esi
mov    %esi,%eax
cltd
idiv   %edi
add    %r8d,%eax
cvtsi2sd %eax,%xmm0
lea    0xe67(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
jmp    11d0 <main+0xa0>
lea    0xfe1(%rip),%rdi
call   1030 <puts@plt>
mov    0x14(%rsp),%esi
test   %esi,%esi
je     1261 <main+0x131>
movsd  0x18(%rsp),%xmm0
mov    0x10(%rsp),%ecx
mov    %ecx,%eax
cltd
idivl  0xc(%rsp)
cvtsi2sd %eax,%xmm2
movapd %xmm0,%xmm1
addsd  %xmm2,%xmm1
xorpd  %xmm3,%xmm3
ucomisd %xmm3,%xmm1
jne    1205 <main+0xd5>
jnp    1261 <main+0x131>
movsd  0x20(%rsp),%xmm1
ucomisd %xmm3,%xmm1
jne    1213 <main+0xe3>
jnp    1261 <main+0x131>
mov    %ecx,%eax
cltd
idiv   %esi
xorps  %xmm3,%xmm3
cvtsi2sd %eax,%xmm3
addsd  %xmm1,%xmm3
divsd  %xmm0,%xmm3
addsd  %xmm2,%xmm3
lea    0x1(%rsi),%eax
xor    %ecx,%ecx
cmp    $0x3,%eax
cmovb  %esi,%ecx
xorps  %xmm0,%xmm0
cvtsi2sd %ecx,%xmm0
subsd  %xmm0,%xmm3
movsd  0xdb7(%rip),%xmm0
divsd  %xmm1,%xmm0
addsd  %xmm3,%xmm0
lea    0xdf4(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
jmp    126d <main+0x13d>
lea    0xf15(%rip),%rdi
call   1030 <puts@plt>
xorps  %xmm1,%xmm1
cvtsi2sdl 0x10(%rsp),%xmm1
addsd  0x18(%rsp),%xmm1
xorpd  %xmm0,%xmm0
ucomisd %xmm0,%xmm1
jne    1296 <main+0x166>
jp     1296 <main+0x166>
lea    0xebf(%rip),%rdi
call   1030 <puts@plt>
jmp    12cc <main+0x19c>
xorps  %xmm2,%xmm2
cvtsi2sdl 0x14(%rsp),%xmm2
addsd  0x20(%rsp),%xmm2
xorps  %xmm0,%xmm0
cvtsi2sdl 0xc(%rsp),%xmm0
divsd  %xmm1,%xmm2
addsd  %xmm2,%xmm0
mulsd  0xd4a(%rip),%xmm0
lea    0xdb1(%rip),%rdi
mov    $0x1,%al
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x28,%rsp
ret

LLVM IR (-O0):
@.str = [81 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D0\BF\D0\BE\D1\81\D0\BB\D0\B5\D0\B4\D0\BE\D0\B2\D0\B0\D1\82\D0\B5\D0\BB\D1\8C\D0\BD\D0\BE \D1\86\D0\B5\D0\BB\D1\8B\D0\B5 \D1\87\D0\B8\D1\81\D0\BB\D0\B0 c1, c2, c3\0A\00"
@.str.1 = [11 x i8] c"%d, %d, %d\00"
@.str.2 = [95 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D0\BF\D0\BE\D1\81\D0\BB\D0\B5\D0\B4\D0\BE\D0\B2\D0\B0\D1\82\D0\B5\D0\BB\D1\8C\D0\BD\D0\BE \D0\B4\D0\B5\D0\B9\D1\81\D1\82\D0\B2\D0\B8\D1\82\D0\B5\D0\BB\D1\8C\D0\BD\D1\8B\D0\B5 \D1\87\D0\B8\D1\81\D0\BB\D0\B0 M \D0\B8 N\0A\00"
@.str.3 = [7 x i8] c"%e, %e\00"
@.str.4 = [47 x i8] c"\D0\92\D1\8B\D1\80\D0\B0\D0\B6\D0\B5\D0\BD\D0\B8\D0\B5 A \D0\B1\D0\B5\D1\81\D1\81\D0\BC\D1\8B\D1\81\D0\BB\D0\B5\D0\BD\D0\BD\D0\BE\0A\00"
@.str.5 = [42 x i8] c"\D0\97\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D0\B5 \D0\B2\D1\8B\D1\80\D0\B0\D0\B6\D0\B5\D0\BD\D0\B8\D1\8F A %f\0A\00"
@.str.6 = [48 x i8] c"\D0\92\D1\8B\D1\80\D0\B0\D0\B6\D0\B5\D0\BD\D0\B8\D0\B5 B \D0\B1\D0\B5\D1\81\D1\81\D0\BC\D1\8B\D1\81\D0\BB\D0\B5\D0\BD\D0\BD\D0\BE \0A\00"
@.str.7 = [42 x i8] c"\D0\97\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D0\B5 \D0\B2\D1\8B\D1\80\D0\B0\D0\B6\D0\B5\D0\BD\D0\B8\D1\8F B %f\0A\00"
@.str.8 = [48 x i8] c"\D0\92\D1\8B\D1\80\D0\B0\D0\B6\D0\B5\D0\BD\D0\B8\D0\B5 C \D0\B1\D0\B5\D1\81\D1\81\D0\BC\D1\8B\D1\81\D0\BB\D0\B5\D0\BD\D0\BD\D0\BE \0A\00"
@.str.9 = [42 x i8] c"\D0\97\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D0\B5 \D0\B2\D1\8B\D1\80\D0\B0\D0\B6\D0\B5\D0\BD\D0\B8\D1\8F C %f\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca double
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
store i32 0, i32* %1
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str, i64 0, i64 0))
%11 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32* %2, i32* %3, i32* %4)
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.2, i64 0, i64 0))
%13 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), double* %5, double* %6)
%14 = load i32, i32* %3
%15 = load i32, i32* %4
%16 = mul nsw i32 %14, %15
%17 = icmp eq i32 %16, 0
br i1 %17, label %21, label %18
18: ; preds = %0
%19 = load i32, i32* %3
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %18, %0
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.4, i64 0, i64 0))
br label %39
23: ; preds = %18
%24 = load i32, i32* %2
%25 = load i32, i32* %3
%26 = load i32, i32* %4
%27 = mul nsw i32 %25, %26
%28 = sdiv i32 %24, %27
%29 = add nsw i32 0, %28
%30 = load i32, i32* %2
%31 = load i32, i32* %4
%32 = mul nsw i32 %30, %31
%33 = load i32, i32* %3
%34 = sdiv i32 %32, %33
%35 = add nsw i32 %29, %34
%36 = sitofp i32 %35 to double
store double %36, double* %7
%37 = load double, double* %7
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.5, i64 0, i64 0), double %37)
br label %39
39: ; preds = %23, %21
%40 = load i32, i32* %2
%41 = icmp eq i32 %40, 0
br i1 %41, label %53, label %42
42: ; preds = %39
%43 = load double, double* %6
%44 = load i32, i32* %3
%45 = load i32, i32* %4
%46 = sdiv i32 %44, %45
%47 = sitofp i32 %46 to double
%48 = fadd double %43, %47
%49 = fcmp oeq double %48, 0.000000e+00
br i1 %49, label %53, label %50
50: ; preds = %42
%51 = load double, double* %5
%52 = fcmp oeq double %51, 0.000000e+00
br i1 %52, label %53, label %55
53: ; preds = %50, %42, %39
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.6, i64 0, i64 0))
br label %78
55: ; preds = %50
%56 = load double, double* %5
%57 = load i32, i32* %3
%58 = load i32, i32* %2
%59 = sdiv i32 %57, %58
%60 = sitofp i32 %59 to double
%61 = fadd double %56, %60
%62 = load double, double* %6
%63 = fdiv double %61, %62
%64 = load i32, i32* %3
%65 = load i32, i32* %4
%66 = sdiv i32 %64, %65
%67 = sitofp i32 %66 to double
%68 = fadd double %63, %67
%69 = load i32, i32* %2
%70 = sdiv i32 1, %69
%71 = sitofp i32 %70 to double
%72 = fsub double %68, %71
%73 = load double, double* %5
%74 = fdiv double 1.000000e+00, %73
%75 = fsub double %72, %74
store double %75, double* %8
%76 = load double, double* %8
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.7, i64 0, i64 0), double %76)
br label %78
78: ; preds = %55, %53
%79 = load double, double* %6
%80 = load i32, i32* %3
%81 = sitofp i32 %80 to double
%82 = fadd double %79, %81
%83 = fcmp oeq double %82, 0.000000e+00
br i1 %83, label %84, label %86
84: ; preds = %78
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.8, i64 0, i64 0))
br label %102
86: ; preds = %78
%87 = load double, double* %5
%88 = load i32, i32* %2
%89 = sitofp i32 %88 to double
%90 = fadd double %87, %89
%91 = load double, double* %6
%92 = load i32, i32* %3
%93 = sitofp i32 %92 to double
%94 = fadd double %91, %93
%95 = fdiv double %90, %94
%96 = load i32, i32* %4
%97 = sitofp i32 %96 to double
%98 = fadd double %95, %97
%99 = fmul double 1.000000e+03, %98
store double %99, double* %9
%100 = load double, double* %9
%101 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.9, i64 0, i64 0), double %100)
br label %102
102: ; preds = %86, %84
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [11 x i8] c"%d, %d, %d\00"
@.str.3 = [7 x i8] c"%e, %e\00"
@.str.5 = [42 x i8] c"\D0\97\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D0\B5 \D0\B2\D1\8B\D1\80\D0\B0\D0\B6\D0\B5\D0\BD\D0\B8\D1\8F A %f\0A\00"
@.str.7 = [42 x i8] c"\D0\97\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D0\B5 \D0\B2\D1\8B\D1\80\D0\B0\D0\B6\D0\B5\D0\BD\D0\B8\D1\8F B %f\0A\00"
@.str.9 = [42 x i8] c"\D0\97\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D0\B5 \D0\B2\D1\8B\D1\80\D0\B0\D0\B6\D0\B5\D0\BD\D0\B8\D1\8F C %f\0A\00"
@str = [80 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D0\BF\D0\BE\D1\81\D0\BB\D0\B5\D0\B4\D0\BE\D0\B2\D0\B0\D1\82\D0\B5\D0\BB\D1\8C\D0\BD\D0\BE \D1\86\D0\B5\D0\BB\D1\8B\D0\B5 \D1\87\D0\B8\D1\81\D0\BB\D0\B0 c1, c2, c3\00"
@str.10 = [94 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D0\BF\D0\BE\D1\81\D0\BB\D0\B5\D0\B4\D0\BE\D0\B2\D0\B0\D1\82\D0\B5\D0\BB\D1\8C\D0\BD\D0\BE \D0\B4\D0\B5\D0\B9\D1\81\D1\82\D0\B2\D0\B8\D1\82\D0\B5\D0\BB\D1\8C\D0\BD\D1\8B\D0\B5 \D1\87\D0\B8\D1\81\D0\BB\D0\B0 M \D0\B8 N\00"
@str.11 = [47 x i8] c"\D0\92\D1\8B\D1\80\D0\B0\D0\B6\D0\B5\D0\BD\D0\B8\D0\B5 C \D0\B1\D0\B5\D1\81\D1\81\D0\BC\D1\8B\D1\81\D0\BB\D0\B5\D0\BD\D0\BD\D0\BE \00"
@str.12 = [47 x i8] c"\D0\92\D1\8B\D1\80\D0\B0\D0\B6\D0\B5\D0\BD\D0\B8\D0\B5 B \D0\B1\D0\B5\D1\81\D1\81\D0\BC\D1\8B\D1\81\D0\BB\D0\B5\D0\BD\D0\BD\D0\BE \00"
@str.13 = [46 x i8] c"\D0\92\D1\8B\D1\80\D0\B0\D0\B6\D0\B5\D0\BD\D0\B8\D0\B5 A \D0\B1\D0\B5\D1\81\D1\81\D0\BC\D1\8B\D1\81\D0\BB\D0\B5\D0\BD\D0\BD\D0\BE\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca double
%5 = alloca double
%6 = bitcast i32* %1 to i8*
%7 = bitcast i32* %2 to i8*
%8 = bitcast i32* %3 to i8*
%9 = bitcast double* %4 to i8*
%10 = bitcast double* %5 to i8*
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str, i64 0, i64 0))
%12 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i32* %1, i32* %2, i32* %3)
%13 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([94 x i8], [94 x i8]* @str.10, i64 0, i64 0))
%14 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), double* %4, double* %5)
%15 = load i32, i32* %2
%16 = load i32, i32* %3
%17 = mul nsw i32 %16, %15
%18 = icmp eq i32 %17, 0
%19 = icmp eq i32 %15, 0
%20 = or i1 %19, %18
br i1 %20, label %21, label %23
21: ; preds = %0
%22 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.13, i64 0, i64 0))
br label %31
23: ; preds = %0
%24 = load i32, i32* %1
%25 = sdiv i32 %24, %17
%26 = mul nsw i32 %24, %16
%27 = sdiv i32 %26, %15
%28 = add nsw i32 %27, %25
%29 = sitofp i32 %28 to double
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.5, i64 0, i64 0), double %29)
br label %31
31: ; preds = %23, %21
%32 = load i32, i32* %1
%33 = icmp eq i32 %32, 0
br i1 %33, label %45, label %34
34: ; preds = %31
%35 = load double, double* %5
%36 = load i32, i32* %2
%37 = load i32, i32* %3
%38 = sdiv i32 %36, %37
%39 = sitofp i32 %38 to double
%40 = fadd double %35, %39
%41 = fcmp oeq double %40, 0.000000e+00
%42 = load double, double* %4
%43 = fcmp oeq double %42, 0.000000e+00
%44 = select i1 %41, i1 true, i1 %43
br i1 %44, label %45, label %47
45: ; preds = %34, %31
%46 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.12, i64 0, i64 0))
br label %61
47: ; preds = %34
%48 = sdiv i32 %36, %32
%49 = sitofp i32 %48 to double
%50 = fadd double %42, %49
%51 = fdiv double %50, %35
%52 = fadd double %51, %39
%53 = add i32 %32, 1
%54 = icmp ult i32 %53, 3
%55 = select i1 %54, i32 %32, i32 0
%56 = sitofp i32 %55 to double
%57 = fsub double %52, %56
%58 = fdiv double 1.000000e+00, %42
%59 = fsub double %57, %58
%60 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.7, i64 0, i64 0), double %59)
br label %61
61: ; preds = %47, %45
%62 = load double, double* %5
%63 = load i32, i32* %2
%64 = sitofp i32 %63 to double
%65 = fadd double %62, %64
%66 = fcmp oeq double %65, 0.000000e+00
br i1 %66, label %67, label %69
67: ; preds = %61
%68 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.11, i64 0, i64 0))
br label %80
69: ; preds = %61
%70 = load double, double* %4
%71 = load i32, i32* %1
%72 = sitofp i32 %71 to double
%73 = fadd double %70, %72
%74 = fdiv double %73, %65
%75 = load i32, i32* %3
%76 = sitofp i32 %75 to double
%77 = fadd double %74, %76
%78 = fmul double %77, 1.000000e+03
%79 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @.str.9, i64 0, i64 0), double %78)
br label %80
80: ; preds = %69, %67
ret i32 0
}