#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 */
typedef int /*<<< orphan*/ string;

/* Variables and functions */
int /*<<< orphan*/ delta_decode(char *, size_t);
int /*<<< orphan*/ delta_encode(char *, size_t);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ puts(char *);
size_t strlen(char *);
int main(int argc, char *argv[]) {
  signed char string[] = "aaabbbccbbdd";
  puts((char *)string);
  size_t size = sizeof(string);
  size_t length = strlen((char *)string);
  printf("Length:\t%lu\n", length);
  printf("Size:\t%lu\n", size);
  printf("Char:\t");
  for (unsigned int i = 0; i < length; ++i) {
    printf("%c\t", string[i]);
  }
  printf("\n");
  printf("Code:\t");
  for (unsigned int i = 0; i < length; ++i) {
    printf("%u\t", string[i]);
  }
  printf("\n");
  printf("Hex:\t");
  for (unsigned int i = 0; i < length; ++i) {
    printf("0x%02x\t", string[i]);
  }
  printf("\n");
  delta_encode(string, length);
  printf("Char:\t");
  for (unsigned int i = 0; i < length; ++i) {
    printf("%c\t", string[i]);
  }
  printf("\n");
  printf("Code:\t");
  for (unsigned int i = 0; i < length; ++i) {
    printf("%i\t", string[i]);
  }
  printf("\n");
  printf("Hex:\t");
  for (unsigned int i = 0; i < length; ++i) {
    printf("0x%02hhx\t", string[i]);
  }
  printf("\n");
  delta_decode(string, length);
  puts((char *)string);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0xe93(%rip),%rax
mov    %rax,-0x1d(%rbp)
mov    0xe91(%rip),%eax
mov    %eax,-0x15(%rbp)
mov    0xe8c(%rip),%al
mov    %al,-0x11(%rbp)
lea    -0x1d(%rbp),%rdi
call   1030 <puts@plt>
movq   $0xd,-0x28(%rbp)
lea    -0x1d(%rbp),%rdi
call   1040 <strlen@plt>
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rsi
lea    0xe61(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x28(%rbp),%rsi
lea    0xe5c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe59(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x30(%rbp),%rax
jae    120b <main+0xbb>
mov    -0x34(%rbp),%eax
movsbl -0x1d(%rbp,%rax,1),%esi
lea    0xe36(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    11da <main+0x8a>
lea    0xe11(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe10(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0x30(%rbp),%rax
jae    125f <main+0x10f>
mov    -0x38(%rbp),%eax
movsbl -0x1d(%rbp,%rax,1),%esi
lea    0xded(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    122e <main+0xde>
lea    0xdbd(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xdc7(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    -0x30(%rbp),%rax
jae    12b3 <main+0x163>
mov    -0x3c(%rbp),%eax
movsbl -0x1d(%rbp,%rax,1),%esi
lea    0xda3(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    1282 <main+0x132>
lea    0xd69(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x1d(%rbp),%rdi
mov    -0x30(%rbp),%rsi
call   1060 <delta_encode@plt>
lea    0xd50(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x40(%rbp)
mov    -0x40(%rbp),%eax
cmp    -0x30(%rbp),%rax
jae    1314 <main+0x1c4>
mov    -0x40(%rbp),%eax
movsbl -0x1d(%rbp,%rax,1),%esi
lea    0xd2d(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
jmp    12e3 <main+0x193>
lea    0xd08(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xd07(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x44(%rbp)
mov    -0x44(%rbp),%eax
cmp    -0x30(%rbp),%rax
jae    1368 <main+0x218>
mov    -0x44(%rbp),%eax
movsbl -0x1d(%rbp,%rax,1),%esi
lea    0xcf6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    1337 <main+0x1e7>
lea    0xcb4(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xcbe(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
movl   $0x0,-0x48(%rbp)
mov    -0x48(%rbp),%eax
cmp    -0x30(%rbp),%rax
jae    13bc <main+0x26c>
mov    -0x48(%rbp),%eax
movsbl -0x1d(%rbp,%rax,1),%esi
lea    0xca6(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x48(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
jmp    138b <main+0x23b>
lea    0xc60(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x1d(%rbp),%rdi
mov    -0x30(%rbp),%rsi
call   1070 <delta_decode@plt>
lea    -0x1d(%rbp),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
sub    $0x10,%rsp
movabs $0x64646262636362,%rax
mov    %rax,0x5(%rsp)
movabs $0x6363626262616161,%rax
62 63 63
mov    %rax,(%rsp)
mov    %rsp,%rbx
mov    %rbx,%rdi
call   1040 <puts@plt>
mov    %rbx,%rdi
call   1050 <strlen@plt>
mov    %rax,%rbx
lea    0xe6b(%rip),%rdi
mov    %rax,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xe67(%rip),%rdi
mov    $0xd,%esi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xe5f(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
test   %rbx,%rbx
je     128a <main+0x12a>
lea    0xe4f(%rip),%rdi
mov    $0x61,%esi
xor    %eax,%eax
call   1060 <printf@plt>
cmp    $0x1,%rbx
je     1218 <main+0xb8>
mov    $0x1,%eax
mov    $0x2,%ebp
lea    0xe2c(%rip),%r14
movsbl (%rsp,%rax,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebp,%eax
add    $0x1,%ebp
cmp    %rax,%rbx
ja     1200 <main+0xa0>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe07(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
test   %rbx,%rbx
je     132f <main+0x1cf>
lea    0xdf7(%rip),%rdi
mov    $0x61,%esi
xor    %eax,%eax
call   1060 <printf@plt>
cmp    $0x1,%rbx
je     12a2 <main+0x142>
mov    $0x1,%eax
mov    $0x2,%ebp
lea    0xdd4(%rip),%r14
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movsbl (%rsp,%rax,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebp,%eax
add    $0x1,%ebp
cmp    %rax,%rbx
ja     1270 <main+0x110>
jmp    12a2 <main+0x142>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xd95(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xd88(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
test   %rbx,%rbx
je     130a <main+0x1aa>
lea    0xd7b(%rip),%rdi
mov    $0x61,%esi
xor    %eax,%eax
call   1060 <printf@plt>
cmp    $0x1,%rbx
je     1347 <main+0x1e7>
mov    $0x1,%eax
mov    $0x2,%ebp
lea    0xd58(%rip),%r14
nopl   0x0(%rax)
movsbl (%rsp,%rax,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %ebp,%eax
add    $0x1,%ebp
cmp    %rax,%rbx
ja     12f0 <main+0x190>
jmp    1347 <main+0x1e7>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %rsp,%rdi
mov    %rbx,%rsi
call   1070 <delta_encode@plt>
lea    0xcff(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
jmp    1396 <main+0x236>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xcfb(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %rsp,%rdi
mov    %rbx,%rsi
call   1070 <delta_encode@plt>
lea    0xcc2(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
test   %rbx,%rbx
je     13f2 <main+0x292>
lea    0xcb2(%rip),%r14
xor    %ebp,%ebp
nopl   0x0(%rax)
movsbl (%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%ebp
cmp    %rbp,%rbx
ja     1380 <main+0x220>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xc89(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
test   %rbx,%rbx
je     13d8 <main+0x278>
lea    0xc8f(%rip),%r14
xor    %ebp,%ebp
nopl   0x0(%rax)
movsbl (%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%ebp
cmp    %rbp,%rbx
ja     13c0 <main+0x260>
jmp    140a <main+0x2aa>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xc52(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
jmp    1446 <main+0x2e6>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xc2d(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xc20(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
test   %rbx,%rbx
je     1446 <main+0x2e6>
lea    0xc1f(%rip),%r14
xor    %ebp,%ebp
movsbl (%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x1,%ebp
cmp    %rbp,%rbx
ja     1430 <main+0x2d0>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %rsp,%r14
mov    %r14,%rdi
mov    %rbx,%rsi
call   1080 <delta_decode@plt>
mov    %r14,%rdi
call   1040 <puts@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
@__const.main.string = [13 x i8] c"aaabbbccbbdd\00"
@.str = [13 x i8] c"Length:\09%lu\0A\00"
@.str.1 = [11 x i8] c"Size:\09%lu\0A\00"
@.str.2 = [7 x i8] c"Char:\09\00"
@.str.3 = [4 x i8] c"%c\09\00"
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [7 x i8] c"Code:\09\00"
@.str.6 = [4 x i8] c"%u\09\00"
@.str.7 = [6 x i8] c"Hex:\09\00"
@.str.8 = [8 x i8] c"0x%02x\09\00"
@.str.9 = [4 x i8] c"%i\09\00"
@.str.10 = [10 x i8] c"0x%02hhx\09\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [13 x i8]
%7 = alloca i64
%8 = alloca i64
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%15 = bitcast [13 x i8]* %6 to i8*
%16 = getelementptr inbounds [13 x i8], [13 x i8]* %6, i64 0, i64 0
%17 = call i32 @puts(i8* %16)
store i64 13, i64* %7
%18 = getelementptr inbounds [13 x i8], [13 x i8]* %6, i64 0, i64 0
%19 = call i64 @strlen(i8* %18)
store i64 %19, i64* %8
%20 = load i64, i64* %8
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i64 %20)
%22 = load i64, i64* %7
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i64 %22)
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %9
br label %25
25: ; preds = %37, %2
%26 = load i32, i32* %9
%27 = zext i32 %26 to i64
%28 = load i64, i64* %8
%29 = icmp ult i64 %27, %28
br i1 %29, label %30, label %40
30: ; preds = %25
%31 = load i32, i32* %9
%32 = zext i32 %31 to i64
%33 = getelementptr inbounds [13 x i8], [13 x i8]* %6, i64 0, i64 %32
%34 = load i8, i8* %33
%35 = sext i8 %34 to i32
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %35)
br label %37
37: ; preds = %30
%38 = load i32, i32* %9
%39 = add i32 %38, 1
store i32 %39, i32* %9
br label %25
40: ; preds = %25
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
store i32 0, i32* %10
br label %43
43: ; preds = %55, %40
%44 = load i32, i32* %10
%45 = zext i32 %44 to i64
%46 = load i64, i64* %8
%47 = icmp ult i64 %45, %46
br i1 %47, label %48, label %58
48: ; preds = %43
%49 = load i32, i32* %10
%50 = zext i32 %49 to i64
%51 = getelementptr inbounds [13 x i8], [13 x i8]* %6, i64 0, i64 %50
%52 = load i8, i8* %51
%53 = sext i8 %52 to i32
%54 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 %53)
br label %55
55: ; preds = %48
%56 = load i32, i32* %10
%57 = add i32 %56, 1
store i32 %57, i32* %10
br label %43
58: ; preds = %43
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%60 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %11
br label %61
61: ; preds = %73, %58
%62 = load i32, i32* %11
%63 = zext i32 %62 to i64
%64 = load i64, i64* %8
%65 = icmp ult i64 %63, %64
br i1 %65, label %66, label %76
66: ; preds = %61
%67 = load i32, i32* %11
%68 = zext i32 %67 to i64
%69 = getelementptr inbounds [13 x i8], [13 x i8]* %6, i64 0, i64 %68
%70 = load i8, i8* %69
%71 = sext i8 %70 to i32
%72 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0), i32 %71)
br label %73
73: ; preds = %66
%74 = load i32, i32* %11
%75 = add i32 %74, 1
store i32 %75, i32* %11
br label %61
76: ; preds = %61
%77 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%78 = getelementptr inbounds [13 x i8], [13 x i8]* %6, i64 0, i64 0
%79 = load i64, i64* %8
%80 = call i32 @delta_encode(i8* %78, i64 %79)
%81 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %12
br label %82
82: ; preds = %94, %76
%83 = load i32, i32* %12
%84 = zext i32 %83 to i64
%85 = load i64, i64* %8
%86 = icmp ult i64 %84, %85
br i1 %86, label %87, label %97
87: ; preds = %82
%88 = load i32, i32* %12
%89 = zext i32 %88 to i64
%90 = getelementptr inbounds [13 x i8], [13 x i8]* %6, i64 0, i64 %89
%91 = load i8, i8* %90
%92 = sext i8 %91 to i32
%93 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %92)
br label %94
94: ; preds = %87
%95 = load i32, i32* %12
%96 = add i32 %95, 1
store i32 %96, i32* %12
br label %82
97: ; preds = %82
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%99 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
store i32 0, i32* %13
br label %100
100: ; preds = %112, %97
%101 = load i32, i32* %13
%102 = zext i32 %101 to i64
%103 = load i64, i64* %8
%104 = icmp ult i64 %102, %103
br i1 %104, label %105, label %115
105: ; preds = %100
%106 = load i32, i32* %13
%107 = zext i32 %106 to i64
%108 = getelementptr inbounds [13 x i8], [13 x i8]* %6, i64 0, i64 %107
%109 = load i8, i8* %108
%110 = sext i8 %109 to i32
%111 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i32 %110)
br label %112
112: ; preds = %105
%113 = load i32, i32* %13
%114 = add i32 %113, 1
store i32 %114, i32* %13
br label %100
115: ; preds = %100
%116 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%117 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
store i32 0, i32* %14
br label %118
118: ; preds = %130, %115
%119 = load i32, i32* %14
%120 = zext i32 %119 to i64
%121 = load i64, i64* %8
%122 = icmp ult i64 %120, %121
br i1 %122, label %123, label %133
123: ; preds = %118
%124 = load i32, i32* %14
%125 = zext i32 %124 to i64
%126 = getelementptr inbounds [13 x i8], [13 x i8]* %6, i64 0, i64 %125
%127 = load i8, i8* %126
%128 = sext i8 %127 to i32
%129 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.10, i64 0, i64 0), i32 %128)
br label %130
130: ; preds = %123
%131 = load i32, i32* %14
%132 = add i32 %131, 1
store i32 %132, i32* %14
br label %118
133: ; preds = %118
%134 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%135 = getelementptr inbounds [13 x i8], [13 x i8]* %6, i64 0, i64 0
%136 = load i64, i64* %8
%137 = call i32 @delta_decode(i8* %135, i64 %136)
%138 = getelementptr inbounds [13 x i8], [13 x i8]* %6, i64 0, i64 0
%139 = call i32 @puts(i8* %138)
ret i32 0
}

LLVM IR (-O2):
@__const.main.string = [13 x i8] c"aaabbbccbbdd\00"
@.str = [13 x i8] c"Length:\09%lu\0A\00"
@.str.1 = [11 x i8] c"Size:\09%lu\0A\00"
@.str.2 = [7 x i8] c"Char:\09\00"
@.str.3 = [4 x i8] c"%c\09\00"
@.str.5 = [7 x i8] c"Code:\09\00"
@.str.6 = [4 x i8] c"%u\09\00"
@.str.7 = [6 x i8] c"Hex:\09\00"
@.str.8 = [8 x i8] c"0x%02x\09\00"
@.str.9 = [4 x i8] c"%i\09\00"
@.str.10 = [10 x i8] c"0x%02hhx\09\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca [13 x i8]
%4 = getelementptr inbounds [13 x i8], [13 x i8]* %3, i64 0, i64 0
%5 = call i32 @puts(i8* %4)
%6 = call i64 @strlen(i8* %4)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i64 %6)
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.1, i64 0, i64 0), i64 13)
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%10 = icmp eq i64 %6, 0
br i1 %10, label %30, label %11
11: ; preds = %2
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 97)
%13 = icmp eq i64 %6, 1
br i1 %13, label %14, label %20
14: ; preds = %20, %11
%15 = tail call i32 @putchar(i32 10)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br i1 %10, label %49, label %17
17: ; preds = %14
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 97)
%19 = icmp eq i64 %6, 1
br i1 %19, label %33, label %39
20: ; preds = %11, %20
%21 = phi i64 [ %28, %20 ], [ 1, %11 ]
%22 = phi i32 [ %27, %20 ], [ 1, %11 ]
%23 = getelementptr inbounds [13 x i8], [13 x i8]* %3, i64 0, i64 %21
%24 = load i8, i8* %23
%25 = sext i8 %24 to i32
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %25)
%27 = add i32 %22, 1
%28 = zext i32 %27 to i64
%29 = icmp ugt i64 %6, %28
br i1 %29, label %20, label %14
30: ; preds = %2
%31 = tail call i32 @putchar(i32 10)
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br label %33
33: ; preds = %39, %17, %30
%34 = tail call i32 @putchar(i32 10)
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
br i1 %10, label %66, label %36
36: ; preds = %33
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0), i32 97)
%38 = icmp eq i64 %6, 1
br i1 %38, label %52, label %56
39: ; preds = %17, %39
%40 = phi i64 [ %47, %39 ], [ 1, %17 ]
%41 = phi i32 [ %46, %39 ], [ 1, %17 ]
%42 = getelementptr inbounds [13 x i8], [13 x i8]* %3, i64 0, i64 %40
%43 = load i8, i8* %42
%44 = sext i8 %43 to i32
%45 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 %44)
%46 = add i32 %41, 1
%47 = zext i32 %46 to i64
%48 = icmp ugt i64 %6, %47
br i1 %48, label %39, label %33
49: ; preds = %14
%50 = tail call i32 @putchar(i32 10)
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
br label %52
52: ; preds = %56, %36, %49
%53 = tail call i32 @putchar(i32 10)
%54 = call i32 @delta_encode(i8* %4, i64 %6)
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
br i1 %10, label %82, label %73
56: ; preds = %36, %56
%57 = phi i64 [ %64, %56 ], [ 1, %36 ]
%58 = phi i32 [ %63, %56 ], [ 1, %36 ]
%59 = getelementptr inbounds [13 x i8], [13 x i8]* %3, i64 0, i64 %57
%60 = load i8, i8* %59
%61 = sext i8 %60 to i32
%62 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.8, i64 0, i64 0), i32 %61)
%63 = add i32 %58, 1
%64 = zext i32 %63 to i64
%65 = icmp ugt i64 %6, %64
br i1 %65, label %56, label %52
66: ; preds = %33
%67 = tail call i32 @putchar(i32 10)
%68 = call i32 @delta_encode(i8* %4, i64 %6)
%69 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
br label %70
70: ; preds = %73, %66
%71 = call i32 @putchar(i32 10)
%72 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br i1 %10, label %97, label %88
73: ; preds = %52, %73
%74 = phi i64 [ %80, %73 ], [ 0, %52 ]
%75 = getelementptr inbounds [13 x i8], [13 x i8]* %3, i64 0, i64 %74
%76 = load i8, i8* %75
%77 = sext i8 %76 to i32
%78 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %77)
%79 = add nuw nsw i64 %74, 1
%80 = and i64 %79, 4294967295
%81 = icmp ugt i64 %6, %80
br i1 %81, label %73, label %70
82: ; preds = %52
%83 = call i32 @putchar(i32 10)
%84 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.5, i64 0, i64 0))
br label %85
85: ; preds = %88, %82
%86 = call i32 @putchar(i32 10)
%87 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
br i1 %10, label %100, label %104
88: ; preds = %70, %88
%89 = phi i64 [ %95, %88 ], [ 0, %70 ]
%90 = getelementptr inbounds [13 x i8], [13 x i8]* %3, i64 0, i64 %89
%91 = load i8, i8* %90
%92 = sext i8 %91 to i32
%93 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0), i32 %92)
%94 = add nuw nsw i64 %89, 1
%95 = and i64 %94, 4294967295
%96 = icmp ugt i64 %6, %95
br i1 %96, label %88, label %85
97: ; preds = %70
%98 = call i32 @putchar(i32 10)
%99 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0))
br label %100
100: ; preds = %104, %97, %85
%101 = call i32 @putchar(i32 10)
%102 = call i32 @delta_decode(i8* %4, i64 %6)
%103 = call i32 @puts(i8* %4)
ret i32 0
104: ; preds = %85, %104
%105 = phi i64 [ %111, %104 ], [ 0, %85 ]
%106 = getelementptr inbounds [13 x i8], [13 x i8]* %3, i64 0, i64 %105
%107 = load i8, i8* %106
%108 = sext i8 %107 to i32
%109 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.10, i64 0, i64 0), i32 %108)
%110 = add nuw nsw i64 %105, 1
%111 = and i64 %110, 4294967295
%112 = icmp ugt i64 %6, %111
br i1 %112, label %104, label %100
}