#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_guarded_alloc_returns_null_for_empty_allocation();
int /*<<< orphan*/
ensure_allocator_guarded_alloc_returns_null_when_parent_allocator_fails();
int /*<<< orphan*/
ensure_allocator_guarded_alloc_returns_null_when_parent_allocator_null();
int /*<<< orphan*/
ensure_allocator_guarded_alloc_returns_valid_memory_for_nonempty_allocation();
int /*<<< orphan*/
ensure_allocator_guarded_free_copes_with_null_parent_allocator();
int /*<<< orphan*/ ensure_allocator_guarded_get_returns_internal_allocator();
int /*<<< orphan*/
ensure_allocator_guarded_init_default_sets_allocation_functions();
int /*<<< orphan*/
ensure_allocator_guarded_init_default_sets_default_allocator();
int /*<<< orphan*/ ensure_allocator_guarded_init_sets_allocation_functions();
int /*<<< orphan*/
ensure_allocator_guarded_init_sets_correct_parent_allocator();
int /*<<< orphan*/
ensure_allocator_guarded_length_returns_correct_value_for_successful_allocation();
int /*<<< orphan*/
ensure_allocator_guarded_length_returns_zero_when_address_not_guarded();
int /*<<< orphan*/
ensure_allocator_guarded_length_returns_zero_when_end_guard_corrupted();
int /*<<< orphan*/
ensure_allocator_guarded_length_returns_zero_when_start_guard_corrupted();
int main(int argc, char *argv[]) {
  (void)(argc);
  (void)(argv);
  ensure_allocator_guarded_init_sets_correct_parent_allocator();
  ensure_allocator_guarded_init_sets_allocation_functions();
  ensure_allocator_guarded_init_default_sets_default_allocator();
  ensure_allocator_guarded_init_default_sets_allocation_functions();
  ensure_allocator_guarded_get_returns_internal_allocator();
  ensure_allocator_guarded_alloc_returns_null_for_empty_allocation();
  ensure_allocator_guarded_alloc_returns_null_when_parent_allocator_null();
  ensure_allocator_guarded_alloc_returns_null_when_parent_allocator_fails();
  ensure_allocator_guarded_alloc_returns_valid_memory_for_nonempty_allocation();
  ensure_allocator_guarded_free_copes_with_null_parent_allocator();
  ensure_allocator_guarded_length_returns_correct_value_for_successful_allocation();
  ensure_allocator_guarded_length_returns_zero_when_address_not_guarded();
  ensure_allocator_guarded_length_returns_zero_when_start_guard_corrupted();
  ensure_allocator_guarded_length_returns_zero_when_end_guard_corrupted();
  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   1080 <ensure_allocator_guarded_init_sets_correct_parent_allocator@plt>
mov    $0x0,%al
call   1050 <ensure_allocator_guarded_init_sets_allocation_functions@plt>
mov    $0x0,%al
call   1090 <ensure_allocator_guarded_init_default_sets_default_allocator@plt>
mov    $0x0,%al
call   10b0 <ensure_allocator_guarded_init_default_sets_allocation_functions@plt>
mov    $0x0,%al
call   1070 <ensure_allocator_guarded_get_returns_internal_allocator@plt>
mov    $0x0,%al
call   10a0 <ensure_allocator_guarded_alloc_returns_null_for_empty_allocation@plt>
mov    $0x0,%al
call   1100 <ensure_allocator_guarded_alloc_returns_null_when_parent_allocator_null@plt>
mov    $0x0,%al
call   1030 <ensure_allocator_guarded_alloc_returns_null_when_parent_allocator_fails@plt>
mov    $0x0,%al
call   10d0 <ensure_allocator_guarded_alloc_returns_valid_memory_for_nonempty_allocation@plt>
mov    $0x0,%al
call   1060 <ensure_allocator_guarded_free_copes_with_null_parent_allocator@plt>
mov    $0x0,%al
call   10c0 <ensure_allocator_guarded_length_returns_correct_value_for_successful_allocation@plt>
mov    $0x0,%al
call   10f0 <ensure_allocator_guarded_length_returns_zero_when_address_not_guarded@plt>
mov    $0x0,%al
call   1040 <ensure_allocator_guarded_length_returns_zero_when_start_guard_corrupted@plt>
mov    $0x0,%al
call   10e0 <ensure_allocator_guarded_length_returns_zero_when_end_guard_corrupted@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   1080 <ensure_allocator_guarded_init_sets_correct_parent_allocator@plt>
xor    %eax,%eax
call   1050 <ensure_allocator_guarded_init_sets_allocation_functions@plt>
xor    %eax,%eax
call   1090 <ensure_allocator_guarded_init_default_sets_default_allocator@plt>
xor    %eax,%eax
call   10b0 <ensure_allocator_guarded_init_default_sets_allocation_functions@plt>
xor    %eax,%eax
call   1070 <ensure_allocator_guarded_get_returns_internal_allocator@plt>
xor    %eax,%eax
call   10a0 <ensure_allocator_guarded_alloc_returns_null_for_empty_allocation@plt>
xor    %eax,%eax
call   1100 <ensure_allocator_guarded_alloc_returns_null_when_parent_allocator_null@plt>
xor    %eax,%eax
call   1030 <ensure_allocator_guarded_alloc_returns_null_when_parent_allocator_fails@plt>
xor    %eax,%eax
call   10d0 <ensure_allocator_guarded_alloc_returns_valid_memory_for_nonempty_allocation@plt>
xor    %eax,%eax
call   1060 <ensure_allocator_guarded_free_copes_with_null_parent_allocator@plt>
xor    %eax,%eax
call   10c0 <ensure_allocator_guarded_length_returns_correct_value_for_successful_allocation@plt>
xor    %eax,%eax
call   10f0 <ensure_allocator_guarded_length_returns_zero_when_address_not_guarded@plt>
xor    %eax,%eax
call   1040 <ensure_allocator_guarded_length_returns_zero_when_start_guard_corrupted@plt>
xor    %eax,%eax
call   10e0 <ensure_allocator_guarded_length_returns_zero_when_end_guard_corrupted@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_guarded_init_sets_correct_parent_allocator()
%9 = call i32 (...) @ensure_allocator_guarded_init_sets_allocation_functions()
%10 = call i32 (...) @ensure_allocator_guarded_init_default_sets_default_allocator()
%11 = call i32 (...) @ensure_allocator_guarded_init_default_sets_allocation_functions()
%12 = call i32 (...) @ensure_allocator_guarded_get_returns_internal_allocator()
%13 = call i32 (...) @ensure_allocator_guarded_alloc_returns_null_for_empty_allocation()
%14 = call i32 (...) @ensure_allocator_guarded_alloc_returns_null_when_parent_allocator_null()
%15 = call i32 (...) @ensure_allocator_guarded_alloc_returns_null_when_parent_allocator_fails()
%16 = call i32 (...) @ensure_allocator_guarded_alloc_returns_valid_memory_for_nonempty_allocation()
%17 = call i32 (...) @ensure_allocator_guarded_free_copes_with_null_parent_allocator()
%18 = call i32 (...) @ensure_allocator_guarded_length_returns_correct_value_for_successful_allocation()
%19 = call i32 (...) @ensure_allocator_guarded_length_returns_zero_when_address_not_guarded()
%20 = call i32 (...) @ensure_allocator_guarded_length_returns_zero_when_start_guard_corrupted()
%21 = call i32 (...) @ensure_allocator_guarded_length_returns_zero_when_end_guard_corrupted()
ret i32 0
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (...) @ensure_allocator_guarded_init_sets_correct_parent_allocator()
%4 = tail call i32 (...) @ensure_allocator_guarded_init_sets_allocation_functions()
%5 = tail call i32 (...) @ensure_allocator_guarded_init_default_sets_default_allocator()
%6 = tail call i32 (...) @ensure_allocator_guarded_init_default_sets_allocation_functions()
%7 = tail call i32 (...) @ensure_allocator_guarded_get_returns_internal_allocator()
%8 = tail call i32 (...) @ensure_allocator_guarded_alloc_returns_null_for_empty_allocation()
%9 = tail call i32 (...) @ensure_allocator_guarded_alloc_returns_null_when_parent_allocator_null()
%10 = tail call i32 (...) @ensure_allocator_guarded_alloc_returns_null_when_parent_allocator_fails()
%11 = tail call i32 (...) @ensure_allocator_guarded_alloc_returns_valid_memory_for_nonempty_allocation()
%12 = tail call i32 (...) @ensure_allocator_guarded_free_copes_with_null_parent_allocator()
%13 = tail call i32 (...) @ensure_allocator_guarded_length_returns_correct_value_for_successful_allocation()
%14 = tail call i32 (...) @ensure_allocator_guarded_length_returns_zero_when_address_not_guarded()
%15 = tail call i32 (...) @ensure_allocator_guarded_length_returns_zero_when_start_guard_corrupted()
%16 = tail call i32 (...) @ensure_allocator_guarded_length_returns_zero_when_end_guard_corrupted()
ret i32 0
}