#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*/ add_dict(char *, int /*<<< orphan*/, int /*<<< orphan*/);
int /*<<< orphan*/ gen_seq(int /*<<< orphan*/ *, int, int /*<<< orphan*/,
                           int /*<<< orphan*/, int /*<<< orphan*/,
                           int /*<<< orphan*/);
void init_dict(void) {
  add_dict("+", gen_seq(NULL, (((0x80 | ('+'))) | 0x0200), 0, 0, 0, 0), 0);
  add_dict("-", gen_seq(NULL, (((0x80 | ('-'))) | 0x0200), 0, 0, 0, 0), 0);
  add_dict("*", gen_seq(NULL, (((0x80 | ('*'))) | 0x0200), 0, 0, 0, 0), 0);
  add_dict("/", gen_seq(NULL, (((0x80 | ('/'))) | 0x0200), 0, 0, 0, 0), 0);
}


x86 assembly (clang, -O0):
<init_dict>:
push   %rbp
mov    %rsp,%rbp
xor    %eax,%eax
mov    %eax,%edi
mov    $0x2ab,%esi
xor    %r9d,%r9d
mov    %r9d,%edx
mov    %r9d,%ecx
mov    %r9d,%r8d
call   1040 <gen_seq@plt>
mov    %eax,%esi
lea    0xeb9(%rip),%rdi
xor    %edx,%edx
call   1030 <add_dict@plt>
xor    %eax,%eax
mov    %eax,%edi
mov    $0x2ad,%esi
xor    %r9d,%r9d
mov    %r9d,%edx
mov    %r9d,%ecx
mov    %r9d,%r8d
call   1040 <gen_seq@plt>
mov    %eax,%esi
lea    0xe91(%rip),%rdi
xor    %edx,%edx
call   1030 <add_dict@plt>
xor    %eax,%eax
mov    %eax,%edi
mov    $0x2aa,%esi
xor    %r9d,%r9d
mov    %r9d,%edx
mov    %r9d,%ecx
mov    %r9d,%r8d
call   1040 <gen_seq@plt>
mov    %eax,%esi
lea    0xe69(%rip),%rdi
xor    %edx,%edx
call   1030 <add_dict@plt>
xor    %eax,%eax
mov    %eax,%edi
mov    $0x2af,%esi
xor    %r9d,%r9d
mov    %r9d,%edx
mov    %r9d,%ecx
mov    %r9d,%r8d
call   1040 <gen_seq@plt>
mov    %eax,%esi
lea    0xe41(%rip),%rdi
xor    %edx,%edx
call   1030 <add_dict@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<init_dict>:
push   %rax
xor    %edi,%edi
mov    $0x2ab,%esi
xor    %edx,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
xor    %r9d,%r9d
call   1040 <gen_seq@plt>
lea    0xec2(%rip),%rdi
mov    %eax,%esi
xor    %edx,%edx
call   1030 <add_dict@plt>
xor    %edi,%edi
mov    $0x2ad,%esi
xor    %edx,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
xor    %r9d,%r9d
call   1040 <gen_seq@plt>
lea    0xe9e(%rip),%rdi
mov    %eax,%esi
xor    %edx,%edx
call   1030 <add_dict@plt>
xor    %edi,%edi
mov    $0x2aa,%esi
xor    %edx,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
xor    %r9d,%r9d
call   1040 <gen_seq@plt>
lea    0xe7a(%rip),%rdi
mov    %eax,%esi
xor    %edx,%edx
call   1030 <add_dict@plt>
xor    %edi,%edi
mov    $0x2af,%esi
xor    %edx,%edx
xor    %ecx,%ecx
xor    %r8d,%r8d
xor    %r9d,%r9d
call   1040 <gen_seq@plt>
lea    0xe56(%rip),%rdi
mov    %eax,%esi
xor    %edx,%edx
pop    %rax
jmp    1030 <add_dict@plt>

LLVM IR (-O0):
@.str = [2 x i8] c"+\00"
@.str.1 = [2 x i8] c"-\00"
@.str.2 = [2 x i8] c"*\00"
@.str.3 = [2 x i8] c"/\00"
define void @init_dict() {
%1 = call i32 @gen_seq(i32* null, i32 683, i32 0, i32 0, i32 0, i32 0)
%2 = call i32 @add_dict(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i32 %1, i32 0)
%3 = call i32 @gen_seq(i32* null, i32 685, i32 0, i32 0, i32 0, i32 0)
%4 = call i32 @add_dict(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i32 %3, i32 0)
%5 = call i32 @gen_seq(i32* null, i32 682, i32 0, i32 0, i32 0, i32 0)
%6 = call i32 @add_dict(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i32 %5, i32 0)
%7 = call i32 @gen_seq(i32* null, i32 687, i32 0, i32 0, i32 0, i32 0)
%8 = call i32 @add_dict(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 %7, i32 0)
ret void
}

LLVM IR (-O2):
@.str = [2 x i8] c"+\00"
@.str.1 = [2 x i8] c"-\00"
@.str.2 = [2 x i8] c"*\00"
@.str.3 = [2 x i8] c"/\00"
define void @init_dict() {
%1 = tail call i32 @gen_seq(i32* null, i32 683, i32 0, i32 0, i32 0, i32 0)
%2 = tail call i32 @add_dict(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0), i32 %1, i32 0)
%3 = tail call i32 @gen_seq(i32* null, i32 685, i32 0, i32 0, i32 0, i32 0)
%4 = tail call i32 @add_dict(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0), i32 %3, i32 0)
%5 = tail call i32 @gen_seq(i32* null, i32 682, i32 0, i32 0, i32 0, i32 0)
%6 = tail call i32 @add_dict(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0), i32 %5, i32 0)
%7 = tail call i32 @gen_seq(i32* null, i32 687, i32 0, i32 0, i32 0, i32 0)
%8 = tail call i32 @add_dict(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0), i32 %7, i32 0)
ret void
}