#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*/
determine_convertable_need_destroy_packed_bits_bytes_simple_fields();
int /*<<< orphan*/
determine_convertable_recursive_need_destroy_packed_bits_bytes_user_type_fields();
int /*<<< orphan*/ determine_tail_recursive();
int /*<<< orphan*/
determine_unknown_packed_bits_bytes_recursive_user_types_check_structs();
int /*<<< orphan*/ init_check_determine_structs_layout();
int /*<<< orphan*/ priority_sort_fields();
int /*<<< orphan*/ sort_structs();
void build_model(void) {
  init_check_determine_structs_layout();
  determine_convertable_need_destroy_packed_bits_bytes_simple_fields();
  determine_convertable_recursive_need_destroy_packed_bits_bytes_user_type_fields();
  determine_unknown_packed_bits_bytes_recursive_user_types_check_structs();
  determine_tail_recursive();
  priority_sort_fields();
  sort_structs();
}


x86 assembly (clang, -O0):
<build_model>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1060 <init_check_determine_structs_layout@plt>
mov    $0x0,%al
call   1050 <determine_convertable_need_destroy_packed_bits_bytes_simple_fields@plt>
mov    $0x0,%al
call   1030 <determine_convertable_recursive_need_destroy_packed_bits_bytes_user_type_fields@plt>
mov    $0x0,%al
call   1070 <determine_unknown_packed_bits_bytes_recursive_user_types_check_structs@plt>
mov    $0x0,%al
call   1090 <determine_tail_recursive@plt>
mov    $0x0,%al
call   1080 <priority_sort_fields@plt>
mov    $0x0,%al
call   1040 <sort_structs@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<build_model>:
push   %rax
xor    %eax,%eax
call   1060 <init_check_determine_structs_layout@plt>
xor    %eax,%eax
call   1050 <determine_convertable_need_destroy_packed_bits_bytes_simple_fields@plt>
xor    %eax,%eax
call   1030 <determine_convertable_recursive_need_destroy_packed_bits_bytes_user_type_fields@plt>
xor    %eax,%eax
call   1070 <determine_unknown_packed_bits_bytes_recursive_user_types_check_structs@plt>
xor    %eax,%eax
call   1090 <determine_tail_recursive@plt>
xor    %eax,%eax
call   1080 <priority_sort_fields@plt>
xor    %eax,%eax
pop    %rcx
jmp    1040 <sort_structs@plt>

LLVM IR (-O0):
define void @build_model() {
%1 = call i32 (...) @init_check_determine_structs_layout()
%2 = call i32 (...) @determine_convertable_need_destroy_packed_bits_bytes_simple_fields()
%3 = call i32 (...) @determine_convertable_recursive_need_destroy_packed_bits_bytes_user_type_fields()
%4 = call i32 (...) @determine_unknown_packed_bits_bytes_recursive_user_types_check_structs()
%5 = call i32 (...) @determine_tail_recursive()
%6 = call i32 (...) @priority_sort_fields()
%7 = call i32 (...) @sort_structs()
ret void
}

LLVM IR (-O2):
define void @build_model() {
%1 = tail call i32 (...) @init_check_determine_structs_layout()
%2 = tail call i32 (...) @determine_convertable_need_destroy_packed_bits_bytes_simple_fields()
%3 = tail call i32 (...) @determine_convertable_recursive_need_destroy_packed_bits_bytes_user_type_fields()
%4 = tail call i32 (...) @determine_unknown_packed_bits_bytes_recursive_user_types_check_structs()
%5 = tail call i32 (...) @determine_tail_recursive()
%6 = tail call i32 (...) @priority_sort_fields()
%7 = tail call i32 (...) @sort_structs()
ret void
}