int test15(void) {
  unsigned char a[480];
  initialize_array(a, 480);
  __asm__("" :::);
  if (a[0] != a[480 - 1] || a[0] != 0)
    return 0;
  if (a[480 / 2 - 1] != a[480 / 2] ||
      a[480 / 2 - 1] != ((unsigned char)(480 / 2 - 1)))
    return 0;
  check_args_8(a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]);
  return 1;
}


x86 assembly (clang, -O0):
<test15>:
push   %rbp
mov    %rsp,%rbp
sub    $0x210,%rsp
lea    -0x1f0(%rbp),%rdi
mov    $0x1e0,%esi
mov    $0x0,%al
call   1030 <initialize_array@plt>
movzbl -0x1f0(%rbp),%eax
movzbl -0x11(%rbp),%ecx
cmp    %ecx,%eax
jne    1161 <test15+0x41>
movzbl -0x1f0(%rbp),%eax
cmp    $0x0,%eax
je     116d <test15+0x4d>
movl   $0x0,-0x4(%rbp)
jmp    11ff <test15+0xdf>
movzbl -0x101(%rbp),%eax
movzbl -0x100(%rbp),%ecx
cmp    %ecx,%eax
jne    1195 <test15+0x75>
movzbl -0x101(%rbp),%eax
cmp    $0xef,%eax
je     11a1 <test15+0x81>
movl   $0x0,-0x4(%rbp)
jmp    11ff <test15+0xdf>
movzbl -0x1f0(%rbp),%edi
movzbl -0x1ef(%rbp),%esi
movzbl -0x1ee(%rbp),%edx
movzbl -0x1ed(%rbp),%ecx
movzbl -0x1ec(%rbp),%r8d
ff
movzbl -0x1eb(%rbp),%r9d
ff
movzbl -0x1ea(%rbp),%r11d
ff
movzbl -0x1e9(%rbp),%r10d
ff
movzbl -0x1e8(%rbp),%eax
mov    %r11d,(%rsp)
mov    %r10d,0x8(%rsp)
mov    %eax,0x10(%rsp)
mov    $0x0,%al
call   1040 <check_args_8@plt>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x210,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test15>:
push   %rbx
sub    $0x1e0,%rsp
xor    %ebx,%ebx
mov    %rsp,%rdi
mov    $0x1e0,%esi
xor    %eax,%eax
call   1030 <initialize_array@plt>
mov    0x1df(%rsp),%al
or     (%rsp),%al
jne    11a0 <test15+0x80>
cmpb   $0xef,0xef(%rsp)
ef
jne    11a0 <test15+0x80>
cmpb   $0xef,0xf0(%rsp)
ef
jne    11a0 <test15+0x80>
movzbl 0x1(%rsp),%esi
movzbl 0x2(%rsp),%edx
movzbl 0x3(%rsp),%ecx
movzbl 0x4(%rsp),%r8d
movzbl 0x5(%rsp),%r9d
movzbl 0x6(%rsp),%r10d
movzbl 0x7(%rsp),%r11d
movzbl 0x8(%rsp),%ebx
sub    $0x8,%rsp
xor    %edi,%edi
xor    %eax,%eax
push   %rbx
push   %r11
push   %r10
call   1040 <check_args_8@plt>
add    $0x20,%rsp
mov    $0x1,%ebx
mov    %ebx,%eax
add    $0x1e0,%rsp
pop    %rbx
ret

