#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*/ multimerge(long **, int *, int, long *);
int /*<<< orphan*/ printf(char *, long);
int main() {
  int i = 0;
  long int test1[5] = {23, 24, 25, 33, 51};
  long int test2[5] = {21, 34, 44, 50, 62};
  long int test3[5] = {34, 36, 41, 44, 46};
  long int test4[5] = {30, 31, 32, 35, 40};
  long int test5[5] = {54, 56, 57, 58, 60};
  long int test6[5] = {31, 33, 36, 51, 52};
  long int test7[5] = {44, 46, 76, 78, 79};
  long int test8[5] = {23, 33, 43, 54, 63};
  long int *test[] = {test1, test2, test3, test4, test5, test6, test7, test8};
  int testsizes[] = {5, 5, 5, 5, 5, 5, 5, 5};
  long int output[40];
  multimerge(test, testsizes, 8, output);
  while (i < 30) {
    printf("%ld\n", output[i++]);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x320,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
lea    -0x30(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1040 <memset@plt>
movq   $0x17,-0x30(%rbp)
movq   $0x18,-0x28(%rbp)
movq   $0x19,-0x20(%rbp)
movq   $0x21,-0x18(%rbp)
movq   $0x33,-0x10(%rbp)
lea    -0x60(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1040 <memset@plt>
movq   $0x15,-0x60(%rbp)
movq   $0x22,-0x58(%rbp)
movq   $0x2c,-0x50(%rbp)
movq   $0x32,-0x48(%rbp)
movq   $0x3e,-0x40(%rbp)
lea    -0x90(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1040 <memset@plt>
movq   $0x22,-0x90(%rbp)
movq   $0x24,-0x88(%rbp)
movq   $0x29,-0x80(%rbp)
movq   $0x2c,-0x78(%rbp)
movq   $0x2e,-0x70(%rbp)
lea    -0xc0(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1040 <memset@plt>
movq   $0x1e,-0xc0(%rbp)
movq   $0x1f,-0xb8(%rbp)
movq   $0x20,-0xb0(%rbp)
movq   $0x23,-0xa8(%rbp)
movq   $0x28,-0xa0(%rbp)
lea    -0xf0(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1040 <memset@plt>
movq   $0x36,-0xf0(%rbp)
movq   $0x38,-0xe8(%rbp)
movq   $0x39,-0xe0(%rbp)
movq   $0x3a,-0xd8(%rbp)
movq   $0x3c,-0xd0(%rbp)
lea    -0x120(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1040 <memset@plt>
movq   $0x1f,-0x120(%rbp)
movq   $0x21,-0x118(%rbp)
movq   $0x24,-0x110(%rbp)
movq   $0x33,-0x108(%rbp)
movq   $0x34,-0x100(%rbp)
lea    -0x150(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1040 <memset@plt>
movq   $0x2c,-0x150(%rbp)
movq   $0x2e,-0x148(%rbp)
movq   $0x4c,-0x140(%rbp)
movq   $0x4e,-0x138(%rbp)
movq   $0x4f,-0x130(%rbp)
lea    -0x180(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1040 <memset@plt>
movq   $0x17,-0x180(%rbp)
movq   $0x21,-0x178(%rbp)
movq   $0x2b,-0x170(%rbp)
movq   $0x36,-0x168(%rbp)
movq   $0x3f,-0x160(%rbp)
lea    -0x30(%rbp),%rax
mov    %rax,-0x1c0(%rbp)
lea    -0x60(%rbp),%rax
mov    %rax,-0x1b8(%rbp)
lea    -0x90(%rbp),%rax
mov    %rax,-0x1b0(%rbp)
lea    -0xc0(%rbp),%rax
mov    %rax,-0x1a8(%rbp)
lea    -0xf0(%rbp),%rax
mov    %rax,-0x1a0(%rbp)
lea    -0x120(%rbp),%rax
mov    %rax,-0x198(%rbp)
lea    -0x150(%rbp),%rax
mov    %rax,-0x190(%rbp)
lea    -0x180(%rbp),%rax
mov    %rax,-0x188(%rbp)
mov    0xc23(%rip),%rax
mov    %rax,-0x1e0(%rbp)
mov    0xc1d(%rip),%rax
mov    %rax,-0x1d8(%rbp)
mov    0xc17(%rip),%rax
mov    %rax,-0x1d0(%rbp)
mov    0xc11(%rip),%rax
mov    %rax,-0x1c8(%rbp)
lea    -0x1c0(%rbp),%rdi
lea    -0x1e0(%rbp),%rsi
lea    -0x320(%rbp),%rcx
mov    $0x8,%edx
call   1050 <multimerge@plt>
cmpl   $0x1e,-0x8(%rbp)
jge    145d <main+0x32d>
mov    -0x8(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0x8(%rbp)
cltq
mov    -0x320(%rbp,%rax,8),%rsi
ff
lea    0xbcd(%rip),%rdi
call   1030 <printf@plt>
jmp    142d <main+0x2fd>
xor    %eax,%eax
add    $0x320,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x328,%rsp
movaps 0xecf(%rip),%xmm0
movaps %xmm0,0x190(%rsp)
movaps 0xed0(%rip),%xmm0
movaps %xmm0,0x1a0(%rsp)
movq   $0x33,0x1b0(%rsp)
movaps 0xec5(%rip),%xmm0
movaps %xmm0,0x160(%rsp)
movaps 0xec6(%rip),%xmm0
movaps %xmm0,0x170(%rsp)
movq   $0x3e,0x180(%rsp)
movaps 0xebb(%rip),%xmm0
movaps %xmm0,0x130(%rsp)
movaps 0xebc(%rip),%xmm0
movaps %xmm0,0x140(%rsp)
movq   $0x2e,0x150(%rsp)
movaps 0xeb1(%rip),%xmm0
movaps %xmm0,0x100(%rsp)
movaps 0xeb2(%rip),%xmm0
movaps %xmm0,0x110(%rsp)
movq   $0x28,0x120(%rsp)
movaps 0xea7(%rip),%xmm0
movaps %xmm0,0xd0(%rsp)
movaps 0xea8(%rip),%xmm0
movaps %xmm0,0xe0(%rsp)
movq   $0x3c,0xf0(%rsp)
movaps 0xe9d(%rip),%xmm0
movaps %xmm0,0xa0(%rsp)
movaps 0xe9e(%rip),%xmm0
movaps %xmm0,0xb0(%rsp)
movq   $0x34,0xc0(%rsp)
movaps 0xe93(%rip),%xmm0
movaps %xmm0,0x70(%rsp)
movaps 0xe97(%rip),%xmm0
movaps %xmm0,0x80(%rsp)
movq   $0x4f,0x90(%rsp)
movaps 0xe8c(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0xe90(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movq   $0x3f,0x60(%rsp)
lea    0x190(%rsp),%rax
mov    %rax,(%rsp)
lea    0x160(%rsp),%rax
mov    %rax,0x8(%rsp)
lea    0x130(%rsp),%rax
mov    %rax,0x10(%rsp)
lea    0x100(%rsp),%rax
mov    %rax,0x18(%rsp)
lea    0xd0(%rsp),%rax
mov    %rax,0x20(%rsp)
lea    0xa0(%rsp),%rax
mov    %rax,0x28(%rsp)
lea    0x70(%rsp),%rax
mov    %rax,0x30(%rsp)
lea    0x40(%rsp),%rax
mov    %rax,0x38(%rsp)
movaps 0xe3a(%rip),%xmm0
movaps %xmm0,0x1d0(%rsp)
movaps 0xe1b(%rip),%xmm0
movaps %xmm0,0x1c0(%rsp)
mov    %rsp,%rdi
lea    0x1c0(%rsp),%rsi
lea    0x1e0(%rsp),%rcx
mov    $0x8,%edx
call   1040 <multimerge@plt>
xor    %ebx,%ebx
lea    0xe0d(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    0x1e0(%rsp,%rbx,8),%rsi
add    $0x1,%rbx
mov    %r14,%rdi
call   1030 <printf@plt>
cmp    $0x1e,%rbx
jne    1320 <main+0x200>
xor    %eax,%eax
add    $0x328,%rsp
pop    %rbx
pop    %r14
ret

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

LLVM IR (-O2):
@__const.main.testsizes = [8 x i32] [i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5]
@.str = [5 x i8] c"%ld\0A\00"
define i32 @main() {
%1 = alloca [5 x i64]
%2 = alloca [5 x i64]
%3 = alloca [5 x i64]
%4 = alloca [5 x i64]
%5 = alloca [5 x i64]
%6 = alloca [5 x i64]
%7 = alloca [5 x i64]
%8 = alloca [5 x i64]
%9 = alloca [8 x i64*]
%10 = alloca [8 x i32]
%11 = alloca [40 x i64]
%12 = bitcast [5 x i64]* %1 to i8*
%13 = getelementptr inbounds [5 x i64], [5 x i64]* %1, i64 0, i64 0
%14 = bitcast [5 x i64]* %1 to <2 x i64>*
store <2 x i64> <i64 23, i64 24>, <2 x i64>* %14
%15 = getelementptr inbounds [5 x i64], [5 x i64]* %1, i64 0, i64 2
%16 = bitcast i64* %15 to <2 x i64>*
store <2 x i64> <i64 25, i64 33>, <2 x i64>* %16
%17 = getelementptr inbounds [5 x i64], [5 x i64]* %1, i64 0, i64 4
store i64 51, i64* %17
%18 = bitcast [5 x i64]* %2 to i8*
%19 = getelementptr inbounds [5 x i64], [5 x i64]* %2, i64 0, i64 0
%20 = bitcast [5 x i64]* %2 to <2 x i64>*
store <2 x i64> <i64 21, i64 34>, <2 x i64>* %20
%21 = getelementptr inbounds [5 x i64], [5 x i64]* %2, i64 0, i64 2
%22 = bitcast i64* %21 to <2 x i64>*
store <2 x i64> <i64 44, i64 50>, <2 x i64>* %22
%23 = getelementptr inbounds [5 x i64], [5 x i64]* %2, i64 0, i64 4
store i64 62, i64* %23
%24 = bitcast [5 x i64]* %3 to i8*
%25 = getelementptr inbounds [5 x i64], [5 x i64]* %3, i64 0, i64 0
%26 = bitcast [5 x i64]* %3 to <2 x i64>*
store <2 x i64> <i64 34, i64 36>, <2 x i64>* %26
%27 = getelementptr inbounds [5 x i64], [5 x i64]* %3, i64 0, i64 2
%28 = bitcast i64* %27 to <2 x i64>*
store <2 x i64> <i64 41, i64 44>, <2 x i64>* %28
%29 = getelementptr inbounds [5 x i64], [5 x i64]* %3, i64 0, i64 4
store i64 46, i64* %29
%30 = bitcast [5 x i64]* %4 to i8*
%31 = getelementptr inbounds [5 x i64], [5 x i64]* %4, i64 0, i64 0
%32 = bitcast [5 x i64]* %4 to <2 x i64>*
store <2 x i64> <i64 30, i64 31>, <2 x i64>* %32
%33 = getelementptr inbounds [5 x i64], [5 x i64]* %4, i64 0, i64 2
%34 = bitcast i64* %33 to <2 x i64>*
store <2 x i64> <i64 32, i64 35>, <2 x i64>* %34
%35 = getelementptr inbounds [5 x i64], [5 x i64]* %4, i64 0, i64 4
store i64 40, i64* %35
%36 = bitcast [5 x i64]* %5 to i8*
%37 = getelementptr inbounds [5 x i64], [5 x i64]* %5, i64 0, i64 0
%38 = bitcast [5 x i64]* %5 to <2 x i64>*
store <2 x i64> <i64 54, i64 56>, <2 x i64>* %38
%39 = getelementptr inbounds [5 x i64], [5 x i64]* %5, i64 0, i64 2
%40 = bitcast i64* %39 to <2 x i64>*
store <2 x i64> <i64 57, i64 58>, <2 x i64>* %40
%41 = getelementptr inbounds [5 x i64], [5 x i64]* %5, i64 0, i64 4
store i64 60, i64* %41
%42 = bitcast [5 x i64]* %6 to i8*
%43 = getelementptr inbounds [5 x i64], [5 x i64]* %6, i64 0, i64 0
%44 = bitcast [5 x i64]* %6 to <2 x i64>*
store <2 x i64> <i64 31, i64 33>, <2 x i64>* %44
%45 = getelementptr inbounds [5 x i64], [5 x i64]* %6, i64 0, i64 2
%46 = bitcast i64* %45 to <2 x i64>*
store <2 x i64> <i64 36, i64 51>, <2 x i64>* %46
%47 = getelementptr inbounds [5 x i64], [5 x i64]* %6, i64 0, i64 4
store i64 52, i64* %47
%48 = bitcast [5 x i64]* %7 to i8*
%49 = getelementptr inbounds [5 x i64], [5 x i64]* %7, i64 0, i64 0
%50 = bitcast [5 x i64]* %7 to <2 x i64>*
store <2 x i64> <i64 44, i64 46>, <2 x i64>* %50
%51 = getelementptr inbounds [5 x i64], [5 x i64]* %7, i64 0, i64 2
%52 = bitcast i64* %51 to <2 x i64>*
store <2 x i64> <i64 76, i64 78>, <2 x i64>* %52
%53 = getelementptr inbounds [5 x i64], [5 x i64]* %7, i64 0, i64 4
store i64 79, i64* %53
%54 = bitcast [5 x i64]* %8 to i8*
%55 = getelementptr inbounds [5 x i64], [5 x i64]* %8, i64 0, i64 0
%56 = bitcast [5 x i64]* %8 to <2 x i64>*
store <2 x i64> <i64 23, i64 33>, <2 x i64>* %56
%57 = getelementptr inbounds [5 x i64], [5 x i64]* %8, i64 0, i64 2
%58 = bitcast i64* %57 to <2 x i64>*
store <2 x i64> <i64 43, i64 54>, <2 x i64>* %58
%59 = getelementptr inbounds [5 x i64], [5 x i64]* %8, i64 0, i64 4
store i64 63, i64* %59
%60 = bitcast [8 x i64*]* %9 to i8*
%61 = getelementptr inbounds [8 x i64*], [8 x i64*]* %9, i64 0, i64 0
store i64* %13, i64** %61
%62 = getelementptr inbounds [8 x i64*], [8 x i64*]* %9, i64 0, i64 1
store i64* %19, i64** %62
%63 = getelementptr inbounds [8 x i64*], [8 x i64*]* %9, i64 0, i64 2
store i64* %25, i64** %63
%64 = getelementptr inbounds [8 x i64*], [8 x i64*]* %9, i64 0, i64 3
store i64* %31, i64** %64
%65 = getelementptr inbounds [8 x i64*], [8 x i64*]* %9, i64 0, i64 4
store i64* %37, i64** %65
%66 = getelementptr inbounds [8 x i64*], [8 x i64*]* %9, i64 0, i64 5
store i64* %43, i64** %66
%67 = getelementptr inbounds [8 x i64*], [8 x i64*]* %9, i64 0, i64 6
store i64* %49, i64** %67
%68 = getelementptr inbounds [8 x i64*], [8 x i64*]* %9, i64 0, i64 7
store i64* %55, i64** %68
%69 = bitcast [8 x i32]* %10 to i8*
%70 = bitcast [40 x i64]* %11 to i8*
%71 = getelementptr inbounds [8 x i32], [8 x i32]* %10, i64 0, i64 0
%72 = getelementptr inbounds [40 x i64], [40 x i64]* %11, i64 0, i64 0
%73 = call i32 @multimerge(i64** %61, i32* %71, i32 8, i64* %72)
br label %74
74: ; preds = %0, %74
%75 = phi i64 [ 0, %0 ], [ %76, %74 ]
%76 = add nuw nsw i64 %75, 1
%77 = getelementptr inbounds [40 x i64], [40 x i64]* %11, i64 0, i64 %75
%78 = load i64, i64* %77
%79 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i64 %78)
%80 = icmp eq i64 %76, 30
br i1 %80, label %81, label %74
81: ; preds = %74
ret i32 0
}