#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_buffer_append_copes_with_cleaned_up_buffer();
int /*<<< orphan*/ _ensure_buffer_append_copes_with_null_buffer();
int /*<<< orphan*/ _ensure_buffer_append_copies_given_data_into_buffer();
int /*<<< orphan*/
_ensure_buffer_append_does_not_mutate_buffer_when_given_null_data_pointer();
int /*<<< orphan*/
_ensure_buffer_append_does_not_mutate_buffer_when_given_zero_data_length();
int /*<<< orphan*/
_ensure_buffer_append_returns_number_of_bytes_appended_to_buffer();
int /*<<< orphan*/ _ensure_buffer_cleanup_copes_with_cleaned_up_buffer();
int /*<<< orphan*/ _ensure_buffer_cleanup_copes_with_null_buffer();
int /*<<< orphan*/
_ensure_buffer_cleanup_releases_all_memory_consumed_by_legitimate_buffer();
int /*<<< orphan*/ _ensure_buffer_data_length_copes_with_cleaned_up_buffer();
int /*<<< orphan*/ _ensure_buffer_data_length_copes_with_null_buffer();
int /*<<< orphan*/
_ensure_buffer_data_length_returns_exact_number_of_bytes_written_to_buffer();
int /*<<< orphan*/ _ensure_buffer_data_pointer_copes_with_cleaned_up_buffer();
int /*<<< orphan*/ _ensure_buffer_data_pointer_copes_with_null_buffer();
int /*<<< orphan*/ _ensure_buffer_data_pointer_returns_null_for_empty_buffer();
int /*<<< orphan*/ _ensure_buffer_delete_copes_with_cleaned_up_buffer();
int /*<<< orphan*/ _ensure_buffer_delete_copes_with_null_buffer();
int /*<<< orphan*/
_ensure_buffer_delete_releases_all_memory_consumed_by_legitimate_buffer();
int /*<<< orphan*/ _ensure_buffer_grow_copes_with_cleaned_up_buffer();
int /*<<< orphan*/ _ensure_buffer_grow_copes_with_null_buffer();
int /*<<< orphan*/
_ensure_buffer_grow_does_not_reallocate_when_given_zero_amount();
int /*<<< orphan*/
_ensure_buffer_grow_increases_capacity_by_given_non_zero_amount();
int /*<<< orphan*/
_ensure_buffer_grow_returns_correct_total_capacity_when_growing_empty_buffer();
int /*<<< orphan*/
_ensure_buffer_grow_returns_correct_total_capacity_when_growing_non_empty_buffer();
int /*<<< orphan*/
_ensure_buffer_grow_returns_current_capacity_when_given_length_of_zero_on_nonempty_buffer();
int /*<<< orphan*/
_ensure_buffer_grow_returns_zero_when_given_length_of_zero_on_empty_buffer();
int /*<<< orphan*/ _ensure_buffer_init_copes_with_failed_allocation();
int /*<<< orphan*/ _ensure_buffer_init_copes_with_null_allocator();
int /*<<< orphan*/ _ensure_buffer_init_copes_with_null_buffer();
int /*<<< orphan*/ _ensure_buffer_init_initialises_buffer_with_zero_capacity();
int /*<<< orphan*/
_ensure_buffer_init_initialises_buffer_with_zero_data_length();
int /*<<< orphan*/ _ensure_buffer_new_initialises_buffer_with_zero_capacity();
int /*<<< orphan*/
_ensure_buffer_new_initialises_buffer_with_zero_data_length();
int /*<<< orphan*/ _ensure_buffer_new_returns_null_when_allocation_fails();
int /*<<< orphan*/ _ensure_buffer_new_returns_null_when_given_null_allocator();
int /*<<< orphan*/ _ensure_buffer_reserve_copes_with_cleaned_up_buffer();
int /*<<< orphan*/ _ensure_buffer_reserve_copes_with_null_buffer();
int /*<<< orphan*/
_ensure_buffer_reserve_does_not_mutate_buffer_when_given_zero_data_length();
int /*<<< orphan*/ _ensure_buffer_reserve_returns_non_null_pointer_on_success();
int /*<<< orphan*/ _ensure_buffer_rewind_copes_with_cleaned_up_buffer();
int /*<<< orphan*/ _ensure_buffer_rewind_copes_with_empty_buffer();
int /*<<< orphan*/ _ensure_buffer_rewind_copes_with_null_buffer();
int /*<<< orphan*/ _ensure_buffer_rewind_reuses_existing_buffer_capacity();
int main(int argc, char *argv[]) {
  (void)(argc);
  (void)(argv);
  _ensure_buffer_new_returns_null_when_given_null_allocator();
  _ensure_buffer_new_returns_null_when_allocation_fails();
  _ensure_buffer_new_initialises_buffer_with_zero_capacity();
  _ensure_buffer_new_initialises_buffer_with_zero_data_length();
  _ensure_buffer_delete_copes_with_null_buffer();
  _ensure_buffer_delete_copes_with_cleaned_up_buffer();
  _ensure_buffer_delete_releases_all_memory_consumed_by_legitimate_buffer();
  _ensure_buffer_init_initialises_buffer_with_zero_capacity();
  _ensure_buffer_init_initialises_buffer_with_zero_data_length();
  _ensure_buffer_init_copes_with_null_buffer();
  _ensure_buffer_init_copes_with_null_allocator();
  _ensure_buffer_init_copes_with_failed_allocation();
  _ensure_buffer_cleanup_copes_with_null_buffer();
  _ensure_buffer_cleanup_copes_with_cleaned_up_buffer();
  _ensure_buffer_cleanup_releases_all_memory_consumed_by_legitimate_buffer();
  _ensure_buffer_grow_increases_capacity_by_given_non_zero_amount();
  _ensure_buffer_grow_does_not_reallocate_when_given_zero_amount();
  _ensure_buffer_grow_returns_zero_when_given_length_of_zero_on_empty_buffer();
  _ensure_buffer_grow_returns_current_capacity_when_given_length_of_zero_on_nonempty_buffer();
  _ensure_buffer_grow_returns_correct_total_capacity_when_growing_empty_buffer();
  _ensure_buffer_grow_returns_correct_total_capacity_when_growing_non_empty_buffer();
  _ensure_buffer_grow_copes_with_null_buffer();
  _ensure_buffer_grow_copes_with_cleaned_up_buffer();
  _ensure_buffer_data_length_returns_exact_number_of_bytes_written_to_buffer();
  _ensure_buffer_data_length_copes_with_null_buffer();
  _ensure_buffer_data_length_copes_with_cleaned_up_buffer();
  _ensure_buffer_data_pointer_returns_null_for_empty_buffer();
  _ensure_buffer_data_pointer_copes_with_null_buffer();
  _ensure_buffer_data_pointer_copes_with_cleaned_up_buffer();
  _ensure_buffer_rewind_reuses_existing_buffer_capacity();
  _ensure_buffer_rewind_copes_with_empty_buffer();
  _ensure_buffer_rewind_copes_with_null_buffer();
  _ensure_buffer_rewind_copes_with_cleaned_up_buffer();
  _ensure_buffer_append_copies_given_data_into_buffer();
  _ensure_buffer_append_copes_with_null_buffer();
  _ensure_buffer_append_copes_with_cleaned_up_buffer();
  _ensure_buffer_append_does_not_mutate_buffer_when_given_zero_data_length();
  _ensure_buffer_append_does_not_mutate_buffer_when_given_null_data_pointer();
  _ensure_buffer_append_returns_number_of_bytes_appended_to_buffer();
  _ensure_buffer_reserve_copes_with_null_buffer();
  _ensure_buffer_reserve_copes_with_cleaned_up_buffer();
  _ensure_buffer_reserve_does_not_mutate_buffer_when_given_zero_data_length();
  _ensure_buffer_reserve_returns_non_null_pointer_on_success();
  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   2150 <_ensure_buffer_new_returns_null_when_given_null_allocator@plt>
mov    $0x0,%al
call   2070 <_ensure_buffer_new_returns_null_when_allocation_fails@plt>
mov    $0x0,%al
call   21e0 <_ensure_buffer_new_initialises_buffer_with_zero_capacity@plt>
mov    $0x0,%al
call   2180 <_ensure_buffer_new_initialises_buffer_with_zero_data_length@plt>
mov    $0x0,%al
call   2200 <_ensure_buffer_delete_copes_with_null_buffer@plt>
mov    $0x0,%al
call   20a0 <_ensure_buffer_delete_copes_with_cleaned_up_buffer@plt>
mov    $0x0,%al
call   2090 <_ensure_buffer_delete_releases_all_memory_consumed_by_legitimate_buffer@plt>
mov    $0x0,%al
call   20c0 <_ensure_buffer_init_initialises_buffer_with_zero_capacity@plt>
mov    $0x0,%al
call   20b0 <_ensure_buffer_init_initialises_buffer_with_zero_data_length@plt>
mov    $0x0,%al
call   21d0 <_ensure_buffer_init_copes_with_null_buffer@plt>
mov    $0x0,%al
call   20f0 <_ensure_buffer_init_copes_with_null_allocator@plt>
mov    $0x0,%al
call   2270 <_ensure_buffer_init_copes_with_failed_allocation@plt>
mov    $0x0,%al
call   21b0 <_ensure_buffer_cleanup_copes_with_null_buffer@plt>
mov    $0x0,%al
call   22a0 <_ensure_buffer_cleanup_copes_with_cleaned_up_buffer@plt>
mov    $0x0,%al
call   2030 <_ensure_buffer_cleanup_releases_all_memory_consumed_by_legitimate_buffer@plt>
mov    $0x0,%al
call   2230 <_ensure_buffer_grow_increases_capacity_by_given_non_zero_amount@plt>
mov    $0x0,%al
call   20e0 <_ensure_buffer_grow_does_not_reallocate_when_given_zero_amount@plt>
mov    $0x0,%al
call   2280 <_ensure_buffer_grow_returns_zero_when_given_length_of_zero_on_empty_buffer@plt>
mov    $0x0,%al
call   2040 <_ensure_buffer_grow_returns_current_capacity_when_given_length_of_zero_on_nonempty_buffer@plt>
mov    $0x0,%al
call   2210 <_ensure_buffer_grow_returns_correct_total_capacity_when_growing_empty_buffer@plt>
mov    $0x0,%al
call   2250 <_ensure_buffer_grow_returns_correct_total_capacity_when_growing_non_empty_buffer@plt>
mov    $0x0,%al
call   2260 <_ensure_buffer_grow_copes_with_null_buffer@plt>
mov    $0x0,%al
call   21f0 <_ensure_buffer_grow_copes_with_cleaned_up_buffer@plt>
mov    $0x0,%al
call   22b0 <_ensure_buffer_data_length_returns_exact_number_of_bytes_written_to_buffer@plt>
mov    $0x0,%al
call   22c0 <_ensure_buffer_data_length_copes_with_null_buffer@plt>
mov    $0x0,%al
call   2240 <_ensure_buffer_data_length_copes_with_cleaned_up_buffer@plt>
mov    $0x0,%al
call   2160 <_ensure_buffer_data_pointer_returns_null_for_empty_buffer@plt>
mov    $0x0,%al
call   2290 <_ensure_buffer_data_pointer_copes_with_null_buffer@plt>
mov    $0x0,%al
call   2050 <_ensure_buffer_data_pointer_copes_with_cleaned_up_buffer@plt>
mov    $0x0,%al
call   2170 <_ensure_buffer_rewind_reuses_existing_buffer_capacity@plt>
mov    $0x0,%al
call   2140 <_ensure_buffer_rewind_copes_with_empty_buffer@plt>
mov    $0x0,%al
call   2220 <_ensure_buffer_rewind_copes_with_null_buffer@plt>
mov    $0x0,%al
call   21a0 <_ensure_buffer_rewind_copes_with_cleaned_up_buffer@plt>
mov    $0x0,%al
call   2110 <_ensure_buffer_append_copies_given_data_into_buffer@plt>
mov    $0x0,%al
call   22d0 <_ensure_buffer_append_copes_with_null_buffer@plt>
mov    $0x0,%al
call   20d0 <_ensure_buffer_append_copes_with_cleaned_up_buffer@plt>
mov    $0x0,%al
call   2080 <_ensure_buffer_append_does_not_mutate_buffer_when_given_zero_data_length@plt>
mov    $0x0,%al
call   2190 <_ensure_buffer_append_does_not_mutate_buffer_when_given_null_data_pointer@plt>
mov    $0x0,%al
call   2100 <_ensure_buffer_append_returns_number_of_bytes_appended_to_buffer@plt>
mov    $0x0,%al
call   21c0 <_ensure_buffer_reserve_copes_with_null_buffer@plt>
mov    $0x0,%al
call   2130 <_ensure_buffer_reserve_copes_with_cleaned_up_buffer@plt>
mov    $0x0,%al
call   2060 <_ensure_buffer_reserve_does_not_mutate_buffer_when_given_zero_data_length@plt>
mov    $0x0,%al
call   2120 <_ensure_buffer_reserve_returns_non_null_pointer_on_success@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
xor    %eax,%eax
call   2150 <_ensure_buffer_new_returns_null_when_given_null_allocator@plt>
xor    %eax,%eax
call   2070 <_ensure_buffer_new_returns_null_when_allocation_fails@plt>
xor    %eax,%eax
call   21e0 <_ensure_buffer_new_initialises_buffer_with_zero_capacity@plt>
xor    %eax,%eax
call   2180 <_ensure_buffer_new_initialises_buffer_with_zero_data_length@plt>
xor    %eax,%eax
call   2200 <_ensure_buffer_delete_copes_with_null_buffer@plt>
xor    %eax,%eax
call   20a0 <_ensure_buffer_delete_copes_with_cleaned_up_buffer@plt>
xor    %eax,%eax
call   2090 <_ensure_buffer_delete_releases_all_memory_consumed_by_legitimate_buffer@plt>
xor    %eax,%eax
call   20c0 <_ensure_buffer_init_initialises_buffer_with_zero_capacity@plt>
xor    %eax,%eax
call   20b0 <_ensure_buffer_init_initialises_buffer_with_zero_data_length@plt>
xor    %eax,%eax
call   21d0 <_ensure_buffer_init_copes_with_null_buffer@plt>
xor    %eax,%eax
call   20f0 <_ensure_buffer_init_copes_with_null_allocator@plt>
xor    %eax,%eax
call   2270 <_ensure_buffer_init_copes_with_failed_allocation@plt>
xor    %eax,%eax
call   21b0 <_ensure_buffer_cleanup_copes_with_null_buffer@plt>
xor    %eax,%eax
call   22a0 <_ensure_buffer_cleanup_copes_with_cleaned_up_buffer@plt>
xor    %eax,%eax
call   2030 <_ensure_buffer_cleanup_releases_all_memory_consumed_by_legitimate_buffer@plt>
xor    %eax,%eax
call   2230 <_ensure_buffer_grow_increases_capacity_by_given_non_zero_amount@plt>
xor    %eax,%eax
call   20e0 <_ensure_buffer_grow_does_not_reallocate_when_given_zero_amount@plt>
xor    %eax,%eax
call   2280 <_ensure_buffer_grow_returns_zero_when_given_length_of_zero_on_empty_buffer@plt>
xor    %eax,%eax
call   2040 <_ensure_buffer_grow_returns_current_capacity_when_given_length_of_zero_on_nonempty_buffer@plt>
xor    %eax,%eax
call   2210 <_ensure_buffer_grow_returns_correct_total_capacity_when_growing_empty_buffer@plt>
xor    %eax,%eax
call   2250 <_ensure_buffer_grow_returns_correct_total_capacity_when_growing_non_empty_buffer@plt>
xor    %eax,%eax
call   2260 <_ensure_buffer_grow_copes_with_null_buffer@plt>
xor    %eax,%eax
call   21f0 <_ensure_buffer_grow_copes_with_cleaned_up_buffer@plt>
xor    %eax,%eax
call   22b0 <_ensure_buffer_data_length_returns_exact_number_of_bytes_written_to_buffer@plt>
xor    %eax,%eax
call   22c0 <_ensure_buffer_data_length_copes_with_null_buffer@plt>
xor    %eax,%eax
call   2240 <_ensure_buffer_data_length_copes_with_cleaned_up_buffer@plt>
xor    %eax,%eax
call   2160 <_ensure_buffer_data_pointer_returns_null_for_empty_buffer@plt>
xor    %eax,%eax
call   2290 <_ensure_buffer_data_pointer_copes_with_null_buffer@plt>
xor    %eax,%eax
call   2050 <_ensure_buffer_data_pointer_copes_with_cleaned_up_buffer@plt>
xor    %eax,%eax
call   2170 <_ensure_buffer_rewind_reuses_existing_buffer_capacity@plt>
xor    %eax,%eax
call   2140 <_ensure_buffer_rewind_copes_with_empty_buffer@plt>
xor    %eax,%eax
call   2220 <_ensure_buffer_rewind_copes_with_null_buffer@plt>
xor    %eax,%eax
call   21a0 <_ensure_buffer_rewind_copes_with_cleaned_up_buffer@plt>
xor    %eax,%eax
call   2110 <_ensure_buffer_append_copies_given_data_into_buffer@plt>
xor    %eax,%eax
call   22d0 <_ensure_buffer_append_copes_with_null_buffer@plt>
xor    %eax,%eax
call   20d0 <_ensure_buffer_append_copes_with_cleaned_up_buffer@plt>
xor    %eax,%eax
call   2080 <_ensure_buffer_append_does_not_mutate_buffer_when_given_zero_data_length@plt>
xor    %eax,%eax
call   2190 <_ensure_buffer_append_does_not_mutate_buffer_when_given_null_data_pointer@plt>
xor    %eax,%eax
call   2100 <_ensure_buffer_append_returns_number_of_bytes_appended_to_buffer@plt>
xor    %eax,%eax
call   21c0 <_ensure_buffer_reserve_copes_with_null_buffer@plt>
xor    %eax,%eax
call   2130 <_ensure_buffer_reserve_copes_with_cleaned_up_buffer@plt>
xor    %eax,%eax
call   2060 <_ensure_buffer_reserve_does_not_mutate_buffer_when_given_zero_data_length@plt>
xor    %eax,%eax
call   2120 <_ensure_buffer_reserve_returns_non_null_pointer_on_success@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_buffer_new_returns_null_when_given_null_allocator()
%9 = call i32 (...) @_ensure_buffer_new_returns_null_when_allocation_fails()
%10 = call i32 (...) @_ensure_buffer_new_initialises_buffer_with_zero_capacity()
%11 = call i32 (...) @_ensure_buffer_new_initialises_buffer_with_zero_data_length()
%12 = call i32 (...) @_ensure_buffer_delete_copes_with_null_buffer()
%13 = call i32 (...) @_ensure_buffer_delete_copes_with_cleaned_up_buffer()
%14 = call i32 (...) @_ensure_buffer_delete_releases_all_memory_consumed_by_legitimate_buffer()
%15 = call i32 (...) @_ensure_buffer_init_initialises_buffer_with_zero_capacity()
%16 = call i32 (...) @_ensure_buffer_init_initialises_buffer_with_zero_data_length()
%17 = call i32 (...) @_ensure_buffer_init_copes_with_null_buffer()
%18 = call i32 (...) @_ensure_buffer_init_copes_with_null_allocator()
%19 = call i32 (...) @_ensure_buffer_init_copes_with_failed_allocation()
%20 = call i32 (...) @_ensure_buffer_cleanup_copes_with_null_buffer()
%21 = call i32 (...) @_ensure_buffer_cleanup_copes_with_cleaned_up_buffer()
%22 = call i32 (...) @_ensure_buffer_cleanup_releases_all_memory_consumed_by_legitimate_buffer()
%23 = call i32 (...) @_ensure_buffer_grow_increases_capacity_by_given_non_zero_amount()
%24 = call i32 (...) @_ensure_buffer_grow_does_not_reallocate_when_given_zero_amount()
%25 = call i32 (...) @_ensure_buffer_grow_returns_zero_when_given_length_of_zero_on_empty_buffer()
%26 = call i32 (...) @_ensure_buffer_grow_returns_current_capacity_when_given_length_of_zero_on_nonempty_buffer()
%27 = call i32 (...) @_ensure_buffer_grow_returns_correct_total_capacity_when_growing_empty_buffer()
%28 = call i32 (...) @_ensure_buffer_grow_returns_correct_total_capacity_when_growing_non_empty_buffer()
%29 = call i32 (...) @_ensure_buffer_grow_copes_with_null_buffer()
%30 = call i32 (...) @_ensure_buffer_grow_copes_with_cleaned_up_buffer()
%31 = call i32 (...) @_ensure_buffer_data_length_returns_exact_number_of_bytes_written_to_buffer()
%32 = call i32 (...) @_ensure_buffer_data_length_copes_with_null_buffer()
%33 = call i32 (...) @_ensure_buffer_data_length_copes_with_cleaned_up_buffer()
%34 = call i32 (...) @_ensure_buffer_data_pointer_returns_null_for_empty_buffer()
%35 = call i32 (...) @_ensure_buffer_data_pointer_copes_with_null_buffer()
%36 = call i32 (...) @_ensure_buffer_data_pointer_copes_with_cleaned_up_buffer()
%37 = call i32 (...) @_ensure_buffer_rewind_reuses_existing_buffer_capacity()
%38 = call i32 (...) @_ensure_buffer_rewind_copes_with_empty_buffer()
%39 = call i32 (...) @_ensure_buffer_rewind_copes_with_null_buffer()
%40 = call i32 (...) @_ensure_buffer_rewind_copes_with_cleaned_up_buffer()
%41 = call i32 (...) @_ensure_buffer_append_copies_given_data_into_buffer()
%42 = call i32 (...) @_ensure_buffer_append_copes_with_null_buffer()
%43 = call i32 (...) @_ensure_buffer_append_copes_with_cleaned_up_buffer()
%44 = call i32 (...) @_ensure_buffer_append_does_not_mutate_buffer_when_given_zero_data_length()
%45 = call i32 (...) @_ensure_buffer_append_does_not_mutate_buffer_when_given_null_data_pointer()
%46 = call i32 (...) @_ensure_buffer_append_returns_number_of_bytes_appended_to_buffer()
%47 = call i32 (...) @_ensure_buffer_reserve_copes_with_null_buffer()
%48 = call i32 (...) @_ensure_buffer_reserve_copes_with_cleaned_up_buffer()
%49 = call i32 (...) @_ensure_buffer_reserve_does_not_mutate_buffer_when_given_zero_data_length()
%50 = call i32 (...) @_ensure_buffer_reserve_returns_non_null_pointer_on_success()
ret i32 0
}

