#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 help() {
  printf("Usage: license [OPTION] [FILE]\n");
  printf("Reads and writes license information (and other related metadata) "
         "for a given file or the system default.\n");
  printf("If options are omitted, uses the default license.\n");
  printf("If file is omitted, reads and writes the system default license.\n");
  printf("NOTE that this tool will only read and write one piece of metadata "
         "each time it is run; call it twice if you want to set the license "
         "and the web statement URI.\n");
  printf("\n");
  printf("   -v, --verbose               Outputs more license information.\n");
  printf("   -q, --quiet                 Output less.\n");
  printf("   -a, --list=JURISDICTION     Lists all available licenses in "
         "JURISDICTION\n");
  printf("                                 or unported licenses by default.\n");
  printf("       --set-license                   Sets the license instead of "
         "reading it.\n");
  printf("       --remove-license                Removes any existing licenses "
         "from the file.\n");
  printf("   -l, --license=URI           Uses the license with URI instead of "
         "default.\n");
  printf("       --set-web-statement     Sets the web statement URI.\n");
  printf("       --get-web-statement     Gets (and prints) the web statement "
         "URI.\n");
  printf("       --remove-web-statement  Removes any web statement URI from "
         "the file.\n");
  printf("   -w, --web-statement=URI     Use this web statement URI when "
         "setting (NOTE: You must also pass --set-web-statement the license "
         "with URI instead of default.\n");
  printf("   -m                          Lists all available modules and their "
         "capabilities\n");
  printf("                                 for reading and writing licenses in "
         "files\n");
  printf("   -u, --use=MODULE            Specify which module to use to "
         "read/write the license\n");
  printf("   -h, --help                  Output this help text and quit.\n");
  printf("\n");
  printf("Exit status is 0 if OK, 1 if no default license is set but the "
         "default was");
  printf("necessary to proceed, 2 if the given license does not exist, and 3 "
         "if there was an error writing the metadata to the file, and 4 if you "
         "neglected to provide the web statement but asked to set it.\n");
}


