#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("Reading 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("Writing Options:\n");
  printf("  -s  SENSOR:VALUE   set the given sofware SENSOR to the specified "
         "VALUE\n");
  printf("  -n  REFERENCE:INDEX:VALUE set the given name REFERENCE:INDEX to "
         "the specified VALUE\n");
  printf("  -T                 synchronize time\n\n");
  printf("  -f  FAN:VALUE   set the given FAN to the specified VALUE, eg "
         "2:20.00 to set FAN2 to 20%%\n");
  printf("        	      set the VALUE to -1 to set default value\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 17 2022",
         "20:48:14");
}


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    0xef6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf1c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf3d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf6a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf6e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfaa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x100d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x105b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1086(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1099(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10b0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe3a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10c2(%rip),%rdi
lea    0x10e8(%rip),%rsi
lea    0x10ed(%rip),%rdx
mov    $0x0,%al
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_help>:
push   %rax
lea    0xf66(%rip),%rdi
call   1040 <puts@plt>
lea    0xf74(%rip),%rdi
call   1040 <puts@plt>
lea    0xf79(%rip),%rdi
call   1040 <puts@plt>
lea    0xfa0(%rip),%rdi
call   1040 <puts@plt>
lea    0xfc2(%rip),%rdi
call   1040 <puts@plt>
lea    0xff0(%rip),%rdi
call   1040 <puts@plt>
lea    0xff5(%rip),%rdi
call   1040 <puts@plt>
lea    0x1032(%rip),%rdi
call   1040 <puts@plt>
lea    0x107c(%rip),%rdi
call   1040 <puts@plt>
lea    0xe5c(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x1089(%rip),%rdi
call   1040 <puts@plt>
lea    0x10b5(%rip),%rdi
call   1040 <puts@plt>
lea    0x10c9(%rip),%rdi
call   1040 <puts@plt>
lea    0x10e1(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe70(%rip),%rdi
lea    0xe96(%rip),%rsi
lea    0xe9b(%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 = [18 x i8] c"Reading 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 = [18 x i8] c"Writing Options:\0A\00"
@.str.6 = [74 x i8] c" -s SENSOR:VALUE set the given sofware SENSOR to the specified VALUE\0A\00"
@.str.7 = [87 x i8] c" -n REFERENCE:INDEX:VALUE set the given name REFERENCE:INDEX to the specified VALUE\0A\00"
@.str.8 = [40 x i8] c" -T synchronize time\0A\0A\00"
@.str.9 = [92 x i8] c" -f FAN:VALUE set the given FAN to the specified VALUE, eg 2:20.00 to set FAN2 to 20%%\0A\00"
@.str.10 = [57 x i8] c" \09 set the VALUE to -1 to set default value\0A\00"
@.str.11 = [33 x i8] c" -D FILE dump data to FILE\0A\00"
@.str.12 = [37 x i8] c" -S FILE dump settings to FILE\0A\00"
@.str.13 = [46 x i8] c" -h display this usage information\0A\00"
@.str.14 = [2 x i8] c"\0A\00"
@.str.15 = [45 x i8] c"This version of aerocli was built on %s %s.\0A\00"
@.str.16 = [12 x i8] c"Mar 17 2022\00"
@.str.17 = [9 x i8] c"20:48:14\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 ([18 x i8], [18 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 ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([87 x i8], [87 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([92 x i8], [92 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.17, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.9 = [92 x i8] c" -f FAN:VALUE set the given FAN to the specified VALUE, eg 2:20.00 to set FAN2 to 20%%\0A\00"
@.str.15 = [45 x i8] c"This version of aerocli was built on %s %s.\0A\00"
@.str.16 = [12 x i8] c"Mar 17 2022\00"
@.str.17 = [9 x i8] c"20:48:14\00"
@str = [26 x i8] c"Usage: aerocli [OPTIONS]\0A\00"
@str.18 = [17 x i8] c"Reading Options:\00"
@str.19 = [51 x i8] c" -d DEVICE use given DEVICE (no auto-discovery)\00"
@str.20 = [46 x i8] c" -o FORMAT output format (default, export)\00"
@str.21 = [58 x i8] c" -a print all available data (default: summary)\00"
@str.22 = [17 x i8] c"Writing Options:\00"
@str.23 = [73 x i8] c" -s SENSOR:VALUE set the given sofware SENSOR to the specified VALUE\00"
@str.24 = [86 x i8] c" -n REFERENCE:INDEX:VALUE set the given name REFERENCE:INDEX to the specified VALUE\00"
@str.25 = [39 x i8] c" -T synchronize time\0A\00"
@str.26 = [56 x i8] c" \09 set the VALUE to -1 to set default value\00"
@str.27 = [32 x i8] c" -D FILE dump data to FILE\00"
@str.28 = [36 x i8] c" -S FILE dump settings to FILE\00"
@str.29 = [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 ([17 x i8], [17 x i8]* @str.18, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([51 x i8], [51 x i8]* @str.19, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.20, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.21, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str.22, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @str.23, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([86 x i8], [86 x i8]* @str.24, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.25, i64 0, i64 0))
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([92 x i8], [92 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.26, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([32 x i8], [32 x i8]* @str.27, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.28, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.29, i64 0, i64 0))
%15 = tail call i32 @putchar(i32 10)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.17, i64 0, i64 0))
ret void
}