#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*/ clrscr();
int /*<<< orphan*/ getch();
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ reduction(float **, int, int, int);
int /*<<< orphan*/ scanf(char *, float *);
int main() {
  float a[3][6];
  int i, j;
  clrscr();
  for (i = 0; i < 3; i++)
    for (j = 0; j < 6; j++) {
      if (j == i + 3)
        a[i][j] = 1;
      else
        a[i][j] = 0;
    }
  printf("\nEnter a 3 X 3 Matrix :\n\n");
  for (i = 0; i < 3; i++)
    for (j = 0; j < 3; j++) {
      printf("Enter element [%d][%d] = ", i, j);
      scanf("%f", &a[i][j]);
    }
  for (i = 0; i < 3; i++)
    reduction(a, 3, i, i);
  printf("\nInvers Matrix :\n");
  for (i = 0; i < 3; i++) {
    printf("\n");
    for (j = 0; j < 3; j++)
      printf("%8.3f ", a[i][j + 3]);
  }
  getch();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1030 <clrscr@plt>
movl   $0x0,-0x54(%rbp)
cmpl   $0x3,-0x54(%rbp)
jge    11ff <main+0xaf>
movl   $0x0,-0x58(%rbp)
cmpl   $0x6,-0x58(%rbp)
jge    11ec <main+0x9c>
mov    -0x58(%rbp),%eax
mov    -0x54(%rbp),%ecx
add    $0x3,%ecx
cmp    %ecx,%eax
jne    11be <main+0x6e>
movslq -0x54(%rbp),%rcx
lea    -0x50(%rbp),%rax
imul   $0x18,%rcx,%rcx
add    %rcx,%rax
movslq -0x58(%rbp),%rcx
movss  0xe4c(%rip),%xmm0
movss  %xmm0,(%rax,%rcx,4)
jmp    11d9 <main+0x89>
movslq -0x54(%rbp),%rcx
lea    -0x50(%rbp),%rax
imul   $0x18,%rcx,%rcx
add    %rcx,%rax
movslq -0x58(%rbp),%rcx
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax,%rcx,4)
jmp    11de <main+0x8e>
mov    -0x58(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x58(%rbp)
jmp    117e <main+0x2e>
jmp    11f1 <main+0xa1>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    116d <main+0x1d>
lea    0xdfe(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x54(%rbp)
cmpl   $0x3,-0x54(%rbp)
jge    128a <main+0x13a>
movl   $0x0,-0x58(%rbp)
cmpl   $0x3,-0x58(%rbp)
jge    1277 <main+0x127>
mov    -0x54(%rbp),%esi
mov    -0x58(%rbp),%edx
lea    0xde2(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movslq -0x54(%rbp),%rax
lea    -0x50(%rbp),%rsi
imul   $0x18,%rax,%rax
add    %rax,%rsi
movslq -0x58(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xdd4(%rip),%rdi
call   1060 <scanf@plt>
mov    -0x58(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x58(%rbp)
jmp    1225 <main+0xd5>
jmp    127c <main+0x12c>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    1214 <main+0xc4>
movl   $0x0,-0x54(%rbp)
cmpl   $0x3,-0x54(%rbp)
jge    12bd <main+0x16d>
lea    -0x50(%rbp),%rdi
mov    -0x54(%rbp),%edx
mov    -0x54(%rbp),%ecx
mov    $0x3,%esi
call   1040 <reduction@plt>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    1291 <main+0x141>
lea    0xd77(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x54(%rbp)
cmpl   $0x3,-0x54(%rbp)
jge    134b <main+0x1fb>
lea    0xd39(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x58(%rbp)
cmpl   $0x3,-0x58(%rbp)
jge    1338 <main+0x1e8>
movslq -0x54(%rbp),%rcx
lea    -0x50(%rbp),%rax
imul   $0x18,%rcx,%rcx
add    %rcx,%rax
mov    -0x58(%rbp),%ecx
add    $0x3,%ecx
movslq %ecx,%rcx
movss  (%rax,%rcx,4),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xd2a(%rip),%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    -0x58(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x58(%rbp)
jmp    12f1 <main+0x1a1>
jmp    133d <main+0x1ed>
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    12d2 <main+0x182>
mov    $0x0,%al
call   1070 <getch@plt>
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    $0x48,%rsp
xor    %eax,%eax
call   1040 <clrscr@plt>
lea    0x4(%rsp),%r15
lea    0x8(%rsp),%r14
movaps 0xe6a(%rip),%xmm0
movaps %xmm0,(%rsp)
lea    0x18(%rsp),%rbp
xorps  %xmm0,%xmm0
movaps %xmm0,0x10(%rsp)
movq   $0x0,0x20(%rsp)
movl   $0x3f800000,0x28(%rsp)
3f
movups %xmm0,0x2c(%rsp)
movq   $0x0,0x3c(%rsp)
movl   $0x3f800000,0x44(%rsp)
3f
lea    0xe5f(%rip),%rdi
call   1050 <puts@plt>
lea    0xe2f(%rip),%r13
mov    %r13,%rdi
xor    %esi,%esi
xor    %edx,%edx
xor    %eax,%eax
call   1070 <printf@plt>
lea    0xe34(%rip),%rbx
mov    %rsp,%r12
mov    %rbx,%rdi
mov    %r12,%rsi
call   1080 <scanf@plt>
mov    %r13,%rdi
xor    %esi,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
call   1080 <scanf@plt>
mov    %r13,%rdi
xor    %esi,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
call   1080 <scanf@plt>
mov    %r13,%rdi
mov    $0x1,%esi
xor    %edx,%edx
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
mov    %rbp,%rsi
call   1080 <scanf@plt>
mov    %r13,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
lea    0x1c(%rsp),%rsi
call   1080 <scanf@plt>
mov    %r13,%rdi
mov    $0x1,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
lea    0x20(%rsp),%rsi
call   1080 <scanf@plt>
mov    %r13,%rdi
mov    $0x2,%esi
xor    %edx,%edx
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
lea    0x30(%rsp),%rsi
call   1080 <scanf@plt>
mov    %r13,%rdi
mov    $0x2,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
lea    0x34(%rsp),%rsi
call   1080 <scanf@plt>
mov    %r13,%rdi
mov    $0x2,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
lea    0x38(%rsp),%rsi
call   1080 <scanf@plt>
mov    %r12,%rdi
mov    $0x3,%esi
xor    %edx,%edx
xor    %ecx,%ecx
call   1060 <reduction@plt>
mov    %r12,%rdi
mov    $0x3,%esi
mov    $0x1,%edx
mov    $0x1,%ecx
call   1060 <reduction@plt>
mov    %r12,%rdi
mov    $0x3,%esi
mov    $0x2,%edx
mov    $0x2,%ecx
call   1060 <reduction@plt>
lea    0xd0d(%rip),%rdi
call   1050 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movss  0xc(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xccd(%rip),%rbx
mov    %rbx,%rdi
mov    $0x1,%al
call   1070 <printf@plt>
movss  0x10(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1070 <printf@plt>
movss  0x14(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1070 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movss  0x24(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1070 <printf@plt>
movss  0x28(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1070 <printf@plt>
movss  0x2c(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1070 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movss  0x3c(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1070 <printf@plt>
movss  0x40(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1070 <printf@plt>
movss  0x44(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1070 <printf@plt>
xor    %eax,%eax
call   1090 <getch@plt>
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [26 x i8] c"\0AEnter a 3 X 3 Matrix :\0A\0A\00"
@.str.1 = [26 x i8] c"Enter element [%d][%d] = \00"
@.str.2 = [3 x i8] c"%f\00"
@.str.3 = [18 x i8] c"\0AInvers Matrix :\0A\00"
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [7 x i8] c"%8.3f \00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [3 x [6 x float]]
%3 = alloca i32
%4 = alloca i32
store i32 0, i32* %1
%5 = call i32 (...) @clrscr()
store i32 0, i32* %3
br label %6
6: ; preds = %37, %0
%7 = load i32, i32* %3
%8 = icmp slt i32 %7, 3
br i1 %8, label %9, label %40
9: ; preds = %6
store i32 0, i32* %4
br label %10
10: ; preds = %33, %9
%11 = load i32, i32* %4
%12 = icmp slt i32 %11, 6
br i1 %12, label %13, label %36
13: ; preds = %10
%14 = load i32, i32* %4
%15 = load i32, i32* %3
%16 = add nsw i32 %15, 3
%17 = icmp eq i32 %14, %16
br i1 %17, label %18, label %25
18: ; preds = %13
%19 = load i32, i32* %3
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %2, i64 0, i64 %20
%22 = load i32, i32* %4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [6 x float], [6 x float]* %21, i64 0, i64 %23
store float 1.000000e+00, float* %24
br label %32
25: ; preds = %13
%26 = load i32, i32* %3
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %2, i64 0, i64 %27
%29 = load i32, i32* %4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [6 x float], [6 x float]* %28, i64 0, i64 %30
store float 0.000000e+00, float* %31
br label %32
32: ; preds = %25, %18
br label %33
33: ; preds = %32
%34 = load i32, i32* %4
%35 = add nsw i32 %34, 1
store i32 %35, i32* %4
br label %10
36: ; preds = %10
br label %37
37: ; preds = %36
%38 = load i32, i32* %3
%39 = add nsw i32 %38, 1
store i32 %39, i32* %3
br label %6
40: ; preds = %6
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %3
br label %42
42: ; preds = %64, %40
%43 = load i32, i32* %3
%44 = icmp slt i32 %43, 3
br i1 %44, label %45, label %67
45: ; preds = %42
store i32 0, i32* %4
br label %46
46: ; preds = %60, %45
%47 = load i32, i32* %4
%48 = icmp slt i32 %47, 3
br i1 %48, label %49, label %63
49: ; preds = %46
%50 = load i32, i32* %3
%51 = load i32, i32* %4
%52 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i32 %50, i32 %51)
%53 = load i32, i32* %3
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %2, i64 0, i64 %54
%56 = load i32, i32* %4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [6 x float], [6 x float]* %55, i64 0, i64 %57
%59 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), float* %58)
br label %60
60: ; preds = %49
%61 = load i32, i32* %4
%62 = add nsw i32 %61, 1
store i32 %62, i32* %4
br label %46
63: ; preds = %46
br label %64
64: ; preds = %63
%65 = load i32, i32* %3
%66 = add nsw i32 %65, 1
store i32 %66, i32* %3
br label %42
67: ; preds = %42
store i32 0, i32* %3
br label %68
68: ; preds = %77, %67
%69 = load i32, i32* %3
%70 = icmp slt i32 %69, 3
br i1 %70, label %71, label %80
71: ; preds = %68
%72 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %2, i64 0, i64 0
%73 = bitcast [6 x float]* %72 to float**
%74 = load i32, i32* %3
%75 = load i32, i32* %3
%76 = call i32 @reduction(float** %73, i32 3, i32 %74, i32 %75)
br label %77
77: ; preds = %71
%78 = load i32, i32* %3
%79 = add nsw i32 %78, 1
store i32 %79, i32* %3
br label %68
80: ; preds = %68
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %3
br label %82
82: ; preds = %105, %80
%83 = load i32, i32* %3
%84 = icmp slt i32 %83, 3
br i1 %84, label %85, label %108
85: ; preds = %82
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
store i32 0, i32* %4
br label %87
87: ; preds = %101, %85
%88 = load i32, i32* %4
%89 = icmp slt i32 %88, 3
br i1 %89, label %90, label %104
90: ; preds = %87
%91 = load i32, i32* %3
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %2, i64 0, i64 %92
%94 = load i32, i32* %4
%95 = add nsw i32 %94, 3
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [6 x float], [6 x float]* %93, i64 0, i64 %96
%98 = load float, float* %97
%99 = fpext float %98 to double
%100 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), double %99)
br label %101
101: ; preds = %90
%102 = load i32, i32* %4
%103 = add nsw i32 %102, 1
store i32 %103, i32* %4
br label %87
104: ; preds = %87
br label %105
105: ; preds = %104
%106 = load i32, i32* %3
%107 = add nsw i32 %106, 1
store i32 %107, i32* %3
br label %82
108: ; preds = %82
%109 = call i32 (...) @getch()
ret i32 0
}

LLVM IR (-O2):
@.str.1 = [26 x i8] c"Enter element [%d][%d] = \00"
@.str.2 = [3 x i8] c"%f\00"
@.str.5 = [7 x i8] c"%8.3f \00"
@str = [25 x i8] c"\0AEnter a 3 X 3 Matrix :\0A\00"
@str.6 = [17 x i8] c"\0AInvers Matrix :\00"
define i32 @main() {
%1 = alloca [3 x [6 x float]]
%2 = bitcast [3 x [6 x float]]* %1 to i8*
%3 = tail call i32 (...) @clrscr()
%4 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %1, i64 0, i64 0, i64 0
%5 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %1, i64 0, i64 0, i64 1
%6 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %1, i64 0, i64 0, i64 2
%7 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %1, i64 0, i64 0, i64 3
%8 = bitcast [3 x [6 x float]]* %1 to <4 x float>*
store <4 x float> <float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 1.000000e+00>, <4 x float>* %8
%9 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %1, i64 0, i64 0, i64 4
%10 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %1, i64 0, i64 0, i64 5
%11 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %1, i64 0, i64 1, i64 0
%12 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %1, i64 0, i64 1, i64 1
%13 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %1, i64 0, i64 1, i64 2
%14 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %1, i64 0, i64 1, i64 3
%15 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %1, i64 0, i64 1, i64 4
%16 = bitcast float* %9 to i8*
store float 1.000000e+00, float* %15
%17 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %1, i64 0, i64 1, i64 5
%18 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %1, i64 0, i64 2, i64 0
%19 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %1, i64 0, i64 2, i64 1
%20 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %1, i64 0, i64 2, i64 2
%21 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %1, i64 0, i64 2, i64 3
%22 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %1, i64 0, i64 2, i64 4
%23 = getelementptr inbounds [3 x [6 x float]], [3 x [6 x float]]* %1, i64 0, i64 2, i64 5
%24 = bitcast float* %17 to i8*
store float 1.000000e+00, float* %23
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str, i64 0, i64 0))
%26 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i32 0, i32 0)
%27 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), float* %4)
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i32 0, i32 1)
%29 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), float* %5)
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i32 0, i32 2)
%31 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), float* %6)
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i32 1, i32 0)
%33 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), float* %11)
%34 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i32 1, i32 1)
%35 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), float* %12)
%36 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i32 1, i32 2)
%37 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), float* %13)
%38 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i32 2, i32 0)
%39 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), float* %18)
%40 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i32 2, i32 1)
%41 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), float* %19)
%42 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.1, i64 0, i64 0), i32 2, i32 2)
%43 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), float* %20)
%44 = bitcast [3 x [6 x float]]* %1 to float**
%45 = call i32 @reduction(float** %44, i32 3, i32 0, i32 0)
%46 = call i32 @reduction(float** %44, i32 3, i32 1, i32 1)
%47 = call i32 @reduction(float** %44, i32 3, i32 2, i32 2)
%48 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.6, i64 0, i64 0))
%49 = call i32 @putchar(i32 10)
%50 = load float, float* %7
%51 = fpext float %50 to double
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), double %51)
%53 = load float, float* %9
%54 = fpext float %53 to double
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), double %54)
%56 = load float, float* %10
%57 = fpext float %56 to double
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), double %57)
%59 = call i32 @putchar(i32 10)
%60 = load float, float* %14
%61 = fpext float %60 to double
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), double %61)
%63 = load float, float* %15
%64 = fpext float %63 to double
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), double %64)
%66 = load float, float* %17
%67 = fpext float %66 to double
%68 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), double %67)
%69 = call i32 @putchar(i32 10)
%70 = load float, float* %21
%71 = fpext float %70 to double
%72 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), double %71)
%73 = load float, float* %22
%74 = fpext float %73 to double
%75 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), double %74)
%76 = load float, float* %23
%77 = fpext float %76 to double
%78 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), double %77)
%79 = call i32 (...) @getch()
ret i32 0
}