#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*/ strncat(char *, char *, int);
int agrega_diez_o_veinte(const unsigned int numero, char *buffer) {
  int len = 0;
  if (numero == 10) {
    len = 4;
    strncat(buffer, "diez", len);
  } else if (numero == 11) {
    len = 4;
    strncat(buffer, "once", len);
  } else if (numero == 12) {
    len = 4;
    strncat(buffer, "doce", len);
  } else if (numero == 13) {
    len = 5;
    strncat(buffer, "trece", len);
  } else if (numero == 14) {
    len = 7;
    strncat(buffer, "catorce", len);
  } else if (numero == 15) {
    len = 6;
    strncat(buffer, "quince", len);
  } else if (numero == 16) {
    len = 9;
    strncat(buffer, "dieciseis", len);
  } else if (numero == 17) {
    len = 10;
    strncat(buffer, "diecisiete", len);
  } else if (numero == 18) {
    len = 9;
    strncat(buffer, "dieciocho", len);
  } else if (numero == 19) {
    len = 10;
    strncat(buffer, "diecinueve", len);
  } else if (numero == 20) {
    len = 6;
    strncat(buffer, "veinte", len);
  } else if (numero == 21) {
    len = 8;
    strncat(buffer, "veintiun", len);
  } else if (numero == 22) {
    len = 9;
    strncat(buffer, "veintidos", len);
  } else if (numero == 23) {
    len = 10;
    strncat(buffer, "veintitres", len);
  } else if (numero == 24) {
    len = 12;
    strncat(buffer, "veinticuatro", len);
  } else if (numero == 25) {
    len = 11;
    strncat(buffer, "veinticinco", len);
  } else if (numero == 26) {
    len = 10;
    strncat(buffer, "veintiseis", len);
  } else if (numero == 27) {
    len = 11;
    strncat(buffer, "veintisiete", len);
  } else if (numero == 28) {
    len = 10;
    strncat(buffer, "veintiocho", len);
  } else if (numero == 29) {
    len = 11;
    strncat(buffer, "veintinueve", len);
  }
  return len;
}


