#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*/ print_char(char);
int /*<<< orphan*/ printf(char *, ...);
dump(char *p1, char *p2, int start, int stop) {
  int size = stop - start + 1;
  int nb_lines = size / 16;
  int line;
  int idx, i;
  printf("size = %d, nb_lines = %d\n", size, nb_lines);
  for (line = 0; line < nb_lines; line++) {
    idx = start + line * 16;
    printf("Offset %d (0x%x)\n", idx, idx);
    for (i = 0; i < 16; i++) {
      print_char(p1[idx++]);
    }
    printf("\n");
    idx = start + line * 16;
    for (i = 0; i < 16; i++) {
      print_char(p2[idx++]);
    }
    printf("\n");
  }
  idx = start + line * 16;
  printf("Offset %d\n", idx);
  for (i = 0; i < size % 16; i++) {
    print_char(p1[idx++]);
  }
  printf("\n");
  idx = start + line * 16;
  for (i = 0; i < size % 16; i++) {
    print_char(p2[idx++]);
  }
  printf("\n");
}


x86 assembly (clang, -O0):
<dump>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
mov    %edx,-0x1c(%rbp)
mov    %ecx,-0x20(%rbp)
mov    -0x20(%rbp),%eax
sub    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
mov    -0x24(%rbp),%eax
mov    $0x10,%ecx
cltd
idiv   %ecx
mov    %eax,-0x28(%rbp)
mov    -0x24(%rbp),%esi
mov    -0x28(%rbp),%edx
lea    0xea3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    1245 <dump+0x125>
mov    -0x1c(%rbp),%eax
mov    -0x2c(%rbp),%ecx
shl    $0x4,%ecx
add    %ecx,%eax
mov    %eax,-0x30(%rbp)
mov    -0x30(%rbp),%esi
mov    -0x30(%rbp),%edx
lea    0xe88(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x34(%rbp)
cmpl   $0x10,-0x34(%rbp)
jge    11d3 <dump+0xb3>
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x30(%rbp)
movslq %ecx,%rcx
movsbl (%rax,%rcx,1),%edi
call   1040 <print_char@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    11a0 <dump+0x80>
lea    0xe50(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
mov    -0x2c(%rbp),%ecx
shl    $0x4,%ecx
add    %ecx,%eax
mov    %eax,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
cmpl   $0x10,-0x34(%rbp)
jge    1229 <dump+0x109>
mov    -0x18(%rbp),%rax
mov    -0x30(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x30(%rbp)
movslq %ecx,%rcx
movsbl (%rax,%rcx,1),%edi
call   1040 <print_char@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    11f6 <dump+0xd6>
lea    0xdfa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    116b <dump+0x4b>
mov    -0x1c(%rbp),%eax
mov    -0x2c(%rbp),%ecx
shl    $0x4,%ecx
add    %ecx,%eax
mov    %eax,-0x30(%rbp)
mov    -0x30(%rbp),%esi
lea    0xdcf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x38(%rbp)
mov    -0x24(%rbp),%eax
mov    $0x10,%ecx
cltd
idiv   %ecx
mov    -0x38(%rbp),%eax
cmp    %edx,%eax
jge    12b0 <dump+0x190>
mov    -0x10(%rbp),%rax
mov    -0x30(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x30(%rbp)
movslq %ecx,%rcx
movsbl (%rax,%rcx,1),%edi
call   1040 <print_char@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    126b <dump+0x14b>
lea    0xd73(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
mov    -0x2c(%rbp),%ecx
shl    $0x4,%ecx
add    %ecx,%eax
mov    %eax,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
mov    %eax,-0x3c(%rbp)
mov    -0x24(%rbp),%eax
mov    $0x10,%ecx
cltd
idiv   %ecx
mov    -0x3c(%rbp),%eax
cmp    %edx,%eax
jge    1318 <dump+0x1f8>
mov    -0x18(%rbp),%rax
mov    -0x30(%rbp),%ecx
mov    %ecx,%edx
add    $0x1,%edx
mov    %edx,-0x30(%rbp)
movslq %ecx,%rcx
movsbl (%rax,%rcx,1),%edi
call   1040 <print_char@plt>
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    12d3 <dump+0x1b3>
lea    0xd0b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x40,%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,%ebp
mov    %edx,%r15d
mov    %rsi,%r14
mov    %rdi,%rbx
sub    %edx,%ebp
lea    0x1(%rbp),%esi
lea    0x10(%rbp),%eax
test   %esi,%esi
cmovns %esi,%eax
mov    %eax,%r12d
sar    $0x4,%r12d
and    $0xfffffff0,%eax
neg    %eax
add    %ebp,%eax
add    $0x1,%eax
mov    %eax,0x4(%rsp)
lea    0xe8e(%rip),%rdi
xor    %r13d,%r13d
mov    %r12d,%edx
xor    %eax,%eax
call   1040 <printf@plt>
movslq %r15d,%rax
mov    %rax,0x8(%rsp)
cmp    $0xf,%ebp
mov    0x4(%rsp),%ebp
jl     1347 <dump+0x217>
cmp    $0x2,%r12d
mov    $0x1,%r13d
cmovge %r12d,%r13d
lea    0xe71(%rip),%r12
mov    %r13d,0x14(%rsp)
mov    0x8(%rsp),%rbp
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    %r12,%rdi
mov    %ebp,%esi
mov    %ebp,%edx
xor    %eax,%eax
call   1040 <printf@plt>
movsbl (%rbx,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0x1(%rbx,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0x2(%rbx,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0x3(%rbx,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0x4(%rbx,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0x5(%rbx,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0x6(%rbx,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0x7(%rbx,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0x8(%rbx,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0x9(%rbx,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0xa(%rbx,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0xb(%rbx,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0xc(%rbx,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0xd(%rbx,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0xe(%rbx,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0xf(%rbx,%rbp,1),%edi
call   1050 <print_char@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
movsbl (%r14,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0x1(%r14,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0x2(%r14,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0x3(%r14,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0x4(%r14,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0x5(%r14,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0x6(%r14,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0x7(%r14,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0x8(%r14,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0x9(%r14,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0xa(%r14,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0xb(%r14,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0xc(%r14,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0xd(%r14,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0xe(%r14,%rbp,1),%edi
call   1050 <print_char@plt>
movsbl 0xf(%r14,%rbp,1),%edi
call   1050 <print_char@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x10,%rbp
add    $0xffffffff,%r13d
jne    11c0 <dump+0x90>
mov    0x4(%rsp),%ebp
mov    0x14(%rsp),%r13d
mov    %r13d,%esi
shl    $0x4,%esi
add    %r15d,%esi
lea    0xcd5(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
test   %ebp,%ebp
jle    13c5 <dump+0x295>
mov    %r13d,%r15d
mov    %r15,%rax
shl    $0x4,%rax
add    0x8(%rsp),%rax
add    %rax,%rbx
mov    %ebp,%r13d
mov    %ebp,%r12d
xor    %ebp,%ebp
nopl   0x0(%rax)
movsbl (%rbx,%rbp,1),%edi
call   1050 <print_char@plt>
add    $0x1,%rbp
cmp    %ebp,%r12d
jne    1380 <dump+0x250>
mov    $0xa,%edi
call   1030 <putchar@plt>
test   %r13d,%r13d
jle    13cf <dump+0x29f>
shl    $0x4,%r15
add    0x8(%rsp),%r15
add    %r15,%r14
xor    %ebx,%ebx
nop
movsbl (%r14,%rbx,1),%edi
call   1050 <print_char@plt>
add    $0x1,%rbx
cmp    %ebx,%r12d
jne    13b0 <dump+0x280>
jmp    13cf <dump+0x29f>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <putchar@plt>

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

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