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


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1030 <nondet_int@plt>
mov    %eax,-0x14(%rbp)
movl   $0x0,-0x8(%rbp)
cmpl   $0x1,-0x8(%rbp)
jae    1187 <main+0x67>
mov    $0x0,%al
call   1030 <nondet_int@plt>
mov    %eax,%ecx
mov    -0x8(%rbp),%eax
mov    %ecx,-0x10(%rbp,%rax,4)
mov    -0x8(%rbp),%eax
mov    -0x10(%rbp,%rax,4),%eax
cmp    -0x14(%rbp),%eax
jg     1174 <main+0x54>
mov    -0x8(%rbp),%eax
mov    -0x10(%rbp,%rax,4),%eax
mov    %eax,-0x14(%rbp)
jmp    1179 <main+0x59>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1140 <main+0x20>
mov    -0x10(%rbp),%eax
cmp    -0x14(%rbp),%eax
setg   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
xor    %eax,%eax
call   1030 <nondet_int@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1030 <nondet_int@plt>
xor    %edi,%edi
cmp    %ebx,%eax
setg   %dil
call   1040 <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 [1 x i32]
%5 = alloca i32
store i32 0, i32* %1
%6 = call i32 (...) @nondet_int()
store i32 %6, i32* %5
store i32 0, i32* %2
br label %7
7: ; preds = %27, %0
%8 = load i32, i32* %2
%9 = icmp ult i32 %8, 1
br i1 %9, label %10, label %30
10: ; preds = %7
%11 = call i32 (...) @nondet_int()
%12 = load i32, i32* %2
%13 = zext i32 %12 to i64
%14 = getelementptr inbounds [1 x i32], [1 x i32]* %4, i64 0, i64 %13
store i32 %11, i32* %14
%15 = load i32, i32* %2
%16 = zext i32 %15 to i64
%17 = getelementptr inbounds [1 x i32], [1 x i32]* %4, i64 0, i64 %16
%18 = load i32, i32* %17
%19 = load i32, i32* %5
%20 = icmp sle i32 %18, %19
br i1 %20, label %21, label %26
21: ; preds = %10
%22 = load i32, i32* %2
%23 = zext i32 %22 to i64
%24 = getelementptr inbounds [1 x i32], [1 x i32]* %4, i64 0, i64 %23
%25 = load i32, i32* %24
store i32 %25, i32* %5
br label %26
26: ; preds = %21, %10
br label %27
27: ; preds = %26
%28 = load i32, i32* %2
%29 = add i32 %28, 1
store i32 %29, i32* %2
br label %7
30: ; preds = %7
%31 = getelementptr inbounds [1 x i32], [1 x i32]* %4, i64 0, i64 0
%32 = load i32, i32* %31
%33 = load i32, i32* %5
%34 = icmp sgt i32 %32, %33
%35 = zext i1 %34 to i32
%36 = call i32 @assert(i32 %35)
%37 = load i32, i32* %1
ret i32 %37
}

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