#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*/
_ensure_allocator_counted_alloc_doesnt_update_count_when_allocation_failed();
int /*<<< orphan*/
_ensure_allocator_counted_alloc_maintains_correct_peak_count();
int /*<<< orphan*/
_ensure_allocator_counted_alloc_returns_null_for_empty_allocation();
int /*<<< orphan*/
_ensure_allocator_counted_alloc_returns_null_when_parent_allocator_fails();
int /*<<< orphan*/
_ensure_allocator_counted_alloc_returns_null_when_parent_allocator_null();
int /*<<< orphan*/
_ensure_allocator_counted_alloc_updates_count_when_allocation_succeeds();
int /*<<< orphan*/ _ensure_allocator_counted_free_copes_with_null_address();
int /*<<< orphan*/
_ensure_allocator_counted_free_copes_with_null_parent_allocator();
int /*<<< orphan*/ _ensure_allocator_counted_get_returns_internal_allocator();
int /*<<< orphan*/ _ensure_allocator_counted_init_copes_with_null_allocator();
int /*<<< orphan*/
_ensure_allocator_counted_init_copes_with_null_parent_allocator();
int /*<<< orphan*/
_ensure_allocator_counted_init_default_copes_with_null_allocator();
int /*<<< orphan*/
_ensure_allocator_counted_init_default_sets_allocation_functions();
int /*<<< orphan*/
_ensure_allocator_counted_init_default_sets_correct_parent_allocator();
int /*<<< orphan*/ _ensure_allocator_counted_init_sets_allocation_functions();
int /*<<< orphan*/
_ensure_allocator_counted_init_sets_correct_parent_allocator();
int main(int argc, char *argv[]) {
  (void)(argc);
  (void)(argv);
  _ensure_allocator_counted_init_copes_with_null_allocator();
  _ensure_allocator_counted_init_copes_with_null_parent_allocator();
  _ensure_allocator_counted_init_sets_correct_parent_allocator();
  _ensure_allocator_counted_init_sets_allocation_functions();
  _ensure_allocator_counted_init_default_copes_with_null_allocator();
  _ensure_allocator_counted_init_default_sets_correct_parent_allocator();
  _ensure_allocator_counted_init_default_sets_allocation_functions();
  _ensure_allocator_counted_get_returns_internal_allocator();
  _ensure_allocator_counted_alloc_returns_null_for_empty_allocation();
  _ensure_allocator_counted_alloc_returns_null_when_parent_allocator_null();
  _ensure_allocator_counted_alloc_returns_null_when_parent_allocator_fails();
  _ensure_allocator_counted_alloc_updates_count_when_allocation_succeeds();
  _ensure_allocator_counted_alloc_doesnt_update_count_when_allocation_failed();
  _ensure_allocator_counted_alloc_maintains_correct_peak_count();
  _ensure_allocator_counted_free_copes_with_null_parent_allocator();
  _ensure_allocator_counted_free_copes_with_null_address();
  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    $0x0,%al
call   10c0 <_ensure_allocator_counted_init_copes_with_null_allocator@plt>
mov    $0x0,%al
call   10a0 <_ensure_allocator_counted_init_copes_with_null_parent_allocator@plt>
mov    $0x0,%al
call   10e0 <_ensure_allocator_counted_init_sets_correct_parent_allocator@plt>
mov    $0x0,%al
call   1090 <_ensure_allocator_counted_init_sets_allocation_functions@plt>
mov    $0x0,%al
call   1110 <_ensure_allocator_counted_init_default_copes_with_null_allocator@plt>
mov    $0x0,%al
call   1080 <_ensure_allocator_counted_init_default_sets_correct_parent_allocator@plt>
mov    $0x0,%al
call   10f0 <_ensure_allocator_counted_init_default_sets_allocation_functions@plt>
mov    $0x0,%al
call   1040 <_ensure_allocator_counted_get_returns_internal_allocator@plt>
mov    $0x0,%al
call   10d0 <_ensure_allocator_counted_alloc_returns_null_for_empty_allocation@plt>
mov    $0x0,%al
call   1060 <_ensure_allocator_counted_alloc_returns_null_when_parent_allocator_null@plt>
mov    $0x0,%al
call   1030 <_ensure_allocator_counted_alloc_returns_null_when_parent_allocator_fails@plt>
mov    $0x0,%al
call   10b0 <_ensure_allocator_counted_alloc_updates_count_when_allocation_succeeds@plt>
mov    $0x0,%al
call   1120 <_ensure_allocator_counted_alloc_doesnt_update_count_when_allocation_failed@plt>
mov    $0x0,%al
call   1100 <_ensure_allocator_counted_alloc_maintains_correct_peak_count@plt>
mov    $0x0,%al
call   1070 <_ensure_allocator_counted_free_copes_with_null_parent_allocator@plt>
mov    $0x0,%al
call   1050 <_ensure_allocator_counted_free_copes_with_null_address@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   10c0 <_ensure_allocator_counted_init_copes_with_null_allocator@plt>
xor    %eax,%eax
call   10a0 <_ensure_allocator_counted_init_copes_with_null_parent_allocator@plt>
xor    %eax,%eax
call   10e0 <_ensure_allocator_counted_init_sets_correct_parent_allocator@plt>
xor    %eax,%eax
call   1090 <_ensure_allocator_counted_init_sets_allocation_functions@plt>
xor    %eax,%eax
call   1110 <_ensure_allocator_counted_init_default_copes_with_null_allocator@plt>
xor    %eax,%eax
call   1080 <_ensure_allocator_counted_init_default_sets_correct_parent_allocator@plt>
xor    %eax,%eax
call   10f0 <_ensure_allocator_counted_init_default_sets_allocation_functions@plt>
xor    %eax,%eax
call   1040 <_ensure_allocator_counted_get_returns_internal_allocator@plt>
xor    %eax,%eax
call   10d0 <_ensure_allocator_counted_alloc_returns_null_for_empty_allocation@plt>
xor    %eax,%eax
call   1060 <_ensure_allocator_counted_alloc_returns_null_when_parent_allocator_null@plt>
xor    %eax,%eax
call   1030 <_ensure_allocator_counted_alloc_returns_null_when_parent_allocator_fails@plt>
xor    %eax,%eax
call   10b0 <_ensure_allocator_counted_alloc_updates_count_when_allocation_succeeds@plt>
xor    %eax,%eax
call   1120 <_ensure_allocator_counted_alloc_doesnt_update_count_when_allocation_failed@plt>
xor    %eax,%eax
call   1100 <_ensure_allocator_counted_alloc_maintains_correct_peak_count@plt>
xor    %eax,%eax
call   1070 <_ensure_allocator_counted_free_copes_with_null_parent_allocator@plt>
xor    %eax,%eax
call   1050 <_ensure_allocator_counted_free_copes_with_null_address@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 = load i32, i32* %4
%7 = load i8**, i8*** %5
%8 = call i32 (...) @_ensure_allocator_counted_init_copes_with_null_allocator()
%9 = call i32 (...) @_ensure_allocator_counted_init_copes_with_null_parent_allocator()
%10 = call i32 (...) @_ensure_allocator_counted_init_sets_correct_parent_allocator()
%11 = call i32 (...) @_ensure_allocator_counted_init_sets_allocation_functions()
%12 = call i32 (...) @_ensure_allocator_counted_init_default_copes_with_null_allocator()
%13 = call i32 (...) @_ensure_allocator_counted_init_default_sets_correct_parent_allocator()
%14 = call i32 (...) @_ensure_allocator_counted_init_default_sets_allocation_functions()
%15 = call i32 (...) @_ensure_allocator_counted_get_returns_internal_allocator()
%16 = call i32 (...) @_ensure_allocator_counted_alloc_returns_null_for_empty_allocation()
%17 = call i32 (...) @_ensure_allocator_counted_alloc_returns_null_when_parent_allocator_null()
%18 = call i32 (...) @_ensure_allocator_counted_alloc_returns_null_when_parent_allocator_fails()
%19 = call i32 (...) @_ensure_allocator_counted_alloc_updates_count_when_allocation_succeeds()
%20 = call i32 (...) @_ensure_allocator_counted_alloc_doesnt_update_count_when_allocation_failed()
%21 = call i32 (...) @_ensure_allocator_counted_alloc_maintains_correct_peak_count()
%22 = call i32 (...) @_ensure_allocator_counted_free_copes_with_null_parent_allocator()
%23 = call i32 (...) @_ensure_allocator_counted_free_copes_with_null_address()
ret i32 0
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (...) @_ensure_allocator_counted_init_copes_with_null_allocator()
%4 = tail call i32 (...) @_ensure_allocator_counted_init_copes_with_null_parent_allocator()
%5 = tail call i32 (...) @_ensure_allocator_counted_init_sets_correct_parent_allocator()
%6 = tail call i32 (...) @_ensure_allocator_counted_init_sets_allocation_functions()
%7 = tail call i32 (...) @_ensure_allocator_counted_init_default_copes_with_null_allocator()
%8 = tail call i32 (...) @_ensure_allocator_counted_init_default_sets_correct_parent_allocator()
%9 = tail call i32 (...) @_ensure_allocator_counted_init_default_sets_allocation_functions()
%10 = tail call i32 (...) @_ensure_allocator_counted_get_returns_internal_allocator()
%11 = tail call i32 (...) @_ensure_allocator_counted_alloc_returns_null_for_empty_allocation()
%12 = tail call i32 (...) @_ensure_allocator_counted_alloc_returns_null_when_parent_allocator_null()
%13 = tail call i32 (...) @_ensure_allocator_counted_alloc_returns_null_when_parent_allocator_fails()
%14 = tail call i32 (...) @_ensure_allocator_counted_alloc_updates_count_when_allocation_succeeds()
%15 = tail call i32 (...) @_ensure_allocator_counted_alloc_doesnt_update_count_when_allocation_failed()
%16 = tail call i32 (...) @_ensure_allocator_counted_alloc_maintains_correct_peak_count()
%17 = tail call i32 (...) @_ensure_allocator_counted_free_copes_with_null_parent_allocator()
%18 = tail call i32 (...) @_ensure_allocator_counted_free_copes_with_null_address()
ret i32 0
}