#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 */
unsigned int min(int, size_t);
int /*<<< orphan*/ printf(char *, ...);
void hexdump(void *mem, size_t size) {
  int i = size;
  int line_i = 0;
  unsigned char *next = mem;
  unsigned int print_ascii = 0;
  unsigned int line_len = min(16, size);
  while (i) {
    if (print_ascii) {
      if ('\a' == *next) {
        printf("\\a");
      } else if ('\b' == *next) {
        printf("\\b");
      } else if ('\f' == *next) {
        printf("\\f");
      } else if ('\n' == *next) {
        printf("\\n");
      } else if ('\r' == *next) {
        printf("\\r");
      } else if ('\t' == *next) {
        printf("\\t");
      } else if ('\v' == *next) {
        printf("\\v");
      } else if ('\\' == *next) {
        printf("\\ ");
      } else if ('\'' == *next) {
        printf("\' ");
      } else if ('\"' == *next) {
        printf("\" ");
      } else if ('\?' == *next) {
        printf("\? ");
      } else {
        printf("%c ", *next);
      }
    } else {
      if (0x00 == *next) {
        printf("-- ");
      } else {
        printf("%02x ", *next);
      }
    }
    i--;
    line_i++;
    next += 1;
    if (line_len == line_i) {
      line_i = 0;
      if (print_ascii) {
        print_ascii = 0;
        printf("\n");
      } else {
        print_ascii = 1;
        next -= line_len;
        i += line_len;
      }
    }
  }
  printf("\n");
}


