#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_atom_builder_chassis();
int /*<<< orphan*/ init_atom_builder_config();
int /*<<< orphan*/ init_atom_builder_custom();
int /*<<< orphan*/ init_atom_builder_custom_list();
int /*<<< orphan*/ init_atom_builder_dot3_power();
int /*<<< orphan*/ init_atom_builder_interface();
int /*<<< orphan*/ init_atom_builder_interfaces_list();
int /*<<< orphan*/ init_atom_builder_med_caelement();
int /*<<< orphan*/ init_atom_builder_med_caelements_list();
int /*<<< orphan*/ init_atom_builder_med_location();
int /*<<< orphan*/ init_atom_builder_med_locations_list();
int /*<<< orphan*/ init_atom_builder_med_policies_list();
int /*<<< orphan*/ init_atom_builder_med_policy();
int /*<<< orphan*/ init_atom_builder_med_power();
int /*<<< orphan*/ init_atom_builder_mgmt();
int /*<<< orphan*/ init_atom_builder_mgmts_list();
int /*<<< orphan*/ init_atom_builder_pi();
int /*<<< orphan*/ init_atom_builder_pis_list();
int /*<<< orphan*/ init_atom_builder_port();
int /*<<< orphan*/ init_atom_builder_ports_list();
int /*<<< orphan*/ init_atom_builder_ppvid();
int /*<<< orphan*/ init_atom_builder_ppvids_list();
int /*<<< orphan*/ init_atom_builder_vlan();
int /*<<< orphan*/ init_atom_builder_vlans_list();
void init_atom_builder() {
  static int init = 0;
  if (init)
    return;
  init++;
  init_atom_builder_med_caelements_list();
  init_atom_builder_med_policy();
  init_atom_builder_port();
  init_atom_builder_pis_list();
  init_atom_builder_config();
  init_atom_builder_interfaces_list();
  init_atom_builder_dot3_power();
  init_atom_builder_med_caelement();
  init_atom_builder_pi();
  init_atom_builder_med_location();
  init_atom_builder_mgmts_list();
  init_atom_builder_vlans_list();
  init_atom_builder_ports_list();
  init_atom_builder_med_power();
  init_atom_builder_med_locations_list();
  init_atom_builder_vlan();
  init_atom_builder_chassis();
  init_atom_builder_interface();
  init_atom_builder_ppvids_list();
  init_atom_builder_mgmt();
  init_atom_builder_custom();
  init_atom_builder_ppvid();
  init_atom_builder_custom_list();
  init_atom_builder_med_policies_list();
}


x86 assembly (clang, -O0):
<init_atom_builder>:
push   %rbp
mov    %rsp,%rbp
cmpl   $0x0,0x2e59(%rip)
je     1296 <init_atom_builder+0x16>
jmp    134d <init_atom_builder+0xcd>
mov    0x2e48(%rip),%eax
add    $0x1,%eax
mov    %eax,0x2e3f(%rip)
mov    $0x0,%al
call   10d0 <init_atom_builder_med_caelements_list@plt>
mov    $0x0,%al
call   1190 <init_atom_builder_med_policy@plt>
mov    $0x0,%al
call   10e0 <init_atom_builder_port@plt>
mov    $0x0,%al
call   1030 <init_atom_builder_pis_list@plt>
mov    $0x0,%al
call   1130 <init_atom_builder_config@plt>
mov    $0x0,%al
call   1070 <init_atom_builder_interfaces_list@plt>
mov    $0x0,%al
call   1140 <init_atom_builder_dot3_power@plt>
mov    $0x0,%al
call   1160 <init_atom_builder_med_caelement@plt>
mov    $0x0,%al
call   1080 <init_atom_builder_pi@plt>
mov    $0x0,%al
call   1090 <init_atom_builder_med_location@plt>
mov    $0x0,%al
call   10a0 <init_atom_builder_mgmts_list@plt>
mov    $0x0,%al
call   10c0 <init_atom_builder_vlans_list@plt>
mov    $0x0,%al
call   1150 <init_atom_builder_ports_list@plt>
mov    $0x0,%al
call   1120 <init_atom_builder_med_power@plt>
mov    $0x0,%al
call   1170 <init_atom_builder_med_locations_list@plt>
mov    $0x0,%al
call   1060 <init_atom_builder_vlan@plt>
mov    $0x0,%al
call   10f0 <init_atom_builder_chassis@plt>
mov    $0x0,%al
call   1050 <init_atom_builder_interface@plt>
mov    $0x0,%al
call   1040 <init_atom_builder_ppvids_list@plt>
mov    $0x0,%al
call   1110 <init_atom_builder_mgmt@plt>
mov    $0x0,%al
call   1180 <init_atom_builder_custom@plt>
mov    $0x0,%al
call   1100 <init_atom_builder_ppvid@plt>
mov    $0x0,%al
call   10b0 <init_atom_builder_custom_list@plt>
mov    $0x0,%al
call   11a0 <init_atom_builder_med_policies_list@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<init_atom_builder>:
push   %rax
cmpb   $0x0,0x2e5c(%rip)
je     128c <init_atom_builder+0xc>
pop    %rax
ret
movb   $0x1,0x2e51(%rip)
xor    %eax,%eax
call   10d0 <init_atom_builder_med_caelements_list@plt>
xor    %eax,%eax
call   1190 <init_atom_builder_med_policy@plt>
xor    %eax,%eax
call   10e0 <init_atom_builder_port@plt>
xor    %eax,%eax
call   1030 <init_atom_builder_pis_list@plt>
xor    %eax,%eax
call   1130 <init_atom_builder_config@plt>
xor    %eax,%eax
call   1070 <init_atom_builder_interfaces_list@plt>
xor    %eax,%eax
call   1140 <init_atom_builder_dot3_power@plt>
xor    %eax,%eax
call   1160 <init_atom_builder_med_caelement@plt>
xor    %eax,%eax
call   1080 <init_atom_builder_pi@plt>
xor    %eax,%eax
call   1090 <init_atom_builder_med_location@plt>
xor    %eax,%eax
call   10a0 <init_atom_builder_mgmts_list@plt>
xor    %eax,%eax
call   10c0 <init_atom_builder_vlans_list@plt>
xor    %eax,%eax
call   1150 <init_atom_builder_ports_list@plt>
xor    %eax,%eax
call   1120 <init_atom_builder_med_power@plt>
xor    %eax,%eax
call   1170 <init_atom_builder_med_locations_list@plt>
xor    %eax,%eax
call   1060 <init_atom_builder_vlan@plt>
xor    %eax,%eax
call   10f0 <init_atom_builder_chassis@plt>
xor    %eax,%eax
call   1050 <init_atom_builder_interface@plt>
xor    %eax,%eax
call   1040 <init_atom_builder_ppvids_list@plt>
xor    %eax,%eax
call   1110 <init_atom_builder_mgmt@plt>
xor    %eax,%eax
call   1180 <init_atom_builder_custom@plt>
xor    %eax,%eax
call   1100 <init_atom_builder_ppvid@plt>
xor    %eax,%eax
call   10b0 <init_atom_builder_custom_list@plt>
xor    %eax,%eax
pop    %rcx
jmp    11a0 <init_atom_builder_med_policies_list@plt>

