#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*/ clearerr_t();
int /*<<< orphan*/ fclose_t();
int /*<<< orphan*/ feof_t();
int /*<<< orphan*/ ferror_t();
int /*<<< orphan*/ fgetc_t();
int /*<<< orphan*/ fgetpos_t();
int /*<<< orphan*/ fgets_t();
int /*<<< orphan*/ fopen_t();
int /*<<< orphan*/ fprintf_t();
int /*<<< orphan*/ fputc_t();
int /*<<< orphan*/ fputs_t();
int /*<<< orphan*/ fread_t();
int /*<<< orphan*/ fscanf_t();
int /*<<< orphan*/ fseek_t();
int /*<<< orphan*/ fsetpos_t();
int /*<<< orphan*/ ftell_t();
int /*<<< orphan*/ fwrite_t();
int /*<<< orphan*/ perror_t();
int /*<<< orphan*/ printf_t();
int /*<<< orphan*/ putc_t();
int /*<<< orphan*/ putchar_t();
int /*<<< orphan*/ puts_t();
int /*<<< orphan*/ remove_t();
int /*<<< orphan*/ rename_t();
int /*<<< orphan*/ rewind_t();
int /*<<< orphan*/ sprintf_t();
int /*<<< orphan*/ sscanf_t();
int /*<<< orphan*/ tmpfile_t();
int /*<<< orphan*/ vfprintf_t();
int /*<<< orphan*/ vprintf_t();
int /*<<< orphan*/ vsprintf_t();
int main() {
  clearerr_t();
  ferror_t();
  fclose_t();
  feof_t();
  fgetpos_t();
  fopen_t();
  fread_t();
  fseek_t();
  fsetpos_t();
  ftell_t();
  fwrite_t();
  remove_t();
  rename_t();
  rewind_t();
  tmpfile_t();
  fprintf_t();
  printf_t();
  sprintf_t();
  vfprintf_t();
  vprintf_t();
  vsprintf_t();
  fscanf_t();
  sscanf_t();
  fgetc_t();
  fgets_t();
  fputc_t();
  fputs_t();
  putc_t();
  putchar_t();
  puts_t();
  perror_t();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    $0x0,%al
call   1070 <clearerr_t@plt>
mov    $0x0,%al
call   11a0 <ferror_t@plt>
mov    $0x0,%al
call   1090 <fclose_t@plt>
mov    $0x0,%al
call   10f0 <feof_t@plt>
mov    $0x0,%al
call   1060 <fgetpos_t@plt>
mov    $0x0,%al
call   1160 <fopen_t@plt>
mov    $0x0,%al
call   1140 <fread_t@plt>
mov    $0x0,%al
call   10b0 <fseek_t@plt>
mov    $0x0,%al
call   1050 <fsetpos_t@plt>
mov    $0x0,%al
call   1190 <ftell_t@plt>
mov    $0x0,%al
call   1120 <fwrite_t@plt>
mov    $0x0,%al
call   1110 <remove_t@plt>
mov    $0x0,%al
call   11e0 <rename_t@plt>
mov    $0x0,%al
call   1210 <rewind_t@plt>
mov    $0x0,%al
call   10a0 <tmpfile_t@plt>
mov    $0x0,%al
call   1100 <fprintf_t@plt>
mov    $0x0,%al
call   11b0 <printf_t@plt>
mov    $0x0,%al
call   1150 <sprintf_t@plt>
mov    $0x0,%al
call   1180 <vfprintf_t@plt>
mov    $0x0,%al
call   11c0 <vprintf_t@plt>
mov    $0x0,%al
call   1200 <vsprintf_t@plt>
mov    $0x0,%al
call   10c0 <fscanf_t@plt>
mov    $0x0,%al
call   10e0 <sscanf_t@plt>
mov    $0x0,%al
call   11f0 <fgetc_t@plt>
mov    $0x0,%al
call   1030 <fgets_t@plt>
mov    $0x0,%al
call   1080 <fputc_t@plt>
mov    $0x0,%al
call   1040 <fputs_t@plt>
mov    $0x0,%al
call   1130 <putc_t@plt>
mov    $0x0,%al
call   10d0 <putchar_t@plt>
mov    $0x0,%al
call   11d0 <puts_t@plt>
mov    $0x0,%al
call   1170 <perror_t@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1070 <clearerr_t@plt>
xor    %eax,%eax
call   11a0 <ferror_t@plt>
xor    %eax,%eax
call   1090 <fclose_t@plt>
xor    %eax,%eax
call   10f0 <feof_t@plt>
xor    %eax,%eax
call   1060 <fgetpos_t@plt>
xor    %eax,%eax
call   1160 <fopen_t@plt>
xor    %eax,%eax
call   1140 <fread_t@plt>
xor    %eax,%eax
call   10b0 <fseek_t@plt>
xor    %eax,%eax
call   1050 <fsetpos_t@plt>
xor    %eax,%eax
call   1190 <ftell_t@plt>
xor    %eax,%eax
call   1120 <fwrite_t@plt>
xor    %eax,%eax
call   1110 <remove_t@plt>
xor    %eax,%eax
call   11e0 <rename_t@plt>
xor    %eax,%eax
call   1210 <rewind_t@plt>
xor    %eax,%eax
call   10a0 <tmpfile_t@plt>
xor    %eax,%eax
call   1100 <fprintf_t@plt>
xor    %eax,%eax
call   11b0 <printf_t@plt>
xor    %eax,%eax
call   1150 <sprintf_t@plt>
xor    %eax,%eax
call   1180 <vfprintf_t@plt>
xor    %eax,%eax
call   11c0 <vprintf_t@plt>
xor    %eax,%eax
call   1200 <vsprintf_t@plt>
xor    %eax,%eax
call   10c0 <fscanf_t@plt>
xor    %eax,%eax
call   10e0 <sscanf_t@plt>
xor    %eax,%eax
call   11f0 <fgetc_t@plt>
xor    %eax,%eax
call   1030 <fgets_t@plt>
xor    %eax,%eax
call   1080 <fputc_t@plt>
xor    %eax,%eax
call   1040 <fputs_t@plt>
xor    %eax,%eax
call   1130 <putc_t@plt>
xor    %eax,%eax
call   10d0 <putchar_t@plt>
xor    %eax,%eax
call   11d0 <puts_t@plt>
xor    %eax,%eax
call   1170 <perror_t@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 (...) @clearerr_t()
%3 = call i32 (...) @ferror_t()
%4 = call i32 (...) @fclose_t()
%5 = call i32 (...) @feof_t()
%6 = call i32 (...) @fgetpos_t()
%7 = call i32 (...) @fopen_t()
%8 = call i32 (...) @fread_t()
%9 = call i32 (...) @fseek_t()
%10 = call i32 (...) @fsetpos_t()
%11 = call i32 (...) @ftell_t()
%12 = call i32 (...) @fwrite_t()
%13 = call i32 (...) @remove_t()
%14 = call i32 (...) @rename_t()
%15 = call i32 (...) @rewind_t()
%16 = call i32 (...) @tmpfile_t()
%17 = call i32 (...) @fprintf_t()
%18 = call i32 (...) @printf_t()
%19 = call i32 (...) @sprintf_t()
%20 = call i32 (...) @vfprintf_t()
%21 = call i32 (...) @vprintf_t()
%22 = call i32 (...) @vsprintf_t()
%23 = call i32 (...) @fscanf_t()
%24 = call i32 (...) @sscanf_t()
%25 = call i32 (...) @fgetc_t()
%26 = call i32 (...) @fgets_t()
%27 = call i32 (...) @fputc_t()
%28 = call i32 (...) @fputs_t()
%29 = call i32 (...) @putc_t()
%30 = call i32 (...) @putchar_t()
%31 = call i32 (...) @puts_t()
%32 = call i32 (...) @perror_t()
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 (...) @clearerr_t()
%2 = tail call i32 (...) @ferror_t()
%3 = tail call i32 (...) @fclose_t()
%4 = tail call i32 (...) @feof_t()
%5 = tail call i32 (...) @fgetpos_t()
%6 = tail call i32 (...) @fopen_t()
%7 = tail call i32 (...) @fread_t()
%8 = tail call i32 (...) @fseek_t()
%9 = tail call i32 (...) @fsetpos_t()
%10 = tail call i32 (...) @ftell_t()
%11 = tail call i32 (...) @fwrite_t()
%12 = tail call i32 (...) @remove_t()
%13 = tail call i32 (...) @rename_t()
%14 = tail call i32 (...) @rewind_t()
%15 = tail call i32 (...) @tmpfile_t()
%16 = tail call i32 (...) @fprintf_t()
%17 = tail call i32 (...) @printf_t()
%18 = tail call i32 (...) @sprintf_t()
%19 = tail call i32 (...) @vfprintf_t()
%20 = tail call i32 (...) @vprintf_t()
%21 = tail call i32 (...) @vsprintf_t()
%22 = tail call i32 (...) @fscanf_t()
%23 = tail call i32 (...) @sscanf_t()
%24 = tail call i32 (...) @fgetc_t()
%25 = tail call i32 (...) @fgets_t()
%26 = tail call i32 (...) @fputc_t()
%27 = tail call i32 (...) @fputs_t()
%28 = tail call i32 (...) @putc_t()
%29 = tail call i32 (...) @putchar_t()
%30 = tail call i32 (...) @puts_t()
%31 = tail call i32 (...) @perror_t()
ret i32 0
}