#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_error();
int main() {
  int s;
  int t;
  int d = s - t;
  if (d < 2 || d > 8)
    return 0;
  int x;
  int a = x ? 64 : 512;
  int b = a * d;
  if (b >= 2048)
    __VERIFIER_error();
  if (b < 128)
    __VERIFIER_error();
  while (a > 0)
    a--;
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    -0x8(%rbp),%eax
sub    -0xc(%rbp),%eax
mov    %eax,-0x10(%rbp)
cmpl   $0x2,-0x10(%rbp)
jl     113c <main+0x2c>
cmpl   $0x8,-0x10(%rbp)
jle    1148 <main+0x38>
movl   $0x0,-0x4(%rbp)
jmp    11b4 <main+0xa4>
mov    -0x14(%rbp),%edx
mov    $0x200,%eax
mov    $0x40,%ecx
cmp    $0x0,%edx
cmovne %ecx,%eax
mov    %eax,-0x18(%rbp)
mov    -0x18(%rbp),%eax
imul   -0x10(%rbp),%eax
mov    %eax,-0x1c(%rbp)
cmpl   $0x800,-0x1c(%rbp)
jl     117c <main+0x6c>
mov    $0x0,%al
call   1030 <__VERIFIER_error@plt>
cmpl   $0x80,-0x1c(%rbp)
jge    1190 <main+0x80>
mov    $0x0,%al
call   1030 <__VERIFIER_error@plt>
jmp    1195 <main+0x85>
cmpl   $0x0,-0x18(%rbp)
jle    11ad <main+0x9d>
mov    -0x18(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x18(%rbp)
jmp    1195 <main+0x85>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1030 <__VERIFIER_error@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 = load i32, i32* %2
%9 = load i32, i32* %3
%10 = sub nsw i32 %8, %9
store i32 %10, i32* %4
%11 = load i32, i32* %4
%12 = icmp slt i32 %11, 2
br i1 %12, label %16, label %13
13: ; preds = %0
%14 = load i32, i32* %4
%15 = icmp sgt i32 %14, 8
br i1 %15, label %16, label %17
16: ; preds = %13, %0
store i32 0, i32* %1
br label %42
17: ; preds = %13
%18 = load i32, i32* %5
%19 = icmp ne i32 %18, 0
%20 = zext i1 %19 to i64
%21 = select i1 %19, i32 64, i32 512
store i32 %21, i32* %6
%22 = load i32, i32* %6
%23 = load i32, i32* %4
%24 = mul nsw i32 %22, %23
store i32 %24, i32* %7
%25 = load i32, i32* %7
%26 = icmp sge i32 %25, 2048
br i1 %26, label %27, label %29
27: ; preds = %17
%28 = call i32 (...) @__VERIFIER_error()
br label %29
29: ; preds = %27, %17
%30 = load i32, i32* %7
%31 = icmp slt i32 %30, 128
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = call i32 (...) @__VERIFIER_error()
br label %34
34: ; preds = %32, %29
br label %35
35: ; preds = %38, %34
%36 = load i32, i32* %6
%37 = icmp sgt i32 %36, 0
br i1 %37, label %38, label %41
38: ; preds = %35
%39 = load i32, i32* %6
%40 = add nsw i32 %39, -1
store i32 %40, i32* %6
br label %35
41: ; preds = %35
store i32 0, i32* %1
br label %42
42: ; preds = %41, %16
%43 = load i32, i32* %1
ret i32 %43
}

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