#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 */
typedef int uint32_t;

/* Variables and functions */
int /*<<< orphan*/ f2m_calculateInverse(int, int *, int *, int *);
int /*<<< orphan*/ f2m_mult(int, int *, int *, int *);
int /*<<< orphan*/ init_zero(int, int *);
int /*<<< orphan*/ printf(char *);
void testInvers() {
  printf("Testing inverting\n");
  printf("Test0\n");
  uint32_t irred0[1] = {0x7};
  uint32_t input0[1] = {0x3};
  uint32_t invers0[1];
  f2m_calculateInverse(1, input0, irred0, invers0);
  uint32_t result0[1];
  init_zero(1, result0);
  f2m_mult(1, input0, invers0, result0);
  printf("Test1\n");
  uint32_t irred1[6] = {0xC9, 0x0, 0x0, 0x0, 0x0, 0x8};
  uint32_t input1[6] = {0x10116, 0x1, 0x0, 0x10000, 0x0, 0x0};
  uint32_t invers1[6];
  f2m_calculateInverse(6, input1, irred1, invers1);
  uint32_t result1[12];
  init_zero(12, result1);
  f2m_mult(6, input1, invers1, result1);
  printf("Test2\n");
  uint32_t irred2[9] = {0x10A1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8000000};
  uint32_t input2[9] = {0x6CA670CF, 0x1, 0x0, 0x10000, 0x0,
                        0x80000000, 0x0, 0x0, 0x0};
  uint32_t invers2[9];
  f2m_calculateInverse(9, input2, irred2, invers2);
  uint32_t result2[18];
  init_zero(18, result1);
  f2m_mult(18, input2, invers2, result2);
  printf("Test3\n");
  uint32_t irred3[13] = {0x1, 0x0, 0x800000, 0x0, 0x0, 0x0,      0x0,
                         0x0, 0x0, 0x0,      0x0, 0x0, 0x2000000};
  uint32_t input3[13] = {0x15005055, 0x14504414, 0x1, 0x0, 0x0,        0x0, 0x0,
                         0x1,        0x0,        0x0, 0x0, 0x40000000, 0x0};
  uint32_t invers3[13];
  f2m_calculateInverse(13, input3, irred3, invers3);
  uint32_t result3[26];
  init_zero(26, result3);
  f2m_mult(13, input3, invers3, result3);
  printf("Tests passed\n");
}


