#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 print_full_usage(void) {
  printf("usage:\n\n");
  printf("   test: beeversion <packageA> -{lt|le|gt|ge|eq|ne} <packageB>\n");
  printf(" filter: beeversion [filter-options] -{min|max} <package1> [.. "
         "<packageN>]\n");
  printf("  parse: beeversion [parse-options] <package>\n\n");
  printf("         package := <pkgfullname>-<pkgfullversion>-<pkgrevision>\n");
  printf("                  | <pkgfullname>-<pkgfullversion>\n");
  printf("                  | <pkgfullversion>\n\n");
  printf("     pkgfullname := <pkgname>\n");
  printf("                  | <pkgname>_<pkgsubname>\n\n");
  printf("  pkgfullversion := <pkgversion>\n");
  printf("                  | <pkgversion>_<pkgextraversion>\n\n");
  printf("     pkgrevision := <pkgrevision>\n");
  printf("                  | <pkgrevision>.<arch>\n\n");
  printf("   filter-options:\n\n");
  printf("      --filter-pkgfullname=<pkgfullname>\n\n");
}


x86 assembly (clang, -O0):
<print_full_usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xee2(%rip),%rdi
call   1030 <printf@plt>
lea    0xf16(%rip),%rdi
call   1030 <printf@plt>
lea    0xf56(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7a(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb0(%rip),%rdi
call   1030 <printf@plt>
lea    0xfd8(%rip),%rdi
call   1030 <printf@plt>
lea    0xff3(%rip),%rdi
call   1030 <printf@plt>
lea    0x1006(%rip),%rdi
call   1030 <printf@plt>
lea    0x1027(%rip),%rdi
call   1030 <printf@plt>
lea    0x103d(%rip),%rdi
call   1030 <printf@plt>
lea    0x1066(%rip),%rdi
call   1030 <printf@plt>
lea    0x107d(%rip),%rdi
call   1030 <printf@plt>
lea    0x109c(%rip),%rdi
call   1030 <printf@plt>
lea    0x10a5(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_full_usage>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xee4(%rip),%rdi
call   1030 <puts@plt>
lea    0xf17(%rip),%rdi
call   1030 <puts@plt>
lea    0xf56(%rip),%rdi
call   1030 <puts@plt>
lea    0xf79(%rip),%rdi
call   1030 <puts@plt>
lea    0xfae(%rip),%rdi
call   1030 <puts@plt>
lea    0xfd5(%rip),%rdi
call   1030 <puts@plt>
lea    0xfef(%rip),%rdi
call   1030 <puts@plt>
lea    0x1001(%rip),%rdi
call   1030 <puts@plt>
lea    0x1021(%rip),%rdi
call   1030 <puts@plt>
lea    0x1036(%rip),%rdi
call   1030 <puts@plt>
lea    0x105e(%rip),%rdi
call   1030 <puts@plt>
lea    0x1074(%rip),%rdi
call   1030 <puts@plt>
lea    0x1092(%rip),%rdi
call   1030 <puts@plt>
lea    0x109a(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [9 x i8] c"usage:\0A\0A\00"
@.str.1 = [64 x i8] c" test: beeversion <packageA> -{lt|le|gt|ge|eq|ne} <packageB>\0A\00"
@.str.2 = [76 x i8] c" filter: beeversion [filter-options] -{min|max} <package1> [.. <packageN>]\0A\00"
@.str.3 = [48 x i8] c" parse: beeversion [parse-options] <package>\0A\0A\00"
@.str.4 = [66 x i8] c" package := <pkgfullname>-<pkgfullversion>-<pkgrevision>\0A\00"
@.str.5 = [52 x i8] c" | <pkgfullname>-<pkgfullversion>\0A\00"
@.str.6 = [39 x i8] c" | <pkgfullversion>\0A\0A\00"
@.str.7 = [31 x i8] c" pkgfullname := <pkgname>\0A\00"
@.str.8 = [45 x i8] c" | <pkgname>_<pkgsubname>\0A\0A\00"
@.str.9 = [34 x i8] c" pkgfullversion := <pkgversion>\0A\00"
@.str.10 = [53 x i8] c" | <pkgversion>_<pkgextraversion>\0A\0A\00"
@.str.11 = [35 x i8] c" pkgrevision := <pkgrevision>\0A\00"
@.str.12 = [43 x i8] c" | <pkgrevision>.<arch>\0A\0A\00"
@.str.13 = [21 x i8] c" filter-options:\0A\0A\00"
@.str.14 = [43 x i8] c" --filter-pkgfullname=<pkgfullname>\0A\0A\00"
define void @print_full_usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.14, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [8 x i8] c"usage:\0A\00"
@str.15 = [63 x i8] c" test: beeversion <packageA> -{lt|le|gt|ge|eq|ne} <packageB>\00"
@str.16 = [75 x i8] c" filter: beeversion [filter-options] -{min|max} <package1> [.. <packageN>]\00"
@str.17 = [47 x i8] c" parse: beeversion [parse-options] <package>\0A\00"
@str.18 = [65 x i8] c" package := <pkgfullname>-<pkgfullversion>-<pkgrevision>\00"
@str.19 = [51 x i8] c" | <pkgfullname>-<pkgfullversion>\00"
@str.20 = [38 x i8] c" | <pkgfullversion>\0A\00"
@str.21 = [30 x i8] c" pkgfullname := <pkgname>\00"
@str.22 = [44 x i8] c" | <pkgname>_<pkgsubname>\0A\00"
@str.23 = [33 x i8] c" pkgfullversion := <pkgversion>\00"
@str.24 = [52 x i8] c" | <pkgversion>_<pkgextraversion>\0A\00"
@str.25 = [34 x i8] c" pkgrevision := <pkgrevision>\00"
@str.26 = [42 x i8] c" | <pkgrevision>.<arch>\0A\00"
@str.27 = [20 x i8] c" filter-options:\0A\00"
@str.28 = [42 x i8] c" --filter-pkgfullname=<pkgfullname>\0A\00"
define void @print_full_usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.15, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.16, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.17, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.18, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.19, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.20, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.21, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.22, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @str.23, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.24, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @str.25, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.26, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.27, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.28, i64 0, i64 0))
ret void
}