#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 /*<<< orphan*/ type();
int yyselect();
func_dcl() {
  switch (yyselect()) {
  case 15: {
    type();
    get_lexval();
    get_lexval();
    switch (yyselect()) {
    case 110: {
      arguments();
    } break;
    default:;
    }
    get_lexval();
    get_lexval();
  } break;
  case 16: {
    type();
    get_lexval();
    get_lexval();
    switch (yyselect()) {
    case 111: {
      arguments();
    } break;
    default:;
    }
    get_lexval();
    block();
  } break;
  }
}


x86 assembly (clang, -O0):
<func_dcl>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
xor    %eax,%eax
call   1050 <yyselect@plt>
mov    %eax,%ecx
mov    %ecx,-0x8(%rbp)
sub    $0xf,%eax
je     1183 <func_dcl+0x33>
jmp    1172 <func_dcl+0x22>
mov    -0x8(%rbp),%eax
sub    $0x10,%eax
je     11d7 <func_dcl+0x87>
jmp    1226 <func_dcl+0xd6>
xor    %eax,%eax
mov    %al,-0x9(%rbp)
call   1040 <type@plt>
mov    -0x9(%rbp),%al
call   1060 <get_lexval@plt>
mov    -0x9(%rbp),%al
call   1060 <get_lexval@plt>
mov    -0x9(%rbp),%al
call   1050 <yyselect@plt>
sub    $0x6e,%eax
jne    11bf <func_dcl+0x6f>
jmp    11b3 <func_dcl+0x63>
mov    $0x0,%al
call   1030 <arguments@plt>
jmp    11c4 <func_dcl+0x74>
jmp    11c4 <func_dcl+0x74>
mov    $0x0,%al
call   1060 <get_lexval@plt>
mov    $0x0,%al
call   1060 <get_lexval@plt>
jmp    1226 <func_dcl+0xd6>
xor    %eax,%eax
mov    %al,-0xa(%rbp)
call   1040 <type@plt>
mov    -0xa(%rbp),%al
call   1060 <get_lexval@plt>
mov    -0xa(%rbp),%al
call   1060 <get_lexval@plt>
mov    -0xa(%rbp),%al
call   1050 <yyselect@plt>
sub    $0x6f,%eax
jne    1213 <func_dcl+0xc3>
jmp    1207 <func_dcl+0xb7>
mov    $0x0,%al
call   1030 <arguments@plt>
jmp    1218 <func_dcl+0xc8>
jmp    1218 <func_dcl+0xc8>
mov    $0x0,%al
call   1060 <get_lexval@plt>
mov    $0x0,%al
call   1070 <block@plt>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<func_dcl>:
push   %rax
xor    %eax,%eax
call   1050 <yyselect@plt>
cmp    $0x10,%eax
je     119a <func_dcl+0x4a>
cmp    $0xf,%eax
jne    11d0 <func_dcl+0x80>
xor    %eax,%eax
call   1040 <type@plt>
xor    %eax,%eax
call   1060 <get_lexval@plt>
xor    %eax,%eax
call   1060 <get_lexval@plt>
xor    %eax,%eax
call   1050 <yyselect@plt>
cmp    $0x6e,%eax
jne    118a <func_dcl+0x3a>
xor    %eax,%eax
call   1030 <arguments@plt>
xor    %eax,%eax
call   1060 <get_lexval@plt>
xor    %eax,%eax
call   1060 <get_lexval@plt>
pop    %rcx
ret
xor    %eax,%eax
call   1040 <type@plt>
xor    %eax,%eax
call   1060 <get_lexval@plt>
xor    %eax,%eax
call   1060 <get_lexval@plt>
xor    %eax,%eax
call   1050 <yyselect@plt>
cmp    $0x6f,%eax
jne    11c2 <func_dcl+0x72>
xor    %eax,%eax
call   1030 <arguments@plt>
xor    %eax,%eax
call   1060 <get_lexval@plt>
xor    %eax,%eax
call   1070 <block@plt>
pop    %rcx
ret

LLVM IR (-O0):
define i32 @func_dcl() {
%1 = alloca i32
%2 = call i32 (...) @yyselect()
switch i32 %2, label %25 [
i32 15, label %3
i32 16, label %14
]
3: ; preds = %0
%4 = call i32 (...) @type()
%5 = call i32 (...) @get_lexval()
%6 = call i32 (...) @get_lexval()
%7 = call i32 (...) @yyselect()
switch i32 %7, label %10 [
i32 110, 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 (...) @type()
%16 = call i32 (...) @get_lexval()
%17 = call i32 (...) @get_lexval()
%18 = call i32 (...) @yyselect()
switch i32 %18, label %21 [
i32 111, 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 @func_dcl() {
%1 = tail call i32 (...) @yyselect()
switch i32 %1, label %24 [
i32 15, label %2
i32 16, label %13
]
2: ; preds = %0
%3 = tail call i32 (...) @type()
%4 = tail call i32 (...) @get_lexval()
%5 = tail call i32 (...) @get_lexval()
%6 = tail call i32 (...) @yyselect()
%7 = icmp eq i32 %6, 110
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 (...) @type()
%15 = tail call i32 (...) @get_lexval()
%16 = tail call i32 (...) @get_lexval()
%17 = tail call i32 (...) @yyselect()
%18 = icmp eq i32 %17, 111
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
}