#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*/ cloneStr(char *, int, char *);
int /*<<< orphan*/ nameHundreds(char *, char, char, char);
scalar_t__ strLen(char *, int);
int /*<<< orphan*/ strMerge(char *, int, char *, int, char *, int);
void nameTrio(char *trioName, unsigned char trioOrder, char hundreds, char tens,
              char ones) {
  char hundredsName[32], trioSufix[21], trioPostSufix[7] = "illion";
  nameHundreds(hundredsName, hundreds, tens, ones);
  switch (trioOrder) {
  case 0u:
    cloneStr(hundredsName, 32, trioName);
    return;
  case 1u:
    cloneStr(" thousand ", 10, trioSufix);
    break;
  case 2u:
    cloneStr(" m", 3, trioSufix);
    break;
  case 3u:
    cloneStr(" b", 3, trioSufix);
    break;
  case 4u:
    cloneStr(" tr", 4, trioSufix);
    break;
  case 5u:
    cloneStr(" quadr", 7, trioSufix);
    break;
  case 6u:
    cloneStr(" quint", 7, trioSufix);
    break;
  case 7u:
    cloneStr(" sext", 6, trioSufix);
    break;
  case 8u:
    cloneStr(" sept", 6, trioSufix);
    break;
  case 9u:
    cloneStr(" oct", 5, trioSufix);
    break;
  case 10u:
    cloneStr(" non", 5, trioSufix);
    break;
  case 11u:
    cloneStr(" dec", 5, trioSufix);
    break;
  case 12u:
    cloneStr(" undec", 7, trioSufix);
    break;
  case 13u:
    cloneStr(" duodec", 8, trioSufix);
    break;
  case 14u:
    cloneStr(" tredec", 8, trioSufix);
    break;
  case 15u:
    cloneStr(" quattuordec", 13, trioSufix);
    break;
  case 16u:
    cloneStr(" quindec", 9, trioSufix);
    break;
  case 17u:
    cloneStr(" sexdec", 8, trioSufix);
    break;
  case 18u:
    cloneStr(" septendec", 11, trioSufix);
    break;
  case 19u:
    cloneStr(" octodec", 9, trioSufix);
    break;
  case 20u:
    cloneStr(" novemdec", 10, trioSufix);
    break;
  case 21u:
    cloneStr(" vigint", 8, trioSufix);
    break;
  }
  if (trioOrder > 1u) {
    strMerge(trioSufix, 21, trioPostSufix, 7, trioSufix, 20);
    if (strLen(hundredsName, 32) > 0) {
      strMerge(trioSufix, 21, ", ", 3, trioSufix, 21);
    }
  }
  strMerge(hundredsName, 32, trioSufix, 20, trioName, 51);
}


