#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*/ test_encoding(size_t, char *, unsigned int, int);
int /*<<< orphan*/ test_roundtrip(size_t, char *, unsigned int, int);
int /*<<< orphan*/ test_sizes_around(size_t, char *, unsigned int, int);
int main(int argc, char **argv) {
  (void)argc, (void)argv;
  for (size_t length = 1 * 1024; length <= 1048 * (1024 * 1024); length *= 2) {
    for (unsigned int k = 2; k < 8; ++k)
      test_sizes_around(length, "liber8tion", k, 2);
    for (unsigned int k = 4; k < 11; ++k)
      test_sizes_around(length, "crs", k, 4);
  }
  for (int size = 1; size < 5555; size += 7) {
    test_roundtrip(size, "crs", 6, 2);
    test_roundtrip(size, "liber8tion", 6, 2);
  }
  for (size_t length = 1 * (1024 * 1024); length <= 256 * (1024 * 1024);
       length *= 4) {
    for (unsigned int k = 2; k < 8; ++k)
      test_encoding(length, "liber8tion", k, 2);
    for (unsigned int k = 4; k < 11; ++k)
      test_encoding(length, "crs", k, 4);
  }
  for (size_t length = 8 * (1024 * 1024); length <= 256 * (1024 * 1024);
       length *= 8) {
    for (unsigned int k = 2; k < 8; ++k)
      test_roundtrip(length, "liber8tion", k, 2);
    for (unsigned int k = 7; k < 11; ++k)
      test_roundtrip(length, "crs", k, 4);
  }
  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)
