#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_map_bond_slave_src_mac_map();
int /*<<< orphan*/ init_atom_map_civic_address_type_map();
int /*<<< orphan*/ init_atom_map_lldp_agent_map();
int /*<<< orphan*/ init_atom_map_lldp_portid_map();
int /*<<< orphan*/ init_atom_map_lldpd_protocol_map();
int /*<<< orphan*/ init_atom_map_port_dot3_power_class_map();
int /*<<< orphan*/ init_atom_map_port_dot3_power_pairs_map();
int /*<<< orphan*/ init_atom_map_port_dot3_power_priority_map();
int /*<<< orphan*/ init_atom_map_port_med_geoid_map();
int /*<<< orphan*/ init_atom_map_port_med_policy_map();
int /*<<< orphan*/ init_atom_map_port_med_policy_prio_map();
int /*<<< orphan*/ init_atom_map_port_med_pow_priority_map();
int /*<<< orphan*/ init_atom_map_port_status_map();
void init_atom_map() {
  static int init = 0;
  if (init)
    return;
  init++;
  init_atom_map_lldpd_protocol_map();
  init_atom_map_port_med_policy_map();
  init_atom_map_civic_address_type_map();
  init_atom_map_port_status_map();
  init_atom_map_port_med_pow_priority_map();
  init_atom_map_port_med_geoid_map();
  init_atom_map_port_dot3_power_pairs_map();
  init_atom_map_lldp_agent_map();
  init_atom_map_port_dot3_power_priority_map();
  init_atom_map_bond_slave_src_mac_map();
  init_atom_map_port_med_policy_prio_map();
  init_atom_map_lldp_portid_map();
  init_atom_map_port_dot3_power_class_map();
}


x86 assembly (clang, -O0):
<init_atom_map>:
push   %rbp
mov    %rsp,%rbp
cmpl   $0x0,0x2eb1(%rip)
je     11e6 <init_atom_map+0x16>
jmp    1250 <init_atom_map+0x80>
mov    0x2ea0(%rip),%eax
add    $0x1,%eax
mov    %eax,0x2e97(%rip)
mov    $0x0,%al
call   1070 <init_atom_map_lldpd_protocol_map@plt>
mov    $0x0,%al
call   10d0 <init_atom_map_port_med_policy_map@plt>
mov    $0x0,%al
call   1060 <init_atom_map_civic_address_type_map@plt>
mov    $0x0,%al
call   1050 <init_atom_map_port_status_map@plt>
mov    $0x0,%al
call   10a0 <init_atom_map_port_med_pow_priority_map@plt>
mov    $0x0,%al
call   1080 <init_atom_map_port_med_geoid_map@plt>
mov    $0x0,%al
call   1040 <init_atom_map_port_dot3_power_pairs_map@plt>
mov    $0x0,%al
call   10c0 <init_atom_map_lldp_agent_map@plt>
mov    $0x0,%al
call   10e0 <init_atom_map_port_dot3_power_priority_map@plt>
mov    $0x0,%al
call   1090 <init_atom_map_bond_slave_src_mac_map@plt>
mov    $0x0,%al
call   10f0 <init_atom_map_port_med_policy_prio_map@plt>
mov    $0x0,%al
call   1030 <init_atom_map_lldp_portid_map@plt>
mov    $0x0,%al
call   10b0 <init_atom_map_port_dot3_power_class_map@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<init_atom_map>:
push   %rax
cmpb   $0x0,0x2eb4(%rip)
je     11dc <init_atom_map+0xc>
pop    %rax
ret
movb   $0x1,0x2ea9(%rip)
xor    %eax,%eax
call   1070 <init_atom_map_lldpd_protocol_map@plt>
xor    %eax,%eax
call   10d0 <init_atom_map_port_med_policy_map@plt>
xor    %eax,%eax
call   1060 <init_atom_map_civic_address_type_map@plt>
xor    %eax,%eax
call   1050 <init_atom_map_port_status_map@plt>
xor    %eax,%eax
call   10a0 <init_atom_map_port_med_pow_priority_map@plt>
xor    %eax,%eax
call   1080 <init_atom_map_port_med_geoid_map@plt>
xor    %eax,%eax
call   1040 <init_atom_map_port_dot3_power_pairs_map@plt>
xor    %eax,%eax
call   10c0 <init_atom_map_lldp_agent_map@plt>
xor    %eax,%eax
call   10e0 <init_atom_map_port_dot3_power_priority_map@plt>
xor    %eax,%eax
call   1090 <init_atom_map_bond_slave_src_mac_map@plt>
xor    %eax,%eax
call   10f0 <init_atom_map_port_med_policy_prio_map@plt>
xor    %eax,%eax
call   1030 <init_atom_map_lldp_portid_map@plt>
xor    %eax,%eax
pop    %rcx
jmp    10b0 <init_atom_map_port_dot3_power_class_map@plt>

