#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_type(char *, int, int);
void preload_types(void) {
  add_type("FAT16_lba", 0xE, -1);
  add_type("FAT32_lba", 0xC, -1);
  add_type("FAT32", 0xB, -1);
  add_type("NTFS", 7, -1);
  add_type("DOS16_big", 6, -1);
  add_type("DOS16_small", 4, -1);
  add_type("DOS12", 1, -1);
}


x86 assembly (clang, -O0):
<preload_types>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0xe,%esi
mov    $0xffffffff,%edx
call   1030 <add_type@plt>
lea    0xed9(%rip),%rdi
mov    $0xc,%esi
mov    $0xffffffff,%edx
call   1030 <add_type@plt>
lea    0xecd(%rip),%rdi
mov    $0xb,%esi
mov    $0xffffffff,%edx
call   1030 <add_type@plt>
lea    0xebd(%rip),%rdi
mov    $0x7,%esi
mov    $0xffffffff,%edx
call   1030 <add_type@plt>
lea    0xeac(%rip),%rdi
mov    $0x6,%esi
mov    $0xffffffff,%edx
call   1030 <add_type@plt>
lea    0xea0(%rip),%rdi
mov    $0x4,%esi
mov    $0xffffffff,%edx
call   1030 <add_type@plt>
lea    0xe96(%rip),%rdi
mov    $0x1,%esi
mov    $0xffffffff,%edx
call   1030 <add_type@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<preload_types>:
push   %rax
lea    0xee8(%rip),%rdi
mov    $0xe,%esi
mov    $0xffffffff,%edx
call   1030 <add_type@plt>
lea    0xedc(%rip),%rdi
mov    $0xc,%esi
mov    $0xffffffff,%edx
call   1030 <add_type@plt>
lea    0xed0(%rip),%rdi
mov    $0xb,%esi
mov    $0xffffffff,%edx
call   1030 <add_type@plt>
lea    0xec0(%rip),%rdi
mov    $0x7,%esi
mov    $0xffffffff,%edx
call   1030 <add_type@plt>
lea    0xeaf(%rip),%rdi
mov    $0x6,%esi
mov    $0xffffffff,%edx
call   1030 <add_type@plt>
lea    0xea3(%rip),%rdi
mov    $0x4,%esi
mov    $0xffffffff,%edx
call   1030 <add_type@plt>
lea    0xe99(%rip),%rdi
mov    $0x1,%esi
mov    $0xffffffff,%edx
pop    %rax
jmp    1030 <add_type@plt>

LLVM IR (-O0):
@.str = [10 x i8] c"FAT16_lba\00"
@.str.1 = [10 x i8] c"FAT32_lba\00"
@.str.2 = [6 x i8] c"FAT32\00"
@.str.3 = [5 x i8] c"NTFS\00"
@.str.4 = [10 x i8] c"DOS16_big\00"
@.str.5 = [12 x i8] c"DOS16_small\00"
@.str.6 = [6 x i8] c"DOS12\00"
define void @preload_types() {
%1 = call i32 @add_type(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i32 14, i32 -1)
%2 = call i32 @add_type(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 12, i32 -1)
%3 = call i32 @add_type(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 11, i32 -1)
%4 = call i32 @add_type(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i32 7, i32 -1)
%5 = call i32 @add_type(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 6, i32 -1)
%6 = call i32 @add_type(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i32 4, i32 -1)
%7 = call i32 @add_type(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i32 1, i32 -1)
ret void
}

LLVM IR (-O2):
@.str = [10 x i8] c"FAT16_lba\00"
@.str.1 = [10 x i8] c"FAT32_lba\00"
@.str.2 = [6 x i8] c"FAT32\00"
@.str.3 = [5 x i8] c"NTFS\00"
@.str.4 = [10 x i8] c"DOS16_big\00"
@.str.5 = [12 x i8] c"DOS16_small\00"
@.str.6 = [6 x i8] c"DOS12\00"
define void @preload_types() {
%1 = tail call i32 @add_type(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str, i64 0, i64 0), i32 14, i32 -1)
%2 = tail call i32 @add_type(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0), i32 12, i32 -1)
%3 = tail call i32 @add_type(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0), i32 11, i32 -1)
%4 = tail call i32 @add_type(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0), i32 7, i32 -1)
%5 = tail call i32 @add_type(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0), i32 6, i32 -1)
%6 = tail call i32 @add_type(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.5, i64 0, i64 0), i32 4, i32 -1)
%7 = tail call i32 @add_type(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.6, i64 0, i64 0), i32 1, i32 -1)
ret void
}