#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 idBitLength, material_length, nlen;
  int j, k;
  nlen = __VERIFIER_nondet_int();
  idBitLength = __VERIFIER_nondet_int();
  material_length = __VERIFIER_nondet_int();
  __VERIFIER_assume(nlen == idBitLength / 32);
  for (j = 0; (j < idBitLength / 8) && (j < material_length); j++) {
    __VERIFIER_assert(0 <= j);
    __VERIFIER_assert(j < material_length);
    __VERIFIER_assert(0 <= j / 4);
    __VERIFIER_assert(j / 4 < nlen);
  }
  return;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    $0x0,%al
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,-0xc(%rbp)
mov    $0x0,%al
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,-0x4(%rbp)
mov    $0x0,%al
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,-0x8(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x18(%rbp)
mov    -0x4(%rbp),%eax
mov    $0x20,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x18(%rbp),%eax
cmp    %ecx,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1050 <__VERIFIER_assume@plt>
movl   $0x0,-0x10(%rbp)
mov    -0x10(%rbp),%ecx
mov    -0x4(%rbp),%eax
mov    $0x8,%esi
cltd
idiv   %esi
mov    %eax,%edx
xor    %eax,%eax
cmp    %edx,%ecx
mov    %al,-0x19(%rbp)
jge    11ab <main+0x7b>
mov    -0x10(%rbp),%eax
cmp    -0x8(%rbp),%eax
setl   %al
mov    %al,-0x19(%rbp)
mov    -0x19(%rbp),%al
test   $0x1,%al
jne    11bb <main+0x8b>
jmp    1227 <main+0xf7>
xor    %eax,%eax
cmp    -0x10(%rbp),%eax
setle  %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <__VERIFIER_assert@plt>
mov    -0x10(%rbp),%eax
cmp    -0x8(%rbp),%eax
setl   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <__VERIFIER_assert@plt>
mov    -0x10(%rbp),%eax
mov    $0x4,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
xor    %eax,%eax
cmp    %ecx,%eax
setle  %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <__VERIFIER_assert@plt>
mov    -0x10(%rbp),%eax
mov    $0x4,%ecx
cltd
idiv   %ecx
cmp    -0xc(%rbp),%eax
setl   %al
and    $0x1,%al
movzbl %al,%edi
call   1040 <__VERIFIER_assert@plt>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    1182 <main+0x52>
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,%r15d
xor    %eax,%eax
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,%r14d
xor    %eax,%eax
call   1030 <__VERIFIER_nondet_int@plt>
mov    %eax,%r12d
lea    0x1f(%r14),%eax
lea    0x7(%r14),%r13d
test   %r14d,%r14d
cmovns %r14d,%eax
cmovns %r14d,%r13d
sar    $0x5,%eax
xor    %edi,%edi
cmp    %eax,%r15d
sete   %dil
call   1050 <__VERIFIER_assume@plt>
cmp    $0x8,%r14d
jl     11e1 <main+0xb1>
test   %r12d,%r12d
jle    11e1 <main+0xb1>
sar    $0x3,%r13d
mov    $0x1,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
lea    -0x1(%rbp),%ebx
mov    $0x1,%edi
call   1040 <__VERIFIER_assert@plt>
mov    $0x1,%edi
call   1040 <__VERIFIER_assert@plt>
shr    $0x2,%ebx
mov    $0x1,%edi
call   1040 <__VERIFIER_assert@plt>
xor    %edi,%edi
cmp    %r15d,%ebx
setl   %dil
call   1040 <__VERIFIER_assert@plt>
cmp    %r13d,%ebp
jge    11e1 <main+0xb1>
lea    0x1(%rbp),%eax
cmp    %r12d,%ebp
mov    %eax,%ebp
jl     11a0 <main+0x70>
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 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %6, i32* %3
%7 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %7, i32* %1
%8 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %8, i32* %2
%9 = load i32, i32* %3
%10 = load i32, i32* %1
%11 = sdiv i32 %10, 32
%12 = icmp eq i32 %9, %11
%13 = zext i1 %12 to i32
%14 = call i32 @__VERIFIER_assume(i32 %13)
store i32 0, i32* %4
br label %15
15: ; preds = %47, %0
%16 = load i32, i32* %4
%17 = load i32, i32* %1
%18 = sdiv i32 %17, 8
%19 = icmp slt i32 %16, %18
br i1 %19, label %20, label %24
20: ; preds = %15
%21 = load i32, i32* %4
%22 = load i32, i32* %2
%23 = icmp slt i32 %21, %22
br label %24
24: ; preds = %20, %15
%25 = phi i1 [ false, %15 ], [ %23, %20 ]
br i1 %25, label %26, label %50
26: ; preds = %24
%27 = load i32, i32* %4
%28 = icmp sle i32 0, %27
%29 = zext i1 %28 to i32
%30 = call i32 @__VERIFIER_assert(i32 %29)
%31 = load i32, i32* %4
%32 = load i32, i32* %2
%33 = icmp slt i32 %31, %32
%34 = zext i1 %33 to i32
%35 = call i32 @__VERIFIER_assert(i32 %34)
%36 = load i32, i32* %4
%37 = sdiv i32 %36, 4
%38 = icmp sle i32 0, %37
%39 = zext i1 %38 to i32
%40 = call i32 @__VERIFIER_assert(i32 %39)
%41 = load i32, i32* %4
%42 = sdiv i32 %41, 4
%43 = load i32, i32* %3
%44 = icmp slt i32 %42, %43
%45 = zext i1 %44 to i32
%46 = call i32 @__VERIFIER_assert(i32 %45)
br label %47
47: ; preds = %26
%48 = load i32, i32* %4
%49 = add nsw i32 %48, 1
store i32 %49, i32* %4
br label %15
50: ; preds = %24
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 = sdiv i32 %2, 32
%5 = icmp eq i32 %1, %4
%6 = zext i1 %5 to i32
%7 = tail call i32 @__VERIFIER_assume(i32 %6)
%8 = sdiv i32 %2, 8
%9 = icmp sgt i32 %2, 7
%10 = icmp sgt i32 %3, 0
%11 = select i1 %9, i1 %10, i1 false
br i1 %11, label %12, label %25
12: ; preds = %0, %12
%13 = phi i32 [ %21, %12 ], [ 0, %0 ]
%14 = tail call i32 @__VERIFIER_assert(i32 1)
%15 = tail call i32 @__VERIFIER_assert(i32 1)
%16 = lshr i32 %13, 2
%17 = tail call i32 @__VERIFIER_assert(i32 1)
%18 = icmp slt i32 %16, %1
%19 = zext i1 %18 to i32
%20 = tail call i32 @__VERIFIER_assert(i32 %19)
%21 = add nuw nsw i32 %13, 1
%22 = icmp slt i32 %21, %8
%23 = icmp slt i32 %21, %3
%24 = select i1 %22, i1 %23, i1 false
br i1 %24, label %12, label %25
25: ; preds = %12, %0
ret void
}