#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 */
scalar_t__ isalnum(unsigned char);
scalar_t__ ispunct(unsigned char);
int /*<<< orphan*/ printf(char *, ...);
void pline(unsigned char buf[50], int size, long long address) {
  int i = 0;
  printf("\n");
  printf("%016llx  ", address);
  for (i = 0; i < 4; i++) {
    if (i < size)
      printf("%02x", buf[i]);
    else
      printf("  ");
  }
  printf(" ");
  for (i = 4; i < 8; i++) {
    if (i < size)
      printf("%02x", buf[i]);
    else
      printf("  ");
  }
  printf("  ");
  for (i = 8; i < 12; i++) {
    if (i < size)
      printf("%02x", buf[i]);
    else
      printf("  ");
  }
  printf(" ");
  for (i = 12; i < 16; i++) {
    if (i < size)
      printf("%02x", buf[i]);
    else
      printf("  ");
  }
  printf("   ");
  for (i = 0; i < 8; i++) {
    if (i >= size)
      printf(" ");
    else if (isalnum(buf[i]) || ispunct(buf[i]) || buf[i] == 0x20)
      printf("%c", buf[i]);
    else
      printf(".");
  }
  printf(" ");
  for (i = 8; i < 16; i++) {
    if (i >= size)
      printf(" ");
    else if (isalnum(buf[i]) || ispunct(buf[i]) || buf[i] == 0x20)
      printf("%c", buf[i]);
    else
      printf(".");
  }
}


