#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*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *);
void show_help() {
  printf("Usage: microkeyer [OPTIONS] -m MODEL DEVICE\n");
  printf("\n Help and debug:\n");
  printf("  -m, --model=MODEL       Set keyer model (MK, MK2, MK2R, MK2R+, CK, "
         "DK, DK2, U2R, SM)\n");
  printf("  -h, --help              Display this help text\n");
  printf("  -v, --verbose           Show debug output (repeat for more "
         "verbosity)\n");
  printf("  -V, --version           Show version information\n");
  printf("\n");
  exit(0);
}


x86 assembly (clang, -O0):
<show_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef6(%rip),%rdi
call   1030 <printf@plt>
lea    0xefd(%rip),%rdi
call   1030 <printf@plt>
lea    0xf49(%rip),%rdi
call   1030 <printf@plt>
lea    0xf6f(%rip),%rdi
call   1030 <printf@plt>
lea    0xfac(%rip),%rdi
call   1030 <printf@plt>
lea    0xf23(%rip),%rdi
call   1030 <printf@plt>
xor    %edi,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<show_help>:
push   %rax
lea    0xec8(%rip),%rdi
call   1040 <puts@plt>
lea    0xee8(%rip),%rdi
call   1040 <puts@plt>
lea    0xeee(%rip),%rdi
call   1040 <puts@plt>
lea    0xf39(%rip),%rdi
call   1040 <puts@plt>
lea    0xf5e(%rip),%rdi
call   1040 <puts@plt>
lea    0xf9a(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [45 x i8] c"Usage: microkeyer [OPTIONS] -m MODEL DEVICE\0A\00"
@.str.1 = [19 x i8] c"\0A Help and debug:\0A\00"
@.str.2 = [88 x i8] c" -m, --model=MODEL Set keyer model (MK, MK2, MK2R, MK2R+, CK, DK, DK2, U2R, SM)\0A\00"
@.str.3 = [50 x i8] c" -h, --help Display this help text\0A\00"
@.str.4 = [73 x i8] c" -v, --verbose Show debug output (repeat for more verbosity)\0A\00"
@.str.5 = [52 x i8] c" -V, --version Show version information\0A\00"
@.str.6 = [2 x i8] c"\0A\00"
define void @show_help() {
%1 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([88 x i8], [88 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 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 ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@str = [44 x i8] c"Usage: microkeyer [OPTIONS] -m MODEL DEVICE\00"
@str.7 = [18 x i8] c"\0A Help and debug:\00"
@str.8 = [87 x i8] c" -m, --model=MODEL Set keyer model (MK, MK2, MK2R, MK2R+, CK, DK, DK2, U2R, SM)\00"
@str.9 = [49 x i8] c" -h, --help Display this help text\00"
@str.10 = [72 x i8] c" -v, --verbose Show debug output (repeat for more verbosity)\00"
@str.11 = [51 x i8] c" -V, --version Show version information\00"
define void @show_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str.7, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([87 x i8], [87 x i8]* @str.8, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.9, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.10, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.11, i64 0, i64 0))
%7 = tail call i32 @putchar(i32 10)
%8 = tail call i32 @exit(i32 0)
unreachable
}