#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__ bubblesort(float *, int);
int /*<<< orphan*/ printf(char *, ...);
scalar_t__ scanf(char *, ...);
scalar_t__ splitn(float *, float *, float *, int, int);
int main(void) {
  int num, split;
  float arr[100], arr1[100], arr2[100];
  printf("Enter number of elements: ");
  if (scanf("%d", &num) != 0) {
    for (size_t i = 0; i < num; i++) {
      if (scanf("%f", &arr[i]) != 0) {
      } else {
        printf("Please enter appropriate input!");
        goto end;
      }
    }
    if (bubblesort(arr, num)) {
      printf("Sorted array: \n");
      for (size_t i = 0; i < num; i++) {
        printf("%.2f\n", arr[i]);
      }
      printf("Enter index to split: ");
      if (scanf("%d", &split) != 0) {
        if (splitn(arr, arr1, arr2, split, num)) {
          printf("Splited array: \n");
          printf("Array 1: \n");
          for (size_t i = 0; i < split; i++) {
            printf("%.2f\n", arr1[i]);
          }
          printf("Array 2: \n");
          for (size_t i = 0; i < num - split; i++) {
            printf("%.2f\n", arr2[i]);
          }
        } else {
          printf("Split failed\n");
          goto end;
        }
      } else {
        printf("Please enter appropriate input!");
        goto end;
      }
    } else {
      printf("Sort failed\n");
      goto end;
    }
  } else {
    printf("Please enter appropriate input!");
    goto end;
  }
end:
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x4e0,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xea7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeb4(%rip),%rdi
lea    -0x8(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
cmp    $0x0,%rax
je     13fc <main+0x2bc>
movq   $0x0,-0x4c8(%rbp)
mov    -0x4c8(%rbp),%rax
movslq -0x8(%rbp),%rcx
cmp    %rcx,%rax
jae    11fc <main+0xbc>
mov    -0x4c8(%rbp),%rax
lea    -0x1a0(%rbp),%rsi
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe67(%rip),%rdi
mov    $0x0,%al
call   1040 <scanf@plt>
cmp    $0x0,%rax
je     11cd <main+0x8d>
jmp    11e0 <main+0xa0>
lea    0xe4d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1414 <main+0x2d4>
jmp    11e5 <main+0xa5>
mov    -0x4c8(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x4c8(%rbp)
jmp    1187 <main+0x47>
lea    -0x1a0(%rbp),%rdi
mov    -0x8(%rbp),%esi
call   1050 <bubblesort@plt>
cmp    $0x0,%rax
je     13e4 <main+0x2a4>
lea    0xe25(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movq   $0x0,-0x4d0(%rbp)
mov    -0x4d0(%rbp),%rax
movslq -0x8(%rbp),%rcx
cmp    %rcx,%rax
jae    127b <main+0x13b>
mov    -0x4d0(%rbp),%rax
movss  -0x1a0(%rbp,%rax,4),%xmm0
ff ff
cvtss2sd %xmm0,%xmm0
lea    0xdf4(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x4d0(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x4d0(%rbp)
jmp    122e <main+0xee>
lea    0xdd5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd8b(%rip),%rdi
lea    -0xc(%rbp),%rsi
mov    $0x0,%al
call   1040 <scanf@plt>
cmp    $0x0,%rax
je     13cc <main+0x28c>
lea    -0x1a0(%rbp),%rdi
lea    -0x330(%rbp),%rsi
lea    -0x4c0(%rbp),%rdx
mov    -0xc(%rbp),%ecx
mov    -0x8(%rbp),%r8d
call   1060 <splitn@plt>
cmp    $0x0,%rax
je     13b4 <main+0x274>
lea    0xd97(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd9a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movq   $0x0,-0x4d8(%rbp)
mov    -0x4d8(%rbp),%rax
movslq -0xc(%rbp),%rcx
cmp    %rcx,%rax
jae    1344 <main+0x204>
mov    -0x4d8(%rbp),%rax
movss  -0x330(%rbp,%rax,4),%xmm0
ff ff
cvtss2sd %xmm0,%xmm0
lea    0xd2b(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x4d8(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x4d8(%rbp)
jmp    12f7 <main+0x1b7>
lea    0xd3f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movq   $0x0,-0x4e0(%rbp)
mov    -0x4e0(%rbp),%rax
mov    -0x8(%rbp),%ecx
sub    -0xc(%rbp),%ecx
movslq %ecx,%rcx
cmp    %rcx,%rax
jae    13af <main+0x26f>
mov    -0x4e0(%rbp),%rax
movss  -0x4c0(%rbp,%rax,4),%xmm0
ff ff
cvtss2sd %xmm0,%xmm0
lea    0xcc0(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0x4e0(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x4e0(%rbp)
jmp    135d <main+0x21d>
jmp    13c7 <main+0x287>
lea    0xcda(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1414 <main+0x2d4>
jmp    13df <main+0x29f>
lea    0xc4e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1414 <main+0x2d4>
jmp    13f7 <main+0x2b7>
lea    0xcb8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1414 <main+0x2d4>
jmp    140f <main+0x2cf>
lea    0xc1e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1414 <main+0x2d4>
jmp    1414 <main+0x2d4>
xor    %eax,%eax
add    $0x4e0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x4c8,%rsp
lea    0xe9b(%rip),%rdi
xor    %r14d,%r14d
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xea5(%rip),%rdi
lea    0x8(%rsp),%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
test   %rax,%rax
je     131f <main+0x1cf>
cmpl   $0x0,0x8(%rsp)
je     11c8 <main+0x78>
lea    0x10(%rsp),%r12
lea    0xe80(%rip),%r15
xor    %ebx,%ebx
mov    %r15,%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
test   %rax,%rax
je     131f <main+0x1cf>
add    $0x1,%rbx
movslq 0x8(%rsp),%r14
add    $0x4,%r12
cmp    %r14,%rbx
jb     11a0 <main+0x50>
lea    0x10(%rsp),%rdi
mov    %r14d,%esi
call   1060 <bubblesort@plt>
test   %rax,%rax
je     132f <main+0x1df>
lea    0xe85(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x0,0x8(%rsp)
je     1222 <main+0xd2>
xor    %ebx,%ebx
lea    0xe47(%rip),%r14
nopw   0x0(%rax,%rax,1)
movss  0x10(%rsp,%rbx,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
add    $0x1,%rbx
movslq 0x8(%rsp),%rax
cmp    %rax,%rbx
jb     1200 <main+0xb0>
lea    0xe1e(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xde4(%rip),%rdi
lea    0xc(%rsp),%rsi
xor    %eax,%eax
call   1050 <scanf@plt>
test   %rax,%rax
je     131f <main+0x1cf>
mov    0xc(%rsp),%ecx
mov    0x8(%rsp),%r8d
lea    0x10(%rsp),%rdi
lea    0x330(%rsp),%rsi
lea    0x1a0(%rsp),%rdx
call   1070 <splitn@plt>
test   %rax,%rax
je     1338 <main+0x1e8>
lea    0xe07(%rip),%rdi
call   1030 <puts@plt>
lea    0xe0b(%rip),%rdi
call   1030 <puts@plt>
cmpl   $0x0,0xc(%rsp)
je     12c5 <main+0x175>
xor    %ebx,%ebx
lea    0xda1(%rip),%r14
movss  0x330(%rsp,%rbx,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
add    $0x1,%rbx
movslq 0xc(%rsp),%rax
cmp    %rax,%rbx
jb     12a0 <main+0x150>
lea    0xdd4(%rip),%rdi
call   1030 <puts@plt>
mov    0x8(%rsp),%eax
cmp    0xc(%rsp),%eax
je     1344 <main+0x1f4>
xor    %ebx,%ebx
lea    0xd5d(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movss  0x1a0(%rsp,%rbx,4),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %r14,%rdi
mov    $0x1,%al
call   1040 <printf@plt>
add    $0x1,%rbx
movslq 0x8(%rsp),%rax
movslq 0xc(%rsp),%rcx
sub    %rcx,%rax
cmp    %rax,%rbx
jb     12f0 <main+0x1a0>
jmp    1344 <main+0x1f4>
lea    0xcfb(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1344 <main+0x1f4>
lea    0xd28(%rip),%rdi
jmp    133f <main+0x1ef>
lea    0xd3a(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x4c8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [27 x i8] c"Enter number of elements: \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [3 x i8] c"%f\00"
@.str.3 = [32 x i8] c"Please enter appropriate input!\00"
@.str.4 = [16 x i8] c"Sorted array: \0A\00"
@.str.5 = [6 x i8] c"%.2f\0A\00"
@.str.6 = [23 x i8] c"Enter index to split: \00"
@.str.7 = [17 x i8] c"Splited array: \0A\00"
@.str.8 = [11 x i8] c"Array 1: \0A\00"
@.str.9 = [11 x i8] c"Array 2: \0A\00"
@.str.10 = [14 x i8] c"Split failed\0A\00"
@.str.11 = [13 x i8] c"Sort failed\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca [100 x float]
%5 = alloca [100 x float]
%6 = alloca [100 x float]
%7 = alloca i64
%8 = alloca i64
%9 = alloca i64
%10 = alloca i64
store i32 0, i32* %1
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%12 = call i64 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %110
14: ; preds = %0
store i64 0, i64* %7
br label %15
15: ; preds = %29, %14
%16 = load i64, i64* %7
%17 = load i32, i32* %2
%18 = sext i32 %17 to i64
%19 = icmp ult i64 %16, %18
br i1 %19, label %20, label %32
20: ; preds = %15
%21 = load i64, i64* %7
%22 = getelementptr inbounds [100 x float], [100 x float]* %4, i64 0, i64 %21
%23 = call i64 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), float* %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %20
br label %28
26: ; preds = %20
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0))
br label %113
28: ; preds = %25
br label %29
29: ; preds = %28
%30 = load i64, i64* %7
%31 = add i64 %30, 1
store i64 %31, i64* %7
br label %15
32: ; preds = %15
%33 = getelementptr inbounds [100 x float], [100 x float]* %4, i64 0, i64 0
%34 = load i32, i32* %2
%35 = call i64 @bubblesort(float* %33, i32 %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %107
37: ; preds = %32
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0))
store i64 0, i64* %8
br label %39
39: ; preds = %50, %37
%40 = load i64, i64* %8
%41 = load i32, i32* %2
%42 = sext i32 %41 to i64
%43 = icmp ult i64 %40, %42
br i1 %43, label %44, label %53
44: ; preds = %39
%45 = load i64, i64* %8
%46 = getelementptr inbounds [100 x float], [100 x float]* %4, i64 0, i64 %45
%47 = load float, float* %46
%48 = fpext float %47 to double
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %48)
br label %50
50: ; preds = %44
%51 = load i64, i64* %8
%52 = add i64 %51, 1
store i64 %52, i64* %8
br label %39
53: ; preds = %39
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0))
%55 = call i64 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %3)
%56 = icmp ne i64 %55, 0
br i1 %56, label %57, label %104
57: ; preds = %53
%58 = getelementptr inbounds [100 x float], [100 x float]* %4, i64 0, i64 0
%59 = getelementptr inbounds [100 x float], [100 x float]* %5, i64 0, i64 0
%60 = getelementptr inbounds [100 x float], [100 x float]* %6, i64 0, i64 0
%61 = load i32, i32* %3
%62 = load i32, i32* %2
%63 = call i64 @splitn(float* %58, float* %59, float* %60, i32 %61, i32 %62)
%64 = icmp ne i64 %63, 0
br i1 %64, label %65, label %101
65: ; preds = %57
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0))
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
store i64 0, i64* %9
br label %68
68: ; preds = %79, %65
%69 = load i64, i64* %9
%70 = load i32, i32* %3
%71 = sext i32 %70 to i64
%72 = icmp ult i64 %69, %71
br i1 %72, label %73, label %82
73: ; preds = %68
%74 = load i64, i64* %9
%75 = getelementptr inbounds [100 x float], [100 x float]* %5, i64 0, i64 %74
%76 = load float, float* %75
%77 = fpext float %76 to double
%78 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %77)
br label %79
79: ; preds = %73
%80 = load i64, i64* %9
%81 = add i64 %80, 1
store i64 %81, i64* %9
br label %68
82: ; preds = %68
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0))
store i64 0, i64* %10
br label %84
84: ; preds = %97, %82
%85 = load i64, i64* %10
%86 = load i32, i32* %2
%87 = load i32, i32* %3
%88 = sub nsw i32 %86, %87
%89 = sext i32 %88 to i64
%90 = icmp ult i64 %85, %89
br i1 %90, label %91, label %100
91: ; preds = %84
%92 = load i64, i64* %10
%93 = getelementptr inbounds [100 x float], [100 x float]* %6, i64 0, i64 %92
%94 = load float, float* %93
%95 = fpext float %94 to double
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %95)
br label %97
97: ; preds = %91
%98 = load i64, i64* %10
%99 = add i64 %98, 1
store i64 %99, i64* %10
br label %84
100: ; preds = %84
br label %103
101: ; preds = %57
%102 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.10, i64 0, i64 0))
br label %113
103: ; preds = %100
br label %106
104: ; preds = %53
%105 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0))
br label %113
106: ; preds = %103
br label %109
107: ; preds = %32
%108 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.11, i64 0, i64 0))
br label %113
109: ; preds = %106
br label %112
110: ; preds = %0
%111 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0))
br label %113
112: ; preds = %109
br label %113
113: ; preds = %112, %110, %107, %104, %101, %26
ret i32 0
}