x86 assembly (clang, -O0):
<help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef9(%rip),%rdi
call   1030 <printf@plt>
lea    0xf58(%rip),%rdi
call   1030 <printf@plt>
lea    0xf7f(%rip),%rdi
call   1030 <printf@plt>
lea    0xfb5(%rip),%rdi
call   1030 <printf@plt>
lea    0x12bf(%rip),%rdi
call   1030 <printf@plt>
lea    0x103e(%rip),%rdi
call   1030 <printf@plt>
lea    0x1074(%rip),%rdi
call   1030 <printf@plt>
lea    0x1095(%rip),%rdi
call   1030 <printf@plt>
lea    0x10d6(%rip),%rdi
call   1030 <printf@plt>
lea    0x110d(%rip),%rdi
call   1030 <printf@plt>
lea    0x1151(%rip),%rdi
call   1030 <printf@plt>
lea    0x119a(%rip),%rdi
call   1030 <printf@plt>
lea    0x11dc(%rip),%rdi
call   1030 <printf@plt>
lea    0x120c(%rip),%rdi
call   1030 <printf@plt>
lea    0x1249(%rip),%rdi
call   1030 <printf@plt>
lea    0x128a(%rip),%rdi
call   1030 <printf@plt>
lea    0x131d(%rip),%rdi
call   1030 <printf@plt>
lea    0x1364(%rip),%rdi
call   1030 <printf@plt>
lea    0x13a4(%rip),%rdi
call   1030 <printf@plt>
lea    0x13ee(%rip),%rdi
call   1030 <printf@plt>
lea    0x11ff(%rip),%rdi
call   1030 <printf@plt>
lea    0x1416(%rip),%rdi
call   1030 <printf@plt>
lea    0x1455(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<help>:
push   %rax
lea    0xf13(%rip),%rdi
call   1040 <puts@plt>
lea    0xf26(%rip),%rdi
call   1040 <puts@plt>
lea    0xf84(%rip),%rdi
call   1040 <puts@plt>
lea    0xfaa(%rip),%rdi
call   1040 <puts@plt>
lea    0xfdf(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x1069(%rip),%rdi
call   1040 <puts@plt>
lea    0x109e(%rip),%rdi
call   1040 <puts@plt>
lea    0x10be(%rip),%rdi
call   1040 <puts@plt>
lea    0x10fe(%rip),%rdi
call   1040 <puts@plt>
lea    0x1134(%rip),%rdi
call   1040 <puts@plt>
lea    0x1177(%rip),%rdi
call   1040 <puts@plt>
lea    0x11bf(%rip),%rdi
call   1040 <puts@plt>
lea    0x1200(%rip),%rdi
call   1040 <puts@plt>
lea    0x122f(%rip),%rdi
call   1040 <puts@plt>
lea    0x126b(%rip),%rdi
call   1040 <puts@plt>
lea    0x12ab(%rip),%rdi
call   1040 <puts@plt>
lea    0x133d(%rip),%rdi
call   1040 <puts@plt>
lea    0x1383(%rip),%rdi
call   1040 <puts@plt>
lea    0x13c2(%rip),%rdi
call   1040 <puts@plt>
lea    0x140b(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xdc4(%rip),%rdi
call   1050 <printf@plt>
lea    0x1428(%rip),%rdi
pop    %rax
jmp    1040 <puts@plt>

LLVM IR (-O0):
@.str = [32 x i8] c"Usage: license [OPTION] [FILE]\0A\00"
@.str.1 = [107 x i8] c"Reads and writes license information (and other related metadata) for a given file or the system default.\0A\00"
@.str.2 = [51 x i8] c"If options are omitted, uses the default license.\0A\00"
@.str.3 = [66 x i8] c"If file is omitted, reads and writes the system default license.\0A\00"
@.str.4 = [161 x i8] c"NOTE that this tool will only read and write one piece of metadata each time it is run; call it twice if you want to set the license and the web statement URI.\0A\00"
@.str.5 = [2 x i8] c"\0A\00"
@.str.6 = [66 x i8] c" -v, --verbose Outputs more license information.\0A\00"
@.str.7 = [45 x i8] c" -q, --quiet Output less.\0A\00"
@.str.8 = [77 x i8] c" -a, --list=JURISDICTION Lists all available licenses in JURISDICTION\0A\00"
@.str.9 = [67 x i8] c" or unported licenses by default.\0A\00"
@.str.10 = [80 x i8] c" --set-license Sets the license instead of reading it.\0A\00"
@.str.11 = [85 x i8] c" --remove-license Removes any existing licenses from the file.\0A\00"
@.str.12 = [78 x i8] c" -l, --license=URI Uses the license with URI instead of default.\0A\00"
@.str.13 = [60 x i8] c" --set-web-statement Sets the web statement URI.\0A\00"
@.str.14 = [73 x i8] c" --get-web-statement Gets (and prints) the web statement URI.\0A\00"
@.str.15 = [77 x i8] c" --remove-web-statement Removes any web statement URI from the file.\0A\00"
@.str.16 = [159 x i8] c" -w, --web-statement=URI Use this web statement URI when setting (NOTE: You must also pass --set-web-statement the license with URI instead of default.\0A\00"
@.str.17 = [83 x i8] c" -m Lists all available modules and their capabilities\0A\00"
@.str.18 = [76 x i8] c" for reading and writing licenses in files\0A\00"
@.str.19 = [86 x i8] c" -u, --use=MODULE Specify which module to use to read/write the license\0A\00"
@.str.20 = [64 x i8] c" -h, --help Output this help text and quit.\0A\00"
@.str.21 = [75 x i8] c"Exit status is 0 if OK, 1 if no default license is set but the default was\00"
@.str.22 = [197 x i8] c"necessary to proceed, 2 if the given license does not exist, and 3 if there was an error writing the metadata to the file, and 4 if you neglected to provide the web statement but asked to set it.\0A\00"
define void @help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([107 x i8], [107 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([161 x i8], [161 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([159 x i8], [159 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([86 x i8], [86 x i8]* @.str.19, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.20, i64 0, i64 0))
%22 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%23 = call i32 @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.21, i64 0, i64 0))
%24 = call i32 @printf(i8* getelementptr inbounds ([197 x i8], [197 x i8]* @.str.22, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.21 = [75 x i8] c"Exit status is 0 if OK, 1 if no default license is set but the default was\00"
@str = [31 x i8] c"Usage: license [OPTION] [FILE]\00"
@str.23 = [106 x i8] c"Reads and writes license information (and other related metadata) for a given file or the system default.\00"
@str.24 = [50 x i8] c"If options are omitted, uses the default license.\00"
@str.25 = [65 x i8] c"If file is omitted, reads and writes the system default license.\00"
@str.26 = [160 x i8] c"NOTE that this tool will only read and write one piece of metadata each time it is run; call it twice if you want to set the license and the web statement URI.\00"
@str.27 = [65 x i8] c" -v, --verbose Outputs more license information.\00"
@str.28 = [44 x i8] c" -q, --quiet Output less.\00"
@str.29 = [76 x i8] c" -a, --list=JURISDICTION Lists all available licenses in JURISDICTION\00"
@str.30 = [66 x i8] c" or unported licenses by default.\00"
@str.31 = [79 x i8] c" --set-license Sets the license instead of reading it.\00"
@str.32 = [84 x i8] c" --remove-license Removes any existing licenses from the file.\00"
@str.33 = [77 x i8] c" -l, --license=URI Uses the license with URI instead of default.\00"
@str.34 = [59 x i8] c" --set-web-statement Sets the web statement URI.\00"
@str.35 = [72 x i8] c" --get-web-statement Gets (and prints) the web statement URI.\00"
@str.36 = [76 x i8] c" --remove-web-statement Removes any web statement URI from the file.\00"
@str.37 = [158 x i8] c" -w, --web-statement=URI Use this web statement URI when setting (NOTE: You must also pass --set-web-statement the license with URI instead of default.\00"
@str.38 = [82 x i8] c" -m Lists all available modules and their capabilities\00"
@str.39 = [75 x i8] c" for reading and writing licenses in files\00"
@str.40 = [85 x i8] c" -u, --use=MODULE Specify which module to use to read/write the license\00"
@str.41 = [63 x i8] c" -h, --help Output this help text and quit.\00"
@str.42 = [196 x i8] c"necessary to proceed, 2 if the given license does not exist, and 3 if there was an error writing the metadata to the file, and 4 if you neglected to provide the web statement but asked to set it.\00"
define void @help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([106 x i8], [106 x i8]* @str.23, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.24, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.25, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([160 x i8], [160 x i8]* @str.26, i64 0, i64 0))
%6 = tail call i32 @putchar(i32 10)
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.27, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.28, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.29, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.30, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([79 x i8], [79 x i8]* @str.31, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([84 x i8], [84 x i8]* @str.32, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([77 x i8], [77 x i8]* @str.33, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.34, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.35, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.36, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([158 x i8], [158 x i8]* @str.37, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([82 x i8], [82 x i8]* @str.38, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.39, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([85 x i8], [85 x i8]* @str.40, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.41, i64 0, i64 0))
%22 = tail call i32 @putchar(i32 10)
%23 = tail call i32 @printf(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @.str.21, i64 0, i64 0))
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([196 x i8], [196 x i8]* @str.42, i64 0, i64 0))
ret void
}