#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 */
struct compile_state {
  int dummy;
};

/* Variables and functions */
int /*<<< orphan*/ hash_keyword(struct compile_state *, char *, int);
void register_macro_keywords(struct compile_state *state) {
  hash_keyword(state, "define", 100);
  hash_keyword(state, "defined", 101);
  hash_keyword(state, "undef", 102);
  hash_keyword(state, "include", 103);
  hash_keyword(state, "line", 104);
  hash_keyword(state, "error", 105);
  hash_keyword(state, "warning", 106);
  hash_keyword(state, "pragma", 107);
  hash_keyword(state, "ifdef", 108);
  hash_keyword(state, "ifndef", 109);
  hash_keyword(state, "elif", 110);
  hash_keyword(state, "endif", 111);
}


x86 assembly (clang, -O0):
<register_macro_keywords>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xed9(%rip),%rsi
mov    $0x64,%edx
call   1030 <hash_keyword@plt>
mov    -0x8(%rbp),%rdi
lea    0xecb(%rip),%rsi
mov    $0x65,%edx
call   1030 <hash_keyword@plt>
mov    -0x8(%rbp),%rdi
lea    0xebe(%rip),%rsi
mov    $0x66,%edx
call   1030 <hash_keyword@plt>
mov    -0x8(%rbp),%rdi
lea    0xeaf(%rip),%rsi
mov    $0x67,%edx
call   1030 <hash_keyword@plt>
mov    -0x8(%rbp),%rdi
lea    0xea2(%rip),%rsi
mov    $0x68,%edx
call   1030 <hash_keyword@plt>
mov    -0x8(%rbp),%rdi
lea    0xe92(%rip),%rsi
mov    $0x69,%edx
call   1030 <hash_keyword@plt>
mov    -0x8(%rbp),%rdi
lea    0xe83(%rip),%rsi
mov    $0x6a,%edx
call   1030 <hash_keyword@plt>
mov    -0x8(%rbp),%rdi
lea    0xe76(%rip),%rsi
mov    $0x6b,%edx
call   1030 <hash_keyword@plt>
mov    -0x8(%rbp),%rdi
lea    0xe68(%rip),%rsi
mov    $0x6c,%edx
call   1030 <hash_keyword@plt>
mov    -0x8(%rbp),%rdi
lea    0xe59(%rip),%rsi
mov    $0x6d,%edx
call   1030 <hash_keyword@plt>
mov    -0x8(%rbp),%rdi
lea    0xe4b(%rip),%rsi
mov    $0x6e,%edx
call   1030 <hash_keyword@plt>
mov    -0x8(%rbp),%rdi
lea    0xe3b(%rip),%rsi
mov    $0x6f,%edx
call   1030 <hash_keyword@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<register_macro_keywords>:
push   %rbx
mov    %rdi,%rbx
lea    0xee5(%rip),%rsi
mov    $0x64,%edx
call   1030 <hash_keyword@plt>
lea    0xedb(%rip),%rsi
mov    %rbx,%rdi
mov    $0x65,%edx
call   1030 <hash_keyword@plt>
lea    0xecf(%rip),%rsi
mov    %rbx,%rdi
mov    $0x66,%edx
call   1030 <hash_keyword@plt>
lea    0xec1(%rip),%rsi
mov    %rbx,%rdi
mov    $0x67,%edx
call   1030 <hash_keyword@plt>
lea    0xeb5(%rip),%rsi
mov    %rbx,%rdi
mov    $0x68,%edx
call   1030 <hash_keyword@plt>
lea    0xea6(%rip),%rsi
mov    %rbx,%rdi
mov    $0x69,%edx
call   1030 <hash_keyword@plt>
lea    0xe98(%rip),%rsi
mov    %rbx,%rdi
mov    $0x6a,%edx
call   1030 <hash_keyword@plt>
lea    0xe8c(%rip),%rsi
mov    %rbx,%rdi
mov    $0x6b,%edx
call   1030 <hash_keyword@plt>
lea    0xe7f(%rip),%rsi
mov    %rbx,%rdi
mov    $0x6c,%edx
call   1030 <hash_keyword@plt>
lea    0xe71(%rip),%rsi
mov    %rbx,%rdi
mov    $0x6d,%edx
call   1030 <hash_keyword@plt>
lea    0xe64(%rip),%rsi
mov    %rbx,%rdi
mov    $0x6e,%edx
call   1030 <hash_keyword@plt>
lea    0xe55(%rip),%rsi
mov    %rbx,%rdi
mov    $0x6f,%edx
pop    %rbx
jmp    1030 <hash_keyword@plt>

