#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*/ assert(int);
int main() {
  int x;
  int y;
  if (!(x < y))
    return 0;
  while (x < y) {
    if (x < 0 && y < 0) {
      x = x + 7;
      y = y - 10;
    } else if (x >= 0 && y < 0) {
      x = x + 10;
      y = y - 10;
    } else if (x < 0 && y >= 0) {
      x = x + 7;
      y = y + 3;
    } else {
      x = x + 10;
      y = y + 3;
    }
  }
  assert(x >= y && x <= y + 16);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
jl     1137 <main+0x27>
movl   $0x0,-0x4(%rbp)
jmp    1220 <main+0x110>
jmp    113c <main+0x2c>
mov    -0x8(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    11ea <main+0xda>
cmpl   $0x0,-0x8(%rbp)
jge    1173 <main+0x63>
cmpl   $0x0,-0xc(%rbp)
jge    1173 <main+0x63>
mov    -0x8(%rbp),%eax
add    $0x7,%eax
mov    %eax,-0x8(%rbp)
mov    -0xc(%rbp),%eax
sub    $0xa,%eax
mov    %eax,-0xc(%rbp)
jmp    11e5 <main+0xd5>
cmpl   $0x0,-0x8(%rbp)
jl     119e <main+0x8e>
cmpl   $0x0,-0xc(%rbp)
jge    119e <main+0x8e>
mov    -0x8(%rbp),%eax
add    $0xa,%eax
mov    %eax,-0x8(%rbp)
mov    -0xc(%rbp),%eax
sub    $0xa,%eax
mov    %eax,-0xc(%rbp)
jmp    11e0 <main+0xd0>
cmpl   $0x0,-0x8(%rbp)
jge    11c9 <main+0xb9>
cmpl   $0x0,-0xc(%rbp)
jl     11c9 <main+0xb9>
mov    -0x8(%rbp),%eax
add    $0x7,%eax
mov    %eax,-0x8(%rbp)
mov    -0xc(%rbp),%eax
add    $0x3,%eax
mov    %eax,-0xc(%rbp)
jmp    11db <main+0xcb>
mov    -0x8(%rbp),%eax
add    $0xa,%eax
mov    %eax,-0x8(%rbp)
mov    -0xc(%rbp),%eax
add    $0x3,%eax
mov    %eax,-0xc(%rbp)
jmp    11e0 <main+0xd0>
jmp    11e5 <main+0xd5>
jmp    113c <main+0x2c>
mov    -0x8(%rbp),%ecx
xor    %eax,%eax
cmp    -0xc(%rbp),%ecx
mov    %al,-0xd(%rbp)
jl     120c <main+0xfc>
mov    -0x8(%rbp),%eax
mov    -0xc(%rbp),%ecx
add    $0x10,%ecx
cmp    %ecx,%eax
setle  %al
mov    %al,-0xd(%rbp)
mov    -0xd(%rbp),%al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
xor    %eax,%eax
ret

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

LLVM IR (-O2):
define i32 @main() {
ret i32 0
}