movq   $0x400,-0x18(%rbp)
cmpq   $0x41800000,-0x18(%rbp)
41
ja     11e0 <main+0xb0>
movl   $0x2,-0x1c(%rbp)
cmpl   $0x8,-0x1c(%rbp)
jae    1193 <main+0x63>
mov    -0x18(%rbp),%rdi
mov    -0x1c(%rbp),%edx
lea    0xe85(%rip),%rsi
mov    $0x2,%ecx
call   1050 <test_sizes_around@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1163 <main+0x33>
movl   $0x4,-0x20(%rbp)
cmpl   $0xb,-0x20(%rbp)
jae    11ca <main+0x9a>
mov    -0x18(%rbp),%rdi
mov    -0x20(%rbp),%edx
lea    0xe59(%rip),%rsi
mov    $0x4,%ecx
call   1050 <test_sizes_around@plt>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    119a <main+0x6a>
jmp    11cf <main+0x9f>
mov    -0x18(%rbp),%rax
shl    $0x1,%rax
mov    %rax,-0x18(%rbp)
jmp    114e <main+0x1e>
movl   $0x1,-0x24(%rbp)
cmpl   $0x15b3,-0x24(%rbp)
jge    1236 <main+0x106>
movslq -0x24(%rbp),%rdi
lea    0xe0c(%rip),%rsi
mov    $0x6,%edx
mov    $0x2,%ecx
call   1040 <test_roundtrip@plt>
movslq -0x24(%rbp),%rdi
lea    0xde7(%rip),%rsi
mov    $0x6,%edx
mov    $0x2,%ecx
call   1040 <test_roundtrip@plt>
mov    -0x24(%rbp),%eax
add    $0x7,%eax
mov    %eax,-0x24(%rbp)
jmp    11e7 <main+0xb7>
movq   $0x100000,-0x30(%rbp)
cmpq   $0x10000000,-0x30(%rbp)
10
ja     12d0 <main+0x1a0>
movl   $0x2,-0x34(%rbp)
cmpl   $0x8,-0x34(%rbp)
jae    1283 <main+0x153>
mov    -0x30(%rbp),%rdi
mov    -0x34(%rbp),%edx
lea    0xd95(%rip),%rsi
mov    $0x2,%ecx
call   1030 <test_encoding@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1253 <main+0x123>
movl   $0x4,-0x38(%rbp)
cmpl   $0xb,-0x38(%rbp)
jae    12ba <main+0x18a>
mov    -0x30(%rbp),%rdi
mov    -0x38(%rbp),%edx
lea    0xd69(%rip),%rsi
mov    $0x4,%ecx
call   1030 <test_encoding@plt>
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    128a <main+0x15a>
jmp    12bf <main+0x18f>
mov    -0x30(%rbp),%rax
shl    $0x2,%rax
mov    %rax,-0x30(%rbp)
jmp    123e <main+0x10e>
movq   $0x800000,-0x40(%rbp)
cmpq   $0x10000000,-0x40(%rbp)
10
ja     136a <main+0x23a>
movl   $0x2,-0x44(%rbp)
cmpl   $0x8,-0x44(%rbp)
jae    131d <main+0x1ed>
mov    -0x40(%rbp),%rdi
mov    -0x44(%rbp),%edx
lea    0xcfb(%rip),%rsi
mov    $0x2,%ecx
call   1040 <test_roundtrip@plt>
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    12ed <main+0x1bd>
movl   $0x7,-0x48(%rbp)
cmpl   $0xb,-0x48(%rbp)
jae    1354 <main+0x224>
mov    -0x40(%rbp),%rdi
mov    -0x48(%rbp),%edx
lea    0xccf(%rip),%rsi
mov    $0x4,%ecx
call   1040 <test_roundtrip@plt>
mov    -0x48(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
jmp    1324 <main+0x1f4>
jmp    1359 <main+0x229>
mov    -0x40(%rbp),%rax
shl    $0x3,%rax
mov    %rax,-0x40(%rbp)
jmp    12d8 <main+0x1a8>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
mov    $0x400,%ebx
lea    0xebf(%rip),%r14
lea    0xec3(%rip),%r15
nopl   0x0(%rax,%rax,1)
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x2,%edx
mov    $0x2,%ecx
call   1050 <test_sizes_around@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x3,%edx
mov    $0x2,%ecx
call   1050 <test_sizes_around@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x4,%edx
mov    $0x2,%ecx
call   1050 <test_sizes_around@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x5,%edx
mov    $0x2,%ecx
call   1050 <test_sizes_around@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x6,%edx
mov    $0x2,%ecx
call   1050 <test_sizes_around@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x7,%edx
mov    $0x2,%ecx
call   1050 <test_sizes_around@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x4,%edx
mov    $0x4,%ecx
call   1050 <test_sizes_around@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x5,%edx
mov    $0x4,%ecx
call   1050 <test_sizes_around@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x6,%edx
mov    $0x4,%ecx
call   1050 <test_sizes_around@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x7,%edx
mov    $0x4,%ecx
call   1050 <test_sizes_around@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x8,%edx
mov    $0x4,%ecx
call   1050 <test_sizes_around@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x9,%edx
mov    $0x4,%ecx
call   1050 <test_sizes_around@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0xa,%edx
mov    $0x4,%ecx
call   1050 <test_sizes_around@plt>
lea    (%rbx,%rbx,1),%rax
cmp    $0x20c00001,%rbx
mov    %rax,%rbx
jb     1150 <main+0x20>
mov    $0xfffffffffffffffa,%rbx
lea    0xd88(%rip),%r14
lea    0xd76(%rip),%r15
nopw   0x0(%rax,%rax,1)
add    $0x7,%rbx
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x6,%edx
mov    $0x2,%ecx
call   1040 <test_roundtrip@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x6,%edx
mov    $0x2,%ecx
call   1040 <test_roundtrip@plt>
cmp    $0x15ac,%rbx
jb     1290 <main+0x160>
mov    $0x100000,%ebx
lea    0xd2d(%rip),%r14
lea    0xd31(%rip),%r15
nopw   0x0(%rax,%rax,1)
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x2,%edx
mov    $0x2,%ecx
call   1030 <test_encoding@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x3,%edx
mov    $0x2,%ecx
call   1030 <test_encoding@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x4,%edx
mov    $0x2,%ecx
call   1030 <test_encoding@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x5,%edx
mov    $0x2,%ecx
call   1030 <test_encoding@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x6,%edx
mov    $0x2,%ecx
call   1030 <test_encoding@plt>
mov    %rbx,%rdi
mov    %r14,%rsi
mov    $0x7,%edx
mov    $0x2,%ecx
call   1030 <test_encoding@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x4,%edx
mov    $0x4,%ecx
call   1030 <test_encoding@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x5,%edx
mov    $0x4,%ecx
call   1030 <test_encoding@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x6,%edx
mov    $0x4,%ecx
call   1030 <test_encoding@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x7,%edx
mov    $0x4,%ecx
call   1030 <test_encoding@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x8,%edx
mov    $0x4,%ecx
call   1030 <test_encoding@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0x9,%edx
mov    $0x4,%ecx
call   1030 <test_encoding@plt>
mov    %rbx,%rdi
mov    %r15,%rsi
mov    $0xa,%edx
mov    $0x4,%ecx
call   1030 <test_encoding@plt>
lea    0x0(,%rbx,4),%rax
cmp    $0x4000001,%rbx
mov    %rax,%rbx
jb     12e0 <main+0x1b0>
lea    0xbf0(%rip),%rbx
mov    $0x800000,%edi
mov    %rbx,%rsi
mov    $0x2,%edx
mov    $0x2,%ecx
call   1040 <test_roundtrip@plt>
mov    $0x800000,%edi
mov    %rbx,%rsi
mov    $0x3,%edx
mov    $0x2,%ecx
call   1040 <test_roundtrip@plt>
mov    $0x800000,%edi
mov    %rbx,%rsi
mov    $0x4,%edx
mov    $0x2,%ecx
call   1040 <test_roundtrip@plt>
mov    $0x800000,%edi
mov    %rbx,%rsi
mov    $0x5,%edx
mov    $0x2,%ecx
call   1040 <test_roundtrip@plt>
mov    $0x800000,%edi
mov    %rbx,%rsi
mov    $0x6,%edx
mov    $0x2,%ecx
call   1040 <test_roundtrip@plt>
mov    $0x800000,%edi
mov    %rbx,%rsi
mov    $0x7,%edx
mov    $0x2,%ecx
call   1040 <test_roundtrip@plt>
lea    0xb6a(%rip),%r14
mov    $0x800000,%edi
mov    %r14,%rsi
mov    $0x7,%edx
mov    $0x4,%ecx
call   1040 <test_roundtrip@plt>
mov    $0x800000,%edi
mov    %r14,%rsi
mov    $0x8,%edx
mov    $0x4,%ecx
call   1040 <test_roundtrip@plt>
mov    $0x800000,%edi
mov    %r14,%rsi
mov    $0x9,%edx
mov    $0x4,%ecx
call   1040 <test_roundtrip@plt>
mov    $0x800000,%edi
mov    %r14,%rsi
mov    $0xa,%edx
mov    $0x4,%ecx
call   1040 <test_roundtrip@plt>
mov    $0x4000000,%edi
mov    %rbx,%rsi
mov    $0x2,%edx
mov    $0x2,%ecx
call   1040 <test_roundtrip@plt>
mov    $0x4000000,%edi
mov    %rbx,%rsi
mov    $0x3,%edx
mov    $0x2,%ecx
call   1040 <test_roundtrip@plt>
mov    $0x4000000,%edi
mov    %rbx,%rsi
mov    $0x4,%edx
mov    $0x2,%ecx
call   1040 <test_roundtrip@plt>
mov    $0x4000000,%edi
mov    %rbx,%rsi
mov    $0x5,%edx
mov    $0x2,%ecx
call   1040 <test_roundtrip@plt>
mov    $0x4000000,%edi
mov    %rbx,%rsi
mov    $0x6,%edx
mov    $0x2,%ecx
call   1040 <test_roundtrip@plt>
mov    $0x4000000,%edi
mov    %rbx,%rsi
mov    $0x7,%edx
mov    $0x2,%ecx
call   1040 <test_roundtrip@plt>
mov    $0x4000000,%edi
mov    %r14,%rsi
mov    $0x7,%edx
mov    $0x4,%ecx
call   1040 <test_roundtrip@plt>
mov    $0x4000000,%edi
mov    %r14,%rsi
mov    $0x8,%edx
mov    $0x4,%ecx
call   1040 <test_roundtrip@plt>
mov    $0x4000000,%edi
mov    %r14,%rsi
mov    $0x9,%edx
mov    $0x4,%ecx
call   1040 <test_roundtrip@plt>
mov    $0x4000000,%edi
mov    %r14,%rsi
mov    $0xa,%edx
mov    $0x4,%ecx
call   1040 <test_roundtrip@plt>
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [11 x i8] c"liber8tion\00"
@.str.1 = [4 x i8] c"crs\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i64
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i64
%11 = alloca i32
%12 = alloca i32
%13 = alloca i64
%14 = alloca i32
%15 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%16 = load i32, i32* %4
%17 = load i8**, i8*** %5
store i64 1024, i64* %6
br label %18
18: ; preds = %44, %2
%19 = load i64, i64* %6
%20 = icmp ule i64 %19, 1098907648
br i1 %20, label %21, label %47
21: ; preds = %18
store i32 2, i32* %7
br label %22
22: ; preds = %29, %21
%23 = load i32, i32* %7
%24 = icmp ult i32 %23, 8
br i1 %24, label %25, label %32
25: ; preds = %22
%26 = load i64, i64* %6
%27 = load i32, i32* %7
%28 = call i32 @test_sizes_around(i64 %26, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 %27, i32 2)
br label %29
29: ; preds = %25
%30 = load i32, i32* %7
%31 = add i32 %30, 1
store i32 %31, i32* %7
br label %22
32: ; preds = %22
store i32 4, i32* %8
br label %33
33: ; preds = %40, %32
%34 = load i32, i32* %8
%35 = icmp ult i32 %34, 11
br i1 %35, label %36, label %43
36: ; preds = %33
%37 = load i64, i64* %6
%38 = load i32, i32* %8
%39 = call i32 @test_sizes_around(i64 %37, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %38, i32 4)
br label %40
40: ; preds = %36
%41 = load i32, i32* %8
%42 = add i32 %41, 1
store i32 %42, i32* %8
br label %33
43: ; preds = %33
br label %44
44: ; preds = %43
%45 = load i64, i64* %6
%46 = mul i64 %45, 2
store i64 %46, i64* %6
br label %18
47: ; preds = %18
store i32 1, i32* %9
br label %48
48: ; preds = %58, %47
%49 = load i32, i32* %9
%50 = icmp slt i32 %49, 5555
br i1 %50, label %51, label %61
51: ; preds = %48
%52 = load i32, i32* %9
%53 = sext i32 %52 to i64
%54 = call i32 @test_roundtrip(i64 %53, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 6, i32 2)
%55 = load i32, i32* %9
%56 = sext i32 %55 to i64
%57 = call i32 @test_roundtrip(i64 %56, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 6, i32 2)
br label %58
58: ; preds = %51
%59 = load i32, i32* %9
%60 = add nsw i32 %59, 7
store i32 %60, i32* %9
br label %48
61: ; preds = %48
store i64 1048576, i64* %10
br label %62
62: ; preds = %88, %61
%63 = load i64, i64* %10
%64 = icmp ule i64 %63, 268435456
br i1 %64, label %65, label %91
65: ; preds = %62
store i32 2, i32* %11
br label %66
66: ; preds = %73, %65
%67 = load i32, i32* %11
%68 = icmp ult i32 %67, 8
br i1 %68, label %69, label %76
69: ; preds = %66
%70 = load i64, i64* %10
%71 = load i32, i32* %11
%72 = call i32 @test_encoding(i64 %70, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 %71, i32 2)
br label %73
73: ; preds = %69
%74 = load i32, i32* %11
%75 = add i32 %74, 1
store i32 %75, i32* %11
br label %66
76: ; preds = %66
store i32 4, i32* %12
br label %77
77: ; preds = %84, %76
%78 = load i32, i32* %12
%79 = icmp ult i32 %78, 11
br i1 %79, label %80, label %87
80: ; preds = %77
%81 = load i64, i64* %10
%82 = load i32, i32* %12
%83 = call i32 @test_encoding(i64 %81, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %82, i32 4)
br label %84
84: ; preds = %80
%85 = load i32, i32* %12
%86 = add i32 %85, 1
store i32 %86, i32* %12
br label %77
87: ; preds = %77
br label %88
88: ; preds = %87
%89 = load i64, i64* %10
%90 = mul i64 %89, 4
store i64 %90, i64* %10
br label %62
91: ; preds = %62
store i64 8388608, i64* %13
br label %92
92: ; preds = %118, %91
%93 = load i64, i64* %13
%94 = icmp ule i64 %93, 268435456
br i1 %94, label %95, label %121
95: ; preds = %92
store i32 2, i32* %14
br label %96
96: ; preds = %103, %95
%97 = load i32, i32* %14
%98 = icmp ult i32 %97, 8
br i1 %98, label %99, label %106
99: ; preds = %96
%100 = load i64, i64* %13
%101 = load i32, i32* %14
%102 = call i32 @test_roundtrip(i64 %100, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 %101, i32 2)
br label %103
103: ; preds = %99
%104 = load i32, i32* %14
%105 = add i32 %104, 1
store i32 %105, i32* %14
br label %96
106: ; preds = %96
store i32 7, i32* %15
br label %107
107: ; preds = %114, %106
%108 = load i32, i32* %15
%109 = icmp ult i32 %108, 11
br i1 %109, label %110, label %117
110: ; preds = %107
%111 = load i64, i64* %13
%112 = load i32, i32* %15
%113 = call i32 @test_roundtrip(i64 %111, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %112, i32 4)
br label %114
114: ; preds = %110
%115 = load i32, i32* %15
%116 = add i32 %115, 1
store i32 %116, i32* %15
br label %107
117: ; preds = %107
br label %118
118: ; preds = %117
%119 = load i64, i64* %13
%120 = mul i64 %119, 8
store i64 %120, i64* %13
br label %92
121: ; preds = %92
ret i32 0
}

