#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*/ grub_affs_fini();
int /*<<< orphan*/ grub_afs_be_fini();
int /*<<< orphan*/ grub_afs_fini();
int /*<<< orphan*/ grub_befs_be_fini();
int /*<<< orphan*/ grub_befs_fini();
int /*<<< orphan*/ grub_cpio_fini();
int /*<<< orphan*/ grub_ext2_fini();
int /*<<< orphan*/ grub_fat_fini();
int /*<<< orphan*/ grub_gpt_partition_map_fini();
int /*<<< orphan*/ grub_hfs_fini();
int /*<<< orphan*/ grub_hfsplus_fini();
int /*<<< orphan*/ grub_iso9660_fini();
int /*<<< orphan*/ grub_jfs_fini();
int /*<<< orphan*/ grub_lvm_fini();
int /*<<< orphan*/ grub_mdraid_fini();
int /*<<< orphan*/ grub_minix_fini();
int /*<<< orphan*/ grub_ntfs_fini();
int /*<<< orphan*/ grub_ntfscomp_fini();
int /*<<< orphan*/ grub_pc_partition_map_fini();
int /*<<< orphan*/ grub_raid_fini();
int /*<<< orphan*/ grub_reiserfs_fini();
int /*<<< orphan*/ grub_sfs_fini();
int /*<<< orphan*/ grub_tar_fini();
int /*<<< orphan*/ grub_udf_fini();
int /*<<< orphan*/ grub_ufs1_fini();
int /*<<< orphan*/ grub_ufs2_fini();
int /*<<< orphan*/ grub_xfs_fini();
void grub_fini_all(void) {
  grub_affs_fini();
  grub_tar_fini();
  grub_cpio_fini();
  grub_ext2_fini();
  grub_fat_fini();
  grub_hfs_fini();
  grub_hfsplus_fini();
  grub_iso9660_fini();
  grub_udf_fini();
  grub_jfs_fini();
  grub_minix_fini();
  grub_ntfs_fini();
  grub_ntfscomp_fini();
  grub_reiserfs_fini();
  grub_sfs_fini();
  grub_ufs2_fini();
  grub_ufs1_fini();
  grub_xfs_fini();
  grub_befs_be_fini();
  grub_befs_fini();
  grub_afs_be_fini();
  grub_afs_fini();
  grub_pc_partition_map_fini();
  grub_gpt_partition_map_fini();
  grub_raid_fini();
  grub_mdraid_fini();
  grub_lvm_fini();
}


x86 assembly (clang, -O0):
<grub_fini_all>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   11c0 <grub_affs_fini@plt>
mov    $0x0,%al
call   1140 <grub_tar_fini@plt>
mov    $0x0,%al
call   1130 <grub_cpio_fini@plt>
mov    $0x0,%al
call   1190 <grub_ext2_fini@plt>
mov    $0x0,%al
call   1170 <grub_fat_fini@plt>
mov    $0x0,%al
call   11b0 <grub_hfs_fini@plt>
mov    $0x0,%al
call   10f0 <grub_hfsplus_fini@plt>
mov    $0x0,%al
call   1050 <grub_iso9660_fini@plt>
mov    $0x0,%al
call   1080 <grub_udf_fini@plt>
mov    $0x0,%al
call   10c0 <grub_jfs_fini@plt>
mov    $0x0,%al
call   1180 <grub_minix_fini@plt>
mov    $0x0,%al
call   1120 <grub_ntfs_fini@plt>
mov    $0x0,%al
call   1090 <grub_ntfscomp_fini@plt>
mov    $0x0,%al
call   1060 <grub_reiserfs_fini@plt>
mov    $0x0,%al
call   11a0 <grub_sfs_fini@plt>
mov    $0x0,%al
call   1070 <grub_ufs2_fini@plt>
mov    $0x0,%al
call   10d0 <grub_ufs1_fini@plt>
mov    $0x0,%al
call   1160 <grub_xfs_fini@plt>
mov    $0x0,%al
call   1040 <grub_befs_be_fini@plt>
mov    $0x0,%al
call   1110 <grub_befs_fini@plt>
mov    $0x0,%al
call   1150 <grub_afs_be_fini@plt>
mov    $0x0,%al
call   10b0 <grub_afs_fini@plt>
mov    $0x0,%al
call   1100 <grub_pc_partition_map_fini@plt>
mov    $0x0,%al
call   1030 <grub_gpt_partition_map_fini@plt>
mov    $0x0,%al
call   10e0 <grub_raid_fini@plt>
mov    $0x0,%al
call   10a0 <grub_mdraid_fini@plt>
mov    $0x0,%al
call   11d0 <grub_lvm_fini@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<grub_fini_all>:
push   %rax
xor    %eax,%eax
call   11c0 <grub_affs_fini@plt>
xor    %eax,%eax
call   1140 <grub_tar_fini@plt>
xor    %eax,%eax
call   1130 <grub_cpio_fini@plt>
xor    %eax,%eax
call   1190 <grub_ext2_fini@plt>
xor    %eax,%eax
call   1170 <grub_fat_fini@plt>
xor    %eax,%eax
call   11b0 <grub_hfs_fini@plt>
xor    %eax,%eax
call   10f0 <grub_hfsplus_fini@plt>
xor    %eax,%eax
call   1050 <grub_iso9660_fini@plt>
xor    %eax,%eax
call   1080 <grub_udf_fini@plt>
xor    %eax,%eax
call   10c0 <grub_jfs_fini@plt>
xor    %eax,%eax
call   1180 <grub_minix_fini@plt>
xor    %eax,%eax
call   1120 <grub_ntfs_fini@plt>
xor    %eax,%eax
call   1090 <grub_ntfscomp_fini@plt>
xor    %eax,%eax
call   1060 <grub_reiserfs_fini@plt>
xor    %eax,%eax
call   11a0 <grub_sfs_fini@plt>
xor    %eax,%eax
call   1070 <grub_ufs2_fini@plt>
xor    %eax,%eax
call   10d0 <grub_ufs1_fini@plt>
xor    %eax,%eax
call   1160 <grub_xfs_fini@plt>
xor    %eax,%eax
call   1040 <grub_befs_be_fini@plt>
xor    %eax,%eax
call   1110 <grub_befs_fini@plt>
xor    %eax,%eax
call   1150 <grub_afs_be_fini@plt>
xor    %eax,%eax
call   10b0 <grub_afs_fini@plt>
xor    %eax,%eax
call   1100 <grub_pc_partition_map_fini@plt>
xor    %eax,%eax
call   1030 <grub_gpt_partition_map_fini@plt>
xor    %eax,%eax
call   10e0 <grub_raid_fini@plt>
xor    %eax,%eax
call   10a0 <grub_mdraid_fini@plt>
xor    %eax,%eax
pop    %rcx
jmp    11d0 <grub_lvm_fini@plt>

