#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*/ printf(char *);
void usage_en_routecompare(void) {
  printf("Route file comparison\n");
  printf("---------------------\n");
  printf("compare [FILE1] [FILE2]    : printing subnets in FILE1 and their "
         "relation with FILE2\n");
  printf("subnetcmp [BEFORE] [AFTER] : compare files BEFORE and AFTER, showing "
         "new/removed/changed routes\n");
  printf("missing [BEFORE] [AFTER]   : prints subnets from BEFORE missing from "
         "AFTER; GW is not checked\n");
  printf("uniq [FILE1] [FILE2]       : prints unique subnets from FILE1 and "
         "FILE2\n");
  printf("common [FILE1] [FILE2]     : merge FILE1 & FILE2; prints common "
         "routes only; GW isn't checked\n");
  printf("addfiles [FILE1] [FILE2]   : merge FILE1 & FILE2; prints the sum of "
         "both files\n");
  printf("grep [FILE] [prefix]       : grep FILE for prefix/mask\n");
  printf("filter [FILE] [EXPR]       : grep netcsv FILE using regexp EXPR\n");
  printf("filter help                : prints help about filters\n");
}


x86 assembly (clang, -O0):
<usage_en_routecompare>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef0(%rip),%rdi
call   1030 <printf@plt>
lea    0xefb(%rip),%rdi
call   1030 <printf@plt>
lea    0xf45(%rip),%rdi
call   1030 <printf@plt>
lea    0xf9a(%rip),%rdi
call   1030 <printf@plt>
lea    0xfed(%rip),%rdi
call   1030 <printf@plt>
lea    0x102a(%rip),%rdi
call   1030 <printf@plt>
lea    0x107d(%rip),%rdi
call   1030 <printf@plt>
lea    0x10c1(%rip),%rdi
call   1030 <printf@plt>
lea    0x10ed(%rip),%rdi
call   1030 <printf@plt>
lea    0x1122(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage_en_routecompare>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xef2(%rip),%rdi
call   1030 <puts@plt>
lea    0xefc(%rip),%rdi
call   1030 <puts@plt>
lea    0xf45(%rip),%rdi
call   1030 <puts@plt>
lea    0xf99(%rip),%rdi
call   1030 <puts@plt>
lea    0xfeb(%rip),%rdi
call   1030 <puts@plt>
lea    0x1027(%rip),%rdi
call   1030 <puts@plt>
lea    0x1079(%rip),%rdi
call   1030 <puts@plt>
lea    0x10bc(%rip),%rdi
call   1030 <puts@plt>
lea    0x10e7(%rip),%rdi
call   1030 <puts@plt>
lea    0x111b(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [23 x i8] c"Route file comparison\0A\00"
@.str.1 = [23 x i8] c"---------------------\0A\00"
@.str.2 = [86 x i8] c"compare [FILE1] [FILE2] : printing subnets in FILE1 and their relation with FILE2\0A\00"
@.str.3 = [97 x i8] c"subnetcmp [BEFORE] [AFTER] : compare files BEFORE and AFTER, showing new/removed/changed routes\0A\00"
@.str.4 = [95 x i8] c"missing [BEFORE] [AFTER] : prints subnets from BEFORE missing from AFTER; GW is not checked\0A\00"
@.str.5 = [73 x i8] c"uniq [FILE1] [FILE2] : prints unique subnets from FILE1 and FILE2\0A\00"
@.str.6 = [95 x i8] c"common [FILE1] [FILE2] : merge FILE1 & FILE2; prints common routes only; GW isn't checked\0A\00"
@.str.7 = [80 x i8] c"addfiles [FILE1] [FILE2] : merge FILE1 & FILE2; prints the sum of both files\0A\00"
@.str.8 = [56 x i8] c"grep [FILE] [prefix] : grep FILE for prefix/mask\0A\00"
@.str.9 = [65 x i8] c"filter [FILE] [EXPR] : grep netcsv FILE using regexp EXPR\0A\00"
@.str.10 = [56 x i8] c"filter help : prints help about filters\0A\00"
define void @usage_en_routecompare() {
%1 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([97 x i8], [97 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.10, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [22 x i8] c"Route file comparison\00"
@str.11 = [22 x i8] c"---------------------\00"
@str.12 = [85 x i8] c"compare [FILE1] [FILE2] : printing subnets in FILE1 and their relation with FILE2\00"
@str.13 = [96 x i8] c"subnetcmp [BEFORE] [AFTER] : compare files BEFORE and AFTER, showing new/removed/changed routes\00"
@str.14 = [94 x i8] c"missing [BEFORE] [AFTER] : prints subnets from BEFORE missing from AFTER; GW is not checked\00"
@str.15 = [72 x i8] c"uniq [FILE1] [FILE2] : prints unique subnets from FILE1 and FILE2\00"
@str.16 = [94 x i8] c"common [FILE1] [FILE2] : merge FILE1 & FILE2; prints common routes only; GW isn't checked\00"
@str.17 = [79 x i8] c"addfiles [FILE1] [FILE2] : merge FILE1 & FILE2; prints the sum of both files\00"
@str.18 = [55 x i8] c"grep [FILE] [prefix] : grep FILE for prefix/mask\00"
@str.19 = [64 x i8] c"filter [FILE] [EXPR] : grep netcsv FILE using regexp EXPR\00"
@str.20 = [55 x i8] c"filter help : prints help about filters\00"
define void @usage_en_routecompare() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.11, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([85 x i8], [85 x i8]* @str.12, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([96 x i8], [96 x i8]* @str.13, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([94 x i8], [94 x i8]* @str.14, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.15, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([94 x i8], [94 x i8]* @str.16, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.17, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.18, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.19, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.20, i64 0, i64 0))
ret void
}