#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*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *, ...);
void hexdump(FILE *fp, int decmode, char *lbl1, char *lbln, const void *vdata,
             int length) {
  int s;
  int i;
  int n;
  unsigned char c;
  unsigned char buf[16];
  const unsigned char *data = vdata;
  if (length == 0) {
    fprintf(fp, "%s [length 0]\n", lbl1);
    return;
  }
  for (s = 0; s < length; s += 16) {
    fprintf(fp, "%s", s ? lbln : lbl1);
    fprintf(fp, decmode ? "%8d:" : "%08x:", s);
    n = length - s;
    if (n > 16)
      n = 16;
    for (i = 0; i < 16; ++i) {
      if (i == 8)
        fprintf(fp, " ");
      if (i < n)
        fprintf(fp, decmode ? " %3d" : " %02x", buf[i] = data[s + i]);
      else
        fprintf(fp, "   ");
    }
    if (!decmode) {
      fprintf(fp, "  ");
      for (i = 0; i < n; ++i) {
        if (i == 8)
          fprintf(fp, " ");
        c = buf[i];
        if (c >= ' ' && c < 0x7f)
          fprintf(fp, "%c", c);
        else
          fprintf(fp, ".");
      }
    }
    fprintf(fp, "\n");
  }
}


x86 assembly (clang, -O0):
<hexdump>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9d,-0x2c(%rbp)
mov    -0x28(%rbp),%rax
mov    %rax,-0x58(%rbp)
cmpl   $0x0,-0x2c(%rbp)
jne    115c <hexdump+0x4c>
mov    -0x8(%rbp),%rdi
mov    -0x18(%rbp),%rdx
lea    0xeb0(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    1362 <hexdump+0x252>
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jge    1362 <hexdump+0x252>
mov    -0x8(%rbp),%rax
mov    %rax,-0x60(%rbp)
cmpl   $0x0,-0x30(%rbp)
je     118e <hexdump+0x7e>
mov    -0x20(%rbp),%rax
mov    %rax,-0x68(%rbp)
jmp    1196 <hexdump+0x86>
mov    -0x18(%rbp),%rax
mov    %rax,-0x68(%rbp)
mov    -0x60(%rbp),%rdi
mov    -0x68(%rbp),%rdx
lea    0xe6a(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%ecx
lea    0xe5d(%rip),%rsi
lea    0xe51(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
mov    -0x30(%rbp),%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x2c(%rbp),%eax
sub    -0x30(%rbp),%eax
mov    %eax,-0x38(%rbp)
cmpl   $0x10,-0x38(%rbp)
jle    11ec <hexdump+0xdc>
movl   $0x10,-0x38(%rbp)
movl   $0x0,-0x34(%rbp)
cmpl   $0x10,-0x34(%rbp)
jge    128d <hexdump+0x17d>
cmpl   $0x8,-0x34(%rbp)
jne    1219 <hexdump+0x109>
mov    -0x8(%rbp),%rdi
lea    0xe18(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x34(%rbp),%eax
cmp    -0x38(%rbp),%eax
jge    1268 <hexdump+0x158>
mov    -0x8(%rbp),%rdi
mov    -0xc(%rbp),%ecx
lea    0xdef(%rip),%rsi
lea    0xde3(%rip),%rax
cmp    $0x0,%ecx
cmovne %rax,%rsi
mov    -0x58(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    -0x34(%rbp),%ecx
movslq %ecx,%rcx
mov    (%rax,%rcx,1),%al
movslq -0x34(%rbp),%rcx
mov    %al,-0x50(%rbp,%rcx,1)
movzbl %al,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    127a <hexdump+0x16a>
mov    -0x8(%rbp),%rdi
lea    0xdb5(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    127f <hexdump+0x16f>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    11f3 <hexdump+0xe3>
cmpl   $0x0,-0xc(%rbp)
jne    1342 <hexdump+0x232>
mov    -0x8(%rbp),%rdi
lea    0xd87(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    -0x38(%rbp),%eax
jge    133d <hexdump+0x22d>
cmpl   $0x8,-0x34(%rbp)
jne    12d8 <hexdump+0x1c8>
mov    -0x8(%rbp),%rdi
lea    0xd59(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
movslq -0x34(%rbp),%rax
mov    -0x50(%rbp,%rax,1),%al
mov    %al,-0x39(%rbp)
movzbl -0x39(%rbp),%eax
cmp    $0x20,%eax
jl     1318 <hexdump+0x208>
movzbl -0x39(%rbp),%eax
cmp    $0x7f,%eax
jge    1318 <hexdump+0x208>
mov    -0x8(%rbp),%rdi
movzbl -0x39(%rbp),%edx
lea    0xd20(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    132a <hexdump+0x21a>
mov    -0x8(%rbp),%rdi
lea    0xd0c(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
jmp    132f <hexdump+0x21f>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    12b0 <hexdump+0x1a0>
jmp    1342 <hexdump+0x232>
mov    -0x8(%rbp),%rdi
lea    0xcc0(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x30(%rbp),%eax
add    $0x10,%eax
mov    %eax,-0x30(%rbp)
jmp    1163 <hexdump+0x53>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<hexdump>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %rcx,0x20(%rsp)
mov    %esi,0x8(%rsp)
mov    %rdi,%rbx
test   %r9d,%r9d
je     130b <hexdump+0x1cb>
jle    12fc <hexdump+0x1bc>
mov    %r9d,%ebp
mov    %r8,%r13
cmpl   $0x0,0x8(%rsp)
lea    0xe99(%rip),%rax
lea    0xe8d(%rip),%rcx
cmove  %rax,%rcx
mov    %rcx,0x10(%rsp)
lea    0xe8d(%rip),%rax
lea    0xe81(%rip),%r14
cmove  %rax,%r14
xor    %r15d,%r15d
mov    %rdx,0x18(%rsp)
mov    %r9d,0xc(%rsp)
jmp    11ed <hexdump+0xad>
nopl   0x0(%rax)
cmpl   $0x0,0x8(%rsp)
mov    $0x2e,%r12d
je     1290 <hexdump+0x150>
mov    $0xa,%edi
mov    %rbx,%rsi
call   1040 <fputc@plt>
mov    0x28(%rsp),%r15
add    $0x10,%r15
add    $0x10,%r13
mov    0xc(%rsp),%ebp
cmp    %ebp,%r15d
mov    0x18(%rsp),%rdx
jge    12fc <hexdump+0x1bc>
test   %r15,%r15
mov    0x20(%rsp),%rdi
cmove  %rdx,%rdi
mov    %rbx,%rsi
call   1030 <fputs@plt>
mov    %rbx,%rdi
mov    0x10(%rsp),%rsi
mov    %r15d,%edx
xor    %eax,%eax
call   1050 <fprintf@plt>
mov    %r15,0x28(%rsp)
sub    %r15d,%ebp
cmp    $0x10,%ebp
mov    $0x10,%eax
cmovl  %ebp,%eax
movslq %eax,%r15
xor    %r12d,%r12d
jmp    1257 <hexdump+0x117>
xchg   %ax,%ax
mov    $0x3,%esi
mov    $0x1,%edx
lea    0xde4(%rip),%rdi
mov    %rbx,%rcx
call   1060 <fwrite@plt>
add    $0x1,%r12
cmp    $0x10,%r12
je     11b0 <hexdump+0x70>
cmp    $0x8,%r12
jne    126a <hexdump+0x12a>
mov    $0x20,%edi
mov    %rbx,%rsi
call   1040 <fputc@plt>
cmp    %r15,%r12
jge    1230 <hexdump+0xf0>
movzbl 0x0(%r13,%r12,1),%edx
mov    %dl,0x30(%rsp,%r12,1)
mov    %rbx,%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <fprintf@plt>
jmp    1249 <hexdump+0x109>
nopl   0x0(%rax)
mov    $0x2,%esi
mov    $0x1,%edx
lea    0xd85(%rip),%rdi
mov    %rbx,%rcx
call   1060 <fwrite@plt>
test   %ebp,%ebp
jle    11c1 <hexdump+0x81>
xor    %ebp,%ebp
jmp    12e7 <hexdump+0x1a7>
cs nopw 0x0(%rax,%rax,1)
nop
movzbl 0x30(%rsp,%rbp,1),%eax
lea    -0x20(%rax),%ecx
cmp    $0x5f,%cl
cmovae %r12d,%eax
movzbl %al,%edi
mov    %rbx,%rsi
call   1040 <fputc@plt>
add    $0x1,%rbp
cmp    %r15,%rbp
jge    11c1 <hexdump+0x81>
cmp    $0x8,%rbp
jne    12c0 <hexdump+0x180>
mov    $0x20,%edi
mov    %rbx,%rsi
call   1040 <fputc@plt>
jmp    12c0 <hexdump+0x180>
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
lea    0xcee(%rip),%rsi
mov    %rbx,%rdi
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1050 <fprintf@plt>

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

LLVM IR (-O2):
@.str = [15 x i8] c"%s [length 0]\0A\00"
@.str.2 = [5 x i8] c"%8d:\00"
@.str.3 = [6 x i8] c"%08x:\00"
@.str.5 = [5 x i8] c" %3d\00"
@.str.6 = [6 x i8] c" %02x\00"
@.str.7 = [4 x i8] c" \00"
@.str.8 = [3 x i8] c" \00"
define void @hexdump(i32* nocapture %0, i32 %1, i8* %2, i8* nocapture %3, i8* nocapture %4, i32 %5) {
%7 = alloca [16 x i8]
%8 = getelementptr inbounds [16 x i8], [16 x i8]* %7, i64 0, i64 0
%9 = icmp eq i32 %5, 0
br i1 %9, label %16, label %10
10: ; preds = %6
%11 = icmp sgt i32 %5, 0
br i1 %11, label %12, label %72
12: ; preds = %10
%13 = icmp eq i32 %1, 0
%14 = select i1 %13, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0)
%15 = select i1 %13, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.5, i64 0, i64 0)
br label %18
16: ; preds = %6
%17 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i8* %2)
br label %72
18: ; preds = %12, %67
%19 = phi i64 [ 0, %12 ], [ %69, %67 ]
%20 = icmp eq i64 %19, 0
%21 = select i1 %20, i8* %2, i8* %3
%22 = tail call i32 @fputs(i8* %21, i32* %0)
%23 = trunc i64 %19 to i32
%24 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* %14, i32 %23)
%25 = sub nsw i32 %5, %23
%26 = icmp slt i32 %25, 16
%27 = select i1 %26, i32 %25, i32 16
%28 = sext i32 %27 to i64
br label %29
29: ; preds = %18, %45
%30 = phi i64 [ 0, %18 ], [ %46, %45 ]
%31 = icmp eq i64 %30, 8
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = tail call i32 @fputc(i32 32, i32* %0)
br label %34
34: ; preds = %32, %29
%35 = icmp slt i64 %30, %28
br i1 %35, label %36, label %43
36: ; preds = %34
%37 = add nuw nsw i64 %30, %19
%38 = getelementptr inbounds i8, i8* %4, i64 %37
%39 = load i8, i8* %38
%40 = getelementptr inbounds [16 x i8], [16 x i8]* %7, i64 0, i64 %30
store i8 %39, i8* %40
%41 = zext i8 %39 to i32
%42 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* %15, i32 %41)
br label %45
43: ; preds = %34
%44 = tail call i64 @fwrite(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.7, i64 0, i64 0), i64 3, i64 1, i32* %0)
br label %45
45: ; preds = %36, %43
%46 = add nuw nsw i64 %30, 1
%47 = icmp eq i64 %46, 16
br i1 %47, label %48, label %29
48: ; preds = %45
br i1 %13, label %49, label %67
49: ; preds = %48
%50 = tail call i64 @fwrite(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.8, i64 0, i64 0), i64 2, i64 1, i32* %0)
%51 = icmp sgt i32 %25, 0
br i1 %51, label %52, label %67
52: ; preds = %49, %57
%53 = phi i64 [ %65, %57 ], [ 0, %49 ]
%54 = icmp eq i64 %53, 8
br i1 %54, label %55, label %57
55: ; preds = %52
%56 = tail call i32 @fputc(i32 32, i32* %0)
br label %57
57: ; preds = %55, %52
%58 = getelementptr inbounds [16 x i8], [16 x i8]* %7, i64 0, i64 %53
%59 = load i8, i8* %58
%60 = add i8 %59, -32
%61 = icmp ult i8 %60, 95
%62 = select i1 %61, i8 %59, i8 46
%63 = zext i8 %62 to i32
%64 = tail call i32 @fputc(i32 %63, i32* %0)
%65 = add nuw nsw i64 %53, 1
%66 = icmp slt i64 %65, %28
br i1 %66, label %52, label %67
67: ; preds = %57, %49, %48
%68 = tail call i32 @fputc(i32 10, i32* %0)
%69 = add nuw i64 %19, 16
%70 = trunc i64 %69 to i32
%71 = icmp slt i32 %70, %5
br i1 %71, label %18, label %72
72: ; preds = %67, %10, %16
ret void
}