LLVM IR (-O2):
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 (...) @_ensure_buffer_new_returns_null_when_given_null_allocator()
%4 = tail call i32 (...) @_ensure_buffer_new_returns_null_when_allocation_fails()
%5 = tail call i32 (...) @_ensure_buffer_new_initialises_buffer_with_zero_capacity()
%6 = tail call i32 (...) @_ensure_buffer_new_initialises_buffer_with_zero_data_length()
%7 = tail call i32 (...) @_ensure_buffer_delete_copes_with_null_buffer()
%8 = tail call i32 (...) @_ensure_buffer_delete_copes_with_cleaned_up_buffer()
%9 = tail call i32 (...) @_ensure_buffer_delete_releases_all_memory_consumed_by_legitimate_buffer()
%10 = tail call i32 (...) @_ensure_buffer_init_initialises_buffer_with_zero_capacity()
%11 = tail call i32 (...) @_ensure_buffer_init_initialises_buffer_with_zero_data_length()
%12 = tail call i32 (...) @_ensure_buffer_init_copes_with_null_buffer()
%13 = tail call i32 (...) @_ensure_buffer_init_copes_with_null_allocator()
%14 = tail call i32 (...) @_ensure_buffer_init_copes_with_failed_allocation()
%15 = tail call i32 (...) @_ensure_buffer_cleanup_copes_with_null_buffer()
%16 = tail call i32 (...) @_ensure_buffer_cleanup_copes_with_cleaned_up_buffer()
%17 = tail call i32 (...) @_ensure_buffer_cleanup_releases_all_memory_consumed_by_legitimate_buffer()
%18 = tail call i32 (...) @_ensure_buffer_grow_increases_capacity_by_given_non_zero_amount()
%19 = tail call i32 (...) @_ensure_buffer_grow_does_not_reallocate_when_given_zero_amount()
%20 = tail call i32 (...) @_ensure_buffer_grow_returns_zero_when_given_length_of_zero_on_empty_buffer()
%21 = tail call i32 (...) @_ensure_buffer_grow_returns_current_capacity_when_given_length_of_zero_on_nonempty_buffer()
%22 = tail call i32 (...) @_ensure_buffer_grow_returns_correct_total_capacity_when_growing_empty_buffer()
%23 = tail call i32 (...) @_ensure_buffer_grow_returns_correct_total_capacity_when_growing_non_empty_buffer()
%24 = tail call i32 (...) @_ensure_buffer_grow_copes_with_null_buffer()
%25 = tail call i32 (...) @_ensure_buffer_grow_copes_with_cleaned_up_buffer()
%26 = tail call i32 (...) @_ensure_buffer_data_length_returns_exact_number_of_bytes_written_to_buffer()
%27 = tail call i32 (...) @_ensure_buffer_data_length_copes_with_null_buffer()
%28 = tail call i32 (...) @_ensure_buffer_data_length_copes_with_cleaned_up_buffer()
%29 = tail call i32 (...) @_ensure_buffer_data_pointer_returns_null_for_empty_buffer()
%30 = tail call i32 (...) @_ensure_buffer_data_pointer_copes_with_null_buffer()
%31 = tail call i32 (...) @_ensure_buffer_data_pointer_copes_with_cleaned_up_buffer()
%32 = tail call i32 (...) @_ensure_buffer_rewind_reuses_existing_buffer_capacity()
%33 = tail call i32 (...) @_ensure_buffer_rewind_copes_with_empty_buffer()
%34 = tail call i32 (...) @_ensure_buffer_rewind_copes_with_null_buffer()
%35 = tail call i32 (...) @_ensure_buffer_rewind_copes_with_cleaned_up_buffer()
%36 = tail call i32 (...) @_ensure_buffer_append_copies_given_data_into_buffer()
%37 = tail call i32 (...) @_ensure_buffer_append_copes_with_null_buffer()
%38 = tail call i32 (...) @_ensure_buffer_append_copes_with_cleaned_up_buffer()
%39 = tail call i32 (...) @_ensure_buffer_append_does_not_mutate_buffer_when_given_zero_data_length()
%40 = tail call i32 (...) @_ensure_buffer_append_does_not_mutate_buffer_when_given_null_data_pointer()
%41 = tail call i32 (...) @_ensure_buffer_append_returns_number_of_bytes_appended_to_buffer()
%42 = tail call i32 (...) @_ensure_buffer_reserve_copes_with_null_buffer()
%43 = tail call i32 (...) @_ensure_buffer_reserve_copes_with_cleaned_up_buffer()
%44 = tail call i32 (...) @_ensure_buffer_reserve_does_not_mutate_buffer_when_given_zero_data_length()
%45 = tail call i32 (...) @_ensure_buffer_reserve_returns_non_null_pointer_on_success()
ret i32 0
}