#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*/ printf(char *, ...);
void hexdump(unsigned char *startval, unsigned char *endval) {
  for (unsigned char *i = startval; i < endval; i += 16) {
    printf("%8p  ", i);
    for (unsigned char *j = i; j < i + 16; j++) {
      printf("%02x ", (*(j)));
      if (j == i + 7)
        printf(" ");
    };
    printf(" ");
    for (unsigned char *j = i; j < i + 16; j++) {
      char z = (*(j));
      if ((z >= 32) && (z < 127)) {
        printf("%c", (*(j)));
      } else {
        printf(".");
      };
    };
    printf("\n");
  };
}


x86 assembly (clang, -O0):
<hexdump>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    125e <hexdump+0x14e>
mov    -0x18(%rbp),%rsi
lea    0xebf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rax
mov    %rax,-0x20(%rbp)
mov    -0x20(%rbp),%rax
mov    -0x18(%rbp),%rcx
add    $0x10,%rcx
cmp    %rcx,%rax
jae    11b3 <hexdump+0xa3>
mov    -0x20(%rbp),%rax
movzbl (%rax),%esi
lea    0xe93(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%rax
mov    -0x18(%rbp),%rcx
add    $0x7,%rcx
cmp    %rcx,%rax
jne    119d <hexdump+0x8d>
lea    0xe6e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    11a2 <hexdump+0x92>
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x20(%rbp)
jmp    1150 <hexdump+0x40>
lea    0xe4a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
mov    -0x18(%rbp),%rcx
add    $0x10,%rcx
cmp    %rcx,%rax
jae    123f <hexdump+0x12f>
mov    -0x28(%rbp),%rax
mov    (%rax),%al
mov    %al,-0x29(%rbp)
movsbl -0x29(%rbp),%eax
cmp    $0x20,%eax
jl     121b <hexdump+0x10b>
movsbl -0x29(%rbp),%eax
cmp    $0x7f,%eax
jge    121b <hexdump+0x10b>
mov    -0x28(%rbp),%rax
movzbl (%rax),%esi
lea    0xdfd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1229 <hexdump+0x119>
lea    0xded(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    122e <hexdump+0x11e>
mov    -0x28(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x28(%rbp)
jmp    11c9 <hexdump+0xb9>
lea    0xdcb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rax
add    $0x10,%rax
mov    %rax,-0x18(%rbp)
jmp    1128 <hexdump+0x18>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<hexdump>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
cmp    %rsi,%rdi
jae    13b6 <hexdump+0x296>
mov    %rsi,%r14
mov    %rdi,%rbx
lea    0xec2(%rip),%r15
lea    0xec1(%rip),%r12
mov    $0x2e,%ebp
nopw   0x0(%rax,%rax,1)
mov    %r15,%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl (%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0x1(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0x2(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0x3(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0x4(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0x5(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0x6(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0x7(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x20,%edi
call   1030 <putchar@plt>
movzbl 0x8(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0x9(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0xa(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0xb(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0xc(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0xd(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0xe(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0xf(%rbx),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x20,%edi
call   1030 <putchar@plt>
movzbl (%rbx),%eax
lea    -0x20(%rax),%ecx
cmp    $0x5f,%cl
cmovae %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
movzbl 0x1(%rbx),%eax
lea    -0x20(%rax),%ecx
cmp    $0x5f,%cl
cmovae %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
movzbl 0x2(%rbx),%eax
lea    -0x20(%rax),%ecx
cmp    $0x5f,%cl
cmovae %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
movzbl 0x3(%rbx),%eax
lea    -0x20(%rax),%ecx
cmp    $0x5f,%cl
cmovae %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
movzbl 0x4(%rbx),%eax
lea    -0x20(%rax),%ecx
cmp    $0x5f,%cl
cmovae %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
movzbl 0x5(%rbx),%eax
lea    -0x20(%rax),%ecx
cmp    $0x5f,%cl
cmovae %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
movzbl 0x6(%rbx),%eax
lea    -0x20(%rax),%ecx
cmp    $0x5f,%cl
cmovae %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
movzbl 0x7(%rbx),%eax
lea    -0x20(%rax),%ecx
cmp    $0x5f,%cl
cmovae %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
movzbl 0x8(%rbx),%eax
lea    -0x20(%rax),%ecx
cmp    $0x5f,%cl
cmovae %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
movzbl 0x9(%rbx),%eax
lea    -0x20(%rax),%ecx
cmp    $0x5f,%cl
cmovae %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
movzbl 0xa(%rbx),%eax
lea    -0x20(%rax),%ecx
cmp    $0x5f,%cl
cmovae %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
movzbl 0xb(%rbx),%eax
lea    -0x20(%rax),%ecx
cmp    $0x5f,%cl
cmovae %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
movzbl 0xc(%rbx),%eax
lea    -0x20(%rax),%ecx
cmp    $0x5f,%cl
cmovae %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
movzbl 0xd(%rbx),%eax
lea    -0x20(%rax),%ecx
cmp    $0x5f,%cl
cmovae %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
movzbl 0xe(%rbx),%eax
lea    -0x20(%rax),%ecx
cmp    $0x5f,%cl
cmovae %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
movzbl 0xf(%rbx),%eax
lea    -0x20(%rax),%ecx
cmp    $0x5f,%cl
cmovae %ebp,%eax
movzbl %al,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x10,%rbx
cmp    %r14,%rbx
jb     1150 <hexdump+0x30>
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str = [6 x i8] c"%8p \00"
@.str.1 = [6 x i8] c"%02x \00"
define void @hexdump(i8* %0, i8* readnone %1) {
%3 = icmp ult i8* %0, %1
br i1 %3, label %5, label %4
4: ; preds = %5, %2
ret void
5: ; preds = %2, %5
%6 = phi i8* [ %184, %5 ], [ %0, %2 ]
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8* %6)
%8 = load i8, i8* %6
%9 = zext i8 %8 to i32
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %9)
%11 = getelementptr inbounds i8, i8* %6, i64 1
%12 = load i8, i8* %11
%13 = zext i8 %12 to i32
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %13)
%15 = getelementptr inbounds i8, i8* %6, i64 2
%16 = load i8, i8* %15
%17 = zext i8 %16 to i32
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %17)
%19 = getelementptr inbounds i8, i8* %6, i64 3
%20 = load i8, i8* %19
%21 = zext i8 %20 to i32
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %21)
%23 = getelementptr inbounds i8, i8* %6, i64 4
%24 = load i8, i8* %23
%25 = zext i8 %24 to i32
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %25)
%27 = getelementptr inbounds i8, i8* %6, i64 5
%28 = load i8, i8* %27
%29 = zext i8 %28 to i32
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %29)
%31 = getelementptr inbounds i8, i8* %6, i64 6
%32 = load i8, i8* %31
%33 = zext i8 %32 to i32
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %33)
%35 = getelementptr inbounds i8, i8* %6, i64 7
%36 = load i8, i8* %35
%37 = zext i8 %36 to i32
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %37)
%39 = tail call i32 @putchar(i32 32)
%40 = getelementptr inbounds i8, i8* %6, i64 8
%41 = load i8, i8* %40
%42 = zext i8 %41 to i32
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %42)
%44 = getelementptr inbounds i8, i8* %6, i64 9
%45 = load i8, i8* %44
%46 = zext i8 %45 to i32
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %46)
%48 = getelementptr inbounds i8, i8* %6, i64 10
%49 = load i8, i8* %48
%50 = zext i8 %49 to i32
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %50)
%52 = getelementptr inbounds i8, i8* %6, i64 11
%53 = load i8, i8* %52
%54 = zext i8 %53 to i32
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %54)
%56 = getelementptr inbounds i8, i8* %6, i64 12
%57 = load i8, i8* %56
%58 = zext i8 %57 to i32
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %58)
%60 = getelementptr inbounds i8, i8* %6, i64 13
%61 = load i8, i8* %60
%62 = zext i8 %61 to i32
%63 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %62)
%64 = getelementptr inbounds i8, i8* %6, i64 14
%65 = load i8, i8* %64
%66 = zext i8 %65 to i32
%67 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %66)
%68 = getelementptr inbounds i8, i8* %6, i64 15
%69 = load i8, i8* %68
%70 = zext i8 %69 to i32
%71 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %70)
%72 = tail call i32 @putchar(i32 32)
%73 = load i8, i8* %6
%74 = add i8 %73, -32
%75 = icmp ult i8 %74, 95
%76 = select i1 %75, i8 %73, i8 46
%77 = zext i8 %76 to i32
%78 = tail call i32 @putchar(i32 %77)
%79 = getelementptr inbounds i8, i8* %6, i64 1
%80 = load i8, i8* %79
%81 = add i8 %80, -32
%82 = icmp ult i8 %81, 95
%83 = select i1 %82, i8 %80, i8 46
%84 = zext i8 %83 to i32
%85 = tail call i32 @putchar(i32 %84)
%86 = getelementptr inbounds i8, i8* %6, i64 2
%87 = load i8, i8* %86
%88 = add i8 %87, -32
%89 = icmp ult i8 %88, 95
%90 = select i1 %89, i8 %87, i8 46
%91 = zext i8 %90 to i32
%92 = tail call i32 @putchar(i32 %91)
%93 = getelementptr inbounds i8, i8* %6, i64 3
%94 = load i8, i8* %93
%95 = add i8 %94, -32
%96 = icmp ult i8 %95, 95
%97 = select i1 %96, i8 %94, i8 46
%98 = zext i8 %97 to i32
%99 = tail call i32 @putchar(i32 %98)
%100 = getelementptr inbounds i8, i8* %6, i64 4
%101 = load i8, i8* %100
%102 = add i8 %101, -32
%103 = icmp ult i8 %102, 95
%104 = select i1 %103, i8 %101, i8 46
%105 = zext i8 %104 to i32
%106 = tail call i32 @putchar(i32 %105)
%107 = getelementptr inbounds i8, i8* %6, i64 5
%108 = load i8, i8* %107
%109 = add i8 %108, -32
%110 = icmp ult i8 %109, 95
%111 = select i1 %110, i8 %108, i8 46
%112 = zext i8 %111 to i32
%113 = tail call i32 @putchar(i32 %112)
%114 = getelementptr inbounds i8, i8* %6, i64 6
%115 = load i8, i8* %114
%116 = add i8 %115, -32
%117 = icmp ult i8 %116, 95
%118 = select i1 %117, i8 %115, i8 46
%119 = zext i8 %118 to i32
%120 = tail call i32 @putchar(i32 %119)
%121 = getelementptr inbounds i8, i8* %6, i64 7
%122 = load i8, i8* %121
%123 = add i8 %122, -32
%124 = icmp ult i8 %123, 95
%125 = select i1 %124, i8 %122, i8 46
%126 = zext i8 %125 to i32
%127 = tail call i32 @putchar(i32 %126)
%128 = getelementptr inbounds i8, i8* %6, i64 8
%129 = load i8, i8* %128
%130 = add i8 %129, -32
%131 = icmp ult i8 %130, 95
%132 = select i1 %131, i8 %129, i8 46
%133 = zext i8 %132 to i32
%134 = tail call i32 @putchar(i32 %133)
%135 = getelementptr inbounds i8, i8* %6, i64 9
%136 = load i8, i8* %135
%137 = add i8 %136, -32
%138 = icmp ult i8 %137, 95
%139 = select i1 %138, i8 %136, i8 46
%140 = zext i8 %139 to i32
%141 = tail call i32 @putchar(i32 %140)
%142 = getelementptr inbounds i8, i8* %6, i64 10
%143 = load i8, i8* %142
%144 = add i8 %143, -32
%145 = icmp ult i8 %144, 95
%146 = select i1 %145, i8 %143, i8 46
%147 = zext i8 %146 to i32
%148 = tail call i32 @putchar(i32 %147)
%149 = getelementptr inbounds i8, i8* %6, i64 11
%150 = load i8, i8* %149
%151 = add i8 %150, -32
%152 = icmp ult i8 %151, 95
%153 = select i1 %152, i8 %150, i8 46
%154 = zext i8 %153 to i32
%155 = tail call i32 @putchar(i32 %154)
%156 = getelementptr inbounds i8, i8* %6, i64 12
%157 = load i8, i8* %156
%158 = add i8 %157, -32
%159 = icmp ult i8 %158, 95
%160 = select i1 %159, i8 %157, i8 46
%161 = zext i8 %160 to i32
%162 = tail call i32 @putchar(i32 %161)
%163 = getelementptr inbounds i8, i8* %6, i64 13
%164 = load i8, i8* %163
%165 = add i8 %164, -32
%166 = icmp ult i8 %165, 95
%167 = select i1 %166, i8 %164, i8 46
%168 = zext i8 %167 to i32
%169 = tail call i32 @putchar(i32 %168)
%170 = getelementptr inbounds i8, i8* %6, i64 14
%171 = load i8, i8* %170
%172 = add i8 %171, -32
%173 = icmp ult i8 %172, 95
%174 = select i1 %173, i8 %171, i8 46
%175 = zext i8 %174 to i32
%176 = tail call i32 @putchar(i32 %175)
%177 = getelementptr inbounds i8, i8* %6, i64 15
%178 = load i8, i8* %177
%179 = add i8 %178, -32
%180 = icmp ult i8 %179, 95
%181 = select i1 %180, i8 %178, i8 46
%182 = zext i8 %181 to i32
%183 = tail call i32 @putchar(i32 %182)
%184 = getelementptr inbounds i8, i8* %6, i64 16
%185 = tail call i32 @putchar(i32 10)
%186 = icmp ult i8* %184, %1
br i1 %186, label %5, label %4
}