#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*/ check_glob(char *);
int /*<<< orphan*/ check_misc(char *);
int /*<<< orphan*/ check_priv(char *);
int main(void) {
  check_misc("0.1.2.3");
  check_glob("9.8.7.6");
  check_priv("10.11.12.133");
  check_glob("11.12.13.14");
  check_glob("126.127.128.129");
  check_misc("127.0.0.1");
  check_priv("169.254.12.42");
  check_priv("172.20.123.45");
  check_glob("192.0.2.10");
  check_glob("192.167.255.255");
  check_priv("192.168.234.123");
  check_glob("223.255.255.254");
  check_misc("232.11.22.33");
  check_misc("255.255.255.255");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xeba(%rip),%rdi
call   1030 <check_misc@plt>
lea    0xeb6(%rip),%rdi
call   1050 <check_glob@plt>
lea    0xeb2(%rip),%rdi
call   1040 <check_priv@plt>
lea    0xeb3(%rip),%rdi
call   1050 <check_glob@plt>
lea    0xeb3(%rip),%rdi
call   1050 <check_glob@plt>
lea    0xeb7(%rip),%rdi
call   1030 <check_misc@plt>
lea    0xeb5(%rip),%rdi
call   1040 <check_priv@plt>
lea    0xeb7(%rip),%rdi
call   1040 <check_priv@plt>
lea    0xeb9(%rip),%rdi
call   1050 <check_glob@plt>
lea    0xeb8(%rip),%rdi
call   1050 <check_glob@plt>
lea    0xebc(%rip),%rdi
call   1040 <check_priv@plt>
lea    0xec0(%rip),%rdi
call   1050 <check_glob@plt>
lea    0xec4(%rip),%rdi
call   1030 <check_misc@plt>
lea    0xec5(%rip),%rdi
call   1030 <check_misc@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xec8(%rip),%rdi
call   1030 <check_misc@plt>
lea    0xec4(%rip),%rdi
call   1050 <check_glob@plt>
lea    0xec0(%rip),%rdi
call   1040 <check_priv@plt>
lea    0xec1(%rip),%rdi
call   1050 <check_glob@plt>
lea    0xec1(%rip),%rdi
call   1050 <check_glob@plt>
lea    0xec5(%rip),%rdi
call   1030 <check_misc@plt>
lea    0xec3(%rip),%rdi
call   1040 <check_priv@plt>
lea    0xec5(%rip),%rdi
call   1040 <check_priv@plt>
lea    0xec7(%rip),%rdi
call   1050 <check_glob@plt>
lea    0xec6(%rip),%rdi
call   1050 <check_glob@plt>
lea    0xeca(%rip),%rdi
call   1040 <check_priv@plt>
lea    0xece(%rip),%rdi
call   1050 <check_glob@plt>
lea    0xed2(%rip),%rdi
call   1030 <check_misc@plt>
lea    0xed3(%rip),%rdi
call   1030 <check_misc@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [8 x i8] c"0.1.2.3\00"
@.str.1 = [8 x i8] c"9.8.7.6\00"
@.str.2 = [13 x i8] c"10.11.12.133\00"
@.str.3 = [12 x i8] c"11.12.13.14\00"
@.str.4 = [16 x i8] c"126.127.128.129\00"
@.str.5 = [10 x i8] c"127.0.0.1\00"
@.str.6 = [14 x i8] c"169.254.12.42\00"
@.str.7 = [14 x i8] c"172.20.123.45\00"
@.str.8 = [11 x i8] c"192.0.2.10\00"
@.str.9 = [16 x i8] c"192.167.255.255\00"
@.str.10 = [16 x i8] c"192.168.234.123\00"
@.str.11 = [16 x i8] c"223.255.255.254\00"
@.str.12 = [13 x i8] c"232.11.22.33\00"
@.str.13 = [16 x i8] c"255.255.255.255\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = call i32 @check_misc(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @check_glob(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @check_priv(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @check_glob(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 @check_glob(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 @check_misc(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 @check_priv(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 @check_priv(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 @check_glob(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
%11 = call i32 @check_glob(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0))
%12 = call i32 @check_priv(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0))
%13 = call i32 @check_glob(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0))
%14 = call i32 @check_misc(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.12, i64 0, i64 0))
%15 = call i32 @check_misc(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.13, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@.str = [8 x i8] c"0.1.2.3\00"
@.str.1 = [8 x i8] c"9.8.7.6\00"
@.str.2 = [13 x i8] c"10.11.12.133\00"
@.str.3 = [12 x i8] c"11.12.13.14\00"
@.str.4 = [16 x i8] c"126.127.128.129\00"
@.str.5 = [10 x i8] c"127.0.0.1\00"
@.str.6 = [14 x i8] c"169.254.12.42\00"
@.str.7 = [14 x i8] c"172.20.123.45\00"
@.str.8 = [11 x i8] c"192.0.2.10\00"
@.str.9 = [16 x i8] c"192.167.255.255\00"
@.str.10 = [16 x i8] c"192.168.234.123\00"
@.str.11 = [16 x i8] c"223.255.255.254\00"
@.str.12 = [13 x i8] c"232.11.22.33\00"
@.str.13 = [16 x i8] c"255.255.255.255\00"
define i32 @main() {
%1 = tail call i32 @check_misc(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @check_glob(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @check_priv(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @check_glob(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @check_glob(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @check_misc(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @check_priv(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @check_priv(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @check_glob(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @check_glob(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @check_priv(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0))
%12 = tail call i32 @check_glob(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.11, i64 0, i64 0))
%13 = tail call i32 @check_misc(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.12, i64 0, i64 0))
%14 = tail call i32 @check_misc(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.13, i64 0, i64 0))
ret i32 0
}