#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, char *argv[], char *envp[]) {
  if ((unsigned int)argc > (unsigned int)0xee6b27ff) {
    printf("Population exceeds %u\n", (unsigned int)0xee6b2800);
  }
  if ((unsigned int)argc <= (unsigned int)0xefffffff) {
    printf("The mask is %x\n", (unsigned int)0xf0000000);
  }
  if ((unsigned int)argc > 1) {
    printf("Arguments supplied\n");
  }
  if (0 - argc < -2) {
    printf("Three or more arguments\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
cmpl   $0xee6b27ff,-0x8(%rbp)
jbe    114a <main+0x3a>
lea    0xec2(%rip),%rdi
mov    $0xee6b2800,%esi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0xefffffff,-0x8(%rbp)
ja     116a <main+0x5a>
lea    0xeb9(%rip),%rdi
mov    $0xf0000000,%esi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x1,-0x8(%rbp)
jbe    1182 <main+0x72>
lea    0xeac(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
sub    -0x8(%rbp),%eax
cmp    $0xfffffffe,%eax
jge    119e <main+0x8e>
lea    0xea4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x20,%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, i8** %1, i8** %2) {
%4 = alloca i32
%5 = alloca i32
%6 = alloca i8**
%7 = alloca i8**
store i32 0, i32* %4
store i32 %0, i32* %5
store i8** %1, i8*** %6
store i8** %2, i8*** %7
%8 = load i32, i32* %5
%9 = icmp ugt i32 %8, -294967297
br i1 %9, label %10, label %12
10: ; preds = %3
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i32 -294967296)
br label %12
12: ; preds = %10, %3
%13 = load i32, i32* %5
%14 = icmp ule i32 %13, -268435457
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 -268435456)
br label %17
17: ; preds = %15, %12
%18 = load i32, i32* %5
%19 = icmp ugt i32 %18, 1
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0))
br label %22
22: ; preds = %20, %17
%23 = load i32, i32* %5
%24 = sub nsw i32 0, %23
%25 = icmp slt i32 %24, -2
br i1 %25, label %26, label %28
26: ; preds = %22
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0))
br label %28
28: ; preds = %26, %22
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, i8** nocapture readnone %1, i8** nocapture readnone %2) {
%4 = icmp ugt i32 %0, -294967297
br i1 %4, label %5, label %10
5: ; preds = %3
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0), i32 -294967296)
%7 = icmp ult i32 %0, -268435456
br i1 %7, label %8, label %16
8: ; preds = %5
%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)
br label %16
10: ; preds = %3
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i32 -268435456)
%12 = icmp ugt i32 %0, 1
br i1 %12, label %13, label %19
13: ; preds = %10
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.4, i64 0, i64 0))
%15 = icmp sgt i32 %0, 2
br i1 %15, label %16, label %19
16: ; preds = %13, %5, %8
%17 = phi i8* [ getelementptr inbounds ([19 x i8], [19 x i8]* @str.4, i64 0, i64 0), %8 ], [ getelementptr inbounds ([19 x i8], [19 x i8]* @str.4, i64 0, i64 0), %5 ], [ getelementptr inbounds ([24 x i8], [24 x i8]* @str, i64 0, i64 0), %13 ]
%18 = tail call i32 @puts(i8* dereferenceable(1) %17)
br label %19
19: ; preds = %16, %10, %13
ret i32 0
}