x86 assembly (clang, -O0):
<testInvers>:
push   %rbp
mov    %rsp,%rbp
sub    $0x2b0,%rsp
lea    0xe9e(%rip),%rdi
call   1040 <printf@plt>
lea    0xea5(%rip),%rdi
call   1040 <printf@plt>
mov    0xec7(%rip),%eax
mov    %eax,-0x4(%rbp)
mov    0xec2(%rip),%eax
mov    %eax,-0x8(%rbp)
lea    -0x8(%rbp),%rsi
lea    -0x4(%rbp),%rdx
lea    -0xc(%rbp),%rcx
mov    $0x1,%edi
call   1030 <f2m_calculateInverse@plt>
lea    -0x10(%rbp),%rsi
mov    $0x1,%edi
call   1060 <init_zero@plt>
lea    -0x8(%rbp),%rsi
lea    -0xc(%rbp),%rdx
lea    -0x10(%rbp),%rcx
mov    $0x1,%edi
call   1070 <f2m_mult@plt>
lea    0xe54(%rip),%rdi
call   1040 <printf@plt>
mov    0xe7e(%rip),%rax
mov    %rax,-0x30(%rbp)
mov    0xe7b(%rip),%rax
mov    %rax,-0x28(%rbp)
mov    0xe78(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    0xe7d(%rip),%rax
mov    %rax,-0x50(%rbp)
mov    0xe7a(%rip),%rax
mov    %rax,-0x48(%rbp)
mov    0xe77(%rip),%rax
mov    %rax,-0x40(%rbp)
lea    -0x50(%rbp),%rsi
lea    -0x30(%rbp),%rdx
lea    -0x70(%rbp),%rcx
mov    $0x6,%edi
call   1030 <f2m_calculateInverse@plt>
lea    -0xa0(%rbp),%rsi
mov    $0xc,%edi
call   1060 <init_zero@plt>
lea    -0x50(%rbp),%rsi
lea    -0x70(%rbp),%rdx
lea    -0xa0(%rbp),%rcx
mov    $0x6,%edi
call   1070 <f2m_mult@plt>
lea    0xdcd(%rip),%rdi
call   1040 <printf@plt>
lea    -0xd0(%rbp),%rdi
xor    %esi,%esi
mov    $0x24,%edx
call   1050 <memset@plt>
movl   $0x10a1,-0xd0(%rbp)
movl   $0x8000000,-0xb0(%rbp)
lea    -0x100(%rbp),%rdi
xor    %esi,%esi
mov    $0x24,%edx
call   1050 <memset@plt>
movl   $0x6ca670cf,-0x100(%rbp)
70 a6 6c
movl   $0x1,-0xfc(%rbp)
movl   $0x10000,-0xf4(%rbp)
movl   $0x80000000,-0xec(%rbp)
lea    -0x100(%rbp),%rsi
lea    -0xd0(%rbp),%rdx
lea    -0x130(%rbp),%rcx
mov    $0x9,%edi
call   1030 <f2m_calculateInverse@plt>
lea    -0xa0(%rbp),%rsi
mov    $0x12,%edi
call   1060 <init_zero@plt>
lea    -0x100(%rbp),%rsi
lea    -0x130(%rbp),%rdx
lea    -0x180(%rbp),%rcx
mov    $0x12,%edi
call   1070 <f2m_mult@plt>
lea    0xd17(%rip),%rdi
call   1040 <printf@plt>
lea    -0x1c0(%rbp),%rdi
xor    %esi,%esi
mov    $0x34,%edx
call   1050 <memset@plt>
movl   $0x1,-0x1c0(%rbp)
movl   $0x800000,-0x1b8(%rbp)
movl   $0x2000000,-0x190(%rbp)
lea    -0x200(%rbp),%rdi
xor    %esi,%esi
mov    $0x34,%edx
call   1050 <memset@plt>
movl   $0x15005055,-0x200(%rbp)
movl   $0x14504414,-0x1fc(%rbp)
44 50 14
movl   $0x1,-0x1f8(%rbp)
movl   $0x1,-0x1e4(%rbp)
movl   $0x40000000,-0x1d4(%rbp)
lea    -0x200(%rbp),%rsi
lea    -0x1c0(%rbp),%rdx
lea    -0x240(%rbp),%rcx
mov    $0xd,%edi
call   1030 <f2m_calculateInverse@plt>
lea    -0x2b0(%rbp),%rsi
mov    $0x1a,%edi
call   1060 <init_zero@plt>
lea    -0x200(%rbp),%rsi
lea    -0x240(%rbp),%rdx
lea    -0x2b0(%rbp),%rcx
mov    $0xd,%edi
call   1070 <f2m_mult@plt>
lea    0xc4d(%rip),%rdi
call   1040 <printf@plt>
add    $0x2b0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<testInvers>:
push   %r15
push   %r14
push   %rbx
sub    $0x2b0,%rsp
lea    0xee5(%rip),%rdi
call   1040 <puts@plt>
lea    0xeeb(%rip),%rdi
call   1040 <puts@plt>
movl   $0x7,0x4(%rsp)
movl   $0x3,(%rsp)
mov    %rsp,%r14
lea    0x4(%rsp),%rdx
lea    0xc(%rsp),%r15
mov    $0x1,%edi
mov    %r14,%rsi
mov    %r15,%rcx
call   1030 <f2m_calculateInverse@plt>
lea    0x8(%rsp),%rbx
mov    $0x1,%edi
mov    %rbx,%rsi
call   1050 <init_zero@plt>
mov    $0x1,%edi
mov    %r14,%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
call   1060 <f2m_mult@plt>
lea    0xe94(%rip),%rdi
call   1040 <puts@plt>
mov    0xe48(%rip),%rax
mov    %rax,0x120(%rsp)
movaps 0xe29(%rip),%xmm0
movaps %xmm0,0x110(%rsp)
mov    0xe4a(%rip),%rax
mov    %rax,0x100(%rsp)
movaps 0xe2b(%rip),%xmm0
movaps %xmm0,0xf0(%rsp)
lea    0xf0(%rsp),%r15
lea    0x110(%rsp),%rdx
lea    0x130(%rsp),%rbx
mov    $0x6,%edi
mov    %r15,%rsi
mov    %rbx,%rcx
call   1030 <f2m_calculateInverse@plt>
lea    0x180(%rsp),%r14
mov    $0xc,%edi
mov    %r14,%rsi
call   1050 <init_zero@plt>
mov    $0x6,%edi
mov    %r15,%rsi
mov    %rbx,%rdx
mov    %r14,%rcx
call   1060 <f2m_mult@plt>
lea    0xe02(%rip),%rdi
call   1040 <puts@plt>
xorps  %xmm0,%xmm0
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x90(%rsp)
movl   $0x10a1,0x80(%rsp)
movl   $0x8000000,0xa0(%rsp)
movaps %xmm0,0x10(%rsp)
movaps %xmm0,0x20(%rsp)
movl   $0x0,0x30(%rsp)
movabs $0x16ca670cf,%rax
mov    %rax,0x10(%rsp)
movl   $0x10000,0x1c(%rsp)
movl   $0x80000000,0x24(%rsp)
80
lea    0x10(%rsp),%r15
lea    0x80(%rsp),%rdx
lea    0x150(%rsp),%rbx
mov    $0x9,%edi
mov    %r15,%rsi
mov    %rbx,%rcx
call   1030 <f2m_calculateInverse@plt>
mov    $0x12,%edi
mov    %r14,%rsi
call   1050 <init_zero@plt>
lea    0x1f0(%rsp),%rcx
mov    $0x12,%edi
mov    %r15,%rsi
mov    %rbx,%rdx
call   1060 <f2m_mult@plt>
lea    0xd58(%rip),%rdi
call   1040 <puts@plt>
xorps  %xmm0,%xmm0
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xd0(%rsp)
movaps %xmm0,0xc0(%rsp)
movl   $0x1,0xb0(%rsp)
movl   $0x800000,0xb8(%rsp)
movl   $0x2000000,0xe0(%rsp)
movaps %xmm0,0x40(%rsp)
movaps %xmm0,0x50(%rsp)
movaps %xmm0,0x60(%rsp)
movl   $0x0,0x70(%rsp)
movabs $0x1450441415005055,%rax
44 50 14
mov    %rax,0x40(%rsp)
movl   $0x1,0x48(%rsp)
movl   $0x1,0x5c(%rsp)
movl   $0x40000000,0x6c(%rsp)
40
lea    0x40(%rsp),%r14
lea    0xb0(%rsp),%rdx
lea    0x1b0(%rsp),%r15
mov    $0xd,%edi
mov    %r14,%rsi
mov    %r15,%rcx
call   1030 <f2m_calculateInverse@plt>
lea    0x240(%rsp),%rbx
mov    $0x1a,%edi
mov    %rbx,%rsi
call   1050 <init_zero@plt>
mov    $0xd,%edi
mov    %r14,%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
call   1060 <f2m_mult@plt>
lea    0xc8b(%rip),%rdi
call   1040 <puts@plt>
add    $0x2b0,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [19 x i8] c"Testing inverting\0A\00"
@.str.1 = [7 x i8] c"Test0\0A\00"
@__const.testInvers.irred0 = [1 x i32] [i32 7]
@__const.testInvers.input0 = [1 x i32] [i32 3]
@.str.2 = [7 x i8] c"Test1\0A\00"
@__const.testInvers.irred1 = [6 x i32] [i32 201, i32 0, i32 0, i32 0, i32 0, i32 8]
@__const.testInvers.input1 = [6 x i32] [i32 65814, i32 1, i32 0, i32 65536, i32 0, i32 0]
@.str.3 = [7 x i8] c"Test2\0A\00"
@.str.4 = [7 x i8] c"Test3\0A\00"
@.str.5 = [14 x i8] c"Tests passed\0A\00"
define void @testInvers() {
%1 = alloca [1 x i32]
%2 = alloca [1 x i32]
%3 = alloca [1 x i32]
%4 = alloca [1 x i32]
%5 = alloca [6 x i32]
%6 = alloca [6 x i32]
%7 = alloca [6 x i32]
%8 = alloca [12 x i32]
%9 = alloca [9 x i32]
%10 = alloca [9 x i32]
%11 = alloca [9 x i32]
%12 = alloca [18 x i32]
%13 = alloca [13 x i32]
%14 = alloca [13 x i32]
%15 = alloca [13 x i32]
%16 = alloca [26 x i32]
%17 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%19 = bitcast [1 x i32]* %1 to i8*
%20 = bitcast [1 x i32]* %2 to i8*
%21 = getelementptr inbounds [1 x i32], [1 x i32]* %2, i64 0, i64 0
%22 = getelementptr inbounds [1 x i32], [1 x i32]* %1, i64 0, i64 0
%23 = getelementptr inbounds [1 x i32], [1 x i32]* %3, i64 0, i64 0
%24 = call i32 @f2m_calculateInverse(i32 1, i32* %21, i32* %22, i32* %23)
%25 = getelementptr inbounds [1 x i32], [1 x i32]* %4, i64 0, i64 0
%26 = call i32 @init_zero(i32 1, i32* %25)
%27 = getelementptr inbounds [1 x i32], [1 x i32]* %2, i64 0, i64 0
%28 = getelementptr inbounds [1 x i32], [1 x i32]* %3, i64 0, i64 0
%29 = getelementptr inbounds [1 x i32], [1 x i32]* %4, i64 0, i64 0
%30 = call i32 @f2m_mult(i32 1, i32* %27, i32* %28, i32* %29)
%31 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%32 = bitcast [6 x i32]* %5 to i8*
%33 = bitcast [6 x i32]* %6 to i8*
%34 = getelementptr inbounds [6 x i32], [6 x i32]* %6, i64 0, i64 0
%35 = getelementptr inbounds [6 x i32], [6 x i32]* %5, i64 0, i64 0
%36 = getelementptr inbounds [6 x i32], [6 x i32]* %7, i64 0, i64 0
%37 = call i32 @f2m_calculateInverse(i32 6, i32* %34, i32* %35, i32* %36)
%38 = getelementptr inbounds [12 x i32], [12 x i32]* %8, i64 0, i64 0
%39 = call i32 @init_zero(i32 12, i32* %38)
%40 = getelementptr inbounds [6 x i32], [6 x i32]* %6, i64 0, i64 0
%41 = getelementptr inbounds [6 x i32], [6 x i32]* %7, i64 0, i64 0
%42 = getelementptr inbounds [12 x i32], [12 x i32]* %8, i64 0, i64 0
%43 = call i32 @f2m_mult(i32 6, i32* %40, i32* %41, i32* %42)
%44 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0))
%45 = bitcast [9 x i32]* %9 to i8*
%46 = bitcast i8* %45 to [9 x i32]*
%47 = getelementptr inbounds [9 x i32], [9 x i32]* %46, i32 0, i32 0
store i32 4257, i32* %47
%48 = getelementptr inbounds [9 x i32], [9 x i32]* %46, i32 0, i32 8
store i32 134217728, i32* %48
%49 = bitcast [9 x i32]* %10 to i8*
%50 = bitcast i8* %49 to [9 x i32]*
%51 = getelementptr inbounds [9 x i32], [9 x i32]* %50, i32 0, i32 0
store i32 1822847183, i32* %51
%52 = getelementptr inbounds [9 x i32], [9 x i32]* %50, i32 0, i32 1
store i32 1, i32* %52
%53 = getelementptr inbounds [9 x i32], [9 x i32]* %50, i32 0, i32 3
store i32 65536, i32* %53
%54 = getelementptr inbounds [9 x i32], [9 x i32]* %50, i32 0, i32 5
store i32 -2147483648, i32* %54
%55 = getelementptr inbounds [9 x i32], [9 x i32]* %10, i64 0, i64 0
%56 = getelementptr inbounds [9 x i32], [9 x i32]* %9, i64 0, i64 0
%57 = getelementptr inbounds [9 x i32], [9 x i32]* %11, i64 0, i64 0
%58 = call i32 @f2m_calculateInverse(i32 9, i32* %55, i32* %56, i32* %57)
%59 = getelementptr inbounds [12 x i32], [12 x i32]* %8, i64 0, i64 0
%60 = call i32 @init_zero(i32 18, i32* %59)
%61 = getelementptr inbounds [9 x i32], [9 x i32]* %10, i64 0, i64 0
%62 = getelementptr inbounds [9 x i32], [9 x i32]* %11, i64 0, i64 0
%63 = getelementptr inbounds [18 x i32], [18 x i32]* %12, i64 0, i64 0
%64 = call i32 @f2m_mult(i32 18, i32* %61, i32* %62, i32* %63)
%65 = call i32 @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0))
%66 = bitcast [13 x i32]* %13 to i8*
%67 = bitcast i8* %66 to [13 x i32]*
%68 = getelementptr inbounds [13 x i32], [13 x i32]* %67, i32 0, i32 0
store i32 1, i32* %68
%69 = getelementptr inbounds [13 x i32], [13 x i32]* %67, i32 0, i32 2
store i32 8388608, i32* %69
%70 = getelementptr inbounds [13 x i32], [13 x i32]* %67, i32 0, i32 12
store i32 33554432, i32* %70
%71 = bitcast [13 x i32]* %14 to i8*
%72 = bitcast i8* %71 to [13 x i32]*
%73 = getelementptr inbounds [13 x i32], [13 x i32]* %72, i32 0, i32 0
store i32 352342101, i32* %73
%74 = getelementptr inbounds [13 x i32], [13 x i32]* %72, i32 0, i32 1
store i32 340804628, i32* %74
%75 = getelementptr inbounds [13 x i32], [13 x i32]* %72, i32 0, i32 2
store i32 1, i32* %75
%76 = getelementptr inbounds [13 x i32], [13 x i32]* %72, i32 0, i32 7
store i32 1, i32* %76
%77 = getelementptr inbounds [13 x i32], [13 x i32]* %72, i32 0, i32 11
store i32 1073741824, i32* %77
%78 = getelementptr inbounds [13 x i32], [13 x i32]* %14, i64 0, i64 0
%79 = getelementptr inbounds [13 x i32], [13 x i32]* %13, i64 0, i64 0
%80 = getelementptr inbounds [13 x i32], [13 x i32]* %15, i64 0, i64 0
%81 = call i32 @f2m_calculateInverse(i32 13, i32* %78, i32* %79, i32* %80)
%82 = getelementptr inbounds [26 x i32], [26 x i32]* %16, i64 0, i64 0
%83 = call i32 @init_zero(i32 26, i32* %82)
%84 = getelementptr inbounds [13 x i32], [13 x i32]* %14, i64 0, i64 0
%85 = getelementptr inbounds [13 x i32], [13 x i32]* %15, i64 0, i64 0
%86 = getelementptr inbounds [26 x i32], [26 x i32]* %16, i64 0, i64 0
%87 = call i32 @f2m_mult(i32 13, i32* %84, i32* %85, i32* %86)
%88 = call i32 @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.5, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@__const.testInvers.irred1 = [6 x i32] [i32 201, i32 0, i32 0, i32 0, i32 0, i32 8]
@__const.testInvers.input1 = [6 x i32] [i32 65814, i32 1, i32 0, i32 65536, i32 0, i32 0]
@str = [18 x i8] c"Testing inverting\00"
@str.6 = [6 x i8] c"Test0\00"
@str.7 = [6 x i8] c"Test1\00"
@str.8 = [6 x i8] c"Test2\00"
@str.9 = [6 x i8] c"Test3\00"
@str.10 = [13 x i8] c"Tests passed\00"
define void @testInvers() {
%1 = alloca [1 x i32]
%2 = alloca [1 x i32]
%3 = alloca [1 x i32]
%4 = alloca [1 x i32]
%5 = alloca [6 x i32]
%6 = alloca [6 x i32]
%7 = alloca [6 x i32]
%8 = alloca [12 x i32]
%9 = alloca [9 x i32]
%10 = alloca [9 x i32]
%11 = alloca [9 x i32]
%12 = alloca [18 x i32]
%13 = alloca [13 x i32]
%14 = alloca [13 x i32]
%15 = alloca [13 x i32]
%16 = alloca [26 x i32]
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.6, i64 0, i64 0))
%19 = bitcast [1 x i32]* %1 to i8*
%20 = getelementptr inbounds [1 x i32], [1 x i32]* %1, i64 0, i64 0
store i32 7, i32* %20
%21 = bitcast [1 x i32]* %2 to i8*
%22 = getelementptr inbounds [1 x i32], [1 x i32]* %2, i64 0, i64 0
store i32 3, i32* %22
%23 = bitcast [1 x i32]* %3 to i8*
%24 = getelementptr inbounds [1 x i32], [1 x i32]* %3, i64 0, i64 0
%25 = call i32 @f2m_calculateInverse(i32 1, i32* %22, i32* %20, i32* %24)
%26 = bitcast [1 x i32]* %4 to i8*
%27 = getelementptr inbounds [1 x i32], [1 x i32]* %4, i64 0, i64 0
%28 = call i32 @init_zero(i32 1, i32* %27)
%29 = call i32 @f2m_mult(i32 1, i32* %22, i32* %24, i32* %27)
%30 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.7, i64 0, i64 0))
%31 = bitcast [6 x i32]* %5 to i8*
%32 = bitcast [6 x i32]* %6 to i8*
%33 = bitcast [6 x i32]* %7 to i8*
%34 = getelementptr inbounds [6 x i32], [6 x i32]* %6, i64 0, i64 0
%35 = getelementptr inbounds [6 x i32], [6 x i32]* %5, i64 0, i64 0
%36 = getelementptr inbounds [6 x i32], [6 x i32]* %7, i64 0, i64 0
%37 = call i32 @f2m_calculateInverse(i32 6, i32* %34, i32* %35, i32* %36)
%38 = bitcast [12 x i32]* %8 to i8*
%39 = getelementptr inbounds [12 x i32], [12 x i32]* %8, i64 0, i64 0
%40 = call i32 @init_zero(i32 12, i32* %39)
%41 = call i32 @f2m_mult(i32 6, i32* %34, i32* %36, i32* %39)
%42 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.8, i64 0, i64 0))
%43 = bitcast [9 x i32]* %9 to i8*
%44 = getelementptr inbounds [9 x i32], [9 x i32]* %9, i64 0, i64 0
store i32 4257, i32* %44
%45 = getelementptr inbounds [9 x i32], [9 x i32]* %9, i64 0, i64 8
store i32 134217728, i32* %45
%46 = bitcast [9 x i32]* %10 to i8*
%47 = getelementptr inbounds [9 x i32], [9 x i32]* %10, i64 0, i64 0
store i32 1822847183, i32* %47
%48 = getelementptr inbounds [9 x i32], [9 x i32]* %10, i64 0, i64 1
store i32 1, i32* %48
%49 = getelementptr inbounds [9 x i32], [9 x i32]* %10, i64 0, i64 3
store i32 65536, i32* %49
%50 = getelementptr inbounds [9 x i32], [9 x i32]* %10, i64 0, i64 5
store i32 -2147483648, i32* %50
%51 = bitcast [9 x i32]* %11 to i8*
%52 = getelementptr inbounds [9 x i32], [9 x i32]* %11, i64 0, i64 0
%53 = call i32 @f2m_calculateInverse(i32 9, i32* %47, i32* %44, i32* %52)
%54 = bitcast [18 x i32]* %12 to i8*
%55 = call i32 @init_zero(i32 18, i32* %39)
%56 = getelementptr inbounds [18 x i32], [18 x i32]* %12, i64 0, i64 0
%57 = call i32 @f2m_mult(i32 18, i32* %47, i32* %52, i32* %56)
%58 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.9, i64 0, i64 0))
%59 = bitcast [13 x i32]* %13 to i8*
%60 = getelementptr inbounds [13 x i32], [13 x i32]* %13, i64 0, i64 0
store i32 1, i32* %60
%61 = getelementptr inbounds [13 x i32], [13 x i32]* %13, i64 0, i64 2
store i32 8388608, i32* %61
%62 = getelementptr inbounds [13 x i32], [13 x i32]* %13, i64 0, i64 12
store i32 33554432, i32* %62
%63 = bitcast [13 x i32]* %14 to i8*
%64 = getelementptr inbounds [13 x i32], [13 x i32]* %14, i64 0, i64 0
store i32 352342101, i32* %64
%65 = getelementptr inbounds [13 x i32], [13 x i32]* %14, i64 0, i64 1
store i32 340804628, i32* %65
%66 = getelementptr inbounds [13 x i32], [13 x i32]* %14, i64 0, i64 2
store i32 1, i32* %66
%67 = getelementptr inbounds [13 x i32], [13 x i32]* %14, i64 0, i64 7
store i32 1, i32* %67
%68 = getelementptr inbounds [13 x i32], [13 x i32]* %14, i64 0, i64 11
store i32 1073741824, i32* %68
%69 = bitcast [13 x i32]* %15 to i8*
%70 = getelementptr inbounds [13 x i32], [13 x i32]* %15, i64 0, i64 0
%71 = call i32 @f2m_calculateInverse(i32 13, i32* %64, i32* %60, i32* %70)
%72 = bitcast [26 x i32]* %16 to i8*
%73 = getelementptr inbounds [26 x i32], [26 x i32]* %16, i64 0, i64 0
%74 = call i32 @init_zero(i32 26, i32* %73)
%75 = call i32 @f2m_mult(i32 13, i32* %64, i32* %70, i32* %73)
%76 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @str.10, i64 0, i64 0))
ret void
}