#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*/ get_lexval();
int yyselect();
arithmatic_high_level() {
  switch (yyselect()) {
  case 39: {
    get_lexval();
  } break;
  case 40: {
    get_lexval();
  } break;
  case 41: {
    get_lexval();
  } break;
  case 42: {
    get_lexval();
  } break;
  case 43: {
    get_lexval();
  } break;
  case 44: {
    get_lexval();
  } break;
  case 45: {
    get_lexval();
  } break;
  case 46: {
    get_lexval();
  } break;
  }
}


x86 assembly (clang, -O0):
<arithmatic_high_level>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
xor    %eax,%eax
call   1030 <yyselect@plt>
add    $0xffffffd9,%eax
mov    %eax,%ecx
mov    %rcx,-0x10(%rbp)
sub    $0x7,%eax
ja     11b0 <arithmatic_high_level+0x90>
mov    -0x10(%rbp),%rax
lea    0xeb4(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x0,%al
call   1040 <get_lexval@plt>
jmp    11b0 <arithmatic_high_level+0x90>
mov    $0x0,%al
call   1040 <get_lexval@plt>
jmp    11b0 <arithmatic_high_level+0x90>
mov    $0x0,%al
call   1040 <get_lexval@plt>
jmp    11b0 <arithmatic_high_level+0x90>
mov    $0x0,%al
call   1040 <get_lexval@plt>
jmp    11b0 <arithmatic_high_level+0x90>
mov    $0x0,%al
call   1040 <get_lexval@plt>
jmp    11b0 <arithmatic_high_level+0x90>
mov    $0x0,%al
call   1040 <get_lexval@plt>
jmp    11b0 <arithmatic_high_level+0x90>
mov    $0x0,%al
call   1040 <get_lexval@plt>
jmp    11b0 <arithmatic_high_level+0x90>
mov    $0x0,%al
call   1040 <get_lexval@plt>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<arithmatic_high_level>:
push   %rax
xor    %eax,%eax
call   1030 <yyselect@plt>
add    $0xffffffd9,%eax
cmp    $0x7,%eax
ja     1137 <arithmatic_high_level+0x17>
xor    %eax,%eax
call   1040 <get_lexval@plt>
pop    %rcx
ret

LLVM IR (-O0):
define i32 @arithmatic_high_level() {
%1 = alloca i32
%2 = call i32 (...) @yyselect()
switch i32 %2, label %19 [
i32 39, label %3
i32 40, label %5
i32 41, label %7
i32 42, label %9
i32 43, label %11
i32 44, label %13
i32 45, label %15
i32 46, label %17
]
3: ; preds = %0
%4 = call i32 (...) @get_lexval()
br label %19
5: ; preds = %0
%6 = call i32 (...) @get_lexval()
br label %19
7: ; preds = %0
%8 = call i32 (...) @get_lexval()
br label %19
9: ; preds = %0
%10 = call i32 (...) @get_lexval()
br label %19
11: ; preds = %0
%12 = call i32 (...) @get_lexval()
br label %19
13: ; preds = %0
%14 = call i32 (...) @get_lexval()
br label %19
15: ; preds = %0
%16 = call i32 (...) @get_lexval()
br label %19
17: ; preds = %0
%18 = call i32 (...) @get_lexval()
br label %19
19: ; preds = %0, %17, %15, %13, %11, %9, %7, %5, %3
%20 = load i32, i32* %1
ret i32 %20
}

LLVM IR (-O2):
define i32 @arithmatic_high_level() {
%1 = tail call i32 (...) @yyselect()
%2 = add i32 %1, -39
%3 = icmp ult i32 %2, 8
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = tail call i32 (...) @get_lexval()
br label %6
6: ; preds = %0, %4
ret i32 undef
}