#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*/ __VERIFIER_assert(int);
int __VERIFIER_nondet_int();
main() {
  unsigned int SIZE = 1;
  unsigned int j, k;
  int array[SIZE], menor;
  menor = __VERIFIER_nondet_int();
  for (j = 0; j < SIZE; j++) {
    array[j] = __VERIFIER_nondet_int();
    if (array[j] <= menor)
      menor = array[j];
  }
  __VERIFIER_assert(array[0] > menor);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x1,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    %rsp,%rcx
mov    %rcx,-0x18(%rbp)
lea    0xf(,%rax,4),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x30(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x20(%rbp)
mov    $0x0,%al
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,-0x24(%rbp)
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x8(%rbp),%eax
jae    11bc <main+0x9c>
mov    $0x0,%al
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,%edx
mov    -0x30(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %edx,(%rax,%rcx,4)
mov    -0xc(%rbp),%ecx
mov    (%rax,%rcx,4),%eax
cmp    -0x24(%rbp),%eax
jg     11a9 <main+0x89>
mov    -0x30(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x24(%rbp)
jmp    11ae <main+0x8e>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    116e <main+0x4e>
mov    -0x30(%rbp),%rax
mov    (%rax),%eax
cmp    -0x24(%rbp),%eax
setg   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <__VERIFIER_assert@plt>
mov    -0x18(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
xor    %eax,%eax
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1030 <__VERIFIER_nondet_int@plt>
xor    %edi,%edi
cmp    %ebx,%eax
setg   %dil
call   1040 <__VERIFIER_assert@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8*
%6 = alloca i64
%7 = alloca i32
store i32 0, i32* %1
store i32 1, i32* %2
%8 = load i32, i32* %2
%9 = zext i32 %8 to i64
%10 = call i8* @llvm.stacksave()
store i8* %10, i8** %5
%11 = alloca i32, i64 %9
store i64 %9, i64* %6
%12 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %12, i32* %7
store i32 0, i32* %3
br label %13
13: ; preds = %34, %0
%14 = load i32, i32* %3
%15 = load i32, i32* %2
%16 = icmp ult i32 %14, %15
br i1 %16, label %17, label %37
17: ; preds = %13
%18 = call i32 (...) @__VERIFIER_nondet_int()
%19 = load i32, i32* %3
%20 = zext i32 %19 to i64
%21 = getelementptr inbounds i32, i32* %11, i64 %20
store i32 %18, i32* %21
%22 = load i32, i32* %3
%23 = zext i32 %22 to i64
%24 = getelementptr inbounds i32, i32* %11, i64 %23
%25 = load i32, i32* %24
%26 = load i32, i32* %7
%27 = icmp sle i32 %25, %26
br i1 %27, label %28, label %33
28: ; preds = %17
%29 = load i32, i32* %3
%30 = zext i32 %29 to i64
%31 = getelementptr inbounds i32, i32* %11, i64 %30
%32 = load i32, i32* %31
store i32 %32, i32* %7
br label %33
33: ; preds = %28, %17
br label %34
34: ; preds = %33
%35 = load i32, i32* %3
%36 = add i32 %35, 1
store i32 %36, i32* %3
br label %13
37: ; preds = %13
%38 = getelementptr inbounds i32, i32* %11, i64 0
%39 = load i32, i32* %38
%40 = load i32, i32* %7
%41 = icmp sgt i32 %39, %40
%42 = zext i1 %41 to i32
%43 = call i32 @__VERIFIER_assert(i32 %42)
%44 = load i8*, i8** %5
%45 = load i32, i32* %1
ret i32 %45
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @__VERIFIER_nondet_int()
%2 = tail call i32 (...) @__VERIFIER_nondet_int()
%3 = icmp sgt i32 %2, %1
%4 = zext i1 %3 to i32
%5 = tail call i32 @__VERIFIER_assert(i32 %4)
ret i32 0
}