LLVM IR (-O2):
@.str = [11 x i8] c"liber8tion\00"
@.str.1 = [4 x i8] c"crs\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
br label %3
3: ; preds = %2, %3
%4 = phi i64 [ 1024, %2 ], [ %18, %3 ]
%5 = tail call i32 @test_sizes_around(i64 %4, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 2, i32 2)
%6 = tail call i32 @test_sizes_around(i64 %4, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 3, i32 2)
%7 = tail call i32 @test_sizes_around(i64 %4, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 4, i32 2)
%8 = tail call i32 @test_sizes_around(i64 %4, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 5, i32 2)
%9 = tail call i32 @test_sizes_around(i64 %4, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 6, i32 2)
%10 = tail call i32 @test_sizes_around(i64 %4, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 7, i32 2)
%11 = tail call i32 @test_sizes_around(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 4, i32 4)
%12 = tail call i32 @test_sizes_around(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 5, i32 4)
%13 = tail call i32 @test_sizes_around(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 6, i32 4)
%14 = tail call i32 @test_sizes_around(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 7, i32 4)
%15 = tail call i32 @test_sizes_around(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 8, i32 4)
%16 = tail call i32 @test_sizes_around(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 9, i32 4)
%17 = tail call i32 @test_sizes_around(i64 %4, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 10, i32 4)
%18 = shl nuw nsw i64 %4, 1
%19 = icmp ult i64 %4, 549453825
br i1 %19, label %3, label %20
20: ; preds = %3, %20
%21 = phi i64 [ %24, %20 ], [ 1, %3 ]
%22 = tail call i32 @test_roundtrip(i64 %21, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 6, i32 2)
%23 = tail call i32 @test_roundtrip(i64 %21, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 6, i32 2)
%24 = add nuw nsw i64 %21, 7
%25 = icmp ult i64 %21, 5548
br i1 %25, label %20, label %26
26: ; preds = %20, %26
%27 = phi i64 [ %41, %26 ], [ 1048576, %20 ]
%28 = tail call i32 @test_encoding(i64 %27, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 2, i32 2)
%29 = tail call i32 @test_encoding(i64 %27, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 3, i32 2)
%30 = tail call i32 @test_encoding(i64 %27, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 4, i32 2)
%31 = tail call i32 @test_encoding(i64 %27, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 5, i32 2)
%32 = tail call i32 @test_encoding(i64 %27, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 6, i32 2)
%33 = tail call i32 @test_encoding(i64 %27, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 7, i32 2)
%34 = tail call i32 @test_encoding(i64 %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 4, i32 4)
%35 = tail call i32 @test_encoding(i64 %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 5, i32 4)
%36 = tail call i32 @test_encoding(i64 %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 6, i32 4)
%37 = tail call i32 @test_encoding(i64 %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 7, i32 4)
%38 = tail call i32 @test_encoding(i64 %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 8, i32 4)
%39 = tail call i32 @test_encoding(i64 %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 9, i32 4)
%40 = tail call i32 @test_encoding(i64 %27, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 10, i32 4)
%41 = shl nuw nsw i64 %27, 2
%42 = icmp ult i64 %27, 67108865
br i1 %42, label %26, label %43
43: ; preds = %26
%44 = tail call i32 @test_roundtrip(i64 8388608, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 2, i32 2)
%45 = tail call i32 @test_roundtrip(i64 8388608, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 3, i32 2)
%46 = tail call i32 @test_roundtrip(i64 8388608, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 4, i32 2)
%47 = tail call i32 @test_roundtrip(i64 8388608, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 5, i32 2)
%48 = tail call i32 @test_roundtrip(i64 8388608, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 6, i32 2)
%49 = tail call i32 @test_roundtrip(i64 8388608, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 7, i32 2)
%50 = tail call i32 @test_roundtrip(i64 8388608, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 7, i32 4)
%51 = tail call i32 @test_roundtrip(i64 8388608, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 8, i32 4)
%52 = tail call i32 @test_roundtrip(i64 8388608, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 9, i32 4)
%53 = tail call i32 @test_roundtrip(i64 8388608, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 10, i32 4)
%54 = tail call i32 @test_roundtrip(i64 67108864, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 2, i32 2)
%55 = tail call i32 @test_roundtrip(i64 67108864, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 3, i32 2)
%56 = tail call i32 @test_roundtrip(i64 67108864, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 4, i32 2)
%57 = tail call i32 @test_roundtrip(i64 67108864, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 5, i32 2)
%58 = tail call i32 @test_roundtrip(i64 67108864, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 6, i32 2)
%59 = tail call i32 @test_roundtrip(i64 67108864, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str, i64 0, i64 0), i32 7, i32 2)
%60 = tail call i32 @test_roundtrip(i64 67108864, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 7, i32 4)
%61 = tail call i32 @test_roundtrip(i64 67108864, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 8, i32 4)
%62 = tail call i32 @test_roundtrip(i64 67108864, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 9, i32 4)
%63 = tail call i32 @test_roundtrip(i64 67108864, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 10, i32 4)
ret i32 0
}