#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 __VERIFIER_nondet_int();
int main() {
  int i = __VERIFIER_nondet_int();
  int j = __VERIFIER_nondet_int();
  int k = __VERIFIER_nondet_int();
  int n = __VERIFIER_nondet_int();
  int m = __VERIFIER_nondet_int();
  int N = __VERIFIER_nondet_int();
  if (0 <= n && 0 <= m && 0 <= N) {
    i = 0;
    while (i < n) {
      j = 0;
      while (j < m) {
        j += 1;
        k = i;
        while (k < N)
          k += 1;
        i = k;
      }
      i++;
    }
  }
  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)
mov    $0x0,%al
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,-0x10(%rbp)
mov    $0x0,%al
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,-0x14(%rbp)
mov    $0x0,%al
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,-0x18(%rbp)
mov    $0x0,%al
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,-0x1c(%rbp)
xor    %eax,%eax
cmp    -0x14(%rbp),%eax
jg     11e9 <main+0xd9>
xor    %eax,%eax
cmp    -0x18(%rbp),%eax
jg     11e9 <main+0xd9>
xor    %eax,%eax
cmp    -0x1c(%rbp),%eax
jg     11e9 <main+0xd9>
movl   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    11e4 <main+0xd4>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    11d6 <main+0xc6>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
mov    -0x8(%rbp),%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    11cb <main+0xbb>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    11b1 <main+0xa1>
mov    -0x10(%rbp),%eax
mov    %eax,-0x8(%rbp)
jmp    1196 <main+0x86>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1183 <main+0x73>
jmp    11e9 <main+0xd9>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1030 <__VERIFIER_nondet_int@plt>
xor    %eax,%eax
call   1030 <__VERIFIER_nondet_int@plt>
xor    %eax,%eax
call   1030 <__VERIFIER_nondet_int@plt>
xor    %eax,%eax
call   1030 <__VERIFIER_nondet_int@plt>
xor    %eax,%eax
call   1030 <__VERIFIER_nondet_int@plt>
xor    %eax,%eax
call   1030 <__VERIFIER_nondet_int@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 i32
%7 = alloca i32
store i32 0, i32* %1
%8 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %8, i32* %2
%9 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %9, i32* %3
%10 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %10, i32* %4
%11 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %11, i32* %5
%12 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %12, i32* %6
%13 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %13, i32* %7
%14 = load i32, i32* %5
%15 = icmp sle i32 0, %14
br i1 %15, label %16, label %49
16: ; preds = %0
%17 = load i32, i32* %6
%18 = icmp sle i32 0, %17
br i1 %18, label %19, label %49
19: ; preds = %16
%20 = load i32, i32* %7
%21 = icmp sle i32 0, %20
br i1 %21, label %22, label %49
22: ; preds = %19
store i32 0, i32* %2
br label %23
23: ; preds = %45, %22
%24 = load i32, i32* %2
%25 = load i32, i32* %5
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %48
27: ; preds = %23
store i32 0, i32* %3
br label %28
28: ; preds = %43, %27
%29 = load i32, i32* %3
%30 = load i32, i32* %6
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %45
32: ; preds = %28
%33 = load i32, i32* %3
%34 = add nsw i32 %33, 1
store i32 %34, i32* %3
%35 = load i32, i32* %2
store i32 %35, i32* %4
br label %36
36: ; preds = %40, %32
%37 = load i32, i32* %4
%38 = load i32, i32* %7
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %43
40: ; preds = %36
%41 = load i32, i32* %4
%42 = add nsw i32 %41, 1
store i32 %42, i32* %4
br label %36
43: ; preds = %36
%44 = load i32, i32* %4
store i32 %44, i32* %2
br label %28
45: ; preds = %28
%46 = load i32, i32* %2
%47 = add nsw i32 %46, 1
store i32 %47, i32* %2
br label %23
48: ; preds = %23
br label %49
49: ; preds = %48, %19, %16, %0
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @__VERIFIER_nondet_int()
%2 = tail call i32 (...) @__VERIFIER_nondet_int()
%3 = tail call i32 (...) @__VERIFIER_nondet_int()
%4 = tail call i32 (...) @__VERIFIER_nondet_int()
%5 = tail call i32 (...) @__VERIFIER_nondet_int()
%6 = tail call i32 (...) @__VERIFIER_nondet_int()
ret i32 0
}