#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*/ MapStr(char *, int);
void InitMap(void) {
  MapStr("\r\n\f", 16 | 8);
  MapStr(" \t", 8);
  MapStr("-.:_", 4);
  MapStr("0123456789", 1 | 4);
  MapStr("abcdefghijklmnopqrstuvwxyz", 32 | 2 | 4);
  MapStr("ABCDEFGHIJKLMNOPQRSTUVWXYZ", 64 | 2 | 4);
}


x86 assembly (clang, -O0):
<InitMap>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x18,%esi
call   1030 <MapStr@plt>
lea    0xed8(%rip),%rdi
mov    $0x8,%esi
call   1030 <MapStr@plt>
lea    0xeca(%rip),%rdi
mov    $0x4,%esi
call   1030 <MapStr@plt>
lea    0xebe(%rip),%rdi
mov    $0x5,%esi
call   1030 <MapStr@plt>
lea    0xeb8(%rip),%rdi
mov    $0x26,%esi
call   1030 <MapStr@plt>
lea    0xec2(%rip),%rdi
mov    $0x46,%esi
call   1030 <MapStr@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<InitMap>:
push   %rax
lea    0xee8(%rip),%rdi
mov    $0x18,%esi
call   1030 <MapStr@plt>
lea    0xedb(%rip),%rdi
mov    $0x8,%esi
call   1030 <MapStr@plt>
lea    0xecd(%rip),%rdi
mov    $0x4,%esi
call   1030 <MapStr@plt>
lea    0xec1(%rip),%rdi
mov    $0x5,%esi
call   1030 <MapStr@plt>
lea    0xebb(%rip),%rdi
mov    $0x26,%esi
call   1030 <MapStr@plt>
lea    0xec5(%rip),%rdi
mov    $0x46,%esi
pop    %rax
jmp    1030 <MapStr@plt>

LLVM IR (-O0):
@.str = [4 x i8] c"\0D\0A\0C\00"
@.str.1 = [3 x i8] c" \09\00"
@.str.2 = [5 x i8] c"-.:_\00"
@.str.3 = [11 x i8] c"0123456789\00"
@.str.4 = [27 x i8] c"abcdefghijklmnopqrstuvwxyz\00"
@.str.5 = [27 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZ\00"
define void @InitMap() {
%1 = call i32 @MapStr(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 24)
%2 = call i32 @MapStr(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 8)
%3 = call i32 @MapStr(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 4)
%4 = call i32 @MapStr(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i32 5)
%5 = call i32 @MapStr(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i32 38)
%6 = call i32 @MapStr(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0), i32 70)
ret void
}

LLVM IR (-O2):
@.str = [4 x i8] c"\0D\0A\0C\00"
@.str.1 = [3 x i8] c" \09\00"
@.str.2 = [5 x i8] c"-.:_\00"
@.str.3 = [11 x i8] c"0123456789\00"
@.str.4 = [27 x i8] c"abcdefghijklmnopqrstuvwxyz\00"
@.str.5 = [27 x i8] c"ABCDEFGHIJKLMNOPQRSTUVWXYZ\00"
define void @InitMap() {
%1 = tail call i32 @MapStr(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 24)
%2 = tail call i32 @MapStr(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32 8)
%3 = tail call i32 @MapStr(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i32 4)
%4 = tail call i32 @MapStr(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.3, i64 0, i64 0), i32 5)
%5 = tail call i32 @MapStr(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.4, i64 0, i64 0), i32 38)
%6 = tail call i32 @MapStr(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.5, i64 0, i64 0), i32 70)
ret void
}