#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*/ init_log(int, int /*<<< orphan*/ *);
int /*<<< orphan*/ test_basename();
int /*<<< orphan*/ test_dirname();
int /*<<< orphan*/ test_isabspath();
int /*<<< orphan*/ test_isdir();
int /*<<< orphan*/ test_isfile();
int /*<<< orphan*/ test_mkpath();
int /*<<< orphan*/ test_normalize();
int /*<<< orphan*/ test_path_isparent();
int /*<<< orphan*/ test_real_path();
int main(int argc, char *argv[]) {
  init_log(((1 << 0) | (1 << 1) | (1 << 2) | (1 << 3)), NULL);
  test_isabspath();
  test_isfile();
  test_isdir();
  test_normalize();
  test_mkpath();
  test_basename();
  test_dirname();
  test_path_isparent();
  test_real_path();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    $0xf,%edi
xor    %eax,%eax
mov    %eax,%esi
call   10b0 <init_log@plt>
mov    $0x0,%al
call   10c0 <test_isabspath@plt>
mov    $0x0,%al
call   1030 <test_isfile@plt>
mov    $0x0,%al
call   1060 <test_isdir@plt>
mov    $0x0,%al
call   1040 <test_normalize@plt>
mov    $0x0,%al
call   1050 <test_mkpath@plt>
mov    $0x0,%al
call   1090 <test_basename@plt>
mov    $0x0,%al
call   10a0 <test_dirname@plt>
mov    $0x0,%al
call   1080 <test_path_isparent@plt>
mov    $0x0,%al
call   1070 <test_real_path@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    $0xf,%edi
xor    %esi,%esi
call   10b0 <init_log@plt>
xor    %eax,%eax
call   10c0 <test_isabspath@plt>
xor    %eax,%eax
call   1030 <test_isfile@plt>
xor    %eax,%eax
call   1060 <test_isdir@plt>
xor    %eax,%eax
call   1040 <test_normalize@plt>
xor    %eax,%eax
call   1050 <test_mkpath@plt>
xor    %eax,%eax
call   1090 <test_basename@plt>
xor    %eax,%eax
call   10a0 <test_dirname@plt>
xor    %eax,%eax
call   1080 <test_path_isparent@plt>
xor    %eax,%eax
call   1070 <test_real_path@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%6 = call i32 @init_log(i32 15, i32* null)
%7 = call i32 (...) @test_isabspath()
%8 = call i32 (...) @test_isfile()
%9 = call i32 (...) @test_isdir()
%10 = call i32 (...) @test_normalize()
%11 = call i32 (...) @test_mkpath()
%12 = call i32 (...) @test_basename()
%13 = call i32 (...) @test_dirname()
%14 = call i32 (...) @test_path_isparent()
%15 = call i32 (...) @test_real_path()
ret i32 0
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 @init_log(i32 15, i32* null)
%4 = tail call i32 (...) @test_isabspath()
%5 = tail call i32 (...) @test_isfile()
%6 = tail call i32 (...) @test_isdir()
%7 = tail call i32 (...) @test_normalize()
%8 = tail call i32 (...) @test_mkpath()
%9 = tail call i32 (...) @test_basename()
%10 = tail call i32 (...) @test_dirname()
%11 = tail call i32 (...) @test_path_isparent()
%12 = tail call i32 (...) @test_real_path()
ret i32 0
}