#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 N_LIN = 1;
  unsigned int N_COL = 1;
  unsigned int j, k;
  int matriz[N_COL][N_LIN], maior;
  maior = nondet_int();
  for (j = 0; j < N_COL; j++)
    for (k = 0; k < N_LIN; k++) {
      matriz[j][k] = nondet_int();
      if (matriz[j][k] >= maior)
        maior = matriz[j][k];
    }
  assert(matriz[0][0] <= maior);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x1,-0x8(%rbp)
movl   $0x1,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,%ecx
mov    -0x8(%rbp),%eax
mov    %rax,-0x48(%rbp)
mov    %rsp,%rdx
mov    %rdx,-0x20(%rbp)
mov    %rcx,%rdx
imul   %rax,%rdx
lea    0xf(,%rdx,4),%rsi
and    $0xfffffffffffffff0,%rsi
mov    %rsp,%rdx
sub    %rsi,%rdx
mov    %rdx,-0x40(%rbp)
mov    %rdx,%rsp
mov    %rcx,-0x28(%rbp)
mov    %rax,-0x30(%rbp)
mov    $0x0,%al
call   1030 <nondet_int@plt>
mov    %eax,-0x34(%rbp)
movl   $0x0,-0x10(%rbp)
mov    -0x10(%rbp),%eax
cmp    -0xc(%rbp),%eax
jae    1234 <main+0x114>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jae    1221 <main+0x101>
mov    $0x0,%al
call   1030 <nondet_int@plt>
mov    -0x48(%rbp),%rdx
mov    %eax,%edi
mov    -0x40(%rbp),%rax
mov    -0x10(%rbp),%ecx
mov    %ecx,%esi
imul   %rdx,%rsi
shl    $0x2,%rsi
mov    %rax,%rcx
add    %rsi,%rcx
mov    -0x14(%rbp),%esi
mov    %edi,(%rcx,%rsi,4)
mov    -0x10(%rbp),%ecx
imul   %rdx,%rcx
shl    $0x2,%rcx
add    %rcx,%rax
mov    -0x14(%rbp),%ecx
mov    (%rax,%rcx,4),%eax
cmp    -0x34(%rbp),%eax
jl     120e <main+0xee>
mov    -0x40(%rbp),%rax
mov    -0x48(%rbp),%rdx
mov    -0x10(%rbp),%ecx
imul   %rdx,%rcx
shl    $0x2,%rcx
add    %rcx,%rax
mov    -0x14(%rbp),%ecx
mov    (%rax,%rcx,4),%eax
mov    %eax,-0x34(%rbp)
jmp    1213 <main+0xf3>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    119c <main+0x7c>
jmp    1226 <main+0x106>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    1189 <main+0x69>
mov    -0x40(%rbp),%rax
mov    -0x48(%rbp),%rcx
imul   $0x0,%rcx,%rcx
mov    (%rax,%rcx,4),%eax
cmp    -0x34(%rbp),%eax
setle  %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <assert@plt>
mov    -0x20(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1030 <nondet_int@plt>
xor    %eax,%eax
call   1030 <nondet_int@plt>
mov    $0x1,%edi
call   1040 <assert@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i8*
%7 = alloca i64
%8 = alloca i64
%9 = alloca i32
store i32 0, i32* %1
store i32 1, i32* %2
store i32 1, i32* %3
%10 = load i32, i32* %3
%11 = zext i32 %10 to i64
%12 = load i32, i32* %2
%13 = zext i32 %12 to i64
%14 = call i8* @llvm.stacksave()
store i8* %14, i8** %6
%15 = mul nuw i64 %11, %13
%16 = alloca i32, i64 %15
store i64 %11, i64* %7
store i64 %13, i64* %8
%17 = call i32 (...) @nondet_int()
store i32 %17, i32* %9
store i32 0, i32* %4
br label %18
18: ; preds = %60, %0
%19 = load i32, i32* %4
%20 = load i32, i32* %3
%21 = icmp ult i32 %19, %20
br i1 %21, label %22, label %63
22: ; preds = %18
store i32 0, i32* %5
br label %23
23: ; preds = %56, %22
%24 = load i32, i32* %5
%25 = load i32, i32* %2
%26 = icmp ult i32 %24, %25
br i1 %26, label %27, label %59
27: ; preds = %23
%28 = call i32 (...) @nondet_int()
%29 = load i32, i32* %4
%30 = zext i32 %29 to i64
%31 = mul nsw i64 %30, %13
%32 = getelementptr inbounds i32, i32* %16, i64 %31
%33 = load i32, i32* %5
%34 = zext i32 %33 to i64
%35 = getelementptr inbounds i32, i32* %32, i64 %34
store i32 %28, i32* %35
%36 = load i32, i32* %4
%37 = zext i32 %36 to i64
%38 = mul nsw i64 %37, %13
%39 = getelementptr inbounds i32, i32* %16, i64 %38
%40 = load i32, i32* %5
%41 = zext i32 %40 to i64
%42 = getelementptr inbounds i32, i32* %39, i64 %41
%43 = load i32, i32* %42
%44 = load i32, i32* %9
%45 = icmp sge i32 %43, %44
br i1 %45, label %46, label %55
46: ; preds = %27
%47 = load i32, i32* %4
%48 = zext i32 %47 to i64
%49 = mul nsw i64 %48, %13
%50 = getelementptr inbounds i32, i32* %16, i64 %49
%51 = load i32, i32* %5
%52 = zext i32 %51 to i64
%53 = getelementptr inbounds i32, i32* %50, i64 %52
%54 = load i32, i32* %53
store i32 %54, i32* %9
br label %55
55: ; preds = %46, %27
br label %56
56: ; preds = %55
%57 = load i32, i32* %5
%58 = add i32 %57, 1
store i32 %58, i32* %5
br label %23
59: ; preds = %23
br label %60
60: ; preds = %59
%61 = load i32, i32* %4
%62 = add i32 %61, 1
store i32 %62, i32* %4
br label %18
63: ; preds = %18
%64 = mul nsw i64 0, %13
%65 = getelementptr inbounds i32, i32* %16, i64 %64
%66 = getelementptr inbounds i32, i32* %65, i64 0
%67 = load i32, i32* %66
%68 = load i32, i32* %9
%69 = icmp sle i32 %67, %68
%70 = zext i1 %69 to i32
%71 = call i32 @assert(i32 %70)
%72 = load i8*, i8** %6
%73 = load i32, i32* %1
ret i32 %73
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @nondet_int()
%2 = tail call i32 (...) @nondet_int()
%3 = tail call i32 @assert(i32 1)
ret i32 0
}