#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__ isprint(unsigned char);
int /*<<< orphan*/ printf(char *, ...);
void dump(unsigned char *buffer, unsigned int buffer_size, int ascii_dump,
          int octal_dump) {
  unsigned int i, j;
  for (i = 0; i < buffer_size; i += 16) {
    printf("%.8o", i);
    if (octal_dump) {
      for (j = 0; j < 8; j++)
        printf(" %.2x", buffer[i + j]);
      printf(" - ");
      for (; j < 16; j++)
        printf(" %.2x", buffer[i + j]);
      printf("\n");
    }
    if (ascii_dump) {
      printf("%8c", ' ');
      for (j = 0; j < 8; j++)
        printf(" %1c ", isprint(buffer[i + j]) ? buffer[i + j] : ' ');
      printf(" - ");
      for (; j < 16; j++)
        printf(" %1c ", isprint(buffer[i + j]) ? buffer[i + j] : ' ');
      printf("\n");
    }
  }
}


x86 assembly (clang, -O0):
<dump>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
mov    %ecx,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0xc(%rbp),%eax
jae    131f <dump+0x1ff>
mov    -0x18(%rbp),%esi
lea    0xeae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,-0x14(%rbp)
je     11f2 <dump+0xd2>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x8,-0x1c(%rbp)
jae    11a0 <dump+0x80>
mov    -0x8(%rbp),%rax
mov    -0x18(%rbp),%ecx
add    -0x1c(%rbp),%ecx
mov    %ecx,%ecx
movzbl (%rax,%rcx,1),%esi
lea    0xe7a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    116a <dump+0x4a>
lea    0xe64(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x10,-0x1c(%rbp)
jae    11e4 <dump+0xc4>
mov    -0x8(%rbp),%rax
mov    -0x18(%rbp),%ecx
add    -0x1c(%rbp),%ecx
mov    %ecx,%ecx
movzbl (%rax,%rcx,1),%esi
lea    0xe36(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11ae <dump+0x8e>
lea    0xe24(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x0,-0x10(%rbp)
je     130c <dump+0x1ec>
lea    0xe0e(%rip),%rdi
mov    $0x20,%esi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x8,-0x1c(%rbp)
jae    1283 <dump+0x163>
mov    -0x8(%rbp),%rax
mov    -0x18(%rbp),%ecx
add    -0x1c(%rbp),%ecx
mov    %ecx,%ecx
movzbl (%rax,%rcx,1),%edi
call   1040 <isprint@plt>
cmp    $0x0,%rax
je     1257 <dump+0x137>
mov    -0x8(%rbp),%rax
mov    -0x18(%rbp),%ecx
add    -0x1c(%rbp),%ecx
mov    %ecx,%ecx
movzbl (%rax,%rcx,1),%eax
mov    %eax,-0x20(%rbp)
jmp    1264 <dump+0x144>
mov    $0x20,%eax
mov    %eax,-0x20(%rbp)
jmp    1264 <dump+0x144>
mov    -0x20(%rbp),%esi
lea    0xda7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1216 <dump+0xf6>
lea    0xd81(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
cmpl   $0x10,-0x1c(%rbp)
jae    12fe <dump+0x1de>
mov    -0x8(%rbp),%rax
mov    -0x18(%rbp),%ecx
add    -0x1c(%rbp),%ecx
mov    %ecx,%ecx
movzbl (%rax,%rcx,1),%edi
call   1040 <isprint@plt>
cmp    $0x0,%rax
je     12d2 <dump+0x1b2>
mov    -0x8(%rbp),%rax
mov    -0x18(%rbp),%ecx
add    -0x1c(%rbp),%ecx
mov    %ecx,%ecx
movzbl (%rax,%rcx,1),%eax
mov    %eax,-0x24(%rbp)
jmp    12df <dump+0x1bf>
mov    $0x20,%eax
mov    %eax,-0x24(%rbp)
jmp    12df <dump+0x1bf>
mov    -0x24(%rbp),%esi
lea    0xd2c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1291 <dump+0x171>
lea    0xd0a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1311 <dump+0x1f1>
mov    -0x18(%rbp),%eax
add    $0x10,%eax
mov    %eax,-0x18(%rbp)
jmp    113c <dump+0x1c>
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<dump>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %ecx,0x14(%rsp)
mov    %edx,0x10(%rsp)
mov    %esi,0xc(%rsp)
test   %esi,%esi
je     1650 <dump+0x520>
mov    %rdi,%rbp
lea    0xea9(%rip),%r12
xor    %r14d,%r14d
jmp    119a <dump+0x6a>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
lea    0xe9c(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x10,%r14d
cmp    0xc(%rsp),%r14d
jae    1650 <dump+0x520>
lea    0xe5f(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14d,%r13d
cmpl   $0x0,0x14(%rsp)
je     132b <dump+0x1fb>
movzbl 0x0(%rbp,%r13,1),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rax
or     $0x1,%rax
movzbl 0x0(%rbp,%rax,1),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rax
or     $0x2,%rax
movzbl 0x0(%rbp,%rax,1),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rax
or     $0x3,%rax
movzbl 0x0(%rbp,%rax,1),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rax
or     $0x4,%rax
movzbl 0x0(%rbp,%rax,1),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rax
or     $0x5,%rax
movzbl 0x0(%rbp,%rax,1),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rax
or     $0x6,%rax
movzbl 0x0(%rbp,%rax,1),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rax
or     $0x7,%rax
movzbl 0x0(%rbp,%rax,1),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xda1(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rax
or     $0x8,%rax
movzbl 0x0(%rbp,%rax,1),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rax
or     $0x9,%rax
movzbl 0x0(%rbp,%rax,1),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rax
or     $0xa,%rax
movzbl 0x0(%rbp,%rax,1),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rax
or     $0xb,%rax
movzbl 0x0(%rbp,%rax,1),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rax
or     $0xc,%rax
movzbl 0x0(%rbp,%rax,1),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rax
or     $0xd,%rax
movzbl 0x0(%rbp,%rax,1),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rax
or     $0xe,%rax
movzbl 0x0(%rbp,%rax,1),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rax
or     $0xf,%rax
movzbl 0x0(%rbp,%rax,1),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
cmpl   $0x0,0x10(%rsp)
je     118b <dump+0x5b>
mov    $0x20,%r15d
lea    0xccc(%rip),%rdi
mov    $0x20,%esi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0x0(%rbp,%r13,1),%edi
call   1050 <isprint@plt>
mov    $0x20,%esi
test   %rax,%rax
je     136a <dump+0x23a>
movzbl 0x0(%rbp,%r13,1),%esi
lea    0xca2(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rbx
or     $0x1,%rbx
movzbl 0x0(%rbp,%rbx,1),%edi
call   1050 <isprint@plt>
test   %rax,%rax
je     1394 <dump+0x264>
movzbl 0x0(%rbp,%rbx,1),%r15d
lea    0xc78(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rbx
or     $0x2,%rbx
movzbl 0x0(%rbp,%rbx,1),%edi
call   1050 <isprint@plt>
mov    $0x20,%r15d
mov    $0x20,%esi
test   %rax,%rax
je     13cb <dump+0x29b>
movzbl 0x0(%rbp,%rbx,1),%esi
lea    0xc41(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rbx
or     $0x3,%rbx
movzbl 0x0(%rbp,%rbx,1),%edi
call   1050 <isprint@plt>
test   %rax,%rax
je     13f5 <dump+0x2c5>
movzbl 0x0(%rbp,%rbx,1),%r15d
lea    0xc17(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rbx
or     $0x4,%rbx
movzbl 0x0(%rbp,%rbx,1),%edi
call   1050 <isprint@plt>
mov    $0x20,%r15d
mov    $0x20,%esi
test   %rax,%rax
je     142c <dump+0x2fc>
movzbl 0x0(%rbp,%rbx,1),%esi
lea    0xbe0(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rbx
or     $0x5,%rbx
movzbl 0x0(%rbp,%rbx,1),%edi
call   1050 <isprint@plt>
test   %rax,%rax
je     1456 <dump+0x326>
movzbl 0x0(%rbp,%rbx,1),%r15d
lea    0xbb6(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rbx
or     $0x6,%rbx
movzbl 0x0(%rbp,%rbx,1),%edi
call   1050 <isprint@plt>
mov    $0x20,%r15d
mov    $0x20,%esi
test   %rax,%rax
je     148d <dump+0x35d>
movzbl 0x0(%rbp,%rbx,1),%esi
lea    0xb7f(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rbx
or     $0x7,%rbx
movzbl 0x0(%rbp,%rbx,1),%edi
call   1050 <isprint@plt>
test   %rax,%rax
je     14b7 <dump+0x387>
movzbl 0x0(%rbp,%rbx,1),%r15d
lea    0xb55(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xb3c(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rbx
or     $0x8,%rbx
movzbl 0x0(%rbp,%rbx,1),%edi
call   1050 <isprint@plt>
mov    $0x20,%r15d
mov    $0x20,%esi
test   %rax,%rax
je     14fc <dump+0x3cc>
movzbl 0x0(%rbp,%rbx,1),%esi
lea    0xb10(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rbx
or     $0x9,%rbx
movzbl 0x0(%rbp,%rbx,1),%edi
call   1050 <isprint@plt>
test   %rax,%rax
je     1526 <dump+0x3f6>
movzbl 0x0(%rbp,%rbx,1),%r15d
lea    0xae6(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rbx
or     $0xa,%rbx
movzbl 0x0(%rbp,%rbx,1),%edi
call   1050 <isprint@plt>
mov    $0x20,%r15d
mov    $0x20,%esi
test   %rax,%rax
je     155d <dump+0x42d>
movzbl 0x0(%rbp,%rbx,1),%esi
lea    0xaaf(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rbx
or     $0xb,%rbx
movzbl 0x0(%rbp,%rbx,1),%edi
call   1050 <isprint@plt>
test   %rax,%rax
je     1587 <dump+0x457>
movzbl 0x0(%rbp,%rbx,1),%r15d
lea    0xa85(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rbx
or     $0xc,%rbx
movzbl 0x0(%rbp,%rbx,1),%edi
call   1050 <isprint@plt>
mov    $0x20,%r15d
mov    $0x20,%esi
test   %rax,%rax
je     15be <dump+0x48e>
movzbl 0x0(%rbp,%rbx,1),%esi
lea    0xa4e(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rbx
or     $0xd,%rbx
movzbl 0x0(%rbp,%rbx,1),%edi
call   1050 <isprint@plt>
test   %rax,%rax
je     15e8 <dump+0x4b8>
movzbl 0x0(%rbp,%rbx,1),%r15d
lea    0xa24(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r13,%rbx
or     $0xe,%rbx
movzbl 0x0(%rbp,%rbx,1),%edi
call   1050 <isprint@plt>
mov    $0x20,%r15d
mov    $0x20,%esi
test   %rax,%rax
je     161f <dump+0x4ef>
movzbl 0x0(%rbp,%rbx,1),%esi
lea    0x9ed(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
or     $0xf,%r13
movzbl 0x0(%rbp,%r13,1),%edi
call   1050 <isprint@plt>
test   %rax,%rax
je     1170 <dump+0x40>
movzbl 0x0(%rbp,%r13,1),%r15d
jmp    1170 <dump+0x40>
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str = [5 x i8] c"%.8o\00"
@.str.1 = [6 x i8] c" %.2x\00"
@.str.2 = [4 x i8] c" - \00"
@.str.4 = [4 x i8] c"%8c\00"
@.str.5 = [6 x i8] c" %1c \00"
define void @dump(i8* nocapture %0, i32 %1, i32 %2, i32 %3) {
%5 = icmp eq i32 %1, 0
br i1 %5, label %279, label %6
6: ; preds = %4
%7 = icmp eq i32 %3, 0
%8 = icmp eq i32 %2, 0
br label %9
9: ; preds = %6, %276
%10 = phi i32 [ 0, %6 ], [ %277, %276 ]
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i32 %10)
br i1 %7, label %95, label %12
12: ; preds = %9
%13 = zext i32 %10 to i64
%14 = getelementptr inbounds i8, i8* %0, i64 %13
%15 = load i8, i8* %14
%16 = zext i8 %15 to i32
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %16)
%18 = or i64 %13, 1
%19 = getelementptr inbounds i8, i8* %0, i64 %18
%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 = or i64 %13, 2
%24 = getelementptr inbounds i8, i8* %0, i64 %23
%25 = load i8, i8* %24
%26 = zext i8 %25 to i32
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %26)
%28 = or i64 %13, 3
%29 = getelementptr inbounds i8, i8* %0, i64 %28
%30 = load i8, i8* %29
%31 = zext i8 %30 to i32
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %31)
%33 = or i64 %13, 4
%34 = getelementptr inbounds i8, i8* %0, i64 %33
%35 = load i8, i8* %34
%36 = zext i8 %35 to i32
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %36)
%38 = or i64 %13, 5
%39 = getelementptr inbounds i8, i8* %0, i64 %38
%40 = load i8, i8* %39
%41 = zext i8 %40 to i32
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %41)
%43 = or i64 %13, 6
%44 = getelementptr inbounds i8, i8* %0, i64 %43
%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 = or i64 %13, 7
%49 = getelementptr inbounds i8, i8* %0, i64 %48
%50 = load i8, i8* %49
%51 = zext i8 %50 to i32
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %51)
%53 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%54 = or i64 %13, 8
%55 = getelementptr inbounds i8, i8* %0, i64 %54
%56 = load i8, i8* %55
%57 = zext i8 %56 to i32
%58 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %57)
%59 = or i64 %13, 9
%60 = getelementptr inbounds i8, i8* %0, i64 %59
%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 = or i64 %13, 10
%65 = getelementptr inbounds i8, i8* %0, i64 %64
%66 = load i8, i8* %65
%67 = zext i8 %66 to i32
%68 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %67)
%69 = or i64 %13, 11
%70 = getelementptr inbounds i8, i8* %0, i64 %69
%71 = load i8, i8* %70
%72 = zext i8 %71 to i32
%73 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %72)
%74 = or i64 %13, 12
%75 = getelementptr inbounds i8, i8* %0, i64 %74
%76 = load i8, i8* %75
%77 = zext i8 %76 to i32
%78 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %77)
%79 = or i64 %13, 13
%80 = getelementptr inbounds i8, i8* %0, i64 %79
%81 = load i8, i8* %80
%82 = zext i8 %81 to i32
%83 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %82)
%84 = or i64 %13, 14
%85 = getelementptr inbounds i8, i8* %0, i64 %84
%86 = load i8, i8* %85
%87 = zext i8 %86 to i32
%88 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %87)
%89 = or i64 %13, 15
%90 = getelementptr inbounds i8, i8* %0, i64 %89
%91 = load i8, i8* %90
%92 = zext i8 %91 to i32
%93 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0), i32 %92)
%94 = tail call i32 @putchar(i32 10)
br label %95
95: ; preds = %12, %9
br i1 %8, label %276, label %96
96: ; preds = %95
%97 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.4, i64 0, i64 0), i32 32)
%98 = zext i32 %10 to i64
%99 = getelementptr inbounds i8, i8* %0, i64 %98
%100 = load i8, i8* %99
%101 = tail call i64 @isprint(i8 zeroext %100)
%102 = icmp eq i64 %101, 0
br i1 %102, label %106, label %103
103: ; preds = %96
%104 = load i8, i8* %99
%105 = zext i8 %104 to i32
br label %106
106: ; preds = %96, %103
%107 = phi i32 [ %105, %103 ], [ 32, %96 ]
%108 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 %107)
%109 = or i64 %98, 1
%110 = getelementptr inbounds i8, i8* %0, i64 %109
%111 = load i8, i8* %110
%112 = tail call i64 @isprint(i8 zeroext %111)
%113 = icmp eq i64 %112, 0
br i1 %113, label %117, label %114
114: ; preds = %106
%115 = load i8, i8* %110
%116 = zext i8 %115 to i32
br label %117
117: ; preds = %114, %106
%118 = phi i32 [ %116, %114 ], [ 32, %106 ]
%119 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 %118)
%120 = or i64 %98, 2
%121 = getelementptr inbounds i8, i8* %0, i64 %120
%122 = load i8, i8* %121
%123 = tail call i64 @isprint(i8 zeroext %122)
%124 = icmp eq i64 %123, 0
br i1 %124, label %128, label %125
125: ; preds = %117
%126 = load i8, i8* %121
%127 = zext i8 %126 to i32
br label %128
128: ; preds = %125, %117
%129 = phi i32 [ %127, %125 ], [ 32, %117 ]
%130 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 %129)
%131 = or i64 %98, 3
%132 = getelementptr inbounds i8, i8* %0, i64 %131
%133 = load i8, i8* %132
%134 = tail call i64 @isprint(i8 zeroext %133)
%135 = icmp eq i64 %134, 0
br i1 %135, label %139, label %136
136: ; preds = %128
%137 = load i8, i8* %132
%138 = zext i8 %137 to i32
br label %139
139: ; preds = %136, %128
%140 = phi i32 [ %138, %136 ], [ 32, %128 ]
%141 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 %140)
%142 = or i64 %98, 4
%143 = getelementptr inbounds i8, i8* %0, i64 %142
%144 = load i8, i8* %143
%145 = tail call i64 @isprint(i8 zeroext %144)
%146 = icmp eq i64 %145, 0
br i1 %146, label %150, label %147
147: ; preds = %139
%148 = load i8, i8* %143
%149 = zext i8 %148 to i32
br label %150
150: ; preds = %147, %139
%151 = phi i32 [ %149, %147 ], [ 32, %139 ]
%152 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 %151)
%153 = or i64 %98, 5
%154 = getelementptr inbounds i8, i8* %0, i64 %153
%155 = load i8, i8* %154
%156 = tail call i64 @isprint(i8 zeroext %155)
%157 = icmp eq i64 %156, 0
br i1 %157, label %161, label %158
158: ; preds = %150
%159 = load i8, i8* %154
%160 = zext i8 %159 to i32
br label %161
161: ; preds = %158, %150
%162 = phi i32 [ %160, %158 ], [ 32, %150 ]
%163 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 %162)
%164 = or i64 %98, 6
%165 = getelementptr inbounds i8, i8* %0, i64 %164
%166 = load i8, i8* %165
%167 = tail call i64 @isprint(i8 zeroext %166)
%168 = icmp eq i64 %167, 0
br i1 %168, label %172, label %169
169: ; preds = %161
%170 = load i8, i8* %165
%171 = zext i8 %170 to i32
br label %172
172: ; preds = %169, %161
%173 = phi i32 [ %171, %169 ], [ 32, %161 ]
%174 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 %173)
%175 = or i64 %98, 7
%176 = getelementptr inbounds i8, i8* %0, i64 %175
%177 = load i8, i8* %176
%178 = tail call i64 @isprint(i8 zeroext %177)
%179 = icmp eq i64 %178, 0
br i1 %179, label %183, label %180
180: ; preds = %172
%181 = load i8, i8* %176
%182 = zext i8 %181 to i32
br label %183
183: ; preds = %172, %180
%184 = phi i32 [ %182, %180 ], [ 32, %172 ]
%185 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 %184)
%186 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%187 = or i64 %98, 8
%188 = getelementptr inbounds i8, i8* %0, i64 %187
%189 = load i8, i8* %188
%190 = tail call i64 @isprint(i8 zeroext %189)
%191 = icmp eq i64 %190, 0
br i1 %191, label %195, label %192
192: ; preds = %183
%193 = load i8, i8* %188
%194 = zext i8 %193 to i32
br label %195
195: ; preds = %183, %192
%196 = phi i32 [ %194, %192 ], [ 32, %183 ]
%197 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 %196)
%198 = or i64 %98, 9
%199 = getelementptr inbounds i8, i8* %0, i64 %198
%200 = load i8, i8* %199
%201 = tail call i64 @isprint(i8 zeroext %200)
%202 = icmp eq i64 %201, 0
br i1 %202, label %206, label %203
203: ; preds = %195
%204 = load i8, i8* %199
%205 = zext i8 %204 to i32
br label %206
206: ; preds = %203, %195
%207 = phi i32 [ %205, %203 ], [ 32, %195 ]
%208 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 %207)
%209 = or i64 %98, 10
%210 = getelementptr inbounds i8, i8* %0, i64 %209
%211 = load i8, i8* %210
%212 = tail call i64 @isprint(i8 zeroext %211)
%213 = icmp eq i64 %212, 0
br i1 %213, label %217, label %214
214: ; preds = %206
%215 = load i8, i8* %210
%216 = zext i8 %215 to i32
br label %217
217: ; preds = %214, %206
%218 = phi i32 [ %216, %214 ], [ 32, %206 ]
%219 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 %218)
%220 = or i64 %98, 11
%221 = getelementptr inbounds i8, i8* %0, i64 %220
%222 = load i8, i8* %221
%223 = tail call i64 @isprint(i8 zeroext %222)
%224 = icmp eq i64 %223, 0
br i1 %224, label %228, label %225
225: ; preds = %217
%226 = load i8, i8* %221
%227 = zext i8 %226 to i32
br label %228
228: ; preds = %225, %217
%229 = phi i32 [ %227, %225 ], [ 32, %217 ]
%230 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 %229)
%231 = or i64 %98, 12
%232 = getelementptr inbounds i8, i8* %0, i64 %231
%233 = load i8, i8* %232
%234 = tail call i64 @isprint(i8 zeroext %233)
%235 = icmp eq i64 %234, 0
br i1 %235, label %239, label %236
236: ; preds = %228
%237 = load i8, i8* %232
%238 = zext i8 %237 to i32
br label %239
239: ; preds = %236, %228
%240 = phi i32 [ %238, %236 ], [ 32, %228 ]
%241 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 %240)
%242 = or i64 %98, 13
%243 = getelementptr inbounds i8, i8* %0, i64 %242
%244 = load i8, i8* %243
%245 = tail call i64 @isprint(i8 zeroext %244)
%246 = icmp eq i64 %245, 0
br i1 %246, label %250, label %247
247: ; preds = %239
%248 = load i8, i8* %243
%249 = zext i8 %248 to i32
br label %250
250: ; preds = %247, %239
%251 = phi i32 [ %249, %247 ], [ 32, %239 ]
%252 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 %251)
%253 = or i64 %98, 14
%254 = getelementptr inbounds i8, i8* %0, i64 %253
%255 = load i8, i8* %254
%256 = tail call i64 @isprint(i8 zeroext %255)
%257 = icmp eq i64 %256, 0
br i1 %257, label %261, label %258
258: ; preds = %250
%259 = load i8, i8* %254
%260 = zext i8 %259 to i32
br label %261
261: ; preds = %258, %250
%262 = phi i32 [ %260, %258 ], [ 32, %250 ]
%263 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 %262)
%264 = or i64 %98, 15
%265 = getelementptr inbounds i8, i8* %0, i64 %264
%266 = load i8, i8* %265
%267 = tail call i64 @isprint(i8 zeroext %266)
%268 = icmp eq i64 %267, 0
br i1 %268, label %272, label %269
269: ; preds = %261
%270 = load i8, i8* %265
%271 = zext i8 %270 to i32
br label %272
272: ; preds = %261, %269
%273 = phi i32 [ %271, %269 ], [ 32, %261 ]
%274 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 %273)
%275 = tail call i32 @putchar(i32 10)
br label %276
276: ; preds = %95, %272
%277 = add i32 %10, 16
%278 = icmp ult i32 %277, %1
br i1 %278, label %9, label %279
279: ; preds = %276, %4
ret void
}