LLVM IR (-O0):
@init_atom_map.init = internal global i32 0
define void @init_atom_map() {
%1 = load i32, i32* @init_atom_map.init
%2 = icmp ne i32 %1, 0
br i1 %2, label %3, label %4
3: ; preds = %0
br label %20
4: ; preds = %0
%5 = load i32, i32* @init_atom_map.init
%6 = add nsw i32 %5, 1
store i32 %6, i32* @init_atom_map.init
%7 = call i32 (...) @init_atom_map_lldpd_protocol_map()
%8 = call i32 (...) @init_atom_map_port_med_policy_map()
%9 = call i32 (...) @init_atom_map_civic_address_type_map()
%10 = call i32 (...) @init_atom_map_port_status_map()
%11 = call i32 (...) @init_atom_map_port_med_pow_priority_map()
%12 = call i32 (...) @init_atom_map_port_med_geoid_map()
%13 = call i32 (...) @init_atom_map_port_dot3_power_pairs_map()
%14 = call i32 (...) @init_atom_map_lldp_agent_map()
%15 = call i32 (...) @init_atom_map_port_dot3_power_priority_map()
%16 = call i32 (...) @init_atom_map_bond_slave_src_mac_map()
%17 = call i32 (...) @init_atom_map_port_med_policy_prio_map()
%18 = call i32 (...) @init_atom_map_lldp_portid_map()
%19 = call i32 (...) @init_atom_map_port_dot3_power_class_map()
br label %20
20: ; preds = %4, %3
ret void
}

LLVM IR (-O2):
@init_atom_map.init = internal unnamed_addr global i1 false
define void @init_atom_map() {
%1 = load i1, i1* @init_atom_map.init
br i1 %1, label %16, label %2
2: ; preds = %0
store i1 true, i1* @init_atom_map.init
%3 = tail call i32 (...) @init_atom_map_lldpd_protocol_map()
%4 = tail call i32 (...) @init_atom_map_port_med_policy_map()
%5 = tail call i32 (...) @init_atom_map_civic_address_type_map()
%6 = tail call i32 (...) @init_atom_map_port_status_map()
%7 = tail call i32 (...) @init_atom_map_port_med_pow_priority_map()
%8 = tail call i32 (...) @init_atom_map_port_med_geoid_map()
%9 = tail call i32 (...) @init_atom_map_port_dot3_power_pairs_map()
%10 = tail call i32 (...) @init_atom_map_lldp_agent_map()
%11 = tail call i32 (...) @init_atom_map_port_dot3_power_priority_map()
%12 = tail call i32 (...) @init_atom_map_bond_slave_src_mac_map()
%13 = tail call i32 (...) @init_atom_map_port_med_policy_prio_map()
%14 = tail call i32 (...) @init_atom_map_lldp_portid_map()
%15 = tail call i32 (...) @init_atom_map_port_dot3_power_class_map()
br label %16
16: ; preds = %0, %2
ret void
}