#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 */
struct dyString {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ dyStringAppend(struct dyString *, char *);
char *dyStringCannibalize(struct dyString **);
int /*<<< orphan*/ dyStringPrintf(struct dyString *, char *, int);
int /*<<< orphan*/ errAbort(char *, int, int, int);
struct dyString *newDyString(int /*<<< orphan*/);
char *bedAsDef(int bedFieldCount, int totalFieldCount) {
  if (bedFieldCount < 3 || bedFieldCount > 15)
    errAbort("bedFieldCount is %d, but must be between %d and %d in bedAsDef",
             bedFieldCount, 3, 15);
  struct dyString *dy = newDyString(0);
  dyStringAppend(
      dy,
      "table bed\n"
      "\"Browser Extensible Data\"\n"
      "   (\n"
      "   string chrom;       \"Reference sequence chromosome or scaffold\"\n"
      "   uint   chromStart;  \"Start position in chromosome\"\n"
      "   uint   chromEnd;    \"End position in chromosome\"\n");
  if (bedFieldCount >= 4)
    dyStringAppend(dy, "   string name;        \"Name of item.\"\n");
  if (bedFieldCount >= 5)
    dyStringAppend(dy, "   uint score;          \"Score (0-1000)\"\n");
  if (bedFieldCount >= 6)
    dyStringAppend(dy, "   char[1] strand;     \"+ or - for strand\"\n");
  if (bedFieldCount >= 7)
    dyStringAppend(dy, "   uint thickStart;   \"Start of where display should "
                       "be thick (start codon)\"\n");
  if (bedFieldCount >= 8)
    dyStringAppend(dy, "   uint thickEnd;     \"End of where display should be "
                       "thick (stop codon)\"\n");
  if (bedFieldCount >= 9)
    dyStringAppend(
        dy, "   uint reserved;     \"Used as itemRgb as of 2004-11-22\"\n");
  if (bedFieldCount >= 10)
    dyStringAppend(dy, "   int blockCount;    \"Number of blocks\"\n");
  if (bedFieldCount >= 11)
    dyStringAppend(dy, "   int[blockCount] blockSizes; \"Comma separated list "
                       "of block sizes\"\n");
  if (bedFieldCount >= 12)
    dyStringAppend(dy, "   int[blockCount] chromStarts; \"Start positions "
                       "relative to chromStart\"\n");
  if (bedFieldCount >= 13)
    dyStringAppend(dy, "   int expCount;	\"Experiment count\"\n");
  if (bedFieldCount >= 14)
    dyStringAppend(dy, "   int[expCount] expIds;	\"Comma separated list "
                       "of experiment ids. Always 0,1,2,3....\"\n");
  if (bedFieldCount >= 15)
    dyStringAppend(dy, "   float[expCount] expScores; \"Comma separated list "
                       "of experiment scores.\"\n");
  int i;
  for (i = bedFieldCount + 1; i <= totalFieldCount; ++i)
    dyStringPrintf(dy, "string field%d;	\"Undocumented field\"\n", i + 1);
  dyStringAppend(dy, "   )\n");
  return dyStringCannibalize(&dy);
}


x86 assembly (clang, -O0):
<bedAsDef>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
cmpl   $0x3,-0x4(%rbp)
jl     1172 <bedAsDef+0x22>
cmpl   $0xf,-0x4(%rbp)
jle    118b <bedAsDef+0x3b>
mov    -0x4(%rbp),%esi
lea    0xe84(%rip),%rdi
mov    $0x3,%edx
mov    $0xf,%ecx
call   1030 <errAbort@plt>
xor    %edi,%edi
call   1050 <newDyString@plt>
mov    %rax,-0x10(%rbp)
mov    -0x10(%rbp),%rdi
lea    0xe9e(%rip),%rsi
call   1040 <dyStringAppend@plt>
cmpl   $0x4,-0x4(%rbp)
jl     11c0 <bedAsDef+0x70>
mov    -0x10(%rbp),%rdi
lea    0xf5b(%rip),%rsi
call   1040 <dyStringAppend@plt>
cmpl   $0x5,-0x4(%rbp)
jl     11da <bedAsDef+0x8a>
mov    -0x10(%rbp),%rdi
lea    0xf69(%rip),%rsi
call   1040 <dyStringAppend@plt>
cmpl   $0x6,-0x4(%rbp)
jl     11f4 <bedAsDef+0xa4>
mov    -0x10(%rbp),%rdi
lea    0xf79(%rip),%rsi
call   1040 <dyStringAppend@plt>
cmpl   $0x7,-0x4(%rbp)
jl     120e <bedAsDef+0xbe>
mov    -0x10(%rbp),%rdi
lea    0xf8b(%rip),%rsi
call   1040 <dyStringAppend@plt>
cmpl   $0x8,-0x4(%rbp)
jl     1228 <bedAsDef+0xd8>
mov    -0x10(%rbp),%rdi
lea    0xfbf(%rip),%rsi
call   1040 <dyStringAppend@plt>
cmpl   $0x9,-0x4(%rbp)
jl     1242 <bedAsDef+0xf2>
mov    -0x10(%rbp),%rdi
lea    0xff0(%rip),%rsi
call   1040 <dyStringAppend@plt>
cmpl   $0xa,-0x4(%rbp)
jl     125c <bedAsDef+0x10c>
mov    -0x10(%rbp),%rdi
lea    0x1010(%rip),%rsi
call   1040 <dyStringAppend@plt>
cmpl   $0xb,-0x4(%rbp)
jl     1276 <bedAsDef+0x126>
mov    -0x10(%rbp),%rdi
lea    0x1020(%rip),%rsi
call   1040 <dyStringAppend@plt>
cmpl   $0xc,-0x4(%rbp)
jl     1290 <bedAsDef+0x140>
mov    -0x10(%rbp),%rdi
lea    0x104c(%rip),%rsi
call   1040 <dyStringAppend@plt>
cmpl   $0xd,-0x4(%rbp)
jl     12aa <bedAsDef+0x15a>
mov    -0x10(%rbp),%rdi
lea    0x107c(%rip),%rsi
call   1040 <dyStringAppend@plt>
cmpl   $0xe,-0x4(%rbp)
jl     12c4 <bedAsDef+0x174>
mov    -0x10(%rbp),%rdi
lea    0x1087(%rip),%rsi
call   1040 <dyStringAppend@plt>
cmpl   $0xf,-0x4(%rbp)
jl     12de <bedAsDef+0x18e>
mov    -0x10(%rbp),%rdi
lea    0x10c4(%rip),%rsi
call   1040 <dyStringAppend@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jg     1317 <bedAsDef+0x1c7>
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%edx
add    $0x1,%edx
lea    0x10e5(%rip),%rsi
call   1070 <dyStringPrintf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    12e7 <bedAsDef+0x197>
mov    -0x10(%rbp),%rdi
lea    0x10ed(%rip),%rsi
call   1040 <dyStringAppend@plt>
lea    -0x10(%rbp),%rdi
call   1060 <dyStringCannibalize@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<bedAsDef>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    %esi,%r14d
mov    %edi,%ebx
lea    -0x10(%rbx),%eax
cmp    $0xfffffff2,%eax
ja     117d <bedAsDef+0x2d>
lea    0xe94(%rip),%rdi
mov    %ebx,%esi
mov    $0x3,%edx
mov    $0xf,%ecx
call   1030 <errAbort@plt>
xor    %edi,%edi
call   1050 <newDyString@plt>
mov    %rax,%r15
mov    %rax,(%rsp)
lea    0xead(%rip),%rsi
mov    %rax,%rdi
call   1040 <dyStringAppend@plt>
cmp    $0x4,%ebx
jl     12a2 <bedAsDef+0x152>
lea    0xf6c(%rip),%rsi
mov    %r15,%rdi
call   1040 <dyStringAppend@plt>
cmp    $0x4,%ebx
je     12a2 <bedAsDef+0x152>
lea    0xf7c(%rip),%rsi
mov    %r15,%rdi
call   1040 <dyStringAppend@plt>
cmp    $0x6,%ebx
jb     12a2 <bedAsDef+0x152>
lea    0xf8e(%rip),%rsi
mov    %r15,%rdi
call   1040 <dyStringAppend@plt>
cmp    $0x6,%ebx
je     12a2 <bedAsDef+0x152>
lea    0xfa2(%rip),%rsi
mov    %r15,%rdi
call   1040 <dyStringAppend@plt>
cmp    $0x8,%ebx
jb     12a2 <bedAsDef+0x152>
lea    0xfd8(%rip),%rsi
mov    %r15,%rdi
call   1040 <dyStringAppend@plt>
cmp    $0x8,%ebx
je     12a2 <bedAsDef+0x152>
lea    0x100b(%rip),%rsi
mov    %r15,%rdi
call   1040 <dyStringAppend@plt>
cmp    $0xa,%ebx
jb     12a2 <bedAsDef+0x152>
lea    0x1031(%rip),%rsi
mov    %r15,%rdi
call   1040 <dyStringAppend@plt>
cmp    $0xa,%ebx
je     12a2 <bedAsDef+0x152>
lea    0x1047(%rip),%rsi
mov    %r15,%rdi
call   1040 <dyStringAppend@plt>
cmp    $0xc,%ebx
jb     12a2 <bedAsDef+0x152>
lea    0x1079(%rip),%rsi
mov    %r15,%rdi
call   1040 <dyStringAppend@plt>
cmp    $0xc,%ebx
je     12a2 <bedAsDef+0x152>
lea    0x10af(%rip),%rsi
mov    %r15,%rdi
call   1040 <dyStringAppend@plt>
cmp    $0xe,%ebx
jb     12a2 <bedAsDef+0x152>
lea    0x10c0(%rip),%rsi
mov    %r15,%rdi
call   1040 <dyStringAppend@plt>
cmp    $0xe,%ebx
je     12a2 <bedAsDef+0x152>
lea    0x1103(%rip),%rsi
mov    %r15,%rdi
call   1040 <dyStringAppend@plt>
cmp    %r14d,%ebx
jge    12e0 <bedAsDef+0x190>
neg    %r14d
add    $0x2,%ebx
lea    0x1135(%rip),%r12
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    %r15,%rdi
mov    %r12,%rsi
mov    %ebx,%edx
call   1070 <dyStringPrintf@plt>
lea    (%r14,%rbx,1),%eax
add    $0x1,%eax
mov    %ebx,%ecx
add    $0x1,%ecx
mov    %ecx,%ebx
cmp    $0x2,%eax
jne    12c0 <bedAsDef+0x170>
lea    0x1128(%rip),%rsi
mov    %r15,%rdi
call   1040 <dyStringAppend@plt>
mov    %rsp,%rdi
call   1060 <dyStringCannibalize@plt>
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
%struct.dyString = type { i32 }
@.str = [63 x i8] c"bedFieldCount is %d, but must be between %d and %d in bedAsDef\00"
@.str.1 = [215 x i8] c"table bed\0A\22Browser Extensible Data\22\0A (\0A string chrom; \22Reference sequence chromosome or scaffold\22\0A uint chromStart; \22Start position in chromosome\22\0A uint chromEnd; \22End position in chromosome\22\0A\00"
@.str.2 = [40 x i8] c" string name; \22Name of item.\22\0A\00"
@.str.3 = [42 x i8] c" uint score; \22Score (0-1000)\22\0A\00"
@.str.4 = [44 x i8] c" char[1] strand; \22+ or - for strand\22\0A\00"
@.str.5 = [78 x i8] c" uint thickStart; \22Start of where display should be thick (start codon)\22\0A\00"
@.str.6 = [75 x i8] c" uint thickEnd; \22End of where display should be thick (stop codon)\22\0A\00"
@.str.7 = [58 x i8] c" uint reserved; \22Used as itemRgb as of 2004-11-22\22\0A\00"
@.str.8 = [42 x i8] c" int blockCount; \22Number of blocks\22\0A\00"
@.str.9 = [70 x i8] c" int[blockCount] blockSizes; \22Comma separated list of block sizes\22\0A\00"
@.str.10 = [74 x i8] c" int[blockCount] chromStarts; \22Start positions relative to chromStart\22\0A\00"
@.str.11 = [37 x i8] c" int expCount;\09\22Experiment count\22\0A\00"
@.str.12 = [87 x i8] c" int[expCount] expIds;\09\22Comma separated list of experiment ids. Always 0,1,2,3....\22\0A\00"
@.str.13 = [76 x i8] c" float[expCount] expScores; \22Comma separated list of experiment scores.\22\0A\00"
@.str.14 = [38 x i8] c"string field%d;\09\22Undocumented field\22\0A\00"
@.str.15 = [6 x i8] c" )\0A\00"
define i8* @bedAsDef(i32 %0, i32 %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca %struct.dyString*
%6 = alloca i32
store i32 %0, i32* %3
store i32 %1, i32* %4
%7 = load i32, i32* %3
%8 = icmp slt i32 %7, 3
br i1 %8, label %12, label %9
9: ; preds = %2
%10 = load i32, i32* %3
%11 = icmp sgt i32 %10, 15
br i1 %11, label %12, label %15
12: ; preds = %9, %2
%13 = load i32, i32* %3
%14 = call i32 @errAbort(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str, i64 0, i64 0), i32 %13, i32 3, i32 15)
br label %15
15: ; preds = %12, %9
%16 = call %struct.dyString* @newDyString(i32 0)
store %struct.dyString* %16, %struct.dyString** %5
%17 = load %struct.dyString*, %struct.dyString** %5
%18 = call i32 @dyStringAppend(%struct.dyString* %17, i8* getelementptr inbounds ([215 x i8], [215 x i8]* @.str.1, i64 0, i64 0))
%19 = load i32, i32* %3
%20 = icmp sge i32 %19, 4
br i1 %20, label %21, label %24
21: ; preds = %15
%22 = load %struct.dyString*, %struct.dyString** %5
%23 = call i32 @dyStringAppend(%struct.dyString* %22, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0))
br label %24
24: ; preds = %21, %15
%25 = load i32, i32* %3
%26 = icmp sge i32 %25, 5
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load %struct.dyString*, %struct.dyString** %5
%29 = call i32 @dyStringAppend(%struct.dyString* %28, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.3, i64 0, i64 0))
br label %30
30: ; preds = %27, %24
%31 = load i32, i32* %3
%32 = icmp sge i32 %31, 6
br i1 %32, label %33, label %36
33: ; preds = %30
%34 = load %struct.dyString*, %struct.dyString** %5
%35 = call i32 @dyStringAppend(%struct.dyString* %34, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.4, i64 0, i64 0))
br label %36
36: ; preds = %33, %30
%37 = load i32, i32* %3
%38 = icmp sge i32 %37, 7
br i1 %38, label %39, label %42
39: ; preds = %36
%40 = load %struct.dyString*, %struct.dyString** %5
%41 = call i32 @dyStringAppend(%struct.dyString* %40, i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.5, i64 0, i64 0))
br label %42
42: ; preds = %39, %36
%43 = load i32, i32* %3
%44 = icmp sge i32 %43, 8
br i1 %44, label %45, label %48
45: ; preds = %42
%46 = load %struct.dyString*, %struct.dyString** %5
%47 = call i32 @dyStringAppend(%struct.dyString* %46, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.6, i64 0, i64 0))
br label %48
48: ; preds = %45, %42
%49 = load i32, i32* %3
%50 = icmp sge i32 %49, 9
br i1 %50, label %51, label %54
51: ; preds = %48
%52 = load %struct.dyString*, %struct.dyString** %5
%53 = call i32 @dyStringAppend(%struct.dyString* %52, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.7, i64 0, i64 0))
br label %54
54: ; preds = %51, %48
%55 = load i32, i32* %3
%56 = icmp sge i32 %55, 10
br i1 %56, label %57, label %60
57: ; preds = %54
%58 = load %struct.dyString*, %struct.dyString** %5
%59 = call i32 @dyStringAppend(%struct.dyString* %58, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.8, i64 0, i64 0))
br label %60
60: ; preds = %57, %54
%61 = load i32, i32* %3
%62 = icmp sge i32 %61, 11
br i1 %62, label %63, label %66
63: ; preds = %60
%64 = load %struct.dyString*, %struct.dyString** %5
%65 = call i32 @dyStringAppend(%struct.dyString* %64, i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.9, i64 0, i64 0))
br label %66
66: ; preds = %63, %60
%67 = load i32, i32* %3
%68 = icmp sge i32 %67, 12
br i1 %68, label %69, label %72
69: ; preds = %66
%70 = load %struct.dyString*, %struct.dyString** %5
%71 = call i32 @dyStringAppend(%struct.dyString* %70, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.10, i64 0, i64 0))
br label %72
72: ; preds = %69, %66
%73 = load i32, i32* %3
%74 = icmp sge i32 %73, 13
br i1 %74, label %75, label %78
75: ; preds = %72
%76 = load %struct.dyString*, %struct.dyString** %5
%77 = call i32 @dyStringAppend(%struct.dyString* %76, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.11, i64 0, i64 0))
br label %78
78: ; preds = %75, %72
%79 = load i32, i32* %3
%80 = icmp sge i32 %79, 14
br i1 %80, label %81, label %84
81: ; preds = %78
%82 = load %struct.dyString*, %struct.dyString** %5
%83 = call i32 @dyStringAppend(%struct.dyString* %82, i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str.12, i64 0, i64 0))
br label %84
84: ; preds = %81, %78
%85 = load i32, i32* %3
%86 = icmp sge i32 %85, 15
br i1 %86, label %87, label %90
87: ; preds = %84
%88 = load %struct.dyString*, %struct.dyString** %5
%89 = call i32 @dyStringAppend(%struct.dyString* %88, i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.13, i64 0, i64 0))
br label %90
90: ; preds = %87, %84
%91 = load i32, i32* %3
%92 = add nsw i32 %91, 1
store i32 %92, i32* %6
br label %93
93: ; preds = %102, %90
%94 = load i32, i32* %6
%95 = load i32, i32* %4
%96 = icmp sle i32 %94, %95
br i1 %96, label %97, label %105
97: ; preds = %93
%98 = load %struct.dyString*, %struct.dyString** %5
%99 = load i32, i32* %6
%100 = add nsw i32 %99, 1
%101 = call i32 @dyStringPrintf(%struct.dyString* %98, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.14, i64 0, i64 0), i32 %100)
br label %102
102: ; preds = %97
%103 = load i32, i32* %6
%104 = add nsw i32 %103, 1
store i32 %104, i32* %6
br label %93
105: ; preds = %93
%106 = load %struct.dyString*, %struct.dyString** %5
%107 = call i32 @dyStringAppend(%struct.dyString* %106, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0))
%108 = call i8* @dyStringCannibalize(%struct.dyString** %5)
ret i8* %108
}

