#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 hash(char *);
int /*<<< orphan*/ printf(char *, int);
int main() {
  printf("#define HASH_ACCEPT %i\n", hash("accept") % 1000);
  printf("#define HASH_ACCEPT_CHARSET %i\n", hash("accept-charset") % 1000);
  printf("#define HASH_ACCEPT_ENCODING %i\n", hash("accept-encoding") % 1000);
  printf("#define HASH_ACCEPT_LANGUAGE %i\n", hash("accept-language") % 1000);
  printf("#define HASH_AUTHORIZATION %i\n", hash("authorization") % 1000);
  printf("#define HASH_EXCEPT %i\n", hash("except") % 1000);
  printf("#define HASH_FROM %i\n", hash("from") % 1000);
  printf("#define HASH_HOST %i\n", hash("host") % 1000);
  printf("#define HASH_IF_MATCH %i\n", hash("if-match") % 1000);
  printf("#define HASH_IF_MODIFIED_SINCE %i\n",
         hash("if-modified-since") % 1000);
  printf("#define HASH_IF_NONE_MATCH %i\n", hash("if-none-match") % 1000);
  printf("#define HASH_RANGE %i\n", hash("if-range") % 1000);
  printf("#define HASH_UNMODIFIED_SINCE %i\n",
         hash("if-unmodified-since") % 1000);
  printf("#define HASH_MAX_FORWARDS %i\n", hash("max-forwards") % 1000);
  printf("#define HASH_PROXY_AUTHORIZATION %i\n",
         hash("proxy_authorization") % 1000);
  printf("#define HASH_RANGE %i\n", hash("range") % 1000);
  printf("#define HASH_REFERER %i\n", hash("referer") % 1000);
  printf("#define HASH_TE %i\n", hash("te") % 1000);
  printf("#define HASH_USER_AGENT %i\n", hash("user-agent") % 1000);
  printf("#define HASH_CACHE_CONTROL %i\n", hash("cache-control") % 1000);
  printf("#define HASH_CONNECTION %i\n", hash("connection") % 1000);
  printf("#define HASH_DATE %i\n", hash("date") % 1000);
  printf("#define HASH_PRAGMA %i\n", hash("pragma") % 1000);
  printf("#define HASH_TRAILER %i\n", hash("trailer") % 1000);
  printf("#define HASH_TRANSFER_ENCODING %i\n",
         hash("transfer-encoding") % 1000);
  printf("#define HASH_UPGRADE %i\n", hash("upgrade") % 1000);
  printf("#define HASH_VIA %i\n", hash("via") % 1000);
  printf("#define HASH_WARNING %i\n", hash("warning") % 1000);
  printf("#define HASH_ALLOW %i\n", hash("allow") % 1000);
  printf("#define HASH_CONTENT_ENCODING %i\n", hash("content-encoding") % 1000);
  printf("#define HASH_CONTENT_LANGUAGE %i\n", hash("content-language") % 1000);
  printf("#define HASH_CONTENT_LENGTH %i\n", hash("content-length") % 1000);
  printf("#define HASH_CONTENT_LOCATION %i\n", hash("content-location") % 1000);
  printf("#define HASH_CONTENT_MD5 %i\n", hash("content-md5") % 1000);
  printf("#define HASH_CONTENT_RANGE %i\n", hash("content-range") % 1000);
  printf("#define HASH_CONTENT_TYPE %i\n", hash("content-type") % 1000);
  printf("#define HASH_EXPIRES %i\n", hash("expires") % 1000);
  printf("#define HASH_LAST_MODIFIED %i\n", hash("last-modified") % 1000);
  printf("#define HASH_COOKIE %i\n", hash("cookie") % 1000);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xee2(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xeb4(%rip),%rdi
call   1040 <printf@plt>
lea    0xee7(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xeb1(%rip),%rdi
call   1040 <printf@plt>
lea    0xef5(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xebe(%rip),%rdi
call   1040 <printf@plt>
lea    0xf04(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xecd(%rip),%rdi
call   1040 <printf@plt>
lea    0x1097(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xedc(%rip),%rdi
call   1040 <printf@plt>
lea    0xf07(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xed9(%rip),%rdi
call   1040 <printf@plt>
lea    0xf02(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xed6(%rip),%rdi
call   1040 <printf@plt>
lea    0xefb(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xecf(%rip),%rdi
call   1040 <printf@plt>
lea    0xef8(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xec8(%rip),%rdi
call   1040 <printf@plt>
lea    0xf02(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xec9(%rip),%rdi
call   1040 <printf@plt>
lea    0xf11(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xedc(%rip),%rdi
call   1040 <printf@plt>
lea    0xf14(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xee7(%rip),%rdi
call   1040 <printf@plt>
lea    0xf1d(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xee5(%rip),%rdi
call   1040 <printf@plt>
lea    0xf2d(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xef9(%rip),%rdi
call   1040 <printf@plt>
lea    0xf3d(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xf02(%rip),%rdi
call   1040 <printf@plt>
lea    0xe8f(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xe5f(%rip),%rdi
call   1040 <printf@plt>
lea    0xf26(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xef7(%rip),%rdi
call   1040 <printf@plt>
lea    0xfb3(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xef6(%rip),%rdi
call   1040 <printf@plt>
lea    0xf1a(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xee8(%rip),%rdi
call   1040 <printf@plt>
lea    0xf22(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xeed(%rip),%rdi
call   1040 <printf@plt>
lea    0xf2a(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xef8(%rip),%rdi
call   1040 <printf@plt>
lea    0xf29(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xefd(%rip),%rdi
call   1040 <printf@plt>
lea    0xf24(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xef6(%rip),%rdi
call   1040 <printf@plt>
lea    0xf22(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xef3(%rip),%rdi
call   1040 <printf@plt>
lea    0xf2b(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xef2(%rip),%rdi
call   1040 <printf@plt>
lea    0xf34(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xf05(%rip),%rdi
call   1040 <printf@plt>
lea    0xf2f(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xf04(%rip),%rdi
call   1040 <printf@plt>
lea    0xf2a(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xefb(%rip),%rdi
call   1040 <printf@plt>
lea    0xf27(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xefa(%rip),%rdi
call   1040 <printf@plt>
lea    0xf2d(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xef5(%rip),%rdi
call   1040 <printf@plt>
lea    0xf3e(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xf06(%rip),%rdi
call   1040 <printf@plt>
lea    0xf4d(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xf17(%rip),%rdi
call   1040 <printf@plt>
lea    0xf5c(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xf24(%rip),%rdi
call   1040 <printf@plt>
lea    0xf68(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xf35(%rip),%rdi
call   1040 <printf@plt>
lea    0xf71(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xf3c(%rip),%rdi
call   1040 <printf@plt>
lea    0xf7b(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xf47(%rip),%rdi
call   1040 <printf@plt>
lea    0xf7f(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xf50(%rip),%rdi
call   1040 <printf@plt>
lea    0xf84(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xf4f(%rip),%rdi
call   1040 <printf@plt>
lea    0xf88(%rip),%rdi
call   1030 <hash@plt>
mov    $0x3e8,%ecx
cltd
idiv   %ecx
mov    %edx,%esi
lea    0xf5a(%rip),%rdi
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xef0(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xead(%rip),%rdi
call   1040 <printf@plt>
lea    0xee0(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xe95(%rip),%rdi
call   1040 <printf@plt>
lea    0xed9(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xe8d(%rip),%rdi
call   1040 <printf@plt>
lea    0xed3(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xe87(%rip),%rdi
call   1040 <printf@plt>
lea    0x1051(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xe81(%rip),%rdi
call   1040 <printf@plt>
lea    0xeac(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xe69(%rip),%rdi
call   1040 <printf@plt>
lea    0xe92(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xe51(%rip),%rdi
call   1040 <printf@plt>
lea    0xe76(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xe35(%rip),%rdi
call   1040 <printf@plt>
lea    0xe5e(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xe19(%rip),%rdi
call   1040 <printf@plt>
lea    0xe53(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xe05(%rip),%rdi
call   1040 <printf@plt>
lea    0xe4d(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xe03(%rip),%rdi
call   1040 <printf@plt>
lea    0xe3b(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xdf9(%rip),%rbx
mov    %rbx,%rdi
call   1040 <printf@plt>
lea    0xe2c(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xddf(%rip),%rdi
call   1040 <printf@plt>
lea    0xe27(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xdde(%rip),%rdi
call   1040 <printf@plt>
lea    0xe22(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xdd2(%rip),%rdi
call   1040 <printf@plt>
lea    0xd5f(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
mov    %rbx,%rdi
call   1040 <printf@plt>
lea    0xde5(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xda1(%rip),%rdi
call   1040 <printf@plt>
lea    0xe5d(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xd8b(%rip),%rdi
call   1040 <printf@plt>
lea    0xdaf(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xd68(%rip),%rdi
call   1040 <printf@plt>
lea    0xda2(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xd58(%rip),%rdi
call   1040 <printf@plt>
lea    0xd95(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xd4e(%rip),%rdi
call   1040 <printf@plt>
lea    0xd7f(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xd3e(%rip),%rdi
call   1040 <printf@plt>
lea    0xd65(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xd22(%rip),%rdi
call   1040 <printf@plt>
lea    0xd4e(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xd0a(%rip),%rdi
call   1040 <printf@plt>
lea    0xd42(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xcf4(%rip),%rdi
call   1040 <printf@plt>
lea    0xd36(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xcf2(%rip),%rdi
call   1040 <printf@plt>
lea    0xd1c(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xcdc(%rip),%rdi
call   1040 <printf@plt>
lea    0xd02(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xcbe(%rip),%rdi
call   1040 <printf@plt>
lea    0xcea(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xca8(%rip),%rdi
call   1040 <printf@plt>
lea    0xcdb(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xc8e(%rip),%rdi
call   1040 <printf@plt>
lea    0xcd7(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xc8a(%rip),%rdi
call   1040 <printf@plt>
lea    0xcd1(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xc86(%rip),%rdi
call   1040 <printf@plt>
lea    0xccb(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xc7e(%rip),%rdi
call   1040 <printf@plt>
lea    0xcc2(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xc7a(%rip),%rdi
call   1040 <printf@plt>
lea    0xcb6(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xc6c(%rip),%rdi
call   1040 <printf@plt>
lea    0xcab(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xc62(%rip),%rdi
call   1040 <printf@plt>
lea    0xc9a(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xc56(%rip),%rdi
call   1040 <printf@plt>
lea    0xc8a(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xc40(%rip),%rdi
call   1040 <printf@plt>
lea    0xc79(%rip),%rdi
call   1030 <hash@plt>
movslq %eax,%rsi
imul   $0x10624dd3,%rsi,%rax
mov    %rax,%rcx
shr    $0x3f,%rcx
sar    $0x26,%rax
add    %ecx,%eax
imul   $0x3e8,%eax,%eax
sub    %eax,%esi
lea    0xc36(%rip),%rdi
call   1040 <printf@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [24 x i8] c"#define HASH_ACCEPT %i\0A\00"
@.str.1 = [7 x i8] c"accept\00"
@.str.2 = [32 x i8] c"#define HASH_ACCEPT_CHARSET %i\0A\00"
@.str.3 = [15 x i8] c"accept-charset\00"
@.str.4 = [33 x i8] c"#define HASH_ACCEPT_ENCODING %i\0A\00"
@.str.5 = [16 x i8] c"accept-encoding\00"
@.str.6 = [33 x i8] c"#define HASH_ACCEPT_LANGUAGE %i\0A\00"
@.str.7 = [16 x i8] c"accept-language\00"
@.str.8 = [31 x i8] c"#define HASH_AUTHORIZATION %i\0A\00"
@.str.9 = [14 x i8] c"authorization\00"
@.str.10 = [24 x i8] c"#define HASH_EXCEPT %i\0A\00"
@.str.11 = [7 x i8] c"except\00"
@.str.12 = [22 x i8] c"#define HASH_FROM %i\0A\00"
@.str.13 = [5 x i8] c"from\00"
@.str.14 = [22 x i8] c"#define HASH_HOST %i\0A\00"
@.str.15 = [5 x i8] c"host\00"
@.str.16 = [26 x i8] c"#define HASH_IF_MATCH %i\0A\00"
@.str.17 = [9 x i8] c"if-match\00"
@.str.18 = [35 x i8] c"#define HASH_IF_MODIFIED_SINCE %i\0A\00"
@.str.19 = [18 x i8] c"if-modified-since\00"
@.str.20 = [31 x i8] c"#define HASH_IF_NONE_MATCH %i\0A\00"
@.str.21 = [14 x i8] c"if-none-match\00"
@.str.22 = [23 x i8] c"#define HASH_RANGE %i\0A\00"
@.str.23 = [9 x i8] c"if-range\00"
@.str.24 = [34 x i8] c"#define HASH_UNMODIFIED_SINCE %i\0A\00"
@.str.25 = [20 x i8] c"if-unmodified-since\00"
@.str.26 = [30 x i8] c"#define HASH_MAX_FORWARDS %i\0A\00"
@.str.27 = [13 x i8] c"max-forwards\00"
@.str.28 = [37 x i8] c"#define HASH_PROXY_AUTHORIZATION %i\0A\00"
@.str.29 = [20 x i8] c"proxy_authorization\00"
@.str.30 = [6 x i8] c"range\00"
@.str.31 = [25 x i8] c"#define HASH_REFERER %i\0A\00"
@.str.32 = [8 x i8] c"referer\00"
@.str.33 = [20 x i8] c"#define HASH_TE %i\0A\00"
@.str.34 = [3 x i8] c"te\00"
@.str.35 = [28 x i8] c"#define HASH_USER_AGENT %i\0A\00"
@.str.36 = [11 x i8] c"user-agent\00"
@.str.37 = [31 x i8] c"#define HASH_CACHE_CONTROL %i\0A\00"
@.str.38 = [14 x i8] c"cache-control\00"
@.str.39 = [28 x i8] c"#define HASH_CONNECTION %i\0A\00"
@.str.40 = [11 x i8] c"connection\00"
@.str.41 = [22 x i8] c"#define HASH_DATE %i\0A\00"
@.str.42 = [5 x i8] c"date\00"
@.str.43 = [24 x i8] c"#define HASH_PRAGMA %i\0A\00"
@.str.44 = [7 x i8] c"pragma\00"
@.str.45 = [25 x i8] c"#define HASH_TRAILER %i\0A\00"
@.str.46 = [8 x i8] c"trailer\00"
@.str.47 = [35 x i8] c"#define HASH_TRANSFER_ENCODING %i\0A\00"
@.str.48 = [18 x i8] c"transfer-encoding\00"
@.str.49 = [25 x i8] c"#define HASH_UPGRADE %i\0A\00"
@.str.50 = [8 x i8] c"upgrade\00"
@.str.51 = [21 x i8] c"#define HASH_VIA %i\0A\00"
@.str.52 = [4 x i8] c"via\00"
@.str.53 = [25 x i8] c"#define HASH_WARNING %i\0A\00"
@.str.54 = [8 x i8] c"warning\00"
@.str.55 = [23 x i8] c"#define HASH_ALLOW %i\0A\00"
@.str.56 = [6 x i8] c"allow\00"
@.str.57 = [34 x i8] c"#define HASH_CONTENT_ENCODING %i\0A\00"
@.str.58 = [17 x i8] c"content-encoding\00"
@.str.59 = [34 x i8] c"#define HASH_CONTENT_LANGUAGE %i\0A\00"
@.str.60 = [17 x i8] c"content-language\00"
@.str.61 = [32 x i8] c"#define HASH_CONTENT_LENGTH %i\0A\00"
@.str.62 = [15 x i8] c"content-length\00"
@.str.63 = [34 x i8] c"#define HASH_CONTENT_LOCATION %i\0A\00"
@.str.64 = [17 x i8] c"content-location\00"
@.str.65 = [29 x i8] c"#define HASH_CONTENT_MD5 %i\0A\00"
@.str.66 = [12 x i8] c"content-md5\00"
@.str.67 = [31 x i8] c"#define HASH_CONTENT_RANGE %i\0A\00"
@.str.68 = [14 x i8] c"content-range\00"
@.str.69 = [30 x i8] c"#define HASH_CONTENT_TYPE %i\0A\00"
@.str.70 = [13 x i8] c"content-type\00"
@.str.71 = [25 x i8] c"#define HASH_EXPIRES %i\0A\00"
@.str.72 = [8 x i8] c"expires\00"
@.str.73 = [31 x i8] c"#define HASH_LAST_MODIFIED %i\0A\00"
@.str.74 = [14 x i8] c"last-modified\00"
@.str.75 = [24 x i8] c"#define HASH_COOKIE %i\0A\00"
@.str.76 = [7 x i8] c"cookie\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @hash(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%3 = srem i32 %2, 1000
%4 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i32 %3)
%5 = call i32 @hash(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%6 = srem i32 %5, 1000
%7 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 %6)
%8 = call i32 @hash(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0))
%9 = srem i32 %8, 1000
%10 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0), i32 %9)
%11 = call i32 @hash(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0))
%12 = srem i32 %11, 1000
%13 = call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.6, i64 0, i64 0), i32 %12)
%14 = call i32 @hash(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0))
%15 = srem i32 %14, 1000
%16 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0), i32 %15)
%17 = call i32 @hash(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0))
%18 = srem i32 %17, 1000
%19 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0), i32 %18)
%20 = call i32 @hash(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%21 = srem i32 %20, 1000
%22 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.12, i64 0, i64 0), i32 %21)
%23 = call i32 @hash(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0))
%24 = srem i32 %23, 1000
%25 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.14, i64 0, i64 0), i32 %24)
%26 = call i32 @hash(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.17, i64 0, i64 0))
%27 = srem i32 %26, 1000
%28 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.16, i64 0, i64 0), i32 %27)
%29 = call i32 @hash(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0))
%30 = srem i32 %29, 1000
%31 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.18, i64 0, i64 0), i32 %30)
%32 = call i32 @hash(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.21, i64 0, i64 0))
%33 = srem i32 %32, 1000
%34 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.20, i64 0, i64 0), i32 %33)
%35 = call i32 @hash(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.23, i64 0, i64 0))
%36 = srem i32 %35, 1000
%37 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.22, i64 0, i64 0), i32 %36)
%38 = call i32 @hash(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.25, i64 0, i64 0))
%39 = srem i32 %38, 1000
%40 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.24, i64 0, i64 0), i32 %39)
%41 = call i32 @hash(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.27, i64 0, i64 0))
%42 = srem i32 %41, 1000
%43 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.26, i64 0, i64 0), i32 %42)
%44 = call i32 @hash(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.29, i64 0, i64 0))
%45 = srem i32 %44, 1000
%46 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.28, i64 0, i64 0), i32 %45)
%47 = call i32 @hash(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.30, i64 0, i64 0))
%48 = srem i32 %47, 1000
%49 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.22, i64 0, i64 0), i32 %48)
%50 = call i32 @hash(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.32, i64 0, i64 0))
%51 = srem i32 %50, 1000
%52 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.31, i64 0, i64 0), i32 %51)
%53 = call i32 @hash(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.34, i64 0, i64 0))
%54 = srem i32 %53, 1000
%55 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.33, i64 0, i64 0), i32 %54)
%56 = call i32 @hash(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.36, i64 0, i64 0))
%57 = srem i32 %56, 1000
%58 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.35, i64 0, i64 0), i32 %57)
%59 = call i32 @hash(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.38, i64 0, i64 0))
%60 = srem i32 %59, 1000
%61 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.37, i64 0, i64 0), i32 %60)
%62 = call i32 @hash(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.40, i64 0, i64 0))
%63 = srem i32 %62, 1000
%64 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.39, i64 0, i64 0), i32 %63)
%65 = call i32 @hash(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.42, i64 0, i64 0))
%66 = srem i32 %65, 1000
%67 = call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.41, i64 0, i64 0), i32 %66)
%68 = call i32 @hash(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.44, i64 0, i64 0))
%69 = srem i32 %68, 1000
%70 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.43, i64 0, i64 0), i32 %69)
%71 = call i32 @hash(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.46, i64 0, i64 0))
%72 = srem i32 %71, 1000
%73 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.45, i64 0, i64 0), i32 %72)
%74 = call i32 @hash(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.48, i64 0, i64 0))
%75 = srem i32 %74, 1000
%76 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.47, i64 0, i64 0), i32 %75)
%77 = call i32 @hash(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.50, i64 0, i64 0))
%78 = srem i32 %77, 1000
%79 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.49, i64 0, i64 0), i32 %78)
%80 = call i32 @hash(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.52, i64 0, i64 0))
%81 = srem i32 %80, 1000
%82 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.51, i64 0, i64 0), i32 %81)
%83 = call i32 @hash(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.54, i64 0, i64 0))
%84 = srem i32 %83, 1000
%85 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.53, i64 0, i64 0), i32 %84)
%86 = call i32 @hash(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.56, i64 0, i64 0))
%87 = srem i32 %86, 1000
%88 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.55, i64 0, i64 0), i32 %87)
%89 = call i32 @hash(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.58, i64 0, i64 0))
%90 = srem i32 %89, 1000
%91 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.57, i64 0, i64 0), i32 %90)
%92 = call i32 @hash(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.60, i64 0, i64 0))
%93 = srem i32 %92, 1000
%94 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.59, i64 0, i64 0), i32 %93)
%95 = call i32 @hash(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.62, i64 0, i64 0))
%96 = srem i32 %95, 1000
%97 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.61, i64 0, i64 0), i32 %96)
%98 = call i32 @hash(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.64, i64 0, i64 0))
%99 = srem i32 %98, 1000
%100 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.63, i64 0, i64 0), i32 %99)
%101 = call i32 @hash(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.66, i64 0, i64 0))
%102 = srem i32 %101, 1000
%103 = call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.65, i64 0, i64 0), i32 %102)
%104 = call i32 @hash(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.68, i64 0, i64 0))
%105 = srem i32 %104, 1000
%106 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.67, i64 0, i64 0), i32 %105)
%107 = call i32 @hash(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.70, i64 0, i64 0))
%108 = srem i32 %107, 1000
%109 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.69, i64 0, i64 0), i32 %108)
%110 = call i32 @hash(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.72, i64 0, i64 0))
%111 = srem i32 %110, 1000
%112 = call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.71, i64 0, i64 0), i32 %111)
%113 = call i32 @hash(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.74, i64 0, i64 0))
%114 = srem i32 %113, 1000
%115 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.73, i64 0, i64 0), i32 %114)
%116 = call i32 @hash(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.76, i64 0, i64 0))
%117 = srem i32 %116, 1000
%118 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.75, i64 0, i64 0), i32 %117)
ret i32 0
}

