#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 */
char *_regname(long);
int /*<<< orphan*/ decode_indirect_address(long, long, int);
int /*<<< orphan*/ myprint(char *, ...);
int /*<<< orphan*/ new_line();
int /*<<< orphan*/ pad_to(int);
void decode_special_triadic(long int op_code) {
  char *op1;
  char *op2;
  long int src1;
  long int src2;
  long int src3;
  long int src4;
  long int dst1;
  long int dst2;
  src4 = op_code & 0xff;
  src3 = (op_code >> 8) & 0xff;
  src2 = (op_code >> 16) & 0x7;
  src1 = (op_code >> 19) & 0x7;
  dst2 = ((op_code >> 22) & 0x1) + 2;
  dst1 = (op_code >> 23) & 0x1;
  switch ((op_code >> 26) & 0x3) {
  default:
  case 0x00L:
    op1 = "MPYF3";
    op2 = "ADDF3";
    break;
  case 0x01L:
    op1 = "MPYF3";
    op2 = "SUBF3";
    break;
  case 0x02L:
    op1 = "MPYI3";
    op2 = "ADDI3";
    break;
  case 0x03L:
    op1 = "MPYI3";
    op2 = "SUBI3";
    break;
  }
  switch ((op_code >> 24) & 0x3) {
  case 0x00L:
    myprint("%s", op1);
    pad_to(10);
    decode_indirect_address(src3 >> 3, src3 & 7, 1);
    myprint(", ");
    decode_indirect_address(src4 >> 3, src4 & 7, 1);
    myprint(", %s", _regname(dst1));
    new_line();
    pad_to(39);
    myprint("|| %s", op2);
    pad_to(39 + 10);
    myprint("%s, %s, %s", _regname(src1), _regname(src2), _regname(dst2));
    break;
  case 0x01L:
    myprint("%s", op1);
    pad_to(10);
    decode_indirect_address(src3 >> 3, src3 & 7, 1);
    myprint(", %s, %s", _regname(src1), _regname(dst1), op2);
    new_line();
    pad_to(39);
    myprint("|| %s", op2);
    pad_to(39 + 10);
    decode_indirect_address(src4 >> 3, src4 & 7, 1);
    myprint(", %s, %s", _regname(src2), _regname(dst2));
    break;
  case 0x02L:
    myprint("%s", op1);
    pad_to(10);
    myprint("%s, %s, %s", _regname(src1), _regname(src2), _regname(dst1));
    new_line();
    pad_to(39);
    myprint("|| %s ", op2);
    pad_to(39 + 10);
    decode_indirect_address(src3 >> 3, src3 & 7, 1);
    myprint(", ");
    decode_indirect_address(src4 >> 3, src4 & 7, 1);
    myprint(", %s", _regname(dst2));
    break;
  case 0x03L:
    myprint("%s", op1);
    pad_to(10);
    decode_indirect_address(src3 >> 3, src3 & 7, 1);
    myprint(", %s, %s", _regname(src1), _regname(dst1));
    new_line();
    pad_to(39);
    myprint("|| %s", op2);
    pad_to(39 + 10);
    myprint("%s, ", _regname(src2));
    decode_indirect_address(src4 >> 3, src4 & 7, 1);
    myprint(", %s", _regname(dst2));
    break;
  }
  return;
}