x86 assembly (clang, -O0):
<nameTrio>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %r8b,%al
mov    %rdi,-0x8(%rbp)
mov    %sil,-0x9(%rbp)
mov    %dl,-0xa(%rbp)
mov    %cl,-0xb(%rbp)
mov    %al,-0xc(%rbp)
movl   $0x6e6f69,-0x55(%rbp)
movl   $0x696c6c69,-0x58(%rbp)
movsbl -0xa(%rbp),%esi
movsbl -0xb(%rbp),%edx
movsbl -0xc(%rbp),%ecx
lea    -0x30(%rbp),%rdi
call   1050 <nameHundreds@plt>
movzbl -0x9(%rbp),%eax
mov    %rax,-0x60(%rbp)
sub    $0x15,%rax
ja     13d9 <nameTrio+0x299>
mov    -0x60(%rbp),%rax
lea    0xe64(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    -0x30(%rbp),%rdi
mov    -0x8(%rbp),%rdx
mov    $0x20,%esi
call   1060 <cloneStr@plt>
jmp    1467 <nameTrio+0x327>
lea    -0x50(%rbp),%rdx
lea    0xe98(%rip),%rdi
mov    $0xa,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xe89(%rip),%rdi
mov    $0x3,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xe72(%rip),%rdi
mov    $0x3,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xe5b(%rip),%rdi
mov    $0x4,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xe45(%rip),%rdi
mov    $0x7,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xe32(%rip),%rdi
mov    $0x7,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xe1f(%rip),%rdi
mov    $0x6,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xe0b(%rip),%rdi
mov    $0x6,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xdf7(%rip),%rdi
mov    $0x5,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xde2(%rip),%rdi
mov    $0x5,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xdcd(%rip),%rdi
mov    $0x5,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xdb8(%rip),%rdi
mov    $0x7,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xda5(%rip),%rdi
mov    $0x8,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xd93(%rip),%rdi
mov    $0x8,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xd81(%rip),%rdi
mov    $0xd,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xd74(%rip),%rdi
mov    $0x9,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xd63(%rip),%rdi
mov    $0x8,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xd51(%rip),%rdi
mov    $0xb,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xd42(%rip),%rdi
mov    $0x9,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xd31(%rip),%rdi
mov    $0xa,%esi
call   1060 <cloneStr@plt>
jmp    13d9 <nameTrio+0x299>
lea    -0x50(%rbp),%rdx
lea    0xd21(%rip),%rdi
mov    $0x8,%esi
call   1060 <cloneStr@plt>
movzbl -0x9(%rbp),%eax
cmp    $0x1,%eax
jbe    1446 <nameTrio+0x306>
lea    -0x50(%rbp),%rdi
lea    -0x58(%rbp),%rdx
lea    -0x50(%rbp),%r8
mov    $0x15,%esi
mov    $0x7,%ecx
mov    $0x14,%r9d
call   1030 <strMerge@plt>
lea    -0x30(%rbp),%rdi
mov    $0x20,%esi
call   1040 <strLen@plt>
cmp    $0x0,%rax
jle    1441 <nameTrio+0x301>
lea    -0x50(%rbp),%rdi
lea    -0x50(%rbp),%r8
mov    $0x15,%r9d
lea    0xcc4(%rip),%rdx
mov    $0x3,%ecx
mov    %r9d,%esi
call   1030 <strMerge@plt>
jmp    1446 <nameTrio+0x306>
lea    -0x30(%rbp),%rdi
lea    -0x50(%rbp),%rdx
mov    -0x8(%rbp),%r8
mov    $0x20,%esi
mov    $0x14,%ecx
mov    $0x33,%r9d
call   1030 <strMerge@plt>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<nameTrio>:
push   %rbp
push   %rbx
sub    $0x48,%rsp
mov    %esi,%ebp
mov    %rdi,%rbx
movl   $0x6e6f69,0x1b(%rsp)
movl   $0x696c6c69,0x18(%rsp)
69
lea    0x20(%rsp),%rdi
mov    %edx,%esi
mov    %ecx,%edx
mov    %r8d,%ecx
call   1050 <nameHundreds@plt>
cmp    $0x15,%bpl
ja     12cb <nameTrio+0x18b>
mov    %ebp,%eax
lea    0xe81(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x20(%rsp),%rdi
mov    $0x20,%esi
mov    %rbx,%rdx
call   1060 <cloneStr@plt>
jmp    1341 <nameTrio+0x201>
lea    0xeb9(%rip),%rdi
mov    %rsp,%rdx
mov    $0xa,%esi
call   1060 <cloneStr@plt>
jmp    1321 <nameTrio+0x1e1>
lea    0xeab(%rip),%rdi
jmp    11c8 <nameTrio+0x88>
lea    0xea5(%rip),%rdi
mov    %rsp,%rdx
mov    $0x3,%esi
jmp    12c6 <nameTrio+0x186>
lea    0xe94(%rip),%rdi
mov    %rsp,%rdx
mov    $0x4,%esi
jmp    12c6 <nameTrio+0x186>
lea    0xe84(%rip),%rdi
jmp    1245 <nameTrio+0x105>
lea    0xe82(%rip),%rdi
jmp    1245 <nameTrio+0x105>
lea    0xe80(%rip),%rdi
jmp    120b <nameTrio+0xcb>
lea    0xe7d(%rip),%rdi
mov    %rsp,%rdx
mov    $0x6,%esi
jmp    12c6 <nameTrio+0x186>
lea    0xe6f(%rip),%rdi
jmp    1231 <nameTrio+0xf1>
lea    0xe6b(%rip),%rdi
jmp    1231 <nameTrio+0xf1>
lea    0xe67(%rip),%rdi
mov    %rsp,%rdx
mov    $0x5,%esi
jmp    12c6 <nameTrio+0x186>
lea    0xe58(%rip),%rdi
mov    %rsp,%rdx
mov    $0x7,%esi
jmp    12c6 <nameTrio+0x186>
lea    0xe4e(%rip),%rdi
jmp    12ad <nameTrio+0x16d>
lea    0xe4d(%rip),%rdi
jmp    12ad <nameTrio+0x16d>
lea    0xe4c(%rip),%rdi
mov    %rsp,%rdx
mov    $0xd,%esi
jmp    12c6 <nameTrio+0x186>
lea    0xe48(%rip),%rdi
jmp    12be <nameTrio+0x17e>
lea    0xe48(%rip),%rdi
jmp    12ad <nameTrio+0x16d>
lea    0xe47(%rip),%rdi
mov    %rsp,%rdx
mov    $0xb,%esi
jmp    12c6 <nameTrio+0x186>
lea    0xe4a(%rip),%rdi
mov    %rsp,%rdx
mov    $0xa,%esi
jmp    12c6 <nameTrio+0x186>
lea    0xe43(%rip),%rdi
mov    %rsp,%rdx
mov    $0x8,%esi
jmp    12c6 <nameTrio+0x186>
lea    0xe1f(%rip),%rdi
mov    %rsp,%rdx
mov    $0x9,%esi
call   1060 <cloneStr@plt>
lea    0x18(%rsp),%rdx
mov    %rsp,%rdi
mov    $0x15,%esi
mov    $0x7,%ecx
mov    %rdi,%r8
mov    $0x14,%r9d
call   1030 <strMerge@plt>
lea    0x20(%rsp),%rdi
mov    $0x20,%esi
call   1040 <strLen@plt>
test   %rax,%rax
jle    1321 <nameTrio+0x1e1>
lea    0xdf2(%rip),%rdx
mov    %rsp,%rdi
mov    $0x15,%esi
mov    $0x3,%ecx
mov    %rdi,%r8
mov    $0x15,%r9d
call   1030 <strMerge@plt>
lea    0x20(%rsp),%rdi
mov    %rsp,%rdx
mov    $0x20,%esi
mov    $0x14,%ecx
mov    %rbx,%r8
mov    $0x33,%r9d
call   1030 <strMerge@plt>
add    $0x48,%rsp
pop    %rbx
pop    %rbp
ret

LLVM IR (-O0):
@__const.nameTrio.trioPostSufix = [7 x i8] c"illion\00"
@.str = [11 x i8] c" thousand \00"
@.str.1 = [3 x i8] c" m\00"
@.str.2 = [3 x i8] c" b\00"
@.str.3 = [4 x i8] c" tr\00"
@.str.4 = [7 x i8] c" quadr\00"
@.str.5 = [7 x i8] c" quint\00"
@.str.6 = [6 x i8] c" sext\00"
@.str.7 = [6 x i8] c" sept\00"
@.str.8 = [5 x i8] c" oct\00"
@.str.9 = [5 x i8] c" non\00"
@.str.10 = [5 x i8] c" dec\00"
@.str.11 = [7 x i8] c" undec\00"
@.str.12 = [8 x i8] c" duodec\00"
@.str.13 = [8 x i8] c" tredec\00"
@.str.14 = [13 x i8] c" quattuordec\00"
@.str.15 = [9 x i8] c" quindec\00"
@.str.16 = [8 x i8] c" sexdec\00"
@.str.17 = [11 x i8] c" septendec\00"
@.str.18 = [9 x i8] c" octodec\00"
@.str.19 = [10 x i8] c" novemdec\00"
@.str.20 = [8 x i8] c" vigint\00"
@.str.21 = [3 x i8] c", \00"
define void @nameTrio(i8* %0, i8 zeroext %1, i8 signext %2, i8 signext %3, i8 signext %4) {
%6 = alloca i8*
%7 = alloca i8
%8 = alloca i8
%9 = alloca i8
%10 = alloca i8
%11 = alloca [32 x i8]
%12 = alloca [21 x i8]
%13 = alloca [7 x i8]
store i8* %0, i8** %6
store i8 %1, i8* %7
store i8 %2, i8* %8
store i8 %3, i8* %9
store i8 %4, i8* %10
%14 = bitcast [7 x i8]* %13 to i8*
%15 = getelementptr inbounds [32 x i8], [32 x i8]* %11, i64 0, i64 0
%16 = load i8, i8* %8
%17 = load i8, i8* %9
%18 = load i8, i8* %10
%19 = call i32 @nameHundreds(i8* %15, i8 signext %16, i8 signext %17, i8 signext %18)
%20 = load i8, i8* %7
%21 = zext i8 %20 to i32
switch i32 %21, label %89 [
i32 0, label %22
i32 1, label %26
i32 2, label %29
i32 3, label %32
i32 4, label %35
i32 5, label %38
i32 6, label %41
i32 7, label %44
i32 8, label %47
i32 9, label %50
i32 10, label %53
i32 11, label %56
i32 12, label %59
i32 13, label %62
i32 14, label %65
i32 15, label %68
i32 16, label %71
i32 17, label %74
i32 18, label %77
i32 19, label %80
i32 20, label %83
i32 21, label %86
]
22: ; preds = %5
%23 = getelementptr inbounds [32 x i8], [32 x i8]* %11, i64 0, i64 0
%24 = load i8*, i8** %6
%25 = call i32 @cloneStr(i8* %23, i32 32, i8* %24)
br label %111
26: ; preds = %5
%27 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%28 = call i32 @cloneStr(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 10, i8* %27)
br label %89
29: ; preds = %5
%30 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%31 = call i32 @cloneStr(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 3, i8* %30)
br label %89
32: ; preds = %5
%33 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%34 = call i32 @cloneStr(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 3, i8* %33)
br label %89
35: ; preds = %5
%36 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%37 = call i32 @cloneStr(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 4, i8* %36)
br label %89
38: ; preds = %5
%39 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%40 = call i32 @cloneStr(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i32 7, i8* %39)
br label %89
41: ; preds = %5
%42 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%43 = call i32 @cloneStr(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i32 7, i8* %42)
br label %89
44: ; preds = %5
%45 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%46 = call i32 @cloneStr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i32 6, i8* %45)
br label %89
47: ; preds = %5
%48 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%49 = call i32 @cloneStr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 6, i8* %48)
br label %89
50: ; preds = %5
%51 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%52 = call i32 @cloneStr(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 5, i8* %51)
br label %89
53: ; preds = %5
%54 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%55 = call i32 @cloneStr(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i32 5, i8* %54)
br label %89
56: ; preds = %5
%57 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%58 = call i32 @cloneStr(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i32 5, i8* %57)
br label %89
59: ; preds = %5
%60 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%61 = call i32 @cloneStr(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0), i32 7, i8* %60)
br label %89
62: ; preds = %5
%63 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%64 = call i32 @cloneStr(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 8, i8* %63)
br label %89
65: ; preds = %5
%66 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%67 = call i32 @cloneStr(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), i32 8, i8* %66)
br label %89
68: ; preds = %5
%69 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%70 = call i32 @cloneStr(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), i32 13, i8* %69)
br label %89
71: ; preds = %5
%72 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%73 = call i32 @cloneStr(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0), i32 9, i8* %72)
br label %89
74: ; preds = %5
%75 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%76 = call i32 @cloneStr(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0), i32 8, i8* %75)
br label %89
77: ; preds = %5
%78 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%79 = call i32 @cloneStr(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.17, i64 0, i64 0), i32 11, i8* %78)
br label %89
80: ; preds = %5
%81 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%82 = call i32 @cloneStr(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.18, i64 0, i64 0), i32 9, i8* %81)
br label %89
83: ; preds = %5
%84 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%85 = call i32 @cloneStr(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 10, i8* %84)
br label %89
86: ; preds = %5
%87 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%88 = call i32 @cloneStr(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.20, i64 0, i64 0), i32 8, i8* %87)
br label %89
89: ; preds = %5, %86, %83, %80, %77, %74, %71, %68, %65, %62, %59, %56, %53, %50, %47, %44, %41, %38, %35, %32, %29, %26
%90 = load i8, i8* %7
%91 = zext i8 %90 to i32
%92 = icmp ugt i32 %91, 1
br i1 %92, label %93, label %106
93: ; preds = %89
%94 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%95 = getelementptr inbounds [7 x i8], [7 x i8]* %13, i64 0, i64 0
%96 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%97 = call i32 @strMerge(i8* %94, i32 21, i8* %95, i32 7, i8* %96, i32 20)
%98 = getelementptr inbounds [32 x i8], [32 x i8]* %11, i64 0, i64 0
%99 = call i64 @strLen(i8* %98, i32 32)
%100 = icmp sgt i64 %99, 0
br i1 %100, label %101, label %105
101: ; preds = %93
%102 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%103 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%104 = call i32 @strMerge(i8* %102, i32 21, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0), i32 3, i8* %103, i32 21)
br label %105
105: ; preds = %101, %93
br label %106
106: ; preds = %105, %89
%107 = getelementptr inbounds [32 x i8], [32 x i8]* %11, i64 0, i64 0
%108 = getelementptr inbounds [21 x i8], [21 x i8]* %12, i64 0, i64 0
%109 = load i8*, i8** %6
%110 = call i32 @strMerge(i8* %107, i32 32, i8* %108, i32 20, i8* %109, i32 51)
br label %111
111: ; preds = %106, %22
ret void
}

