#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*/ ObjClose();
int /*<<< orphan*/ ObjOpen();
int /*<<< orphan*/ WriteAssertions();
int /*<<< orphan*/ WriteDbgSyms();
int /*<<< orphan*/ WriteExports();
int /*<<< orphan*/ WriteFiles();
int /*<<< orphan*/ WriteImports();
int /*<<< orphan*/ WriteLineInfos();
int /*<<< orphan*/ WriteOptions();
int /*<<< orphan*/ WriteScopes();
int /*<<< orphan*/ WriteSegments();
int /*<<< orphan*/ WriteSpans();
int /*<<< orphan*/ WriteStrPool();
void CreateObjFile(void) {
  ObjOpen();
  WriteOptions();
  WriteFiles();
  WriteSegments();
  WriteImports();
  WriteExports();
  WriteDbgSyms();
  WriteScopes();
  WriteLineInfos();
  WriteStrPool();
  WriteAssertions();
  WriteSpans();
  ObjClose();
}


x86 assembly (clang, -O0):
<CreateObjFile>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   10e0 <ObjOpen@plt>
mov    $0x0,%al
call   10d0 <WriteOptions@plt>
mov    $0x0,%al
call   1090 <WriteFiles@plt>
mov    $0x0,%al
call   1050 <WriteSegments@plt>
mov    $0x0,%al
call   10b0 <WriteImports@plt>
mov    $0x0,%al
call   10a0 <WriteExports@plt>
mov    $0x0,%al
call   10f0 <WriteDbgSyms@plt>
mov    $0x0,%al
call   1080 <WriteScopes@plt>
mov    $0x0,%al
call   1030 <WriteLineInfos@plt>
mov    $0x0,%al
call   1070 <WriteStrPool@plt>
mov    $0x0,%al
call   1040 <WriteAssertions@plt>
mov    $0x0,%al
call   10c0 <WriteSpans@plt>
mov    $0x0,%al
call   1060 <ObjClose@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<CreateObjFile>:
push   %rax
xor    %eax,%eax
call   10e0 <ObjOpen@plt>
xor    %eax,%eax
call   10d0 <WriteOptions@plt>
xor    %eax,%eax
call   1090 <WriteFiles@plt>
xor    %eax,%eax
call   1050 <WriteSegments@plt>
xor    %eax,%eax
call   10b0 <WriteImports@plt>
xor    %eax,%eax
call   10a0 <WriteExports@plt>
xor    %eax,%eax
call   10f0 <WriteDbgSyms@plt>
xor    %eax,%eax
call   1080 <WriteScopes@plt>
xor    %eax,%eax
call   1030 <WriteLineInfos@plt>
xor    %eax,%eax
call   1070 <WriteStrPool@plt>
xor    %eax,%eax
call   1040 <WriteAssertions@plt>
xor    %eax,%eax
call   10c0 <WriteSpans@plt>
xor    %eax,%eax
pop    %rcx
jmp    1060 <ObjClose@plt>

LLVM IR (-O0):
define void @CreateObjFile() {
%1 = call i32 (...) @ObjOpen()
%2 = call i32 (...) @WriteOptions()
%3 = call i32 (...) @WriteFiles()
%4 = call i32 (...) @WriteSegments()
%5 = call i32 (...) @WriteImports()
%6 = call i32 (...) @WriteExports()
%7 = call i32 (...) @WriteDbgSyms()
%8 = call i32 (...) @WriteScopes()
%9 = call i32 (...) @WriteLineInfos()
%10 = call i32 (...) @WriteStrPool()
%11 = call i32 (...) @WriteAssertions()
%12 = call i32 (...) @WriteSpans()
%13 = call i32 (...) @ObjClose()
ret void
}

LLVM IR (-O2):
define void @CreateObjFile() {
%1 = tail call i32 (...) @ObjOpen()
%2 = tail call i32 (...) @WriteOptions()
%3 = tail call i32 (...) @WriteFiles()
%4 = tail call i32 (...) @WriteSegments()
%5 = tail call i32 (...) @WriteImports()
%6 = tail call i32 (...) @WriteExports()
%7 = tail call i32 (...) @WriteDbgSyms()
%8 = tail call i32 (...) @WriteScopes()
%9 = tail call i32 (...) @WriteLineInfos()
%10 = tail call i32 (...) @WriteStrPool()
%11 = tail call i32 (...) @WriteAssertions()
%12 = tail call i32 (...) @WriteSpans()
%13 = tail call i32 (...) @ObjClose()
ret void
}