#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*/ cast(int, int);
int /*<<< orphan*/ error(char *);
int /*<<< orphan*/ output(char *);
int tsize(int);
void printunary(int op, int type, int argtype) {
  int sz, asz;
  sz = tsize(type);
  asz = tsize(argtype);
  switch (asz) {
  case 1:
    switch (op) {
    case 0x106:
      output(" a?; cta 1; a^c 1;");
      break;
    case 0x107:
      output(" ac;");
      break;
    case 0x105:
      output(" anx A0;");
      break;
    case 0x108:
      break;
    case 0x104:
      if (argtype & 0x20) {
        output(" atx TBLPTRL;");
        output(" xtr A1,TBLPTRH;");
        output(" plx A0;");
        output(" llx A0;");
      } else
        output(" atx FSR0; xta INDF0;");
      break;
    case 0x103:
      error("internal error: &wreg");
      break;
    }
    break;
  case 2:
    switch (op) {
    case 0x106:
      output(" a|x A1; a?; cta 1; a^c 1;");
      if (sz > 1)
        output(" xz A1;");
      break;
    case 0x107:
      output(" ac; xc A1;");
      break;
    case 0x105:
      output(" xc A1; anx A0; c?; x++ A1;");
      break;
    case 0x108:
      break;
    case 0x104:
      if (argtype & 0x20) {
        output(" atx TBLPTRL;");
        output(" xtr A1,TBLPTRH;");
        output(" plx A0;");
        output(" llx A0;");
        if (sz > 1)
          output(" xz A1;");
      } else {
        output(" atx FSR0; xta INDF0;");
        if (sz > 1)
          output(" xz A1;");
      }
      break;
    case 0x103:
      error("internal error: &wreg");
      break;
    }
    break;
  case 4:
    switch (op) {
    case 0x106:
      output(" a|x A1; a|x A2; a|x A3; a?; cta 1; a^c 1;");
      if (sz > 1)
        output(" xz A1;");
      break;
    case 0x107:
      output(" ac; xc A1; xc A2; xc A3;");
      break;
    case 0x105:
      output(
          " xc A3; xc A2; xc A1; anx A0; c?; x++ A1; c?; x++ A2; c?; x++ A3;");
      break;
    case 0x108:
      break;
    case 0x104:
      if (argtype & 0x20)
        error("internal error: *long");
      output(" atx FSR0; xta INDF0;");
      output(" x++ FSR0; xtr INDF0,A1;");
      output(" x++ FSR0; xtr INDF0,A2;");
      output(" x++ FSR0; xtr INDF0,A3;");
      break;
    case 0x103:
      error("internal error: &wreg");
      break;
    }
    break;
  }
  cast(sz, asz);
}