LLVM IR (-O2):
@__const.nameTrio.trioPostSufix = [7 x i8] c"illion\00"
@.str = [11 x i8] c" thousand \00"
@.str.1 = [3 x i8] c" m\00"
@.str.2 = [3 x i8] c" b\00"
@.str.3 = [4 x i8] c" tr\00"
@.str.4 = [7 x i8] c" quadr\00"
@.str.5 = [7 x i8] c" quint\00"
@.str.6 = [6 x i8] c" sext\00"
@.str.7 = [6 x i8] c" sept\00"
@.str.8 = [5 x i8] c" oct\00"
@.str.9 = [5 x i8] c" non\00"
@.str.10 = [5 x i8] c" dec\00"
@.str.11 = [7 x i8] c" undec\00"
@.str.12 = [8 x i8] c" duodec\00"
@.str.13 = [8 x i8] c" tredec\00"
@.str.14 = [13 x i8] c" quattuordec\00"
@.str.15 = [9 x i8] c" quindec\00"
@.str.16 = [8 x i8] c" sexdec\00"
@.str.17 = [11 x i8] c" septendec\00"
@.str.18 = [9 x i8] c" octodec\00"
@.str.19 = [10 x i8] c" novemdec\00"
@.str.20 = [8 x i8] c" vigint\00"
@.str.21 = [3 x i8] c", \00"
define void @nameTrio(i8* %0, i8 zeroext %1, i8 signext %2, i8 signext %3, i8 signext %4) {
%6 = alloca [32 x i8]
%7 = alloca [21 x i8]
%8 = alloca [7 x i8]
%9 = getelementptr inbounds [32 x i8], [32 x i8]* %6, i64 0, i64 0
%10 = getelementptr inbounds [21 x i8], [21 x i8]* %7, i64 0, i64 0
%11 = getelementptr inbounds [7 x i8], [7 x i8]* %8, i64 0, i64 0
%12 = call i32 @nameHundreds(i8* %9, i8 signext %2, i8 signext %3, i8 signext %4)
switch i8 %1, label %57 [
i8 0, label %13
i8 1, label %55
i8 2, label %15
i8 3, label %17
i8 4, label %19
i8 5, label %21
i8 6, label %23
i8 7, label %25
i8 8, label %27
i8 9, label %29
i8 10, label %31
i8 11, label %33
i8 12, label %35
i8 13, label %37
i8 14, label %39
i8 15, label %41
i8 16, label %43
i8 17, label %45
i8 18, label %47
i8 19, label %49
i8 20, label %51
i8 21, label %53
]
13: ; preds = %5
%14 = call i32 @cloneStr(i8* %9, i32 32, i8* %0)
br label %65
15: ; preds = %5
%16 = call i32 @cloneStr(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 3, i8* %10)
br label %57
17: ; preds = %5
%18 = call i32 @cloneStr(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32 3, i8* %10)
br label %57
19: ; preds = %5
%20 = call i32 @cloneStr(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 4, i8* %10)
br label %57
21: ; preds = %5
%22 = call i32 @cloneStr(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i32 7, i8* %10)
br label %57
23: ; preds = %5
%24 = call i32 @cloneStr(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i32 7, i8* %10)
br label %57
25: ; preds = %5
%26 = call i32 @cloneStr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i32 6, i8* %10)
br label %57
27: ; preds = %5
%28 = call i32 @cloneStr(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 6, i8* %10)
br label %57
29: ; preds = %5
%30 = call i32 @cloneStr(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0), i32 5, i8* %10)
br label %57
31: ; preds = %5
%32 = call i32 @cloneStr(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0), i32 5, i8* %10)
br label %57
33: ; preds = %5
%34 = call i32 @cloneStr(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i32 5, i8* %10)
br label %57
35: ; preds = %5
%36 = call i32 @cloneStr(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0), i32 7, i8* %10)
br label %57
37: ; preds = %5
%38 = call i32 @cloneStr(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.12, i64 0, i64 0), i32 8, i8* %10)
br label %57
39: ; preds = %5
%40 = call i32 @cloneStr(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.13, i64 0, i64 0), i32 8, i8* %10)
br label %57
41: ; preds = %5
%42 = call i32 @cloneStr(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), i32 13, i8* %10)
br label %57
43: ; preds = %5
%44 = call i32 @cloneStr(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.15, i64 0, i64 0), i32 9, i8* %10)
br label %57
45: ; preds = %5
%46 = call i32 @cloneStr(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.16, i64 0, i64 0), i32 8, i8* %10)
br label %57
47: ; preds = %5
%48 = call i32 @cloneStr(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.17, i64 0, i64 0), i32 11, i8* %10)
br label %57
49: ; preds = %5
%50 = call i32 @cloneStr(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.18, i64 0, i64 0), i32 9, i8* %10)
br label %57
51: ; preds = %5
%52 = call i32 @cloneStr(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.19, i64 0, i64 0), i32 10, i8* %10)
br label %57
53: ; preds = %5
%54 = call i32 @cloneStr(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.20, i64 0, i64 0), i32 8, i8* %10)
br label %57
55: ; preds = %5
%56 = call i32 @cloneStr(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 10, i8* %10)
br label %63
57: ; preds = %5, %53, %51, %49, %47, %45, %43, %41, %39, %37, %35, %33, %31, %29, %27, %25, %23, %21, %19, %17, %15
%58 = call i32 @strMerge(i8* %10, i32 21, i8* %11, i32 7, i8* %10, i32 20)
%59 = call i64 @strLen(i8* %9, i32 32)
%60 = icmp sgt i64 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %57
%62 = call i32 @strMerge(i8* %10, i32 21, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.21, i64 0, i64 0), i32 3, i8* %10, i32 21)
br label %63
63: ; preds = %55, %57, %61
%64 = call i32 @strMerge(i8* %9, i32 32, i8* %10, i32 20, i8* %0, i32 51)
br label %65
65: ; preds = %63, %13
ret void
}