#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*/ printf(char *, ...);
int main(int argc) {
  if (argc >= 4000000000U)
    printf("Population exceeds %u\n", 4000000000U);
  if (argc < 0xF0000000)
    printf("The mask is %x\n", 0xF0000000);
  unsigned u = (unsigned)argc;
  if (u >= 2)
    printf("Arguments supplied\n");
  if (-argc < -2)
    printf("Three or more arguments\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
cmpl   $0xee6b2800,-0x8(%rbp)
jb     1142 <main+0x32>
lea    0xeca(%rip),%rdi
mov    $0xee6b2800,%esi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0xf0000000,-0x8(%rbp)
jae    1162 <main+0x52>
lea    0xec1(%rip),%rdi
mov    $0xf0000000,%esi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,-0xc(%rbp)
cmpl   $0x2,-0xc(%rbp)
jb     1180 <main+0x70>
lea    0xeae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
sub    -0x8(%rbp),%eax
cmp    $0xfffffffe,%eax
jge    119c <main+0x8c>
lea    0xea6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
push   %rax
mov    %edi,%ebx
cmp    $0xee6b2800,%edi
jb     1165 <main+0x45>
lea    0xecb(%rip),%rdi
mov    $0xee6b2800,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xef7(%rip),%r14
cmp    $0xefffffff,%ebx
ja     1195 <main+0x75>
lea    0xec0(%rip),%rdi
mov    $0xf0000000,%esi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1195 <main+0x75>
lea    0xeab(%rip),%rdi
mov    $0xf0000000,%esi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x2,%ebx
jb     119d <main+0x7d>
lea    0xebb(%rip),%rdi
call   1030 <puts@plt>
cmp    $0x3,%ebx
jl     119d <main+0x7d>
lea    0xe92(%rip),%r14
mov    %r14,%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
@.str = [23 x i8] c"Population exceeds %u\0A\00"
@.str.1 = [16 x i8] c"The mask is %x\0A\00"
@.str.2 = [20 x i8] c"Arguments supplied\0A\00"
@.str.3 = [25 x i8] c"Three or more arguments\0A\00"
define i32 @main(i32 %0) {
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
store i32 0, i32* %2
store i32 %0, i32* %3
%5 = load i32, i32* %3
%6 = icmp uge i32 %5, -294967296
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i32 -294967296)
br label %9
9: ; preds = %7, %1
%10 = load i32, i32* %3
%11 = icmp ult i32 %10, -268435456
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 -268435456)
br label %14
14: ; preds = %12, %9
%15 = load i32, i32* %3
store i32 %15, i32* %4
%16 = load i32, i32* %4
%17 = icmp uge i32 %16, 2
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0))
br label %20
20: ; preds = %18, %14
%21 = load i32, i32* %3
%22 = sub nsw i32 0, %21
%23 = icmp slt i32 %22, -2
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0))
br label %26
26: ; preds = %24, %20
ret i32 0
}

LLVM IR (-O2):
@.str = [23 x i8] c"Population exceeds %u\0A\00"
@.str.1 = [16 x i8] c"The mask is %x\0A\00"
@str = [24 x i8] c"Three or more arguments\00"
@str.4 = [19 x i8] c"Arguments supplied\00"
define i32 @main(i32 %0) {
%2 = icmp ugt i32 %0, -294967297
br i1 %2, label %3, label %8
3: ; preds = %1
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i32 -294967296)
%5 = icmp ult i32 %0, -268435456
br i1 %5, label %6, label %14
6: ; preds = %3
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 -268435456)
br label %14
8: ; preds = %1
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 -268435456)
%10 = icmp ugt i32 %0, 1
br i1 %10, label %11, label %17
11: ; preds = %8
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.4, i64 0, i64 0))
%13 = icmp sgt i32 %0, 2
br i1 %13, label %14, label %17
14: ; preds = %11, %3, %6
%15 = phi i8* [ getelementptr inbounds ([19 x i8], [19 x i8]* @str.4, i64 0, i64 0), %6 ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @str.4, i64 0, i64 0), %3 ], [ getelementptr inbounds ([24 x i8], [24 x i8]* @str, i64 0, i64 0), %11 ]
%16 = tail call i32 @puts(i8* dereferenceable(1) %15)
br label %17
17: ; preds = %14, %8, %11
ret i32 0
}