LLVM IR (-O0):
define i32 @test15() {
%1 = alloca i32
%2 = alloca [480 x i8]
%3 = getelementptr inbounds [480 x i8], [480 x i8]* %2, i64 0, i64 0
%4 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @initialize_array to i32 (i8*, i32, ...)*)(i8* %3, i32 480)
%5 = getelementptr inbounds [480 x i8], [480 x i8]* %2, i64 0, i64 0
%6 = load i8, i8* %5
%7 = zext i8 %6 to i32
%8 = getelementptr inbounds [480 x i8], [480 x i8]* %2, i64 0, i64 479
%9 = load i8, i8* %8
%10 = zext i8 %9 to i32
%11 = icmp ne i32 %7, %10
br i1 %11, label %17, label %12
12: ; preds = %0
%13 = getelementptr inbounds [480 x i8], [480 x i8]* %2, i64 0, i64 0
%14 = load i8, i8* %13
%15 = zext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %12, %0
store i32 0, i32* %1
br label %61
18: ; preds = %12
%19 = getelementptr inbounds [480 x i8], [480 x i8]* %2, i64 0, i64 239
%20 = load i8, i8* %19
%21 = zext i8 %20 to i32
%22 = getelementptr inbounds [480 x i8], [480 x i8]* %2, i64 0, i64 240
%23 = load i8, i8* %22
%24 = zext i8 %23 to i32
%25 = icmp ne i32 %21, %24
br i1 %25, label %31, label %26
26: ; preds = %18
%27 = getelementptr inbounds [480 x i8], [480 x i8]* %2, i64 0, i64 239
%28 = load i8, i8* %27
%29 = zext i8 %28 to i32
%30 = icmp ne i32 %29, 239
br i1 %30, label %31, label %32
31: ; preds = %26, %18
store i32 0, i32* %1
br label %61
32: ; preds = %26
%33 = getelementptr inbounds [480 x i8], [480 x i8]* %2, i64 0, i64 0
%34 = load i8, i8* %33
%35 = zext i8 %34 to i32
%36 = getelementptr inbounds [480 x i8], [480 x i8]* %2, i64 0, i64 1
%37 = load i8, i8* %36
%38 = zext i8 %37 to i32
%39 = getelementptr inbounds [480 x i8], [480 x i8]* %2, i64 0, i64 2
%40 = load i8, i8* %39
%41 = zext i8 %40 to i32
%42 = getelementptr inbounds [480 x i8], [480 x i8]* %2, i64 0, i64 3
%43 = load i8, i8* %42
%44 = zext i8 %43 to i32
%45 = getelementptr inbounds [480 x i8], [480 x i8]* %2, i64 0, i64 4
%46 = load i8, i8* %45
%47 = zext i8 %46 to i32
%48 = getelementptr inbounds [480 x i8], [480 x i8]* %2, i64 0, i64 5
%49 = load i8, i8* %48
%50 = zext i8 %49 to i32
%51 = getelementptr inbounds [480 x i8], [480 x i8]* %2, i64 0, i64 6
%52 = load i8, i8* %51
%53 = zext i8 %52 to i32
%54 = getelementptr inbounds [480 x i8], [480 x i8]* %2, i64 0, i64 7
%55 = load i8, i8* %54
%56 = zext i8 %55 to i32
%57 = getelementptr inbounds [480 x i8], [480 x i8]* %2, i64 0, i64 8
%58 = load i8, i8* %57
%59 = zext i8 %58 to i32
%60 = call i32 (i32, i32, i32, i32, i32, i32, i32, i32, i32, ...) bitcast (i32 (...)* @check_args_8 to i32 (i32, i32, i32, i32, i32, i32, i32, i32, i32, ...)*)(i32 %35, i32 %38, i32 %41, i32 %44, i32 %47, i32 %50, i32 %53, i32 %56, i32 %59)
store i32 1, i32* %1
br label %61
61: ; preds = %32, %31, %17
%62 = load i32, i32* %1
ret i32 %62
}

LLVM IR (-O2):
define i32 @test15() {
%1 = alloca [480 x i8]
%2 = getelementptr inbounds [480 x i8], [480 x i8]* %1, i64 0, i64 0
%3 = call i32 (i8*, i32, ...) bitcast (i32 (...)* @initialize_array to i32 (i8*, i32, ...)*)(i8* %2, i32 480)
%4 = load i8, i8* %2
%5 = getelementptr inbounds [480 x i8], [480 x i8]* %1, i64 0, i64 479
%6 = load i8, i8* %5
%7 = or i8 %6, %4
%8 = icmp eq i8 %7, 0
br i1 %8, label %9, label %43
9: ; preds = %0
%10 = getelementptr inbounds [480 x i8], [480 x i8]* %1, i64 0, i64 239
%11 = load i8, i8* %10
%12 = getelementptr inbounds [480 x i8], [480 x i8]* %1, i64 0, i64 240
%13 = load i8, i8* %12
%14 = icmp ne i8 %11, -17
%15 = icmp ne i8 %13, -17
%16 = or i1 %14, %15
br i1 %16, label %43, label %17
17: ; preds = %9
%18 = getelementptr inbounds [480 x i8], [480 x i8]* %1, i64 0, i64 1
%19 = load i8, i8* %18
%20 = zext i8 %19 to i32
%21 = getelementptr inbounds [480 x i8], [480 x i8]* %1, i64 0, i64 2
%22 = load i8, i8* %21
%23 = zext i8 %22 to i32
%24 = getelementptr inbounds [480 x i8], [480 x i8]* %1, i64 0, i64 3
%25 = load i8, i8* %24
%26 = zext i8 %25 to i32
%27 = getelementptr inbounds [480 x i8], [480 x i8]* %1, i64 0, i64 4
%28 = load i8, i8* %27
%29 = zext i8 %28 to i32
%30 = getelementptr inbounds [480 x i8], [480 x i8]* %1, i64 0, i64 5
%31 = load i8, i8* %30
%32 = zext i8 %31 to i32
%33 = getelementptr inbounds [480 x i8], [480 x i8]* %1, i64 0, i64 6
%34 = load i8, i8* %33
%35 = zext i8 %34 to i32
%36 = getelementptr inbounds [480 x i8], [480 x i8]* %1, i64 0, i64 7
%37 = load i8, i8* %36
%38 = zext i8 %37 to i32
%39 = getelementptr inbounds [480 x i8], [480 x i8]* %1, i64 0, i64 8
%40 = load i8, i8* %39
%41 = zext i8 %40 to i32
%42 = call i32 (i32, i32, i32, i32, i32, i32, i32, i32, i32, ...) bitcast (i32 (...)* @check_args_8 to i32 (i32, i32, i32, i32, i32, i32, i32, i32, i32, ...)*)(i32 0, i32 %20, i32 %23, i32 %26, i32 %29, i32 %32, i32 %35, i32 %38, i32 %41)
br label %43
43: ; preds = %9, %0, %17
%44 = phi i32 [ 1, %17 ], [ 0, %0 ], [ 0, %9 ]
ret i32 %44
}