int main(void) {
  int i = 0, j = 0, k = 0;
  int tensu1[4][3] = {{91, 63, 78}, {67, 72, 46}, {89, 34, 53}, {32, 54, 34}};
  int tensu2[4][3] = {{97, 67, 82}, {73, 43, 46}, {97, 56, 21}, {85, 46, 35}};
  int total[2][4][3];
  for (i = 0; i < 4; i++) {
    for (j = 0; j < 3; j++) {
      total[0][i][j] = tensu1[i][j];
      total[1][i][j] = tensu2[i][j];
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0x8(%rbp)
movl   $0x0,-0xc(%rbp)
movl   $0x0,-0x10(%rbp)
lea    -0x40(%rbp),%rdi
lea    0xebe(%rip),%rsi
mov    $0x30,%edx
call   1030 <memcpy@plt>
lea    -0x70(%rbp),%rdi
lea    0xed9(%rip),%rsi
mov    $0x30,%edx
call   1030 <memcpy@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x4,-0x8(%rbp)
jge    1206 <main+0xf6>
movl   $0x0,-0xc(%rbp)
cmpl   $0x3,-0xc(%rbp)
jge    11f3 <main+0xe3>
movslq -0x8(%rbp),%rcx
lea    -0x40(%rbp),%rax
imul   $0xc,%rcx,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
lea    -0xd0(%rbp),%rax
movslq -0x8(%rbp),%rcx
imul   $0xc,%rcx,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
movslq -0x8(%rbp),%rcx
lea    -0x70(%rbp),%rax
imul   $0xc,%rcx,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
lea    -0xd0(%rbp),%rax
add    $0x30,%rax
movslq -0x8(%rbp),%rcx
imul   $0xc,%rcx,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1179 <main+0x69>
jmp    11f8 <main+0xe8>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1168 <main+0x58>
xor    %eax,%eax
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
xor    %eax,%eax
ret

LLVM IR (-O0):
@__const.main.tensu1 = [4 x [3 x i32]] [[3 x i32] [i32 91, i32 63, i32 78], [3 x i32] [i32 67, i32 72, i32 46], [3 x i32] [i32 89, i32 34, i32 53], [3 x i32] [i32 32, i32 54, i32 34]]
@__const.main.tensu2 = [4 x [3 x i32]] [[3 x i32] [i32 97, i32 67, i32 82], [3 x i32] [i32 73, i32 43, i32 46], [3 x i32] [i32 97, i32 56, i32 21], [3 x i32] [i32 85, i32 46, i32 35]]
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca [4 x [3 x i32]]
%6 = alloca [4 x [3 x i32]]
%7 = alloca [2 x [4 x [3 x i32]]]
store i32 0, i32* %1
store i32 0, i32* %2
store i32 0, i32* %3
store i32 0, i32* %4
%8 = bitcast [4 x [3 x i32]]* %5 to i8*
%9 = bitcast [4 x [3 x i32]]* %6 to i8*
store i32 0, i32* %2
br label %10
10: ; preds = %50, %0
%11 = load i32, i32* %2
%12 = icmp slt i32 %11, 4
br i1 %12, label %13, label %53
13: ; preds = %10
store i32 0, i32* %3
br label %14
14: ; preds = %46, %13
%15 = load i32, i32* %3
%16 = icmp slt i32 %15, 3
br i1 %16, label %17, label %49
17: ; preds = %14
%18 = load i32, i32* %2
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [4 x [3 x i32]], [4 x [3 x i32]]* %5, i64 0, i64 %19
%21 = load i32, i32* %3
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [3 x i32], [3 x i32]* %20, i64 0, i64 %22
%24 = load i32, i32* %23
%25 = getelementptr inbounds [2 x [4 x [3 x i32]]], [2 x [4 x [3 x i32]]]* %7, i64 0, i64 0
%26 = load i32, i32* %2
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [4 x [3 x i32]], [4 x [3 x i32]]* %25, i64 0, i64 %27
%29 = load i32, i32* %3
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [3 x i32], [3 x i32]* %28, i64 0, i64 %30
store i32 %24, i32* %31
%32 = load i32, i32* %2
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [4 x [3 x i32]], [4 x [3 x i32]]* %6, i64 0, i64 %33
%35 = load i32, i32* %3
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [3 x i32], [3 x i32]* %34, i64 0, i64 %36
%38 = load i32, i32* %37
%39 = getelementptr inbounds [2 x [4 x [3 x i32]]], [2 x [4 x [3 x i32]]]* %7, i64 0, i64 1
%40 = load i32, i32* %2
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [4 x [3 x i32]], [4 x [3 x i32]]* %39, i64 0, i64 %41
%43 = load i32, i32* %3
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [3 x i32], [3 x i32]* %42, i64 0, i64 %44
store i32 %38, i32* %45
br label %46
46: ; preds = %17
%47 = load i32, i32* %3
%48 = add nsw i32 %47, 1
store i32 %48, i32* %3
br label %14
49: ; preds = %14
br label %50
50: ; preds = %49
%51 = load i32, i32* %2
%52 = add nsw i32 %51, 1
store i32 %52, i32* %2
br label %10
53: ; preds = %10
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
ret i32 0
}