x86 assembly (clang, -O0):
<printunary>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    -0x8(%rbp),%edi
call   1060 <tsize@plt>
mov    %eax,-0x10(%rbp)
mov    -0xc(%rbp),%edi
call   1060 <tsize@plt>
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x18(%rbp)
sub    $0x1,%eax
je     119d <printunary+0x5d>
jmp    117b <printunary+0x3b>
mov    -0x18(%rbp),%eax
sub    $0x2,%eax
je     1266 <printunary+0x126>
jmp    118c <printunary+0x4c>
mov    -0x18(%rbp),%eax
sub    $0x4,%eax
je     1376 <printunary+0x236>
jmp    1450 <printunary+0x310>
mov    -0x4(%rbp),%eax
add    $0xfffffefd,%eax
mov    %eax,%ecx
mov    %rcx,-0x20(%rbp)
sub    $0x5,%eax
ja     1261 <printunary+0x121>
mov    -0x20(%rbp),%rax
lea    0xe71(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xeec(%rip),%rdi
call   1030 <output@plt>
jmp    1261 <printunary+0x121>
lea    0xe68(%rip),%rdi
call   1030 <output@plt>
jmp    1261 <printunary+0x121>
lea    0xe5c(%rip),%rdi
call   1030 <output@plt>
jmp    1261 <printunary+0x121>
jmp    1261 <printunary+0x121>
mov    -0xc(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     1244 <printunary+0x104>
lea    0xe40(%rip),%rdi
call   1030 <output@plt>
lea    0xe42(%rip),%rdi
call   1030 <output@plt>
lea    0xe47(%rip),%rdi
call   1030 <output@plt>
lea    0xe44(%rip),%rdi
call   1030 <output@plt>
jmp    1250 <printunary+0x110>
lea    0xe3c(%rip),%rdi
call   1030 <output@plt>
jmp    1261 <printunary+0x121>
lea    0xe41(%rip),%rdi
call   1050 <error@plt>
jmp    1450 <printunary+0x310>
mov    -0x4(%rbp),%eax
add    $0xfffffefd,%eax
mov    %eax,%ecx
mov    %rcx,-0x28(%rbp)
sub    $0x5,%eax
ja     1371 <printunary+0x231>
mov    -0x28(%rbp),%rax
lea    0xd90(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xe1b(%rip),%rdi
call   1030 <output@plt>
cmpl   $0x1,-0x10(%rbp)
jle    12b3 <printunary+0x173>
lea    0xe20(%rip),%rdi
call   1030 <output@plt>
jmp    1371 <printunary+0x231>
lea    0xe17(%rip),%rdi
call   1030 <output@plt>
jmp    1371 <printunary+0x231>
lea    0xe12(%rip),%rdi
call   1030 <output@plt>
jmp    1371 <printunary+0x231>
jmp    1371 <printunary+0x231>
mov    -0xc(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     1339 <printunary+0x1f9>
lea    0xd61(%rip),%rdi
call   1030 <output@plt>
lea    0xd63(%rip),%rdi
call   1030 <output@plt>
lea    0xd68(%rip),%rdi
call   1030 <output@plt>
lea    0xd65(%rip),%rdi
call   1030 <output@plt>
cmpl   $0x1,-0x10(%rbp)
jle    1334 <printunary+0x1f4>
lea    0xd9f(%rip),%rdi
call   1030 <output@plt>
jmp    1360 <printunary+0x220>
lea    0xd47(%rip),%rdi
call   1030 <output@plt>
cmpl   $0x1,-0x10(%rbp)
jle    135b <printunary+0x21b>
lea    0xd78(%rip),%rdi
call   1030 <output@plt>
jmp    1360 <printunary+0x220>
jmp    1371 <printunary+0x231>
lea    0xd31(%rip),%rdi
call   1050 <error@plt>
jmp    1450 <printunary+0x310>
mov    -0x4(%rbp),%eax
add    $0xfffffefd,%eax
mov    %eax,%ecx
mov    %rcx,-0x30(%rbp)
sub    $0x5,%eax
ja     144b <printunary+0x30b>
mov    -0x30(%rbp),%rax
lea    0xc68(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xd56(%rip),%rdi
call   1030 <output@plt>
cmpl   $0x1,-0x10(%rbp)
jle    13c3 <printunary+0x283>
lea    0xd10(%rip),%rdi
call   1030 <output@plt>
jmp    144b <printunary+0x30b>
lea    0xd5a(%rip),%rdi
call   1030 <output@plt>
jmp    144b <printunary+0x30b>
lea    0xd63(%rip),%rdi
call   1030 <output@plt>
jmp    144b <printunary+0x30b>
jmp    144b <printunary+0x30b>
mov    -0xc(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     140a <printunary+0x2ca>
lea    0xd80(%rip),%rdi
call   1050 <error@plt>
lea    0xc76(%rip),%rdi
call   1030 <output@plt>
lea    0xd7e(%rip),%rdi
call   1030 <output@plt>
lea    0xd8b(%rip),%rdi
call   1030 <output@plt>
lea    0xd98(%rip),%rdi
call   1030 <output@plt>
jmp    144b <printunary+0x30b>
lea    0xc57(%rip),%rdi
call   1050 <error@plt>
jmp    1450 <printunary+0x310>
mov    -0x10(%rbp),%edi
mov    -0x14(%rbp),%esi
call   1040 <cast@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<printunary>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %edx,%ebx
mov    %edi,%ebp
mov    %esi,%edi
call   1060 <tsize@plt>
mov    %eax,%r14d
mov    %ebx,%edi
call   1060 <tsize@plt>
mov    %eax,%r15d
cmp    $0x4,%eax
je     11ac <printunary+0x6c>
cmp    $0x2,%r15d
je     120c <printunary+0xcc>
cmp    $0x1,%r15d
jne    131c <printunary+0x1dc>
add    $0xfffffefd,%ebp
cmp    $0x4,%ebp
ja     131c <printunary+0x1dc>
lea    0xe9a(%rip),%rax
movslq (%rax,%rbp,4),%rcx
add    %rax,%rcx
jmp    *%rcx
test   $0x20,%bl
jne    12ad <printunary+0x16d>
lea    0xed4(%rip),%rdi
jmp    1317 <printunary+0x1d7>
add    $0xfffffefd,%ebp
cmp    $0x4,%ebp
ja     131c <printunary+0x1dc>
lea    0xe3e(%rip),%rax
movslq (%rax,%rbp,4),%rcx
add    %rax,%rcx
jmp    *%rcx
test   $0x20,%bl
je     11dc <printunary+0x9c>
lea    0xfa2(%rip),%rdi
call   1050 <error@plt>
lea    0xe98(%rip),%rdi
call   1030 <output@plt>
lea    0xfa0(%rip),%rdi
call   1030 <output@plt>
lea    0xfad(%rip),%rdi
call   1030 <output@plt>
lea    0xfba(%rip),%rdi
jmp    1317 <printunary+0x1d7>
add    $0xfffffefd,%ebp
cmp    $0x4,%ebp
ja     131c <printunary+0x1dc>
lea    0xdf2(%rip),%rax
movslq (%rax,%rbp,4),%rcx
add    %rax,%rcx
jmp    *%rcx
lea    0xe5f(%rip),%rdi
call   1050 <error@plt>
jmp    131c <printunary+0x1dc>
lea    0xdfe(%rip),%rdi
jmp    1317 <printunary+0x1d7>
lea    0xe60(%rip),%rdi
jmp    1317 <printunary+0x1d7>
lea    0xde1(%rip),%rdi
jmp    1317 <printunary+0x1d7>
lea    0xed0(%rip),%rdi
jmp    1317 <printunary+0x1d7>
lea    0xe7f(%rip),%rdi
jmp    1305 <printunary+0x1c5>
lea    0xe9e(%rip),%rdi
jmp    1317 <printunary+0x1d7>
test   $0x20,%bl
jne    12da <printunary+0x19a>
lea    0xdeb(%rip),%rdi
jmp    1305 <printunary+0x1c5>
lea    0xe3d(%rip),%rdi
jmp    1317 <printunary+0x1d7>
lea    0xe05(%rip),%rdi
jmp    1305 <printunary+0x1c5>
lea    0xe1f(%rip),%rdi
jmp    1317 <printunary+0x1d7>
lea    0xd96(%rip),%rdi
call   1030 <output@plt>
lea    0xd98(%rip),%rdi
call   1030 <output@plt>
lea    0xd9d(%rip),%rdi
call   1030 <output@plt>
lea    0xd9a(%rip),%rdi
jmp    1317 <printunary+0x1d7>
lea    0xd69(%rip),%rdi
call   1030 <output@plt>
lea    0xd6b(%rip),%rdi
call   1030 <output@plt>
lea    0xd70(%rip),%rdi
call   1030 <output@plt>
lea    0xd6d(%rip),%rdi
call   1030 <output@plt>
cmp    $0x2,%r14d
jl     131c <printunary+0x1dc>
lea    0xdab(%rip),%rdi
call   1030 <output@plt>
mov    %r14d,%edi
mov    %r15d,%esi
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <cast@plt>

LLVM IR (-O0):
@.str = [19 x i8] c" a?; cta 1; a^c 1;\00"
@.str.1 = [5 x i8] c" ac;\00"
@.str.2 = [9 x i8] c" anx A0;\00"
@.str.3 = [14 x i8] c" atx TBLPTRL;\00"
@.str.4 = [17 x i8] c" xtr A1,TBLPTRH;\00"
@.str.5 = [9 x i8] c" plx A0;\00"
@.str.6 = [9 x i8] c" llx A0;\00"
@.str.7 = [22 x i8] c" atx FSR0; xta INDF0;\00"
@.str.8 = [22 x i8] c"internal error: &wreg\00"
@.str.9 = [27 x i8] c" a|x A1; a?; cta 1; a^c 1;\00"
@.str.10 = [8 x i8] c" xz A1;\00"
@.str.11 = [12 x i8] c" ac; xc A1;\00"
@.str.12 = [28 x i8] c" xc A1; anx A0; c?; x++ A1;\00"
@.str.13 = [43 x i8] c" a|x A1; a|x A2; a|x A3; a?; cta 1; a^c 1;\00"
@.str.14 = [26 x i8] c" ac; xc A1; xc A2; xc A3;\00"
@.str.15 = [66 x i8] c" xc A3; xc A2; xc A1; anx A0; c?; x++ A1; c?; x++ A2; c?; x++ A3;\00"
@.str.16 = [22 x i8] c"internal error: *long\00"
@.str.17 = [25 x i8] c" x++ FSR0; xtr INDF0,A1;\00"
@.str.18 = [25 x i8] c" x++ FSR0; xtr INDF0,A2;\00"
@.str.19 = [25 x i8] c" x++ FSR0; xtr INDF0,A3;\00"
define void @printunary(i32 %0, i32 %1, i32 %2) {
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
store i32 %0, i32* %4
store i32 %1, i32* %5
store i32 %2, i32* %6
%9 = load i32, i32* %5
%10 = call i32 @tsize(i32 %9)
store i32 %10, i32* %7
%11 = load i32, i32* %6
%12 = call i32 @tsize(i32 %11)
store i32 %12, i32* %8
%13 = load i32, i32* %8
switch i32 %13, label %105 [
i32 1, label %14
i32 2, label %38
i32 4, label %77
]
14: ; preds = %3
%15 = load i32, i32* %4
switch i32 %15, label %37 [
i32 262, label %16
i32 263, label %18
i32 261, label %20
i32 264, label %22
i32 260, label %23
i32 259, label %35
]
16: ; preds = %14
%17 = call i32 @output(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
br label %37
18: ; preds = %14
%19 = call i32 @output(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %37
20: ; preds = %14
%21 = call i32 @output(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
br label %37
22: ; preds = %14
br label %37
23: ; preds = %14
%24 = load i32, i32* %6
%25 = and i32 %24, 32
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %32
27: ; preds = %23
%28 = call i32 @output(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0))
%29 = call i32 @output(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
%30 = call i32 @output(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0))
%31 = call i32 @output(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
br label %34
32: ; preds = %23
%33 = call i32 @output(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0))
br label %34
34: ; preds = %32, %27
br label %37
35: ; preds = %14
%36 = call i32 @error(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0))
br label %37
37: ; preds = %14, %35, %34, %22, %20, %18, %16
br label %105
38: ; preds = %3
%39 = load i32, i32* %4
switch i32 %39, label %76 [
i32 262, label %40
i32 263, label %47
i32 261, label %49
i32 264, label %51
i32 260, label %52
i32 259, label %74
]
40: ; preds = %38
%41 = call i32 @output(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.9, i64 0, i64 0))
%42 = load i32, i32* %7
%43 = icmp sgt i32 %42, 1
br i1 %43, label %44, label %46
44: ; preds = %40
%45 = call i32 @output(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
br label %46
46: ; preds = %44, %40
br label %76
47: ; preds = %38
%48 = call i32 @output(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0))
br label %76
49: ; preds = %38
%50 = call i32 @output(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.12, i64 0, i64 0))
br label %76
51: ; preds = %38
br label %76
52: ; preds = %38
%53 = load i32, i32* %6
%54 = and i32 %53, 32
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %66
56: ; preds = %52
%57 = call i32 @output(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0))
%58 = call i32 @output(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
%59 = call i32 @output(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0))
%60 = call i32 @output(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
%61 = load i32, i32* %7
%62 = icmp sgt i32 %61, 1
br i1 %62, label %63, label %65
63: ; preds = %56
%64 = call i32 @output(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
br label %65
65: ; preds = %63, %56
br label %73
66: ; preds = %52
%67 = call i32 @output(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0))
%68 = load i32, i32* %7
%69 = icmp sgt i32 %68, 1
br i1 %69, label %70, label %72
70: ; preds = %66
%71 = call i32 @output(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
br label %72
72: ; preds = %70, %66
br label %73
73: ; preds = %72, %65
br label %76
74: ; preds = %38
%75 = call i32 @error(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0))
br label %76
76: ; preds = %38, %74, %73, %51, %49, %47, %46
br label %105
77: ; preds = %3
%78 = load i32, i32* %4
switch i32 %78, label %104 [
i32 262, label %79
i32 263, label %86
i32 261, label %88
i32 264, label %90
i32 260, label %91
i32 259, label %102
]
79: ; preds = %77
%80 = call i32 @output(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.13, i64 0, i64 0))
%81 = load i32, i32* %7
%82 = icmp sgt i32 %81, 1
br i1 %82, label %83, label %85
83: ; preds = %79
%84 = call i32 @output(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
br label %85
85: ; preds = %83, %79
br label %104
86: ; preds = %77
%87 = call i32 @output(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.14, i64 0, i64 0))
br label %104
88: ; preds = %77
%89 = call i32 @output(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.15, i64 0, i64 0))
br label %104
90: ; preds = %77
br label %104
91: ; preds = %77
%92 = load i32, i32* %6
%93 = and i32 %92, 32
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %97
95: ; preds = %91
%96 = call i32 @error(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.16, i64 0, i64 0))
br label %97
97: ; preds = %95, %91
%98 = call i32 @output(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0))
%99 = call i32 @output(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.17, i64 0, i64 0))
%100 = call i32 @output(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.18, i64 0, i64 0))
%101 = call i32 @output(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.19, i64 0, i64 0))
br label %104
102: ; preds = %77
%103 = call i32 @error(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0))
br label %104
104: ; preds = %77, %102, %97, %90, %88, %86, %85
br label %105
105: ; preds = %3, %104, %76, %37
%106 = load i32, i32* %7
%107 = load i32, i32* %8
%108 = call i32 @cast(i32 %106, i32 %107)
ret void
}

