#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_help() {
  printf("Usage: aerocli [OPTIONS]\n\n");
  printf("Options:\n");
  printf("  -d  DEVICE  use given DEVICE (no auto-discovery)\n");
  printf("  -o  FORMAT  output format (default, export)\n");
  printf("  -a          print all available data (default: summary)\n");
  printf("  -D  FILE    dump data to FILE\n");
  printf("  -S  FILE    dump settings to FILE\n");
  printf("  -h          display this usage information\n");
  printf("\n");
  printf("This version of aerocli was built on %s %s.\n", "Mar 15 2022",
         "21:06:44");
}


x86 assembly (clang, -O0):
<print_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xef2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeee(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf14(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf35(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf62(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf75(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf8c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe8e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf9e(%rip),%rdi
lea    0xfc4(%rip),%rsi
lea    0xfc9(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
push   %rax
lea    0xf0a(%rip),%rdi
call   1040 <puts@plt>
lea    0xf18(%rip),%rdi
call   1040 <puts@plt>
lea    0xf15(%rip),%rdi
call   1040 <puts@plt>
lea    0xf3c(%rip),%rdi
call   1040 <puts@plt>
lea    0xf5e(%rip),%rdi
call   1040 <puts@plt>
lea    0xf8c(%rip),%rdi
call   1040 <puts@plt>
lea    0xfa0(%rip),%rdi
call   1040 <puts@plt>
lea    0xfb8(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe5e(%rip),%rdi
lea    0xe84(%rip),%rsi
lea    0xe89(%rip),%rdx
xor    %eax,%eax
pop    %rcx
jmp    1050 <printf@plt>

LLVM IR (-O0):
@.str = [27 x i8] c"Usage: aerocli [OPTIONS]\0A\0A\00"
@.str.1 = [10 x i8] c"Options:\0A\00"
@.str.2 = [52 x i8] c" -d DEVICE use given DEVICE (no auto-discovery)\0A\00"
@.str.3 = [47 x i8] c" -o FORMAT output format (default, export)\0A\00"
@.str.4 = [59 x i8] c" -a print all available data (default: summary)\0A\00"
@.str.5 = [33 x i8] c" -D FILE dump data to FILE\0A\00"
@.str.6 = [37 x i8] c" -S FILE dump settings to FILE\0A\00"
@.str.7 = [46 x i8] c" -h display this usage information\0A\00"
@.str.8 = [2 x i8] c"\0A\00"
@.str.9 = [45 x i8] c"This version of aerocli was built on %s %s.\0A\00"
@.str.10 = [12 x i8] c"Mar 15 2022\00"
@.str.11 = [9 x i8] c"21:06:44\00"
define void @print_help() {
%1 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.9 = [45 x i8] c"This version of aerocli was built on %s %s.\0A\00"
@.str.10 = [12 x i8] c"Mar 15 2022\00"
@.str.11 = [9 x i8] c"21:06:44\00"
@str = [26 x i8] c"Usage: aerocli [OPTIONS]\0A\00"
@str.12 = [9 x i8] c"Options:\00"
@str.13 = [51 x i8] c" -d DEVICE use given DEVICE (no auto-discovery)\00"
@str.14 = [46 x i8] c" -o FORMAT output format (default, export)\00"
@str.15 = [58 x i8] c" -a print all available data (default: summary)\00"
@str.16 = [32 x i8] c" -D FILE dump data to FILE\00"
@str.17 = [36 x i8] c" -S FILE dump settings to FILE\00"
@str.18 = [45 x i8] c" -h display this usage information\00"
define void @print_help() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @str.12, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.13, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.14, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.15, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.16, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.17, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.18, i64 0, i64 0))
%9 = tail call i32 @putchar(i32 10)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.9, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.11, i64 0, i64 0))
ret void
}