LLVM IR (-O2):
@.str = [24 x i8] c"#define HASH_ACCEPT %i\0A\00"
@.str.1 = [7 x i8] c"accept\00"
@.str.2 = [32 x i8] c"#define HASH_ACCEPT_CHARSET %i\0A\00"
@.str.3 = [15 x i8] c"accept-charset\00"
@.str.4 = [33 x i8] c"#define HASH_ACCEPT_ENCODING %i\0A\00"
@.str.5 = [16 x i8] c"accept-encoding\00"
@.str.6 = [33 x i8] c"#define HASH_ACCEPT_LANGUAGE %i\0A\00"
@.str.7 = [16 x i8] c"accept-language\00"
@.str.8 = [31 x i8] c"#define HASH_AUTHORIZATION %i\0A\00"
@.str.9 = [14 x i8] c"authorization\00"
@.str.10 = [24 x i8] c"#define HASH_EXCEPT %i\0A\00"
@.str.11 = [7 x i8] c"except\00"
@.str.12 = [22 x i8] c"#define HASH_FROM %i\0A\00"
@.str.13 = [5 x i8] c"from\00"
@.str.14 = [22 x i8] c"#define HASH_HOST %i\0A\00"
@.str.15 = [5 x i8] c"host\00"
@.str.16 = [26 x i8] c"#define HASH_IF_MATCH %i\0A\00"
@.str.17 = [9 x i8] c"if-match\00"
@.str.18 = [35 x i8] c"#define HASH_IF_MODIFIED_SINCE %i\0A\00"
@.str.19 = [18 x i8] c"if-modified-since\00"
@.str.20 = [31 x i8] c"#define HASH_IF_NONE_MATCH %i\0A\00"
@.str.21 = [14 x i8] c"if-none-match\00"
@.str.22 = [23 x i8] c"#define HASH_RANGE %i\0A\00"
@.str.23 = [9 x i8] c"if-range\00"
@.str.24 = [34 x i8] c"#define HASH_UNMODIFIED_SINCE %i\0A\00"
@.str.25 = [20 x i8] c"if-unmodified-since\00"
@.str.26 = [30 x i8] c"#define HASH_MAX_FORWARDS %i\0A\00"
@.str.27 = [13 x i8] c"max-forwards\00"
@.str.28 = [37 x i8] c"#define HASH_PROXY_AUTHORIZATION %i\0A\00"
@.str.29 = [20 x i8] c"proxy_authorization\00"
@.str.30 = [6 x i8] c"range\00"
@.str.31 = [25 x i8] c"#define HASH_REFERER %i\0A\00"
@.str.32 = [8 x i8] c"referer\00"
@.str.33 = [20 x i8] c"#define HASH_TE %i\0A\00"
@.str.34 = [3 x i8] c"te\00"
@.str.35 = [28 x i8] c"#define HASH_USER_AGENT %i\0A\00"
@.str.36 = [11 x i8] c"user-agent\00"
@.str.37 = [31 x i8] c"#define HASH_CACHE_CONTROL %i\0A\00"
@.str.38 = [14 x i8] c"cache-control\00"
@.str.39 = [28 x i8] c"#define HASH_CONNECTION %i\0A\00"
@.str.40 = [11 x i8] c"connection\00"
@.str.41 = [22 x i8] c"#define HASH_DATE %i\0A\00"
@.str.42 = [5 x i8] c"date\00"
@.str.43 = [24 x i8] c"#define HASH_PRAGMA %i\0A\00"
@.str.44 = [7 x i8] c"pragma\00"
@.str.45 = [25 x i8] c"#define HASH_TRAILER %i\0A\00"
@.str.46 = [8 x i8] c"trailer\00"
@.str.47 = [35 x i8] c"#define HASH_TRANSFER_ENCODING %i\0A\00"
@.str.48 = [18 x i8] c"transfer-encoding\00"
@.str.49 = [25 x i8] c"#define HASH_UPGRADE %i\0A\00"
@.str.50 = [8 x i8] c"upgrade\00"
@.str.51 = [21 x i8] c"#define HASH_VIA %i\0A\00"
@.str.52 = [4 x i8] c"via\00"
@.str.53 = [25 x i8] c"#define HASH_WARNING %i\0A\00"
@.str.54 = [8 x i8] c"warning\00"
@.str.55 = [23 x i8] c"#define HASH_ALLOW %i\0A\00"
@.str.56 = [6 x i8] c"allow\00"
@.str.57 = [34 x i8] c"#define HASH_CONTENT_ENCODING %i\0A\00"
@.str.58 = [17 x i8] c"content-encoding\00"
@.str.59 = [34 x i8] c"#define HASH_CONTENT_LANGUAGE %i\0A\00"
@.str.60 = [17 x i8] c"content-language\00"
@.str.61 = [32 x i8] c"#define HASH_CONTENT_LENGTH %i\0A\00"
@.str.62 = [15 x i8] c"content-length\00"
@.str.63 = [34 x i8] c"#define HASH_CONTENT_LOCATION %i\0A\00"
@.str.64 = [17 x i8] c"content-location\00"
@.str.65 = [29 x i8] c"#define HASH_CONTENT_MD5 %i\0A\00"
@.str.66 = [12 x i8] c"content-md5\00"
@.str.67 = [31 x i8] c"#define HASH_CONTENT_RANGE %i\0A\00"
@.str.68 = [14 x i8] c"content-range\00"
@.str.69 = [30 x i8] c"#define HASH_CONTENT_TYPE %i\0A\00"
@.str.70 = [13 x i8] c"content-type\00"
@.str.71 = [25 x i8] c"#define HASH_EXPIRES %i\0A\00"
@.str.72 = [8 x i8] c"expires\00"
@.str.73 = [31 x i8] c"#define HASH_LAST_MODIFIED %i\0A\00"
@.str.74 = [14 x i8] c"last-modified\00"
@.str.75 = [24 x i8] c"#define HASH_COOKIE %i\0A\00"
@.str.76 = [7 x i8] c"cookie\00"
define i32 @main() {
%1 = tail call i32 @hash(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%2 = srem i32 %1, 1000
%3 = tail call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0), i32 %2)
%4 = tail call i32 @hash(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.3, i64 0, i64 0))
%5 = srem i32 %4, 1000
%6 = tail call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i32 %5)
%7 = tail call i32 @hash(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.5, i64 0, i64 0))
%8 = srem i32 %7, 1000
%9 = tail call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0), i32 %8)
%10 = tail call i32 @hash(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0))
%11 = srem i32 %10, 1000
%12 = tail call i32 @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.6, i64 0, i64 0), i32 %11)
%13 = tail call i32 @hash(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.9, i64 0, i64 0))
%14 = srem i32 %13, 1000
%15 = tail call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.8, i64 0, i64 0), i32 %14)
%16 = tail call i32 @hash(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0))
%17 = srem i32 %16, 1000
%18 = tail call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0), i32 %17)
%19 = tail call i32 @hash(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.13, i64 0, i64 0))
%20 = srem i32 %19, 1000
%21 = tail call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.12, i64 0, i64 0), i32 %20)
%22 = tail call i32 @hash(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0))
%23 = srem i32 %22, 1000
%24 = tail call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.14, i64 0, i64 0), i32 %23)
%25 = tail call i32 @hash(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.17, i64 0, i64 0))
%26 = srem i32 %25, 1000
%27 = tail call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.16, i64 0, i64 0), i32 %26)
%28 = tail call i32 @hash(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.19, i64 0, i64 0))
%29 = srem i32 %28, 1000
%30 = tail call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.18, i64 0, i64 0), i32 %29)
%31 = tail call i32 @hash(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.21, i64 0, i64 0))
%32 = srem i32 %31, 1000
%33 = tail call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.20, i64 0, i64 0), i32 %32)
%34 = tail call i32 @hash(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.23, i64 0, i64 0))
%35 = srem i32 %34, 1000
%36 = tail call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.22, i64 0, i64 0), i32 %35)
%37 = tail call i32 @hash(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.25, i64 0, i64 0))
%38 = srem i32 %37, 1000
%39 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.24, i64 0, i64 0), i32 %38)
%40 = tail call i32 @hash(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.27, i64 0, i64 0))
%41 = srem i32 %40, 1000
%42 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.26, i64 0, i64 0), i32 %41)
%43 = tail call i32 @hash(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.29, i64 0, i64 0))
%44 = srem i32 %43, 1000
%45 = tail call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.28, i64 0, i64 0), i32 %44)
%46 = tail call i32 @hash(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.30, i64 0, i64 0))
%47 = srem i32 %46, 1000
%48 = tail call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.22, i64 0, i64 0), i32 %47)
%49 = tail call i32 @hash(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.32, i64 0, i64 0))
%50 = srem i32 %49, 1000
%51 = tail call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.31, i64 0, i64 0), i32 %50)
%52 = tail call i32 @hash(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.34, i64 0, i64 0))
%53 = srem i32 %52, 1000
%54 = tail call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.33, i64 0, i64 0), i32 %53)
%55 = tail call i32 @hash(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.36, i64 0, i64 0))
%56 = srem i32 %55, 1000
%57 = tail call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.35, i64 0, i64 0), i32 %56)
%58 = tail call i32 @hash(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.38, i64 0, i64 0))
%59 = srem i32 %58, 1000
%60 = tail call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.37, i64 0, i64 0), i32 %59)
%61 = tail call i32 @hash(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.40, i64 0, i64 0))
%62 = srem i32 %61, 1000
%63 = tail call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.39, i64 0, i64 0), i32 %62)
%64 = tail call i32 @hash(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.42, i64 0, i64 0))
%65 = srem i32 %64, 1000
%66 = tail call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.41, i64 0, i64 0), i32 %65)
%67 = tail call i32 @hash(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.44, i64 0, i64 0))
%68 = srem i32 %67, 1000
%69 = tail call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.43, i64 0, i64 0), i32 %68)
%70 = tail call i32 @hash(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.46, i64 0, i64 0))
%71 = srem i32 %70, 1000
%72 = tail call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.45, i64 0, i64 0), i32 %71)
%73 = tail call i32 @hash(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.48, i64 0, i64 0))
%74 = srem i32 %73, 1000
%75 = tail call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.47, i64 0, i64 0), i32 %74)
%76 = tail call i32 @hash(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.50, i64 0, i64 0))
%77 = srem i32 %76, 1000
%78 = tail call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.49, i64 0, i64 0), i32 %77)
%79 = tail call i32 @hash(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.52, i64 0, i64 0))
%80 = srem i32 %79, 1000
%81 = tail call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.51, i64 0, i64 0), i32 %80)
%82 = tail call i32 @hash(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.54, i64 0, i64 0))
%83 = srem i32 %82, 1000
%84 = tail call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.53, i64 0, i64 0), i32 %83)
%85 = tail call i32 @hash(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.56, i64 0, i64 0))
%86 = srem i32 %85, 1000
%87 = tail call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.55, i64 0, i64 0), i32 %86)
%88 = tail call i32 @hash(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.58, i64 0, i64 0))
%89 = srem i32 %88, 1000
%90 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.57, i64 0, i64 0), i32 %89)
%91 = tail call i32 @hash(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.60, i64 0, i64 0))
%92 = srem i32 %91, 1000
%93 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.59, i64 0, i64 0), i32 %92)
%94 = tail call i32 @hash(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.62, i64 0, i64 0))
%95 = srem i32 %94, 1000
%96 = tail call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.61, i64 0, i64 0), i32 %95)
%97 = tail call i32 @hash(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.64, i64 0, i64 0))
%98 = srem i32 %97, 1000
%99 = tail call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.63, i64 0, i64 0), i32 %98)
%100 = tail call i32 @hash(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.66, i64 0, i64 0))
%101 = srem i32 %100, 1000
%102 = tail call i32 @printf(i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.65, i64 0, i64 0), i32 %101)
%103 = tail call i32 @hash(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.68, i64 0, i64 0))
%104 = srem i32 %103, 1000
%105 = tail call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.67, i64 0, i64 0), i32 %104)
%106 = tail call i32 @hash(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.70, i64 0, i64 0))
%107 = srem i32 %106, 1000
%108 = tail call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.69, i64 0, i64 0), i32 %107)
%109 = tail call i32 @hash(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.72, i64 0, i64 0))
%110 = srem i32 %109, 1000
%111 = tail call i32 @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.71, i64 0, i64 0), i32 %110)
%112 = tail call i32 @hash(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.74, i64 0, i64 0))
%113 = srem i32 %112, 1000
%114 = tail call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.73, i64 0, i64 0), i32 %113)
%115 = tail call i32 @hash(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.76, i64 0, i64 0))
%116 = srem i32 %115, 1000
%117 = tail call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.75, i64 0, i64 0), i32 %116)
ret i32 0
}