LLVM IR (-O2):
@.str = [19 x i8] c" a?; cta 1; a^c 1;\00"
@.str.1 = [5 x i8] c" ac;\00"
@.str.2 = [9 x i8] c" anx A0;\00"
@.str.3 = [14 x i8] c" atx TBLPTRL;\00"
@.str.4 = [17 x i8] c" xtr A1,TBLPTRH;\00"
@.str.5 = [9 x i8] c" plx A0;\00"
@.str.6 = [9 x i8] c" llx A0;\00"
@.str.7 = [22 x i8] c" atx FSR0; xta INDF0;\00"
@.str.8 = [22 x i8] c"internal error: &wreg\00"
@.str.9 = [27 x i8] c" a|x A1; a?; cta 1; a^c 1;\00"
@.str.10 = [8 x i8] c" xz A1;\00"
@.str.11 = [12 x i8] c" ac; xc A1;\00"
@.str.12 = [28 x i8] c" xc A1; anx A0; c?; x++ A1;\00"
@.str.13 = [43 x i8] c" a|x A1; a|x A2; a|x A3; a?; cta 1; a^c 1;\00"
@.str.14 = [26 x i8] c" ac; xc A1; xc A2; xc A3;\00"
@.str.15 = [66 x i8] c" xc A3; xc A2; xc A1; anx A0; c?; x++ A1; c?; x++ A2; c?; x++ A3;\00"
@.str.16 = [22 x i8] c"internal error: *long\00"
@.str.17 = [25 x i8] c" x++ FSR0; xtr INDF0,A1;\00"
@.str.18 = [25 x i8] c" x++ FSR0; xtr INDF0,A2;\00"
@.str.19 = [25 x i8] c" x++ FSR0; xtr INDF0,A3;\00"
define void @printunary(i32 %0, i32 %1, i32 %2) {
%4 = tail call i32 @tsize(i32 %1)
%5 = tail call i32 @tsize(i32 %2)
switch i32 %5, label %75 [
i32 1, label %6
i32 2, label %25
i32 4, label %53
]
6: ; preds = %3
switch i32 %0, label %75 [
i32 262, label %7
i32 263, label %9
i32 261, label %11
i32 259, label %23
i32 260, label %13
]
7: ; preds = %6
%8 = tail call i32 @output(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str, i64 0, i64 0))
br label %75
9: ; preds = %6
%10 = tail call i32 @output(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0))
br label %75
11: ; preds = %6
%12 = tail call i32 @output(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.2, i64 0, i64 0))
br label %75
13: ; preds = %6
%14 = and i32 %2, 32
%15 = icmp eq i32 %14, 0
br i1 %15, label %21, label %16
16: ; preds = %13
%17 = tail call i32 @output(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0))
%18 = tail call i32 @output(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
%19 = tail call i32 @output(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0))
%20 = tail call i32 @output(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
br label %75
21: ; preds = %13
%22 = tail call i32 @output(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0))
br label %75
23: ; preds = %6
%24 = tail call i32 @error(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0))
br label %75
25: ; preds = %3
switch i32 %0, label %75 [
i32 262, label %26
i32 263, label %31
i32 261, label %33
i32 259, label %51
i32 260, label %35
]
26: ; preds = %25
%27 = tail call i32 @output(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.9, i64 0, i64 0))
%28 = icmp sgt i32 %4, 1
br i1 %28, label %29, label %75
29: ; preds = %26
%30 = tail call i32 @output(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
br label %75
31: ; preds = %25
%32 = tail call i32 @output(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.11, i64 0, i64 0))
br label %75
33: ; preds = %25
%34 = tail call i32 @output(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.12, i64 0, i64 0))
br label %75
35: ; preds = %25
%36 = and i32 %2, 32
%37 = icmp eq i32 %36, 0
br i1 %37, label %46, label %38
38: ; preds = %35
%39 = tail call i32 @output(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.3, i64 0, i64 0))
%40 = tail call i32 @output(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.4, i64 0, i64 0))
%41 = tail call i32 @output(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0))
%42 = tail call i32 @output(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.6, i64 0, i64 0))
%43 = icmp sgt i32 %4, 1
br i1 %43, label %44, label %75
44: ; preds = %38
%45 = tail call i32 @output(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
br label %75
46: ; preds = %35
%47 = tail call i32 @output(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0))
%48 = icmp sgt i32 %4, 1
br i1 %48, label %49, label %75
49: ; preds = %46
%50 = tail call i32 @output(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
br label %75
51: ; preds = %25
%52 = tail call i32 @error(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0))
br label %75
53: ; preds = %3
switch i32 %0, label %75 [
i32 262, label %54
i32 263, label %59
i32 261, label %61
i32 259, label %73
i32 260, label %63
]
54: ; preds = %53
%55 = tail call i32 @output(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.13, i64 0, i64 0))
%56 = icmp sgt i32 %4, 1
br i1 %56, label %57, label %75
57: ; preds = %54
%58 = tail call i32 @output(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.10, i64 0, i64 0))
br label %75
59: ; preds = %53
%60 = tail call i32 @output(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.14, i64 0, i64 0))
br label %75
61: ; preds = %53
%62 = tail call i32 @output(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.15, i64 0, i64 0))
br label %75
63: ; preds = %53
%64 = and i32 %2, 32
%65 = icmp eq i32 %64, 0
br i1 %65, label %68, label %66
66: ; preds = %63
%67 = tail call i32 @error(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.16, i64 0, i64 0))
br label %68
68: ; preds = %66, %63
%69 = tail call i32 @output(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.7, i64 0, i64 0))
%70 = tail call i32 @output(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.17, i64 0, i64 0))
%71 = tail call i32 @output(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.18, i64 0, i64 0))
%72 = tail call i32 @output(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.19, i64 0, i64 0))
br label %75
73: ; preds = %53
%74 = tail call i32 @error(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.8, i64 0, i64 0))
br label %75
75: ; preds = %59, %61, %68, %73, %53, %57, %54, %31, %33, %51, %25, %29, %26, %46, %49, %38, %44, %7, %9, %11, %23, %6, %21, %16, %3
%76 = tail call i32 @cast(i32 %4, i32 %5)
ret void
}