#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*/ puts(char *);
int main(int argc, char *argv[], char *envp[]) {
  char *o0;
  o0 = "Other!";
  if (argc <= 1) {
  L2:
    puts(o0);
  } else {
    if ((unsigned int)(argc - 2 & 0x7) > 7) {
    } else {
      switch (argc - 2 & 0x7) {
      case 0:
        o0 = "Two!";
        goto L2;
      case 1:
        o0 = "Three!";
        goto L2;
      case 2:
        o0 = "Four!";
        goto L2;
      case 3:
        o0 = "Five!";
        goto L2;
      case 4:
        o0 = "Six!";
        goto L2;
      case 5:
      L9:
        o0 = "Seven or more!";
        goto L2;
      case 6:
        goto L9;
      case 7:
        goto L9;
      }
      goto L2;
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
lea    0xeef(%rip),%rax
mov    %rax,-0x20(%rbp)
cmpl   $0x1,-0x8(%rbp)
jg     1152 <main+0x42>
jmp    1144 <main+0x34>
mov    -0x20(%rbp),%rdi
call   1030 <puts@plt>
jmp    120e <main+0xfe>
mov    -0x8(%rbp),%eax
sub    $0x2,%eax
and    $0x7,%eax
cmp    $0x7,%eax
jbe    1169 <main+0x59>
jmp    1209 <main+0xf9>
mov    -0x8(%rbp),%eax
add    $0xfffffffe,%eax
and    $0x7,%eax
mov    %eax,%ecx
mov    %rcx,-0x28(%rbp)
sub    $0x7,%eax
ja     1204 <main+0xf4>
mov    -0x28(%rbp),%rax
lea    0xe74(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xe8b(%rip),%rax
mov    %rax,-0x20(%rbp)
jmp    1144 <main+0x34>
lea    0xe80(%rip),%rax
mov    %rax,-0x20(%rbp)
jmp    1144 <main+0x34>
lea    0xe77(%rip),%rax
mov    %rax,-0x20(%rbp)
jmp    1144 <main+0x34>
lea    0xe6d(%rip),%rax
mov    %rax,-0x20(%rbp)
jmp    1144 <main+0x34>
lea    0xe63(%rip),%rax
mov    %rax,-0x20(%rbp)
jmp    1144 <main+0x34>
jmp    11ea <main+0xda>
lea    0xe53(%rip),%rax
mov    %rax,-0x20(%rbp)
jmp    1144 <main+0x34>
jmp    11ea <main+0xda>
jmp    11ea <main+0xda>
jmp    1144 <main+0x34>
jmp    120e <main+0xfe>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
cmp    $0x1,%edi
jg     111f <main+0xf>
lea    0xee3(%rip),%rdi
jmp    1133 <main+0x23>
add    $0x6,%edi
and    $0x7,%edi
lea    0xf08(%rip),%rax
movslq (%rax,%rdi,4),%rdi
add    %rax,%rdi
call   1030 <puts@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [7 x i8] c"Other!\00"
@.str.1 = [5 x i8] c"Two!\00"
@.str.2 = [7 x i8] c"Three!\00"
@.str.3 = [6 x i8] c"Four!\00"
@.str.4 = [6 x i8] c"Five!\00"
@.str.5 = [5 x i8] c"Six!\00"
@.str.6 = [15 x i8] c"Seven or more!\00"
define i32 @main(i32 %0, i8** %1, i8** %2) {
%4 = alloca i32
%5 = alloca i32
%6 = alloca i8**
%7 = alloca i8**
%8 = alloca i8*
store i32 0, i32* %4
store i32 %0, i32* %5
store i8** %1, i8*** %6
store i8** %2, i8*** %7
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8** %8
%9 = load i32, i32* %5
%10 = icmp sle i32 %9, 1
br i1 %10, label %11, label %15
11: ; preds = %3
br label %12
12: ; preds = %34, %31, %29, %28, %27, %26, %25, %11
%13 = load i8*, i8** %8
%14 = call i32 @puts(i8* %13)
br label %36
15: ; preds = %3
%16 = load i32, i32* %5
%17 = sub nsw i32 %16, 2
%18 = and i32 %17, 7
%19 = icmp ugt i32 %18, 7
br i1 %19, label %20, label %21
20: ; preds = %15
br label %35
21: ; preds = %15
%22 = load i32, i32* %5
%23 = sub nsw i32 %22, 2
%24 = and i32 %23, 7
switch i32 %24, label %34 [
i32 0, label %25
i32 1, label %26
i32 2, label %27
i32 3, label %28
i32 4, label %29
i32 5, label %30
i32 6, label %32
i32 7, label %33
]
25: ; preds = %21
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i8** %8
br label %12
26: ; preds = %21
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0), i8** %8
br label %12
27: ; preds = %21
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8** %8
br label %12
28: ; preds = %21
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8** %8
br label %12
29: ; preds = %21
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0), i8** %8
br label %12
30: ; preds = %21
br label %31
31: ; preds = %33, %32, %30
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.6, i64 0, i64 0), i8** %8
br label %12
32: ; preds = %21
br label %31
33: ; preds = %21
br label %31
34: ; preds = %21
br label %12
35: ; preds = %20
br label %36
36: ; preds = %35, %12
ret i32 0
}

LLVM IR (-O2):
@.str = [7 x i8] c"Other!\00"
@.str.1 = [5 x i8] c"Two!\00"
@.str.2 = [7 x i8] c"Three!\00"
@.str.3 = [6 x i8] c"Four!\00"
@.str.4 = [6 x i8] c"Five!\00"
@.str.5 = [5 x i8] c"Six!\00"
@.str.6 = [15 x i8] c"Seven or more!\00"
@reltable.main = [8 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.1 to i64), i64 ptrtoint ([8 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.2 to i64), i64 ptrtoint ([8 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.3 to i64), i64 ptrtoint ([8 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.4 to i64), i64 ptrtoint ([8 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.5 to i64), i64 ptrtoint ([8 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.6 to i64), i64 ptrtoint ([8 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.6 to i64), i64 ptrtoint ([8 x i32]* @reltable.main to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.6 to i64), i64 ptrtoint ([8 x i32]* @reltable.main to i64)) to i32)]
define i32 @main(i32 %0, i8** nocapture readnone %1, i8** nocapture readnone %2) {
%4 = icmp slt i32 %0, 2
br i1 %4, label %5, label %8
5: ; preds = %8, %3
%6 = phi i8* [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), %3 ], [ %13, %8 ]
%7 = tail call i32 @puts(i8* dereferenceable(1) %6)
ret i32 0
8: ; preds = %3
%9 = add nuw i32 %0, 6
%10 = and i32 %9, 7
%11 = zext i32 %10 to i64
%12 = shl i64 %11, 2
%13 = call i8* @llvm.load.relative.i64(i8* bitcast ([8 x i32]* @reltable.main to i8*), i64 %12)
br label %5
}