#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__ memcmp(char *, char *, int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ putchar(char);
void printTabs(char *tab) {
  int nBitmaps = 2;
  int i, j, k;
  unsigned char pageIndex[512];
  printf("static const unsigned namingBitmap[] = {\n0x00000000, 0x00000000, "
         "0x00000000, 0x00000000,\n0x00000000, 0x00000000, 0x00000000, "
         "0x00000000,\n0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, "
         "0xFFFFFFFF,\n0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,\n");
  for (i = 0; i < 512; i++) {
    int kind = tab[i * 256];
    for (j = 1; j < 256; j++)
      if (tab[i * 256 + j] != kind) {
        kind = -1;
        break;
      }
    if (i >= 256 && memcmp(tab + (i - 256) * 256, tab + i * 256, 256) == 0)
      pageIndex[i] = pageIndex[i - 256];
    else if (kind == -1) {
      pageIndex[i] = nBitmaps++;
      for (j = 0; j < 8; j++) {
        unsigned val = 0;
        for (k = 0; k < 32; k++) {
          if (tab[i * 256 + j * 32 + k])
            val |= (1 << k);
        }
        printf("0x%08X,", val);
        putchar((((j + 1) & 3) == 0) ? '\n' : ' ');
      }
    } else
      pageIndex[i] = kind;
  }
  printf("};\n");
  printf("static const unsigned char nmstrtPages[] = {\n");
  for (i = 0; i < 512; i++) {
    if (i == 256)
      printf("};\nstatic const unsigned char namePages[] = {\n");
    printf("0x%02X,", pageIndex[i]);
    putchar((((i + 1) & 7) == 0) ? '\n' : ' ');
  }
  printf("};\n");
}