LLVM IR (-O2):
%struct.dyString = type { i32 }
@.str = [63 x i8] c"bedFieldCount is %d, but must be between %d and %d in bedAsDef\00"
@.str.1 = [215 x i8] c"table bed\0A\22Browser Extensible Data\22\0A (\0A string chrom; \22Reference sequence chromosome or scaffold\22\0A uint chromStart; \22Start position in chromosome\22\0A uint chromEnd; \22End position in chromosome\22\0A\00"
@.str.2 = [40 x i8] c" string name; \22Name of item.\22\0A\00"
@.str.3 = [42 x i8] c" uint score; \22Score (0-1000)\22\0A\00"
@.str.4 = [44 x i8] c" char[1] strand; \22+ or - for strand\22\0A\00"
@.str.5 = [78 x i8] c" uint thickStart; \22Start of where display should be thick (start codon)\22\0A\00"
@.str.6 = [75 x i8] c" uint thickEnd; \22End of where display should be thick (stop codon)\22\0A\00"
@.str.7 = [58 x i8] c" uint reserved; \22Used as itemRgb as of 2004-11-22\22\0A\00"
@.str.8 = [42 x i8] c" int blockCount; \22Number of blocks\22\0A\00"
@.str.9 = [70 x i8] c" int[blockCount] blockSizes; \22Comma separated list of block sizes\22\0A\00"
@.str.10 = [74 x i8] c" int[blockCount] chromStarts; \22Start positions relative to chromStart\22\0A\00"
@.str.11 = [37 x i8] c" int expCount;\09\22Experiment count\22\0A\00"
@.str.12 = [87 x i8] c" int[expCount] expIds;\09\22Comma separated list of experiment ids. Always 0,1,2,3....\22\0A\00"
@.str.13 = [76 x i8] c" float[expCount] expScores; \22Comma separated list of experiment scores.\22\0A\00"
@.str.14 = [38 x i8] c"string field%d;\09\22Undocumented field\22\0A\00"
@.str.15 = [6 x i8] c" )\0A\00"
define i8* @bedAsDef(i32 %0, i32 %1) {
%3 = alloca %struct.dyString*
%4 = add i32 %0, -16
%5 = icmp ult i32 %4, -13
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = tail call i32 @errAbort(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str, i64 0, i64 0), i32 %0, i32 3, i32 15)
br label %8
8: ; preds = %2, %6
%9 = bitcast %struct.dyString** %3 to i8*
%10 = tail call %struct.dyString* @newDyString(i32 0)
store %struct.dyString* %10, %struct.dyString** %3
%11 = tail call i32 @dyStringAppend(%struct.dyString* %10, i8* getelementptr inbounds ([215 x i8], [215 x i8]* @.str.1, i64 0, i64 0))
%12 = icmp sgt i32 %0, 3
br i1 %12, label %13, label %48
13: ; preds = %8
%14 = tail call i32 @dyStringAppend(%struct.dyString* %10, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.2, i64 0, i64 0))
%15 = icmp eq i32 %0, 4
br i1 %15, label %48, label %16
16: ; preds = %13
%17 = tail call i32 @dyStringAppend(%struct.dyString* %10, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.3, i64 0, i64 0))
%18 = icmp ugt i32 %0, 5
br i1 %18, label %19, label %48
19: ; preds = %16
%20 = tail call i32 @dyStringAppend(%struct.dyString* %10, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.4, i64 0, i64 0))
%21 = icmp eq i32 %0, 6
br i1 %21, label %48, label %22
22: ; preds = %19
%23 = tail call i32 @dyStringAppend(%struct.dyString* %10, i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.5, i64 0, i64 0))
%24 = icmp ugt i32 %0, 7
br i1 %24, label %25, label %48
25: ; preds = %22
%26 = tail call i32 @dyStringAppend(%struct.dyString* %10, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.6, i64 0, i64 0))
%27 = icmp eq i32 %0, 8
br i1 %27, label %48, label %28
28: ; preds = %25
%29 = tail call i32 @dyStringAppend(%struct.dyString* %10, i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.7, i64 0, i64 0))
%30 = icmp ugt i32 %0, 9
br i1 %30, label %31, label %48
31: ; preds = %28
%32 = tail call i32 @dyStringAppend(%struct.dyString* %10, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.8, i64 0, i64 0))
%33 = icmp eq i32 %0, 10
br i1 %33, label %48, label %34
34: ; preds = %31
%35 = tail call i32 @dyStringAppend(%struct.dyString* %10, i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.9, i64 0, i64 0))
%36 = icmp ugt i32 %0, 11
br i1 %36, label %37, label %48
37: ; preds = %34
%38 = tail call i32 @dyStringAppend(%struct.dyString* %10, i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.10, i64 0, i64 0))
%39 = icmp eq i32 %0, 12
br i1 %39, label %48, label %40
40: ; preds = %37
%41 = tail call i32 @dyStringAppend(%struct.dyString* %10, i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.11, i64 0, i64 0))
%42 = icmp ugt i32 %0, 13
br i1 %42, label %43, label %48
43: ; preds = %40
%44 = tail call i32 @dyStringAppend(%struct.dyString* %10, i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str.12, i64 0, i64 0))
%45 = icmp eq i32 %0, 14
br i1 %45, label %48, label %46
46: ; preds = %43
%47 = tail call i32 @dyStringAppend(%struct.dyString* %10, i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.13, i64 0, i64 0))
br label %48
48: ; preds = %8, %13, %16, %19, %22, %25, %28, %31, %34, %37, %40, %46, %43
%49 = icmp slt i32 %0, %1
br i1 %49, label %50, label %57
50: ; preds = %48
%51 = add nsw i32 %0, 1
br label %52
52: ; preds = %50, %52
%53 = phi i32 [ %51, %50 ], [ %54, %52 ]
%54 = add nsw i32 %53, 1
%55 = tail call i32 @dyStringPrintf(%struct.dyString* %10, i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.14, i64 0, i64 0), i32 %54)
%56 = icmp eq i32 %53, %1
br i1 %56, label %57, label %52
57: ; preds = %52, %48
%58 = tail call i32 @dyStringAppend(%struct.dyString* %10, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.15, i64 0, i64 0))
%59 = call i8* @dyStringCannibalize(%struct.dyString** %3)
ret i8* %59
}