x86 assembly (clang, -O0):
<decode_special_triadic>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    %rdi,-0x8(%rbp)
movzbl -0x8(%rbp),%eax
mov    %rax,-0x38(%rbp)
movzbl -0x7(%rbp),%eax
mov    %rax,-0x30(%rbp)
movzwl -0x6(%rbp),%eax
and    $0x7,%eax
mov    %rax,-0x28(%rbp)
mov    -0x8(%rbp),%eax
shr    $0x13,%eax
and    $0x7,%eax
mov    %rax,-0x20(%rbp)
mov    -0x8(%rbp),%eax
shr    $0x16,%eax
and    $0x1,%eax
or     $0x2,%rax
mov    %rax,-0x48(%rbp)
mov    -0x8(%rbp),%eax
shr    $0x17,%eax
and    $0x1,%eax
mov    %rax,-0x40(%rbp)
mov    -0x8(%rbp),%eax
shr    $0x1a,%eax
and    $0x3,%eax
mov    %eax,%ecx
mov    %rcx,-0x50(%rbp)
sub    $0x3,%eax
ja     11d1 <decode_special_triadic+0x81>
mov    -0x50(%rbp),%rax
lea    0xe38(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
jmp    11d6 <decode_special_triadic+0x86>
lea    0xe43(%rip),%rax
mov    %rax,-0x10(%rbp)
lea    0xe3e(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    123d <decode_special_triadic+0xed>
lea    0xe28(%rip),%rax
mov    %rax,-0x10(%rbp)
lea    0xe29(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    123d <decode_special_triadic+0xed>
lea    0xe1f(%rip),%rax
mov    %rax,-0x10(%rbp)
lea    0xe1a(%rip),%rax
mov    %rax,-0x18(%rbp)
jmp    123d <decode_special_triadic+0xed>
lea    0xe04(%rip),%rax
mov    %rax,-0x10(%rbp)
lea    0xe05(%rip),%rax
mov    %rax,-0x18(%rbp)
movzbl -0x5(%rbp),%eax
and    $0x3,%eax
mov    %rax,-0x58(%rbp)
sub    $0x3,%eax
ja     15f5 <decode_special_triadic+0x4a5>
mov    -0x58(%rbp),%rax
lea    0xdb4(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x10(%rbp),%rsi
lea    0xde2(%rip),%rdi
mov    $0x0,%al
call   1040 <myprint@plt>
mov    $0xa,%edi
call   1060 <pad_to@plt>
mov    -0x30(%rbp),%rdi
sar    $0x3,%rdi
mov    -0x30(%rbp),%rsi
and    $0x7,%rsi
mov    $0x1,%edx
call   1070 <decode_indirect_address@plt>
lea    0xdbc(%rip),%rdi
mov    $0x0,%al
call   1040 <myprint@plt>
mov    -0x38(%rbp),%rdi
sar    $0x3,%rdi
mov    -0x38(%rbp),%rsi
and    $0x7,%rsi
mov    $0x1,%edx
call   1070 <decode_indirect_address@plt>
mov    -0x40(%rbp),%rdi
call   1050 <_regname@plt>
mov    %rax,%rsi
lea    0xd7a(%rip),%rdi
mov    $0x0,%al
call   1040 <myprint@plt>
mov    $0x0,%al
call   1030 <new_line@plt>
mov    $0x27,%edi
call   1060 <pad_to@plt>
mov    -0x18(%rbp),%rsi
lea    0xd4b(%rip),%rdi
mov    $0x0,%al
call   1040 <myprint@plt>
mov    $0x31,%edi
call   1060 <pad_to@plt>
mov    -0x20(%rbp),%rdi
call   1050 <_regname@plt>
mov    %rax,-0x68(%rbp)
mov    -0x28(%rbp),%rdi
call   1050 <_regname@plt>
mov    %rax,-0x60(%rbp)
mov    -0x48(%rbp),%rdi
call   1050 <_regname@plt>
mov    -0x68(%rbp),%rsi
mov    -0x60(%rbp),%rdx
mov    %rax,%rcx
lea    0xd0b(%rip),%rdi
mov    $0x0,%al
call   1040 <myprint@plt>
jmp    15f5 <decode_special_triadic+0x4a5>
mov    -0x10(%rbp),%rsi
lea    0xcfc(%rip),%rdi
mov    $0x0,%al
call   1040 <myprint@plt>
mov    $0xa,%edi
call   1060 <pad_to@plt>
mov    -0x30(%rbp),%rdi
sar    $0x3,%rdi
mov    -0x30(%rbp),%rsi
and    $0x7,%rsi
mov    $0x1,%edx
call   1070 <decode_indirect_address@plt>
mov    -0x20(%rbp),%rdi
call   1050 <_regname@plt>
mov    %rax,-0x78(%rbp)
mov    -0x40(%rbp),%rdi
call   1050 <_regname@plt>
mov    -0x78(%rbp),%rsi
mov    %rax,%rdx
mov    -0x18(%rbp),%rcx
lea    0xca3(%rip),%rdi
mov    $0x0,%al
call   1040 <myprint@plt>
mov    $0x0,%al
call   1030 <new_line@plt>
mov    $0x27,%edi
call   1060 <pad_to@plt>
mov    -0x18(%rbp),%rsi
lea    0xc78(%rip),%rdi
mov    $0x0,%al
call   1040 <myprint@plt>
mov    $0x31,%edi
call   1060 <pad_to@plt>
mov    -0x38(%rbp),%rdi
sar    $0x3,%rdi
mov    -0x38(%rbp),%rsi
and    $0x7,%rsi
mov    $0x1,%edx
call   1070 <decode_indirect_address@plt>
mov    -0x28(%rbp),%rdi
call   1050 <_regname@plt>
mov    %rax,-0x70(%rbp)
mov    -0x48(%rbp),%rdi
call   1050 <_regname@plt>
mov    -0x70(%rbp),%rsi
mov    %rax,%rdx
lea    0xc31(%rip),%rdi
mov    $0x0,%al
call   1040 <myprint@plt>
jmp    15f5 <decode_special_triadic+0x4a5>
mov    -0x10(%rbp),%rsi
lea    0xc20(%rip),%rdi
mov    $0x0,%al
call   1040 <myprint@plt>
mov    $0xa,%edi
call   1060 <pad_to@plt>
mov    -0x20(%rbp),%rdi
call   1050 <_regname@plt>
mov    %rax,-0x88(%rbp)
mov    -0x28(%rbp),%rdi
call   1050 <_regname@plt>
mov    %rax,-0x80(%rbp)
mov    -0x40(%rbp),%rdi
call   1050 <_regname@plt>
mov    -0x88(%rbp),%rsi
mov    -0x80(%rbp),%rdx
mov    %rax,%rcx
lea    0xbcc(%rip),%rdi
mov    $0x0,%al
call   1040 <myprint@plt>
mov    $0x0,%al
call   1030 <new_line@plt>
mov    $0x27,%edi
call   1060 <pad_to@plt>
mov    -0x18(%rbp),%rsi
lea    0xbb4(%rip),%rdi
mov    $0x0,%al
call   1040 <myprint@plt>
mov    $0x31,%edi
call   1060 <pad_to@plt>
mov    -0x30(%rbp),%rdi
sar    $0x3,%rdi
mov    -0x30(%rbp),%rsi
and    $0x7,%rsi
mov    $0x1,%edx
call   1070 <decode_indirect_address@plt>
lea    0xb8b(%rip),%rdi
mov    $0x0,%al
call   1040 <myprint@plt>
mov    -0x38(%rbp),%rdi
sar    $0x3,%rdi
mov    -0x38(%rbp),%rsi
and    $0x7,%rsi
mov    $0x1,%edx
call   1070 <decode_indirect_address@plt>
mov    -0x48(%rbp),%rdi
call   1050 <_regname@plt>
mov    %rax,%rsi
lea    0xb49(%rip),%rdi
mov    $0x0,%al
call   1040 <myprint@plt>
jmp    15f5 <decode_special_triadic+0x4a5>
mov    -0x10(%rbp),%rsi
lea    0xb34(%rip),%rdi
mov    $0x0,%al
call   1040 <myprint@plt>
mov    $0xa,%edi
call   1060 <pad_to@plt>
mov    -0x30(%rbp),%rdi
sar    $0x3,%rdi
mov    -0x30(%rbp),%rsi
and    $0x7,%rsi
mov    $0x1,%edx
call   1070 <decode_indirect_address@plt>
mov    -0x20(%rbp),%rdi
call   1050 <_regname@plt>
mov    %rax,-0x90(%rbp)
mov    -0x40(%rbp),%rdi
call   1050 <_regname@plt>
mov    -0x90(%rbp),%rsi
mov    %rax,%rdx
lea    0xad9(%rip),%rdi
mov    $0x0,%al
call   1040 <myprint@plt>
mov    $0x0,%al
call   1030 <new_line@plt>
mov    $0x27,%edi
call   1060 <pad_to@plt>
mov    -0x18(%rbp),%rsi
lea    0xaae(%rip),%rdi
mov    $0x0,%al
call   1040 <myprint@plt>
mov    $0x31,%edi
call   1060 <pad_to@plt>
mov    -0x28(%rbp),%rdi
call   1050 <_regname@plt>
mov    %rax,%rsi
lea    0xaa2(%rip),%rdi
mov    $0x0,%al
call   1040 <myprint@plt>
mov    -0x38(%rbp),%rdi
sar    $0x3,%rdi
mov    -0x38(%rbp),%rsi
and    $0x7,%rsi
mov    $0x1,%edx
call   1070 <decode_indirect_address@plt>
mov    -0x48(%rbp),%rdi
call   1050 <_regname@plt>
mov    %rax,%rsi
lea    0xa62(%rip),%rdi
mov    $0x0,%al
call   1040 <myprint@plt>
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<decode_special_triadic>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %rdi,%r14
movzbl %r14b,%edx
mov    %rdi,%r13
shr    $0x8,%r13
movzbl %r13b,%r8d
mov    %r14d,%ebx
shr    $0x10,%ebx
and    $0x7,%ebx
mov    %r14d,%r12d
shr    $0x13,%r12d
and    $0x7,%r12d
mov    %r14d,%ebp
shr    $0x16,%ebp
and    $0x1,%ebp
or     $0x2,%rbp
mov    %r14d,%r15d
shr    $0x17,%r15d
and    $0x1,%r15d
mov    %rdi,%rax
shr    $0x17,%rax
and    $0x18,%eax
lea    0x2c33(%rip),%rcx
mov    (%rax,%rcx,1),%rdi
lea    0x2c48(%rip),%rcx
mov    (%rax,%rcx,1),%rsi
mov    %r14d,%eax
shr    $0x18,%eax
and    $0x3,%eax
lea    0xe34(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
mov    %rdx,0x18(%rsp)
mov    %rdi,0x10(%rsp)
mov    %r8,0x8(%rsp)
jmp    *%rax
lea    0xe57(%rip),%rdi
xor    %eax,%eax
mov    %rbx,(%rsp)
mov    %rbp,0x20(%rsp)
call   1040 <myprint@plt>
mov    $0xa,%edi
call   1060 <pad_to@plt>
mov    0x8(%rsp),%rdi
shr    $0x3,%rdi
and    $0x7,%r13d
mov    %r13,%rsi
mov    $0x1,%edx
call   1070 <decode_indirect_address@plt>
lea    0xe28(%rip),%rdi
xor    %eax,%eax
call   1040 <myprint@plt>
mov    0x18(%rsp),%rdi
shr    $0x3,%rdi
and    $0x7,%r14d
mov    %r14,%rsi
mov    $0x1,%edx
call   1070 <decode_indirect_address@plt>
mov    %r15,%rdi
call   1050 <_regname@plt>
lea    0xdea(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1040 <myprint@plt>
xor    %eax,%eax
call   1030 <new_line@plt>
mov    $0x27,%edi
call   1060 <pad_to@plt>
lea    0xdbc(%rip),%rdi
mov    0x10(%rsp),%rsi
xor    %eax,%eax
call   1040 <myprint@plt>
mov    $0x31,%edi
call   1060 <pad_to@plt>
mov    %r12,%rdi
call   1050 <_regname@plt>
mov    %rax,%rbx
mov    (%rsp),%rdi
call   1050 <_regname@plt>
mov    %rax,%rbp
mov    0x20(%rsp),%rdi
call   1050 <_regname@plt>
lea    0xd84(%rip),%rdi
mov    %rbx,%rsi
mov    %rbp,%rdx
mov    %rax,%rcx
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <myprint@plt>
lea    0xd67(%rip),%rdi
xor    %eax,%eax
call   1040 <myprint@plt>
mov    $0xa,%edi
call   1060 <pad_to@plt>
mov    %r12,%rdi
call   1050 <_regname@plt>
mov    %rax,%r12
mov    %rbx,%rdi
call   1050 <_regname@plt>
mov    %rax,%rbx
mov    %r15,%rdi
call   1050 <_regname@plt>
lea    0xd29(%rip),%rdi
mov    %r12,%rsi
mov    %rbx,%rdx
mov    %rax,%rcx
xor    %eax,%eax
call   1040 <myprint@plt>
xor    %eax,%eax
call   1030 <new_line@plt>
mov    $0x27,%edi
call   1060 <pad_to@plt>
lea    0xd0c(%rip),%rdi
mov    0x10(%rsp),%rsi
xor    %eax,%eax
call   1040 <myprint@plt>
mov    $0x31,%edi
call   1060 <pad_to@plt>
mov    0x8(%rsp),%rdi
shr    $0x3,%rdi
and    $0x7,%r13d
mov    %r13,%rsi
mov    $0x1,%edx
call   1070 <decode_indirect_address@plt>
lea    0xcde(%rip),%rdi
xor    %eax,%eax
call   1040 <myprint@plt>
jmp    1421 <decode_special_triadic+0x2d1>
lea    0xcbf(%rip),%rdi
xor    %eax,%eax
mov    %rbx,(%rsp)
call   1040 <myprint@plt>
mov    $0xa,%edi
call   1060 <pad_to@plt>
mov    0x8(%rsp),%rdi
shr    $0x3,%rdi
and    $0x7,%r13d
mov    %r13,%rsi
mov    $0x1,%edx
call   1070 <decode_indirect_address@plt>
mov    %r12,%rdi
call   1050 <_regname@plt>
mov    %rax,%rbx
mov    %r15,%rdi
call   1050 <_regname@plt>
lea    0xc70(%rip),%rdi
mov    %rbx,%rsi
mov    %rax,%rdx
xor    %eax,%eax
call   1040 <myprint@plt>
xor    %eax,%eax
call   1030 <new_line@plt>
mov    $0x27,%edi
call   1060 <pad_to@plt>
lea    0xc43(%rip),%rdi
mov    0x10(%rsp),%rsi
xor    %eax,%eax
call   1040 <myprint@plt>
mov    $0x31,%edi
call   1060 <pad_to@plt>
mov    (%rsp),%rdi
call   1050 <_regname@plt>
lea    0xc35(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1040 <myprint@plt>
mov    0x18(%rsp),%rdi
shr    $0x3,%rdi
and    $0x7,%r14d
mov    %r14,%rsi
mov    $0x1,%edx
call   1070 <decode_indirect_address@plt>
mov    %rbp,%rdi
call   1050 <_regname@plt>
lea    0xbf6(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <myprint@plt>
lea    0xbd9(%rip),%rdi
xor    %eax,%eax
mov    %rbx,(%rsp)
call   1040 <myprint@plt>
mov    $0xa,%edi
call   1060 <pad_to@plt>
mov    0x8(%rsp),%rdi
shr    $0x3,%rdi
and    $0x7,%r13d
mov    %r13,%rsi
mov    $0x1,%edx
call   1070 <decode_indirect_address@plt>
mov    %r12,%rdi
call   1050 <_regname@plt>
mov    %rax,%rbx
mov    %r15,%rdi
call   1050 <_regname@plt>
lea    0xb8a(%rip),%r15
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %rax,%rdx
mov    0x10(%rsp),%rbx
mov    %rbx,%rcx
xor    %eax,%eax
call   1040 <myprint@plt>
xor    %eax,%eax
call   1030 <new_line@plt>
mov    $0x27,%edi
call   1060 <pad_to@plt>
lea    0xb52(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <myprint@plt>
mov    $0x31,%edi
call   1060 <pad_to@plt>
mov    0x18(%rsp),%rdi
shr    $0x3,%rdi
and    $0x7,%r14d
mov    %r14,%rsi
mov    $0x1,%edx
call   1070 <decode_indirect_address@plt>
mov    (%rsp),%rdi
call   1050 <_regname@plt>
mov    %rax,%rbx
mov    %rbp,%rdi
call   1050 <_regname@plt>
mov    %r15,%rdi
mov    %rbx,%rsi
mov    %rax,%rdx
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <myprint@plt>

LLVM IR (-O0):
@.str = [6 x i8] c"MPYF3\00"
@.str.1 = [6 x i8] c"ADDF3\00"
@.str.2 = [6 x i8] c"SUBF3\00"
@.str.3 = [6 x i8] c"MPYI3\00"
@.str.4 = [6 x i8] c"ADDI3\00"
@.str.5 = [6 x i8] c"SUBI3\00"
@.str.6 = [3 x i8] c"%s\00"
@.str.7 = [3 x i8] c", \00"
@.str.8 = [5 x i8] c", %s\00"
@.str.9 = [6 x i8] c"|| %s\00"
@.str.10 = [11 x i8] c"%s, %s, %s\00"
@.str.11 = [9 x i8] c", %s, %s\00"
@.str.12 = [7 x i8] c"|| %s \00"
@.str.13 = [5 x i8] c"%s, \00"
define void @decode_special_triadic(i64 %0) {
%2 = alloca i64
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i64
%6 = alloca i64
%7 = alloca i64
%8 = alloca i64
%9 = alloca i64
%10 = alloca i64
store i64 %0, i64* %2
%11 = load i64, i64* %2
%12 = and i64 %11, 255
store i64 %12, i64* %8
%13 = load i64, i64* %2
%14 = ashr i64 %13, 8
%15 = and i64 %14, 255
store i64 %15, i64* %7
%16 = load i64, i64* %2
%17 = ashr i64 %16, 16
%18 = and i64 %17, 7
store i64 %18, i64* %6
%19 = load i64, i64* %2
%20 = ashr i64 %19, 19
%21 = and i64 %20, 7
store i64 %21, i64* %5
%22 = load i64, i64* %2
%23 = ashr i64 %22, 22
%24 = and i64 %23, 1
%25 = add nsw i64 %24, 2
store i64 %25, i64* %10
%26 = load i64, i64* %2
%27 = ashr i64 %26, 23
%28 = and i64 %27, 1
store i64 %28, i64* %9
%29 = load i64, i64* %2
%30 = ashr i64 %29, 26
%31 = and i64 %30, 3
switch i64 %31, label %32 [
i64 0, label %33
i64 1, label %34
i64 2, label %35
i64 3, label %36
]
32: ; preds = %1
br label %33
33: ; preds = %1, %32
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8** %4
br label %37
34: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8** %4
br label %37
35: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8** %4
br label %37
36: ; preds = %1
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8** %3
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i8** %4
br label %37
37: ; preds = %36, %35, %34, %33
%38 = load i64, i64* %2
%39 = ashr i64 %38, 24
%40 = and i64 %39, 3
switch i64 %40, label %161 [
i64 0, label %41
i64 1, label %71
i64 2, label %101
i64 3, label %131
]
41: ; preds = %37
%42 = load i8*, i8** %3
%43 = call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* %42)
%44 = call i32 @pad_to(i32 10)
%45 = load i64, i64* %7
%46 = ashr i64 %45, 3
%47 = load i64, i64* %7
%48 = and i64 %47, 7
%49 = call i32 @decode_indirect_address(i64 %46, i64 %48, i32 1)
%50 = call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%51 = load i64, i64* %8
%52 = ashr i64 %51, 3
%53 = load i64, i64* %8
%54 = and i64 %53, 7
%55 = call i32 @decode_indirect_address(i64 %52, i64 %54, i32 1)
%56 = load i64, i64* %9
%57 = call i8* @_regname(i64 %56)
%58 = call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* %57)
%59 = call i32 (...) @new_line()
%60 = call i32 @pad_to(i32 39)
%61 = load i8*, i8** %4
%62 = call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0), i8* %61)
%63 = call i32 @pad_to(i32 49)
%64 = load i64, i64* %5
%65 = call i8* @_regname(i64 %64)
%66 = load i64, i64* %6
%67 = call i8* @_regname(i64 %66)
%68 = load i64, i64* %10
%69 = call i8* @_regname(i64 %68)
%70 = call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i8* %65, i8* %67, i8* %69)
br label %161
71: ; preds = %37
%72 = load i8*, i8** %3
%73 = call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* %72)
%74 = call i32 @pad_to(i32 10)
%75 = load i64, i64* %7
%76 = ashr i64 %75, 3
%77 = load i64, i64* %7
%78 = and i64 %77, 7
%79 = call i32 @decode_indirect_address(i64 %76, i64 %78, i32 1)
%80 = load i64, i64* %5
%81 = call i8* @_regname(i64 %80)
%82 = load i64, i64* %9
%83 = call i8* @_regname(i64 %82)
%84 = load i8*, i8** %4
%85 = call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), i8* %81, i8* %83, i8* %84)
%86 = call i32 (...) @new_line()
%87 = call i32 @pad_to(i32 39)
%88 = load i8*, i8** %4
%89 = call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0), i8* %88)
%90 = call i32 @pad_to(i32 49)
%91 = load i64, i64* %8
%92 = ashr i64 %91, 3
%93 = load i64, i64* %8
%94 = and i64 %93, 7
%95 = call i32 @decode_indirect_address(i64 %92, i64 %94, i32 1)
%96 = load i64, i64* %6
%97 = call i8* @_regname(i64 %96)
%98 = load i64, i64* %10
%99 = call i8* @_regname(i64 %98)
%100 = call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), i8* %97, i8* %99)
br label %161
101: ; preds = %37
%102 = load i8*, i8** %3
%103 = call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* %102)
%104 = call i32 @pad_to(i32 10)
%105 = load i64, i64* %5
%106 = call i8* @_regname(i64 %105)
%107 = load i64, i64* %6
%108 = call i8* @_regname(i64 %107)
%109 = load i64, i64* %9
%110 = call i8* @_regname(i64 %109)
%111 = call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i8* %106, i8* %108, i8* %110)
%112 = call i32 (...) @new_line()
%113 = call i32 @pad_to(i32 39)
%114 = load i8*, i8** %4
%115 = call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0), i8* %114)
%116 = call i32 @pad_to(i32 49)
%117 = load i64, i64* %7
%118 = ashr i64 %117, 3
%119 = load i64, i64* %7
%120 = and i64 %119, 7
%121 = call i32 @decode_indirect_address(i64 %118, i64 %120, i32 1)
%122 = call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%123 = load i64, i64* %8
%124 = ashr i64 %123, 3
%125 = load i64, i64* %8
%126 = and i64 %125, 7
%127 = call i32 @decode_indirect_address(i64 %124, i64 %126, i32 1)
%128 = load i64, i64* %10
%129 = call i8* @_regname(i64 %128)
%130 = call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* %129)
br label %161
131: ; preds = %37
%132 = load i8*, i8** %3
%133 = call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* %132)
%134 = call i32 @pad_to(i32 10)
%135 = load i64, i64* %7
%136 = ashr i64 %135, 3
%137 = load i64, i64* %7
%138 = and i64 %137, 7
%139 = call i32 @decode_indirect_address(i64 %136, i64 %138, i32 1)
%140 = load i64, i64* %5
%141 = call i8* @_regname(i64 %140)
%142 = load i64, i64* %9
%143 = call i8* @_regname(i64 %142)
%144 = call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), i8* %141, i8* %143)
%145 = call i32 (...) @new_line()
%146 = call i32 @pad_to(i32 39)
%147 = load i8*, i8** %4
%148 = call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0), i8* %147)
%149 = call i32 @pad_to(i32 49)
%150 = load i64, i64* %6
%151 = call i8* @_regname(i64 %150)
%152 = call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0), i8* %151)
%153 = load i64, i64* %8
%154 = ashr i64 %153, 3
%155 = load i64, i64* %8
%156 = and i64 %155, 7
%157 = call i32 @decode_indirect_address(i64 %154, i64 %156, i32 1)
%158 = load i64, i64* %10
%159 = call i8* @_regname(i64 %158)
%160 = call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* %159)
br label %161
161: ; preds = %37, %131, %101, %71, %41
ret void
}

