#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*/ FingerboardViola(double);
int /*<<< orphan*/ FingerboardViolin(double);
int /*<<< orphan*/ SizeViolin(double);
int /*<<< orphan*/ StopLength(double);
int /*<<< orphan*/ WoodDensity(double, double);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, ...);
int main() {
  bool run = true;
  int choice = 0;
  double version = 1;
  double mass = 0;
  double volume = 0;
  double boardLength = 0;
  printf("Pocket Amati\nwersja %lf\n\nKalkulatory:\n", version);
  while (run) {
    printf("[0] Gestosc drewna\n");
    printf("[1] Menzurka (Skrzypce)\n");
    printf("[2] Dlugosc podstrunnicy (Skrzypce)\n");
    printf("[3] Dlugosc podstrunnicy (Altowka)\n");
    printf("[4] Rozmiar skrzypiec\n");
    printf("[5] Wyjdz z programu\n\n");
    printf("Wybierz opcje: ");
    scanf("%d", &choice);
    printf("\n");
    switch (choice) {
    case 0: {
      printf("Gestosc drewna\nPodaj mase drewna w gramach: ");
      scanf("%lf", &mass);
      printf("Podaj gestosc drewna w cm^3: ");
      scanf("%lf", &volume);
      printf("\n");
      WoodDensity(mass, volume);
      break;
    }
    case 1: {
      printf("Menzurka (Skrzypce)\nPodaj dlugosc plyty:");
      scanf("%lf", &boardLength);
      StopLength(boardLength);
      break;
    }
    case 2: {
      printf("Dlugosc podstrunnicy (Skrzypce)\nPodaj dlugosc plyty:");
      scanf("%lf", &boardLength);
      FingerboardViolin(boardLength);
      break;
    }
    case 3: {
      printf("Dlugosc podstrunnicy (Altowka)\nPodaj dlugosc plyty:");
      scanf("%lf", &boardLength);
      FingerboardViola(boardLength);
      break;
    }
    case 4: {
      printf("Rozmiar skrzypiec\nPodaj dlugosc plyty:");
      scanf("%lf", &boardLength);
      SizeViolin(boardLength);
      break;
    }
    case 5: {
      run = false;
      break;
    }
    default: {
      printf("Podaj poprawna wartosc\n");
    }
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x1,-0x8(%rbp)
movl   $0x0,-0xc(%rbp)
movsd  0xe6b(%rip),%xmm0
movsd  %xmm0,-0x18(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x20(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x28(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x18(%rbp),%xmm0
lea    0xe62(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
cmpl   $0x0,-0x8(%rbp)
je     13be <main+0x24e>
lea    0xe71(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x39(%rbp)
call   1050 <printf@plt>
mov    -0x39(%rbp),%al
lea    0xe71(%rip),%rdi
call   1050 <printf@plt>
mov    -0x39(%rbp),%al
lea    0xe7b(%rip),%rdi
call   1050 <printf@plt>
mov    -0x39(%rbp),%al
lea    0xe91(%rip),%rdi
call   1050 <printf@plt>
mov    -0x39(%rbp),%al
lea    0xea6(%rip),%rdi
call   1050 <printf@plt>
mov    -0x39(%rbp),%al
lea    0xeae(%rip),%rdi
call   1050 <printf@plt>
mov    -0x39(%rbp),%al
lea    0xeb6(%rip),%rdi
call   1050 <printf@plt>
mov    -0x39(%rbp),%al
lea    0xeb7(%rip),%rdi
lea    -0xc(%rbp),%rsi
call   1090 <scanf@plt>
mov    -0x39(%rbp),%al
lea    0xe92(%rip),%rdi
call   1050 <printf@plt>
mov    -0xc(%rbp),%eax
mov    %rax,-0x38(%rbp)
sub    $0x5,%rax
ja     13ab <main+0x23b>
mov    -0x38(%rbp),%rax
lea    0xd90(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xe76(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe95(%rip),%rdi
lea    -0x20(%rbp),%rsi
mov    $0x0,%al
call   1090 <scanf@plt>
lea    0xe87(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe75(%rip),%rdi
lea    -0x28(%rbp),%rsi
mov    $0x0,%al
call   1090 <scanf@plt>
lea    0xe21(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movsd  -0x20(%rbp),%xmm0
movsd  -0x28(%rbp),%xmm1
call   1030 <WoodDensity@plt>
jmp    13b9 <main+0x249>
lea    0xe63(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe33(%rip),%rdi
lea    -0x30(%rbp),%rsi
mov    $0x0,%al
call   1090 <scanf@plt>
movsd  -0x30(%rbp),%xmm0
call   1080 <StopLength@plt>
jmp    13b9 <main+0x249>
lea    0xe5d(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe04(%rip),%rdi
lea    -0x30(%rbp),%rsi
mov    $0x0,%al
call   1090 <scanf@plt>
movsd  -0x30(%rbp),%xmm0
call   1070 <FingerboardViolin@plt>
jmp    13b9 <main+0x249>
lea    0xe63(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xdd5(%rip),%rdi
lea    -0x30(%rbp),%rsi
mov    $0x0,%al
call   1090 <scanf@plt>
movsd  -0x30(%rbp),%xmm0
call   1040 <FingerboardViola@plt>
jmp    13b9 <main+0x249>
lea    0xe68(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xda6(%rip),%rdi
lea    -0x30(%rbp),%rsi
mov    $0x0,%al
call   1090 <scanf@plt>
movsd  -0x30(%rbp),%xmm0
call   1060 <SizeViolin@plt>
jmp    13b9 <main+0x249>
movl   $0x0,-0x8(%rbp)
jmp    13b9 <main+0x249>
lea    0xe54(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
jmp    11c5 <main+0x55>
xor    %eax,%eax
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
movl   $0x0,0x14(%rsp)
movq   $0x0,0x20(%rsp)
movq   $0x0,0x18(%rsp)
movq   $0x0,0x8(%rsp)
lea    0xe58(%rip),%rdi
movsd  0xe30(%rip),%xmm0
mov    $0x1,%al
call   1070 <printf@plt>
lea    0x100c(%rip),%rbp
lea    0xe62(%rip),%r14
lea    0xe6b(%rip),%r15
lea    0x14(%rsp),%r12
lea    0xe10(%rip),%rbx
lea    0xe88(%rip),%r13
jmp    1230 <main+0xa0>
lea    0xf33(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %r13,%rdi
lea    0x8(%rsp),%rsi
xor    %eax,%eax
call   10b0 <scanf@plt>
movsd  0x8(%rsp),%xmm0
call   1080 <SizeViolin@plt>
nopl   0x0(%rax)
lea    0xf2b(%rip),%rdi
call   1050 <puts@plt>
lea    0xf32(%rip),%rdi
call   1050 <puts@plt>
lea    0xf3e(%rip),%rdi
call   1050 <puts@plt>
lea    0xf56(%rip),%rdi
call   1050 <puts@plt>
lea    0xf6d(%rip),%rdi
call   1050 <puts@plt>
mov    %rbp,%rdi
call   1050 <puts@plt>
mov    %r14,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %r15,%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   10b0 <scanf@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
mov    0x14(%rsp),%eax
cmp    $0x5,%rax
ja     1302 <main+0x172>
movslq (%rbx,%rax,4),%rax
add    %rbx,%rax
jmp    *%rax
lea    0xdab(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %r13,%rdi
lea    0x20(%rsp),%rsi
xor    %eax,%eax
call   10b0 <scanf@plt>
lea    0xdbf(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %r13,%rdi
lea    0x18(%rsp),%rsi
xor    %eax,%eax
call   10b0 <scanf@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
movsd  0x20(%rsp),%xmm0
movsd  0x18(%rsp),%xmm1
call   1030 <WoodDensity@plt>
jmp    1230 <main+0xa0>
lea    0xef7(%rip),%rdi
call   1050 <puts@plt>
jmp    1230 <main+0xa0>
lea    0xd8f(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %r13,%rdi
lea    0x8(%rsp),%rsi
xor    %eax,%eax
call   10b0 <scanf@plt>
movsd  0x8(%rsp),%xmm0
call   10a0 <StopLength@plt>
jmp    1230 <main+0xa0>
lea    0xd8b(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %r13,%rdi
lea    0x8(%rsp),%rsi
xor    %eax,%eax
call   10b0 <scanf@plt>
movsd  0x8(%rsp),%xmm0
call   1090 <FingerboardViolin@plt>
jmp    1230 <main+0xa0>
lea    0xd93(%rip),%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %r13,%rdi
lea    0x8(%rsp),%rsi
xor    %eax,%eax
call   10b0 <scanf@plt>
movsd  0x8(%rsp),%xmm0
call   1060 <FingerboardViola@plt>
jmp    1230 <main+0xa0>
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [39 x i8] c"Pocket Amati\0Awersja %lf\0A\0AKalkulatory:\0A\00"
@.str.1 = [20 x i8] c"[0] Gestosc drewna\0A\00"
@.str.2 = [25 x i8] c"[1] Menzurka (Skrzypce)\0A\00"
@.str.3 = [37 x i8] c"[2] Dlugosc podstrunnicy (Skrzypce)\0A\00"
@.str.4 = [36 x i8] c"[3] Dlugosc podstrunnicy (Altowka)\0A\00"
@.str.5 = [23 x i8] c"[4] Rozmiar skrzypiec\0A\00"
@.str.6 = [23 x i8] c"[5] Wyjdz z programu\0A\0A\00"
@.str.7 = [16 x i8] c"Wybierz opcje: \00"
@.str.8 = [3 x i8] c"%d\00"
@.str.9 = [2 x i8] c"\0A\00"
@.str.10 = [45 x i8] c"Gestosc drewna\0APodaj mase drewna w gramach: \00"
@.str.11 = [4 x i8] c"%lf\00"
@.str.12 = [30 x i8] c"Podaj gestosc drewna w cm^3: \00"
@.str.13 = [41 x i8] c"Menzurka (Skrzypce)\0APodaj dlugosc plyty:\00"
@.str.14 = [53 x i8] c"Dlugosc podstrunnicy (Skrzypce)\0APodaj dlugosc plyty:\00"
@.str.15 = [52 x i8] c"Dlugosc podstrunnicy (Altowka)\0APodaj dlugosc plyty:\00"
@.str.16 = [39 x i8] c"Rozmiar skrzypiec\0APodaj dlugosc plyty:\00"
@.str.17 = [24 x i8] c"Podaj poprawna wartosc\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca double
%5 = alloca double
%6 = alloca double
%7 = alloca double
store i32 0, i32* %1
store i32 1, i32* %2
store i32 0, i32* %3
store double 1.000000e+00, double* %4
store double 0.000000e+00, double* %5
store double 0.000000e+00, double* %6
store double 0.000000e+00, double* %7
%8 = load double, double* %4
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0), double %8)
br label %10
10: ; preds = %56, %0
%11 = load i32, i32* %2
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %57
13: ; preds = %10
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.2, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.3, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.4, i64 0, i64 0))
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0))
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0))
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0))
%21 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32* %3)
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
%23 = load i32, i32* %3
switch i32 %23, label %54 [
i32 0, label %24
i32 1, label %33
i32 2, label %38
i32 3, label %43
i32 4, label %48
i32 5, label %53
]
24: ; preds = %13
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.10, i64 0, i64 0))
%26 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), double* %5)
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.12, i64 0, i64 0))
%28 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), double* %6)
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0))
%30 = load double, double* %5
%31 = load double, double* %6
%32 = call i32 @WoodDensity(double %30, double %31)
br label %56
33: ; preds = %13
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.13, i64 0, i64 0))
%35 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), double* %7)
%36 = load double, double* %7
%37 = call i32 @StopLength(double %36)
br label %56
38: ; preds = %13
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.14, i64 0, i64 0))
%40 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), double* %7)
%41 = load double, double* %7
%42 = call i32 @FingerboardViolin(double %41)
br label %56
43: ; preds = %13
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.15, i64 0, i64 0))
%45 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), double* %7)
%46 = load double, double* %7
%47 = call i32 @FingerboardViola(double %46)
br label %56
48: ; preds = %13
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.16, i64 0, i64 0))
%50 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), double* %7)
%51 = load double, double* %7
%52 = call i32 @SizeViolin(double %51)
br label %56
53: ; preds = %13
store i32 0, i32* %2
br label %56
54: ; preds = %13
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.17, i64 0, i64 0))
br label %56
56: ; preds = %54, %53, %48, %43, %38, %33, %24
br label %10
57: ; preds = %10
ret i32 0
}

