#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();
void main() {
  int i, j, k, n, l, m;
  n = __VERIFIER_nondet_int();
  m = __VERIFIER_nondet_int();
  l = __VERIFIER_nondet_int();
  __VERIFIER_assume(-1000000 < n && n < 1000000);
  if (3 * n <= m + l)
    ;
  else
    goto END;
  for (i = 0; i < n; i++)
    for (j = 2 * i; j < 3 * i; j++)
      for (k = i; k < j; k++)
        __VERIFIER_assert(k - i <= 2 * n);
END:;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    $0x0,%al
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,-0x10(%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,-0x14(%rbp)
xor    %eax,%eax
mov    $0xfff0bdc0,%ecx
cmp    -0x10(%rbp),%ecx
mov    %al,-0x19(%rbp)
jge    1176 <main+0x46>
cmpl   $0xf4240,-0x10(%rbp)
setl   %al
mov    %al,-0x19(%rbp)
mov    -0x19(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1050 <__VERIFIER_assume@plt>
imul   $0x3,-0x10(%rbp),%eax
mov    -0x18(%rbp),%ecx
add    -0x14(%rbp),%ecx
cmp    %ecx,%eax
jg     119a <main+0x6a>
jmp    119f <main+0x6f>
jmp    1230 <main+0x100>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    122b <main+0xfb>
mov    -0x4(%rbp),%eax
shl    $0x1,%eax
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%eax
imul   $0x3,-0x4(%rbp),%ecx
cmp    %ecx,%eax
jge    1218 <main+0xe8>
mov    -0x4(%rbp),%eax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1205 <main+0xd5>
mov    -0xc(%rbp),%eax
sub    -0x4(%rbp),%eax
mov    -0x10(%rbp),%ecx
shl    $0x1,%ecx
cmp    %ecx,%eax
setle  %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <__VERIFIER_assert@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    11d0 <main+0xa0>
jmp    120a <main+0xda>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11bb <main+0x8b>
jmp    121d <main+0xed>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    11a6 <main+0x76>
jmp    1230 <main+0x100>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
xor    %eax,%eax
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,%ebx
xor    %eax,%eax
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,%r14d
xor    %eax,%eax
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,%ebp
lea    0xf423f(%rbx),%eax
xor    %edi,%edi
cmp    $0x1e847f,%eax
setb   %dil
call   1050 <__VERIFIER_assume@plt>
mov    %rbx,(%rsp)
lea    (%rbx,%rbx,2),%eax
add    %r14d,%ebp
cmp    %ebp,%eax
jg     11e9 <main+0xb9>
cmpl   $0x0,(%rsp)
jle    11e9 <main+0xb9>
mov    (%rsp),%rax
lea    (%rax,%rax,1),%ebp
xor    %r14d,%r14d
xor    %r12d,%r12d
jmp    119e <main+0x6e>
add    $0x1,%r12d
add    $0x3,%r14d
cmp    (%rsp),%r12d
je     11e9 <main+0xb9>
lea    (%r12,%r12,1),%r13d
lea    (%r12,%r12,2),%eax
cmp    %eax,%r13d
jae    1190 <main+0x60>
mov    %r12d,%ebx
jmp    11bc <main+0x8c>
add    $0x1,%r13d
add    $0x1,%ebx
cmp    %r14d,%r13d
je     1190 <main+0x60>
cmp    %r13d,%r12d
jae    11b0 <main+0x80>
xor    %r15d,%r15d
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
xor    %edi,%edi
cmp    %ebp,%r15d
setle  %dil
call   1040 <__VERIFIER_assert@plt>
add    $0x1,%r15d
cmp    %r15d,%ebx
jne    11d0 <main+0xa0>
jmp    11b0 <main+0x80>
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %7, i32* %4
%8 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %8, i32* %6
%9 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %9, i32* %5
%10 = load i32, i32* %4
%11 = icmp slt i32 -1000000, %10
br i1 %11, label %12, label %15
12: ; preds = %0
%13 = load i32, i32* %4
%14 = icmp slt i32 %13, 1000000
br label %15
15: ; preds = %12, %0
%16 = phi i1 [ false, %0 ], [ %14, %12 ]
%17 = zext i1 %16 to i32
%18 = call i32 @__VERIFIER_assume(i32 %17)
%19 = load i32, i32* %4
%20 = mul nsw i32 3, %19
%21 = load i32, i32* %6
%22 = load i32, i32* %5
%23 = add nsw i32 %21, %22
%24 = icmp sle i32 %20, %23
br i1 %24, label %25, label %26
25: ; preds = %15
br label %27
26: ; preds = %15
br label %67
27: ; preds = %25
store i32 0, i32* %1
br label %28
28: ; preds = %63, %27
%29 = load i32, i32* %1
%30 = load i32, i32* %4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %66
32: ; preds = %28
%33 = load i32, i32* %1
%34 = mul nsw i32 2, %33
store i32 %34, i32* %2
br label %35
35: ; preds = %59, %32
%36 = load i32, i32* %2
%37 = load i32, i32* %1
%38 = mul nsw i32 3, %37
%39 = icmp slt i32 %36, %38
br i1 %39, label %40, label %62
40: ; preds = %35
%41 = load i32, i32* %1
store i32 %41, i32* %3
br label %42
42: ; preds = %55, %40
%43 = load i32, i32* %3
%44 = load i32, i32* %2
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %58
46: ; preds = %42
%47 = load i32, i32* %3
%48 = load i32, i32* %1
%49 = sub nsw i32 %47, %48
%50 = load i32, i32* %4
%51 = mul nsw i32 2, %50
%52 = icmp sle i32 %49, %51
%53 = zext i1 %52 to i32
%54 = call i32 @__VERIFIER_assert(i32 %53)
br label %55
55: ; preds = %46
%56 = load i32, i32* %3
%57 = add nsw i32 %56, 1
store i32 %57, i32* %3
br label %42
58: ; preds = %42
br label %59
59: ; preds = %58
%60 = load i32, i32* %2
%61 = add nsw i32 %60, 1
store i32 %61, i32* %2
br label %35
62: ; preds = %35
br label %63
63: ; preds = %62
%64 = load i32, i32* %1
%65 = add nsw i32 %64, 1
store i32 %65, i32* %1
br label %28
66: ; preds = %28
br label %67
67: ; preds = %66, %26
ret void
}

LLVM IR (-O2):
define void @main() {
%1 = tail call i32 (...) @__VERIFIER_nondet_int()
%2 = tail call i32 (...) @__VERIFIER_nondet_int()
%3 = tail call i32 (...) @__VERIFIER_nondet_int()
%4 = add i32 %1, 999999
%5 = icmp ult i32 %4, 1999999
%6 = zext i1 %5 to i32
%7 = tail call i32 @__VERIFIER_assume(i32 %6)
%8 = mul nsw i32 %1, 3
%9 = add nsw i32 %3, %2
%10 = icmp sle i32 %8, %9
%11 = icmp sgt i32 %1, 0
%12 = and i1 %10, %11
br i1 %12, label %13, label %39
13: ; preds = %0
%14 = shl nuw nsw i32 %1, 1
br label %15
15: ; preds = %13, %35
%16 = phi i32 [ 0, %13 ], [ %37, %35 ]
%17 = phi i32 [ 0, %13 ], [ %36, %35 ]
%18 = shl nuw nsw i32 %17, 1
%19 = mul nsw i32 %17, 3
%20 = icmp ult i32 %18, %19
br i1 %20, label %21, label %35
21: ; preds = %15, %32
%22 = phi i32 [ %33, %32 ], [ %18, %15 ]
%23 = icmp ult i32 %17, %22
br i1 %23, label %24, label %32
24: ; preds = %21, %24
%25 = phi i32 [ %30, %24 ], [ %17, %21 ]
%26 = sub nuw nsw i32 %25, %17
%27 = icmp sle i32 %26, %14
%28 = zext i1 %27 to i32
%29 = tail call i32 @__VERIFIER_assert(i32 %28)
%30 = add nuw i32 %25, 1
%31 = icmp eq i32 %30, %22
br i1 %31, label %32, label %24
32: ; preds = %24, %21
%33 = add i32 %22, 1
%34 = icmp eq i32 %33, %16
br i1 %34, label %35, label %21
35: ; preds = %32, %15
%36 = add nuw nsw i32 %17, 1
%37 = add i32 %16, 3
%38 = icmp eq i32 %36, %1
br i1 %38, label %39, label %15
39: ; preds = %35, %0
ret void
}