#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*/ hash_PutList(int, int /*<<< orphan*/);
int /*<<< orphan*/ list_Nil();
void hash_Init(void) {
  int i;
  for (i = 0; i < 29; i++)
    hash_PutList(i, list_Nil());
}


x86 assembly (clang, -O0):
<hash_Init>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
cmpl   $0x1d,-0x4(%rbp)
jge    115e <hash_Init+0x3e>
mov    -0x4(%rbp),%eax
mov    %eax,-0x8(%rbp)
mov    $0x0,%al
call   1030 <list_Nil@plt>
mov    -0x8(%rbp),%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    112f <hash_Init+0xf>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<hash_Init>:
push   %rax
xor    %eax,%eax
call   1030 <list_Nil@plt>
xor    %edi,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x1,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x2,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x3,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x4,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x5,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x6,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x7,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x8,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x9,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0xa,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0xb,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0xc,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0xd,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0xe,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0xf,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x10,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x11,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x12,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x13,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x14,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x15,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x16,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x17,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x18,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x19,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x1a,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x1b,%edi
mov    %eax,%esi
call   1040 <hash_PutList@plt>
xor    %eax,%eax
call   1030 <list_Nil@plt>
mov    $0x1c,%edi
mov    %eax,%esi
pop    %rax
jmp    1040 <hash_PutList@plt>

LLVM IR (-O0):
define void @hash_Init() {
%1 = alloca i32
store i32 0, i32* %1
br label %2
2: ; preds = %9, %0
%3 = load i32, i32* %1
%4 = icmp slt i32 %3, 29
br i1 %4, label %5, label %12
5: ; preds = %2
%6 = load i32, i32* %1
%7 = call i32 (...) @list_Nil()
%8 = call i32 @hash_PutList(i32 %6, i32 %7)
br label %9
9: ; preds = %5
%10 = load i32, i32* %1
%11 = add nsw i32 %10, 1
store i32 %11, i32* %1
br label %2
12: ; preds = %2
ret void
}

LLVM IR (-O2):
define void @hash_Init() {
%1 = tail call i32 (...) @list_Nil()
%2 = tail call i32 @hash_PutList(i32 0, i32 %1)
%3 = tail call i32 (...) @list_Nil()
%4 = tail call i32 @hash_PutList(i32 1, i32 %3)
%5 = tail call i32 (...) @list_Nil()
%6 = tail call i32 @hash_PutList(i32 2, i32 %5)
%7 = tail call i32 (...) @list_Nil()
%8 = tail call i32 @hash_PutList(i32 3, i32 %7)
%9 = tail call i32 (...) @list_Nil()
%10 = tail call i32 @hash_PutList(i32 4, i32 %9)
%11 = tail call i32 (...) @list_Nil()
%12 = tail call i32 @hash_PutList(i32 5, i32 %11)
%13 = tail call i32 (...) @list_Nil()
%14 = tail call i32 @hash_PutList(i32 6, i32 %13)
%15 = tail call i32 (...) @list_Nil()
%16 = tail call i32 @hash_PutList(i32 7, i32 %15)
%17 = tail call i32 (...) @list_Nil()
%18 = tail call i32 @hash_PutList(i32 8, i32 %17)
%19 = tail call i32 (...) @list_Nil()
%20 = tail call i32 @hash_PutList(i32 9, i32 %19)
%21 = tail call i32 (...) @list_Nil()
%22 = tail call i32 @hash_PutList(i32 10, i32 %21)
%23 = tail call i32 (...) @list_Nil()
%24 = tail call i32 @hash_PutList(i32 11, i32 %23)
%25 = tail call i32 (...) @list_Nil()
%26 = tail call i32 @hash_PutList(i32 12, i32 %25)
%27 = tail call i32 (...) @list_Nil()
%28 = tail call i32 @hash_PutList(i32 13, i32 %27)
%29 = tail call i32 (...) @list_Nil()
%30 = tail call i32 @hash_PutList(i32 14, i32 %29)
%31 = tail call i32 (...) @list_Nil()
%32 = tail call i32 @hash_PutList(i32 15, i32 %31)
%33 = tail call i32 (...) @list_Nil()
%34 = tail call i32 @hash_PutList(i32 16, i32 %33)
%35 = tail call i32 (...) @list_Nil()
%36 = tail call i32 @hash_PutList(i32 17, i32 %35)
%37 = tail call i32 (...) @list_Nil()
%38 = tail call i32 @hash_PutList(i32 18, i32 %37)
%39 = tail call i32 (...) @list_Nil()
%40 = tail call i32 @hash_PutList(i32 19, i32 %39)
%41 = tail call i32 (...) @list_Nil()
%42 = tail call i32 @hash_PutList(i32 20, i32 %41)
%43 = tail call i32 (...) @list_Nil()
%44 = tail call i32 @hash_PutList(i32 21, i32 %43)
%45 = tail call i32 (...) @list_Nil()
%46 = tail call i32 @hash_PutList(i32 22, i32 %45)
%47 = tail call i32 (...) @list_Nil()
%48 = tail call i32 @hash_PutList(i32 23, i32 %47)
%49 = tail call i32 (...) @list_Nil()
%50 = tail call i32 @hash_PutList(i32 24, i32 %49)
%51 = tail call i32 (...) @list_Nil()
%52 = tail call i32 @hash_PutList(i32 25, i32 %51)
%53 = tail call i32 (...) @list_Nil()
%54 = tail call i32 @hash_PutList(i32 26, i32 %53)
%55 = tail call i32 (...) @list_Nil()
%56 = tail call i32 @hash_PutList(i32 27, i32 %55)
%57 = tail call i32 (...) @list_Nil()
%58 = tail call i32 @hash_PutList(i32 28, i32 %57)
ret void
}