LLVM IR (-O0):
%struct.compile_state = type { i32 }
@.str = [7 x i8] c"define\00"
@.str.1 = [8 x i8] c"defined\00"
@.str.2 = [6 x i8] c"undef\00"
@.str.3 = [8 x i8] c"include\00"
@.str.4 = [5 x i8] c"line\00"
@.str.5 = [6 x i8] c"error\00"
@.str.6 = [8 x i8] c"warning\00"
@.str.7 = [7 x i8] c"pragma\00"
@.str.8 = [6 x i8] c"ifdef\00"
@.str.9 = [7 x i8] c"ifndef\00"
@.str.10 = [5 x i8] c"elif\00"
@.str.11 = [6 x i8] c"endif\00"
define void @register_macro_keywords(%struct.compile_state* %0) {
%2 = alloca %struct.compile_state*
store %struct.compile_state* %0, %struct.compile_state** %2
%3 = load %struct.compile_state*, %struct.compile_state** %2
%4 = call i32 @hash_keyword(%struct.compile_state* %3, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 100)
%5 = load %struct.compile_state*, %struct.compile_state** %2
%6 = call i32 @hash_keyword(%struct.compile_state* %5, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32 101)
%7 = load %struct.compile_state*, %struct.compile_state** %2
%8 = call i32 @hash_keyword(%struct.compile_state* %7, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 102)
%9 = load %struct.compile_state*, %struct.compile_state** %2
%10 = call i32 @hash_keyword(%struct.compile_state* %9, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i32 103)
%11 = load %struct.compile_state*, %struct.compile_state** %2
%12 = call i32 @hash_keyword(%struct.compile_state* %11, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 104)
%13 = load %struct.compile_state*, %struct.compile_state** %2
%14 = call i32 @hash_keyword(%struct.compile_state* %13, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 105)
%15 = load %struct.compile_state*, %struct.compile_state** %2
%16 = call i32 @hash_keyword(%struct.compile_state* %15, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i32 106)
%17 = load %struct.compile_state*, %struct.compile_state** %2
%18 = call i32 @hash_keyword(%struct.compile_state* %17, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0), i32 107)
%19 = load %struct.compile_state*, %struct.compile_state** %2
%20 = call i32 @hash_keyword(%struct.compile_state* %19, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i32 108)
%21 = load %struct.compile_state*, %struct.compile_state** %2
%22 = call i32 @hash_keyword(%struct.compile_state* %21, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), i32 109)
%23 = load %struct.compile_state*, %struct.compile_state** %2
%24 = call i32 @hash_keyword(%struct.compile_state* %23, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i32 110)
%25 = load %struct.compile_state*, %struct.compile_state** %2
%26 = call i32 @hash_keyword(%struct.compile_state* %25, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i32 111)
ret void
}

LLVM IR (-O2):
%struct.compile_state = type { i32 }
@.str = [7 x i8] c"define\00"
@.str.1 = [8 x i8] c"defined\00"
@.str.2 = [6 x i8] c"undef\00"
@.str.3 = [8 x i8] c"include\00"
@.str.4 = [5 x i8] c"line\00"
@.str.5 = [6 x i8] c"error\00"
@.str.6 = [8 x i8] c"warning\00"
@.str.7 = [7 x i8] c"pragma\00"
@.str.8 = [6 x i8] c"ifdef\00"
@.str.9 = [7 x i8] c"ifndef\00"
@.str.10 = [5 x i8] c"elif\00"
@.str.11 = [6 x i8] c"endif\00"
define void @register_macro_keywords(%struct.compile_state* %0) {
%2 = tail call i32 @hash_keyword(%struct.compile_state* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i32 100)
%3 = tail call i32 @hash_keyword(%struct.compile_state* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i32 101)
%4 = tail call i32 @hash_keyword(%struct.compile_state* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 102)
%5 = tail call i32 @hash_keyword(%struct.compile_state* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0), i32 103)
%6 = tail call i32 @hash_keyword(%struct.compile_state* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 104)
%7 = tail call i32 @hash_keyword(%struct.compile_state* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.5, i64 0, i64 0), i32 105)
%8 = tail call i32 @hash_keyword(%struct.compile_state* %0, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), i32 106)
%9 = tail call i32 @hash_keyword(%struct.compile_state* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0), i32 107)
%10 = tail call i32 @hash_keyword(%struct.compile_state* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.8, i64 0, i64 0), i32 108)
%11 = tail call i32 @hash_keyword(%struct.compile_state* %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.9, i64 0, i64 0), i32 109)
%12 = tail call i32 @hash_keyword(%struct.compile_state* %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0), i32 110)
%13 = tail call i32 @hash_keyword(%struct.compile_state* %0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.11, i64 0, i64 0), i32 111)
ret void
}