#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 show_help() {
  printf("autocv: A command line CV generator\n\n");
  printf(" -t --template <filename>          Template filename\n");
  printf(" -s --scan <URL>                   Scan a web page for keywords\n");
  printf(" -k --keywords <word1, word2...>   List of keywords to be matched\n");
  printf(" -f --format <plain|html>          Format of the output text\n");
  printf("    --font <face>                  Specify a font for the output "
         "text\n");
  printf(" -i --highlight                    Highlight titles\n");
  printf(" -c --create <filename>            Create an example template\n");
  printf(" -e --tests                        Run unit tests\n");
  printf(" -v --version                      Show version number\n");
  printf(" -h --help                         Show help\n");
  printf("\nFor more information run:\n\n    man autocv\n\n");
}


x86 assembly (clang, -O0):
<show_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xeff(%rip),%rdi
call   1030 <printf@plt>
lea    0xf29(%rip),%rdi
call   1030 <printf@plt>
lea    0xf5e(%rip),%rdi
call   1030 <printf@plt>
lea    0xf95(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc7(%rip),%rdi
call   1030 <printf@plt>
lea    0x1002(%rip),%rdi
call   1030 <printf@plt>
lea    0x102b(%rip),%rdi
call   1030 <printf@plt>
lea    0x105e(%rip),%rdi
call   1030 <printf@plt>
lea    0x1085(%rip),%rdi
call   1030 <printf@plt>
lea    0x10b1(%rip),%rdi
call   1030 <printf@plt>
lea    0x10d3(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<show_help>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xf01(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2a(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf94(%rip),%rdi
call   1030 <puts@plt>
lea    0xfc5(%rip),%rdi
call   1030 <puts@plt>
lea    0xfff(%rip),%rdi
call   1030 <puts@plt>
lea    0x1027(%rip),%rdi
call   1030 <puts@plt>
lea    0x1059(%rip),%rdi
call   1030 <puts@plt>
lea    0x107f(%rip),%rdi
call   1030 <puts@plt>
lea    0x10aa(%rip),%rdi
call   1030 <puts@plt>
lea    0x10cb(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [38 x i8] c"autocv: A command line CV generator\0A\0A\00"
@.str.1 = [54 x i8] c" -t --template <filename> Template filename\0A\00"
@.str.2 = [65 x i8] c" -s --scan <URL> Scan a web page for keywords\0A\00"
@.str.3 = [67 x i8] c" -k --keywords <word1, word2...> List of keywords to be matched\0A\00"
@.str.4 = [62 x i8] c" -f --format <plain|html> Format of the output text\0A\00"
@.str.5 = [71 x i8] c" --font <face> Specify a font for the output text\0A\00"
@.str.6 = [53 x i8] c" -i --highlight Highlight titles\0A\00"
@.str.7 = [63 x i8] c" -c --create <filename> Create an example template\0A\00"
@.str.8 = [51 x i8] c" -e --tests Run unit tests\0A\00"
@.str.9 = [56 x i8] c" -v --version Show version number\0A\00"
@.str.10 = [46 x i8] c" -h --help Show help\0A\00"
@.str.11 = [45 x i8] c"\0AFor more information run:\0A\0A man autocv\0A\0A\00"
define void @show_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.11, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [37 x i8] c"autocv: A command line CV generator\0A\00"
@str.12 = [53 x i8] c" -t --template <filename> Template filename\00"
@str.13 = [64 x i8] c" -s --scan <URL> Scan a web page for keywords\00"
@str.14 = [66 x i8] c" -k --keywords <word1, word2...> List of keywords to be matched\00"
@str.15 = [61 x i8] c" -f --format <plain|html> Format of the output text\00"
@str.16 = [70 x i8] c" --font <face> Specify a font for the output text\00"
@str.17 = [52 x i8] c" -i --highlight Highlight titles\00"
@str.18 = [62 x i8] c" -c --create <filename> Create an example template\00"
@str.19 = [50 x i8] c" -e --tests Run unit tests\00"
@str.20 = [55 x i8] c" -v --version Show version number\00"
@str.21 = [45 x i8] c" -h --help Show help\00"
@str.22 = [44 x i8] c"\0AFor more information run:\0A\0A man autocv\0A\00"
define void @show_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @str.12, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.13, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.14, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.15, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([70 x i8], [70 x i8]* @str.16, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str.17, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.18, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.19, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.20, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.21, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.22, i64 0, i64 0))
ret void
}