LLVM IR (-O2):
@.str = [39 x i8] c"Pocket Amati\0Awersja %lf\0A\0AKalkulatory:\0A\00"
@.str.7 = [16 x i8] c"Wybierz opcje: \00"
@.str.8 = [3 x i8] c"%d\00"
@.str.10 = [45 x i8] c"Gestosc drewna\0APodaj mase drewna w gramach: \00"
@.str.11 = [4 x i8] c"%lf\00"
@.str.12 = [30 x i8] c"Podaj gestosc drewna w cm^3: \00"
@.str.13 = [41 x i8] c"Menzurka (Skrzypce)\0APodaj dlugosc plyty:\00"
@.str.14 = [53 x i8] c"Dlugosc podstrunnicy (Skrzypce)\0APodaj dlugosc plyty:\00"
@.str.15 = [52 x i8] c"Dlugosc podstrunnicy (Altowka)\0APodaj dlugosc plyty:\00"
@.str.16 = [39 x i8] c"Rozmiar skrzypiec\0APodaj dlugosc plyty:\00"
@str = [19 x i8] c"[0] Gestosc drewna\00"
@str.18 = [24 x i8] c"[1] Menzurka (Skrzypce)\00"
@str.19 = [36 x i8] c"[2] Dlugosc podstrunnicy (Skrzypce)\00"
@str.20 = [35 x i8] c"[3] Dlugosc podstrunnicy (Altowka)\00"
@str.21 = [22 x i8] c"[4] Rozmiar skrzypiec\00"
@str.22 = [22 x i8] c"[5] Wyjdz z programu\0A\00"
@str.23 = [23 x i8] c"Podaj poprawna wartosc\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca double
%3 = alloca double
%4 = alloca double
%5 = bitcast i32* %1 to i8*
store i32 0, i32* %1
%6 = bitcast double* %2 to i8*
store double 0.000000e+00, double* %2
%7 = bitcast double* %3 to i8*
store double 0.000000e+00, double* %3
%8 = bitcast double* %4 to i8*
store double 0.000000e+00, double* %4
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0), double 1.000000e+00)
br label %10
10: ; preds = %52, %0
%11 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str, i64 0, i64 0))
%12 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str.18, i64 0, i64 0))
%13 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.19, i64 0, i64 0))
%14 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.20, i64 0, i64 0))
%15 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.21, i64 0, i64 0))
%16 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.22, i64 0, i64 0))
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0))
%18 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i32* %1)
%19 = call i32 @putchar(i32 10)
%20 = load i32, i32* %1
switch i32 %20, label %50 [
i32 0, label %21
i32 1, label %30
i32 2, label %35
i32 3, label %40
i32 4, label %45
i32 5, label %53
]
21: ; preds = %10
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.10, i64 0, i64 0))
%23 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), double* %2)
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @.str.12, i64 0, i64 0))
%25 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), double* %3)
%26 = call i32 @putchar(i32 10)
%27 = load double, double* %2
%28 = load double, double* %3
%29 = call i32 @WoodDensity(double %27, double %28)
br label %52
30: ; preds = %10
%31 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str.13, i64 0, i64 0))
%32 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), double* %4)
%33 = load double, double* %4
%34 = call i32 @StopLength(double %33)
br label %52
35: ; preds = %10
%36 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.14, i64 0, i64 0))
%37 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), double* %4)
%38 = load double, double* %4
%39 = call i32 @FingerboardViolin(double %38)
br label %52
40: ; preds = %10
%41 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @.str.15, i64 0, i64 0))
%42 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), double* %4)
%43 = load double, double* %4
%44 = call i32 @FingerboardViola(double %43)
br label %52
45: ; preds = %10
%46 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @.str.16, i64 0, i64 0))
%47 = call i32 (i8*, ...) @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), double* %4)
%48 = load double, double* %4
%49 = call i32 @SizeViolin(double %48)
br label %52
50: ; preds = %10
%51 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.23, i64 0, i64 0))
br label %52
52: ; preds = %50, %45, %40, %35, %30, %21
br label %10
53: ; preds = %10
ret i32 0
}