LLVM IR (-O2):
@.str = [27 x i8] c"Enter number of elements: \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [3 x i8] c"%f\00"
@.str.3 = [32 x i8] c"Please enter appropriate input!\00"
@.str.5 = [6 x i8] c"%.2f\0A\00"
@.str.6 = [23 x i8] c"Enter index to split: \00"
@str = [12 x i8] c"Sort failed\00"
@str.12 = [15 x i8] c"Sorted array: \00"
@str.13 = [13 x i8] c"Split failed\00"
@str.14 = [16 x i8] c"Splited array: \00"
@str.15 = [10 x i8] c"Array 1: \00"
@str.16 = [10 x i8] c"Array 2: \00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca [100 x float]
%4 = alloca [100 x float]
%5 = alloca [100 x float]
%6 = bitcast i32* %1 to i8*
%7 = bitcast i32* %2 to i8*
%8 = bitcast [100 x float]* %3 to i8*
%9 = bitcast [100 x float]* %4 to i8*
%10 = bitcast [100 x float]* %5 to i8*
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%12 = call i64 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%13 = icmp eq i64 %12, 0
br i1 %13, label %97, label %14
14: ; preds = %0
%15 = load i32, i32* %1
%16 = icmp eq i32 %15, 0
br i1 %16, label %29, label %21
17: ; preds = %21
%18 = load i32, i32* %1
%19 = sext i32 %18 to i64
%20 = icmp ult i64 %26, %19
br i1 %20, label %21, label %29
21: ; preds = %14, %17
%22 = phi i64 [ %26, %17 ], [ 0, %14 ]
%23 = getelementptr inbounds [100 x float], [100 x float]* %3, i64 0, i64 %22
%24 = call i64 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), float* %23)
%25 = icmp eq i64 %24, 0
%26 = add nuw i64 %22, 1
br i1 %25, label %27, label %17
27: ; preds = %21
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0))
br label %99
29: ; preds = %17, %14
%30 = phi i32 [ 0, %14 ], [ %18, %17 ]
%31 = getelementptr inbounds [100 x float], [100 x float]* %3, i64 0, i64 0
%32 = call i64 @bubblesort(float* %31, i32 %30)
%33 = icmp eq i64 %32, 0
br i1 %33, label %95, label %34
34: ; preds = %29
%35 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @str.12, i64 0, i64 0))
%36 = load i32, i32* %1
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %42
38: ; preds = %42, %34
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.6, i64 0, i64 0))
%40 = call i64 (i8*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%41 = icmp eq i64 %40, 0
br i1 %41, label %93, label %52
42: ; preds = %34, %42
%43 = phi i64 [ %48, %42 ], [ 0, %34 ]
%44 = getelementptr inbounds [100 x float], [100 x float]* %3, i64 0, i64 %43
%45 = load float, float* %44
%46 = fpext float %45 to double
%47 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %46)
%48 = add nuw i64 %43, 1
%49 = load i32, i32* %1
%50 = sext i32 %49 to i64
%51 = icmp ult i64 %48, %50
br i1 %51, label %42, label %38
52: ; preds = %38
%53 = getelementptr inbounds [100 x float], [100 x float]* %4, i64 0, i64 0
%54 = getelementptr inbounds [100 x float], [100 x float]* %5, i64 0, i64 0
%55 = load i32, i32* %2
%56 = load i32, i32* %1
%57 = call i64 @splitn(float* %31, float* %53, float* %54, i32 %55, i32 %56)
%58 = icmp eq i64 %57, 0
br i1 %58, label %91, label %59
59: ; preds = %52
%60 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.14, i64 0, i64 0))
%61 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.15, i64 0, i64 0))
%62 = load i32, i32* %2
%63 = icmp eq i32 %62, 0
br i1 %63, label %64, label %69
64: ; preds = %69, %59
%65 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @str.16, i64 0, i64 0))
%66 = load i32, i32* %1
%67 = load i32, i32* %2
%68 = icmp eq i32 %66, %67
br i1 %68, label %99, label %79
69: ; preds = %59, %69
%70 = phi i64 [ %75, %69 ], [ 0, %59 ]
%71 = getelementptr inbounds [100 x float], [100 x float]* %4, i64 0, i64 %70
%72 = load float, float* %71
%73 = fpext float %72 to double
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %73)
%75 = add nuw i64 %70, 1
%76 = load i32, i32* %2
%77 = sext i32 %76 to i64
%78 = icmp ult i64 %75, %77
br i1 %78, label %69, label %64
79: ; preds = %64, %79
%80 = phi i64 [ %85, %79 ], [ 0, %64 ]
%81 = getelementptr inbounds [100 x float], [100 x float]* %5, i64 0, i64 %80
%82 = load float, float* %81
%83 = fpext float %82 to double
%84 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), double %83)
%85 = add nuw i64 %80, 1
%86 = load i32, i32* %1
%87 = load i32, i32* %2
%88 = sub nsw i32 %86, %87
%89 = sext i32 %88 to i64
%90 = icmp ult i64 %85, %89
br i1 %90, label %79, label %99
91: ; preds = %52
%92 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str.13, i64 0, i64 0))
br label %99
93: ; preds = %38
%94 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0))
br label %99
95: ; preds = %29
%96 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @str, i64 0, i64 0))
br label %99
97: ; preds = %0
%98 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @.str.3, i64 0, i64 0))
br label %99
99: ; preds = %79, %64, %27, %91, %93, %95, %97
ret i32 0
}