x86 assembly (clang, -O0):
<agrega_diez_o_veinte>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
cmpl   $0xa,-0x4(%rbp)
jne    114f <agrega_diez_o_veinte+0x3f>
movl   $0x4,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xebb(%rip),%rsi
call   1030 <strncat@plt>
jmp    14b4 <agrega_diez_o_veinte+0x3a4>
cmpl   $0xb,-0x4(%rbp)
jne    1178 <agrega_diez_o_veinte+0x68>
movl   $0x4,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xe97(%rip),%rsi
call   1030 <strncat@plt>
jmp    14af <agrega_diez_o_veinte+0x39f>
cmpl   $0xc,-0x4(%rbp)
jne    11a1 <agrega_diez_o_veinte+0x91>
movl   $0x4,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xe73(%rip),%rsi
call   1030 <strncat@plt>
jmp    14aa <agrega_diez_o_veinte+0x39a>
cmpl   $0xd,-0x4(%rbp)
jne    11ca <agrega_diez_o_veinte+0xba>
movl   $0x5,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xe4f(%rip),%rsi
call   1030 <strncat@plt>
jmp    14a5 <agrega_diez_o_veinte+0x395>
cmpl   $0xe,-0x4(%rbp)
jne    11f3 <agrega_diez_o_veinte+0xe3>
movl   $0x7,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xe2c(%rip),%rsi
call   1030 <strncat@plt>
jmp    14a0 <agrega_diez_o_veinte+0x390>
cmpl   $0xf,-0x4(%rbp)
jne    121c <agrega_diez_o_veinte+0x10c>
movl   $0x6,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xe0b(%rip),%rsi
call   1030 <strncat@plt>
jmp    149b <agrega_diez_o_veinte+0x38b>
cmpl   $0x10,-0x4(%rbp)
jne    1245 <agrega_diez_o_veinte+0x135>
movl   $0x9,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xde9(%rip),%rsi
call   1030 <strncat@plt>
jmp    1496 <agrega_diez_o_veinte+0x386>
cmpl   $0x11,-0x4(%rbp)
jne    126e <agrega_diez_o_veinte+0x15e>
movl   $0xa,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xdca(%rip),%rsi
call   1030 <strncat@plt>
jmp    1491 <agrega_diez_o_veinte+0x381>
cmpl   $0x12,-0x4(%rbp)
jne    1297 <agrega_diez_o_veinte+0x187>
movl   $0x9,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xdac(%rip),%rsi
call   1030 <strncat@plt>
jmp    148c <agrega_diez_o_veinte+0x37c>
cmpl   $0x13,-0x4(%rbp)
jne    12c0 <agrega_diez_o_veinte+0x1b0>
movl   $0xa,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xd8d(%rip),%rsi
call   1030 <strncat@plt>
jmp    1487 <agrega_diez_o_veinte+0x377>
cmpl   $0x14,-0x4(%rbp)
jne    12e9 <agrega_diez_o_veinte+0x1d9>
movl   $0x6,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xd6f(%rip),%rsi
call   1030 <strncat@plt>
jmp    1482 <agrega_diez_o_veinte+0x372>
cmpl   $0x15,-0x4(%rbp)
jne    1312 <agrega_diez_o_veinte+0x202>
movl   $0x8,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xd4d(%rip),%rsi
call   1030 <strncat@plt>
jmp    147d <agrega_diez_o_veinte+0x36d>
cmpl   $0x16,-0x4(%rbp)
jne    133b <agrega_diez_o_veinte+0x22b>
movl   $0x9,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xd2d(%rip),%rsi
call   1030 <strncat@plt>
jmp    1478 <agrega_diez_o_veinte+0x368>
cmpl   $0x17,-0x4(%rbp)
jne    1364 <agrega_diez_o_veinte+0x254>
movl   $0xa,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xd0e(%rip),%rsi
call   1030 <strncat@plt>
jmp    1473 <agrega_diez_o_veinte+0x363>
cmpl   $0x18,-0x4(%rbp)
jne    138d <agrega_diez_o_veinte+0x27d>
movl   $0xc,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xcf0(%rip),%rsi
call   1030 <strncat@plt>
jmp    146e <agrega_diez_o_veinte+0x35e>
cmpl   $0x19,-0x4(%rbp)
jne    13b6 <agrega_diez_o_veinte+0x2a6>
movl   $0xb,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xcd4(%rip),%rsi
call   1030 <strncat@plt>
jmp    1469 <agrega_diez_o_veinte+0x359>
cmpl   $0x1a,-0x4(%rbp)
jne    13df <agrega_diez_o_veinte+0x2cf>
movl   $0xa,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xcb7(%rip),%rsi
call   1030 <strncat@plt>
jmp    1464 <agrega_diez_o_veinte+0x354>
cmpl   $0x1b,-0x4(%rbp)
jne    1408 <agrega_diez_o_veinte+0x2f8>
movl   $0xb,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xc99(%rip),%rsi
call   1030 <strncat@plt>
jmp    145f <agrega_diez_o_veinte+0x34f>
cmpl   $0x1c,-0x4(%rbp)
jne    1431 <agrega_diez_o_veinte+0x321>
movl   $0xa,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xc7c(%rip),%rsi
call   1030 <strncat@plt>
jmp    145a <agrega_diez_o_veinte+0x34a>
cmpl   $0x1d,-0x4(%rbp)
jne    1455 <agrega_diez_o_veinte+0x345>
movl   $0xb,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
lea    0xc5e(%rip),%rsi
call   1030 <strncat@plt>
jmp    145a <agrega_diez_o_veinte+0x34a>
jmp    145f <agrega_diez_o_veinte+0x34f>
jmp    1464 <agrega_diez_o_veinte+0x354>
jmp    1469 <agrega_diez_o_veinte+0x359>
jmp    146e <agrega_diez_o_veinte+0x35e>
jmp    1473 <agrega_diez_o_veinte+0x363>
jmp    1478 <agrega_diez_o_veinte+0x368>
jmp    147d <agrega_diez_o_veinte+0x36d>
jmp    1482 <agrega_diez_o_veinte+0x372>
jmp    1487 <agrega_diez_o_veinte+0x377>
jmp    148c <agrega_diez_o_veinte+0x37c>
jmp    1491 <agrega_diez_o_veinte+0x381>
jmp    1496 <agrega_diez_o_veinte+0x386>
jmp    149b <agrega_diez_o_veinte+0x38b>
jmp    14a0 <agrega_diez_o_veinte+0x390>
jmp    14a5 <agrega_diez_o_veinte+0x395>
jmp    14aa <agrega_diez_o_veinte+0x39a>
jmp    14af <agrega_diez_o_veinte+0x39f>
jmp    14b4 <agrega_diez_o_veinte+0x3a4>
mov    -0x14(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<agrega_diez_o_veinte>:
push   %rbx
add    $0xfffffff6,%edi
cmp    $0x13,%edi
ja     1132 <agrega_diez_o_veinte+0x22>
lea    0xee0(%rip),%rax
movslq (%rax,%rdi,4),%rcx
add    %rax,%rcx
jmp    *%rcx
lea    0xf20(%rip),%rax
jmp    1149 <agrega_diez_o_veinte+0x39>
xor    %ebx,%ebx
jmp    128c <agrega_diez_o_veinte+0x17c>
lea    0xf15(%rip),%rax
jmp    1149 <agrega_diez_o_veinte+0x39>
lea    0xf11(%rip),%rax
mov    $0x4,%ebx
mov    %rsi,%rdi
mov    %rax,%rsi
mov    $0x4,%edx
jmp    1287 <agrega_diez_o_veinte+0x177>
lea    0xefa(%rip),%rax
mov    $0x5,%ebx
mov    %rsi,%rdi
mov    %rax,%rsi
mov    $0x5,%edx
jmp    1287 <agrega_diez_o_veinte+0x177>
lea    0xee4(%rip),%rax
mov    $0x7,%ebx
mov    %rsi,%rdi
mov    %rax,%rsi
mov    $0x7,%edx
jmp    1287 <agrega_diez_o_veinte+0x177>
lea    0xed0(%rip),%rax
jmp    11d0 <agrega_diez_o_veinte+0xc0>
lea    0xece(%rip),%rax
jmp    1208 <agrega_diez_o_veinte+0xf8>
lea    0xecf(%rip),%rax
jmp    125e <agrega_diez_o_veinte+0x14e>
lea    0xece(%rip),%rax
jmp    1208 <agrega_diez_o_veinte+0xf8>
lea    0xecf(%rip),%rax
jmp    125e <agrega_diez_o_veinte+0x14e>
lea    0xece(%rip),%rax
mov    $0x6,%ebx
mov    %rsi,%rdi
mov    %rax,%rsi
mov    $0x6,%edx
jmp    1287 <agrega_diez_o_veinte+0x177>
lea    0xeb9(%rip),%rax
mov    $0x8,%ebx
mov    %rsi,%rdi
mov    %rax,%rsi
mov    $0x8,%edx
jmp    1287 <agrega_diez_o_veinte+0x177>
lea    0xea6(%rip),%rax
mov    $0x9,%ebx
mov    %rsi,%rdi
mov    %rax,%rsi
mov    $0x9,%edx
jmp    1287 <agrega_diez_o_veinte+0x177>
lea    0xe97(%rip),%rax
jmp    125e <agrega_diez_o_veinte+0x14e>
lea    0xe99(%rip),%rax
mov    $0xc,%ebx
mov    %rsi,%rdi
mov    %rax,%rsi
mov    $0xc,%edx
jmp    1287 <agrega_diez_o_veinte+0x177>
lea    0xe8d(%rip),%rax
jmp    1277 <agrega_diez_o_veinte+0x167>
lea    0xe90(%rip),%rax
jmp    125e <agrega_diez_o_veinte+0x14e>
lea    0xe92(%rip),%rax
jmp    1277 <agrega_diez_o_veinte+0x167>
lea    0xe95(%rip),%rax
mov    $0xa,%ebx
mov    %rsi,%rdi
mov    %rax,%rsi
mov    $0xa,%edx
jmp    1287 <agrega_diez_o_veinte+0x177>
lea    0xe87(%rip),%rax
mov    $0xb,%ebx
mov    %rsi,%rdi
mov    %rax,%rsi
mov    $0xb,%edx
call   1030 <strncat@plt>
mov    %ebx,%eax
pop    %rbx
ret

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

LLVM IR (-O2):
@.str = [5 x i8] c"diez\00"
@.str.1 = [5 x i8] c"once\00"
@.str.2 = [5 x i8] c"doce\00"
@.str.3 = [6 x i8] c"trece\00"
@.str.4 = [8 x i8] c"catorce\00"
@.str.5 = [7 x i8] c"quince\00"
@.str.6 = [10 x i8] c"dieciseis\00"
@.str.7 = [11 x i8] c"diecisiete\00"
@.str.8 = [10 x i8] c"dieciocho\00"
@.str.9 = [11 x i8] c"diecinueve\00"
@.str.10 = [7 x i8] c"veinte\00"
@.str.11 = [9 x i8] c"veintiun\00"
@.str.12 = [10 x i8] c"veintidos\00"
@.str.13 = [11 x i8] c"veintitres\00"
@.str.14 = [13 x i8] c"veinticuatro\00"
@.str.15 = [12 x i8] c"veinticinco\00"
@.str.16 = [11 x i8] c"veintiseis\00"
@.str.17 = [12 x i8] c"veintisiete\00"
@.str.18 = [11 x i8] c"veintiocho\00"
@.str.19 = [12 x i8] c"veintinueve\00"
define i32 @agrega_diez_o_veinte(i32 %0, i8* %1) {
switch i32 %0, label %43 [
i32 10, label %3
i32 11, label %5
i32 12, label %7
i32 13, label %9
i32 14, label %11
i32 15, label %13
i32 16, label %15
i32 17, label %17
i32 18, label %19
i32 19, label %21
i32 20, label %23
i32 21, label %25
i32 22, label %27
i32 23, label %29
i32 24, label %31
i32 25, label %33
i32 26, label %35
i32 27, label %37
i32 28, label %39
i32 29, label %41
]
3: ; preds = %2
%4 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 4)
br label %43
5: ; preds = %2
%6 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32 4)
br label %43
7: ; preds = %2
%8 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 4)
br label %43
9: ; preds = %2
%10 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32 5)
br label %43
11: ; preds = %2
%12 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0), i32 7)
br label %43
13: ; preds = %2
%14 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0), i32 6)
br label %43
15: ; preds = %2
%16 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.6, i64 0, i64 0), i32 9)
br label %43
17: ; preds = %2
%18 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.7, i64 0, i64 0), i32 10)
br label %43
19: ; preds = %2
%20 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.8, i64 0, i64 0), i32 9)
br label %43
21: ; preds = %2
%22 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.9, i64 0, i64 0), i32 10)
br label %43
23: ; preds = %2
%24 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.10, i64 0, i64 0), i32 6)
br label %43
25: ; preds = %2
%26 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0), i32 8)
br label %43
27: ; preds = %2
%28 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.12, i64 0, i64 0), i32 9)
br label %43
29: ; preds = %2
%30 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0), i32 10)
br label %43
31: ; preds = %2
%32 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), i32 12)
br label %43
33: ; preds = %2
%34 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.15, i64 0, i64 0), i32 11)
br label %43
35: ; preds = %2
%36 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.16, i64 0, i64 0), i32 10)
br label %43
37: ; preds = %2
%38 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.17, i64 0, i64 0), i32 11)
br label %43
39: ; preds = %2
%40 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.18, i64 0, i64 0), i32 10)
br label %43
41: ; preds = %2
%42 = tail call i32 @strncat(i8* %1, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.19, i64 0, i64 0), i32 11)
br label %43
43: ; preds = %2, %5, %9, %13, %17, %21, %25, %29, %33, %37, %41, %39, %35, %31, %27, %23, %19, %15, %11, %7, %3
%44 = phi i32 [ 4, %3 ], [ 4, %5 ], [ 4, %7 ], [ 5, %9 ], [ 7, %11 ], [ 6, %13 ], [ 9, %15 ], [ 10, %17 ], [ 9, %19 ], [ 10, %21 ], [ 6, %23 ], [ 8, %25 ], [ 9, %27 ], [ 10, %29 ], [ 12, %31 ], [ 11, %33 ], [ 10, %35 ], [ 11, %37 ], [ 10, %39 ], [ 11, %41 ], [ 0, %2 ]
ret i32 %44
}