#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*/ arguments();
int /*<<< orphan*/ block();
int /*<<< orphan*/ get_lexval();
int yyselect();
proc_dcl() {
  switch (yyselect()) {
  case 18: {
    get_lexval();
    get_lexval();
    get_lexval();
    switch (yyselect()) {
    case 112: {
      arguments();
    } break;
    default:;
    }
    get_lexval();
    get_lexval();
  } break;
  case 19: {
    get_lexval();
    get_lexval();
    get_lexval();
    switch (yyselect()) {
    case 113: {
      arguments();
    } break;
    default:;
    }
    get_lexval();
    block();
  } break;
  }
}


x86 assembly (clang, -O0):
<proc_dcl>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
xor    %eax,%eax
call   1040 <yyselect@plt>
mov    %eax,%ecx
mov    %ecx,-0x8(%rbp)
sub    $0x12,%eax
je     1173 <proc_dcl+0x33>
jmp    1162 <proc_dcl+0x22>
mov    -0x8(%rbp),%eax
sub    $0x13,%eax
je     11c7 <proc_dcl+0x87>
jmp    1216 <proc_dcl+0xd6>
xor    %eax,%eax
mov    %al,-0x9(%rbp)
call   1050 <get_lexval@plt>
mov    -0x9(%rbp),%al
call   1050 <get_lexval@plt>
mov    -0x9(%rbp),%al
call   1050 <get_lexval@plt>
mov    -0x9(%rbp),%al
call   1040 <yyselect@plt>
sub    $0x70,%eax
jne    11af <proc_dcl+0x6f>
jmp    11a3 <proc_dcl+0x63>
mov    $0x0,%al
call   1030 <arguments@plt>
jmp    11b4 <proc_dcl+0x74>
jmp    11b4 <proc_dcl+0x74>
mov    $0x0,%al
call   1050 <get_lexval@plt>
mov    $0x0,%al
call   1050 <get_lexval@plt>
jmp    1216 <proc_dcl+0xd6>
xor    %eax,%eax
mov    %al,-0xa(%rbp)
call   1050 <get_lexval@plt>
mov    -0xa(%rbp),%al
call   1050 <get_lexval@plt>
mov    -0xa(%rbp),%al
call   1050 <get_lexval@plt>
mov    -0xa(%rbp),%al
call   1040 <yyselect@plt>
sub    $0x71,%eax
jne    1203 <proc_dcl+0xc3>
jmp    11f7 <proc_dcl+0xb7>
mov    $0x0,%al
call   1030 <arguments@plt>
jmp    1208 <proc_dcl+0xc8>
jmp    1208 <proc_dcl+0xc8>
mov    $0x0,%al
call   1050 <get_lexval@plt>
mov    $0x0,%al
call   1060 <block@plt>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<proc_dcl>:
push   %rax
xor    %eax,%eax
call   1040 <yyselect@plt>
cmp    $0x13,%eax
je     118a <proc_dcl+0x4a>
cmp    $0x12,%eax
jne    11c0 <proc_dcl+0x80>
xor    %eax,%eax
call   1050 <get_lexval@plt>
xor    %eax,%eax
call   1050 <get_lexval@plt>
xor    %eax,%eax
call   1050 <get_lexval@plt>
xor    %eax,%eax
call   1040 <yyselect@plt>
cmp    $0x70,%eax
jne    117a <proc_dcl+0x3a>
xor    %eax,%eax
call   1030 <arguments@plt>
xor    %eax,%eax
call   1050 <get_lexval@plt>
xor    %eax,%eax
call   1050 <get_lexval@plt>
pop    %rcx
ret
xor    %eax,%eax
call   1050 <get_lexval@plt>
xor    %eax,%eax
call   1050 <get_lexval@plt>
xor    %eax,%eax
call   1050 <get_lexval@plt>
xor    %eax,%eax
call   1040 <yyselect@plt>
cmp    $0x71,%eax
jne    11b2 <proc_dcl+0x72>
xor    %eax,%eax
call   1030 <arguments@plt>
xor    %eax,%eax
call   1050 <get_lexval@plt>
xor    %eax,%eax
call   1060 <block@plt>
pop    %rcx
ret

LLVM IR (-O0):
define i32 @proc_dcl() {
%1 = alloca i32
%2 = call i32 (...) @yyselect()
switch i32 %2, label %25 [
i32 18, label %3
i32 19, label %14
]
3: ; preds = %0
%4 = call i32 (...) @get_lexval()
%5 = call i32 (...) @get_lexval()
%6 = call i32 (...) @get_lexval()
%7 = call i32 (...) @yyselect()
switch i32 %7, label %10 [
i32 112, label %8
]
8: ; preds = %3
%9 = call i32 (...) @arguments()
br label %11
10: ; preds = %3
br label %11
11: ; preds = %10, %8
%12 = call i32 (...) @get_lexval()
%13 = call i32 (...) @get_lexval()
br label %25
14: ; preds = %0
%15 = call i32 (...) @get_lexval()
%16 = call i32 (...) @get_lexval()
%17 = call i32 (...) @get_lexval()
%18 = call i32 (...) @yyselect()
switch i32 %18, label %21 [
i32 113, label %19
]
19: ; preds = %14
%20 = call i32 (...) @arguments()
br label %22
21: ; preds = %14
br label %22
22: ; preds = %21, %19
%23 = call i32 (...) @get_lexval()
%24 = call i32 (...) @block()
br label %25
25: ; preds = %0, %22, %11
%26 = load i32, i32* %1
ret i32 %26
}

LLVM IR (-O2):
define i32 @proc_dcl() {
%1 = tail call i32 (...) @yyselect()
switch i32 %1, label %24 [
i32 18, label %2
i32 19, label %13
]
2: ; preds = %0
%3 = tail call i32 (...) @get_lexval()
%4 = tail call i32 (...) @get_lexval()
%5 = tail call i32 (...) @get_lexval()
%6 = tail call i32 (...) @yyselect()
%7 = icmp eq i32 %6, 112
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = tail call i32 (...) @arguments()
br label %10
10: ; preds = %2, %8
%11 = tail call i32 (...) @get_lexval()
%12 = tail call i32 (...) @get_lexval()
br label %24
13: ; preds = %0
%14 = tail call i32 (...) @get_lexval()
%15 = tail call i32 (...) @get_lexval()
%16 = tail call i32 (...) @get_lexval()
%17 = tail call i32 (...) @yyselect()
%18 = icmp eq i32 %17, 113
br i1 %18, label %19, label %21
19: ; preds = %13
%20 = tail call i32 (...) @arguments()
br label %21
21: ; preds = %13, %19
%22 = tail call i32 (...) @get_lexval()
%23 = tail call i32 (...) @block()
br label %24
24: ; preds = %0, %21, %10
ret i32 undef
}