x86 assembly (clang, -O0):
<pline>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %rdx,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
lea    0xeaf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rsi
lea    0xe9f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x4,-0x1c(%rbp)
jge    11c7 <pline+0x97>
mov    -0x1c(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    11a6 <pline+0x76>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movzbl (%rax,%rcx,1),%esi
lea    0xe72(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    11b4 <pline+0x84>
lea    0xe65(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    11b9 <pline+0x89>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1171 <pline+0x41>
lea    0xe45(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x4,-0x1c(%rbp)
cmpl   $0x8,-0x1c(%rbp)
jge    1232 <pline+0x102>
mov    -0x1c(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1211 <pline+0xe1>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movzbl (%rax,%rcx,1),%esi
lea    0xe07(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    121f <pline+0xef>
lea    0xdfa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1224 <pline+0xf4>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11dc <pline+0xac>
lea    0xdd9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x8,-0x1c(%rbp)
cmpl   $0xc,-0x1c(%rbp)
jge    129d <pline+0x16d>
mov    -0x1c(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    127c <pline+0x14c>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movzbl (%rax,%rcx,1),%esi
lea    0xd9c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    128a <pline+0x15a>
lea    0xd8f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    128f <pline+0x15f>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1247 <pline+0x117>
lea    0xd6f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0xc,-0x1c(%rbp)
cmpl   $0x10,-0x1c(%rbp)
jge    1308 <pline+0x1d8>
mov    -0x1c(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    12e7 <pline+0x1b7>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movzbl (%rax,%rcx,1),%esi
lea    0xd31(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12f5 <pline+0x1c5>
lea    0xd24(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12fa <pline+0x1ca>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    12b2 <pline+0x182>
lea    0xd02(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x8,-0x1c(%rbp)
jge    13d6 <pline+0x2a6>
mov    -0x1c(%rbp),%eax
cmp    -0xc(%rbp),%eax
jl     1346 <pline+0x216>
lea    0xcd9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13c3 <pline+0x293>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movzbl (%rax,%rcx,1),%edi
call   1040 <isalnum@plt>
cmp    $0x0,%rax
jne    1391 <pline+0x261>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movzbl (%rax,%rcx,1),%edi
call   1050 <ispunct@plt>
cmp    $0x0,%rax
jne    1391 <pline+0x261>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movzbl (%rax,%rcx,1),%eax
cmp    $0x20,%eax
jne    13b0 <pline+0x280>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movzbl (%rax,%rcx,1),%esi
lea    0xc71(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13be <pline+0x28e>
lea    0xc61(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13c3 <pline+0x293>
jmp    13c8 <pline+0x298>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    131d <pline+0x1ed>
lea    0xc36(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x8,-0x1c(%rbp)
cmpl   $0x10,-0x1c(%rbp)
jge    14a4 <pline+0x374>
mov    -0x1c(%rbp),%eax
cmp    -0xc(%rbp),%eax
jl     1414 <pline+0x2e4>
lea    0xc0b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1491 <pline+0x361>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movzbl (%rax,%rcx,1),%edi
call   1040 <isalnum@plt>
cmp    $0x0,%rax
jne    145f <pline+0x32f>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movzbl (%rax,%rcx,1),%edi
call   1050 <ispunct@plt>
cmp    $0x0,%rax
jne    145f <pline+0x32f>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movzbl (%rax,%rcx,1),%eax
cmp    $0x20,%eax
jne    147e <pline+0x34e>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
movzbl (%rax,%rcx,1),%esi
lea    0xba3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    148c <pline+0x35c>
lea    0xb93(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1491 <pline+0x361>
jmp    1496 <pline+0x366>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    13eb <pline+0x2bb>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<pline>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    %rdx,%rbp
mov    %esi,%r14d
mov    %rdi,%r15
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe9f(%rip),%rdi
mov    %rbp,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
test   %r14d,%r14d
jle    1360 <pline+0x220>
movzbl (%r15),%esi
lea    0xe8b(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x1,%r14d
je     136e <pline+0x22e>
movzbl 0x1(%r15),%esi
lea    0xe6e(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x2,%r14d
jbe    137c <pline+0x23c>
movzbl 0x2(%r15),%esi
lea    0xe51(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x3,%r14d
je     138a <pline+0x24a>
movzbl 0x3(%r15),%esi
lea    0xe34(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x20,%edi
call   1030 <putchar@plt>
cmp    $0x4,%r14d
jbe    13a2 <pline+0x262>
movzbl 0x4(%r15),%esi
lea    0xe0d(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x5,%r14d
je     13b0 <pline+0x270>
movzbl 0x5(%r15),%esi
lea    0xdf0(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x6,%r14d
jbe    13be <pline+0x27e>
movzbl 0x6(%r15),%esi
lea    0xdd3(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x7,%r14d
je     13cc <pline+0x28c>
movzbl 0x7(%r15),%esi
lea    0xdb6(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdae(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x8,%r14d
jbe    13e7 <pline+0x2a7>
movzbl 0x8(%r15),%esi
lea    0xd8b(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x9,%r14d
je     13f5 <pline+0x2b5>
movzbl 0x9(%r15),%esi
lea    0xd6e(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0xa,%r14d
jbe    1403 <pline+0x2c3>
movzbl 0xa(%r15),%esi
lea    0xd51(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0xb,%r14d
je     1411 <pline+0x2d1>
movzbl 0xb(%r15),%esi
lea    0xd34(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x20,%edi
call   1030 <putchar@plt>
cmp    $0xc,%r14d
jbe    1429 <pline+0x2e9>
movzbl 0xc(%r15),%esi
lea    0xd0d(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0xd,%r14d
je     1437 <pline+0x2f7>
movzbl 0xd(%r15),%esi
lea    0xcf0(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0xe,%r14d
jbe    1445 <pline+0x305>
movzbl 0xe(%r15),%esi
lea    0xcd3(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0xf,%r14d
je     1453 <pline+0x313>
movzbl 0xf(%r15),%esi
lea    0xcb6(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1461 <pline+0x321>
lea    0xca9(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc9b(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc8d(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc7f(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x20,%edi
call   1030 <putchar@plt>
lea    0xc67(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc59(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc4b(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc3d(%rip),%rbp
mov    %rbp,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbp,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc22(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc14(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc06(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xbf8(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x20,%edi
call   1030 <putchar@plt>
lea    0xbe0(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xbd2(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xbc4(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xbb6(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movslq %r14d,%rbp
lea    0xba4(%rip),%rdi
xor    %ebx,%ebx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1494 <pline+0x354>
cs nopw 0x0(%rax,%rax,1)
movzbl (%r15,%rbx,1),%edi
call   1030 <putchar@plt>
add    $0x1,%rbx
cmp    $0x8,%rbx
je     14ca <pline+0x38a>
mov    $0x20,%edi
cmp    %rbp,%rbx
jge    1485 <pline+0x345>
movzbl (%r15,%rbx,1),%edi
call   1050 <isalnum@plt>
test   %rax,%rax
jne    1480 <pline+0x340>
movzbl (%r15,%rbx,1),%edi
call   1060 <ispunct@plt>
test   %rax,%rax
jne    1480 <pline+0x340>
mov    $0x2e,%edi
cmpb   $0x20,(%r15,%rbx,1)
je     1480 <pline+0x340>
jmp    1485 <pline+0x345>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    $0x8,%ebx
jmp    14f4 <pline+0x3b4>
nopl   0x0(%rax,%rax,1)
movzbl (%r15,%rbx,1),%edi
call   1030 <putchar@plt>
add    $0x1,%rbx
cmp    $0x10,%rbx
je     152a <pline+0x3ea>
mov    $0x20,%edi
cmp    %rbp,%rbx
jge    14e5 <pline+0x3a5>
movzbl (%r15,%rbx,1),%edi
call   1050 <isalnum@plt>
test   %rax,%rax
jne    14e0 <pline+0x3a0>
movzbl (%r15,%rbx,1),%edi
call   1060 <ispunct@plt>
test   %rax,%rax
jne    14e0 <pline+0x3a0>
mov    $0x2e,%edi
cmpb   $0x20,(%r15,%rbx,1)
je     14e0 <pline+0x3a0>
jmp    14e5 <pline+0x3a5>
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

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

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