x86 assembly (clang, -O0):
<hexdump>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
mov    %eax,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x20(%rbp)
movl   $0x0,-0x24(%rbp)
mov    -0x10(%rbp),%rsi
mov    $0x10,%edi
call   1040 <min@plt>
mov    %eax,-0x28(%rbp)
cmpl   $0x0,-0x14(%rbp)
je     142f <hexdump+0x30f>
cmpl   $0x0,-0x24(%rbp)
je     136b <hexdump+0x24b>
mov    -0x20(%rbp),%rax
movzbl (%rax),%ecx
mov    $0x7,%eax
cmp    %ecx,%eax
jne    1199 <hexdump+0x79>
lea    0xe73(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1366 <hexdump+0x246>
mov    -0x20(%rbp),%rax
movzbl (%rax),%ecx
mov    $0x8,%eax
cmp    %ecx,%eax
jne    11c0 <hexdump+0xa0>
lea    0xe4f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1361 <hexdump+0x241>
mov    -0x20(%rbp),%rax
movzbl (%rax),%ecx
mov    $0xc,%eax
cmp    %ecx,%eax
jne    11e7 <hexdump+0xc7>
lea    0xe2b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    135c <hexdump+0x23c>
mov    -0x20(%rbp),%rax
movzbl (%rax),%ecx
mov    $0xa,%eax
cmp    %ecx,%eax
jne    120e <hexdump+0xee>
lea    0xe07(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1357 <hexdump+0x237>
mov    -0x20(%rbp),%rax
movzbl (%rax),%ecx
mov    $0xd,%eax
cmp    %ecx,%eax
jne    1235 <hexdump+0x115>
lea    0xde3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1352 <hexdump+0x232>
mov    -0x20(%rbp),%rax
movzbl (%rax),%ecx
mov    $0x9,%eax
cmp    %ecx,%eax
jne    125c <hexdump+0x13c>
lea    0xdbf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    134d <hexdump+0x22d>
mov    -0x20(%rbp),%rax
movzbl (%rax),%ecx
mov    $0xb,%eax
cmp    %ecx,%eax
jne    1283 <hexdump+0x163>
lea    0xd9b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1348 <hexdump+0x228>
mov    -0x20(%rbp),%rax
movzbl (%rax),%ecx
mov    $0x5c,%eax
cmp    %ecx,%eax
jne    12aa <hexdump+0x18a>
lea    0xd77(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1343 <hexdump+0x223>
mov    -0x20(%rbp),%rax
movzbl (%rax),%ecx
mov    $0x27,%eax
cmp    %ecx,%eax
jne    12d1 <hexdump+0x1b1>
lea    0xd53(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    133e <hexdump+0x21e>
mov    -0x20(%rbp),%rax
movzbl (%rax),%ecx
mov    $0x22,%eax
cmp    %ecx,%eax
jne    12f8 <hexdump+0x1d8>
lea    0xd2f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1339 <hexdump+0x219>
mov    -0x20(%rbp),%rax
movzbl (%rax),%ecx
mov    $0x3f,%eax
cmp    %ecx,%eax
jne    131f <hexdump+0x1ff>
lea    0xd0b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1334 <hexdump+0x214>
mov    -0x20(%rbp),%rax
movzbl (%rax),%esi
lea    0xcf4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1339 <hexdump+0x219>
jmp    133e <hexdump+0x21e>
jmp    1343 <hexdump+0x223>
jmp    1348 <hexdump+0x228>
jmp    134d <hexdump+0x22d>
jmp    1352 <hexdump+0x232>
jmp    1357 <hexdump+0x237>
jmp    135c <hexdump+0x23c>
jmp    1361 <hexdump+0x241>
jmp    1366 <hexdump+0x246>
jmp    13a9 <hexdump+0x289>
mov    -0x20(%rbp),%rax
movzbl (%rax),%ecx
xor    %eax,%eax
cmp    %ecx,%eax
jne    138f <hexdump+0x26f>
lea    0xca2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13a4 <hexdump+0x284>
mov    -0x20(%rbp),%rax
movzbl (%rax),%esi
lea    0xc8c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13a9 <hexdump+0x289>
mov    -0x14(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x14(%rbp)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x20(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x18(%rbp),%eax
jne    142a <hexdump+0x30a>
movl   $0x0,-0x18(%rbp)
cmpl   $0x0,-0x24(%rbp)
je     13fe <hexdump+0x2de>
movl   $0x0,-0x24(%rbp)
lea    0xc3d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1425 <hexdump+0x305>
movl   $0x1,-0x24(%rbp)
mov    -0x28(%rbp),%ecx
mov    -0x20(%rbp),%rax
mov    %ecx,%ecx
mov    %ecx,%edx
xor    %ecx,%ecx
sub    %rdx,%rcx
add    %rcx,%rax
mov    %rax,-0x20(%rbp)
mov    -0x28(%rbp),%eax
add    -0x14(%rbp),%eax
mov    %eax,-0x14(%rbp)
jmp    142a <hexdump+0x30a>
jmp    115e <hexdump+0x3e>
lea    0xbf9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<hexdump>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rsi,%rbx
mov    %rdi,%r14
mov    $0x10,%edi
call   1050 <min@plt>
test   %ebx,%ebx
je     1269 <hexdump+0x139>
mov    %eax,%ebp
mov    %eax,%eax
neg    %rax
mov    %rax,(%rsp)
lea    0xe9b(%rip),%r15
xor    %r12d,%r12d
xor    %r13d,%r13d
jmp    1187 <hexdump+0x57>
nopl   (%rax)
add    (%rsp),%r14
add    %ebp,%ebx
mov    $0x1,%r12d
xor    %r13d,%r13d
test   %ebx,%ebx
je     1269 <hexdump+0x139>
movzbl (%r14),%esi
test   %r12d,%r12d
je     11b0 <hexdump+0x80>
lea    -0x7(%rsi),%eax
cmp    $0x55,%al
ja     1203 <hexdump+0xd3>
movzbl %al,%eax
movslq (%r15,%rax,4),%rax
add    %r15,%rax
jmp    *%rax
lea    0xfae(%rip),%rdi
jmp    1230 <hexdump+0x100>
nop
test   %esi,%esi
je     11c4 <hexdump+0x94>
lea    0xfc6(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1237 <hexdump+0x107>
lea    0xfb2(%rip),%rdi
jmp    1230 <hexdump+0x100>
lea    0xf87(%rip),%rdi
jmp    1230 <hexdump+0x100>
lea    0xf8a(%rip),%rdi
jmp    1230 <hexdump+0x100>
lea    0xf7b(%rip),%rdi
jmp    1230 <hexdump+0x100>
lea    0xf7b(%rip),%rdi
jmp    1230 <hexdump+0x100>
lea    0xf66(%rip),%rdi
jmp    1230 <hexdump+0x100>
lea    0xf63(%rip),%rdi
jmp    1230 <hexdump+0x100>
lea    0xf6f(%rip),%rdi
jmp    11bb <hexdump+0x8b>
lea    0xf60(%rip),%rdi
jmp    1230 <hexdump+0x100>
lea    0xf54(%rip),%rdi
jmp    1230 <hexdump+0x100>
lea    0xf51(%rip),%rdi
jmp    1230 <hexdump+0x100>
lea    0xf3f(%rip),%rdi
xchg   %ax,%ax
xor    %eax,%eax
call   1040 <printf@plt>
add    $0xffffffff,%ebx
add    $0x1,%r13d
add    $0x1,%r14
cmp    %r13d,%ebp
jne    117f <hexdump+0x4f>
test   %r12d,%r12d
je     1170 <hexdump+0x40>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %r13d,%r13d
xor    %r12d,%r12d
jmp    117f <hexdump+0x4f>
mov    $0xa,%edi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [3 x i8] c"\\a\00"
@.str.1 = [3 x i8] c"\\b\00"
@.str.2 = [3 x i8] c"\\f\00"
@.str.3 = [3 x i8] c"\\n\00"
@.str.4 = [3 x i8] c"\\r\00"
@.str.5 = [3 x i8] c"\\t\00"
@.str.6 = [3 x i8] c"\\v\00"
@.str.7 = [3 x i8] c"\\ \00"
@.str.8 = [3 x i8] c"' \00"
@.str.9 = [3 x i8] c"\22 \00"
@.str.10 = [3 x i8] c"? \00"
@.str.11 = [4 x i8] c"%c \00"
@.str.12 = [4 x i8] c"-- \00"
@.str.13 = [6 x i8] c"%02x \00"
@.str.14 = [2 x i8] c"\0A\00"
define void @hexdump(i8* %0, i64 %1) {
%3 = alloca i8*
%4 = alloca i64
%5 = alloca i32
%6 = alloca i32
%7 = alloca i8*
%8 = alloca i32
%9 = alloca i32
store i8* %0, i8** %3
store i64 %1, i64* %4
%10 = load i64, i64* %4
%11 = trunc i64 %10 to i32
store i32 %11, i32* %5
store i32 0, i32* %6
%12 = load i8*, i8** %3
store i8* %12, i8** %7
store i32 0, i32* %8
%13 = load i64, i64* %4
%14 = call i32 @min(i32 16, i64 %13)
store i32 %14, i32* %9
br label %15
15: ; preds = %152, %2
%16 = load i32, i32* %5
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %153
18: ; preds = %15
%19 = load i32, i32* %8
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %114
21: ; preds = %18
%22 = load i8*, i8** %7
%23 = load i8, i8* %22
%24 = zext i8 %23 to i32
%25 = icmp eq i32 7, %24
br i1 %25, label %26, label %28
26: ; preds = %21
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
br label %113
28: ; preds = %21
%29 = load i8*, i8** %7
%30 = load i8, i8* %29
%31 = zext i8 %30 to i32
%32 = icmp eq i32 8, %31
br i1 %32, label %33, label %35
33: ; preds = %28
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
br label %112
35: ; preds = %28
%36 = load i8*, i8** %7
%37 = load i8, i8* %36
%38 = zext i8 %37 to i32
%39 = icmp eq i32 12, %38
br i1 %39, label %40, label %42
40: ; preds = %35
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
br label %111
42: ; preds = %35
%43 = load i8*, i8** %7
%44 = load i8, i8* %43
%45 = zext i8 %44 to i32
%46 = icmp eq i32 10, %45
br i1 %46, label %47, label %49
47: ; preds = %42
%48 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
br label %110
49: ; preds = %42
%50 = load i8*, i8** %7
%51 = load i8, i8* %50
%52 = zext i8 %51 to i32
%53 = icmp eq i32 13, %52
br i1 %53, label %54, label %56
54: ; preds = %49
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
br label %109
56: ; preds = %49
%57 = load i8*, i8** %7
%58 = load i8, i8* %57
%59 = zext i8 %58 to i32
%60 = icmp eq i32 9, %59
br i1 %60, label %61, label %63
61: ; preds = %56
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
br label %108
63: ; preds = %56
%64 = load i8*, i8** %7
%65 = load i8, i8* %64
%66 = zext i8 %65 to i32
%67 = icmp eq i32 11, %66
br i1 %67, label %68, label %70
68: ; preds = %63
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
br label %107
70: ; preds = %63
%71 = load i8*, i8** %7
%72 = load i8, i8* %71
%73 = zext i8 %72 to i32
%74 = icmp eq i32 92, %73
br i1 %74, label %75, label %77
75: ; preds = %70
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
br label %106
77: ; preds = %70
%78 = load i8*, i8** %7
%79 = load i8, i8* %78
%80 = zext i8 %79 to i32
%81 = icmp eq i32 39, %80
br i1 %81, label %82, label %84
82: ; preds = %77
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %105
84: ; preds = %77
%85 = load i8*, i8** %7
%86 = load i8, i8* %85
%87 = zext i8 %86 to i32
%88 = icmp eq i32 34, %87
br i1 %88, label %89, label %91
89: ; preds = %84
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
br label %104
91: ; preds = %84
%92 = load i8*, i8** %7
%93 = load i8, i8* %92
%94 = zext i8 %93 to i32
%95 = icmp eq i32 63, %94
br i1 %95, label %96, label %98
96: ; preds = %91
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0))
br label %103
98: ; preds = %91
%99 = load i8*, i8** %7
%100 = load i8, i8* %99
%101 = zext i8 %100 to i32
%102 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i32 %101)
br label %103
103: ; preds = %98, %96
br label %104
104: ; preds = %103, %89
br label %105
105: ; preds = %104, %82
br label %106
106: ; preds = %105, %75
br label %107
107: ; preds = %106, %68
br label %108
108: ; preds = %107, %61
br label %109
109: ; preds = %108, %54
br label %110
110: ; preds = %109, %47
br label %111
111: ; preds = %110, %40
br label %112
112: ; preds = %111, %33
br label %113
113: ; preds = %112, %26
br label %127
114: ; preds = %18
%115 = load i8*, i8** %7
%116 = load i8, i8* %115
%117 = zext i8 %116 to i32
%118 = icmp eq i32 0, %117
br i1 %118, label %119, label %121
119: ; preds = %114
%120 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0))
br label %126
121: ; preds = %114
%122 = load i8*, i8** %7
%123 = load i8, i8* %122
%124 = zext i8 %123 to i32
%125 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.13, i64 0, i64 0), i32 %124)
br label %126
126: ; preds = %121, %119
br label %127
127: ; preds = %126, %113
%128 = load i32, i32* %5
%129 = add nsw i32 %128, -1
store i32 %129, i32* %5
%130 = load i32, i32* %6
%131 = add nsw i32 %130, 1
store i32 %131, i32* %6
%132 = load i8*, i8** %7
%133 = getelementptr inbounds i8, i8* %132, i64 1
store i8* %133, i8** %7
%134 = load i32, i32* %9
%135 = load i32, i32* %6
%136 = icmp eq i32 %134, %135
br i1 %136, label %137, label %152
137: ; preds = %127
store i32 0, i32* %6
%138 = load i32, i32* %8
%139 = icmp ne i32 %138, 0
br i1 %139, label %140, label %142
140: ; preds = %137
store i32 0, i32* %8
%141 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0))
br label %151
142: ; preds = %137
store i32 1, i32* %8
%143 = load i32, i32* %9
%144 = load i8*, i8** %7
%145 = zext i32 %143 to i64
%146 = sub i64 0, %145
%147 = getelementptr inbounds i8, i8* %144, i64 %146
store i8* %147, i8** %7
%148 = load i32, i32* %9
%149 = load i32, i32* %5
%150 = add i32 %149, %148
store i32 %150, i32* %5
br label %151
151: ; preds = %142, %140
br label %152
152: ; preds = %151, %127
br label %15
153: ; preds = %15
%154 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [3 x i8] c"\\a\00"
@.str.1 = [3 x i8] c"\\b\00"
@.str.2 = [3 x i8] c"\\f\00"
@.str.3 = [3 x i8] c"\\n\00"
@.str.4 = [3 x i8] c"\\r\00"
@.str.5 = [3 x i8] c"\\t\00"
@.str.6 = [3 x i8] c"\\v\00"
@.str.7 = [3 x i8] c"\\ \00"
@.str.8 = [3 x i8] c"' \00"
@.str.9 = [3 x i8] c"\22 \00"
@.str.10 = [3 x i8] c"? \00"
@.str.11 = [4 x i8] c"%c \00"
@.str.12 = [4 x i8] c"-- \00"
@.str.13 = [6 x i8] c"%02x \00"
define void @hexdump(i8* nocapture %0, i64 %1) {
%3 = trunc i64 %1 to i32
%4 = tail call i32 @min(i32 16, i64 %1)
%5 = icmp eq i32 %3, 0
br i1 %5, label %66, label %6
6: ; preds = %2
%7 = zext i32 %4 to i64
%8 = sub nsw i64 0, %7
br label %9
9: ; preds = %6, %60
%10 = phi i32 [ %3, %6 ], [ %64, %60 ]
%11 = phi i32 [ 0, %6 ], [ %63, %60 ]
%12 = phi i8* [ %0, %6 ], [ %62, %60 ]
%13 = phi i32 [ 0, %6 ], [ %61, %60 ]
%14 = icmp eq i32 %11, 0
%15 = load i8, i8* %12
br i1 %14, label %42, label %16
16: ; preds = %9
switch i8 %15, label %39 [
i8 7, label %17
i8 8, label %19
i8 12, label %21
i8 10, label %23
i8 13, label %25
i8 9, label %27
i8 11, label %29
i8 92, label %31
i8 39, label %33
i8 34, label %35
i8 63, label %37
]
17: ; preds = %16
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0))
br label %49
19: ; preds = %16
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
br label %49
21: ; preds = %16
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0))
br label %49
23: ; preds = %16
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0))
br label %49
25: ; preds = %16
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0))
br label %49
27: ; preds = %16
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
br label %49
29: ; preds = %16
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.6, i64 0, i64 0))
br label %49
31: ; preds = %16
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.7, i64 0, i64 0))
br label %49
33: ; preds = %16
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0))
br label %49
35: ; preds = %16
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.9, i64 0, i64 0))
br label %49
37: ; preds = %16
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.10, i64 0, i64 0))
br label %49
39: ; preds = %16
%40 = zext i8 %15 to i32
%41 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.11, i64 0, i64 0), i32 %40)
br label %49
42: ; preds = %9
%43 = icmp eq i8 %15, 0
br i1 %43, label %44, label %46
44: ; preds = %42
%45 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.12, i64 0, i64 0))
br label %49
46: ; preds = %42
%47 = zext i8 %15 to i32
%48 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.13, i64 0, i64 0), i32 %47)
br label %49
49: ; preds = %44, %46, %17, %21, %25, %29, %33, %37, %39, %35, %31, %27, %23, %19
%50 = add nsw i32 %10, -1
%51 = add nsw i32 %13, 1
%52 = getelementptr inbounds i8, i8* %12, i64 1
%53 = icmp eq i32 %4, %51
br i1 %53, label %54, label %60
54: ; preds = %49
br i1 %14, label %57, label %55
55: ; preds = %54
%56 = tail call i32 @putchar(i32 10)
br label %60
57: ; preds = %54
%58 = getelementptr inbounds i8, i8* %52, i64 %8
%59 = add i32 %50, %4
br label %60
60: ; preds = %55, %57, %49
%61 = phi i32 [ 0, %55 ], [ 0, %57 ], [ %51, %49 ]
%62 = phi i8* [ %52, %55 ], [ %58, %57 ], [ %52, %49 ]
%63 = phi i32 [ 0, %55 ], [ 1, %57 ], [ %11, %49 ]
%64 = phi i32 [ %50, %55 ], [ %59, %57 ], [ %50, %49 ]
%65 = icmp eq i32 %64, 0
br i1 %65, label %66, label %9
66: ; preds = %60, %2
%67 = tail call i32 @putchar(i32 10)
ret void
}