x86 assembly (clang, -O0):
<printTabs>:
push   %rbp
mov    %rsp,%rbp
sub    $0x230,%rsp
mov    %rdi,-0x8(%rbp)
movl   $0x2,-0xc(%rbp)
lea    0xeb3(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x10(%rbp)
cmpl   $0x200,-0x10(%rbp)
jge    1349 <printTabs+0x219>
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%ecx
shl    $0x8,%ecx
movslq %ecx,%rcx
movsbl (%rax,%rcx,1),%eax
mov    %eax,-0x224(%rbp)
movl   $0x1,-0x14(%rbp)
cmpl   $0x100,-0x14(%rbp)
jge    11d5 <printTabs+0xa5>
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%ecx
shl    $0x8,%ecx
add    -0x14(%rbp),%ecx
movslq %ecx,%rcx
movsbl (%rax,%rcx,1),%eax
cmp    -0x224(%rbp),%eax
je     11c2 <printTabs+0x92>
movl   $0xffffffff,-0x224(%rbp)
ff ff ff
jmp    11d5 <printTabs+0xa5>
jmp    11c7 <printTabs+0x97>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1186 <printTabs+0x56>
cmpl   $0x100,-0x10(%rbp)
jl     123a <printTabs+0x10a>
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%eax
sub    $0x100,%eax
shl    $0x8,%eax
cltq
add    %rax,%rdi
mov    -0x8(%rbp),%rsi
mov    -0x10(%rbp),%eax
shl    $0x8,%eax
cltq
add    %rax,%rsi
mov    $0x100,%edx
call   1050 <memcmp@plt>
cmp    $0x0,%rax
jne    123a <printTabs+0x10a>
mov    -0x10(%rbp),%eax
sub    $0x100,%eax
cltq
mov    -0x220(%rbp,%rax,1),%cl
movslq -0x10(%rbp),%rax
mov    %cl,-0x220(%rbp,%rax,1)
jmp    1336 <printTabs+0x206>
cmpl   $0xffffffff,-0x224(%rbp)
jne    131e <printTabs+0x1ee>
mov    -0xc(%rbp),%eax
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,-0xc(%rbp)
mov    %al,%cl
movslq -0x10(%rbp),%rax
mov    %cl,-0x220(%rbp,%rax,1)
movl   $0x0,-0x14(%rbp)
cmpl   $0x8,-0x14(%rbp)
jge    1319 <printTabs+0x1e9>
movl   $0x0,-0x228(%rbp)
movl   $0x0,-0x18(%rbp)
cmpl   $0x20,-0x18(%rbp)
jge    12d6 <printTabs+0x1a6>
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%ecx
shl    $0x8,%ecx
mov    -0x14(%rbp),%edx
shl    $0x5,%edx
add    %edx,%ecx
add    -0x18(%rbp),%ecx
movslq %ecx,%rcx
cmpb   $0x0,(%rax,%rcx,1)
je     12c3 <printTabs+0x193>
mov    -0x18(%rbp),%ecx
mov    $0x1,%eax
shl    %cl,%eax
or     -0x228(%rbp),%eax
mov    %eax,-0x228(%rbp)
jmp    12c8 <printTabs+0x198>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1281 <printTabs+0x151>
mov    -0x228(%rbp),%esi
lea    0xe07(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x14(%rbp),%edx
add    $0x1,%edx
and    $0x3,%edx
mov    $0x20,%eax
mov    $0xa,%ecx
cmp    $0x0,%edx
cmove  %ecx,%eax
movsbl %al,%edi
call   1030 <putchar@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1266 <printTabs+0x136>
jmp    1331 <printTabs+0x201>
mov    -0x224(%rbp),%eax
mov    %al,%cl
movslq -0x10(%rbp),%rax
mov    %cl,-0x220(%rbp,%rax,1)
jmp    1336 <printTabs+0x206>
jmp    133b <printTabs+0x20b>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    115b <printTabs+0x2b>
lea    0xda2(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xd98(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x10(%rbp)
cmpl   $0x200,-0x10(%rbp)
jge    13dd <printTabs+0x2ad>
cmpl   $0x100,-0x10(%rbp)
jne    1394 <printTabs+0x264>
lea    0xd97(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movslq -0x10(%rbp),%rax
movzbl -0x220(%rbp,%rax,1),%esi
ff
lea    0xdac(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%edx
add    $0x1,%edx
and    $0x7,%edx
mov    $0x20,%eax
mov    $0xa,%ecx
cmp    $0x0,%edx
cmove  %ecx,%eax
movsbl %al,%edi
call   1030 <putchar@plt>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    136c <printTabs+0x23c>
lea    0xd0e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
add    $0x230,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<printTabs>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x218,%rsp
mov    %rdi,%r12
lea    0xf35(%rip),%rdi
call   1040 <puts@plt>
lea    0x5(%r12),%rbx
lea    0x1c(%r12),%r15
movl   $0x2,0x4(%rsp)
pxor   %xmm3,%xmm3
movdqa 0xe82(%rip),%xmm1
movdqa 0xe8a(%rip),%xmm2
movdqa 0xe92(%rip),%xmm4
movdqa 0xe9a(%rip),%xmm5
movdqa 0xea2(%rip),%xmm6
movdqa 0xeaa(%rip),%xmm7
movdqa 0xeb1(%rip),%xmm8
movdqa 0xeb8(%rip),%xmm9
xor    %r13d,%r13d
mov    %r12,0x8(%rsp)
jmp    11fd <printTabs+0xbd>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
cmp    $0xffffffff,%ebp
je     12e0 <printTabs+0x1a0>
mov    %bpl,0x10(%rsp,%r13,1)
add    $0x1,%r13
add    $0x100,%rbx
add    $0x100,%r15
cmp    $0x200,%r13
je     1499 <printTabs+0x359>
mov    %r13,%rax
shl    $0x8,%rax
lea    (%r12,%rax,1),%rsi
movsbl (%r12,%rax,1),%eax
xor    %ecx,%ecx
nop
mov    $0xffffffff,%ebp
cmp    %al,-0x4(%rbx,%rcx,1)
jne    1250 <printTabs+0x110>
cmp    %al,-0x3(%rbx,%rcx,1)
jne    1250 <printTabs+0x110>
cmp    %al,-0x2(%rbx,%rcx,1)
jne    1250 <printTabs+0x110>
cmp    %al,-0x1(%rbx,%rcx,1)
jne    1250 <printTabs+0x110>
cmp    %al,(%rbx,%rcx,1)
jne    1250 <printTabs+0x110>
add    $0x5,%rcx
cmp    $0xff,%rcx
jne    1210 <printTabs+0xd0>
mov    %eax,%ebp
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
cmp    $0x100,%r13
jb     11d0 <printTabs+0x90>
lea    -0x100(%r13),%r14
mov    %r14d,%edi
shl    $0x8,%edi
add    %r12,%rdi
mov    $0x100,%edx
call   1060 <memcmp@plt>
movdqa 0xdf0(%rip),%xmm9
movdqa 0xdd7(%rip),%xmm8
movdqa 0xdbf(%rip),%xmm7
movdqa 0xda7(%rip),%xmm6
movdqa 0xd8f(%rip),%xmm5
movdqa 0xd77(%rip),%xmm4
movdqa 0xd5f(%rip),%xmm2
movdqa 0xd47(%rip),%xmm1
pxor   %xmm3,%xmm3
test   %rax,%rax
jne    11d0 <printTabs+0x90>
mov    %r14d,%eax
mov    0x10(%rsp,%rax,1),%al
mov    %al,0x10(%rsp,%r13,1)
jmp    11de <printTabs+0x9e>
nopw   0x0(%rax,%rax,1)
mov    0x4(%rsp),%eax
mov    %al,0x10(%rsp,%r13,1)
mov    $0x1,%r14d
mov    %r15,%r12
mov    $0xa,%ebp
nopw   0x0(%rax,%rax,1)
movd   -0x1c(%r12),%xmm0
pcmpeqb %xmm3,%xmm0
punpcklbw %xmm0,%xmm0
punpcklwd %xmm0,%xmm0
psrad  $0x18,%xmm0
pandn  %xmm1,%xmm0
movd   -0x18(%r12),%xmm1
pcmpeqb %xmm3,%xmm1
punpcklbw %xmm1,%xmm1
punpcklwd %xmm1,%xmm1
psrad  $0x18,%xmm1
pandn  %xmm2,%xmm1
por    %xmm0,%xmm1
movd   -0x14(%r12),%xmm0
pcmpeqb %xmm3,%xmm0
punpcklbw %xmm0,%xmm0
punpcklwd %xmm0,%xmm2
psrad  $0x18,%xmm2
pandn  %xmm4,%xmm2
movd   -0x10(%r12),%xmm0
pcmpeqb %xmm3,%xmm0
punpcklbw %xmm0,%xmm0
punpcklwd %xmm0,%xmm0
psrad  $0x18,%xmm0
pandn  %xmm5,%xmm0
por    %xmm2,%xmm0
por    %xmm1,%xmm0
movd   -0xc(%r12),%xmm1
pcmpeqb %xmm3,%xmm1
punpcklbw %xmm1,%xmm1
punpcklwd %xmm1,%xmm1
psrad  $0x18,%xmm1
pandn  %xmm6,%xmm1
movd   -0x8(%r12),%xmm2
pcmpeqb %xmm3,%xmm2
punpcklbw %xmm2,%xmm2
punpcklwd %xmm2,%xmm2
psrad  $0x18,%xmm2
pandn  %xmm7,%xmm2
por    %xmm1,%xmm2
movd   -0x4(%r12),%xmm1
pcmpeqb %xmm3,%xmm1
punpcklbw %xmm1,%xmm1
punpcklwd %xmm1,%xmm1
psrad  $0x18,%xmm1
pandn  %xmm8,%xmm1
por    %xmm2,%xmm1
por    %xmm0,%xmm1
movd   (%r12),%xmm0
pcmpeqb %xmm3,%xmm0
punpcklbw %xmm0,%xmm0
punpcklwd %xmm0,%xmm0
psrad  $0x18,%xmm0
pandn  %xmm9,%xmm0
por    %xmm1,%xmm0
pshufd $0xee,%xmm0,%xmm1
por    %xmm0,%xmm1
pshufd $0x55,%xmm1,%xmm0
por    %xmm1,%xmm0
movd   %xmm0,%esi
lea    0xc66(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
test   $0x3,%r14b
mov    $0x20,%edi
cmove  %ebp,%edi
call   1030 <putchar@plt>
movdqa 0xc35(%rip),%xmm9
movdqa 0xc1c(%rip),%xmm8
movdqa 0xc04(%rip),%xmm7
movdqa 0xbec(%rip),%xmm6
movdqa 0xbd4(%rip),%xmm5
movdqa 0xbbc(%rip),%xmm4
movdqa 0xba4(%rip),%xmm2
movdqa 0xb8c(%rip),%xmm1
pxor   %xmm3,%xmm3
add    $0x20,%r12
add    $0x1,%r14
cmp    $0x9,%r14
jne    1300 <printTabs+0x1c0>
addl   $0x1,0x4(%rsp)
mov    0x8(%rsp),%r12
jmp    11de <printTabs+0x9e>
lea    0xd06(%rip),%rdi
call   1040 <puts@plt>
lea    0xccd(%rip),%rdi
call   1040 <puts@plt>
mov    $0x1,%ebp
lea    0xcec(%rip),%r14
lea    0xbc4(%rip),%r15
mov    $0xa,%ebx
jmp    14fd <printTabs+0x3bd>
nopl   0x0(%rax,%rax,1)
movzbl 0xf(%rsp,%rbp,1),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
test   $0x7,%bpl
mov    $0x20,%edi
cmove  %ebx,%edi
call   1030 <putchar@plt>
add    $0x1,%rbp
cmp    $0x201,%rbp
je     1510 <printTabs+0x3d0>
cmp    $0x101,%rbp
jne    14d0 <printTabs+0x390>
mov    %r14,%rdi
call   1040 <puts@plt>
jmp    14d0 <printTabs+0x390>
lea    0xc8f(%rip),%rdi
add    $0x218,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1040 <puts@plt>

LLVM IR (-O0):
@.str = [234 x i8] c"static const unsigned namingBitmap[] = {\0A0x00000000, 0x00000000, 0x00000000, 0x00000000,\0A0x00000000, 0x00000000, 0x00000000, 0x00000000,\0A0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,\0A0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,\0A\00"
@.str.1 = [8 x i8] c"0x%08X,\00"
@.str.2 = [4 x i8] c"};\0A\00"
@.str.3 = [46 x i8] c"static const unsigned char nmstrtPages[] = {\0A\00"
@.str.4 = [47 x i8] c"};\0Astatic const unsigned char namePages[] = {\0A\00"
@.str.5 = [8 x i8] c"0x%02X,\00"
define void @printTabs(i8* %0) {
%2 = alloca i8*
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca [512 x i8]
%8 = alloca i32
%9 = alloca i32
store i8* %0, i8** %2
store i32 2, i32* %3
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([234 x i8], [234 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %4
br label %11
11: ; preds = %130, %1
%12 = load i32, i32* %4
%13 = icmp slt i32 %12, 512
br i1 %13, label %14, label %133
14: ; preds = %11
%15 = load i8*, i8** %2
%16 = load i32, i32* %4
%17 = mul nsw i32 %16, 256
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, i8* %15, i64 %18
%20 = load i8, i8* %19
%21 = sext i8 %20 to i32
store i32 %21, i32* %8
store i32 1, i32* %5
br label %22
22: ; preds = %39, %14
%23 = load i32, i32* %5
%24 = icmp slt i32 %23, 256
br i1 %24, label %25, label %42
25: ; preds = %22
%26 = load i8*, i8** %2
%27 = load i32, i32* %4
%28 = mul nsw i32 %27, 256
%29 = load i32, i32* %5
%30 = add nsw i32 %28, %29
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, i8* %26, i64 %31
%33 = load i8, i8* %32
%34 = sext i8 %33 to i32
%35 = load i32, i32* %8
%36 = icmp ne i32 %34, %35
br i1 %36, label %37, label %38
37: ; preds = %25
store i32 -1, i32* %8
br label %42
38: ; preds = %25
br label %39
39: ; preds = %38
%40 = load i32, i32* %5
%41 = add nsw i32 %40, 1
store i32 %41, i32* %5
br label %22
42: ; preds = %37, %22
%43 = load i32, i32* %4
%44 = icmp sge i32 %43, 256
br i1 %44, label %45, label %68
45: ; preds = %42
%46 = load i8*, i8** %2
%47 = load i32, i32* %4
%48 = sub nsw i32 %47, 256
%49 = mul nsw i32 %48, 256
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, i8* %46, i64 %50
%52 = load i8*, i8** %2
%53 = load i32, i32* %4
%54 = mul nsw i32 %53, 256
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, i8* %52, i64 %55
%57 = call i64 @memcmp(i8* %51, i8* %56, i32 256)
%58 = icmp eq i64 %57, 0
br i1 %58, label %59, label %68
59: ; preds = %45
%60 = load i32, i32* %4
%61 = sub nsw i32 %60, 256
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [512 x i8], [512 x i8]* %7, i64 0, i64 %62
%64 = load i8, i8* %63
%65 = load i32, i32* %4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [512 x i8], [512 x i8]* %7, i64 0, i64 %66
store i8 %64, i8* %67
br label %129
68: ; preds = %45, %42
%69 = load i32, i32* %8
%70 = icmp eq i32 %69, -1
br i1 %70, label %71, label %122
71: ; preds = %68
%72 = load i32, i32* %3
%73 = add nsw i32 %72, 1
store i32 %73, i32* %3
%74 = trunc i32 %72 to i8
%75 = load i32, i32* %4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [512 x i8], [512 x i8]* %7, i64 0, i64 %76
store i8 %74, i8* %77
store i32 0, i32* %5
br label %78
78: ; preds = %118, %71
%79 = load i32, i32* %5
%80 = icmp slt i32 %79, 8
br i1 %80, label %81, label %121
81: ; preds = %78
store i32 0, i32* %9
store i32 0, i32* %6
br label %82
82: ; preds = %104, %81
%83 = load i32, i32* %6
%84 = icmp slt i32 %83, 32
br i1 %84, label %85, label %107
85: ; preds = %82
%86 = load i8*, i8** %2
%87 = load i32, i32* %4
%88 = mul nsw i32 %87, 256
%89 = load i32, i32* %5
%90 = mul nsw i32 %89, 32
%91 = add nsw i32 %88, %90
%92 = load i32, i32* %6
%93 = add nsw i32 %91, %92
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, i8* %86, i64 %94
%96 = load i8, i8* %95
%97 = icmp ne i8 %96, 0
br i1 %97, label %98, label %103
98: ; preds = %85
%99 = load i32, i32* %6
%100 = shl i32 1, %99
%101 = load i32, i32* %9
%102 = or i32 %101, %100
store i32 %102, i32* %9
br label %103
103: ; preds = %98, %85
br label %104
104: ; preds = %103
%105 = load i32, i32* %6
%106 = add nsw i32 %105, 1
store i32 %106, i32* %6
br label %82
107: ; preds = %82
%108 = load i32, i32* %9
%109 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32 %108)
%110 = load i32, i32* %5
%111 = add nsw i32 %110, 1
%112 = and i32 %111, 3
%113 = icmp eq i32 %112, 0
%114 = zext i1 %113 to i64
%115 = select i1 %113, i32 10, i32 32
%116 = trunc i32 %115 to i8
%117 = call i32 @putchar(i8 signext %116)
br label %118
118: ; preds = %107
%119 = load i32, i32* %5
%120 = add nsw i32 %119, 1
store i32 %120, i32* %5
br label %78
121: ; preds = %78
br label %128
122: ; preds = %68
%123 = load i32, i32* %8
%124 = trunc i32 %123 to i8
%125 = load i32, i32* %4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [512 x i8], [512 x i8]* %7, i64 0, i64 %126
store i8 %124, i8* %127
br label %128
128: ; preds = %122, %121
br label %129
129: ; preds = %128, %59
br label %130
130: ; preds = %129
%131 = load i32, i32* %4
%132 = add nsw i32 %131, 1
store i32 %132, i32* %4
br label %11
133: ; preds = %11
%134 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
%135 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %4
br label %136
136: ; preds = %159, %133
%137 = load i32, i32* %4
%138 = icmp slt i32 %137, 512
br i1 %138, label %139, label %162
139: ; preds = %136
%140 = load i32, i32* %4
%141 = icmp eq i32 %140, 256
br i1 %141, label %142, label %144
142: ; preds = %139
%143 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.4, i64 0, i64 0))
br label %144
144: ; preds = %142, %139
%145 = load i32, i32* %4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds [512 x i8], [512 x i8]* %7, i64 0, i64 %146
%148 = load i8, i8* %147
%149 = zext i8 %148 to i32
%150 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i32 %149)
%151 = load i32, i32* %4
%152 = add nsw i32 %151, 1
%153 = and i32 %152, 7
%154 = icmp eq i32 %153, 0
%155 = zext i1 %154 to i64
%156 = select i1 %154, i32 10, i32 32
%157 = trunc i32 %156 to i8
%158 = call i32 @putchar(i8 signext %157)
br label %159
159: ; preds = %144
%160 = load i32, i32* %4
%161 = add nsw i32 %160, 1
store i32 %161, i32* %4
br label %136
162: ; preds = %136
%163 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.1 = [8 x i8] c"0x%08X,\00"
@.str.5 = [8 x i8] c"0x%02X,\00"
@str = [233 x i8] c"static const unsigned namingBitmap[] = {\0A0x00000000, 0x00000000, 0x00000000, 0x00000000,\0A0x00000000, 0x00000000, 0x00000000, 0x00000000,\0A0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,\0A0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF,\00"
@str.7 = [45 x i8] c"static const unsigned char nmstrtPages[] = {\00"
@str.8 = [3 x i8] c"};\00"
@str.9 = [46 x i8] c"};\0Astatic const unsigned char namePages[] = {\00"
define void @printTabs(i8* %0) {
%2 = alloca [512 x i8]
%3 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 0
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([233 x i8], [233 x i8]* @str, i64 0, i64 0))
br label %5
5: ; preds = %1, %136
%6 = phi i64 [ 0, %1 ], [ %138, %136 ]
%7 = phi i32 [ 2, %1 ], [ %137, %136 ]
%8 = shl nuw nsw i64 %6, 8
%9 = getelementptr inbounds i8, i8* %0, i64 %8
%10 = load i8, i8* %9
%11 = sext i8 %10 to i32
br label %39
12: ; preds = %39
%13 = add nuw nsw i64 %40, 1
%14 = add nuw nsw i64 %13, %8
%15 = getelementptr inbounds i8, i8* %0, i64 %14
%16 = load i8, i8* %15
%17 = icmp eq i8 %16, %10
br i1 %17, label %18, label %45
18: ; preds = %12
%19 = add nuw nsw i64 %40, 2
%20 = add nuw nsw i64 %19, %8
%21 = getelementptr inbounds i8, i8* %0, i64 %20
%22 = load i8, i8* %21
%23 = icmp eq i8 %22, %10
br i1 %23, label %24, label %45
24: ; preds = %18
%25 = add nuw nsw i64 %40, 3
%26 = add nuw nsw i64 %25, %8
%27 = getelementptr inbounds i8, i8* %0, i64 %26
%28 = load i8, i8* %27
%29 = icmp eq i8 %28, %10
br i1 %29, label %30, label %45
30: ; preds = %24
%31 = add nuw nsw i64 %40, 4
%32 = add nuw nsw i64 %31, %8
%33 = getelementptr inbounds i8, i8* %0, i64 %32
%34 = load i8, i8* %33
%35 = icmp eq i8 %34, %10
br i1 %35, label %36, label %45
36: ; preds = %30
%37 = add nuw nsw i64 %40, 5
%38 = icmp eq i64 %37, 256
br i1 %38, label %45, label %39
39: ; preds = %36, %5
%40 = phi i64 [ 1, %5 ], [ %37, %36 ]
%41 = add nuw nsw i64 %40, %8
%42 = getelementptr inbounds i8, i8* %0, i64 %41
%43 = load i8, i8* %42
%44 = icmp eq i8 %43, %10
br i1 %44, label %12, label %45
45: ; preds = %36, %30, %24, %18, %12, %39
%46 = phi i32 [ -1, %39 ], [ -1, %12 ], [ -1, %18 ], [ -1, %24 ], [ -1, %30 ], [ %11, %36 ]
%47 = icmp ugt i64 %6, 255
br i1 %47, label %48, label %60
48: ; preds = %45
%49 = add nsw i64 %6, -256
%50 = shl i64 %49, 8
%51 = and i64 %50, 4294967040
%52 = getelementptr inbounds i8, i8* %0, i64 %51
%53 = tail call i64 @memcmp(i8* %52, i8* %9, i32 256)
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %60
55: ; preds = %48
%56 = and i64 %49, 4294967295
%57 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %56
%58 = load i8, i8* %57
%59 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %6
store i8 %58, i8* %59
br label %136
60: ; preds = %48, %45
%61 = icmp eq i32 %46, -1
br i1 %61, label %62, label %131
62: ; preds = %60
%63 = trunc i32 %7 to i8
%64 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %6
store i8 %63, i8* %64
br label %65
65: ; preds = %62, %65
%66 = phi i64 [ 0, %62 ], [ %125, %65 ]
%67 = shl nsw i64 %66, 5
%68 = add nuw nsw i64 %67, %8
%69 = getelementptr inbounds i8, i8* %0, i64 %68
%70 = bitcast i8* %69 to <4 x i8>*
%71 = load <4 x i8>, <4 x i8>* %70
%72 = icmp eq <4 x i8> %71, zeroinitializer
%73 = select <4 x i1> %72, <4 x i32> zeroinitializer, <4 x i32> <i32 1, i32 2, i32 4, i32 8>
%74 = or i64 %68, 4
%75 = getelementptr inbounds i8, i8* %0, i64 %74
%76 = bitcast i8* %75 to <4 x i8>*
%77 = load <4 x i8>, <4 x i8>* %76
%78 = icmp eq <4 x i8> %77, zeroinitializer
%79 = select <4 x i1> %78, <4 x i32> zeroinitializer, <4 x i32> <i32 16, i32 32, i32 64, i32 128>
%80 = or <4 x i32> %79, %73
%81 = or i64 %68, 8
%82 = getelementptr inbounds i8, i8* %0, i64 %81
%83 = bitcast i8* %82 to <4 x i8>*
%84 = load <4 x i8>, <4 x i8>* %83
%85 = icmp eq <4 x i8> %84, zeroinitializer
%86 = select <4 x i1> %85, <4 x i32> zeroinitializer, <4 x i32> <i32 256, i32 512, i32 1024, i32 2048>
%87 = or <4 x i32> %86, %80
%88 = or i64 %68, 12
%89 = getelementptr inbounds i8, i8* %0, i64 %88
%90 = bitcast i8* %89 to <4 x i8>*
%91 = load <4 x i8>, <4 x i8>* %90
%92 = icmp eq <4 x i8> %91, zeroinitializer
%93 = select <4 x i1> %92, <4 x i32> zeroinitializer, <4 x i32> <i32 4096, i32 8192, i32 16384, i32 32768>
%94 = or <4 x i32> %93, %87
%95 = or i64 %68, 16
%96 = getelementptr inbounds i8, i8* %0, i64 %95
%97 = bitcast i8* %96 to <4 x i8>*
%98 = load <4 x i8>, <4 x i8>* %97
%99 = icmp eq <4 x i8> %98, zeroinitializer
%100 = select <4 x i1> %99, <4 x i32> zeroinitializer, <4 x i32> <i32 65536, i32 131072, i32 262144, i32 524288>
%101 = or <4 x i32> %100, %94
%102 = or i64 %68, 20
%103 = getelementptr inbounds i8, i8* %0, i64 %102
%104 = bitcast i8* %103 to <4 x i8>*
%105 = load <4 x i8>, <4 x i8>* %104
%106 = icmp eq <4 x i8> %105, zeroinitializer
%107 = select <4 x i1> %106, <4 x i32> zeroinitializer, <4 x i32> <i32 1048576, i32 2097152, i32 4194304, i32 8388608>
%108 = or <4 x i32> %107, %101
%109 = or i64 %68, 24
%110 = getelementptr inbounds i8, i8* %0, i64 %109
%111 = bitcast i8* %110 to <4 x i8>*
%112 = load <4 x i8>, <4 x i8>* %111
%113 = icmp eq <4 x i8> %112, zeroinitializer
%114 = select <4 x i1> %113, <4 x i32> zeroinitializer, <4 x i32> <i32 16777216, i32 33554432, i32 67108864, i32 134217728>
%115 = or <4 x i32> %114, %108
%116 = or i64 %68, 28
%117 = getelementptr inbounds i8, i8* %0, i64 %116
%118 = bitcast i8* %117 to <4 x i8>*
%119 = load <4 x i8>, <4 x i8>* %118
%120 = icmp eq <4 x i8> %119, zeroinitializer
%121 = select <4 x i1> %120, <4 x i32> zeroinitializer, <4 x i32> <i32 268435456, i32 536870912, i32 1073741824, i32 -2147483648>
%122 = or <4 x i32> %121, %115
%123 = call i32 @llvm.vector.reduce.or.v4i32(<4 x i32> %122)
%124 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32 %123)
%125 = add nuw nsw i64 %66, 1
%126 = and i64 %125, 3
%127 = icmp eq i64 %126, 0
%128 = select i1 %127, i8 10, i8 32
%129 = tail call i32 @putchar(i8 signext %128)
%130 = icmp eq i64 %125, 8
br i1 %130, label %134, label %65
131: ; preds = %60
%132 = trunc i32 %46 to i8
%133 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %6
store i8 %132, i8* %133
br label %136
134: ; preds = %65
%135 = add nsw i32 %7, 1
br label %136
136: ; preds = %134, %131, %55
%137 = phi i32 [ %7, %55 ], [ %7, %131 ], [ %135, %134 ]
%138 = add nuw nsw i64 %6, 1
%139 = icmp eq i64 %138, 512
br i1 %139, label %140, label %5
140: ; preds = %136
%141 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.8, i64 0, i64 0))
%142 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.7, i64 0, i64 0))
br label %143
143: ; preds = %140, %148
%144 = phi i64 [ 0, %140 ], [ %153, %148 ]
%145 = icmp eq i64 %144, 256
br i1 %145, label %146, label %148
146: ; preds = %143
%147 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.9, i64 0, i64 0))
br label %148
148: ; preds = %146, %143
%149 = getelementptr inbounds [512 x i8], [512 x i8]* %2, i64 0, i64 %144
%150 = load i8, i8* %149
%151 = zext i8 %150 to i32
%152 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str.5, i64 0, i64 0), i32 %151)
%153 = add nuw nsw i64 %144, 1
%154 = and i64 %153, 7
%155 = icmp eq i64 %154, 0
%156 = select i1 %155, i8 10, i8 32
%157 = tail call i32 @putchar(i8 signext %156)
%158 = icmp eq i64 %153, 512
br i1 %158, label %159, label %143
159: ; preds = %148
%160 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.8, i64 0, i64 0))
ret void
}