#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*/ DealWithCommands();
int /*<<< orphan*/ DealWithKeymap();
int /*<<< orphan*/ DealWithMenuBar();
int /*<<< orphan*/ Error(char *);
int TkParse();
Statement() {
  switch (TkParse()) {
  case 128:
    DealWithCommands();
    break;
  case 129:
    DealWithKeymap();
    break;
  case 130:
    DealWithMenuBar();
    break;
  default:
    Error("syntax");
  }
}


x86 assembly (clang, -O0):
<Statement>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
xor    %eax,%eax
call   1050 <TkParse@plt>
mov    %eax,%ecx
mov    %ecx,-0x8(%rbp)
sub    $0x80,%eax
je     119a <Statement+0x4a>
jmp    1174 <Statement+0x24>
mov    -0x8(%rbp),%eax
sub    $0x81,%eax
je     11a6 <Statement+0x56>
jmp    1187 <Statement+0x37>
mov    -0x8(%rbp),%eax
sub    $0x82,%eax
je     11b2 <Statement+0x62>
jmp    11be <Statement+0x6e>
mov    $0x0,%al
call   1070 <DealWithCommands@plt>
jmp    11ca <Statement+0x7a>
mov    $0x0,%al
call   1040 <DealWithKeymap@plt>
jmp    11ca <Statement+0x7a>
mov    $0x0,%al
call   1060 <DealWithMenuBar@plt>
jmp    11ca <Statement+0x7a>
lea    0xe3b(%rip),%rdi
call   1030 <Error@plt>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Statement>:
push   %rax
xor    %eax,%eax
call   1050 <TkParse@plt>
cmp    $0x82,%eax
je     1176 <Statement+0x26>
cmp    $0x81,%eax
je     117f <Statement+0x2f>
cmp    $0x80,%eax
jne    1188 <Statement+0x38>
xor    %eax,%eax
call   1070 <DealWithCommands@plt>
pop    %rcx
ret
xor    %eax,%eax
call   1060 <DealWithMenuBar@plt>
pop    %rcx
ret
xor    %eax,%eax
call   1040 <DealWithKeymap@plt>
pop    %rcx
ret
lea    0xe71(%rip),%rdi
call   1030 <Error@plt>
pop    %rcx
ret

LLVM IR (-O0):
@.str = [7 x i8] c"syntax\00"
define i32 @Statement() {
%1 = alloca i32
%2 = call i32 (...) @TkParse()
switch i32 %2, label %9 [
i32 128, label %3
i32 129, label %5
i32 130, label %7
]
3: ; preds = %0
%4 = call i32 (...) @DealWithCommands()
br label %11
5: ; preds = %0
%6 = call i32 (...) @DealWithKeymap()
br label %11
7: ; preds = %0
%8 = call i32 (...) @DealWithMenuBar()
br label %11
9: ; preds = %0
%10 = call i32 @Error(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
br label %11
11: ; preds = %9, %7, %5, %3
%12 = load i32, i32* %1
ret i32 %12
}

LLVM IR (-O2):
@.str = [7 x i8] c"syntax\00"
define i32 @Statement() {
%1 = tail call i32 (...) @TkParse()
switch i32 %1, label %8 [
i32 128, label %2
i32 129, label %4
i32 130, label %6
]
2: ; preds = %0
%3 = tail call i32 (...) @DealWithCommands()
br label %10
4: ; preds = %0
%5 = tail call i32 (...) @DealWithKeymap()
br label %10
6: ; preds = %0
%7 = tail call i32 (...) @DealWithMenuBar()
br label %10
8: ; preds = %0
%9 = tail call i32 @Error(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
br label %10
10: ; preds = %8, %6, %4, %2
ret i32 undef
}