LLVM IR (-O0):
define void @grub_fini_all() {
%1 = call i32 (...) @grub_affs_fini()
%2 = call i32 (...) @grub_tar_fini()
%3 = call i32 (...) @grub_cpio_fini()
%4 = call i32 (...) @grub_ext2_fini()
%5 = call i32 (...) @grub_fat_fini()
%6 = call i32 (...) @grub_hfs_fini()
%7 = call i32 (...) @grub_hfsplus_fini()
%8 = call i32 (...) @grub_iso9660_fini()
%9 = call i32 (...) @grub_udf_fini()
%10 = call i32 (...) @grub_jfs_fini()
%11 = call i32 (...) @grub_minix_fini()
%12 = call i32 (...) @grub_ntfs_fini()
%13 = call i32 (...) @grub_ntfscomp_fini()
%14 = call i32 (...) @grub_reiserfs_fini()
%15 = call i32 (...) @grub_sfs_fini()
%16 = call i32 (...) @grub_ufs2_fini()
%17 = call i32 (...) @grub_ufs1_fini()
%18 = call i32 (...) @grub_xfs_fini()
%19 = call i32 (...) @grub_befs_be_fini()
%20 = call i32 (...) @grub_befs_fini()
%21 = call i32 (...) @grub_afs_be_fini()
%22 = call i32 (...) @grub_afs_fini()
%23 = call i32 (...) @grub_pc_partition_map_fini()
%24 = call i32 (...) @grub_gpt_partition_map_fini()
%25 = call i32 (...) @grub_raid_fini()
%26 = call i32 (...) @grub_mdraid_fini()
%27 = call i32 (...) @grub_lvm_fini()
ret void
}

LLVM IR (-O2):
define void @grub_fini_all() {
%1 = tail call i32 (...) @grub_affs_fini()
%2 = tail call i32 (...) @grub_tar_fini()
%3 = tail call i32 (...) @grub_cpio_fini()
%4 = tail call i32 (...) @grub_ext2_fini()
%5 = tail call i32 (...) @grub_fat_fini()
%6 = tail call i32 (...) @grub_hfs_fini()
%7 = tail call i32 (...) @grub_hfsplus_fini()
%8 = tail call i32 (...) @grub_iso9660_fini()
%9 = tail call i32 (...) @grub_udf_fini()
%10 = tail call i32 (...) @grub_jfs_fini()
%11 = tail call i32 (...) @grub_minix_fini()
%12 = tail call i32 (...) @grub_ntfs_fini()
%13 = tail call i32 (...) @grub_ntfscomp_fini()
%14 = tail call i32 (...) @grub_reiserfs_fini()
%15 = tail call i32 (...) @grub_sfs_fini()
%16 = tail call i32 (...) @grub_ufs2_fini()
%17 = tail call i32 (...) @grub_ufs1_fini()
%18 = tail call i32 (...) @grub_xfs_fini()
%19 = tail call i32 (...) @grub_befs_be_fini()
%20 = tail call i32 (...) @grub_befs_fini()
%21 = tail call i32 (...) @grub_afs_be_fini()
%22 = tail call i32 (...) @grub_afs_fini()
%23 = tail call i32 (...) @grub_pc_partition_map_fini()
%24 = tail call i32 (...) @grub_gpt_partition_map_fini()
%25 = tail call i32 (...) @grub_raid_fini()
%26 = tail call i32 (...) @grub_mdraid_fini()
%27 = tail call i32 (...) @grub_lvm_fini()
ret void
}