#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 /*<<< orphan*/ __VERIFIER_assume(int);
int __VERIFIER_nondet_int();
int main() {
  int n = __VERIFIER_nondet_int();
  int m = __VERIFIER_nondet_int();
  int k = 0;
  int i, j;
  __VERIFIER_assume(10 <= n && n <= 10000);
  __VERIFIER_assume(10 <= m && m <= 10000);
  for (i = 0; i < n; i++) {
    for (j = 0; j < m; j++) {
      k++;
    }
  }
  __VERIFIER_assert(k >= 100);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,-0x8(%rbp)
mov    $0x0,%al
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,-0xc(%rbp)
movl   $0x0,-0x10(%rbp)
xor    %eax,%eax
mov    $0xa,%ecx
cmp    -0x8(%rbp),%ecx
mov    %al,-0x19(%rbp)
jg     117a <main+0x4a>
cmpl   $0x2710,-0x8(%rbp)
setle  %al
mov    %al,-0x19(%rbp)
mov    -0x19(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1050 <__VERIFIER_assume@plt>
xor    %eax,%eax
mov    $0xa,%ecx
cmp    -0xc(%rbp),%ecx
mov    %al,-0x1a(%rbp)
jg     11a7 <main+0x77>
cmpl   $0x2710,-0xc(%rbp)
setle  %al
mov    %al,-0x1a(%rbp)
mov    -0x1a(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1050 <__VERIFIER_assume@plt>
movl   $0x0,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1204 <main+0xd4>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    11f1 <main+0xc1>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11ce <main+0x9e>
jmp    11f6 <main+0xc6>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11bb <main+0x8b>
cmpl   $0x64,-0x10(%rbp)
setge  %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <__VERIFIER_assert@plt>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
xor    %r14d,%r14d
xor    %eax,%eax
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,%ebp
lea    -0xa(%rbx),%eax
xor    %edi,%edi
cmp    $0x2707,%eax
setb   %dil
call   1050 <__VERIFIER_assume@plt>
lea    -0xa(%rbp),%eax
xor    %edi,%edi
cmp    $0x2707,%eax
setb   %dil
call   1050 <__VERIFIER_assume@plt>
test   %ebx,%ebx
jle    1187 <main+0x57>
xor    %eax,%eax
test   %ebp,%ebp
cmovg  %ebp,%eax
imul   %eax,%ebx
xor    %r14d,%r14d
cmp    $0x64,%ebx
setge  %r14b
mov    %r14d,%edi
call   1040 <__VERIFIER_assert@plt>
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
store i32 0, i32* %1
%7 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %7, i32* %2
%8 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %8, i32* %3
store i32 0, i32* %4
%9 = load i32, i32* %2
%10 = icmp sle i32 10, %9
br i1 %10, label %11, label %14
11: ; preds = %0
%12 = load i32, i32* %2
%13 = icmp sle i32 %12, 10000
br label %14
14: ; preds = %11, %0
%15 = phi i1 [ false, %0 ], [ %13, %11 ]
%16 = zext i1 %15 to i32
%17 = call i32 @__VERIFIER_assume(i32 %16)
%18 = load i32, i32* %3
%19 = icmp sle i32 10, %18
br i1 %19, label %20, label %23
20: ; preds = %14
%21 = load i32, i32* %3
%22 = icmp sle i32 %21, 10000
br label %23
23: ; preds = %20, %14
%24 = phi i1 [ false, %14 ], [ %22, %20 ]
%25 = zext i1 %24 to i32
%26 = call i32 @__VERIFIER_assume(i32 %25)
store i32 0, i32* %5
br label %27
27: ; preds = %43, %23
%28 = load i32, i32* %5
%29 = load i32, i32* %2
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %46
31: ; preds = %27
store i32 0, i32* %6
br label %32
32: ; preds = %39, %31
%33 = load i32, i32* %6
%34 = load i32, i32* %3
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %42
36: ; preds = %32
%37 = load i32, i32* %4
%38 = add nsw i32 %37, 1
store i32 %38, i32* %4
br label %39
39: ; preds = %36
%40 = load i32, i32* %6
%41 = add nsw i32 %40, 1
store i32 %41, i32* %6
br label %32
42: ; preds = %32
br label %43
43: ; preds = %42
%44 = load i32, i32* %5
%45 = add nsw i32 %44, 1
store i32 %45, i32* %5
br label %27
46: ; preds = %27
%47 = load i32, i32* %4
%48 = icmp sge i32 %47, 100
%49 = zext i1 %48 to i32
%50 = call i32 @__VERIFIER_assert(i32 %49)
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @__VERIFIER_nondet_int()
%2 = tail call i32 (...) @__VERIFIER_nondet_int()
%3 = add i32 %1, -10
%4 = icmp ult i32 %3, 9991
%5 = zext i1 %4 to i32
%6 = tail call i32 @__VERIFIER_assume(i32 %5)
%7 = add i32 %2, -10
%8 = icmp ult i32 %7, 9991
%9 = zext i1 %8 to i32
%10 = tail call i32 @__VERIFIER_assume(i32 %9)
%11 = icmp sgt i32 %1, 0
br i1 %11, label %12, label %17
12: ; preds = %0
%13 = call i32 @llvm.smax.i32(i32 %2, i32 0)
%14 = mul i32 %1, %13
%15 = icmp sgt i32 %14, 99
%16 = zext i1 %15 to i32
br label %17
17: ; preds = %12, %0
%18 = phi i32 [ 0, %0 ], [ %16, %12 ]
%19 = tail call i32 @__VERIFIER_assert(i32 %18)
ret i32 0
}