#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, j;
  float a[16];
  float c[16] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15};
  float d[16] = {0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30};
  i = 0;
  j = 0;
  while (i < 5 * 16) {
    a[j] = c[j];
    i += 5;
    j++;
  }
  for (i = 0; i < 16; i++) {
    if (a[i] != c[i])
      abort();
  }
  for (i = 16; i > 0; i--) {
    a[16 - i] = d[16 - i];
  }
  for (i = 0; i < 16; i++) {
    if (a[i] != d[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)
movl   $0x0,-0x8(%rbp)
cmpl   $0x50,-0x4(%rbp)
jge    11a1 <main1+0x81>
movslq -0x8(%rbp),%rax
movss  -0x90(%rbp,%rax,4),%xmm0
ff ff
movslq -0x8(%rbp),%rax
movss  %xmm0,-0x50(%rbp,%rax,4)
mov    -0x4(%rbp),%eax
add    $0x5,%eax
mov    %eax,-0x4(%rbp)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1169 <main1+0x49>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    11f3 <main1+0xd3>
movslq -0x4(%rbp),%rax
movss  -0x50(%rbp,%rax,4),%xmm0
movslq -0x4(%rbp),%rax
ucomiss -0x90(%rbp,%rax,4),%xmm0
ff
jne    11d9 <main1+0xb9>
jp     11d9 <main1+0xb9>
jmp    11e0 <main1+0xc0>
mov    $0x0,%al
call   1030 <abort@plt>
jmp    11e5 <main1+0xc5>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    11a8 <main1+0x88>
movl   $0x10,-0x4(%rbp)
cmpl   $0x0,-0x4(%rbp)
jle    1235 <main1+0x115>
mov    $0x10,%eax
sub    -0x4(%rbp),%eax
cltq
movss  -0xd0(%rbp,%rax,4),%xmm0
ff ff
mov    $0x10,%eax
sub    -0x4(%rbp),%eax
cltq
movss  %xmm0,-0x50(%rbp,%rax,4)
mov    -0x4(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x4(%rbp)
jmp    11fa <main1+0xda>
movl   $0x0,-0x4(%rbp)
cmpl   $0x10,-0x4(%rbp)
jge    1287 <main1+0x167>
movslq -0x4(%rbp),%rax
movss  -0x50(%rbp,%rax,4),%xmm0
movslq -0x4(%rbp),%rax
ucomiss -0xd0(%rbp,%rax,4),%xmm0
ff
jne    126d <main1+0x14d>
jp     126d <main1+0x14d>
jmp    1274 <main1+0x154>
mov    $0x0,%al
call   1030 <abort@plt>
jmp    1279 <main1+0x159>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    123c <main1+0x11c>
xor    %eax,%eax
add    $0xd0,%rsp
pop    %rbp
ret

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

LLVM IR (-O0):
@__const.main1.c = [16 x float] [float 0.000000e+00, float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 6.000000e+00, float 7.000000e+00, float 8.000000e+00, float 9.000000e+00, float 1.000000e+01, float 1.100000e+01, float 1.200000e+01, float 1.300000e+01, float 1.400000e+01, float 1.500000e+01]
@__const.main1.d = [16 x float] [float 0.000000e+00, float 2.000000e+00, float 4.000000e+00, float 6.000000e+00, float 8.000000e+00, float 1.000000e+01, float 1.200000e+01, float 1.400000e+01, float 1.600000e+01, float 1.800000e+01, float 2.000000e+01, float 2.200000e+01, float 2.400000e+01, float 2.600000e+01, float 2.800000e+01, float 3.000000e+01]
define i32 @main1() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca [16 x float]
%4 = alloca [16 x float]
%5 = alloca [16 x float]
%6 = bitcast [16 x float]* %4 to i8*
%7 = bitcast [16 x float]* %5 to i8*
store i32 0, i32* %1
store i32 0, i32* %2
br label %8
8: ; preds = %11, %0
%9 = load i32, i32* %1
%10 = icmp slt i32 %9, 80
br i1 %10, label %11, label %23
11: ; preds = %8
%12 = load i32, i32* %2
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [16 x float], [16 x float]* %4, i64 0, i64 %13
%15 = load float, float* %14
%16 = load i32, i32* %2
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [16 x float], [16 x float]* %3, i64 0, i64 %17
store float %15, float* %18
%19 = load i32, i32* %1
%20 = add nsw i32 %19, 5
store i32 %20, i32* %1
%21 = load i32, i32* %2
%22 = add nsw i32 %21, 1
store i32 %22, i32* %2
br label %8
23: ; preds = %8
store i32 0, i32* %1
br label %24
24: ; preds = %40, %23
%25 = load i32, i32* %1
%26 = icmp slt i32 %25, 16
br i1 %26, label %27, label %43
27: ; preds = %24
%28 = load i32, i32* %1
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [16 x float], [16 x float]* %3, i64 0, i64 %29
%31 = load float, float* %30
%32 = load i32, i32* %1
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [16 x float], [16 x float]* %4, i64 0, i64 %33
%35 = load float, float* %34
%36 = fcmp une float %31, %35
br i1 %36, label %37, label %39
37: ; preds = %27
%38 = call i32 (...) @abort()
unreachable
39: ; preds = %27
br label %40
40: ; preds = %39
%41 = load i32, i32* %1
%42 = add nsw i32 %41, 1
store i32 %42, i32* %1
br label %24
43: ; preds = %24
store i32 16, i32* %1
br label %44
44: ; preds = %57, %43
%45 = load i32, i32* %1
%46 = icmp sgt i32 %45, 0
br i1 %46, label %47, label %60
47: ; preds = %44
%48 = load i32, i32* %1
%49 = sub nsw i32 16, %48
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [16 x float], [16 x float]* %5, i64 0, i64 %50
%52 = load float, float* %51
%53 = load i32, i32* %1
%54 = sub nsw i32 16, %53
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [16 x float], [16 x float]* %3, i64 0, i64 %55
store float %52, float* %56
br label %57
57: ; preds = %47
%58 = load i32, i32* %1
%59 = add nsw i32 %58, -1
store i32 %59, i32* %1
br label %44
60: ; preds = %44
store i32 0, i32* %1
br label %61
61: ; preds = %77, %60
%62 = load i32, i32* %1
%63 = icmp slt i32 %62, 16
br i1 %63, label %64, label %80
64: ; preds = %61
%65 = load i32, i32* %1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [16 x float], [16 x float]* %3, i64 0, i64 %66
%68 = load float, float* %67
%69 = load i32, i32* %1
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [16 x float], [16 x float]* %5, i64 0, i64 %70
%72 = load float, float* %71
%73 = fcmp une float %68, %72
br i1 %73, label %74, label %76
74: ; preds = %64
%75 = call i32 (...) @abort()
unreachable
76: ; preds = %64
br label %77
77: ; preds = %76
%78 = load i32, i32* %1
%79 = add nsw i32 %78, 1
store i32 %79, i32* %1
br label %61
80: ; preds = %61
ret i32 0
}

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