#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*/ abort();
int main1() {
  int i;
  int ia[16];
  int ic[16] = {0, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45};
  int ib[16] = {0, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45};
  for (i = 0; i < 16; i++) {
    ia[i] = ib[i] * ic[i];
  }
  for (i = 0; i < 16; i++) {
    if (ia[i] != ib[i] * ic[i])
      abort();
  }
  return 0;
}


x86 assembly (clang, -O0):
<main1>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
lea    -0x90(%rbp),%rdi
lea    0xec7(%rip),%rsi
mov    $0x40,%edx
call   1040 <memcpy@plt>
lea    -0xd0(%rbp),%rdi
lea    0xeef(%rip),%rsi
mov    $0x40,%edx
call   1040 <memcpy@plt>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    1199 <main1+0x79>
movslq -0x4(%rbp),%rax
mov    -0xd0(%rbp,%rax,4),%ecx
movslq -0x4(%rbp),%rax
imul   -0x90(%rbp,%rax,4),%ecx
ff
movslq -0x4(%rbp),%rax
mov    %ecx,-0x50(%rbp,%rax,4)
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    1162 <main1+0x42>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    11eb <main1+0xcb>
movslq -0x4(%rbp),%rax
mov    -0x50(%rbp,%rax,4),%eax
movslq -0x4(%rbp),%rcx
mov    -0xd0(%rbp,%rcx,4),%ecx
movslq -0x4(%rbp),%rdx
imul   -0x90(%rbp,%rdx,4),%ecx
ff
cmp    %ecx,%eax
je     11d8 <main1+0xb8>
mov    $0x0,%al
call   1030 <abort@plt>
jmp    11dd <main1+0xbd>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    11a0 <main1+0x80>
xor    %eax,%eax
add    $0xd0,%rsp
pop    %rbp
ret

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

LLVM IR (-O0):
@__const.main1.ic = [16 x i32] [i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21, i32 24, i32 27, i32 30, i32 33, i32 36, i32 39, i32 42, i32 45]
@__const.main1.ib = [16 x i32] [i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21, i32 24, i32 27, i32 30, i32 33, i32 36, i32 39, i32 42, i32 45]
define i32 @main1() {
%1 = alloca i32
%2 = alloca [16 x i32]
%3 = alloca [16 x i32]
%4 = alloca [16 x i32]
%5 = bitcast [16 x i32]* %3 to i8*
%6 = bitcast [16 x i32]* %4 to i8*
store i32 0, i32* %1
br label %7
7: ; preds = %23, %0
%8 = load i32, i32* %1
%9 = icmp slt i32 %8, 16
br i1 %9, label %10, label %26
10: ; preds = %7
%11 = load i32, i32* %1
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [16 x i32], [16 x i32]* %4, i64 0, i64 %12
%14 = load i32, i32* %13
%15 = load i32, i32* %1
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 %16
%18 = load i32, i32* %17
%19 = mul nsw i32 %14, %18
%20 = load i32, i32* %1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [16 x i32], [16 x i32]* %2, i64 0, i64 %21
store i32 %19, i32* %22
br label %23
23: ; preds = %10
%24 = load i32, i32* %1
%25 = add nsw i32 %24, 1
store i32 %25, i32* %1
br label %7
26: ; preds = %7
store i32 0, i32* %1
br label %27
27: ; preds = %48, %26
%28 = load i32, i32* %1
%29 = icmp slt i32 %28, 16
br i1 %29, label %30, label %51
30: ; preds = %27
%31 = load i32, i32* %1
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [16 x i32], [16 x i32]* %2, i64 0, i64 %32
%34 = load i32, i32* %33
%35 = load i32, i32* %1
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [16 x i32], [16 x i32]* %4, i64 0, i64 %36
%38 = load i32, i32* %37
%39 = load i32, i32* %1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [16 x i32], [16 x i32]* %3, i64 0, i64 %40
%42 = load i32, i32* %41
%43 = mul nsw i32 %38, %42
%44 = icmp ne i32 %34, %43
br i1 %44, label %45, label %47
45: ; preds = %30
%46 = call i32 (...) @abort()
unreachable
47: ; preds = %30
br label %48
48: ; preds = %47
%49 = load i32, i32* %1
%50 = add nsw i32 %49, 1
store i32 %50, i32* %1
br label %27
51: ; preds = %27
ret i32 0
}

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