#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*/ JacobianSpace(int, double *, double *, double *);
int /*<<< orphan*/ printf(char *, ...);
void test_JacobianSpace() {
  int JointNum = 4;
  int i;
  int j;
  double Slist[6][4];
  double Si[6][4] = {0, 1, 0, 1,   0,   0, 1, 0,   1,   0, 0, 0,
                     0, 2, 0, 0.2, 0.2, 0, 2, 0.3, 0.2, 3, 1, 0.4};
  for (i = 0; i < 6; i++) {
    for (j = 0; j < JointNum; j++) {
      Slist[i][j] = Si[i][j];
    }
  }
  double thetalist[4] = {0.2, 1.1, 0.1, 1.2};
  double Js[6][4] = {{0}};
  JacobianSpace(JointNum, (double *)Slist, thetalist, (double *)Js);
  printf("Js:\n");
  for (i = 0; i < 6; i++) {
    for (j = 0; j < JointNum; j++) {
      printf("%lf  ", Js[i][j]);
    }
    printf("\n");
  }
  return;
}


x86 assembly (clang, -O0):
<test_JacobianSpace>:
push   %rbp
mov    %rsp,%rbp
sub    $0x270,%rsp
movl   $0x4,-0x4(%rbp)
lea    -0x190(%rbp),%rdi
lea    0xea0(%rip),%rsi
mov    $0xc0,%edx
call   1060 <memcpy@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x6,-0x8(%rbp)
jge    11e5 <test_JacobianSpace+0xa5>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    11d2 <test_JacobianSpace+0x92>
movslq -0x8(%rbp),%rcx
lea    -0x190(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movslq -0x8(%rbp),%rcx
lea    -0xd0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1182 <test_JacobianSpace+0x42>
jmp    11d7 <test_JacobianSpace+0x97>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1171 <test_JacobianSpace+0x31>
mov    0xed4(%rip),%rax
mov    %rax,-0x1b0(%rbp)
mov    0xece(%rip),%rax
mov    %rax,-0x1a8(%rbp)
mov    0xec8(%rip),%rax
mov    %rax,-0x1a0(%rbp)
mov    0xec2(%rip),%rax
mov    %rax,-0x198(%rbp)
lea    -0x270(%rbp),%rdi
xor    %esi,%esi
mov    $0xc0,%edx
call   1040 <memset@plt>
mov    -0x4(%rbp),%edi
lea    -0xd0(%rbp),%rsi
lea    -0x1b0(%rbp),%rdx
lea    -0x270(%rbp),%rcx
call   1050 <JacobianSpace@plt>
lea    0xe8c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x6,-0x8(%rbp)
jge    12d2 <test_JacobianSpace+0x192>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    12b6 <test_JacobianSpace+0x176>
movslq -0x8(%rbp),%rcx
lea    -0x270(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
lea    0xe44(%rip),%rdi
mov    $0x1,%al
call   1030 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1273 <test_JacobianSpace+0x133>
lea    0xe26(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1262 <test_JacobianSpace+0x122>
add    $0x270,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test_JacobianSpace>:
push   %rbx
sub    $0x1a0,%rsp
lea    0xea1(%rip),%rsi
lea    0xe0(%rsp),%rbx
mov    $0xc0,%edx
mov    %rbx,%rdi
call   1070 <memcpy@plt>
movaps 0xf55(%rip),%xmm0
movaps %xmm0,0xd0(%rsp)
movaps 0xf36(%rip),%xmm0
movaps %xmm0,0xc0(%rsp)
xorps  %xmm0,%xmm0
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x30(%rsp)
movaps %xmm0,0x20(%rsp)
movaps %xmm0,0x10(%rsp)
movaps %xmm0,(%rsp)
lea    0xc0(%rsp),%rdx
mov    %rsp,%rcx
mov    $0x4,%edi
mov    %rbx,%rsi
call   1060 <JacobianSpace@plt>
lea    0xeeb(%rip),%rdi
call   1040 <puts@plt>
movsd  (%rsp),%xmm0
lea    0xed4(%rip),%rbx
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x8(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x10(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x18(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movsd  0x20(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x28(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x30(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x38(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movsd  0x40(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x48(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x50(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x58(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movsd  0x60(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x68(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x70(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x78(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movsd  0x80(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x88(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x90(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0x98(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movsd  0xa0(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xa8(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xb0(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
movsd  0xb8(%rsp),%xmm0
mov    %rbx,%rdi
mov    $0x1,%al
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1a0,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@__const.test_JacobianSpace.Si = [6 x [4 x double]] [[4 x double] [double 0.000000e+00, double 1.000000e+00, double 0.000000e+00, double 1.000000e+00], [4 x double] [double 0.000000e+00, double 0.000000e+00, double 1.000000e+00, double 0.000000e+00], [4 x double] [double 1.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00], [4 x double] [double 0.000000e+00, double 2.000000e+00, double 0.000000e+00, double 2.000000e-01], [4 x double] [double 2.000000e-01, double 0.000000e+00, double 2.000000e+00, double 3.000000e-01], [4 x double] [double 2.000000e-01, double 3.000000e+00, double 1.000000e+00, double 4.000000e-01]]
@__const.test_JacobianSpace.thetalist = [4 x double] [double 2.000000e-01, double 1.100000e+00, double 1.000000e-01, double 1.200000e+00]
@.str = [5 x i8] c"Js:\0A\00"
@.str.1 = [6 x i8] c"%lf \00"
@.str.2 = [2 x i8] c"\0A\00"
define void @test_JacobianSpace() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca [6 x [4 x double]]
%5 = alloca [6 x [4 x double]]
%6 = alloca [4 x double]
%7 = alloca [6 x [4 x double]]
store i32 4, i32* %1
%8 = bitcast [6 x [4 x double]]* %5 to i8*
store i32 0, i32* %2
br label %9
9: ; preds = %35, %0
%10 = load i32, i32* %2
%11 = icmp slt i32 %10, 6
br i1 %11, label %12, label %38
12: ; preds = %9
store i32 0, i32* %3
br label %13
13: ; preds = %31, %12
%14 = load i32, i32* %3
%15 = load i32, i32* %1
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %34
17: ; preds = %13
%18 = load i32, i32* %2
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %5, i64 0, i64 %19
%21 = load i32, i32* %3
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [4 x double], [4 x double]* %20, i64 0, i64 %22
%24 = load double, double* %23
%25 = load i32, i32* %2
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 %26
%28 = load i32, i32* %3
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [4 x double], [4 x double]* %27, i64 0, i64 %29
store double %24, double* %30
br label %31
31: ; preds = %17
%32 = load i32, i32* %3
%33 = add nsw i32 %32, 1
store i32 %33, i32* %3
br label %13
34: ; preds = %13
br label %35
35: ; preds = %34
%36 = load i32, i32* %2
%37 = add nsw i32 %36, 1
store i32 %37, i32* %2
br label %9
38: ; preds = %9
%39 = bitcast [4 x double]* %6 to i8*
%40 = bitcast [6 x [4 x double]]* %7 to i8*
%41 = load i32, i32* %1
%42 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 0
%43 = bitcast [4 x double]* %42 to double*
%44 = getelementptr inbounds [4 x double], [4 x double]* %6, i64 0, i64 0
%45 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %7, i64 0, i64 0
%46 = bitcast [4 x double]* %45 to double*
%47 = call i32 @JacobianSpace(i32 %41, double* %43, double* %44, double* %46)
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %2
br label %49
49: ; preds = %71, %38
%50 = load i32, i32* %2
%51 = icmp slt i32 %50, 6
br i1 %51, label %52, label %74
52: ; preds = %49
store i32 0, i32* %3
br label %53
53: ; preds = %66, %52
%54 = load i32, i32* %3
%55 = load i32, i32* %1
%56 = icmp slt i32 %54, %55
br i1 %56, label %57, label %69
57: ; preds = %53
%58 = load i32, i32* %2
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %7, i64 0, i64 %59
%61 = load i32, i32* %3
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [4 x double], [4 x double]* %60, i64 0, i64 %62
%64 = load double, double* %63
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %64)
br label %66
66: ; preds = %57
%67 = load i32, i32* %3
%68 = add nsw i32 %67, 1
store i32 %68, i32* %3
br label %53
69: ; preds = %53
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %71
71: ; preds = %69
%72 = load i32, i32* %2
%73 = add nsw i32 %72, 1
store i32 %73, i32* %2
br label %49
74: ; preds = %49
ret void
}

LLVM IR (-O2):
@__const.test_JacobianSpace.Si = [6 x [4 x double]] [[4 x double] [double 0.000000e+00, double 1.000000e+00, double 0.000000e+00, double 1.000000e+00], [4 x double] [double 0.000000e+00, double 0.000000e+00, double 1.000000e+00, double 0.000000e+00], [4 x double] [double 1.000000e+00, double 0.000000e+00, double 0.000000e+00, double 0.000000e+00], [4 x double] [double 0.000000e+00, double 2.000000e+00, double 0.000000e+00, double 2.000000e-01], [4 x double] [double 2.000000e-01, double 0.000000e+00, double 2.000000e+00, double 3.000000e-01], [4 x double] [double 2.000000e-01, double 3.000000e+00, double 1.000000e+00, double 4.000000e-01]]
@__const.test_JacobianSpace.thetalist = [4 x double] [double 2.000000e-01, double 1.100000e+00, double 1.000000e-01, double 1.200000e+00]
@.str.1 = [6 x i8] c"%lf \00"
@str = [4 x i8] c"Js:\00"
define void @test_JacobianSpace() {
%1 = alloca [6 x [4 x double]]
%2 = bitcast [6 x [4 x double]]* %1 to i8*
%3 = alloca [4 x double]
%4 = alloca [6 x [4 x double]]
%5 = bitcast [4 x double]* %3 to i8*
%6 = bitcast [6 x [4 x double]]* %4 to i8*
%7 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %1, i64 0, i64 0, i64 0
%8 = getelementptr inbounds [4 x double], [4 x double]* %3, i64 0, i64 0
%9 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 0, i64 0
%10 = call i32 @JacobianSpace(i32 4, double* %7, double* %8, double* %9)
%11 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str, i64 0, i64 0))
%12 = load double, double* %9
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %12)
%14 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 0, i64 1
%15 = load double, double* %14
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %15)
%17 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 0, i64 2
%18 = load double, double* %17
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %18)
%20 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 0, i64 3
%21 = load double, double* %20
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %21)
%23 = call i32 @putchar(i32 10)
%24 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 1, i64 0
%25 = load double, double* %24
%26 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %25)
%27 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 1, i64 1
%28 = load double, double* %27
%29 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %28)
%30 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 1, i64 2
%31 = load double, double* %30
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %31)
%33 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 1, i64 3
%34 = load double, double* %33
%35 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %34)
%36 = call i32 @putchar(i32 10)
%37 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 2, i64 0
%38 = load double, double* %37
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %38)
%40 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 2, i64 1
%41 = load double, double* %40
%42 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %41)
%43 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 2, i64 2
%44 = load double, double* %43
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %44)
%46 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 2, i64 3
%47 = load double, double* %46
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %47)
%49 = call i32 @putchar(i32 10)
%50 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 3, i64 0
%51 = load double, double* %50
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %51)
%53 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 3, i64 1
%54 = load double, double* %53
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %54)
%56 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 3, i64 2
%57 = load double, double* %56
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %57)
%59 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 3, i64 3
%60 = load double, double* %59
%61 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %60)
%62 = call i32 @putchar(i32 10)
%63 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 4, i64 0
%64 = load double, double* %63
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %64)
%66 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 4, i64 1
%67 = load double, double* %66
%68 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %67)
%69 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 4, i64 2
%70 = load double, double* %69
%71 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %70)
%72 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 4, i64 3
%73 = load double, double* %72
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %73)
%75 = call i32 @putchar(i32 10)
%76 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 5, i64 0
%77 = load double, double* %76
%78 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %77)
%79 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 5, i64 1
%80 = load double, double* %79
%81 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %80)
%82 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 5, i64 2
%83 = load double, double* %82
%84 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %83)
%85 = getelementptr inbounds [6 x [4 x double]], [6 x [4 x double]]* %4, i64 0, i64 5, i64 3
%86 = load double, double* %85
%87 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), double %86)
%88 = call i32 @putchar(i32 10)
ret void
}