LLVM IR (-O2):
@.str = [6 x i8] c"MPYF3\00"
@.str.1 = [6 x i8] c"ADDF3\00"
@.str.2 = [6 x i8] c"SUBF3\00"
@.str.3 = [6 x i8] c"MPYI3\00"
@.str.4 = [6 x i8] c"ADDI3\00"
@.str.5 = [6 x i8] c"SUBI3\00"
@.str.6 = [3 x i8] c"%s\00"
@.str.7 = [3 x i8] c", \00"
@.str.8 = [5 x i8] c", %s\00"
@.str.9 = [6 x i8] c"|| %s\00"
@.str.10 = [11 x i8] c"%s, %s, %s\00"
@.str.11 = [9 x i8] c", %s, %s\00"
@.str.12 = [7 x i8] c"|| %s \00"
@.str.13 = [5 x i8] c"%s, \00"
@switch.table.decode_special_triadic = [4 x i8*] [i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0)]
@switch.table.decode_special_triadic.14 = [4 x i8*] [i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0)]
define void @decode_special_triadic(i64 %0) {
%2 = and i64 %0, 255
%3 = lshr i64 %0, 8
%4 = and i64 %3, 255
%5 = lshr i64 %0, 16
%6 = and i64 %5, 7
%7 = lshr i64 %0, 19
%8 = and i64 %7, 7
%9 = lshr i64 %0, 22
%10 = and i64 %9, 1
%11 = or i64 %10, 2
%12 = lshr i64 %0, 23
%13 = and i64 %12, 1
%14 = lshr i64 %0, 26
%15 = and i64 %14, 3
%16 = getelementptr inbounds [4 x i8*], [4 x i8*]* @switch.table.decode_special_triadic, i64 0, i64 %15
%17 = load i8*, i8** %16
%18 = getelementptr inbounds [4 x i8*], [4 x i8*]* @switch.table.decode_special_triadic.14, i64 0, i64 %15
%19 = load i8*, i8** %18
%20 = lshr i64 %0, 24
%21 = and i64 %20, 3
switch i64 %21, label %101 [
i64 0, label %22
i64 1, label %42
i64 2, label %61
i64 3, label %81
]
22: ; preds = %1
%23 = tail call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* %19)
%24 = tail call i32 @pad_to(i32 10)
%25 = lshr i64 %4, 3
%26 = and i64 %3, 7
%27 = tail call i32 @decode_indirect_address(i64 %25, i64 %26, i32 1)
%28 = tail call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%29 = lshr i64 %2, 3
%30 = and i64 %0, 7
%31 = tail call i32 @decode_indirect_address(i64 %29, i64 %30, i32 1)
%32 = tail call i8* @_regname(i64 %13)
%33 = tail call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* %32)
%34 = tail call i32 (...) @new_line()
%35 = tail call i32 @pad_to(i32 39)
%36 = tail call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0), i8* %17)
%37 = tail call i32 @pad_to(i32 49)
%38 = tail call i8* @_regname(i64 %8)
%39 = tail call i8* @_regname(i64 %6)
%40 = tail call i8* @_regname(i64 %11)
%41 = tail call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i8* %38, i8* %39, i8* %40)
br label %102
42: ; preds = %1
%43 = tail call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* %19)
%44 = tail call i32 @pad_to(i32 10)
%45 = lshr i64 %4, 3
%46 = and i64 %3, 7
%47 = tail call i32 @decode_indirect_address(i64 %45, i64 %46, i32 1)
%48 = tail call i8* @_regname(i64 %8)
%49 = tail call i8* @_regname(i64 %13)
%50 = tail call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), i8* %48, i8* %49, i8* %17)
%51 = tail call i32 (...) @new_line()
%52 = tail call i32 @pad_to(i32 39)
%53 = tail call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0), i8* %17)
%54 = tail call i32 @pad_to(i32 49)
%55 = lshr i64 %2, 3
%56 = and i64 %0, 7
%57 = tail call i32 @decode_indirect_address(i64 %55, i64 %56, i32 1)
%58 = tail call i8* @_regname(i64 %6)
%59 = tail call i8* @_regname(i64 %11)
%60 = tail call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), i8* %58, i8* %59)
br label %102
61: ; preds = %1
%62 = tail call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* %19)
%63 = tail call i32 @pad_to(i32 10)
%64 = tail call i8* @_regname(i64 %8)
%65 = tail call i8* @_regname(i64 %6)
%66 = tail call i8* @_regname(i64 %13)
%67 = tail call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0), i8* %64, i8* %65, i8* %66)
%68 = tail call i32 (...) @new_line()
%69 = tail call i32 @pad_to(i32 39)
%70 = tail call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.12, i64 0, i64 0), i8* %17)
%71 = tail call i32 @pad_to(i32 49)
%72 = lshr i64 %4, 3
%73 = and i64 %3, 7
%74 = tail call i32 @decode_indirect_address(i64 %72, i64 %73, i32 1)
%75 = tail call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
%76 = lshr i64 %2, 3
%77 = and i64 %0, 7
%78 = tail call i32 @decode_indirect_address(i64 %76, i64 %77, i32 1)
%79 = tail call i8* @_regname(i64 %11)
%80 = tail call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* %79)
br label %102
81: ; preds = %1
%82 = tail call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0), i8* %19)
%83 = tail call i32 @pad_to(i32 10)
%84 = lshr i64 %4, 3
%85 = and i64 %3, 7
%86 = tail call i32 @decode_indirect_address(i64 %84, i64 %85, i32 1)
%87 = tail call i8* @_regname(i64 %8)
%88 = tail call i8* @_regname(i64 %13)
%89 = tail call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), i8* %87, i8* %88)
%90 = tail call i32 (...) @new_line()
%91 = tail call i32 @pad_to(i32 39)
%92 = tail call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0), i8* %17)
%93 = tail call i32 @pad_to(i32 49)
%94 = tail call i8* @_regname(i64 %6)
%95 = tail call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0), i8* %94)
%96 = lshr i64 %2, 3
%97 = and i64 %0, 7
%98 = tail call i32 @decode_indirect_address(i64 %96, i64 %97, i32 1)
%99 = tail call i8* @_regname(i64 %11)
%100 = tail call i32 (i8*, ...) @myprint(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i8* %99)
br label %102
101: ; preds = %1
unreachable
102: ; preds = %81, %61, %42, %22
ret void
}