#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*/ fornberg_weights(int, int, int *, float *);
double get_weight(int, int, int, int, float *);
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, int, int, int, double);
int main(int argc, char *argv[]) {
  float *w;
  int i, j, m, n, v, M = 1, p = 4;
  int alpha[p + 1];
  w = (float *)malloc((M + 1) * (p + 1) * (p + 1) * sizeof(float));
  for (i = 0; i <= p; i++) {
    alpha[i] = i;
  }
  fornberg_weights(M, p, alpha, w);
  for (m = 0; m < M + 1; m++) {
    for (n = m; n < p + 1; n++) {
      for (v = 0; v <= n; v++) {
        printf("valor del coeficiente para m= %d n = %d y v = %d es %f\n", m, n,
               v, get_weight(p, m, n, v, w));
      }
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x1,-0x30(%rbp)
movl   $0x4,-0x34(%rbp)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %rsp,%rcx
mov    %rcx,-0x40(%rbp)
lea    0xf(,%rax,4),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x50(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x48(%rbp)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    -0x34(%rbp),%ecx
add    $0x1,%ecx
imul   %ecx,%eax
mov    -0x34(%rbp),%ecx
add    $0x1,%ecx
imul   %ecx,%eax
cltq
shl    $0x2,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x34(%rbp),%eax
jg     11e6 <main+0xa6>
mov    -0x50(%rbp),%rax
mov    -0x1c(%rbp),%edx
movslq -0x1c(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11be <main+0x7e>
mov    -0x50(%rbp),%rdx
mov    -0x30(%rbp),%edi
mov    -0x34(%rbp),%esi
mov    -0x18(%rbp),%rcx
call   1040 <fornberg_weights@plt>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
mov    -0x30(%rbp),%ecx
add    $0x1,%ecx
cmp    %ecx,%eax
jge    12ab <main+0x16b>
mov    -0x24(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    -0x28(%rbp),%eax
mov    -0x34(%rbp),%ecx
add    $0x1,%ecx
cmp    %ecx,%eax
jge    1298 <main+0x158>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x28(%rbp),%eax
jg     1285 <main+0x145>
mov    -0x24(%rbp),%eax
mov    %eax,-0x5c(%rbp)
mov    -0x28(%rbp),%eax
mov    %eax,-0x58(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x54(%rbp)
mov    -0x34(%rbp),%edi
mov    -0x24(%rbp),%esi
mov    -0x28(%rbp),%edx
mov    -0x2c(%rbp),%ecx
mov    -0x18(%rbp),%r8
call   1030 <get_weight@plt>
mov    -0x5c(%rbp),%esi
mov    -0x58(%rbp),%edx
mov    -0x54(%rbp),%ecx
lea    0xd8e(%rip),%rdi
call   1050 <printf@plt>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    122f <main+0xef>
jmp    128a <main+0x14a>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1217 <main+0xd7>
jmp    129d <main+0x15d>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1200 <main+0xc0>
movl   $0x0,-0x4(%rbp)
mov    -0x40(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x18,%rsp
mov    $0xc8,%edi
call   1060 <malloc@plt>
mov    %rax,%rbx
movaps 0xea5(%rip),%xmm0
movaps %xmm0,(%rsp)
movl   $0x4,0x10(%rsp)
mov    %rsp,%rdx
mov    $0x1,%edi
mov    $0x4,%esi
mov    %rax,%rcx
call   1040 <fornberg_weights@plt>
mov    $0x4,%edi
xor    %esi,%esi
xor    %edx,%edx
xor    %ecx,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
lea    0xe7a(%rip),%r14
mov    %r14,%rdi
xor    %esi,%esi
xor    %edx,%edx
xor    %ecx,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
xor    %esi,%esi
mov    $0x1,%edx
xor    %ecx,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x1,%edx
xor    %ecx,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
xor    %esi,%esi
mov    $0x1,%edx
mov    $0x1,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x1,%edx
mov    $0x1,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
xor    %esi,%esi
mov    $0x2,%edx
xor    %ecx,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x2,%edx
xor    %ecx,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
xor    %esi,%esi
mov    $0x2,%edx
mov    $0x1,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x2,%edx
mov    $0x1,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
xor    %esi,%esi
mov    $0x2,%edx
mov    $0x2,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x2,%edx
mov    $0x2,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
xor    %esi,%esi
mov    $0x3,%edx
xor    %ecx,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x3,%edx
xor    %ecx,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
xor    %esi,%esi
mov    $0x3,%edx
mov    $0x1,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x3,%edx
mov    $0x1,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
xor    %esi,%esi
mov    $0x3,%edx
mov    $0x2,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x3,%edx
mov    $0x2,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
xor    %esi,%esi
mov    $0x3,%edx
mov    $0x3,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x3,%edx
mov    $0x3,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
xor    %esi,%esi
mov    $0x4,%edx
xor    %ecx,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x4,%edx
xor    %ecx,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
xor    %esi,%esi
mov    $0x4,%edx
mov    $0x1,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x4,%edx
mov    $0x1,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
xor    %esi,%esi
mov    $0x4,%edx
mov    $0x2,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x4,%edx
mov    $0x2,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
xor    %esi,%esi
mov    $0x4,%edx
mov    $0x3,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x4,%edx
mov    $0x3,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
xor    %esi,%esi
mov    $0x4,%edx
mov    $0x4,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x4,%edx
mov    $0x4,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
mov    $0x1,%esi
mov    $0x1,%edx
xor    %ecx,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
xor    %ecx,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
mov    $0x1,%esi
mov    $0x1,%edx
mov    $0x1,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    $0x1,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
mov    $0x1,%esi
mov    $0x2,%edx
xor    %ecx,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x2,%edx
xor    %ecx,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
mov    $0x1,%esi
mov    $0x2,%edx
mov    $0x1,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x2,%edx
mov    $0x1,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
mov    $0x1,%esi
mov    $0x2,%edx
mov    $0x2,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x2,%edx
mov    $0x2,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
mov    $0x1,%esi
mov    $0x3,%edx
xor    %ecx,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x3,%edx
xor    %ecx,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
mov    $0x1,%esi
mov    $0x3,%edx
mov    $0x1,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x3,%edx
mov    $0x1,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
mov    $0x1,%esi
mov    $0x3,%edx
mov    $0x2,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x3,%edx
mov    $0x2,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
mov    $0x1,%esi
mov    $0x3,%edx
mov    $0x3,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x3,%edx
mov    $0x3,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
mov    $0x1,%esi
mov    $0x4,%edx
xor    %ecx,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x4,%edx
xor    %ecx,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
mov    $0x1,%esi
mov    $0x4,%edx
mov    $0x1,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x4,%edx
mov    $0x1,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
mov    $0x1,%esi
mov    $0x4,%edx
mov    $0x2,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x4,%edx
mov    $0x2,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
mov    $0x1,%esi
mov    $0x4,%edx
mov    $0x3,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x4,%edx
mov    $0x3,%ecx
call   1050 <printf@plt>
mov    $0x4,%edi
mov    $0x1,%esi
mov    $0x4,%edx
mov    $0x4,%ecx
mov    %rbx,%r8
call   1030 <get_weight@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x4,%edx
mov    $0x4,%ecx
call   1050 <printf@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [56 x i8] c"valor del coeficiente para m= %d n = %d y v = %d es %f\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca float*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i8*
%15 = alloca i64
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 1, i32* %12
store i32 4, i32* %13
%16 = load i32, i32* %13
%17 = add nsw i32 %16, 1
%18 = zext i32 %17 to i64
%19 = call i8* @llvm.stacksave()
store i8* %19, i8** %14
%20 = alloca i32, i64 %18
store i64 %18, i64* %15
%21 = load i32, i32* %12
%22 = add nsw i32 %21, 1
%23 = load i32, i32* %13
%24 = add nsw i32 %23, 1
%25 = mul nsw i32 %22, %24
%26 = load i32, i32* %13
%27 = add nsw i32 %26, 1
%28 = mul nsw i32 %25, %27
%29 = sext i32 %28 to i64
%30 = mul i64 %29, 4
%31 = trunc i64 %30 to i32
%32 = call i64 @malloc(i32 %31)
%33 = inttoptr i64 %32 to float*
store float* %33, float** %6
store i32 0, i32* %7
br label %34
34: ; preds = %43, %2
%35 = load i32, i32* %7
%36 = load i32, i32* %13
%37 = icmp sle i32 %35, %36
br i1 %37, label %38, label %46
38: ; preds = %34
%39 = load i32, i32* %7
%40 = load i32, i32* %7
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, i32* %20, i64 %41
store i32 %39, i32* %42
br label %43
43: ; preds = %38
%44 = load i32, i32* %7
%45 = add nsw i32 %44, 1
store i32 %45, i32* %7
br label %34
46: ; preds = %34
%47 = load i32, i32* %12
%48 = load i32, i32* %13
%49 = load float*, float** %6
%50 = call i32 @fornberg_weights(i32 %47, i32 %48, i32* %20, float* %49)
store i32 0, i32* %9
br label %51
51: ; preds = %87, %46
%52 = load i32, i32* %9
%53 = load i32, i32* %12
%54 = add nsw i32 %53, 1
%55 = icmp slt i32 %52, %54
br i1 %55, label %56, label %90
56: ; preds = %51
%57 = load i32, i32* %9
store i32 %57, i32* %10
br label %58
58: ; preds = %83, %56
%59 = load i32, i32* %10
%60 = load i32, i32* %13
%61 = add nsw i32 %60, 1
%62 = icmp slt i32 %59, %61
br i1 %62, label %63, label %86
63: ; preds = %58
store i32 0, i32* %11
br label %64
64: ; preds = %79, %63
%65 = load i32, i32* %11
%66 = load i32, i32* %10
%67 = icmp sle i32 %65, %66
br i1 %67, label %68, label %82
68: ; preds = %64
%69 = load i32, i32* %9
%70 = load i32, i32* %10
%71 = load i32, i32* %11
%72 = load i32, i32* %13
%73 = load i32, i32* %9
%74 = load i32, i32* %10
%75 = load i32, i32* %11
%76 = load float*, float** %6
%77 = call double @get_weight(i32 %72, i32 %73, i32 %74, i32 %75, float* %76)
%78 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 %69, i32 %70, i32 %71, double %77)
br label %79
79: ; preds = %68
%80 = load i32, i32* %11
%81 = add nsw i32 %80, 1
store i32 %81, i32* %11
br label %64
82: ; preds = %64
br label %83
83: ; preds = %82
%84 = load i32, i32* %10
%85 = add nsw i32 %84, 1
store i32 %85, i32* %10
br label %58
86: ; preds = %58
br label %87
87: ; preds = %86
%88 = load i32, i32* %9
%89 = add nsw i32 %88, 1
store i32 %89, i32* %9
br label %51
90: ; preds = %51
store i32 0, i32* %3
%91 = load i8*, i8** %14
%92 = load i32, i32* %3
ret i32 %92
}

LLVM IR (-O2):
@.str = [56 x i8] c"valor del coeficiente para m= %d n = %d y v = %d es %f\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [5 x i32]
%4 = tail call i64 @malloc(i32 200)
%5 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 0
%6 = bitcast [5 x i32]* %3 to <4 x i32>*
store <4 x i32> <i32 0, i32 1, i32 2, i32 3>, <4 x i32>* %6
%7 = getelementptr inbounds [5 x i32], [5 x i32]* %3, i64 0, i64 4
store i32 4, i32* %7
%8 = inttoptr i64 %4 to float*
%9 = call i32 @fornberg_weights(i32 1, i32 4, i32* %5, float* %8)
%10 = call double @get_weight(i32 4, i32 0, i32 0, i32 0, float* %8)
%11 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 0, i32 0, i32 0, double %10)
%12 = call double @get_weight(i32 4, i32 0, i32 1, i32 0, float* %8)
%13 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 0, i32 1, i32 0, double %12)
%14 = call double @get_weight(i32 4, i32 0, i32 1, i32 1, float* %8)
%15 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 0, i32 1, i32 1, double %14)
%16 = call double @get_weight(i32 4, i32 0, i32 2, i32 0, float* %8)
%17 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 0, i32 2, i32 0, double %16)
%18 = call double @get_weight(i32 4, i32 0, i32 2, i32 1, float* %8)
%19 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 0, i32 2, i32 1, double %18)
%20 = call double @get_weight(i32 4, i32 0, i32 2, i32 2, float* %8)
%21 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 0, i32 2, i32 2, double %20)
%22 = call double @get_weight(i32 4, i32 0, i32 3, i32 0, float* %8)
%23 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 0, i32 3, i32 0, double %22)
%24 = call double @get_weight(i32 4, i32 0, i32 3, i32 1, float* %8)
%25 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 0, i32 3, i32 1, double %24)
%26 = call double @get_weight(i32 4, i32 0, i32 3, i32 2, float* %8)
%27 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 0, i32 3, i32 2, double %26)
%28 = call double @get_weight(i32 4, i32 0, i32 3, i32 3, float* %8)
%29 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 0, i32 3, i32 3, double %28)
%30 = call double @get_weight(i32 4, i32 0, i32 4, i32 0, float* %8)
%31 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 0, i32 4, i32 0, double %30)
%32 = call double @get_weight(i32 4, i32 0, i32 4, i32 1, float* %8)
%33 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 0, i32 4, i32 1, double %32)
%34 = call double @get_weight(i32 4, i32 0, i32 4, i32 2, float* %8)
%35 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 0, i32 4, i32 2, double %34)
%36 = call double @get_weight(i32 4, i32 0, i32 4, i32 3, float* %8)
%37 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 0, i32 4, i32 3, double %36)
%38 = call double @get_weight(i32 4, i32 0, i32 4, i32 4, float* %8)
%39 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 0, i32 4, i32 4, double %38)
%40 = call double @get_weight(i32 4, i32 1, i32 1, i32 0, float* %8)
%41 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 1, i32 1, i32 0, double %40)
%42 = call double @get_weight(i32 4, i32 1, i32 1, i32 1, float* %8)
%43 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 1, i32 1, i32 1, double %42)
%44 = call double @get_weight(i32 4, i32 1, i32 2, i32 0, float* %8)
%45 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 1, i32 2, i32 0, double %44)
%46 = call double @get_weight(i32 4, i32 1, i32 2, i32 1, float* %8)
%47 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 1, i32 2, i32 1, double %46)
%48 = call double @get_weight(i32 4, i32 1, i32 2, i32 2, float* %8)
%49 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 1, i32 2, i32 2, double %48)
%50 = call double @get_weight(i32 4, i32 1, i32 3, i32 0, float* %8)
%51 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 1, i32 3, i32 0, double %50)
%52 = call double @get_weight(i32 4, i32 1, i32 3, i32 1, float* %8)
%53 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 1, i32 3, i32 1, double %52)
%54 = call double @get_weight(i32 4, i32 1, i32 3, i32 2, float* %8)
%55 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 1, i32 3, i32 2, double %54)
%56 = call double @get_weight(i32 4, i32 1, i32 3, i32 3, float* %8)
%57 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 1, i32 3, i32 3, double %56)
%58 = call double @get_weight(i32 4, i32 1, i32 4, i32 0, float* %8)
%59 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 1, i32 4, i32 0, double %58)
%60 = call double @get_weight(i32 4, i32 1, i32 4, i32 1, float* %8)
%61 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 1, i32 4, i32 1, double %60)
%62 = call double @get_weight(i32 4, i32 1, i32 4, i32 2, float* %8)
%63 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 1, i32 4, i32 2, double %62)
%64 = call double @get_weight(i32 4, i32 1, i32 4, i32 3, float* %8)
%65 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 1, i32 4, i32 3, double %64)
%66 = call double @get_weight(i32 4, i32 1, i32 4, i32 4, float* %8)
%67 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str, i64 0, i64 0), i32 1, i32 4, i32 4, double %66)
ret i32 0
}