LLVM IR (-O0):
@init_atom_builder.init = internal global i32 0
define void @init_atom_builder() {
%1 = load i32, i32* @init_atom_builder.init
%2 = icmp ne i32 %1, 0
br i1 %2, label %3, label %4
3: ; preds = %0
br label %31
4: ; preds = %0
%5 = load i32, i32* @init_atom_builder.init
%6 = add nsw i32 %5, 1
store i32 %6, i32* @init_atom_builder.init
%7 = call i32 (...) @init_atom_builder_med_caelements_list()
%8 = call i32 (...) @init_atom_builder_med_policy()
%9 = call i32 (...) @init_atom_builder_port()
%10 = call i32 (...) @init_atom_builder_pis_list()
%11 = call i32 (...) @init_atom_builder_config()
%12 = call i32 (...) @init_atom_builder_interfaces_list()
%13 = call i32 (...) @init_atom_builder_dot3_power()
%14 = call i32 (...) @init_atom_builder_med_caelement()
%15 = call i32 (...) @init_atom_builder_pi()
%16 = call i32 (...) @init_atom_builder_med_location()
%17 = call i32 (...) @init_atom_builder_mgmts_list()
%18 = call i32 (...) @init_atom_builder_vlans_list()
%19 = call i32 (...) @init_atom_builder_ports_list()
%20 = call i32 (...) @init_atom_builder_med_power()
%21 = call i32 (...) @init_atom_builder_med_locations_list()
%22 = call i32 (...) @init_atom_builder_vlan()
%23 = call i32 (...) @init_atom_builder_chassis()
%24 = call i32 (...) @init_atom_builder_interface()
%25 = call i32 (...) @init_atom_builder_ppvids_list()
%26 = call i32 (...) @init_atom_builder_mgmt()
%27 = call i32 (...) @init_atom_builder_custom()
%28 = call i32 (...) @init_atom_builder_ppvid()
%29 = call i32 (...) @init_atom_builder_custom_list()
%30 = call i32 (...) @init_atom_builder_med_policies_list()
br label %31
31: ; preds = %4, %3
ret void
}

LLVM IR (-O2):
@init_atom_builder.init = internal unnamed_addr global i1 false
define void @init_atom_builder() {
%1 = load i1, i1* @init_atom_builder.init
br i1 %1, label %27, label %2
2: ; preds = %0
store i1 true, i1* @init_atom_builder.init
%3 = tail call i32 (...) @init_atom_builder_med_caelements_list()
%4 = tail call i32 (...) @init_atom_builder_med_policy()
%5 = tail call i32 (...) @init_atom_builder_port()
%6 = tail call i32 (...) @init_atom_builder_pis_list()
%7 = tail call i32 (...) @init_atom_builder_config()
%8 = tail call i32 (...) @init_atom_builder_interfaces_list()
%9 = tail call i32 (...) @init_atom_builder_dot3_power()
%10 = tail call i32 (...) @init_atom_builder_med_caelement()
%11 = tail call i32 (...) @init_atom_builder_pi()
%12 = tail call i32 (...) @init_atom_builder_med_location()
%13 = tail call i32 (...) @init_atom_builder_mgmts_list()
%14 = tail call i32 (...) @init_atom_builder_vlans_list()
%15 = tail call i32 (...) @init_atom_builder_ports_list()
%16 = tail call i32 (...) @init_atom_builder_med_power()
%17 = tail call i32 (...) @init_atom_builder_med_locations_list()
%18 = tail call i32 (...) @init_atom_builder_vlan()
%19 = tail call i32 (...) @init_atom_builder_chassis()
%20 = tail call i32 (...) @init_atom_builder_interface()
%21 = tail call i32 (...) @init_atom_builder_ppvids_list()
%22 = tail call i32 (...) @init_atom_builder_mgmt()
%23 = tail call i32 (...) @init_atom_builder_custom()
%24 = tail call i32 (...) @init_atom_builder_ppvid()
%25 = tail call i32 (...) @init_atom_builder_custom_list()
%26 = tail call i32 (...) @init_atom_builder_med_policies_list()
br label %27
27: ; preds = %0, %2
ret void
}